@charset "UTF-8";
/* =========================================================
   建設業まるなげWEB — style.css
   デザイン正本：Figma ox0pQp5KgbmwfcJuAacSkN / 22:71「1200w light」
   数値は Figma の座標（px）から換算しています。
   ========================================================= */

:root {
  --c-text: #322e21;
  --c-navy: #022e42;
  --c-base: #edf0ed;
  --c-cta-bg: #434643;
  --c-accent: #00afaf;
  --c-accent-dark: rgba(0, 130, 130, 0.7);
  --c-light: #f1f5fd;
  --c-cream: #f2eee4;
  --c-dot: #d1c8a6;

  --ff-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --ff-en: "Marcellus SC", "Noto Sans JP", serif;
  --ff-num: "Inter", "Noto Sans JP", sans-serif;

  --col-w: 440px;               /* 中央コンテンツ幅 */
  --col-shift: 40px;            /* 中央からの右オフセット */
  --col-left: max(385px, calc(50% - (var(--col-w) / 2) + var(--col-shift)));
  --nav-gap: 54px;              /* 左ナビと中央コンテンツの余白 */
  --nav-w: 311px;
  --view-h: 100vh;
}
@supports (height: 100dvh) { :root { --view-h: 100dvh; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

body {
  font-family: var(--ff-jp);
  font-weight: 400;
  color: var(--c-text);
  background: #021118;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: none;
}

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

/* 見出しの横95%スケール（Figma の scale-x-95） */
.sx { display: block; transform: scaleX(0.95); transform-origin: left center; white-space: nowrap; }
.heading--center .sx, .fv__line, .emotion__copy .sx { transform-origin: center; }

/* =========================================================
   PC レイアウト：固定背景 / 固定左ナビ / 中央独立スクロール
   ========================================================= */
html, body { height: 100%; overflow: hidden; }

.bg-pc {
  position: fixed; inset: 0; z-index: 0;
  background: #1a1e20 url("../images/bg-pc.webp") center / cover no-repeat;
}

.content-view {
  position: fixed; top: 0; left: var(--col-left); z-index: 2;
  width: var(--col-w); height: var(--view-h);
  overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;            /* Figma 同様スクロールバーを表示しない（幅440pxを保持） */
  -webkit-overflow-scrolling: touch;
}
.content-view::-webkit-scrollbar { display: none; }
.content-view:focus, [tabindex="-1"]:focus { outline: none; }

.column { position: relative; width: 100%; padding-top: 35px; /* Figma：fv は y=35 から */ }

/* ---------- 左ナビ（Figma: X=55 / Y=35 / W=311） ---------- */
.side-nav {
  position: fixed; z-index: 3;
  top: 35px; left: calc(var(--col-left) - var(--nav-gap) - var(--nav-w));
  width: var(--nav-w); height: 260px;
  color: var(--c-light);
}
.side-nav__logo { position: absolute; left: 1.3px; top: 0; width: 310px; }
.side-nav__logo img { width: 310px; height: auto; }
.side-nav__menu::before {   /* 区切り線（Figma 2005:52 Line 2） */
  content: ""; position: absolute; left: 0; top: 106.29px; width: 310px; height: 150.21px;
  background: url("../images/nav-line.svg") no-repeat 0 0 / 310px 150.21px;
  pointer-events: none;
}
.side-nav__item { position: absolute; left: 0.5px; }
.side-nav__item a {
  display: flex; align-items: center; gap: 0; height: 38.4px; white-space: nowrap;
  transition: opacity .3s ease;
}
.side-nav__item a:hover { opacity: .7; }
.side-nav__item a:focus-visible { outline: 1px solid var(--c-light); outline-offset: 4px; }
.side-nav__item .en { display: inline-block; font-family: var(--ff-en); line-height: 38.4px; letter-spacing: .5px; } /* 幅は Figma の「[」の X 座標から算出 */
.side-nav__item .jp { display: inline-flex; align-items: center; gap: 0 3.6px; font-size: 12px; line-height: 19.2px; letter-spacing: .5px; transform: translateY(1px); }
.side-nav__item .br { font-size: 14px; line-height: 22.4px; }
.side-nav__item--styles   { top: 70.13px; }
.side-nav__item--styles .en { font-size: 19.1px; width: 64.03px; }
.side-nav__item--features { top: 119.03px; }
.side-nav__item--features .en { font-size: 18.8px; width: 83.55px; }
.side-nav__item--plan     { top: 166.94px; color: var(--c-cream); }
.side-nav__item--plan .en { font-size: 20.4px; width: 52.47px; }
.side-nav__item--flow     { top: 217.36px; color: var(--c-cream); }
.side-nav__item--flow .en { font-size: 20.1px; width: 151.91px; }

/* ---------- 右下コピー（Figma 2259:149） ---------- */
.side-copy {
  position: fixed; z-index: 1; right: 25px; bottom: 30.5px; width: 275px;
  color: var(--c-light); letter-spacing: .5px; pointer-events: none;
}
.side-copy__en { display: block; margin-left: 12px; font-family: var(--ff-en); font-size: 24px; line-height: 51.2px; white-space: nowrap; }
.side-copy__jp { display: block; margin-top: 1.6px; font-size: 14px; font-weight: 500; line-height: 25.6px; white-space: nowrap; }

/* =========================================================
   共通パーツ
   ========================================================= */
.photo { position: relative; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.label { font-family: var(--ff-en); font-size: 14px; line-height: 21px; letter-spacing: .5px; color: #fff; }
.label--dark { color: var(--c-text); }
.label--center { text-align: center; }

.heading { font-weight: 500; font-size: 25.2px; line-height: 40.32px; letter-spacing: .7875px; color: var(--c-text); }
.heading--light { color: #fff; }
.heading--center { text-align: center; }

.text { font-size: 16px; line-height: 28px; letter-spacing: .5px; }
.text--light { color: #fff; }

/* 背景写真レイヤー */
.fv__bg, .emotion__bg, .styles__bg, .plan__bg, .faq__bg, .site-footer__bg, .flow__band {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.emotion__bg img, .styles__bg img, .plan__bg img, .faq__bg img, .site-footer__bg img, .flow__band img {
  width: 100%; height: 100%; object-fit: cover;
}
.emotion__bg::after, .styles__bg::after, .plan__bg::after, .faq__bg::after, .flow__band::after, .site-footer__bg::after {
  content: ""; position: absolute; inset: 0;
}

/* CTA ボタン（Figma 22:241 / 2163:77） */
.btn-cta {
  position: relative; display: flex; align-items: center;
  width: 305px; height: 74px; margin: 0 auto;
  border-radius: 45px; background: var(--c-accent);
  box-shadow: 0 0 12px rgba(0, 0, 0, .4);
  color: var(--c-light);
  transition: filter .3s ease, transform .3s ease;
}
.btn-cta:hover { filter: brightness(1.06); }
.btn-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-cta__label {
  position: absolute; left: 146.5px; top: 50%; transform: translate(-50%, -50%);
  font-size: 16px; font-weight: 500; line-height: 25px; letter-spacing: .5px; white-space: nowrap;
}
.btn-cta__icon {
  position: absolute; left: 246px; top: 12px; width: 49px; height: 49px; border-radius: 50%;
  background: var(--c-accent-dark); display: grid; place-items: center;
  transition: transform .3s ease;
}
.btn-cta:hover .btn-cta__icon { transform: translateX(3px); }

/* =========================================================
   FV（Figma 22:189）440 × 750
   ========================================================= */
.fv { position: relative; height: 750px; background: #fff; color: #fff; overflow: hidden; }
.fv__bg img { position: absolute; left: 0; top: .05%; width: 100%; height: 95.71%; object-fit: cover; }
.fv__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 15, 10, 0) 37.019%, #021118 70%),
    linear-gradient(180deg, #888d87 0%, rgba(21, 48, 34, 0) 25.608%);
}
.fv__inner { position: relative; padding-top: 63px; text-align: center; }
.fv__brand { font-weight: 700; }
.fv__logo { width: 238px; height: 22px; margin: 0 auto; transform: translateX(2.5px); }
.fv__sub { display: block; margin-top: 1.9px; font-size: 18px; line-height: 51.2px; letter-spacing: .5px; white-space: nowrap; }
.fv__catch { margin-top: 229.4px; color: var(--c-cream); font-weight: 700; letter-spacing: .7875px; }
.fv__line { display: block; line-height: 44.1px; white-space: nowrap; transform: scaleX(.95); }
.fv__line--1 { font-size: 29.4px; transform: translateX(1px) scaleX(.95); }
.fv__line--2 { font-size: 28px; margin-top: 2.9px; transform: translateX(1px) scaleX(.95); }
.fv__line .punc { font-weight: 500; font-size: 17px; line-height: 1; }
.fv__line--2 .punc { font-size: 16.8px; }
.fv__lead { margin-top: 31.4px; font-size: 15px; line-height: 27px; letter-spacing: .5px; }
.btn-cta--fv { margin-top: 36.5px; transform: translateX(-1px); }
.btn-cta--fv .btn-cta__label { font-size: 18px; }

/* =========================================================
   ABOUT（Figma 22:258）
   ========================================================= */
.about { background: var(--c-base); padding: 139px 0 85.5px; }
.about__img1 {
  width: 376px; height: 544.05px; margin: 0 auto; transform: translateX(.5px);
  box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}
.about__img1::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(2, 46, 66, .04), rgba(2, 46, 66, .04)), rgba(0, 0, 0, .14); }
.heading--about { margin-top: 60.79px; padding-left: 31.5px; font-size: 25px; }
.heading--about .sx + .sx { margin-top: 6.18px; }
.about__text1 { margin-top: 37.34px; padding: 0 31px 0 32px; }
.about__img2 { width: 376px; height: 300px; margin: 23.5px auto 0; }
.about__img2::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.about__text2 { margin-top: 25px; padding: 0 31.5px 0 31.5px; }

/* =========================================================
   CTA（Figma 2163:73 / 2039:86 / 2039:72）440 × 210
   ========================================================= */
.cta { background: var(--c-cta-bg); padding: 24px 22.5px 23px; }
.cta__box { height: 163px; padding-top: 29.7px; border-radius: 5px; background: var(--c-base); }
.cta__text { font-size: 16px; font-weight: 700; line-height: 25.6px; letter-spacing: .5px; text-align: center; color: var(--c-text); }
.cta .btn-cta { margin-top: 7px; transform: translateX(-3px); }

/* =========================================================
   立派なサイトはいらない（Figma 22:280）＋ STYLES（2217:72）
   写真セクションは上端で停止（position: sticky）し、
   STYLES が前面から重なって覆い隠す。
   ========================================================= */
.emotion-stack { position: relative; }
.emotion {
  position: sticky; top: 0; z-index: 0;
  height: 660px; overflow: clip; color: var(--c-cream);
}
.emotion__bg { height: 660.58px; }
.emotion__bg img, .flow__band img { object-fit: fill; } /* Figma 表示：元写真全体を枠いっぱいに表示（要確認事項参照） */
/* フッター：高さが画面の高さに追従するため、fill だと縦に伸びる → 縦横比を保って枠を覆う（はみ出しは中央基準でトリミング） */
.site-footer__bg img { object-fit: cover; object-position: 50% 50%; }
.emotion__bg::after { background: rgba(0, 0, 0, .34); }
.emotion__copy {
  position: absolute; left: 0; right: 0; top: 293.57px;
  font-size: 28px; font-weight: 500; line-height: 44.1px; letter-spacing: .7875px; text-align: center;
}
.emotion__copy .sx { transform: translateX(.5px) scaleX(.95); }

.styles { position: relative; z-index: 1; height: 1220px; background: #2a2a2a; }
.styles__bg::after { background: rgba(0, 0, 0, .3); }
.styles__inner { position: relative; padding-top: 69.05px; }
.styles .label, .styles .heading { padding-left: 37px; }
.styles .heading { margin-top: 21.79px; }
.styles .heading .sx + .sx { margin-top: 1.18px; }
.styles__text { margin-top: 30.34px; padding: 0 32px 0 37.5px; }
.styles__img { width: 376px; height: 665px; margin: 19px auto 0; overflow: hidden; }
.styles__img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   FEATURES（Figma 22:484）
   ========================================================= */
.features { position: relative; z-index: 1; background: var(--c-base); padding: 70.33px 0 93px; }
.features > .label { padding-left: 31px; }
.heading--features { margin-top: 16.34px; padding-left: 31px; font-size: 25px; }
.heading--features .sx + .sx { margin-top: 5.85px; }
.heading--features .sx--tight { letter-spacing: .525px; }
.features__lead { margin-top: 37.17px; padding: 0 34px 0 31px; }

.feature__head { display: flex; align-items: center; height: 32px; padding: 0 0 0 31px; color: var(--c-text); }
.feature__label { flex: 0 0 57px; font-family: var(--ff-en); font-size: 10px; line-height: 19.2px; letter-spacing: .5px; transform: translateY(-.7px); }
.feature__rule { flex: 0 0 290px; height: 1px; background: var(--c-text); }
.feature__num { margin-left: 10.7px; font-family: var(--ff-en); font-size: 16.1px; line-height: 32px; letter-spacing: .5px; }
.feature--01 .feature__head { margin-top: 53.17px; }
.feature--02 .feature__head { margin-top: 50px; }
.feature--02 .feature__num { margin-left: 5.5px; transform: translateY(-.7px); }
.feature__title { margin-top: 8.5px; padding-left: 31px; font-size: 21px; font-weight: 500; line-height: 33.6px; letter-spacing: .525px; }
.feature--01 .feature__title .sx + .sx { margin-top: 6.4px; }
.feature--02 .feature__title { margin-top: 16px; }
.feature--02 .feature__title .sx + .sx { margin-top: 5.9px; }
.feature__text { margin-top: 30.73px; padding: 0 35px 0 31px; }
.feature--02 .feature__text { margin-top: 29.9px; padding-right: 33px; }
.feature__img { width: 376px; height: 480px; margin: 16.67px 0 0 31px; }
.feature--02 .feature__img { margin-top: 22px; }
.feature__img::after { content: ""; position: absolute; inset: 0; background: rgba(29, 46, 56, .23); }

/* =========================================================
   PLAN（Figma 22:526）440 × 780 ＋ カルーセル
   ========================================================= */
.plan { position: relative; z-index: 1; padding-top: 82px; padding-bottom: 44px; overflow: hidden; color: #fff; } /* 料金注記の追加に合わせ、高さは内容に追従（Figma 780 ＋ 注記分） */
.plan__bg::after { background: rgba(0, 0, 0, .6); }
.plan__vline { position: absolute; left: 50%; top: 0; width: .59px; height: 68px; background: var(--c-cream); transform: translateX(-50%); }
.plan > .label, .plan > .heading, .plan__lead { position: relative; }
.plan > .label { transform: translateX(-.24px); }
.plan > .heading { margin-top: 13.5px; }
.plan__lead { margin-top: 27.41px; font-size: 16px; font-weight: 500; line-height: 28px; letter-spacing: .5px; text-align: center; white-space: nowrap; transform: translateX(-.5px); }

.carousel { position: relative; height: 344px; margin: 71.95px 32px 0; overflow: hidden; }
.carousel__track {
  display: flex; gap: 0 15px; height: 275px;
  padding: 0 0 0 30.5px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding: 0 30.5px;
  scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.carousel__track::after { content: ""; flex: 0 0 15.5px; } /* 末尾の余白：gap 15px + 15.5px = 30.5px（Safari の padding-end 非対応対策） */

.plan-card {
  position: relative; flex: 0 0 315px; height: 275px; /* Figma 2026-11-07：幅315・間隔15 */
  scroll-snap-align: center; scroll-snap-stop: always;
  background: #fff; color: var(--c-text);
}
.plan-card__title { position: absolute; left: 0; right: 0; top: 35px; font-size: 16px; font-weight: 700; line-height: 25.6px; letter-spacing: .5px; text-align: center; }
.plan-card__price { position: absolute; inset: 0; pointer-events: none; }
.plan-card__tag {
  position: absolute; left: 78px; top: 76px; width: 38px; height: 19px; background: #d9d9d9;
  font-size: 12px; font-weight: 700; line-height: 19px; letter-spacing: .5px; text-align: center;
}
.plan-card__num { position: absolute; left: 122px; top: 71px; font-family: var(--ff-num); font-size: 30px; font-weight: 600; line-height: 25.6px; letter-spacing: -.5px; }
.plan-card__yen { position: absolute; left: 221px; top: 75px; font-size: 14px; font-weight: 700; line-height: 25.6px; letter-spacing: .5px; }
.plan-card__desc { position: absolute; left: 0; right: 0; top: 115px; font-size: 14px; font-weight: 500; line-height: 24px; letter-spacing: .5px; color: #000; text-align: center; white-space: nowrap; }
.plan-card::after { content: ""; position: absolute; left: 20px; top: 155px; width: 275px; border-top: .5px solid rgba(0, 0, 0, .22); }
.plan-card__common { position: absolute; left: 0; right: 0; top: 175px; font-size: 14px; font-weight: 500; line-height: 24px; letter-spacing: .5px; text-align: center; white-space: nowrap; }
.plan-card__common strong { font-weight: 700; }
.plan-card__badge { position: absolute; left: 247px; top: 11px; width: 63px; height: 63px; border-radius: 50%; background: var(--c-accent); color: #fff; font-weight: 700; line-height: 25.6px; letter-spacing: .5px; }
.plan-card__badge > span { position: absolute; top: 0; white-space: nowrap; transform: translateX(-50%); }
.plan-card__badge-label { left: 31.5px; top: 4px !important; font-size: 14px; }
.plan-card__badge-zero  { left: 29px;   top: 26px !important; font-size: 29px; }
.plan-card__badge-yen   { left: 43.5px; top: 30px !important; font-size: 13px; }
/* 作り替えプラン（Figma 2217:6） */
.plan-card--3 .plan-card__title { transform: translateX(-.5px); }
.plan-card--3 .plan-card__tag { left: 63.5px; top: 80px; width: 58px; }
.plan-card--3 .plan-card__num { left: 128.5px; top: 74px; }
.plan-card--3 .plan-card__yen { left: 233.5px; top: 78.66px; }
.plan-card--3 .plan-card__tilde { position: absolute; left: 0; top: -11.66px; }

.carousel__arrow {
  position: absolute; top: 107.39px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  transition: opacity .3s ease, transform .2s ease;
}
.carousel__arrow--prev { left: 11px; }
.carousel__arrow--next { right: 11px; }
.carousel__arrow:hover:not(:disabled) { transform: scale(1.06); }
.carousel__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.carousel__arrow:disabled { opacity: .3; cursor: default; } /* ループなしのため端では無効化（Figma の配置は維持） */
.carousel__dots { position: absolute; left: 50%; top: 286.16px; display: flex; gap: 0 6px; transform: translateX(-50%); } /* 表示枠の中央 */
.carousel__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .4); box-shadow: inset 0 0 0 1px var(--c-dot); position: relative; }
.carousel__dot::before { content: ""; position: absolute; inset: -9px; } /* タップ領域の拡大 */
.carousel__dot[aria-current="true"] { background: var(--c-dot); box-shadow: none; }
.carousel__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 料金の注記（税別・作り替えプランの月額）：カードと同じ幅で、カルーセルの下に配置 */
.plan__notes { position: relative; width: min(315px, 100% - 48px); margin: -14px auto 0; font-size: 13px; font-weight: 500; line-height: 22px; letter-spacing: .5px; }
.plan__notes p { padding-left: 1em; text-indent: -1em; } /* ※ のぶら下げ */
.plan__notes p + p { margin-top: 4px; }

/* =========================================================
   HOW WE WORK / FLOW（Figma 22:627）
   ========================================================= */
.flow { position: relative; z-index: 1; background: var(--c-base); padding: 70px 0 66.8px; }
.flow__label { font-size: 11.8px; }
.flow__title { margin-top: 3.38px; }
.flow__title .sx { transform: translateX(-.5px) scaleX(.95); }
.flow__lead { margin-top: 29.98px; padding: 0 26px 0 34px; font-weight: 500; }
.flow__band { position: relative; inset: auto; height: 430px; margin-top: 47.5px; }
.flow__band::after { background: rgba(0, 0, 0, .2); }


.steps { position: relative; margin: .7px 31.5px 0 32.5px; height: 1422px; border-left: 1px solid var(--c-navy); }
.step { position: relative; }
.step::before { /* 矢印（Figma 2039:11 / 2217:64 / 2039:15） */
  content: ""; position: absolute; left: -2px; width: 34.8px; height: 5.77px;
  background: url("../images/step-line4.svg") no-repeat 0 0 / 100% 100%;
}
.step--3::before { background-image: url("../images/step-line3.svg"); }
.step__title { display: block; padding-left: 47.5px; font-size: 16px; font-weight: 700; line-height: 25.6px; letter-spacing: .5px; color: var(--c-text); }
.step__no, .step__sub { display: block; white-space: nowrap; }
.step__no { padding-left: .5px; }
.step--1 .step__title { color: var(--c-navy); }
.step__img { width: 343px; height: 228.66px; margin-left: 32px; overflow: hidden; }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__text { margin-left: 32px; font-size: 16px; font-weight: 500; line-height: 28px; letter-spacing: .5px; color: var(--c-text); }

.step--1 { padding-top: 56.99px; }
.step--1::before { top: 68.91px; }
.step--1 .step__sub { margin-top: 2.4px; }
.step--1 .step__img { margin-top: 11px; }
.step--1 .step__text { margin-top: 13.75px; width: 330px; }
.step--2 { margin-top: 54px; }
.step--2::before { top: 9.91px; }
.step--2 .step__sub { margin-top: 3.4px; }
.step--2 .step__img { margin-top: 15.62px; }
.step--2 .step__text { margin-top: 12.18px; width: 338.72px; }
.step--3 { margin-top: 41.94px; }
.step--3::before { top: 9.91px; }
.step--3 .step__sub { margin-top: -.6px; padding-left: 1px; }
.step--3 .step__img { margin-top: 18.43px; }
.step--3 .step__text { margin-top: 17.11px; margin-left: 32.5px; width: 338px; }

/* =========================================================
   FAQ（Figma 22:716）440 × 870
   ========================================================= */
.faq { position: relative; z-index: 1; height: 870px; padding-top: 68.83px; color: #fff; }
.faq__title { position: relative; padding-left: 31px; }
.faq__title .sx + .sx { margin-top: 6.19px; }
.faq__list { position: relative; margin-top: 53.53px; padding: 0 39px 0 31px; letter-spacing: .75px; } /* Figma 幅368.7px。ブラウザの禁則処理差で改行がずれるため +1.3px */
.faq__item dt { font-size: 16px; font-weight: 700; line-height: 32px; }
.faq__item dd { font-size: 14px; line-height: 24px; }
.faq__item:nth-child(1) dd { margin-top: 14.1px; }
.faq__item:nth-child(2) { margin-top: 50.9px; }
.faq__item:nth-child(2) dd { margin-top: 9px; }
.faq__item:nth-child(3) { margin-top: 51px; }
.faq__item:nth-child(3) dd { margin-top: 14px; }
.faq__bg::after { background: rgba(0, 0, 0, .38); }

/* =========================================================
   FOOTER（Figma 2163:72）画面全体に吸着
   ========================================================= */
.site-footer {
  position: relative; z-index: 1;
  height: var(--view-h); min-height: 560px;
  color: #fff; text-align: center;
  scroll-snap-align: end;
}

.site-footer__bg::after { background: linear-gradient(180deg, rgba(33, 58, 77, .82) 1.442%, rgba(15, 35, 68, .18) 46.635%, #37566f 100%); }
.site-footer__logo { position: absolute; left: 50%; top: calc(50% - 14px); width: 311px; height: auto; transform: translateX(-50%) translateX(.5px); }
.site-footer__en, .site-footer__jp, .site-footer__copy { position: absolute; left: 0; right: 0; white-space: nowrap; transform: translateX(-3px); }
.site-footer__en { bottom: 138.9px; font-family: var(--ff-en); font-size: 26.6px; line-height: 51.2px; letter-spacing: .5px; }
.site-footer__jp { bottom: 114.2px; font-size: 14px; font-weight: 500; line-height: 25.6px; letter-spacing: .5px; }
.site-footer__copy { bottom: 59.4px; font-size: 12px; line-height: 19.2px; letter-spacing: -.1px; }
.site-footer__copy small { font-size: inherit; }

/* =========================================================
   レスポンシブ
   ========================================================= */
/* 右下コピーと中央コンテンツが近づく幅では、右下コピーを非表示 */
@media (max-width: 1159px) {
  .side-copy { display: none; }
}
/* 左ナビが入らない幅：左ナビを隠し、中央コンテンツを中央寄せ */
@media (max-width: 859px) {
  :root { --col-left: calc(50% - (var(--col-w) / 2)); }
  .side-nav { display: none; }
}

/* スマートフォン（〜767px）：PC背景・左ナビを非表示、全幅・通常スクロール */
@media (max-width: 767px) {
  html, body { height: auto; overflow: visible; }
  html { scroll-snap-type: y proximity; scroll-behavior: smooth; }
  body { overflow-x: clip; background: var(--c-base); }
  .bg-pc, .side-nav, .side-copy { display: none; }
  .content-view {
    position: static; width: 100%; height: auto;
    overflow: visible; scroll-snap-type: none; scroll-behavior: auto;
  }
  .column { padding-top: 0; overflow-x: clip; }

  .about__img1, .about__img2, .styles__img, .feature__img { width: calc(100% - 64px); }
  .about__img1 { height: auto; aspect-ratio: 376 / 544.05; }
  .about__img2 { height: auto; aspect-ratio: 376 / 300; }
  .styles { height: auto; padding-bottom: 88px; }
  .styles__img { height: auto; aspect-ratio: 376 / 665; }
  .feature__img { height: auto; aspect-ratio: 376 / 480; margin-left: 32px; }
  .feature__rule { flex: 1 1 auto; }
  .feature__head { padding-right: 33px; }
  .steps { height: auto; padding-bottom: 1px; margin-right: 24px; }
  .step__img { width: calc(100% - 32px); height: auto; aspect-ratio: 343 / 228.66; }
  .step__text { width: auto !important; margin-right: 0; }
  .sx, .fv__sub, .plan__lead, .step__no, .step__sub { white-space: normal; }
  .cta { padding-left: 16px; padding-right: 16px; }
  .cta .btn-cta, .btn-cta--fv { transform: none; }
  .btn-cta { width: min(305px, 100% - 24px); }
  .btn-cta__label { left: calc(50% - 6px); }
  .btn-cta__icon { left: auto; right: 10px; }
  .site-footer { height: 100svh; }
  /* 長い行（PLAN 導入文・FV リード）は文字サイズを変えず、文節の区切りで改行（末尾の数文字だけの行を防ぐ）。
     収まる幅では改行されないため、見た目は変わらない */
  .ph { display: inline-block; }

  /* PLAN カルーセル（SP）：表示枠を画面幅いっぱいにし、カードを中央に。
     矢印は PC と同じく「カードの左右端にまたがる」位置（画面端から最低4px）。 */
  .carousel {
    --card-w: 315px; --arrow: 38px;
    --side: calc((100cqw - var(--card-w)) / 2);
    container-type: inline-size; margin-left: 0; margin-right: 0;
  }
  .carousel__track { padding-left: var(--side); scroll-padding: 0 var(--side); }
  .carousel__track::after { flex-basis: max(0px, calc(var(--side) - 15px)); }
  .carousel__arrow--prev { left: max(4px, calc(var(--side) - var(--arrow) / 2)); }
  .carousel__arrow--next { right: max(4px, calc(var(--side) - var(--arrow) / 2)); }
}

/* 小型スマホ（〜359px）：カードを 88% に縮小して全文を表示、矢印 34px */
@media (max-width: 359px) {
  .carousel { --card-w: 277.2px; --arrow: 34px; }
  .plan-card { zoom: .88; }
  .carousel__arrow { top: 94.9px; width: 34px; height: 34px; }
  .carousel__arrow img { width: 34px; height: 34px; }
  .carousel__dots { top: 253px; }
  .carousel { height: 311px; } /* 縮小したカードに合わせ、ドット下の余白を他の幅と揃える */

  /* CTA ボタン：文字を矢印アイコン（右10px＋49px）の左側の領域で中央揃え */
  .btn-cta__label { left: calc((100% - 59px) / 2); }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .content-view, .carousel__track, html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
