@charset "UTF-8";
/* ============================================================
   pages/home.css — トップページだけで使う部品（body.p-home）
   共通部品（ボタン・見出し・料金プラン・FAQ・CTA・画面の絵・輪・イラストの円・事実の札・∨ など）は style.css 側
   2026-09-30 遊び心のある版（docs/playful_spec.md 4章「トップ」）
   ============================================================ */

/* ---------- ファーストビュー（背景に写真＋白い面。試作 _preview/fv-a を土台に） ----------
   SP・タブレット: 写真を上に敷き、文字の白い面を写真の下端に重ねる → 事実の札 → 画面の絵の台
   PC: 写真を FV 全面に敷き、左に「白い面＋事実の札」、右に画面の絵を写真の上に重ねる
   重なりの順: 写真(0) → 輪(1) → 白い面・札・画面の絵(2)。写真の上の面は単色（グラデーションは使わない）。写真は装飾なので alt="" */
.fv { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; overflow: clip; isolation: isolate; }
.fv__photo { position: relative; z-index: 0; overflow: hidden; background: var(--color-panel); height: clamp(210px, 62vw, 400px); }
.fv__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
/* 輪（装飾）: SP・タブレットは写真の右上からのぞかせる（文字の面より上＝写真の上だけに出る） */
.fv .fv__ring { --ring: 150px; z-index: 1; top: -62px; right: -54px; }
.fv__main { position: relative; z-index: 2; margin: -44px 10px 0; min-width: 0; }
/* 白い面は不透明（文字の後ろは常に白）。写真の白飛びした所で面の角が溶けないよう、カードと同じ細線で縁どる */
.fv__body {
  padding: 24px 18px 30px;
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius);
}
/* SP の白い面の内側は 100vw − 58px（左右の余白10・線1・内側18）。
   見出しの2行目（11字）が割れないよう、字の大きさを内側の幅から決める（320px でも2行） */
.fv__title {
  font-weight: 900; font-size: clamp(22px, calc((100vw - 64px) / 11.1), 44px); line-height: 1.38;
  margin: 18px 0 16px; letter-spacing: -0.005em;
}
.fv__title em { color: var(--color-main); }
.fv__lead { font-size: 16px; color: var(--color-muted); }
.fv__price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 14px; }
.fv__price b { font-size: 20px; }
.fv__price-tax { font-size: 13px; font-weight: 500; color: var(--color-muted); margin-left: -2px; }
/* 「月 6,000 円から（税抜）」は1行で 308px（数字58px のとき）。数字以外が約150px なので、
   内側の幅に収まるよう数字の大きさを決める（375px 以上は 58px のまま。360px で約55px） */
.fv__price-num {
  font-family: var(--font-en); font-weight: 800; font-size: clamp(40px, calc((100vw - 210px) / 2.75), 58px); line-height: 1;
  color: var(--color-main); letter-spacing: -0.02em;
}
/* 「月6,000円から」は4か月目からの月額。はじめの3か月（月29,800円）を、金額のすぐ下に必ず添える（景表法。2026-09-30） */
.fv__price-note { margin: -4px 0 14px; font-size: 13px; line-height: 1.7; color: var(--color-muted); }
.fv__facts { margin-bottom: 26px; font-size: 14px; font-weight: 500; }
/* SP: ボタン2つを1行に（375px 以上） */
.fv .btn-row { gap: 10px; }
.fv .btn-row .btn { padding-inline: 20px; }
/* 事実の札: 白い面のすぐ下に3つ */
.fv__proof { margin-top: 8px; }
/* 画面の絵の台（SP・タブレット）。PC とスマホの絵（.fv-devices）を中央に置く */
.fv__media { position: relative; z-index: 2; overflow: hidden; background: var(--color-panel); margin-top: 20px; padding: 22px 12px; display: flex; justify-content: center; }
/* 375px 未満: ボタンの左右を詰めて 360px でも1行に */
@media (max-width: 374px) {
  .fv .btn-row .btn { padding-inline: 16px; }
}
@media (min-width: 768px) {
  .fv__photo { height: 400px; }
  .fv .fv__ring { --ring: 220px; top: -86px; right: -70px; }
  .fv__main { margin: -80px var(--gutter) 0; }
  .fv__body { padding: 40px 44px 44px; }
  .fv .btn-row { gap: 12px; }
  .fv .btn-row .btn { padding-inline: 30px; }
  .fv__price-num { font-size: 68px; }
  .fv__proof { margin-top: 10px; }
  .fv__media { margin-top: 28px; padding: 34px var(--gutter); }
}
@media (min-width: 1024px) {
  /* 高さは画面の高さに合わせて 720〜780px（1440×900 で 750px＝帯の頭が最初の画面に入る） */
  .fv { grid-template-columns: auto minmax(0, 1fr); min-height: 720px; min-height: clamp(720px, calc(100svh - 150px), 780px); }
  .fv__photo { position: absolute; inset: 0; height: auto; }
  .fv__photo img { object-position: 50% 16%; }
  /* 輪: 白い面の左上の奥から、写真の上へのぞかせる（面に半分隠れる） */
  .fv .fv__ring { --ring: 300px; top: -96px; right: auto; left: calc(var(--frame-pad) - 150px); }
  .fv__main { align-self: center; width: clamp(480px, 46vw, 620px); margin: 40px 0 40px var(--frame-pad); }
  .fv__body { padding: 38px clamp(36px, 3.4vw, 50px) 42px; }
  .fv__title { font-size: clamp(32px, 3.4vw, 46px); margin-top: 16px; }
  .fv__price { margin: 18px 0 12px; }
  .fv__price-num { font-size: 76px; }
  .fv__facts { margin-bottom: 24px; }
  /* 台は使わない（機器の絵は下の「FV の機器の絵」で FV 基準に置く） */
  .fv__media { position: static; display: block; margin: 0; padding: 0; background: none; overflow: visible; }
}

/* ---------- FV の機器の絵（PC＝今日の予約、スマホ＝今月のお金。架空のデータ・装飾なので aria-hidden） ----------
   寸法はすべて em（1em＝組みの基準。PC 1440px で約 10px）。font-size だけを画面の幅で変えて、絵ごと拡大・縮小する。
   並べ方: PC を右上、スマホを左下の手前に重ねる（スマホは PC の左端 4em と、台の左にかかる）。
   画面の中の部品（札・ボタン・カード）の角は 2px。機器の外形（ふち・台）は実物に合わせて丸める */
.fv-devices {
  position: relative; flex: none; width: 48em; height: 43em;
  font-size: clamp(5.8px, calc((100vw - 24px) / 48), 9px);
  font-family: var(--font-body); color: #23262b; line-height: 1.45; letter-spacing: 0;
}
.fv-devices .icon { flex: none; }
.fv-devices .ui-tag { font-size: 0.85em; padding: 0.2em 0.55em; }

/* PC（ノート）: ふた＝黒いふち＋画面、その下に銀の台 */
.dev-pc { position: absolute; right: 0; top: 0; width: 40em; height: 24em; }
.dev-pc__lid {
  position: absolute; left: 2em; top: 0; width: 36em; height: 22.8em;
  padding: 1.1em 0.9em 0.9em; background: #23262b; border-radius: 1.1em 1.1em 0.25em 0.25em;
  box-shadow: 0 0.6em 1.8em rgba(35, 38, 43, 0.16);
}
.dev-pc__lid::before {
  content: ""; position: absolute; top: 0.38em; left: 50%; width: 0.36em; height: 0.36em;
  border-radius: 50%; background: #474b53; transform: translateX(-50%);
}
.dev-pc__screen {
  display: grid; grid-template-columns: 7em minmax(0, 1fr); height: 100%;
  background: #fff; border-radius: 0.15em; overflow: hidden;
}
.dev-pc__base {
  position: absolute; left: 0; bottom: 0; width: 40em; height: 1.2em;
  background: #d5d9de; border-radius: 0.15em 0.15em 1.2em 1.2em / 0.15em 0.15em 0.9em 0.9em;
  box-shadow: inset 0 0.12em 0 #eef0f2, inset 0 -0.18em 0 #b7bcc4, 0 0.5em 1.2em rgba(35, 38, 43, 0.2);
}
.dev-pc__base::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 6em; height: 0.42em;
  background: #bcc1c8; border-radius: 0 0 0.5em 0.5em; transform: translateX(-50%);
}
/* PC の画面: 左にメニュー、右に今日の予約の表 */
.pcs-side { display: flex; flex-direction: column; padding: 0.9em 0.55em; background: #f5f6f7; border-right: 1px solid #e3e5e8; }
.pcs-brand { margin: 0 0.35em 0.55em; font-family: var(--font-display); font-weight: 900; font-size: 1.1em; color: var(--color-main-text); letter-spacing: 0.04em; }
.pcs-nav { display: flex; align-items: center; gap: 0.45em; padding: 0.4em 0.5em; font-size: 0.95em; color: #7a808a; border-radius: 2px; }
.pcs-nav .icon { width: 1.25em; height: 1.25em; }
.pcs-nav.on { background: #fff; color: #23262b; font-weight: 700; box-shadow: inset 0.2em 0 0 #23262b; }
.pcs-main { display: flex; flex-direction: column; min-width: 0; padding: 1.1em 1.3em 0.9em; }
.pcs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.7em; }
.pcs-head b { font-size: 1.3em; margin-right: 0.4em; }
.pcs-head p span { font-size: 0.9em; color: #7a808a; }
.pcs-btn { padding: 0.35em 0.75em; font-size: 0.82em; font-weight: 700; color: #fff; background: #23262b; border-radius: 2px; white-space: nowrap; }
/* 行はどれも同じ字の大きさ（列の幅が em なので、見出しの行も字だけ小さくする） */
.pcs-row {
  display: grid; grid-template-columns: 3.6em 5.4em minmax(0, 1fr) auto; gap: 0.6em; align-items: center;
  padding: 0.62em 0; border-bottom: 1px solid #eef0f2; white-space: nowrap;
}
.pcs-row > :last-child { justify-self: end; }
.pcs-row .t { font-weight: 700; }
.pcs-row .m { font-size: 0.95em; color: #4a505a; overflow: hidden; text-overflow: ellipsis; }
.pcs-row.free span { color: #a3a8b0; }
.pcs-row--th { padding: 0.35em 0; border-bottom-color: #e3e5e8; }
.pcs-row--th span { font-size: 0.82em; color: #8a909a; }
.pcs-foot { margin-top: auto; padding-top: 0.5em; font-size: 0.82em; color: #8a909a; }

/* スマホ: 黒いふち＋丸い画面。上にカメラの穴と時刻・電池、下にタブ */
.dev-sp {
  position: absolute; left: 0; bottom: 0; width: 14em; height: 28.4em; padding: 0.55em;
  background: #23262b; border-radius: 2.2em;
  box-shadow: 0 1.2em 2.4em rgba(35, 38, 43, 0.28);
}
.dev-sp__screen {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: 1.7em; overflow: hidden;
}
.dev-sp__screen::before {
  content: ""; position: absolute; top: 0.62em; left: 50%; width: 0.7em; height: 0.7em;
  border-radius: 50%; background: #23262b; transform: translateX(-50%);
}
.sps-status { display: flex; justify-content: space-between; align-items: center; height: 2em; padding: 0 1.3em; }
.sps-status span { font-size: 0.8em; font-weight: 700; }
.sps-batt { position: relative; display: block; width: 1.5em; height: 0.72em; border: 1px solid #23262b; border-radius: 0.2em; }
.sps-batt::before { content: ""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 68%; background: #23262b; border-radius: 0.08em; }
.sps-batt::after { content: ""; position: absolute; right: -0.28em; top: 0.18em; width: 0.16em; height: 0.3em; background: #23262b; border-radius: 0 0.08em 0.08em 0; }
.sps-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0.4em 1.1em 0.6em; }
.sps-head b { font-size: 1.35em; }
.sps-head span { font-size: 0.82em; color: #7a808a; }
.sps-card { margin: 0 0.8em; padding: 0.8em 0.9em 0.75em; background: #f5f6f7; border-radius: 2px; }
.sps-lbl { font-size: 0.8em; color: #7a808a; }
.sps-big { margin-top: 0.1em; font-size: 2em; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.sps-big small { margin-left: 0.12em; font-size: 0.5em; }
/* 横棒＝今月の残り。縦の線が黒字ライン（そこを超えた） */
.sps-bar { position: relative; height: 0.55em; margin: 0.6em 0 0.4em; background: #e3e5e8; }
.sps-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; background: #23262b; }
.sps-bar b { position: absolute; left: 46%; top: -0.3em; bottom: -0.3em; width: 0.16em; background: #2f6b4f; }
.sps-sub { font-size: 0.8em; font-weight: 700; color: #2f6b4f; }
.sps-list { margin: 0.6em 0.8em 0; }
.sps-list div { display: flex; justify-content: space-between; align-items: baseline; padding: 0.48em 0.2em; border-bottom: 1px solid #eef0f2; }
.sps-list dt { font-size: 0.86em; color: #4a505a; }
.sps-list dd { font-size: 0.95em; font-weight: 700; }
.sps-tabs {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: auto;
  padding: 0.45em 0.3em 1.15em; border-top: 1px solid #e3e5e8;
}
.sps-tabs span { display: flex; flex-direction: column; align-items: center; gap: 0.1em; font-size: 0.7em; color: #8a909a; }
.sps-tabs .icon { width: 1.7em; height: 1.7em; }
.sps-tabs .on { color: #23262b; font-weight: 700; }
.sps-tabs::after {
  content: ""; position: absolute; left: 50%; bottom: 0.38em; width: 4.2em; height: 0.24em;
  background: #23262b; border-radius: 0.12em; transform: translateX(-50%);
}
@media (min-width: 768px) {
  .fv-devices { font-size: 9px; }
}
/* PC: 機器の絵は FV（＝写真の幅）の右下に置く。写真は幅に合わせて拡大されるので、手元は常に幅の約 39〜72% にある。
   絵の幅（48em）と右の余白（2.8vw）を幅に比例させ、スマホの左端が幅の約 64.5%（＝開いた手の指先より右）、
   PC のふたの上端がオイルの瓶を持つ手より下に来るようにする（1024・1280・1366・1440・1536・1600・1640・1680・1920 で確かめた）。
   上限を 11px にすると 1600〜1680 で絵が手に数 px まで寄るので 10px で止める */
@media (min-width: 1024px) {
  .fv-devices { position: absolute; z-index: 2; right: 2.8vw; bottom: 36px; font-size: clamp(7px, 0.68vw, 10px); }
}

/* ---------- 帯（れんが） ---------- */
.strip {
  background: var(--color-main); color: var(--color-main-ink);
  padding: 14px var(--gutter); font-size: 12.5px; line-height: 1.7;
}
.strip b { font-family: var(--font-display); font-weight: 700; }
@media (min-width: 1024px) {
  .strip { padding: 18px var(--frame-pad); font-size: 14px; text-align: center; }
}

/* ---------- WORRIES（見出しの横に困り顔の女性。悩み→解決のあいだに ∨） ---------- */
.worry { display: grid; grid-template-columns: 1fr; gap: 12px; list-style: none; }
.worry li { background: var(--color-panel); padding: 22px 22px 24px; border-radius: var(--radius); }
.worry__n { display: block; font-family: var(--font-en); font-weight: 800; color: var(--color-main-text); font-size: 15px; }
.worry p { font-size: 15px; font-weight: 500; margin-top: 6px; }
.solve {
  background: var(--color-text); color: #fff;
  padding: 26px 24px; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.solve p { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.6; word-break: auto-phrase; text-wrap: balance; }
.solve em { color: var(--color-on-dark); }
.solve :focus-visible { outline-color: #fff; }
@media (min-width: 768px) { .worry { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .worry { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .worry li { padding: 24px 24px 26px; }
  .solve { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 30px; }
}

/* ---------- ABOUT（写真の角に、案内する女性のイラストを1つ） ---------- */
.about { display: grid; gap: 36px; align-items: center; }
.about__text { margin-top: 14px; }
.about__pts { margin-top: 26px; border-top: 2px solid var(--color-text); list-style: none; }
.about__pts li {
  display: grid; grid-template-columns: 42px 1fr; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--color-line); font-weight: 500;
}
.about__pts .icon { width: 30px; height: 30px; color: var(--color-main); }
.about__media { position: relative; margin-bottom: 28px; }
.about__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
/* 円のまわりに段の色の縁（写真と円を分ける。ぼかさない＝光らせない） */
.about__illust { position: absolute; right: 12px; bottom: -28px; --size: 96px; box-shadow: 0 0 0 5px var(--color-panel); }
@media (min-width: 768px) {
  .about__illust { right: auto; left: -18px; bottom: -34px; --size: 140px; box-shadow: 0 0 0 6px var(--color-panel); }
}
@media (min-width: 1024px) {
  .about { grid-template-columns: 1fr 1fr; gap: 64px; }
  .about__pts li { grid-template-columns: 54px 1fr; }
  .about__media { margin-bottom: 0; }
  .about__illust { left: -44px; bottom: -40px; --size: 160px; }
}

/* ---------- FEATURES（線でつながった6マス。段の右端に輪） ---------- */
.feat {
  display: grid; grid-template-columns: 1fr; gap: 1px; list-style: none;
  background: var(--color-line); border: 1px solid var(--color-line);
}
.feat li { background: var(--color-surface); padding: 26px 22px; }
.feat h3 { font-size: 19px; margin: 16px 0 6px; }
.feat p { font-size: 14px; color: var(--color-muted); }
@media (min-width: 768px) { .feat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .feat { grid-template-columns: repeat(3, 1fr); }
  .feat li { padding: 30px 28px; }
}

/* ---------- CUSTOMIZE（オン／オフの絵・ドメインの絵） ---------- */
.two { display: grid; gap: 16px; }
.panel { background: var(--color-panel); padding: 26px 20px; border-radius: var(--radius); }
.panel__title { font-size: 20px; margin-bottom: 18px; }
.panel__cap { font-size: 13px; color: var(--color-muted); margin-top: 14px; }
.tg-list { list-style: none; }
.tg {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--color-surface); padding: 12px 16px; margin-bottom: 8px;
  border-radius: var(--radius); font-weight: 500;
}
.tg__sw { flex: none; width: 42px; height: 22px; background: var(--color-main); position: relative; border-radius: var(--radius); }
.tg__sw::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; background: #fff; border-radius: 1px; }
.tg--off { color: var(--color-off-text); }
.tg--off .tg__sw { background: var(--color-off); }
.tg--off .tg__sw::after { right: auto; left: 3px; }
.brw { background: var(--color-surface); border: 2px solid var(--color-text); border-radius: var(--radius); }
.brw__bar {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  border-bottom: 2px solid var(--color-text);
  font-family: var(--font-en); font-weight: 600; font-size: 13px;
}
.brw__bar i { width: 9px; height: 9px; background: var(--color-text); flex: none; }
.brw__bar span { background: var(--color-panel); padding: 2px 10px; flex: 1; }
.brw__cols { display: grid; grid-template-columns: 1fr 1fr; }
.brw__cols > div { padding: 18px; font-size: 13px; line-height: 1.7; word-break: auto-phrase; }  /* SPの細い2列で「メニ/ュー」と割れないように */
.brw__cols > div + div { border-left: 1px solid var(--color-line); background: var(--color-tint); }
.brw__cols b { display: block; font-size: 15px; margin-bottom: 4px; color: var(--color-main-text); white-space: nowrap; }  /* 320px 台で「ホームペー/ジ」と1字落ちしないように（列が少し広がるだけで、はみ出さない） */
@media (min-width: 1024px) {
  .two { grid-template-columns: 1fr 1fr; gap: 24px; }
  .panel { padding: 36px 36px 32px; }
  .panel__title { font-size: 22px; }
}

/* ---------- SALONS ---------- */
.salons { display: grid; grid-template-columns: 1fr; gap: 20px; list-style: none; }
.salon { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.salon img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.salon__body { padding: 20px 22px 24px; }
.salon__title { font-size: 17px; }
.salon__use { margin-top: 10px; }
@media (min-width: 768px) { .salons { grid-template-columns: repeat(3, 1fr); } }

/* ---------- PRICE（見出しの横にお金の吹き出しの女性。段の左端に輪。「月2,000円おトク」は札） ---------- */
.price-foot { margin-top: 28px; }
.plan__desc .tag { vertical-align: 1px; }

/* ---------- FLOW（淡いピーチの段。ステップごとに白い円のイラスト＋番号の札） ---------- */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 16px; list-style: none; }
.flow li { position: relative; }
.flow__illust { --size: 104px; margin-bottom: 14px; }
/* 番号はれんがの札にして、円の左上（円の外の角）に重ねる */
.flow .flow__n {
  position: absolute; left: 0; top: 0; z-index: 1;
  background: var(--color-main); color: var(--color-main-ink);
  font-family: var(--font-en); font-weight: 800; font-size: 15px; line-height: 1; letter-spacing: 0.02em;
  padding: 6px 7px; border-radius: var(--radius);
}
.flow h3 { font-size: 16px; margin: 0 0 6px; }
.flow p:not(.flow__n) { font-size: 14px; color: var(--color-muted); }
@media (min-width: 768px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .flow__illust { --size: 128px; }
}
@media (min-width: 1024px) {
  .flow { gap: 24px; }
  .flow__illust { --size: 160px; margin-bottom: 18px; }
  .flow .flow__n { font-size: 17px; padding: 7px 9px; }
  .flow h3 { font-size: 18px; }
  /* ステップのあいだを細い点線でつなぐ（円の中ほどの高さ。装飾） */
  .flow li:not(:last-child)::after {
    content: ""; position: absolute; top: 80px; left: 176px; right: -16px;
    border-top: 2px dashed var(--color-main); opacity: 0.45;
  }
}

