/* =========================================================
   CRAFIT HOUSE 平屋 資料請求LP
   トンマナ：crafithouse.pages.dev（本サイト）準拠
   ========================================================= */

:root {
  /* color（本サイトの変数を踏襲） */
  --bg: #faf9f6;
  --paper: #f6f4ef;
  --sand: #eae8e2;
  --line: #dedbd3;
  --ink: #263138;
  --ink-2: #1c252b;
  --text: #263138;
  --muted: #59636a;
  --white: #fff;

  /* CTA（カタログ表紙の赤に寄せた、ボタン専用色） */
  --cta: #c9402f;
  --cta-hover: #ad3426;
  /* カタログ表紙 */
  --cover-red: #d8403f;
  --cover-blue: #3dbce3;            /* 指定のブランドブルー（大きな数字・装飾） */
  --cover-blue-deep: #1786b3;
  --gold: #b08a4e;                  /* 広告バナーの「厳選6棟」の金色 */

  /* font */
  /* いろいろ平屋相談会／森田モデルハウスLPと同じ組み合わせ */
  --ff-mincho: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --ff-sans: "Josefin Sans", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --hand: #3dbce3;                  /* 文字の青もブランドブルーに統一（2026-10-07 ユーザー指定） */
  --ff-en: "Josefin Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --ff-cover: "Marcellus", "Times New Roman", serif; /* カタログ表紙の欧文 */

  /* layout */
  --gutter: 20px;
  --maxw: 1120px;
  --header-h: 60px;
  --r-sm: 4px;   /* 画像 */
  --r-md: 8px;   /* カード */
  --shadow-card: 0 2px 4px rgba(38,49,56,.06), 0 20px 40px -28px rgba(38,49,56,.38);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: clamp(32px, 5vw, 64px); --header-h: 76px; }
}

/* 見出しの一部を色で強調（手書きフォントは不使用） */
.accent-hand { color: var(--hand); }

/* 数字の強調（Josefin Sans） */
.num {
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 1.45em;
  line-height: 1;
  letter-spacing: 0;
  margin: 0 .06em;
  color: var(--cover-blue);
  vertical-align: -.04em;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, summary { touch-action: manipulation; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
strong { font-weight: 700; }

.u-sp { display: inline; }
.u-pc { display: none; }
@media (min-width: 768px) {
  .u-sp { display: none; }
  .u-pc { display: inline; }
}

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }

.section { padding: 60px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }

/* ---------- section head ---------- */
.sec-head { margin-bottom: 28px; }
.sec-head__en {
  font-family: var(--ff-en);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.sec-head__en::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-head__ja {
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(21px, 6.1vw, 25px);
  line-height: 1.7;
  letter-spacing: .08em;
}
.sec-head__lead { margin-top: 20px; color: var(--muted); font-size: 14px; }

@media (min-width: 768px) {
  .sec-head { margin-bottom: 48px; }
  .sec-head__ja { font-size: 34px; }
  .sec-head__lead { font-size: 15px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 28px;
  font-family: var(--ff-sans); font-weight: 700; font-size: 16px; letter-spacing: .08em;
  text-decoration: none; border-radius: 999px;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), color .25s;
}
.btn__arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); flex-shrink: 0; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary {
  width: 100%;
  background: var(--cta); color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(201, 64, 47, .7);
}
.btn--primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(1px); }
.btn--xl { min-height: 64px; padding: 0 20px; font-size: 16px; }
@media (min-width: 768px) { .btn--xl { min-height: 72px; font-size: 18px; } }
.btn--ghost {
  min-height: 52px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
}
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible { outline: 3px solid var(--cover-blue); outline-offset: 3px; }

@media (min-width: 768px) {
  .btn--primary { width: auto; min-width: 380px; }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.header__logo { display: block; width: 150px; color: var(--white); transition: color .35s; }
.header__logo-svg { display: block; width: 100%; height: auto; }
.header__cta {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
  border-radius: 999px; background: var(--cta); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none;
  opacity: 0; pointer-events: none; transition: opacity .35s, background-color .25s;
}
.header__cta:hover { background: var(--cta-hover); }
.header.is-scrolled { background: rgba(250, 249, 246, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .header__logo { color: var(--text); }
.header__cta { display: none; }
.header.is-scrolled .header__cta { opacity: 1; pointer-events: auto; }

@media (min-width: 768px) {
  .header__logo { width: 196px; }
  .header__logo { color: var(--text); }
  .header__cta { display: inline-flex; height: 44px; padding: 0 24px; font-size: 14px; }
}

/* カタログ画像（実物の切り抜きPNG→WebP）に自然な影 */
/* 影は画像に焼き込み済み（Safariでfilterの影が黒い矩形になる不具合を避けるため） */

/* =========================================================
   ① HERO（広告バナー画像をそのまま使用）
   ========================================================= */
.hero { background: var(--bg); color: var(--text); position: relative; }
.hero__visual { position: relative; }
.hero__banner { display: block; width: 100%; height: auto; }

.hero__body { position: relative; z-index: 1; padding: 18px var(--gutter) 36px; text-align: center; }
.hero__eyebrow {
  display: inline-block; padding: 3px 14px; margin-bottom: 4px;
  border: 1px solid var(--text); border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em;
}
.hero__eyebrow b { font-weight: 700; color: var(--hand); }
.hero__title { font-family: var(--ff-mincho); font-weight: 600; font-size: clamp(30px, 8.6vw, 36px); line-height: 1.5; letter-spacing: .06em; }
.hero__title-b3 { display: none; }
.fv-banner3 .hero__title-b3 { display: inline; }
.fv-banner3 .hero__title-b5 { display: none; }
.hero__body .btn { margin-top: 10px; }
.cta-lead { margin-top: 18px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--text); }
.cta-lead b { color: var(--cta); }
/* banner3（6棟グリッド）用：オファーの一行を出し、下の6棟グリッドは重複するので隠す */
.hero__offer-line { display: none; }
.fv-banner3 .hero__offer-line {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px;
  margin-top: 14px; font-size: 13px; font-weight: 500; color: #3b464d;
}
.fv-banner3 .hero__offer-line strong { font-family: var(--ff-mincho); font-weight: 600; font-size: 18px; letter-spacing: .06em; color: var(--cta); }
.fv-banner3 .hero__offer-line .num { color: var(--cta); }
.fv-banner3 .six { display: none; }
.hero__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.hero__notes li { display: inline-flex; align-items: center; gap: 6px; }
.hero__notes li::before { content: ""; width: 10px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-2px); }

/* スマホ：見出しと6棟の帯は画像に入っているので、画面上は隠す（文字はHTMLに残す） */
@media (max-width: 767px) {
  .hero__title, .hero__offer {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  /* 画像内にロゴがあるので、上部ではヘッダーのロゴを隠す */
  .header:not(.is-scrolled) .header__logo { opacity: 0; pointer-events: none; }
}

@media (min-width: 768px) {
  .hero {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
    gap: clamp(32px, 5vw, 80px); min-height: 100svh;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto;
  }
  /* 画面の高さに収まるよう、縦長バナー（4:5）の幅を高さから決める */
  .hero__visual { order: 2; justify-self: start; width: min(100%, 540px, calc((100svh - var(--header-h) - 96px) * .8)); }
  .hero__banner { box-shadow: 0 2px 4px rgba(38,49,56,.08), 0 28px 50px -24px rgba(38,49,56,.4); }
  .hero__body { order: 1; padding: 0; text-align: left; justify-self: end; max-width: 520px; }
  .hero__eyebrow { margin-bottom: 22px; }
  .hero__title { font-size: clamp(34px, 3.4vw, 48px); }
  .hero__body .btn { margin-top: 32px; width: 100%; min-width: 0; }
  .hero__notes { justify-content: flex-start; }
  .fv-banner3 .hero__offer-line { justify-content: flex-start; margin-top: 22px; font-size: 14px; }
  .fv-banner3 .hero__offer-line strong { font-size: 22px; }
}

/* 厳選6棟（広告バナーと同じ金色で強調） */
.hero__offer { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__offer-main { font-family: var(--ff-mincho); font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: .06em; color: var(--gold); white-space: nowrap; }
.hero__offer-main b { font-family: var(--ff-en); font-weight: 600; font-size: 1.3em; margin: 0 .04em; vertical-align: -.06em; }
.hero__offer-sub { font-family: var(--ff-mincho); font-weight: 600; font-size: 17px; line-height: 1.4; letter-spacing: .06em; }
.hero__offer-sub span { display: block; margin-top: 2px; font-family: var(--ff-sans); font-weight: 500; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
@media (min-width: 768px) {
  .hero__offer { margin-top: 26px; padding: 16px 0; gap: 22px; }
  .hero__offer-main { font-size: 40px; }
  .hero__offer-sub { font-size: 20px; }
  .hero__offer-sub span { font-size: 13px; }
}

/* ---------- 掲載6棟 ---------- */
.six { background: var(--bg); padding: 4px 0 0; }
.six + .get { padding-top: 56px; }
.six__label { display: flex; align-items: baseline; gap: 2px; margin-bottom: 12px; font-family: var(--ff-mincho); font-weight: 600; font-size: 15px; letter-spacing: .08em; }
.six__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.six__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
@media (min-width: 768px) {
  .six { padding: 16px 0 0; }
  .six + .get { padding-top: 88px; }
  .six__grid { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .six__label { font-size: 17px; }
}

/* =========================================================
   ② WHAT YOU GET
   ========================================================= */
.get { background: var(--bg); }
.get__list { display: grid; gap: 20px; }
.get-card {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0 20px; align-items: start;
  padding: 26px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
}
/* カタログ紹介カード用のCSSモック（実物の表紙に合わせた色・図形） */
.get-card__visual { container-type: inline-size; position: relative; padding-top: 6px; }
.book {
  position: relative; width: 100%; aspect-ratio: 210 / 297;
  border-radius: 2px 5px 5px 2px; overflow: hidden; transform: rotate(-3deg);
  box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 18px 34px -12px rgba(0,0,0,.45);
}
.book::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 80%); }
.book--works { background: var(--cover-red); color: var(--white); }
.book--works::before,
.book--guide::before { content: ""; position: absolute; inset: 0; clip-path: polygon(100% 0, 50% 49%, 100% 100%); }
.book--works::before { background: var(--cover-blue); }
.book--guide { background: linear-gradient(165deg, #55c6e8 0%, var(--cover-blue) 55%, #2aa9d2 100%); color: var(--white); }
.book--guide::before { background: linear-gradient(180deg, rgba(10,90,130,.16), rgba(10,90,130,.24)); clip-path: polygon(100% 4%, 46% 49%, 100% 96%); }
.book__brand {
  position: absolute; left: 0; right: 0; bottom: 9%; z-index: 1;
  text-align: center; font-family: var(--ff-cover); font-weight: 400;
  font-size: clamp(8px, 2.9cqi, 14px); letter-spacing: .04em; line-height: 1.5;
}
.book__brand small { display: block; margin-top: .45em; font-size: .56em; letter-spacing: .06em; }
.book--works .book__brand small { letter-spacing: .22em; text-transform: uppercase; }
.get-card__num { display: flex; align-items: baseline; gap: 10px; font-family: var(--ff-en); font-weight: 300; font-size: 26px; line-height: 1; color: var(--cta); }
.get-card__num span { font-size: 12px; letter-spacing: .26em; color: var(--muted); }
.get-card__title { margin-top: 12px; font-family: var(--ff-mincho); font-weight: 600; font-size: 18px; line-height: 1.55; letter-spacing: .04em; }
.get-card__title small { display: block; margin-top: 2px; font-family: var(--ff-en); font-weight: 300; font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.get-card__points { margin-top: 14px; display: grid; gap: 6px; font-size: 14px; line-height: 1.7; }
.get-card__points li { position: relative; padding-left: 16px; }
.get-card__points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--cover-blue); }
.get-card:first-child .get-card__points li::before { background: var(--cover-red); }

@media (max-width: 359px) {
  .get-card { grid-template-columns: 76px minmax(0, 1fr); gap: 0 14px; padding: 22px 16px; }
}
@media (max-width: 767px) {
  .get-card__body { display: contents; }
  .get-card__visual { grid-row: 1 / span 2; }
  .get-card__num { grid-column: 2; align-self: end; margin-top: 4px; }
  .get-card__title { grid-column: 2; align-self: start; }
  .get-card__note { grid-column: 2; }
  .get-card__points { grid-column: 1 / -1; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
}
@media (min-width: 768px) {
  .get__list { gap: 28px; }
  .get-card { grid-template-columns: 150px 1fr; gap: 32px; padding: 40px 36px; }
  .get-card__title { font-size: 20px; }
  .get-card__points { font-size: 15px; }
}

@media (min-width: 1024px) {
  .get__list { grid-template-columns: 1fr 1fr; }
}
.get-card__num { flex-wrap: wrap; row-gap: 4px; }
.get-card__body { min-width: 0; }

/* =========================================================
   ③ WORKS
   ========================================================= */
.works { background: var(--paper); }
.works__list { display: grid; gap: 40px; }
.work__img { margin: 0 calc(var(--gutter) * -1); overflow: hidden; }
.work__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work__img img { transform: scale(1.03); }
.work__body { position: relative; margin: -32px 0 0 14px; padding: 24px 20px 22px; background: var(--white); box-shadow: var(--shadow-card); border-radius: var(--r-md); }
.work__num { font-family: var(--ff-en); font-weight: 300; font-size: 30px; line-height: 1; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.work__num span { font-size: 12px; letter-spacing: .28em; color: var(--muted); }
.work__title { margin-top: 10px; font-family: var(--ff-mincho); font-weight: 500; font-size: 20px; line-height: 1.6; letter-spacing: .05em; }
.work__text { margin-top: 10px; font-size: 14px; color: #3b464d; }

.work__meta { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.work__meta b { flex-basis: 100%; font-family: var(--ff-mincho); font-weight: 600; font-size: 15px; color: var(--text); letter-spacing: .08em; }
.work__meta span + span::before { content: "／"; margin-right: 12px; color: var(--line); }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.work__tags li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .04em; color: #3b464d; background: var(--bg); }
.concept { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--ff-mincho); font-weight: 600; font-size: 14px; line-height: 1.7; letter-spacing: .04em; }
.concept__label { display: block; margin: 0 0 4px; font-family: var(--ff-sans); font-weight: 500; font-size: 12px; letter-spacing: .12em; color: var(--muted); }

@media (min-width: 768px) {
  .works__list { gap: 96px; }
  .work { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
  .work__img { grid-column: 1 / 9; grid-row: 1; margin: 0; }
  .work__body { grid-column: 8 / 13; grid-row: 1; margin: 0; padding: 44px 40px 40px; z-index: 1; }
  .work--rev .work__img { grid-column: 5 / 13; }
  .work--rev .work__body { grid-column: 1 / 6; }
  .work__num { font-size: 40px; }
  .work__title { font-size: 24px; }
}

/* スマホでは短く：チームの補足文はPCのみ表示（暮らしのポイント・大判の写真はスマホでも表示） */
@media (max-width: 767px) {
  .team__text { display: none; }
}

/* 設計チーム */
.team { margin-top: 56px; text-align: center; }
.team__label { font-family: var(--ff-en); font-weight: 300; font-size: 12px; letter-spacing: .28em; color: var(--muted); }
.team__title { margin-top: 8px; font-family: var(--ff-mincho); font-weight: 600; font-size: 18px; letter-spacing: .08em; }
.team__groups { display: grid; gap: 18px; margin-top: 20px; }
.team__role { font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--muted); }
.team__list { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }
.team__list li { display: grid; justify-items: center; gap: 8px; }
.team__list img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--white); }
.team__list span { font-family: var(--ff-mincho); font-weight: 600; font-size: 13px; letter-spacing: .1em; }
.team__text { margin-top: 20px; font-size: 13px; color: var(--muted); }
@media (min-width: 768px) {
  .team { margin-top: 96px; }
  .team__title { font-size: 22px; }
  .team__groups { grid-template-columns: auto auto; justify-content: center; gap: 64px; }
  .team__list { gap: 32px; }
  .team__list img { width: 104px; height: 104px; }
  .team__text { font-size: 14px; }
}

/* 残り3棟 */
.more { margin-top: 48px; position: relative; text-align: center; }
.more__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.more__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transform: scale(1.08); } /* ぼかしは画像に焼き込み済み */
.more__thumbs li { overflow: hidden; border-radius: var(--r-sm); }
.more__body { position: relative; margin: -56px 8px 0; padding: 30px 22px 28px; background: var(--white); box-shadow: var(--shadow-card); border-radius: var(--r-md); }
.more__en { font-family: var(--ff-en); font-weight: 300; font-size: 12px; letter-spacing: .28em; color: var(--muted); }
.more__title { margin: 10px 0 22px; font-family: var(--ff-mincho); font-weight: 500; font-size: 18px; line-height: 1.7; }
@media (min-width: 768px) {
  .more { margin-top: 88px; }
  .more__thumbs img { aspect-ratio: 16 / 9; }
  .more__body { width: min(620px, 90%); margin: -96px auto 0; padding: 44px 40px 40px; }
  .more__title { font-size: 22px; }
}

/* =========================================================
   ④ PERFORMANCE（Technical book のチラ見せ）
   ========================================================= */
.perf { background: var(--bg); }

/* 数値3つ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 20px 2px 18px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats__label { font-size: 12px; letter-spacing: .04em; color: var(--muted); line-height: 1.4; }
.stats__num { font-family: var(--ff-en); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: 0; color: var(--cover-blue); }
.stats__num small { font-family: var(--ff-sans); font-size: .38em; font-weight: 700; margin: 0 .1em; }
.stats__note { font-size: 12px; font-weight: 700; line-height: 1.4; }
.stats__note sup { font-size: .7em; font-weight: 400; }
.stats__foot { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--muted); }

/* 4項目＋冊子の中面 */
.perf__body { display: grid; gap: 32px; margin-top: 32px; }
.perf__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.perf-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.perf-item__num { font-family: var(--ff-en); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--hand); }
.perf-item__title { font-family: var(--ff-mincho); font-weight: 600; font-size: 18px; line-height: 1.4; letter-spacing: .06em; }
.perf-item__title span { display: block; margin-top: 4px; font-family: var(--ff-sans); font-weight: 500; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.perf-item__text { margin-top: 4px; font-size: 14px; line-height: 1.85; color: #3b464d; }
.perf-item__text strong { color: var(--text); background: linear-gradient(transparent 62%, rgba(176,138,78,.25) 62%); }

.perf__book { justify-self: center; width: min(62%, 240px); }
.perf__book img { width: 100%; height: auto; transform: rotate(-2deg); box-shadow: 0 2px 4px rgba(38,49,56,.12), 0 22px 40px -18px rgba(38,49,56,.45); }
.perf__book figcaption { margin-top: 14px; text-align: center; font-size: 12px; letter-spacing: .1em; color: var(--muted); }

.perf__cta { margin-top: 36px; text-align: center; }
.perf__cta-text { margin-bottom: 18px; font-family: var(--ff-mincho); font-weight: 600; font-size: 18px; line-height: 1.7; letter-spacing: .06em; }

@media (min-width: 768px) {
  .stats li { padding: 30px 8px 26px; gap: 8px; }
  .stats__label { font-size: 13px; }
  .stats__num { font-size: 52px; }
  .stats__note { font-size: 14px; }
  .stats__foot { font-size: 12px; text-align: center; }
  .perf__body { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: center; margin-top: 64px; }
  .perf__book { width: 100%; }
  .perf-item { grid-template-columns: 56px minmax(0, 1fr); padding: 28px 0; }
  .perf-item__num { font-size: 28px; }
  .perf-item__title { font-size: 22px; }
  .perf-item__text { font-size: 15px; }
  .perf__cta { margin-top: 56px; }
  .perf__cta-text { font-size: 24px; }
}

/* 設計チームに移した考え方の一文 */
.team__lead { margin-top: 6px; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
@media (min-width: 768px) { .team__lead { font-size: 16px; } }

/* =========================================================
   ⑤ OWNER'S VOICE
   ========================================================= */
.owner { background: var(--white); }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__en { justify-content: center; }
.sec-head--center .sec-head__en::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.owner__body { display: grid; gap: 32px; justify-items: center; }
.owner__video { position: relative; width: min(72%, 280px); margin: 0; }
.owner__video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--sand); border-radius: var(--r-md); box-shadow: 0 2px 4px rgba(38,49,56,.08), 0 24px 44px -24px rgba(38,49,56,.45); }
.owner__play {
  position: absolute; inset: 0 0 auto 0; aspect-ratio: 9 / 16; width: 100%;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  border: 0; border-radius: var(--r-md); cursor: pointer; color: var(--white);
  background: linear-gradient(180deg, rgba(20,27,31,0) 40%, rgba(20,27,31,.45) 100%);
  font: inherit;
}
.owner__play-icon { position: relative; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); transition: transform .25s var(--ease); }
.owner__play-icon::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid var(--cta); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.owner__play:hover .owner__play-icon { transform: scale(1.06); }
.owner__play-text { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.owner__play:focus-visible { outline: 3px solid var(--cover-blue); outline-offset: 3px; }
.owner.is-playing .owner__play { display: none; }
.owner__caption { margin-top: 12px; text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.owner__quotes { display: grid; gap: 18px; width: 100%; max-width: 520px; }
.owner__quote { position: relative; margin: 0; padding: 18px 20px 18px 22px; background: var(--paper); border-left: 3px solid var(--cover-blue); border-radius: 0 var(--r-md) var(--r-md) 0; }
.owner__quote p { font-family: var(--ff-mincho); font-weight: 600; font-size: 18px; line-height: 1.7; letter-spacing: .04em; }
.owner__name { text-align: right; font-size: 13px; color: var(--muted); letter-spacing: .06em; }

@media (min-width: 768px) {
  .owner__body { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: center; justify-items: start; max-width: 920px; margin: 0 auto; }
  .owner__video { width: 100%; }
  .owner__quote { padding: 24px 28px; }
  .owner__quote p { font-size: 22px; }
}

/* =========================================================
   ⑥ APPLY（白ベースで軽く）
   ========================================================= */
.apply { background: var(--paper); }
.apply__pre { margin-bottom: 10px; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.apply__card {
  position: relative; background: var(--white); border-radius: var(--r-md);
  padding: 36px 16px 32px; text-align: center;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
}
.apply__head .sec-head__en { justify-content: center; }
.apply__head .sec-head__en::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.apply__title { font-family: var(--ff-mincho); font-weight: 500; font-size: clamp(19px, 5.4vw, 22px); line-height: 1.6; letter-spacing: .05em; }
.apply__visual { width: min(84%, 320px); margin: 16px auto 0; }
.apply__books { width: 100%; height: auto; }

.assure { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assure li { padding: 16px 2px; font-family: var(--ff-mincho); font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; white-space: nowrap; }
.assure li + li { border-left: 1px solid var(--line); }
.assure small { display: block; white-space: normal; margin-top: 6px; font-family: var(--ff-sans); font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; line-height: 1.5; }

.flow { margin: 28px 0 24px; text-align: left; }
.flow__label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; margin-bottom: 14px; }
.flow__steps { display: grid; gap: 0; position: relative; }
.flow__steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding-bottom: 18px; }
.flow__steps li:last-child { padding-bottom: 0; }
.flow__steps li:not(:last-child)::before { content: ""; position: absolute; left: 17.5px; top: 36px; bottom: 0; width: 1px; background: var(--line); }
.flow__steps b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-content: center; font-family: var(--ff-en); font-weight: 400; font-size: 16px; color: var(--white); background: var(--ink); }
.flow__steps li:last-child b { background: var(--cta); }
.flow__steps span { padding-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.flow__steps small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.6; }
.flow__steps small br { display: none; }
.apply__note { margin-top: 14px; font-size: 12px; color: var(--muted); }

@media (min-width: 768px) {
  .apply__card { max-width: 920px; margin: 0 auto; padding: 72px 64px 56px; }
  .apply__title { font-size: 30px; }
  .apply__visual { width: 450px; margin-top: 28px; }
  .assure { max-width: 480px; margin: 36px auto 0; }
  .assure li { font-size: 18px; padding: 22px 8px; }
  .assure small { font-size: 12px; }
  .flow { max-width: 680px; margin: 48px auto 40px; }
  .flow__steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .flow__steps li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 0; }
  .flow__steps li:not(:last-child)::before { left: calc(50% + 30px); right: calc(-50% + 14px); top: 18px; bottom: auto; width: auto; height: 1px; }
  .flow__steps span { padding-top: 0; }
  .flow__steps small br { display: inline; }
}

/* =========================================================
   ⑧ ACCESS
   ========================================================= */
.access { background: var(--white); }
.access__inner { display: grid; gap: 24px; }
.access__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.access__title { font-family: var(--ff-mincho); font-weight: 500; font-size: 22px; letter-spacing: .06em; }
.access__info { margin-top: 22px; border-top: 1px solid var(--line); }
.access__info div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.access__info dt { color: var(--muted); font-size: 13px; padding-top: 1px; }
.access__info a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-family: var(--ff-en); font-size: 17px; letter-spacing: .08em; }
.access__visit { margin: 20px 0 14px; font-size: 14px; color: var(--muted); }
.access .btn--ghost { width: 100%; }
@media (min-width: 768px) {
  .access__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .access__title { font-size: 28px; }
  .access .btn--ghost { width: auto; padding: 0 40px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--sand); color: var(--muted); text-align: center; padding: 36px var(--gutter) calc(120px + env(safe-area-inset-bottom)); }
.footer img { width: 140px; margin: 0 auto 16px; opacity: .9; }
.footer small { font-family: var(--ff-en); font-size: 12px; letter-spacing: .16em; }
@media (min-width: 768px) { .footer { padding-bottom: 48px; } }

/* =========================================================
   FIXED CTA（スマホ）
   ========================================================= */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 249, 246, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.fixed-cta .btn { min-height: 52px; font-size: 15px; }
.fixed-cta__note { margin-bottom: 6px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--text); }
.fixed-cta__note b { color: var(--cta); }
.fixed-cta.is-show { transform: none; }
@media (min-width: 768px) { .fixed-cta { display: none; } }

/* =========================================================
   REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}


/* =========================================================
   PC（768px〜）の仕上げ：揃え・改行・読みやすい幅
   ========================================================= */
.nw { white-space: nowrap; }
@media (min-width: 768px) {
  /* 改行：1〜2文字だけ落ちる行を防ぐ（対応ブラウザのみ。非対応でも崩れない） */
  main p, main li, main dd, main summary { text-wrap: pretty; }
  main h1, main h2, main h3, .sec-head__lead, .get-card__points li, .concept, .perf-item__text, .owner__quote p { word-break: auto-phrase; }
  main h2, main h3 { text-wrap: balance; }

  /* 見出しは中央揃えで統一 */
  .sec-head { text-align: center; }
  .sec-head__en { justify-content: center; }
  .sec-head__en::after { content: ""; width: 28px; height: 1px; background: currentColor; }
  .sec-head__lead { max-width: 640px; margin-left: auto; margin-right: auto; }

  /* FV見出し */
  .hero__title { font-size: clamp(32px, 2.9vw, 42px); line-height: 1.55; }
  .hero__body { max-width: 540px; }

  /* 性能：注記を読みやすい幅に */
  .stats__foot { max-width: 640px; margin-left: auto; margin-right: auto; }
  .perf-item__text { max-width: 36em; }

  /* カードの箇条書きが窮屈にならないよう、本文側を広げる */
  .get-card { grid-template-columns: 132px minmax(0, 1fr); gap: 28px; }
  .get-card__points { font-size: 14px; }

  /* FAQ見出しの下線と余白を中央揃えに合わせる */
  .concept__label { display: block; margin: 0 0 4px; }
}

/* 店舗：スマホでは写真を控えめに、地図ボタンを並べる */
.access__btns { display: grid; gap: 10px; }
@media (max-width: 767px) {
  .access__img img { aspect-ratio: 21 / 9; border-radius: var(--r-sm); }
  .access__visit { margin: 16px 0 12px; }
}
@media (min-width: 768px) {
  .access__btns { grid-template-columns: auto auto; justify-content: start; }
  .hero .cta-lead { text-align: left; }  /* PCのFVだけ左揃え。申込セクションは中央のまま */
}

.get-card__note { margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }

/* 申込：移動先フォームの事前案内（WordPress側のフォームは変更できないため） */
.apply__form-tip { margin: 0 0 4px; padding: 14px 16px; background: var(--paper); border-radius: var(--r-sm); text-align: left; font-size: 13px; line-height: 1.75; color: #3b464d; }
.apply__form-tip b { display: block; margin-bottom: 2px; color: var(--text); }
@media (min-width: 768px) { .apply__form-tip { max-width: 680px; margin: 0 auto 8px; font-size: 14px; } }
