@charset "UTF-8";

/* -------- minimal reset -------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--night); background-color: var(--cloud); }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

/* ==========================================================
 共通
========================================================== */

:root {
  /* Primary */
  --sun: #ffda1b;
  --water: #447fe0;

  /* Secondary */
  --night: #202226;
  --cloud: #ffffff;
  --leaf: #2f7417;

  /* Support: Gray */
  --gr-50: #fafafc;
  --gr-75: #f8f8fa;
  --gr-100: #f0f1f5;
  --gr-150: #e5e6ea;
  --gr-200: #dadcdf;
  --gr-250: #d0d1d3;
  --gr-300: #acadb0;
  --gr-350: #a0a1a4;
  --gr-400: #949598;
  --gr-500: #737378;
  --gr-550: #65656a;
  --gr-600: #56575b;

  /* Support: Lychee */
  --ly-50: #fdf3f1;
  --ly-100: #fec3bb;
  --ly-200: #fe9384;
  --ly-300: #ea705f;
  --ly-400: #d64c3a;
  --ly-500: #c23b32;
  --ly-600: #ad2929;

  /* Support: Avocado */
  --av-50: #ecfaec;
  --av-100: #a7e7a5;
  --av-200: #61d45d;
  --av-300: #49bb50;
  --av-400: #30a143;
  --av-500: #197f38;
  --av-600: #025d2c;

  /* Support: Prune */
  --pu-50: #edf6ff;
  --pu-100: #a2caf9;
  --pu-200: #579ef2;
  --pu-300: #4b86df;
  --pu-400: #3f6ecc;
  --pu-500: #385296;
  --pu-600: #303560;

  /* Support: Papaya */
  --pa-50: #fffbd9;
  --pa-100: #ffde75;
  --pa-200: #fec010;
  --pa-300: #f69908;
  --pa-400: #ee7100;
  --pa-500: #b15e0b;
  --pa-600: #734b15;

  /* Support: Sand */
  --sa-50: #fbf8ee;
  --sa-200: #f8f3e1;
  --sa-400: #f3eacf;
  --sa-600: #eddfbb;

  /* Gradation / AI */
  --ai-yellow: #ffda1b;
  --ai-blue: #447fe0;
  --ai-green: #7db298;

  /* english */
  --inter: "Inter", sans-serif;

  /* shadow */
  --elevation-1-box: 0 1px 4px 0 rgba(32, 34, 38, 0.12), 0 4px 8px 0 rgba(32, 34, 38, 0.07), 0 10px 12px 0 rgba(32, 34, 38, 0.04);
  --elevation-2-box: 0 1px 4px 0 rgba(32, 34, 38, 0.12), 0 6px 12px 0 rgba(32, 34, 38, 0.10), 0 12px 24px 0 rgba(32, 34, 38, 0.08);
  --elevation-1-drop: drop-shadow(0 1px 4px rgba(32, 34, 38, 0.12)) drop-shadow(0 4px 8px rgba(32, 34, 38, 0.07)) drop-shadow(0 10px 12px rgba(32, 34, 38, 0.04));
  --elevation-2-drop: drop-shadow(0 1px 4px rgba(32, 34, 38, 0.12)) drop-shadow(0 6px 12px rgba(32, 34, 38, 0.10)) drop-shadow(0 12px 24px rgba(32, 34, 38, 0.08));
}

body, html {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  font-feature-settings: 'palt' on;
  letter-spacing: 0.08em;
  font-size: 16px;
  font-weight: 400;
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
}

.inter {
  font-family: var(--inter);
}

img {
  width: 100%;
  height: auto;
}

/* ユーティリティリンク */
.sugao-ss_utility-link {
  font-size: 16px;
  font-weight: bold;
  color: var(--pu-400);
  text-decoration: underline;
  text-underline-offset: 30%;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s;

  &:hover {
    color: var(--pa-500);
    text-decoration: underline;
    &::after {
      background-color: var(--pa-500);
    }
  }

  &:visited {
    color: var(--gr-500);
    &::after {
      background-color: var(--gr-500);
    }
  }

  &.text {
    display: inline;
    margin-right: 3px;
    @media screen and (max-width: 768px) {
      font-size: 14px;
    }
  }

  &.arrow {
    &::after {
      content: '';
      width: 20px;
      height: 20px;
      display: inline-block;
      mask-image: url(/img/common/icon_arrow.svg);
      mask-size: cover;
      background-color: var(--pu-400);
    }
    &:hover {
      &::after {
        background-color: var(--pa-500);
      }
    }
    &:visited {
      &::after {
        text-decoration: underline;
        background-color: var(--gr-500);
      }
    }
  }
  &.down {
    &::after {
      content: '';
      width: 20px;
      height: 20px;
      margin-top: 2px;
      display: inline-block;
      mask-image: url(/img/common/icon_arrow.svg);
      mask-size: cover;
      background-color: var(--pu-400);
      transform: rotate(90deg);
    }
    &:hover {
      &::after {
        text-decoration: underline;
        background-color: var(--pa-500);
      }
    }
    &:visited {
      &::after {
        text-decoration: underline;
        background-color: var(--gr-500);
      }
    }
  }
  &.blank {
    &::after {
      content: '';
      width: 20px;
      height: 20px;
      display: inline-block;
      vertical-align: middle;
      mask-image: url(/img/common/icon_blank.svg);
      mask-size: cover;
      background-color: var(--pu-400);
    }
    &:hover {
      &::after {
        text-decoration: underline;
        background-color: var(--pa-500);
      }
    }
    &:visited {
      &::after {
        text-decoration: underline;
        background-color: var(--gr-500);
      }
    }
  }
}

/* ------------------------------------
  テキストスタイル
----------------------------------- */

/* XL（ページタイトル） */
.sugao-ss_xl {
  font-size: 52px;
  font-weight: 700;
  @media screen and (max-width: 768px) {
    font-size: 36px;
  }
}

/* L（セクションタイトル） */
.sugao-ss_l {
  font-size: 48px;
  font-weight: 700;
  @media screen and (max-width: 768px) {
    font-size: 32px;
  }
}

/* M（タイトル） */
.sugao-ss_m {
  font-size: 32px;
  font-weight: 700;
  @media screen and (max-width: 768px) {
    font-size: 24px;
  }
}

/* S（サブタイトル） */
.sugao-ss_s {
  font-size: 24px;
  font-weight: 700;
  @media screen and (max-width: 768px) {
    font-size: 20px;
  }
}

/* XS（リストタイトル） */
.sugao-ss_xs {
  font-size: 18px;
  font-weight: 700;
  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

/* P（ノーマル本文） */
.sugao-ss_p {
  font-size: 16px;
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
}

/* P（エモーショナル本文） */
.sugao-ss_p-emotional {
  font-size: 16px;
  line-height: 1.9;
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
}

/* N（注釈） */
.sugao-ss_n {
  font-size: 10px;
  line-height: 1.4;
}

/* セクションタイトル */
.section-title-content {
  margin-bottom: 40px;
  @media screen and (max-width: 768px) {
    margin-bottom: 32px;
  }

  /* balloon-text は position:absolute でフロー上の高さを持たないため、バルーンを含むタイトルのみ上に余白を確保してズレを防ぐ */
  &:has(.balloon-text) {
    padding-top: 40px;
  }
  .sugao-ss_l {
    position: relative;
  }
}

.balloon-text {
  padding: 2px 12px;
  top: 5px;
}

.tm-section-title {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 1px;
  @media screen and (max-width: 768px) {
    font-size: 24px;
  }
}

/* -----------------------------------
  余白
----------------------------------- */
.mt120 {
  margin-top: 120px;
  @media screen and (max-width: 768px) {
    margin-top: 80px;
  }
}

.mt100 {
  margin-top: 100px;
  @media screen and (max-width: 768px) {
    margin-top: 60px;
  }
}

.mt80 {
  margin-top: 80px;
  @media screen and (max-width: 768px) {
    top: 60px;
  }
}

.mt60 {
  margin-top: 60px;
  @media screen and (max-width: 768px) {
    margin-top: 40px;
  }
}

.mt48 {
  margin-top: 48px;
  @media screen and (max-width: 768px) {
    margin-top: 32px;
  }
}

.mt40 {
  margin-top: 40px;
  @media screen and (max-width: 768px) {
    margin-top: 32px;
  }
}

.mt32 {
  margin-top: 32px;
  @media screen and (max-width: 768px) {
    margin-top: 24px;
  }
}

.mt24 {
  margin-top: 24px;
  @media screen and (max-width: 768px) {
    margin-top: 16px;
  }
}

.mt20 {
  margin-top: 20px;
  @media screen and (max-width: 768px) {
    margin-top: 12px;
  }
}

.mt16 {
  margin-top: 16px;
  @media screen and (max-width: 768px) {
    margin-top: 8px;
  }
}

.mt12 {
  margin-top: 12px;
  @media screen and (max-width: 768px) {
    margin-top: 8px;
  }
}

.mt8 {
  margin-top: 8px;
  @media screen and (max-width: 768px) {
    margin-top: 4px;
  }
}

.mt4 {
  margin-top: 4px;
  @media screen and (max-width: 768px) {
    margin-top: 2px;
  }
}

/* -----------------------------------
  背景
----------------------------------- */
.bg {
  &.--sun {
    background-color: var(--sun);
  }
  &.--cloud {
    background-color: var(--cloud);
  }
  &.--gray {
    background-color: var(--gr-75);
  }
  &.--lychee {
    background-color: var(--ly-50);
  }
  &.--prune {
    background-color: var(--pu-50);
  }
  &.--papaya {
    background-color: var(--pa-50);
  }
  &.--sand {
    background-color: var(--sa-50);
  }
}

/* ==========================================================
  CTA
  ボタンの見た目・配色・レイアウトは base-child.css に集約。
  ここでは base-child の .child-button margin:16px 0 を打ち消す。
========================================================== */
.cta-list .child-button {
  margin: 0;
}

/* 理由・料金セクション（.cta-list > .list）のボタン間隔 */
.cta-list .list {
  gap: 40px;
  @media screen and (max-width: 768px) {
    gap: 24px;
  }
}
/* ==========================================================
  MV
========================================================== */
.tm-mv {
  padding: 0;
  background-color: var(--sa-50);
  background-image: url(/talent-management/img/bg-mv.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  overflow: hidden;
  height: 400px;
  @media screen and (max-width: 768px) {
    height: auto;
    background-image: url(/talent-management/img/bg-mv_sp.png);
  }

  .tm-mv-inner {
    display: grid;
    grid-template-columns: 678px 1fr;
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      ".    image"
      "text image"
      "cta  image"
      ".    image";
    column-gap: 12px;
    height: 100%;
    padding: 0 0 0 60px;
    @media screen and (max-width: 768px) {
      grid-template-columns: 1fr;
      grid-template-rows: none;
      grid-template-areas:
        "text"
        "image"
        "cta";
      align-content: start;
      height: auto;
      row-gap: 0;
      padding: 32px 16px;
    }
  }

  .tm-mv-text {
    grid-area: text;
    text-align: left;
  }

  .tm-mv-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.5;
    color: var(--night);
    white-space: nowrap;
    @media screen and (max-width: 768px) {
      font-size: 24px;
      white-space: normal;
      text-align: center;
    }

    .line {
      display: block;
    }

    .accent {
      font-size: 42px;
      color: var(--pu-400);
      @media screen and (max-width: 768px) {
        font-size: 26px;
      }
    }

    .hl {
      display: inline-block;
      margin-top: 12px;
      padding: 2px 10px 4px;
      font-size: 45px;
      color: var(--pu-400);
      background-color: var(--sun);
      @media screen and (max-width: 768px) {
        margin-top: 8px;
        padding: 4px 8px;
        font-size: 24px;
        white-space: normal;
      }
    }
  }

  .cta-list {
    grid-area: cta;
    display: flex;
    gap: 24px;
    margin-top: 40px;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      margin-top: 0;
    }

    .item {
      flex: 1 1 0;
      min-width: 0;
    }

    /* 2つのボタンを等幅にして列いっぱいに広げ、20px・1行で収める */
    .child-button {
      height: 80px;
      margin: 0;
      font-size: 20px;
    }
  }

  .tm-mv-image {
    grid-area: image;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    @media screen and (max-width: 768px) {
      display: block;
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
    }

    /* img は共通の width:100% / height:auto に委ねる */
  }
}

/* ==========================================================
  タレントマネジメントシステムとは（about）
========================================================== */
.child-section.tm-about {
  padding: 80px 0 30px;
  @media screen and (max-width: 768px) {
    padding: 60px 0 0;
  }

  .tm-about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
    @media screen and (max-width: 768px) {
      flex-direction: column;
    }

    > .pict {
      width: 100%;
      max-width: 460px;
    }

    > .triangle {
      display: block;
      width: 24px;
      height: 28px;
      margin-right: 16px;
      background: var(--gr-600);
      clip-path: polygon(0 0, 100% 50%, 0 100%);
      @media screen and (max-width: 768px) {
        margin: 0 0 16px 0;
        transform: rotate(90deg);
      }
    }
  }
}

.tm-page {
  .no1 {
    @media screen and (max-width: 768px) {
      padding: 30px 0;
    }
    .no1-list .item-no1 .category {
      letter-spacing: 0;
    }
  }
}


/* ==========================================================
  導入企業ロゴループ
========================================================== */

.logo-slider-frame {
  width: 100%;
  height: 100px;
}

.child-section.company-loopframe {
  max-width: 1760px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 0 40px;
  background-color: #fff;
}

/* ==========================================================
  選ばれる理由
========================================================== */
.child-section.tm-reason {
  .tm-reason-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    @media screen and (max-width: 768px) {
      gap: 24px;
      margin-top: 32px;
    }

    .item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 48px;
      padding: 20px 40px;
      background-color: var(--cloud);
      border-radius: 16px;
      @media screen and (max-width: 768px) {
        flex-direction: column;
        gap: 4px;
        padding: 16px 20px 30px;
      }

      /* 偶数ブロックは画像を右側に */
      &:nth-child(even) {
        flex-direction: row-reverse;
        @media screen and (max-width: 768px) {
          flex-direction: column;
        }
      }

      .tm-reason-image {
        flex: 0 0 600px;
        @media screen and (max-width: 768px) {
          flex: 1 1 auto;
          width: 100%;
        }
      }

      .tm-reason-text {
        flex: 1 1 0;
        text-align: left;

        /* 見出し: 共通の .sugao-ss_m（M（タイトル）32px / 700）を使用。色のみ上書き */
        .sugao-ss_m {
          color: var(--pu-400);
          @media screen and (max-width: 768px) {
            text-align: center;
          }
        }

        /* 本文は .sugao-ss_p（P（ノーマル本文）16px）を使用。ここでは見出しからの余白のみ */
        p {
          margin-top: 16px;
          @media screen and (max-width: 768px) {
            margin-top: 12px;
          }
        }

        .note {
          display: block;
          margin-top: 12px;
          font-size: 10px;
          line-height: 1.5;
          color: var(--gr-500);
        }

        .sugao-ss_utility-link {
          margin-top: 16px;
          @media screen and (max-width: 768px) {
            justify-content: center;
          }
        }
      }
    }
  }
}

/* ==========================================================
  信頼と実績
========================================================== */
.child-section.tm-trust {
  .tm-trust-award {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px auto 0 auto;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      gap: 10px;
    }

    > .item.rate {
      flex: 0 1 420px;
    }

    > .item.awards {
      flex: 0 1 auto;
      text-align: left;

      .note {
        display: block;
        margin-top: 6px;
        font-size: 10px;
        line-height: 1.4;
      }
    }

    @media screen and (max-width: 768px) {
      > .item.rate, > .item.awards {
        flex: none;
        width: 100%;
      }
    }
  }

  .tm-security-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    @media screen and (max-width: 768px) {
      gap: 16px;
    }

    .item {
      flex: 0 1 245px;
      padding: 20px;
      border: 1px solid var(--gr-200);
      border-radius: 12px;
      text-align: center;
      @media screen and (max-width: 768px) {
        flex: 1 1 100%;
        padding: 16px;
      }

      .pict {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px;

        img {
          width: auto;
          max-height: 100px;
        }
      }

      .desc {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
        color: var(--gr-600);
      }
    }
  }
}

/* ==========================================================
  活用シーン
========================================================== */
.child-section.tm-scene {
  @media screen and (max-width: 768px) {
    padding: 60px 0;
  }
}

/* ==========================================================
  機能
========================================================== */
/* セクション末尾の「一覧を見る」リンクは中央寄せ */
.child-section.func-2512 .sugao-ss_utility-link.arrow,
.child-section.showcase .sugao-ss_utility-link.arrow {
  justify-content: center;
}

.child-section.func-2512 .plan-detail-table .table-func-list .item {
  width: calc((100% - 30px) / 4);
  @media screen and (max-width: 768px) {
    width: 50%;
    padding: 6px 0;
  }
}

/* 機能リンクの下線（ページ冒頭の a リセットで消えるため復活させる）
   ※ クリック不可のダミー項目（p.link）には付けない */
.child-section.func-2512 .plan-detail-table .table-func-list .item > a.link {
  text-decoration: underline;
}

/* ==========================================================
  料金体系
========================================================== */
.child-section.tm-price {

  .tm-price-base {
    max-width: 960px;
    margin: 40px auto 0;
    padding: 40px;
    background-color: var(--cloud);
    border-radius: 16px;
    @media screen and (max-width: 768px) {
      padding: 24px 16px;
    }
  }

  .tm-price-example-title {
    margin-top: 56px;
    text-align: center;
    @media screen and (max-width: 768px) {
      margin-top: 40px;
    }
  }

  .tm-price-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1160px;
    margin: 32px auto 0;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      align-items: center;
      gap: 40px;
      max-width: 360px;
    }

    .tm-price-cards_item {
      display: flex;
      flex: 1;
      flex-direction: column;
      align-items: center;
      @media screen and (max-width: 768px) {
        width: 100%;
      }

      .tm-price-card_avatar {
        position: relative;
        z-index: 1;
        width: 118px;
        margin-bottom: -58px;
      }

      .tm-price-card {
        overflow: hidden;
        flex: 1;
        width: 100%;
        background-color: var(--cloud);
        border-radius: 16px;
        box-shadow: var(--elevation-1-box);

        .tm-price-card_head {
          padding: 60px 16px 20px;
          background-color: var(--sa-50);

          .tm-price-card_title {
            font-size: 24px;
            font-weight: 700;
            text-align: center;
            color: var(--pa-600);
            @media screen and (max-width: 768px) {
              font-size: 22px;
            }
          }
        }

        .tm-price-card_body {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 20px;
          padding: 20px;

          .tm-price-card_base {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 76px;
            padding: 8px 20px;
            background-color: var(--sun);
            border-radius: 4px;
            font-size: 18px;
            font-weight: 700;
            text-align: center;
            color: var(--pa-600);
          }

          .tm-price-card_plus {
            width: 28px;
          }

          .tm-price-card_options {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            width: 100%;

            .option {
              display: flex;
              align-items: center;
              justify-content: center;
              min-height: 44px;
              padding: 6px 8px;
              background-color: var(--av-500);
              border-radius: 4px;
              font-size: 16px;
              font-weight: 700;
              text-align: center;
              color: var(--cloud);

              &:only-child {
                grid-column: 1 / -1;
              }

              &.dots {
                gap: 10px;
                background-color: transparent;

                span {
                  width: 10px;
                  height: 10px;
                  border-radius: 50%;
                  background-color: #c9c9c9;
                }
              }
            }
          }
        }
      }
    }
  }

  .tm-price-custom {
    margin-top: 40px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: var(--night);
    @media screen and (max-width: 768px) {
      margin-top: 32px;
      font-size: 20px;
    }

    span {
      position: relative;
      z-index: 0;
      color: var(--pu-400);

      &::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -2px;
        width: 100%;
        z-index: -1;
        height: 36%;
        background-color: var(--sun);
      }
    }
  }

  > .child-inner > .sugao-ss_utility-link.arrow {
    justify-content: center;
  }
}

/* ==========================================================
  導入事例
========================================================== */
.child-section.tm-showcase {
  @media screen and (max-width: 768px) {
    padding: 60px 0;
  }
}


/* ==========================================================
  よくある質問
========================================================== */
.child-section.tm-faq {

  .tm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    @media screen and (max-width: 768px) {
      gap: 16px;
    }

    details {
      width: 100%;
      background: var(--cloud);
      border-radius: 16px;
      box-shadow: var(--elevation-2-box);
      overflow: hidden;
      interpolate-size: allow-keywords;

      /* 開いた時は質問の背景を pa-50 に、アイコンの縦棒を回転させて − にする */
      &[open] summary {
        background-color: var(--pa-50);

        .tm-faq-icon::after {
          transform: translate(-50%, -50%) rotate(0deg);
        }
      }

      /* 開閉をスムーズにアニメーション */
      &::details-content {
        block-size: 0;
        overflow: hidden;
        transition-property: block-size, content-visibility;
        transition-duration: 0.3s;
        transition-timing-function: ease;
        transition-behavior: allow-discrete;
      }
      &[open]::details-content {
        block-size: auto;
      }

      summary {
        position: relative;
        padding: 32px 72px 32px 32px;
        cursor: pointer;
        list-style: none;
        text-align: left;
        transition: background-color 0.3s;
        @media screen and (max-width: 768px) {
          padding: 20px 60px 20px 20px;
        }

        &::-webkit-details-marker {
          display: none;
        }

        &:hover {
          background-color: var(--pa-50);
        }

        .title {
          font-size: 24px;
          font-weight: 700;
          color: var(--pa-600);
          @media screen and (max-width: 768px) {
            font-size: 18px;
          }
        }

        /* ＋/− アイコン: 文字ではなく擬似要素の2本のバーで表現し、縦棒の回転で切替 */
        .tm-faq-icon {
          position: absolute;
          top: 34px;
          right: 24px;
          width: 32px;
          height: 32px;
          background-color: var(--water);
          border-radius: 50%;
          @media screen and (max-width: 768px) {
            top: 18px;
            width: 28px;
            height: 28px;
            right: 16px;
          }

          &::before,
          &::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 14px;
            height: 2px;
            background-color: var(--cloud);
            transform: translate(-50%, -50%);
          }

          /* 縦棒（閉じている時は90度＝＋、開くと0度＝横棒に重なって−） */
          &::after {
            transform: translate(-50%, -50%) rotate(90deg);
            transition: transform 0.3s;
          }
        }
      }

      .in-details {
        padding: 32px;
        border-top: 1px solid var(--gr-200);
        text-align: left;
        @media screen and (max-width: 768px) {
          padding: 20px;
        }

        /* 回答は共通の P タイポ（.sugao-ss_p）を使い、行間のみ読みやすさ優先で上書き */
        .desc {
          line-height: 1.8;
        }

        .companyNumUpdate {
          display: block;
          margin-top: 8px;
          font-size: 12px;
        }
      }
    }
  }
}

/* ==========================================================
 カオナビ人事用語集
========================================================== */
.child-section.tm-glossary {
  max-width: 760px;
  margin: 0 auto;
  .tm-glossary-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      gap: 8px;
    }

    .section-title {
      text-align: left;
    }
  }

  .tm-glossary-list {
    .item {
      border-bottom: 1px solid var(--gr-200);

      &:first-child {
        border-top: 1px solid var(--gr-200);
      }

      /* padding は li ではなく a に付けてクリック領域を広げる */
      .sugao-ss_utility-link {
        justify-content: space-between;
        padding: 16px 8px;
        color: var(--night);
        text-align: left;
        text-decoration: none;
        gap: 20px;

        &:hover {
          color: var(--pu-400);
          background-color: var(--sun);
          text-decoration: none;
          &::after {
            background-color: var(--pu-400);
          }
        }

        /* アイコンは縮めない */
        &::after {
          flex-shrink: 0;
        }

        /* 1行を超える場合は … で省略 */
        .tm-glossary-text {
          flex: 1;
          min-width: 0;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          font-weight: 400;
        }
      }
    }
  }
}
