/* Vendor prefix
--------------------------------- */
.s_inner {
  width: 100%;
  max-width: 990px;
  margin: 0 auto;
}

#alliance01 .l-tile {
  margin-top: 30px;
}
#alliance01 .l-tile h4 {
  margin-top: 30px;
}
#alliance01 .l-tile .c-regularText {
  margin-top: 20px;
}
#alliance01 .l-tile .l-tile__item:first-child h4, #alliance01 .l-tile .l-tile__item:first-child p {
  color: #12802f;
}
#alliance01 .l-tile .l-tile__item:nth-child(2) h4, #alliance01 .l-tile .l-tile__item:nth-child(2) p {
  color: #400042;
}
#alliance01 .l-tile .l-tile__item:last-child h4, #alliance01 .l-tile .l-tile__item:last-child p {
  color: #a15e00;
}

.boxWorries {
  background: #f2f2f2;
}
.boxWorries .s_inner {
  width: 90%;
}
.boxWorries .listBox {
  text-align: center;
  margin-top: 20px;
}
.boxWorries .listBox .c-list {
  display: inline-block;
  text-align: left;
}
.boxWorries .c-imgAuto {
  background: #fff;
  padding: 20px;
}

.c-table table.c-table__content td {
  width: 50%;
}

.bg01 {
  background: #f5f5f5;
  padding: 10px 0 60px;
}

.mt0 {
  margin-top: 0;
}

.c-modal .l-grid {
  margin-bottom: 0;
}
.c-modal .l-grid .l-grid {
  margin-top: 0;
}
.c-modal .l-grid .l-grid .l-grid__item {
  margin-bottom: 0;
}
.c-modal .c-subText {
  margin-top: 0;
}
.c-modal hr {
  margin: 10px 0;
}

[data-js-modal]{z-index: 5001;}

@media screen and (min-width: 768px) {
  .boxWorries {
    padding: 50px 0;
    margin-top: 60px;
  }
  .boxWorries .c-imgAuto {
    padding: 20px;
  }
  .c-table table.c-table__content {
    font-size: 18px;
  }
  .vsp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .c-mainVisual__background img {
    -o-object-position: 50% 100%;
       object-position: 50% 100%;
  }
  #alliance01 .l-tile .l-tile__item {
    margin-bottom: 40px;
  }
  .boxWorries {
    padding: 30px 0;
    margin-top: 40px;
  }
  .boxWorries .c-imgAuto {
    padding: 10px;
  }
  .c-modal__inner {
    max-height: calc(100vh - 100px);
    margin: 70px auto 30px;
  }
  .vpc {
    display: none;
  }
}
@media screen and (max-width: 400px) {
  .btnList01 .c-btn {
    width: 100%;
    margin-right: 0;
  }
}

/* 追記：パートナーカテゴリー */
.partnerCategory__en { display: block; font-size: 13px; font-weight: normal; }
.partnerCategory__list { margin-top: 20px; color: #333; font-size: 14px; line-height: 1.3; }
.partnerCategory__list .c-list__item { padding-top: 3px; padding-bottom: 3px; }

/* 追記：パートナーカテゴリー（六角形アイコン） */
.partnerCategory__circle { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 120px; height: 138px; margin: 0 auto; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.partnerCategory__circle--1 { background: #218D41; }
.partnerCategory__circle--2 { background: #A970C1; }
.partnerCategory__circle--3 { background: #DF8E40; }
.partnerCategory__icon { display: block; width: auto; height: 76px; }
.partnerCategory__title { margin: 8px 0 0; padding: 0; font-size: 19px; line-height: 1.3; text-align: center; border: 0; }

/* 追記：パートナーカテゴリー見出しの文字色（既存のID指定を上書き） */
#alliance01 .l-tile .l-tile__item:first-child h4,
#alliance01 .l-tile .l-tile__item:nth-child(2) h4,
#alliance01 .l-tile .l-tile__item:last-child h4 { color: #fff; }

/* 追記：パートナーカテゴリー見出しの余白（既存のID指定を上書き） */
#alliance01 .l-tile h4 { margin-top: 8px; }

/* 追記：パートナーカテゴリー説明文の太字 */
#alliance01 .l-tile .c-regularText { font-weight: 700; }

/* 追記：パートナーカテゴリー説明文の文字色（既存のID指定を上書き） */
#alliance01 .l-tile .l-tile__item:first-child p { color: #666666; }
#alliance01 .l-tile .l-tile__item:nth-child(2) p { color: #666666; }
#alliance01 .l-tile .l-tile__item:last-child p { color: #666666; }

/* 追記：メインビジュアルのタイトル（共通CSSを上書き） */
.c-mainVisual--lv2 .c-mainVisual__category + .c-mainVisual__title { color: #fff; }
@media screen and (min-width: 768px) {
  .c-mainVisual--lv2 .c-mainVisual__category + .c-mainVisual__title { width: 42%; margin-left: 58%; }
}

/* 追記：パートナーカテゴリー見出しをアイコン外へ（文字色・余白、既存のID指定を上書き） */
#alliance01 .l-tile .l-tile__item:first-child h4 { color: #12802F; }
#alliance01 .l-tile .l-tile__item:nth-child(2) h4 { color: #724A82; }
#alliance01 .l-tile .l-tile__item:last-child h4 { color: #CF7214; }
#alliance01 .l-tile h4 { margin-top: 16px; }

/* 追記：パートナーカテゴリー（画像化） */
.partnerCategory__image { display: block; width: 100%; max-width: 290px; height: auto; margin: 0 auto 8px; }

/* 追記：パートナーカテゴリーのタイル間余白（ラッパー左右の余白＝タイル間の余白） */
@media screen and (min-width: 768px) {
  .s_inner.l-tile--doubleGutter { box-sizing: border-box; padding-right: 30px; padding-left: 30px; }
  .s_inner.l-tile--doubleGutter .l-tile__item { padding-right: 30px; padding-left: 30px; }
}

/* 追記：パートナーカテゴリーのラッパーの max-width を解除 */
.s_inner.l-tile--doubleGutter { max-width: none; }

/* 追記：c-featureArea__boxを画像左・テキスト右のレイアウトに変更（SPは縦並び） */
.serendie-featureBox { padding: 0; overflow: hidden; }
.serendie-featureBox__img img { display: block; width: 100%; height: auto; }
.serendie-featureBox__body { padding: 30px; }
@media screen and (min-width: 768px) {
  .serendie-featureBox { display: flex; align-items: stretch; }
  .serendie-featureBox__img { flex: 0 0 35%; max-width: 35%; }
  .serendie-featureBox__img picture { display: block; height: 100%; }
  .serendie-featureBox__img img { height: 100%; object-fit: cover; }
  .serendie-featureBox__body { display: flex; flex: 1 1 0; flex-direction: column; justify-content: center; min-width: 0; padding: 45px 70px; }
}

/* 追記：featureBoxを「左：英字見出し3行／右：説明文」のレイアウトに変更（高さ240px、左40％・右60％） */
.serendie-featureBox__title { display: flex; justify-content: center; box-sizing: border-box; padding: 30px 30px 0; }
.serendie-featureBox__titleText { margin: 0; font-family: "Noto Sans", "Noto Sans JP", sans-serif; font-size: 32px; font-weight: 700; line-height: 1; text-align: left; }
@media screen and (min-width: 768px) {
  .serendie-featureBox--text { height: 240px; }
  .serendie-featureBox--text .serendie-featureBox__title { display: flex; flex: 0 0 40%; align-items: center; justify-content: center; max-width: 40%; padding: 0 40px; }
  .serendie-featureBox--text .serendie-featureBox__titleText { font-size: 40px; }
  .serendie-featureBox--text .serendie-featureBox__body { flex: 0 0 60%; max-width: 60%; padding: 30px 70px 30px 0; }
}
