@charset "UTF-8";
/* ==========================================================================
   TATAKI — TOP（index.html）とサービス一覧（services/）の仕上げ。
   読み込み順：lp.css → home.css（TOP）／services.css（サービス一覧）→ このファイル。
   同じ詳細度で home.css / services.css の一部を上書きし、新しい部品を足す。
   動きは lp.css の 3 種だけ（ふわっと出る・hover で 4px 持ち上げ・ヒーローの束の浮遊）。
   ========================================================================== */

/* ==========================================================================
   TOP：ヒーロー
   PC：コピー｜スライドの束 の下に、3 つのサービスの帯（.svc-panel）。
   スマホ：コピー → 3 つのサービス → スライドの束（DOM の順のまま）。
   ========================================================================== */
.hero { padding: calc(var(--header-h) + clamp(24px, 4.2vw, 60px)) 0 0; }
.hero__grid { gap: 0; }
.hero__title { font-size: clamp(34px, 4.5vw, 60px); }
.hero__kicker { margin-top: .4em; }
.hero__lead { max-width: 34em; margin-top: 22px; line-height: 1.95; }
.hero__cta { margin-top: 30px; }
.hero .promo-pill { margin-bottom: 18px; }
.hero .eyebrow { margin-bottom: 16px; }
.hero .metrics { margin-top: 36px; }
.hero__visual { margin-top: 48px; }
.hero__note { margin-top: 24px; }

@media (min-width: 960px) {
  .hero__copy { grid-column: 1 / span 6; grid-row: 1; }
  .hero__visual { grid-column: 7 / span 6; grid-row: 1; margin-top: 0; }
  .hero .svc-panel { grid-column: 1 / -1; grid-row: 2; }
  .hero .metric dd { white-space: nowrap; }
}

/* スマホ：指標 3 つを 1 行に（2 段で折り返す） */
@media (max-width: 599px) {
  .hero .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
    border-block: 1px solid var(--line);
  }
  .hero .metric {
    display: block;
    padding: 12px 6px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
    text-align: center;
  }
  .hero .metric:first-child { border-left: 0; }
  .hero .metric dt { font-size: 10.5px; letter-spacing: .14em; }
  .hero .metric dd { margin-top: 4px; font-size: 14px; line-height: 1.55; }
  .hero .metric dd > span { display: inline-block; }
  .hero .metrics__note { margin-top: 10px; font-size: 12px; }
  .hero__visual { margin-top: 40px; }
  .hero__note { margin-top: 20px; font-size: 12px; }
}

/* ---------- 3 つのサービスと料金の起点（ヒーローの中の帯） ---------- */
.svc-panel {
  --eb-bg: var(--soft);
  margin-top: clamp(36px, 5vw, 72px);
  padding: clamp(20px, 3.4vw, 48px);
  border-radius: 28px;
  background: var(--soft);
}
.svc-panel .eyebrow { margin-bottom: 10px; }
.svc-panel__head { display: grid; gap: 8px 48px; align-items: end; }
@media (min-width: 960px) {
  .svc-panel__head { grid-template-columns: minmax(0, 1fr) minmax(0, 27em); }
}
.svc-panel__title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .04em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: balance;
}
.svc-panel__lead { color: var(--sub); font-size: 14.5px; line-height: 1.9; }
.svc-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.svc-panel__link svg { width: 15px; height: 15px; flex: none; }
.svc-panel__link:hover { color: var(--accent-ink); }
.svc-panel__note { margin-top: 14px; color: var(--sub); font-size: 12.5px; }

.svc-panel .svc-cards { margin-top: clamp(20px, 2.6vw, 32px); gap: 12px; }
@media (min-width: 960px) {
  .svc-panel .svc-cards { gap: 16px; }
}
.svc-panel .svc-card { padding: clamp(20px, 2.4vw, 32px); }
.svc-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  padding-top: 22px;
}
.svc-card__label {
  color: var(--sub);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.svc-card__price b { font-size: 1.75em; }
.svc-card__fact { margin-top: 2px; color: var(--sub); font-size: 13px; line-height: 1.7; }
.svc-card__more { margin-top: 18px; }

/* スマホ（〜719px）：カードを詰めて、「くわしく見る」は右上の矢印だけに */
@media (max-width: 719px) {
  .svc-panel { border-radius: var(--r-l); }
  .svc-panel__title { font-size: 22px; }
  .svc-panel__lead { font-size: 13.5px; line-height: 1.8; }
  .svc-panel .svc-card { padding: 18px 20px 18px; }
  .svc-card__title { margin-top: 4px; font-size: 21px; }
  .svc-card__desc { margin-top: 6px; font-size: 13.5px; line-height: 1.7; }
  .svc-card__price { padding-top: 12px; }
  .svc-card__price b { font-size: 1.6em; }
  .svc-card__fact { font-size: 12.5px; }
  .svc-card__more {
    position: absolute;
    top: 18px;
    right: 18px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .svc-card__more svg { width: 18px; height: 18px; }
  .svc-card__more-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* まとめて依頼の行 */
.svc-panel .svc-bundle {
  position: relative;
  display: grid;
  gap: 4px 24px;
  align-items: center;
  margin-top: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font-weight: 500;
  text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-panel .svc-bundle:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (min-width: 720px) {
  .svc-panel .svc-bundle { grid-template-columns: minmax(0, 1fr) auto auto; padding: 18px 28px; }
}
@media (min-width: 960px) {
  .svc-panel .svc-bundle { margin-top: 16px; }
}
.svc-bundle__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; }
.svc-bundle__name { font-size: 16px; font-weight: 900; letter-spacing: .04em; }
.svc-bundle__desc { color: var(--sub); font-size: 13.5px; line-height: 1.7; }
.svc-bundle__price { font-size: 15px; font-weight: 900; }
.svc-bundle__price b { margin-right: .1em; font-family: var(--font-en); font-size: 1.6em; font-weight: 800; letter-spacing: -.01em; }
.svc-panel .svc-bundle a.svc-bundle__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.svc-bundle__link svg { width: 16px; height: 16px; flex: none; }
.svc-bundle__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.svc-bundle__link:focus-visible { outline: none; }
.svc-bundle__link:focus-visible::after { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.svc-panel .svc-bundle:hover .svc-bundle__link { color: var(--accent-ink); }
@media (max-width: 719px) {
  /* 文字は隠して矢印だけ右上に。リンクの ::after は行全体を覆う（押せる範囲は行全体） */
  .svc-panel .svc-bundle a.svc-bundle__link { font-size: 0; gap: 0; }
  .svc-bundle__link svg { position: absolute; top: 16px; right: 18px; width: 18px; height: 18px; }
  .svc-bundle__text { padding-right: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-panel .svc-bundle:hover { transform: none; }
}

/* スマホ：2 画面目までに 3 つのサービスと料金が入るよう、ヒーローを詰める */
@media (max-width: 599px) {
  .hero .promo-pill { gap: 8px; margin-bottom: 16px; padding: 5px 10px 5px 5px; font-size: 12px; }
  .hero .promo-pill__live { padding: 2px 8px; font-size: 11px; }
  .hero__cta { gap: 10px; margin-top: 24px; }
  .hero__cta .btn--lg { --h: 52px; }
}
@media (max-width: 719px) {
  .svc-panel .svc-card__en { display: none; }
  .svc-panel .svc-card__title { margin-top: 0; padding-right: 28px; }
  .svc-panel__lead-more { display: none; }
  .svc-panel__link { margin-top: 0; font-size: 13.5px; }
}

/* ==========================================================================
   サービス一覧（services/）
   ========================================================================== */

/* ---------- 見出しの右：3 つのサービスを重ねた絵（伝える・考える・Web） ---------- */
.svc-hero__visual { width: 100%; max-width: 420px; margin-inline: auto; }
@media (min-width: 960px) {
  .svc-hero .page-hero__grid > .svc-hero__visual { grid-column: 8 / span 5; max-width: none; }
}
.trio { position: relative; aspect-ratio: 10 / 7.6; }
.trio::before {
  content: "";
  position: absolute;
  inset: 12% 4% 4% 10%;
  border-radius: 24px;
  background: var(--soft);
}
.trio__item { position: absolute; margin: 0; }
.trio__item--web { top: 0; right: 0; width: 70%; rotate: 2.5deg; }
.trio__item--deck { top: 30%; left: 0; width: 60%; rotate: -3deg; z-index: 1; }
.trio__item--consult { right: 6%; bottom: 0; width: 56%; rotate: 1.5deg; z-index: 2; }
.trio__browser {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top-width: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.trio__browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.trio__slide {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  box-shadow: var(--shadow-l);
}
.trio__diagram { outline: 1px solid var(--line); outline-offset: -1px; }
.trio__tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-s);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.trio__item--web .trio__tag { top: -14px; right: 14px; }
.trio__item--deck .trio__tag { left: 12px; bottom: -14px; }
.trio__item--consult .trio__tag { right: 12px; bottom: -14px; background: var(--ink); color: #fff; }
@media (max-width: 959px) {
  .svc-hero .page-hero__grid { gap: 40px; }
}
@media (max-width: 479px) {
  .trio__tag { padding: 3px 10px; font-size: 11px; }
}

/* ---------- 3 つのサービスを比べる：行の高さを 3 枚でそろえる（subgrid） ---------- */
.svc-spec__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.svc-spec__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
.svc-spec__for { margin-top: 6px; color: var(--sub); font-size: 14.5px; line-height: 1.8; }
.svc-spec__sub {
  display: block;
  margin-top: 2px;
  color: var(--sub);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.7;
}
.svc-spec__cta svg { width: 16px; height: 16px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 960px) {
    .svc-specs { row-gap: 0; }
    .svc-spec { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
    .svc-spec__list { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
    .svc-spec__list > div:first-child,
    .svc-spec__list > div:nth-child(2) { min-height: 0; }
  }
}

/* ---------- 料金に含まれるもの・別途お見積りになるもの ---------- */
.incl {
  display: grid;
  gap: 16px;
  margin-top: clamp(32px, 4vw, 48px);
}
@media (min-width: 720px) {
  .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
.incl__col {
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.incl__col--extra { border-color: transparent; background: var(--soft); }
.incl__title { font-size: 17px; font-weight: 900; line-height: 1.6; letter-spacing: .04em; }
.incl__list { margin-top: 12px; }
.incl__list li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}
.incl__list li:first-child { border-top: 0; }
.incl__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  rotate: -45deg;
}
.incl__col--extra .incl__list li { border-top-color: var(--line-2); }
.incl__col--extra .incl__list li::before {
  top: 21px;
  width: 12px;
  height: 0;
  border: 0;
  border-top: 2px solid var(--ink);
  rotate: none;
}
.incl__note { margin-top: 12px; color: var(--sub); font-size: 13.5px; line-height: 1.8; }

/* 料金表のあとに置くキャンペーン */
.svc-price .campaign { margin: clamp(40px, 5vw, 64px) 0 0; }

/* ---------- まとめて依頼 ---------- */
@media (min-width: 960px) {
  .bundle__grid > .bundle__copy { grid-column: 1 / span 6; }
}
.pair { margin-top: clamp(32px, 4vw, 48px); }
.pair__media { position: relative; max-width: 560px; aspect-ratio: 16 / 8.6; }
.pair__browser {
  position: absolute;
  top: 0;
  left: 0;
  width: 76%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top-width: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.pair__browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.pair__slide {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  border-radius: 8px;
  box-shadow: var(--shadow-l);
  rotate: 2deg;
}
.pair__cap { margin-top: 16px; color: var(--sub); font-size: 12.5px; line-height: 1.7; }
.bundle__lead { margin-top: 12px; color: var(--sub); font-size: 14.5px; line-height: 1.8; }
.bundle__card .bundle__examples { margin: 16px 0 0; }
.bundle__note { margin: 12px 0 24px; color: var(--sub); font-size: 13px; }

/* ---------- どれを選べばよいか ---------- */
.guide { display: grid; gap: 12px; margin-top: clamp(36px, 4.5vw, 56px); }
.guide__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "case case" "ans arrow";
  align-items: center;
  gap: 14px 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.guide__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide__case { grid-area: case; display: grid; gap: 4px; }
.guide__q {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.6;
  font-feature-settings: "palt";
  word-break: auto-phrase;
}
.guide__eg { color: var(--sub); font-size: 13.5px; line-height: 1.7; }
.guide__ans {
  grid-area: ans;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.guide__to { font-size: 16px; font-weight: 900; letter-spacing: .04em; transition: color .2s; }
.guide__price { color: var(--sub); font-size: 13.5px; font-weight: 700; }
.guide__arrow { grid-area: arrow; align-self: end; width: 20px; height: 20px; margin-bottom: 2px; transition: color .2s; }
.guide__link:hover .guide__to,
.guide__link:hover .guide__arrow { color: var(--accent-ink); }
@media (min-width: 720px) {
  .guide__link {
    grid-template-columns: minmax(0, 1fr) 12em 20px;
    grid-template-areas: "case ans arrow";
    gap: 0 28px;
    padding: 24px 32px;
  }
  .guide__ans {
    display: grid;
    gap: 2px;
    align-self: stretch;
    align-content: center;
    padding: 0 0 0 28px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .guide__arrow { align-self: center; margin: 0; }
}

/* 伝える資料と考える資料のちがい */
.diff { margin-top: clamp(56px, 7vw, 88px); }
.diff__title {
  margin-bottom: 20px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
  font-feature-settings: "palt";
}
.diff__table thead th:not(:first-child) { color: var(--ink); }
.diff__table td { color: var(--ink); }
.diff__note { margin-top: 14px; color: var(--sub); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .guide__link:hover { transform: none; }
}

/* 料金表の見出しと表のあいだ */
.svc-price .sec-head + .ptable-wrap { margin-top: clamp(32px, 4vw, 48px); }

/* まとめて依頼の金額：名前を上の行に、金額と（税別）を同じ行に */
.bundle__card .bundle__name { flex-basis: 100%; }

/* 日本語の改行を文節で（「資 / 料。」のような泣き別れを防ぐ） */
.svc-card__desc,
.svc-panel__lead,
.svc-spec__for,
.svc-spec__list dd,
.incl__list li,
.guide__eg,
.bundle__lead,
.pair__cap,
.diff__table td {
  word-break: auto-phrase;
  text-wrap: pretty;
}

/* 伝える資料と考える資料のちがい：スマホは「項目」を上に、2 つを左右に */
@media (max-width: 599px) {
  .diff__table thead tr,
  .diff__table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff__table thead th:first-child { display: none; }
  .diff__table thead th { padding: 12px 14px; }
  .diff__table thead th + th + th { border-left: 1px solid var(--line); }
  .diff__table tbody tr { border-bottom: 1px solid var(--line); }
  .diff__table tbody tr:last-child { border-bottom: 0; }
  .diff__table tbody tr > * { border-bottom: 0; }
  .diff__table tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding: 12px 14px 2px;
    color: var(--sub);
    font-size: 12px;
    letter-spacing: .06em;
  }
  .diff__table td { width: auto; padding: 6px 14px 14px; font-size: 14px; }
  .diff__table td + td { border-left: 1px solid var(--line); }
}

/* ==========================================================================
   TOP：中間の幅（タブレット）の調整
   ========================================================================== */
/* キャンペーンの案内とラベルを別の行に */
.hero__copy .eyebrow { display: flex; }
/* 束の左端（傾いた 01 のカード）がリードの文字に近づきすぎないように */
@media (min-width: 960px) {
  .hero__visual { padding-left: clamp(8px, 1.6vw, 24px); }
}
/* 720〜959px：カードは縦に並ぶので、左に名前と説明、右に料金 */
@media (min-width: 720px) and (max-width: 959px) {
  .svc-panel .svc-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "en    price"
      "title price"
      "desc  fact";
    column-gap: 32px;
    align-items: start;
    padding-right: 64px;
  }
  .svc-panel .svc-card__en { grid-area: en; }
  .svc-panel .svc-card__title { grid-area: title; }
  .svc-panel .svc-card__desc { grid-area: desc; }
  .svc-panel .svc-card__price { grid-area: price; align-self: end; justify-content: flex-end; padding-top: 0; }
  .svc-panel .svc-card__fact { grid-area: fact; margin-top: 10px; text-align: right; }
  .svc-panel .svc-card__more {
    position: absolute;
    top: 50%;
    right: 24px;
    margin: -9px 0 0;
    padding: 0;
    border: 0;
  }
  .svc-panel .svc-card__more svg { width: 18px; height: 18px; }
  .svc-panel .svc-card__more-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* FAQ の質問も文節で折り返す（「…です / か？」を防ぐ） */
.faq .qa__text { word-break: auto-phrase; text-wrap: pretty; }
/* 流れの説明も文節で（納品の「スライドは…、Web サイトは…」が語の途中で切れないように） */
.flow .step__text { word-break: auto-phrase; }

/* ==========================================================================
   QA の仕上げ（TOP・services/ 共通）
   ========================================================================== */

/* 料金の見出しのすぐ下に来るキャンペーン（TOP）：リードとの間をあける */
.price .sec-head + .campaign { margin-top: clamp(32px, 4vw, 48px); }

/* 押せる範囲を 40px 以上に（見た目と行の高さは変えない） */
.hero .promo-pill { position: relative; }
.hero .promo-pill::after { content: ""; position: absolute; inset: -7px -2px; border-radius: 999px; }
.svc-panel__link { position: relative; }
.svc-panel__link::after { content: ""; position: absolute; inset: -9px -6px; }
.ptable tbody th a { position: relative; }
.ptable tbody th a::after { content: ""; position: absolute; inset: -10px -8px; }
.svc-hero .jump a { min-height: 40px; }

/* まとめて依頼の説明・WHY・比較表も文節で折り返す（「Web サイ / ト」「ぶ / ん」を防ぐ） */
.svc-bundle__desc,
.why .point__text,
.compare__lead,
.cmp--top td,
.ptable td { word-break: auto-phrase; text-wrap: pretty; }

/* TOP：720〜959px のまとめて依頼の行を、上の 3 枚のカードとそろえる（左右の余白・金額の右端・矢印だけ） */
@media (min-width: 720px) and (max-width: 959px) {
  .svc-panel .svc-bundle {
    grid-template-columns: minmax(0, 1fr) auto 18px;
    column-gap: 22px;
    padding: 18px 24px 18px clamp(20px, 2.4vw, 32px);
  }
  .svc-panel .svc-bundle a.svc-bundle__link { gap: 0; font-size: 0; }
  .svc-panel .svc-bundle .svc-bundle__link svg { width: 18px; height: 18px; }
}

/* TOP：WHY の 3 点は 600〜899px で「図｜文」の横並びに（1 列のままだと図が大きすぎる） */
@media (min-width: 600px) and (max-width: 899px) {
  .why .point {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 28px;
    align-items: start;
  }
  .why .point__fig { grid-row: 1 / 5; margin-bottom: 0; }
  .why .point > :not(.point__fig) { grid-column: 2; }
  .why .point__title { font-size: 26px; }
}

/* TOP：従来の制作会社との違い。スマホは「項目」を上に、2 つを左右に（3 列だと 1 行 4〜5 文字で読みにくい）。
   display を変えるので、表の役割は HTML の role で保つ */
@media (max-width: 599px) {
  .cmp--top thead tr,
  .cmp--top tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp--top thead th:first-child { display: none; }
  .cmp--top thead th { padding: 12px 14px; }
  .cmp--top tbody tr { border-bottom: 1px solid var(--line); }
  .cmp--top tbody tr:last-child { border-bottom: 0; }
  .cmp--top tbody tr > * { border-bottom: 0; }
  .cmp--top tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding: 12px 14px 4px;
    color: var(--sub);
    font-size: 12px;
    letter-spacing: .06em;
    white-space: normal;
  }
  .cmp--top td { width: auto; padding: 6px 14px 14px; font-size: 14px; }
}

/* services/：600〜959px は比較カードの項目を「見出し｜中身」の 2 列に（カードが縦に長くなりすぎない） */
@media (min-width: 600px) and (max-width: 959px) {
  .svc-spec__list > div {
    display: grid;
    grid-template-columns: 7em minmax(0, 1fr);
    column-gap: 16px;
    align-items: baseline;
  }
  .svc-spec__list dd { margin-top: 0; }
}

/* services/：スマホの「どれを選べばよいか」。区切り線をカードの幅いっぱいに */
@media (max-width: 719px) {
  .guide__case { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .guide__ans { padding-top: 0; border-top: 0; }
}

/* ==========================================================================
   TOP：AI の使い方（#ai。WHY のすぐ後に、同じ白の背景で続く。BRIEF-v2 §1「AI に関する内容」）
   AI が担うこと｜人が担うこと の 2 枚と、情報の扱い・資料内製化キットへの 2 枚。動きは「ふわっと出る」だけ
   ========================================================================== */
.why + .ai { padding-top: 0; }
.ai-split {
  display: grid;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 56px);
}
@media (min-width: 720px) {
  .ai-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
.ai-role {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-l);
}
.ai-role--ai { background: var(--soft); }
.ai-role--human { border: 1.5px solid var(--ink); background: #fff; }
.ai-role__en {
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent-ink);
}
.ai-role__title {
  margin-top: 8px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
  font-feature-settings: "palt";
}
.ai-role__list { margin-top: 16px; border-top: 1px solid var(--line-2); }
.ai-role--human .ai-role__list { border-top-color: var(--line); }
.ai-role__list li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--line-2);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.7;
  word-break: auto-phrase;
}
.ai-role--human .ai-role__list li { border-bottom-color: var(--line); }
.ai-role__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.ai-role--human .ai-role__list li::before { background: var(--ink); }
.ai-role__effect { margin-top: auto; padding-top: 18px; color: var(--sub); font-size: 14px; font-weight: 700; }

.ai-notes { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 720px) {
  .ai-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
}
.ai-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.ai-note__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-ink);
}
.ai-note__icon svg { width: 22px; height: 22px; }
.ai-note__title { font-size: 16.5px; font-weight: 900; line-height: 1.6; letter-spacing: .04em; font-feature-settings: "palt"; }
.ai-note__text { margin-top: 6px; color: var(--sub); font-size: 14.5px; line-height: 1.85; word-break: auto-phrase; text-wrap: pretty; }
.ai-note__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 3px;
  word-break: auto-phrase;
}
.ai-note__link svg { width: 15px; height: 15px; flex: none; }
.ai-note__link:hover { color: var(--accent-ink); }
@media (max-width: 479px) {
  .ai-note { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
.ai .sec-lead { word-break: auto-phrase; }
