@charset "UTF-8";

/* ==========================================================================
   POLARIS Web Site
   Figma: J0Pho6KD03ZkzmVTFUb7JT / page "web" / frame "top01"（1920×7940）
   数値はすべて Figma の実測値。clamp() の上限が 1920px 時点の設計値に一致する。

   1. Fonts
   2. Design tokens
   3. Reset / base
   4. Layout primitives
   5. Components
   6. Sections
   7. Responsive
   ========================================================================== */

/* ==========================================================================
   1. Fonts
   欧文スラブ体は Adways Slab を自前ホスト。和文は Noto Sans JP（HTML 側で読込）。
   ========================================================================== */

@font-face {
  font-family: "Adways Slab";
  src: url("../fonts/AdwaysSlab-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Adways Slab";
  src: url("../fonts/AdwaysSlab-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Adways Slab";
  src: url("../fonts/AdwaysSlab-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Adways Slab";
  src: url("../fonts/AdwaysSlab-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Adways Slab";
  src: url("../fonts/AdwaysSlab-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Adways Slab";
  src: url("../fonts/AdwaysSlab-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Adways Slab";
  src: url("../fonts/AdwaysSlab-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Adways Slab";
  src: url("../fonts/AdwaysSlab-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. Design tokens
   ========================================================================== */

/* 和欧混植用の別名ファミリー。
   Figma の混植ランは Bold までが和文と同じウェイト（Noto Medium + Slab Medium /
   Noto Bold + Slab Bold）で、それより上は 1 段軽い
   （Noto ExtraBold + Slab Bold ＝ top01 の比較セクション見出し）。
   スラブ体は同じ数値ウェイトでも Noto より太く見えるため、この差が要る。
   和文ウェイトをそのまま書けば欧文がこの対応で出るようにしている。 */
@font-face {
  font-family: "Adways Slab Mix";
  src: url("../fonts/AdwaysSlab-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adways Slab Mix";
  src: url("../fonts/AdwaysSlab-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adways Slab Mix";
  src: url("../fonts/AdwaysSlab-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adways Slab Mix";
  src: url("../fonts/AdwaysSlab-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adways Slab Mix";
  src: url("../fonts/AdwaysSlab-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adways Slab Mix";
  src: url("../fonts/AdwaysSlab-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ここから 1 段軽くする */
@font-face {
  font-family: "Adways Slab Mix";
  src: url("../fonts/AdwaysSlab-Bold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adways Slab Mix";
  src: url("../fonts/AdwaysSlab-ExtraBold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Color（Figma 変数） --- */
  --c-ink: #050b14; /* Brightness/primary/-11 */
  --c-navy: #081222;
  --c-white: #ffffff; /* Base/White       */
  --c-bg-sub: #fcfcfc; /* grayscale/FCFCFC */
  --c-line: #aaaaaa; /* grayscale/AAAAAA */
  --c-line-light: #cccccc; /* grayscale/CCCCCC */
  --c-text-sub: #333333; /* grayscale/333333 */
  --c-text-mute: #666666; /* grayscale/666666 */
  --c-accent: #2a5eaa;
  --c-border-input: #55595f; /* Brightness/base/+4  */
  --c-border-input-active: #2d323a; /* Brightness/base/+2  */
  --c-placeholder: #b9bbbd; /* Brightness/base/+9  */
  --c-on-dark: #f5f5f6; /* Brightness/base/+12 */

  /* --- Font family ---
     --ff-jp   : 和欧混植用。欧文は "Adways Slab Mix"（Bold まで同ウェイト、
                 それより上は 1 段軽い）が当たり、和文は Noto Sans JP へ落ちる。
                 Figma の和文ウェイトをそのまま書けばよい。
     --ff-slab : 純欧文の要素用。Figma の Adways Slab ウェイトをそのまま当てる。 */
  --ff-jp: "Adways Slab Mix", "Noto Sans JP", "YuGothic", "Yu Gothic",
    -apple-system, BlinkMacSystemFont, "ヒラギノ角ゴ Pro W3", sans-serif;
  --ff-slab: "Adways Slab", "Noto Sans JP", "YuGothic", "Yu Gothic", -apple-system,
    BlinkMacSystemFont, "ヒラギノ角ゴ Pro W3", sans-serif;

  /* --- Font size（上限 = Figma 実値） --- */
  --fs-fv-title: clamp(48px, 6.67vw, 128px); /* 128 */
  --fs-cta-title: clamp(30px, 3.33vw, 64px); /* 64  */
  --fs-h2: clamp(26px, 2.08vw, 40px); /* 40  */
  --fs-about-title: clamp(24px, 1.67vw, 32px); /* 32  */
  --fs-feature-title: clamp(20px, 1.46vw, 28px); /* 28  */
  --fs-level: clamp(18px, 1.15vw, 22px); /* 22  */
  --fs-lead: clamp(16px, 1.04vw, 20px); /* 20  */
  --fs-eyebrow: clamp(16px, 1.04vw, 20px); /* 20  */
  --fs-btn-label: clamp(16px, 1.04vw, 20px); /* 20  */
  --fs-body: clamp(14px, 0.83vw, 16px); /* 16  */
  --fs-nav: 14px;
  --fs-table: clamp(12px, 0.73vw, 14px); /* 14  */
  --fs-label: 12px;
  --fs-rail: 10px;

  /* --- 左右の余白（セクションごとに設計値が異なる） --- */
  --px-header: clamp(20px, 4.17vw, 80px); /* 80  */
  --px-fv: clamp(20px, 6.25vw, 120px); /* 120 */
  --px-section: clamp(24px, 12.5vw, 240px); /* 240 */
  --px-inquiry: clamp(20px, 8.33vw, 160px); /* 160 */
  --px-page: clamp(32px, 16.67vw, 320px); /* 320（下層ページ） */
  --rail-left: clamp(16px, 6.67vw, 128px); /* 128 */
  --header-h: 168px; /* Figma: header の高さ */
  --header-h-scrolled: 116px; /* スクロール後の縮小時の高さ */

  /* --- セクション上下の余白 --- */
  --pt-section: clamp(80px, 10.42vw, 200px); /* 200 */
  --pb-section: clamp(96px, 12.5vw, 240px); /* 240 */

  /* 比較表の評価記号の透過率（Figma: 他社列 56% / POLARIS 列 100%） */
  --mark-opacity: 0.56;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

/* ==========================================================================
   3. Reset / base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* アンカーで飛んだとき、固定ヘッダーの下に見出しが来るようにする。
   セクション自身が --pt-section の上余白を持つので、その分を差し引く。
   到達時のヘッダーは縮小状態なので --header-h-scrolled を基準にし、
   どのセクションでもヘッダー下 40px に見出しが来るよう負値も許容する。 */
.section[id],
[id].about {
  scroll-margin-top: calc(
    var(--header-h-scrolled) - var(--pt-section) + 40px
  );
}

body {
  margin: 0;
  background-color: var(--c-white);
  color: var(--c-ink);
  font-family: var(--ff-jp);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.68;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

button {
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}

/* 単色（#050B14）のロゴ・シンボルを暗背景で使うための反転。
   brightness(0) で一度真っ黒に潰してから invert(1) で純白にするため、
   元アセットの opacity（0.32 の細線）はそのまま保たれる。 */
.is-inverted {
  filter: brightness(0) invert(1);
}

/* SP では出さない。display:none なので読み上げからも外れる
   （見えている文言と読み上げが一致する） */
@media (max-width: 900px) {
  .u-pc {
    display: none;
  }
}

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   4. Layout primitives
   ========================================================================== */

.section {
  position: relative;
  padding-inline: var(--px-section);
  padding-block: var(--pt-section) var(--pb-section);
}

/* セクション左端のラベル（Figma: page_tagline）
   Figma は横書きテキストを rotate(90deg) しているだけで、縦組み（writing-mode）
   ではない。したがって字は右に倒れる。transform-origin を左上に置いて回転させると、
   テキストの左端が (left, top) に固定され、下方向へ伸びる。
   回転後は自身の行高（1em）分だけ左へ張り出すため、left に 1em 足して
   Figma の左位置（128px）に列を合わせる。 */
.rail {
  position: absolute;
  left: calc(var(--rail-left) + 1em);
  top: var(--pt-section);
  display: none;
  transform: rotate(90deg);
  transform-origin: 0 0;
  font-family: var(--ff-slab);
  font-size: var(--fs-rail);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.64em;
  white-space: nowrap;
  color: var(--c-ink);
}

@media (min-width: 1280px) {
  .rail {
    display: block;
  }
}

/* ==========================================================================
   5. Components
   ========================================================================== */

/* --- 見出しセット（Figma: section_title / gap 16） ------------------------ */

.heading {
  display: grid;
  gap: 16px;
  color: var(--c-ink);
}

.heading__eyebrow {
  font-family: var(--ff-slab);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}

.heading__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
}

/* --- ロゴ（Figma: logo_vertical / width 104） ---------------------------- */

/* Figma: logo_vertical（symbol + logotype_extraBold の縦組みロックアップ） */
.logo {
  display: block;
  width: 104px;
}

.logo img {
  width: 100%;
}

/* --- ボタン（Figma: btn_medium） ---------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 160px 28px 128px;
  border-radius: var(--radius-sm);
  background-color: var(--c-white);
  color: var(--c-ink);
  transition: opacity 0.25s ease;
}

.btn__symbol {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.btn__text {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding-top: 2px;
  white-space: nowrap;
}

.btn__label {
  font-family: var(--ff-slab);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

.btn__note {
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ダークボタン（Figma: section_inquiry の btn_medium。1 段大きい） */
.btn--dark {
  display: flex;
  width: 100%;
  gap: 20px;
  padding: 40px 120px 44px 88px;
  background-color: var(--c-ink);
  color: var(--c-white);
}

.btn--dark .btn__symbol {
  width: 52px;
  height: 52px;
}

.btn--dark .btn__label {
  font-size: var(--fs-btn-label);
}

.btn--dark .btn__note {
  font-size: 12px;
}

/* --- ヘッダー（Figma: header 1920×168） -------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header-h);
  padding-inline: var(--px-header);
  overflow: hidden;
  background-color: rgba(14, 20, 31, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--c-white);
  transition: background-color 0.3s ease, color 0.3s ease, height 0.3s ease,
    padding-bottom 0.3s ease;
}

/* 下層ページのヘッダー。Figma（company / inquiry_* など）では背景色が無く、
   backdrop-filter だけが掛かっている。トップの rgba(14,20,31,.04) を残すと
   白背景の上でグレーの帯に見えてしまうので透明に戻す。 */
.site-header--light {
  background-color: transparent;
  color: var(--c-ink);
}

.site-header--light .is-inverted {
  filter: none;
}

/* スクロール後の状態。Figma に定義がないため、FV を離れて明色セクションに
   重なっても可読性を保つための実装上の判断。 */
.site-header[data-scrolled="true"] {
  height: var(--header-h-scrolled);
  /* ロゴは上端が細い星、下端が太いワードマークなので、上下を等分にすると
     下が詰まって見える。非スクロール時（上 32 / 下 37）に近い比率になるよう
     下側に padding を足して、中央揃えの内容をわずかに上へ寄せる。 */
  padding-bottom: 8px;
  background-color: rgba(255, 255, 255, 0.88);
  color: var(--c-ink);
}

.site-header[data-scrolled="true"] .site-header__logo {
  height: auto;
  padding-top: 0;
}

.site-header[data-scrolled="true"] .logo {
  width: 76px;
}

.site-header[data-scrolled="true"] .site-nav {
  padding-bottom: 0;
}

/* 反転を解除して元の濃色ロゴに戻す */
.site-header[data-scrolled="true"] .is-inverted {
  filter: none;
}

.site-nav {
  display: flex;
  flex: 1 0 0;
  align-items: flex-start;
  gap: 40px;
  min-width: 0;
  padding-bottom: 16px;
  font-family: var(--ff-slab);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.site-nav--right {
  justify-content: flex-end;
}

.site-nav__sep {
  font-weight: 300;
  /* リンクと同じ行送りにしないとベースラインがずれ、| が下がって見える */
  line-height: 1;
  letter-spacing: 0.08em;
}

.site-nav__strong {
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  height: var(--header-h);
  padding-top: 32px;
  padding-inline: 24px;
  transition: height 0.3s ease, padding-top 0.3s ease;
}

/* ハンバーガー（Figma: ps_icon_menu 24×24）
   アセットは stroke="white" 固定なので、mask にして currentColor を流し込む。
   これでヘッダーの明暗切り替え（白 → 濃色）に自動で追従する。
   Figma の menu フレームはアイコンを左端に置くため、中央寄せはしない。 */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-left: auto;
}

.nav-toggle__icon {
  display: block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("../img/ps_icon_menu.svg") no-repeat center / contain;
  mask: url("../img/ps_icon_menu.svg") no-repeat center / contain;
}

/* メニューモーダル（Figma: sp_top_menu > modal 10985:29566）
   ヘッダーごと覆う全画面モーダル。閉じるのは最下部の Close ボタン。 */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 48px 48px;
  overflow-y: auto;
  background-color: rgba(18, 25, 36, 0.8);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  color: var(--c-white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-drawer[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.nav-drawer__logo {
  display: flex;
  align-items: center;
  height: 56px;
  flex-shrink: 0;
}

.nav-drawer__logo img {
  width: 56px;
}

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
  padding-block: 48px 22px;
  font-family: var(--ff-slab);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.12em;
}

.nav-drawer__nav--strong {
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.nav-drawer__nav--sub {
  gap: 8px;
  padding-block: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 400;
}

.nav-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  font-family: var(--ff-slab);
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--c-white);
  transition: background-color 0.2s ease;
}

.nav-drawer__close:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   6. Sections
   ========================================================================== */

/* --- FV（Figma: section_fv 1920×1987） --------------------------------- */

/* FV と About カードで 1 枚の背景を共有する。カードの高さが変わっても
   暗部の下端がカード下端の 68px 手前で終わるようにするため、背景は
   .fv ではなくこのコンテナが持つ。 */
.fv-stack {
  position: relative;
  background-color: var(--c-ink);
  background-image: url("../img/ps_back_image01.webp");
  background-size: cover;
  background-position: center top;
}

/* Figma: 暗部の下端 1987 に対しカード下端 2055。差の 68px は白地に乗る。 */
.fv-stack::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(0px, 3.54vw, 68px);
  background-color: var(--c-white);
}

.fv {
  position: relative;
  padding-inline: var(--px-fv);
  padding-top: 200px;
  /* FV コンテンツと About カードの間隔（Figma 1920 で 160） */
  padding-bottom: clamp(24px, 8.33vw, 160px);
  color: var(--c-white);
}

.fv__content {
  padding: 72px 80px 80px;
  border-radius: var(--radius-lg);
  background-color: rgba(18, 25, 36, 0.04);
}

.fv__eyebrow {
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: 0.24em;
}

.fv__title {
  margin-top: 32px;
  font-family: var(--ff-slab);
  font-size: var(--fs-fv-title);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0.06em;
}

.fv__text {
  display: grid;
  gap: 10px;
  margin-top: 40px;
  line-height: 1.68;
}

/* Figma の text フレーム幅（840）はリード文の折り返しを決めるためのもの。
   その下の 1 行は Figma では折り返さないので、幅の制限をかけない。
   欧文が Adways Slab になるぶん Noto より横に伸び、840 では収まらないため。 */
.fv__lead {
  max-width: 840px;
  font-size: var(--fs-lead);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.fv__sub {
  font-size: var(--fs-body);
  /* Figma は Black だが、サイト全体の最大が ExtraBold のため揃える */
  font-weight: 800;
  letter-spacing: 0.16em;
}

.fv__cta {
  padding-block: 48px;
}

.fv__note {
  font-size: var(--fs-label);
  /* Figma は Black だが、サイト全体の最大が ExtraBold のため揃える */
  font-weight: 800;
  line-height: 1.68;
  letter-spacing: 0.16em;
}

/* --- About（Figma: card > inner。FV に重なる白カード） ------------------ */

.about {
  position: relative;
  z-index: 2;
  margin-inline: var(--px-fv);
  padding: 140px 96px 128px 120px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background-color: var(--c-white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.about__inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 120px;
}

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

.about__eyebrow {
  font-family: var(--ff-slab);
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.04em;
}

.about__title {
  padding-block: 16px 20px;
  font-family: var(--ff-slab);
  font-size: var(--fs-about-title);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.about__reading {
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.24em;
}

.about__body {
  display: grid;
  gap: 24px;
  padding-top: 48px;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.68;
  letter-spacing: 0.16em;
}

.about__figure {
  flex-shrink: 0;
  width: 688px;
  max-width: 50%;
}

/* --- Features（Figma: section_features） ------------------------------- */

.features {
  /* Figma では About カードの下端（2055）が features（1987 開始）の上余白に
     68px 重なっている。カード自体は通常フローに置いているため、その分戻す。 */
  margin-top: clamp(-68px, -3.54vw, 0px);
  /* このセクションだけ上余白が 120px。padding-top を直接上書きすると
     .rail の top（--pt-section 参照）とズレるためトークンごと差し替える。 */
  --pt-section: clamp(80px, 6.25vw, 120px);
  background-color: var(--c-white);
}

.feature {
  padding-top: clamp(56px, 6.25vw, 120px);
}

.feature__label {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  font-family: var(--ff-slab);
  font-size: var(--fs-nav);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

.feature__label img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  /* Figma（cap 10964:54880）は icon y0/h16・text y2/h14 で中心が 1px ずれる。
     1px 下げて中心を揃える。 */
  transform: translateY(1px);
}

.feature__title {
  margin-top: 14px;
  font-size: var(--fs-feature-title);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

.feature__text {
  padding-top: 16px;
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.68;
  letter-spacing: 0.06em;
}

/* SP のみ、Feature 01 の図をタップで単体表示（リンクは JS が付ける） */
.feature__zoom {
  display: block;
  cursor: zoom-in;
}

.feature__figure {
  padding-top: 48px;
}

.feature__figure img {
  width: 100%;
}

.feature--split {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.feature--split .feature__body {
  flex: 1 0 0;
  min-width: 0;
}

.feature--split .feature__figure {
  flex-shrink: 0;
  width: 560px;
  max-width: 40%;
  padding-top: 0;
}

/* --- Comparison（Figma: section_comparison） --------------------------- */

.comparison {
  background-color: var(--c-bg-sub);
}

.compare-scroll {
  padding-top: clamp(56px, 6.25vw, 120px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare {
  width: 100%;
  min-width: 900px;
  table-layout: fixed;
}

.compare__col-label {
  width: 240px;
}

.compare thead th {
  padding: 0 24px 32px;
  border: 0;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  vertical-align: bottom;
  color: var(--c-text-sub);
}

.compare thead th.is-en {
  font-family: var(--ff-slab);
  font-weight: 500;
}

.compare thead th.is-primary {
  font-family: var(--ff-slab);
  font-weight: 700;
  color: var(--c-ink);
}

.compare tbody th {
  padding: 16px 40px 16px 0;
  border: 0;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: right;
  vertical-align: middle;
  color: var(--c-ink);
}

.compare td {
  padding: 32px 32px 36px;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
  background-color: var(--c-bg-sub);
  font-size: var(--fs-table);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  vertical-align: top;
  color: var(--c-text-sub);
}

.compare td:last-child {
  border-right: 1px solid var(--c-line);
  background-color: var(--c-white);
  font-weight: 800;
  color: var(--c-ink);
}

.compare tbody tr:last-child td {
  border-bottom: 1px solid var(--c-line);
}

/* 外周 4 隅のみ角丸（Figma: rounded 8px） */
.compare tbody tr:first-child td:nth-child(2) {
  border-top-left-radius: var(--radius-sm);
}
.compare tbody tr:first-child td:last-child {
  border-top-right-radius: var(--radius-sm);
}
.compare tbody tr:last-child td:nth-child(2) {
  border-bottom-left-radius: var(--radius-sm);
}
.compare tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-sm);
}

.compare__mark {
  display: block;
  width: 32px;
  height: 32px;
  margin: 8px auto 0;
  opacity: var(--mark-opacity);
}

.compare td:last-child .compare__mark {
  opacity: 1;
}

.compare__mark + p {
  margin-top: 16px;
}

.compare__level {
  display: block;
  margin-bottom: 16px;
  font-size: var(--fs-level);
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.02em;
  text-align: center;
}

/* --- Case study（Figma: section_case） --------------------------------- */

.case {
  background-color: var(--c-white);
}

/* Figma は 452px 固定のカードを flex-wrap で並べた 3 列。ビューポート幅に
   よらず 3 列を保てるようグリッドにしている。 */
.case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  padding-top: clamp(40px, 4.17vw, 80px);
}

.case-card {
  display: grid;
  gap: 24px;
  align-content: start;
  max-width: 452px;
}

/* 記事へのリンク。全体を淡くする既定の a:hover ではなく、
   画像のわずかな拡大とタイトルの下線で反応させる。 */
.case-card__link {
  display: grid;
  gap: 24px;
  align-content: start;
  transition: opacity 0.25s ease;
}

/* hover は不透明度だけ。画像の拡大とタイトルの下線は付けない */
.case-card__link:hover,
.case-card__link:focus-visible {
  opacity: 0.6;
}

.case-card__figure {
  aspect-ratio: 452 / 305;
  overflow: hidden;
  background-color: var(--c-bg-sub);
}

.case-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__title {
  font-size: var(--fs-body);
  font-weight: 800;
  line-height: 1.48;
  letter-spacing: 0.04em;
}

/* --- Inquiry（Figma: section_inquiry） --------------------------------- */

.inquiry {
  position: relative;
  padding-inline: var(--px-inquiry);
  padding-block: var(--pt-section) var(--pb-section);
  background-color: var(--c-ink);
  background-image: url("../img/ps_back_image02.webp");
  background-size: cover;
  background-position: center;
}

.inquiry__card {
  padding: clamp(48px, 7.71vw, 148px) clamp(24px, 8.33vw, 160px)
    clamp(48px, 8.33vw, 160px);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--c-ink);
}

.inquiry__title {
  font-family: var(--ff-slab);
  font-size: var(--fs-cta-title);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.inquiry__text {
  padding-block: 32px 48px;
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.68;
  letter-spacing: 0.06em;
}

/* --- Footer（Figma: footer 1920×190） --------------------------------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding: 80px var(--px-inquiry) 96px;
  overflow: hidden;
  background-color: var(--c-white);
  font-family: var(--ff-slab);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--c-ink);
}

.site-footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.site-footer__sep {
  font-weight: 300;
}

/* --- 下層ページ（Figma: company / privacy_policy / terms / inquiry_*）---- */

/* 見出しセクション。Figma: section_fv（padding 280 / 320 / 240） */
.page-head {
  /* Figma の下層ページは 1920 幅で x=320 / w=1280。320px 固定だと
     1920 未満で本文が痩せるため、比率（16.67vw）で持たせる。 */
  padding: 280px var(--px-page) 240px;
  background-color: var(--c-white);
}

/* --px-page は 320px で頭打ちになるため、1920 を超える画面では余りが全部
   右側に出てしまう。本文の段を Figma の 1280 で止めて中央に置く。 */
.page-head > * {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

.page-head__inner {
  display: grid;
  gap: 16px;
}

.page-head__ja {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #1e1e1e;
}

.page-head__en {
  font-family: var(--ff-slab);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}

/* --------------------------------------------------------------------------
   規約ページ本文（Figma: privacy_policy 10966:14167 / terms 10966:17024）
   .page-head の内側に置くため、左右の余白は .page-head 側の値を使う。
   -------------------------------------------------------------------------- */

.legal {
  color: var(--c-ink);
}

.legal__lead {
  padding-top: 80px;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* 本文の先頭。privacy は 120px、terms は 80px（Figma の section の上余白） */
.legal--privacy .legal__lead + * {
  margin-top: 120px;
}

.legal--terms .legal__lead + * {
  margin-top: 80px;
}

.legal h2,
.legal h3,
.legal h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.legal h2 {
  margin-top: 80px;
  font-size: 32px;
}

.legal h3 {
  margin-top: 40px;
  font-size: 24px;
}

/* Figma では 1 段小さく組まれているが、文書構造上は 1 つ上の階層にあたる見出し。
   見た目は Figma のまま、ランクだけ上げる。 */
.legal h2.legal__sub {
  font-size: 24px;
}

.legal h3.legal__sub {
  margin-top: 48px;
  font-size: 20px;
}

/* terms は見出しの上余白だけ 48px */
.legal--terms h3 {
  margin-top: 48px;
}

.legal h4 {
  margin-top: 48px;
  font-size: 20px;
}

.legal p {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* .legal p の上マージンはリード文には効かせない（上余白は padding で持つ） */
.legal .legal__lead {
  margin-top: 0;
}

.legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s ease;
}

.legal a:hover {
  opacity: 0.6;
}

/* 箇条書き。マーカーは Figma のテキストをそのまま出すので list-style は使わない */
.legal__list {
  margin-top: 24px;
  padding-left: 0;
  list-style: none;
}

.legal__list li {
  display: flex;
  align-items: flex-start;
}

.legal__list li + li {
  margin-top: 16px;
}

.legal--privacy .legal__list li + li {
  margin-top: 24px;
}

/* 入れ子は 40px 下げる */
.legal__list--indent {
  padding-left: 40px;
}

.legal__marker {
  flex: 0 0 40px;
  font-family: var(--ff-slab);
  font-weight: 500;
  font-size: 20px;
  /* Figma は 2.22 だが本文（1.8）と 1 行目のベースラインがずれるため揃える */
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.legal__list--indent .legal__marker {
  flex-basis: 48px;
}

.legal--privacy .legal__marker {
  flex-basis: 34px;
  font-weight: 700;
}

.legal ul.legal__list li::before {
  content: "・";
  flex: 0 0 20px;
  font-size: 20px;
  line-height: 1.8;
}

.legal__body {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.legal__body > b,
.legal__body > span {
  display: block;
}

.legal__body > * + * {
  margin-top: 4px;
}

.legal__note {
  font-size: 16px;
  line-height: 1.6;
}

/* 定義リスト（Figma: list） */
.spec-list {
  /* margin: 0 にすると .page-head > * の中央寄せ（margin-inline: auto）が消える */
  margin-block: 0;
  padding-top: clamp(56px, 6.25vw, 120px);
}

.spec-list__row {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding-block: 56px 80px;
  border-top: 1px solid var(--c-line-light);
}

.spec-list__row:last-child {
  padding-bottom: 0;
}

.spec-list__label {
  flex-shrink: 0;
  width: 240px;
  padding-left: 2px;
  font-family: var(--ff-slab);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

.spec-list__value {
  margin: 0;
  display: grid;
  gap: 12px;
  flex: 1 0 0;
  min-width: 0;
  color: var(--c-ink);
}

.spec-list__en {
  font-family: var(--ff-slab);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.08em;
}

.spec-list__ja {
  font-size: clamp(12px, 0.73vw, 14px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

/* パンくず（Figma: breadcrumb 1920×88） */
.breadcrumb {
  display: flex;
  align-items: center;
  height: 88px;
  padding: 32px var(--px-inquiry);
  background-color: var(--c-ink);
  color: var(--c-white);
}

.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-slab);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.breadcrumb__arrow {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-bottom: 2px;
  background-color: currentColor;
  -webkit-mask: url("../img/ps_icon_arrow_right.svg") no-repeat center / 11.7px
    6.6px;
  mask: url("../img/ps_icon_arrow_right.svg") no-repeat center / 11.7px 6.6px;
  transform: rotate(90deg);
}

.breadcrumb__current {
  opacity: 0.64;
}

/* --- フォーム（Figma: inquiry_top / inquiry_error）---------------------- */

/* 和文を line-height 1 で組むとインクがボックスより上に出る。
   ボックス中央で揃える要素（必須バッジ・チェックボックス）はその分引き上げる。 */
.form {
  /* ボックス中央で揃える要素（チェックボックス）用 */
  --ink-shift: calc(var(--fs-lead) * -0.128);
  /* インラインで載る要素（必須バッジ）用 */
  --badge-shift: calc(var(--fs-lead) * -0.371 + 2.49px);
}

.form__field + .form__field {
  padding-top: 80px;
}

/* 見出しが折り返したとき、バッジが最終行の直後に続くようにインラインで組む */
.form__heading {
  display: block;
}

.form__label {
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}

.form__required {
  display: inline-block;
  margin-left: 12px;
  /* インラインなのでバッジ内テキストのベースラインで載る。
     見出しのインク中心に合わせるための補正（実測から一次式で近似）。 */
  transform: translateY(var(--badge-shift, 0));
  padding: 6px 12px;
  border-radius: 2px;
  background-color: var(--c-ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--c-on-dark);
}

.form__control {
  padding-top: 24px;
}

.form__input {
  display: block;
  width: 100%;
  padding: 40px 40px 42px;
  border: 1px solid var(--c-border-input);
  border-radius: 8px;
  background-color: var(--c-white);
  font-family: inherit;
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.form__input::placeholder {
  color: var(--c-placeholder);
  opacity: 1;
}

/* Figma: inquiry_input（10968:20455）は 塗り #fcfcfc / 枠 #2d323a */
.form__input:hover,
.form__input:focus {
  border-color: var(--c-border-input-active);
  background-color: var(--c-bg-sub);
}

.form__input:focus {
  outline: none;
}

textarea.form__input {
  min-height: 312px;
  line-height: 1.6;
  resize: vertical;
}

/* セレクトは Figma の px_icon_arrow_bottom を背景に置く */
/* Figma の input_text は高さ 114px 固定（文字は上下中央）。
   textarea は別途 312px を持つので、1 行の入力欄だけに当てる。 */
input.form__input,
select.form__input {
  height: clamp(76px, 5.94vw, 114px);
  padding-block: 0;
}

select.form__input {
  appearance: none;
  background-image: url("../img/ps_icon_arrow_bottom.svg");
  background-repeat: no-repeat;
  background-position: right 40px center;
  background-size: 20px 10px;
  padding-right: 96px;
  cursor: pointer;
}

.form__error {
  padding-top: 24px;
  font-size: clamp(12px, 0.73vw, 14px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--c-border-input);
}

.form__error[hidden] {
  display: none;
}

/* 同意チェック */
.form__privacy {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 80px;
}

.form__checkbox {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin: 0;
  transform: translateY(var(--ink-shift, 0));
  border: 2px solid var(--c-ink);
  border-radius: 2px;
  appearance: none;
  background-color: var(--c-white);
  cursor: pointer;
}

.form__checkbox:checked {
  background-color: var(--c-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5l3.5 3.5L13 5' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  /* レ点は下側に余白が出るので 2px 引き上げる */
  background-position: center calc(50% - 2px);
  background-size: 16px;
}

.form__privacy label {
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  cursor: pointer;
}

.form__note {
  padding-top: 24px;
  font-size: clamp(12px, 0.73vw, 14px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--c-border-input);
}

.form__note a {
  color: var(--c-accent);
}

/* 送信エラーなど、項目に紐づかない通知 */
.form__message {
  margin-top: 48px;
  padding: 24px 32px;
  border: 1px solid var(--c-border-input);
  border-radius: 8px;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

.form__message[hidden] {
  display: none;
}

.form__cta {
  padding-top: 120px;
}

/* Send / Top ボタン。Figma は英字 1 行のみで pt-4 */
/* Send / Top は内容幅（Figma: btn_medium 331px）。
   .btn--dark の display:flex + width:100% を打ち消す。 */
/* Figma の btn_medium（Send / Top）。.btn--dark の全幅・大きめ余白を打ち消す */
.btn--single {
  display: inline-flex;
  width: auto;
  gap: 16px;
  padding: 24px 120px 28px 88px;
}

/* Figma の btn_medium はシンボル 40px（.btn--dark の 52px ではない） */
.btn--single .btn__symbol {
  width: 40px;
  height: 40px;
}

.btn--single .btn__text {
  gap: 0;
  padding-top: 4px;
}

.btn--single .btn__label {
  font-size: clamp(18px, 1.25vw, 24px);
  letter-spacing: 0.04em;
}

/* 未入力のうちは opacity 48%（Figma の初期状態） */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.48;
  cursor: not-allowed;
}

/* 完了画面 */
/* --- 404（Figma: 404_error 11018:16614） -------------------------------- */

.error {
  padding-top: 120px;
}

.error__lead {
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

.error__text {
  padding-top: 16px;
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

.error__cta {
  padding-top: 200px;
}

/* --- 確認画面（Figma: inquiry_confirm 10968:22931） --------------------- */

.form__confirm {
  padding-top: 120px;
}

.form__confirm-lead {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

/* 読み上げのための tabindex="-1" なので、フォーカス枠は出さない */
.form__confirm-lead:focus,
.form__done h2:focus {
  outline: none;
}

.form__confirm-list {
  margin: 0;
  padding-top: 120px;
}

.form__confirm-row + .form__confirm-row {
  padding-top: 64px;
}

.form__confirm-row dt {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}

.form__confirm-row dd {
  margin: 0;
  padding-top: 16px;
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

/* お問い合わせの内容だけ複数行になる */
.form__confirm-row--message dd {
  line-height: 1.6;
  white-space: pre-wrap;
}

.form__done {
  padding-top: 120px;
}

.form__done h2 {
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

.form__done p {
  padding-top: 8px;
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}

/* 見出し直後だけ広い（Figma: pt-48） */
.form__done h2 + p {
  padding-top: 48px;
}

/* .form__done p のほうが詳細度が高いので、CTA は明示的に戻す */
.form__done .form__cta {
  padding-top: 120px;
}

/* ==========================================================================
   7. Responsive
   SP は Figma に sp_top（390px）が別デザインとして存在する。ここでは PC
   デザインの縮退のみを扱う。
   ========================================================================== */

@media (max-width: 1280px) {
  .fv__content {
    padding: clamp(32px, 5vw, 72px) clamp(24px, 6vw, 80px);
  }

  .about {
    padding: clamp(56px, 10vw, 140px) clamp(24px, 6vw, 96px)
      clamp(56px, 9vw, 128px) clamp(24px, 7vw, 120px);
  }

  .about__inner {
    gap: clamp(32px, 8vw, 120px);
  }

  .btn {
    padding: 24px clamp(32px, 8vw, 160px) 28px clamp(32px, 7vw, 128px);
  }

  .btn--dark {
    padding: clamp(24px, 3vw, 40px) clamp(24px, 6vw, 120px)
      clamp(28px, 3.4vw, 44px) clamp(24px, 5vw, 88px);
  }
}

@media (max-width: 1024px) {
  .about__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .about__figure {
    width: 100%;
    max-width: 688px;
    margin-inline: auto;
  }

  .feature--split {
    flex-direction: column;
  }

  .feature--split .feature__figure {
    width: 100%;
    max-width: 560px;
    padding-top: 32px;
  }

  .case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   SP（Figma: sp_top 390×5131 / node 10968:23887）
   PC の縮退ではなく、SP 用フレームの実値をそのまま当てる。
   端末幅は 320〜430px を想定するため、可変値ではなく固定 px で指定する。
   ========================================================================== */

@media (max-width: 900px) {
  :root {
    --header-h: 80px;
    --header-h-scrolled: 76px;
    --pt-section: 48px;
    --pb-section: 64px;
    --px-section: 32px;
    --px-fv: 16px;
    --px-inquiry: 16px;
  }

  /* --- ヘッダー（header_sp 390×80）------------------------------------- */
  /* 並びは ハンバーガー / ロゴ / INQUIRY。DOM 順と違うので order で入れ替える。 */
  .site-header {
    justify-content: space-between;
    padding: 12px 32px;
  }

  .site-header[data-scrolled="true"] {
    padding: 10px 32px 16px;
  }

  .site-nav {
    display: none;
  }

  .site-nav--right {
    display: flex;
    flex: 1 0 0;
    order: 3;
    justify-content: flex-end;
    padding-bottom: 0;
  }

  /* SP は INQUIRY のみ */
  .site-nav--right > a:not(.site-nav__strong),
  .site-nav--right > .site-nav__sep {
    display: none;
  }

  .site-nav__strong {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .nav-toggle {
    display: block;
    order: 1;
    flex: 1 0 0;
    width: 24px;
    height: 24px;
    margin-left: 0;
  }

  .site-header__logo {
    order: 2;
    height: 56px;
    padding: 0;
    justify-content: center;
  }

  .logo {
    width: 56px;
  }

  .site-header[data-scrolled="true"] .logo {
    width: 44px;
  }

  /* --- FV（section_fv 390×1233）---------------------------------------- */
  .fv {
    padding-top: 96px;
    /* Figma: FV コンテンツ下端 605 → カード上端 629 */
    padding-bottom: 24px;
  }

  /* SP は暗部の下端とカード下端が一致する（Figma: どちらも 1233） */
  .fv-stack::after {
    height: 0;
  }

  .fv__content {
    padding: 32px 32px 40px;
    border-radius: 8px;
  }

  .fv__eyebrow {
    font-size: 10px;
    line-height: 1.48;
    letter-spacing: 0.08em;
  }

  .fv__title {
    margin-top: 16px;
    font-size: 48px;
    line-height: 1.04;
    letter-spacing: 0.06em;
  }

  .fv__text {
    gap: 10px;
    margin-top: 24px;
    line-height: 1.48;
  }

  .fv__lead {
    max-width: none;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .fv__sub {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .fv__cta {
    padding-block: 32px 24px;
  }

  .fv__note {
    font-size: 10px;
    line-height: 1.48;
    letter-spacing: 0.04em;
  }

  /* --- ボタン（SP は全幅・角丸 4）-------------------------------------- */
  .btn {
    display: flex;
    width: 100%;
    gap: 16px;
    padding: 20px 64px 24px 48px;
    border-radius: 4px;
  }

  .btn--dark {
    padding: 20px 64px 24px 48px;
  }

  .btn--dark .btn__symbol {
    width: 40px;
    height: 40px;
  }

  .btn--dark .btn__label {
    font-size: 18px;
  }

  .btn--dark .btn__note {
    font-size: 10px;
  }

  /* --- About（card > inner）-------------------------------------------- */
  .about {
    margin-inline: 16px;
    padding: 28px 32px;
    border-radius: 8px 8px 0 0;
  }

  .about__inner {
    flex-direction: column;
    gap: 12px;
  }

  .about__eyebrow {
    font-size: 10px;
    line-height: 1.28;
    letter-spacing: 0.04em;
  }

  .about__title {
    padding-block: 8px 4px;
    font-size: 24px;
    letter-spacing: 0.04em;
  }

  .about__reading {
    font-size: 10px;
    line-height: 1.28;
    letter-spacing: 0.04em;
  }

  .about__body {
    gap: 12px;
    padding-top: 16px;
    font-size: 10px;
    line-height: 1.48;
    letter-spacing: 0.04em;
  }

  .about__figure {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  /* --- 見出し ----------------------------------------------------------- */
  .heading {
    gap: 8px;
  }

  .heading__eyebrow {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .heading__title {
    font-size: 24px;
    line-height: 1.28;
    letter-spacing: 0.04em;
  }

  .rail {
    display: none;
  }

  /* --- Features --------------------------------------------------------- */
  .features {
    margin-top: 0;
    --pt-section: 48px;
  }

  .feature {
    padding-top: 40px;
  }

  .feature__label {
    gap: 4px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .feature__label img {
    width: 12px;
    height: 12px;
  }

  .feature__title {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.28;
    letter-spacing: 0.06em;
  }

  .feature__text {
    padding-top: 16px;
    font-size: 12px;
    line-height: 1.48;
    letter-spacing: 0.06em;
  }

  .feature__figure {
    padding-top: 24px;
  }

  .feature--split {
    flex-direction: column;
    gap: 24px;
  }

  .feature--split .feature__figure {
    width: 100%;
    max-width: none;
    padding-top: 0;
  }

  /* --- Comparison ------------------------------------------------------- */
  .compare-scroll {
    padding-top: 48px;
    /* セクションの左余白ぶん外へ出して、画面端までスクロールできるようにする */
    margin-right: -32px;
    padding-right: 32px;
  }

  .compare {
    min-width: 556px;
    table-layout: auto;
  }

  .compare__col-label {
    width: 76px;
  }

  .compare thead th {
    padding: 0 4px 16px;
    font-size: 12px;
    line-height: 1.28;
    letter-spacing: 0.08em;
  }

  .compare tbody th {
    width: 76px;
    padding: 16px 12px 16px 0;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.04em;
  }

  .compare td {
    width: 160px;
    min-width: 160px;
    padding: 16px 16px 20px;
    font-size: 10px;
    line-height: 1.48;
    letter-spacing: 0.04em;
  }

  .compare__mark {
    width: 24px;
    height: 24px;
    margin-top: 0;
  }

  .compare__mark + p {
    margin-top: 8px;
  }

  .compare__level {
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0.02em;
  }

  /* --- Case study ------------------------------------------------------- */
  .case-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 48px;
  }

  .case-card,
  .case-card__link {
    gap: 8px;
    max-width: none;
  }

  .case-card__figure {
    aspect-ratio: 326 / 219.62;
  }

  .case-card__title {
    font-size: 10px;
    line-height: 1.48;
    letter-spacing: 0.04em;
  }

  /* --- Inquiry（section_inquiry_sp 390×365）----------------------------- */
  .inquiry {
    padding: 48px 16px;
    overflow: hidden;
    background-image: url("../img/ps_back_image02_sp.webp");
  }

  .inquiry__card {
    padding: 28px 32px 32px;
    border-radius: 8px;
  }

  .inquiry__title {
    font-size: 16px;
    line-height: 1.28;
    letter-spacing: 0.02em;
  }

  .inquiry__text {
    padding-block: 16px 24px;
    font-size: 10px;
    line-height: 1.48;
    letter-spacing: 0.06em;
  }

  /* --- Footer（footer_sp 390×140）-------------------------------------- */
  .site-footer {
    flex-direction: column-reverse;
    gap: 32px;
    padding: 40px 24px 48px;
    font-size: 10px;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
  }

  .site-footer__nav {
    gap: 20px;
  }

  .site-footer p {
    width: 100%;
  }

  /* --- 下層ページ（Figma: sp_company 10985:29810 ほか）------------------- */
  .page-head {
    padding: 120px 32px 80px;
  }

  .page-head__inner {
    gap: 8px;
  }

  .page-head__ja {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .page-head__en {
    font-size: 24px;
    line-height: 1.28;
  }

  /* --- 規約ページ（Figma: sp_privacy_policy 10985:31532 / sp_terms 10985:32160） */
  .legal__lead {
    padding-top: 40px;
    font-size: 12px;
  }

  .legal--privacy .legal__lead + * {
    margin-top: 64px;
  }

  .legal--terms .legal__lead + * {
    margin-top: 40px;
  }

  .legal h2 {
    margin-top: 40px;
    font-size: 20px;
  }

  .legal h3 {
    margin-top: 20px;
    font-size: 16px;
  }

  .legal--terms h3 {
    margin-top: 24px;
  }

  .legal h2.legal__sub {
    font-size: 16px;
  }

  .legal h3.legal__sub,
  .legal h4 {
    margin-top: 24px;
    font-size: 14px;
  }

  .legal p,
  .legal__body,
  .legal__marker {
    font-size: 12px;
  }

  .legal p {
    margin-top: 12px;
  }

  /* 見出しの直後だけ詰める */
  .legal :is(h2, h3, h4) + p {
    margin-top: 8px;
  }

  .legal__list,
  .legal__list li + li,
  .legal--privacy .legal__list li + li {
    margin-top: 12px;
  }

  .legal__list--indent {
    padding-left: 28px;
  }

  .legal__marker {
    flex-basis: 28px;
    line-height: 1.8;
  }

  .legal--privacy .legal__marker {
    flex-basis: 30px;
  }

  .legal__list--indent .legal__marker {
    flex-basis: 24px;
  }

  .legal ul.legal__list li::before {
    flex-basis: 16px;
    font-size: 12px;
  }

  .legal__note {
    font-size: 10px;
  }

  .spec-list {
    padding-top: 48px;
  }

  .spec-list__row {
    flex-direction: column;
    gap: 16px;
    padding-block: 24px 40px;
  }

  .spec-list__label {
    width: auto;
    font-size: 12px;
  }

  .spec-list__value {
    gap: 6px;
  }

  .spec-list__en {
    font-size: 16px;
  }

  .spec-list__ja {
    font-size: 14px;
    line-height: 1.28;
  }

  .breadcrumb {
    height: 64px;
    padding: 0 24px;
  }

  .breadcrumb__inner {
    gap: 8px;
  }

  /* --- フォーム（Figma: sp_inquiry_top 10985:33161）---------------------- */
  .form {
    /* ラベルが 12px 固定なので補正値も固定 */
    --ink-shift: -1.5px;
    --badge-shift: -2px;
    padding-top: 64px !important;
  }

  .form__field + .form__field {
    padding-top: 40px;
  }

  .form__required {
    margin-left: 10px;
  }

  .form__label {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .form__required {
    padding: 4px 8px;
  }

  .form__control {
    padding-top: 8px;
  }

  .form__input {
    padding: 0 24px;
    font-size: 14px;
  }

  input.form__input,
  select.form__input {
    height: 76px;
  }

  select.form__input {
    padding-right: 60px;
    background-position: right 24px center;
    background-size: 24px 12px;
  }

  textarea.form__input {
    height: 240px;
    min-height: 0;
    padding: 20px 24px 28px;
  }

  .form__error {
    padding-top: 12px;
    font-size: 12px;
  }

  .form__privacy {
    gap: 8px;
    padding-top: 40px;
  }

  .form__checkbox {
    width: 16px;
    height: 16px;
    border-width: 1px;
  }

  .form__privacy label {
    font-size: 12px;
  }

  .form__note {
    padding-top: 12px;
    font-size: 10px;
  }

    .form__message {
    margin-top: 32px;
    padding: 16px 20px;
    font-size: 12px;
  }

  .form__cta {
    padding-top: 32px;
  }

  /* 入力画面・確認画面の Send（Figma: btn_medium） */
  .btn--single {
    gap: 16px;
    padding: 24px 120px 28px 88px;
    border-radius: 4px;
  }

  .btn--single .btn__symbol {
    width: 32px;
    height: 32px;
  }

  .btn--single .btn__label {
    font-size: 20px;
  }

  /* --- 404（Figma: sp_404_error 11018:16870）----------------------------- */
  .error {
    padding-top: 64px;
  }

  .error__lead {
    font-size: 14px;
  }

  .error__text {
    padding-top: 8px;
    font-size: 12px;
  }

  .error__cta {
    padding-top: 96px;
  }

  /* --- 確認画面（Figma: sp_inquiry_confirm 10987:34289）------------------ */
  .form__confirm {
    padding-top: 64px;
  }

  .form__confirm-lead {
    font-size: 14px;
  }

  .form__confirm-list {
    padding-top: 64px;
  }

  .form__confirm-row + .form__confirm-row {
    padding-top: 40px;
  }

  .form__confirm-row dt {
    font-size: 12px;
  }

  .form__confirm-row dd {
    padding-top: 8px;
    font-size: 12px;
  }

  .form__confirm .form__cta {
    padding-top: 64px;
  }

  /* --- 完了（Figma: sp_inquiry_comp 10987:34729）------------------------- */
  .form__done {
    padding-top: 64px;
  }

  .form__done h2 {
    font-size: 14px;
  }

  .form__done p,
  .form__done h2 + p {
    padding-top: 24px;
    font-size: 12px;
  }

  .form__done .form__cta {
    padding-top: 64px;
  }
}

@media (max-width: 600px) {
  .def-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .def-list dd {
    padding-top: 0;
    border-top: 0;
  }

  .def-list > :nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .def-list dd:last-child {
    border-bottom: 1px solid var(--c-line-light);
  }
}


/* ==========================================================================
   セクションのフェードイン
   .js は head のインラインスクリプトが付ける。JS が無ければ初期状態を作らない
   ので、そのまま表示される。FV と .page-head は最初の描画で出ていてほしいので
   対象外にしている。
   ========================================================================== */

.js main section:not(.fv):not(.page-head) {
  opacity: 0;
  transform: translateY(16px);
}

/* トランジションは表示側にだけ持たせる（隠れる方向には動かさない）。
   :not() を揃えないと初期状態のほうが詳細度で勝ってしまう。 */
.js main section:not(.fv):not(.page-head)[data-revealed] {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.45s ease-out,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .js main section:not(.fv):not(.page-head) {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
