/* recruit除く */
/* news, businessカスタム投稿のみ対応分 */

.single__header {
  padding-top: 7.1875rem;
}
@media screen and (max-width: 767px) {
  .single__header {
    padding-top: 5rem;
  }
}


/* リンク関連 */
a.link-underline,
a.single__tag,
.single__WP-contents a {
  color: var(--linkBlue);
  text-decoration: underline;
}
a.link-underline:hover,
a.single__tag:hover,
.singleArticleHead-last__links a:hover {
  opacity: .7;
}
/* a.link-underline:visited,
.single__WP-contents a:visited {
  color: #800080;
} */

/* 共通コンテンツ */
.container-960 {
  max-width: 960px;
}
.container-1200 {
  max-width: 1200px;
}

.newsSingle__content h1 {
  color: #fff;
  font-size: clamp(1.75rem, 1.657rem + 0.38vw, 2rem);
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 0.16rem;
}

.single__time {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  display: inline-block;
  width: fit-content;
  color: #A6A6A6;
  font-family: var(--familyPoppins);
}
.single__tag,
a.single__tag {
  color: var(--colorBlack-3);
  display: inline-block;
  width: fit-content;
  margin-left: 0;
  border-radius: 2px;
  background-color: #eee;
  color: #A6A6A6;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: calc(16 / 10);
  padding: 0.4em 1.2em;
  text-decoration: none;
}

.singleArticleHead__times {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.single__WP-contents {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 6rem;
  position: relative;
  margin-top: var(--margin80);
}
@media screen and (max-width: 768px) {
  .single__time {
    font-size: 0.75rem;
  }
  .single__WP-contents {
    margin-top: 5rem;
  }
  .newsArticle__content .single__WP-contents {
    margin-top: 2rem;
  }
}

/* ======================= */
/* ブロックエディタ内部 */
/* ======================= */
.single__WP-contents {
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #fff;
  }
  
  h2 {
    font-size: var(--26);
    font-weight: 500;
    line-height: 175%;
    letter-spacing: 0.065rem;
    padding-top: 3.9375rem;
    border-top: 1px solid rgba(255, 255, 255, 0.30);
    position: relative;
    margin-top: 8rem;
    margin-bottom: 1rem;
  }
  h2:first-of-type {
    margin-top: 0;
  }
  h2::after {
    content: "";
    background-color: #fff;
    width: var(--margin80);
    height: 1px;
    position: absolute;
    top: -1px;
    left: 0;
  }

  h3 {
    font-size: var(--22);
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.055rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.875rem 1.5rem 1rem 1.5rem;
  }
  
  h4,h5,h6 {
    font-size: var(--22);
    font-weight: 500;
    padding-left: 5rem;
    letter-spacing: 0.055rem;
    position: relative;
    line-height: 2.3125rem;
  }
  h4::after {
    content: "";
    background-color: rgba(255, 255, 255, 0.30);
    width: 4rem;
    height: 0.0625rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  p,
  ol.wp-block-list li,
  ul.wp-block-list li {
    font-size: var(--16);
    font-weight: 500;
    line-height: 2.4;
    letter-spacing: 0.08rem;
    text-align: justify;
  }

  /* リスト数字 */
  ol.wp-block-list {
    list-style: decimal;
    padding-left: 1.25em;
  }
  ol.wp-block-list li {
    padding-left: 0.25rem;

    &::marker {
      color: rgba(255, 255, 255, 0.6);
      font-size: var(--16);
      font-weight: 400;
      line-height: 1.5;
      letter-spacing: 0.04rem;
    }
  }

  /* リスト丸reset */
  ul.wp-block-list {
    list-style: disc;
    padding-left: 1.25em;
  }
  ul.wp-block-list {
    list-style: none;
    padding-left: 0;
  }
  ul.wp-block-list li::marker {
    content: "";
  }
  ul.wp-block-list {
    list-style: none;
  }
  ul.wp-block-list li {
    position: relative;
    padding-left: 1.5rem;
  }
  ul.wp-block-list li::after {
    content: "";
    background-color: rgba(255, 255, 255, 0.3);
    width: 0.5rem;
    height: 0.0625rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  @media screen and (max-width: 767px) {
    h2 {
      letter-spacing: 0.055rem;
      padding-top: 2.9375rem;
    }
    h3 {
      font-size: 1.125rem;
      letter-spacing: 0.045rem;
    }
    h4 {
      letter-spacing: 0.05rem;
    }
    p {
      line-height: 2.2;
      letter-spacing: 0.07rem;
    }
    ol.wp-block-list li,
    ul.wp-block-list li {
      letter-spacing: 0.07rem;
    }
  }

  /* パターン：キャプション付きfull画像 */
  .group-image-add-caption {
    .wp-block-image.size-full {
      padding-inline: 5rem;
    }
    .wp-block-image figcaption {
      color: rgba(255, 255, 255, 0.6);
      font-family: var(--familyNotoSans);
      font-size: var(--12);
      font-weight: 400;
      line-height: 200%;
      letter-spacing: 0.06rem;
      text-align: center;
      margin-block: 1rem 0;
    }
    @media screen and (max-width: 767px) {
      .wp-block-image.size-full {
        padding-inline: 0;
      }
      .wp-block-image figcaption {
        letter-spacing: 0.055rem;
      }
    }
  }

  /* 引用 */
  .wp-block-quote {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.04);
    padding: 2.5rem 3.5rem;
  }
  .wp-block-quote p,
  .wp-block-quote > cite {
    color: #fff;
    font-style: italic;
    font-size: var(--15);
    font-weight: 400;
    line-height: 2.4;
    letter-spacing: 0.075rem;
  }
  .wp-block-quote > cite {
    margin-top: 1.5rem;
    text-align: right;
  }
  @media screen and (max-width: 767px) {
    .wp-block-quote {
      padding: 2.5rem 2rem;
    }
    .wp-block-quote p {
      line-height: 2.2;
      letter-spacing: 0.07rem;
    }
    .wp-block-quote > cite {
      letter-spacing: 0.07rem;
    }
    .wp-block-quote > cite {
      margin-top: 1rem;
    }
  }

  /* テーブル */
  .wp-block-table {
    overflow-x: auto;
    padding-bottom: 0.5rem;

    table {
      border-collapse: separate;
      border-spacing: 2px;
      max-width: 100%;
    }

    thead {
      border: none;
      overflow: hidden;

      th {
        border: none;
        background-color: rgba(255, 255, 255, 0.16);
        color: #fff;
        font-size: var(--14);
        font-weight: 500;
        line-height: 1.75;
        letter-spacing: 0.08em;
        padding: 0.625rem 1rem;
        text-align: left;
        border-bottom: 1px solid inherit;
      }
    }
    
    tbody {
      td {
        border: none;
        background-color: rgba(255, 255, 255, 0.04);
        color: #fff;
        font-family: var(--familyNotoSans);
        font-size: var(--13);
        font-weight: 400;
        line-height: 1.75;
        letter-spacing: 0.12em;
        padding: 1rem;
      }
    }
  }
  .table--blue {
    thead th {
      background-color: #E7EFF6;
      border-color: #C4D5EF;
    }
    tbody td {
      border-color: #C4D5EF;
    }
  }
  .table--pink {
    thead th {
      background-color: #FDF4F4;
      border-color: #EFD9D9;
    }
    tbody td {
      border-color: #EFD9D9;
    }
  }
  @media screen and (max-width: 680px) {
    .wp-block-table {
      margin-right: -2.5rem;
      padding-right: 2.5rem;
    }

    .wp-block-table table {
      width: 519px;
      max-width: none;
    }
  }

  /* グループ：FAQ */
  .group-faqLists {
    display: grid;
    row-gap: 2rem;
  }
  .group-faqList {
    gap: 0;
    position: relative;
  }
  .group-faqList + .group-faqList::after {
    content: '';
    background-color: rgba(255, 255, 255, 0.15);
    display: block;
    position: absolute;
    right: 1.5rem;
    top: -2rem;
    height: 1px;
    width: calc(100% - 3.3125rem - 1.5rem);
  }
  .group-faqList__head {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .group-faqList__q {
    color: rgba(255, 255, 255, 0.16);
    font-feature-settings: 'palt' on, 'ruby' on;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1; 
    letter-spacing: 0.2rem;
  }
  .group-faqList__question {
    font-feature-settings: 'ruby' on;
    font-size: var(--18);
    font-weight: 500;
    line-height: 175%;
    letter-spacing: 0.09rem;
    margin-top: 0.25rem;
  }
  .group-faqList__answer {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--familyNotoSans);
    font-size: var(--14);
    font-weight: 400;
    line-height: 240%;
    letter-spacing: 0.05em;
    text-align: justify;
    margin: 0.75rem 1.5rem 1.5rem 3.3125rem;
    padding-bottom: 1.5rem;
  }

  @media screen and (max-width: 767px) {
    .group-faqList + .group-faqList::after {
      right: 0;
      width: 100%;
    }
    .group-faqList__question {
      letter-spacing: 0.08rem;
    }
    .group-faqList__answer {
      line-height: 220%;
      letter-spacing: 0.0975rem;
      margin-block: 0.5rem 0;
      padding-bottom: 2rem;
      margin-inline: 0;
      padding-left: 3.3125rem;
    }
  }
  
  /* グループA：白透過背景 + 下線title + texts */
  .group_frame-underLine-texts-row {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 2.5rem 3rem;
    gap: 1rem;
  }
  .group_frame-underLine-texts-row__title {
    font-family: var(--familyNotoSans);
    font-size: var(--14);
    font-weight: 400;
    line-height: 175%;
    letter-spacing: 0.12em;
    padding: 0 1rem 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    width: fit-content;
    margin: 0 auto;
  }
  .group_frame-underLine-texts-row__text {
    font-size: var(--15);
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.08em;
  }
  @media screen and (max-width: 767px) {
    .group_frame-underLine-texts-row {
      padding: 2.5rem 2rem;
    }
    .group_frame-underLine-texts-row__text {
      /* letter-spacing: 0.12em; */
    }
  }

  /* グループB：白透過背景 + title + texts */
  .group_frame-texts-row {
    background-color: rgba(69, 82, 48, 0.24);
    padding: 2.5rem 3rem;
    gap: 1rem;
  }
  .group_frame-texts-row__title {
    font-size: var(--18);
    font-weight: 500;
    line-height: 175%;
    letter-spacing: 0.08em;
  }
  .group_frame-texts-row__text {
    font-size: var(--15);
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.08em;
  }
  .group_frame-texts-row__text--gothic {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--familyNotoSans);
    font-size: var(--13);
    font-weight: 400;
    line-height: 2.4;
    letter-spacing: 0.12em;
  }

  @media screen and (max-width: 767px) {
    .group_frame-texts-row {
      padding: 2.5rem 2rem;
    }
    .group_frame-texts-row__title {
      letter-spacing: 0.08rem;
    }
    .group_frame-texts-row__text {
      letter-spacing: 0.07rem;
    }
  }

  /* グループ：フロー */
  .group-flows {
    counter-reset: flow;
    row-gap: 2rem;
  }
  .group-flow {
    display: flex;
    align-items: flex-start;
    column-gap: 18.056%;
    position: relative;
    width: 100%;
  }
  .group-flow:not(:last-of-type)::after {
    content: "";
    background-color: rgba(255, 255, 255, 0.3);
    width: 0.0625rem;
    height: calc(100% - 4rem + 2rem);
    position: absolute;
    left: 2rem;
    top: 2rem;
    transform: translateY(2rem);
  }
  .group-flow__head {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 4rem;
  }
  .group-flow__head-image {
    width: 4rem;
    height: 4rem;
    aspect-ratio: 1 / 1;
    position: relative;
    padding-inline: 0!important;
  }
  .group-flow__head-image::after {
    counter-increment: flow;
    content: counter(flow);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.07rem;
    position: absolute;
    left: 52%;
    top: 46%;
    transform: translate(-50%, -50%);
  }
  .group-flow__head-title {
    font-size: var(--18);
    font-weight: 500;
    line-height: 175%;
    letter-spacing: 0.09rem;
  }
  .group-flow__text {
    color: rgba(255, 255, 255, 0.8);
    text-align: justify;
    font-family: var(--familyNotoSans);
    font-feature-settings: 'palt' on, 'ruby' on;
    font-size: var(--14);
    font-weight: 400;
    line-height: 240%;
    letter-spacing: 0.105rem;
    flex: 1;
    margin-top: 0.85rem;
  }
  @media screen and (max-width: 767px) {
    .group-flows {
      row-gap: 1rem;
    }
    .group-flow {
      flex-direction: column;
      row-gap: 0;
      justify-content: flex-start;
    }
    .group-flow:not(:last-of-type)::after {
      height: calc(100% - 4rem + 1rem);
      top: 1rem;
      transform: translateY(3rem);
    }
    .group-flow__head {
      column-gap: 1rem;
      width: 100%;
    }
    .group-flow__text {
      padding-left: 5rem;
    }
  }


  /* ======================== */
  /* ボタン */
  /* ======================== */
  .wp-block-button {
    width: 100%;
    max-width: 20rem;
  }

  /* パターン：ドット付き＋白透過背景ボタン */
  .wp-block-button__link {
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    font-size: var(--15);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.0375rem;
    background-color: rgba(255, 255, 255, 0.16);
    border-radius: 0;
    text-align: left;
    width: 100%;
    height: fit-content;
    padding: 1.1em 2em;
    cursor: pointer;
    position: relative;
  }
  .wp-block-button__link::after {
    content: "";
    background-color: #fff;
    border-radius: 50%;
    width: 0.25rem;
    height: 0.25rem;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 0 rgba(255,255,255,.4);
    border-radius: 50%;
    transition: box-shadow .3s ease;
  }
  a.wp-block-button__link:hover::after {
    box-shadow: 0 0 0 1rem rgba(255,255,255,.1);
  }

  /* ======================== */
  /* ユーティリティ */
  /* ======================== */
  .gap-0 {
    gap: 0;
  }
  .gap-16 {
    gap: 1rem;
  }
  .gap-80 {
    gap: var(--margin80);
  }
  .group-grid-gap__16-8 {
    gap: 1rem;
    @media screen and (max-width: 767px) {
      gap: 0.5rem;
    }
  }
  .padding-28-32-32-32 {
    padding: 1.75rem 2rem 2rem 2rem;
  }
  .grid-stretch {
    display: grid;
    align-items: stretch;
    grid-template-rows: auto 1fr;
  }

  @media screen and (max-width: 1000px) {
    .flex-column {
      flex-direction: column;
    }
  }
}

.wp-element-caption {
  font-family: var(--familyNotoSans);
}