/* =========================================================
   誠屋HP制作
   色・余白などはここの変数を変えると全体に反映されます
   ========================================================= */
:root {
  /* 色は3色だけ：紺（#1F3A5F）・白・オレンジ（#F08C2E）。
     背景は白と、ごく薄い紺（#F3F6F9）を交互に。補助の文字や線は、紺を白で薄めた色を使う */
  color-scheme: light;
  --navy: #1F3A5F;
  --navy-hover: #162B47;  /* 紺のボタンにマウスを乗せたとき */
  --navy-75: #576B87;     /* 紺を薄めた文字（注記・表の見出しなど）。白・薄い紺の上で 4.5:1 以上 */
  --navy-line: #D9DFE7;   /* 紺を薄めた線 */
  --bg: #FFFFFF;          /* 背景（白） */
  --bg-alt: #F3F6F9;      /* 交互のセクション背景（ごく薄い紺） */
  --surface: #FFFFFF;     /* 面：カード・表など */
  --text: var(--navy);    /* 文字 */
  --text-sub: var(--navy-75);
  --accent: var(--navy);  /* ボタン・リンク・小見出しのラベル・料金の数字 */
  --accent-hover: var(--navy-hover);
  --ochre: var(--navy);   /* もとは黄土の線。いまは紺 */
  --btn-bg: var(--navy);
  --btn-bg-hover: var(--navy-hover);
  --btn-text: #FFFFFF;
  --btn-light-bg: #FFFFFF;        /* 写真の上・濃い面の上のボタン */
  --btn-light-bg-hover: var(--bg-alt);
  --btn-light-text: var(--navy);
  --dark-bg: var(--navy); /* 濃い面（最後の相談） */
  --dark-text: #FFFFFF;
  --dark-text-sub: #C8D2DE;
  --dark-line: rgba(255, 255, 255, .2);
  --line: var(--navy-line);
  --line-strong: #A7B3C3; /* 仮枠の点線 */
  --on-photo: #FFFFFF;    /* 写真の上の文字 */
  --photo-shade: 31, 58, 95; /* 写真に重ねる紺（rgb） */
  --header-bg: rgba(255, 255, 255, .92);
  --text-max: 680px;      /* 長い文章の1行の最大幅 */

  /* 書体は見出しも本文もすべて Noto Sans JP（明朝は使わない）。見出しは太め（700）、本文は400 */
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-heading: var(--font-body);
  --font-mincho: var(--font-body); /* もとは明朝。いまはゴシック */
  --font-hero: var(--font-body);
  /* ブランドカラー：「昇る」のオレンジ。色はここだけで管理する（ほかの場所は var(--orange) を使う）。
     使うのは BUDDYRISE の上半分と、LINEの相談ボタン（ヒーロー・ご依頼の流れ・最後の相談は塗り、ヘッダーは枠線）だけ */
  --orange: #F08C2E;
  --orange-hover: #F6A85A; /* ヒーローのボタンにマウスを乗せたとき */

  --max-width: 1120px;
  --gutter: 20px;
  --section-space: 96px;
  --radius: 6px;
  --radius-small: 4px;
  --header-height: 64px;
}

@media (min-width: 960px) {
  :root {
    --gutter: 32px;
    --section-space: 120px;
  }
}

/* ---------- ベース ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: .05em; /* 本文・ボタン・ナビ・注記 */
  overflow-wrap: anywhere;
}
/* em は継承されると px に固定されるので、文字の大きさが違う要素にも .05em を直接指定する
   （:where で優先度を0にして、見出しの .04em の指定が勝つようにしている） */
:where(p, li, td, th, caption, a, button, small, span, blockquote) { letter-spacing: .05em; }
/* 言葉の途中で改行しない（見出し・本文すべて。<wbr> で区切る短い一文は個別に keep-all） */
:where(h1, h2, h3, p, li, td, th, blockquote) { word-break: auto-phrase; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.section-dark :focus-visible { outline-color: var(--dark-text); }

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

.skip-link {
  position: absolute;
  left: 8px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: var(--radius-small);
}
.skip-link:focus { top: 8px; color: var(--btn-text); }

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

/* ---------- ボタン（高さ44px以上） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  word-break: keep-all; /* <wbr> の位置でだけ改行する */
  transition: background-color .2s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-text); }
/* 写真の上・濃い面の上のボタン：透明＋白い枠線。ホバーで生成りに変わり、矢印が右へ動く */
.btn.btn-outline {
  gap: 10px;
  min-height: 48px;
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  font-weight: 500;
  letter-spacing: .08em;
  text-shadow: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-outline:hover {
  background: var(--btn-light-bg);
  border-color: var(--btn-light-bg);
  color: var(--btn-light-text);
}
.btn-outline:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
/* 写真の上の主役ボタン：オレンジ地に紺の文字。ホバーで少し明るいオレンジになり、矢印が右へ動く */
.btn.btn-fill {
  gap: 10px;
  min-height: 48px;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: .08em;
  text-shadow: none;
  transition: background-color .2s, color .2s;
}
.btn-fill:hover { background: var(--orange-hover); color: var(--navy); }
.btn-fill:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.flow .btn-fill:focus-visible { outline-color: var(--navy); } /* 明るい背景の上では紺の輪郭線 */
.btn-fill:hover .btn-arrow { transform: translateX(4px); }
.btn-arrow { flex-shrink: 0; transition: transform .2s; }
.btn-outline:hover .btn-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .btn-arrow { transition: none; }
}
.site-header .btn { border-radius: 999px; }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: .9375rem; }
.btn-large { min-height: 60px; padding: 16px 28px; font-size: 1.0625rem; }

/* ---------- ヘッダー ---------- */
/* トップ写真の上に重ねる。スクロールしたら（JSで is-scrolled）背景とぼかしが付く */
.site-header {
  --header-fg: var(--on-photo);
  font-family: var(--font-hero);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  text-shadow: 0 1px 8px rgba(var(--photo-shade), .45);
  transition: background-color .25s, border-color .25s;
}
.site-header.is-scrolled,
.site-header.is-menu-open,
html:not(.js) .site-header {
  --header-fg: var(--text);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  text-shadow: none;
}
/* ヘッダーの「LINEで相談する」：塗りなし・オレンジの枠線と文字。マウスを乗せるとオレンジで塗る */
.site-header .btn-primary,
.site-header.is-scrolled .btn-primary,
.site-header.is-menu-open .btn-primary,
html:not(.js) .site-header .btn-primary {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  text-shadow: none;
}
.site-header .btn-primary:hover,
.site-header.is-scrolled .btn-primary:hover,
.site-header.is-menu-open .btn-primary:hover { background: var(--orange); color: var(--navy); }
.site-header :focus-visible { outline-color: var(--header-fg); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  align-content: center;
  padding: 8px 0;
  color: var(--header-fg);
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { color: var(--header-fg); }
/* ロゴ：いまは「誠屋」の文字だけ（ロゴ画像はあとで差し替え） */
.logo-main {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .04em;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: var(--header-fg);
  font: inherit;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}
.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-button[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-button[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--header-fg);
  font-weight: 500;
  font-size: .9375rem;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--header-fg); text-decoration: underline; text-underline-offset: 6px; }
.site-nav li:last-child { margin-left: 8px; }

/* スマホ：JSが動くときだけメニューを折りたたむ */
@media (max-width: 767px) {
  .js .menu-button { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(31, 58, 95, .12);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
  }
  .site-nav a:not(.btn) {
    display: flex;
    min-height: 52px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav li:last-child { margin: 16px 0 0; }
  .site-nav .btn { width: 100%; min-height: 52px; }
  /* JSがない場合は横スクロールなしで折り返して表示 */
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; }
}

/* ---------- セクション共通 ---------- */
.section { padding: var(--section-space) 0; }
.section-white { background: var(--bg-alt); } /* セクションの背景を交互にして明るさに変化をつける */
.section-white .table-wrap,
.section-white .placeholder { background: var(--bg); }

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin-top: 8px;
  background: var(--orange); /* ラベルの下の短い線だけオレンジ */
}
/* オレンジのマーカー線：文字の下半分に、蛍光ペンで引いたような太い線。文字の色は変えない */
.marker {
  background: linear-gradient(transparent 56%, rgba(240, 140, 46, .45) 56%, rgba(240, 140, 46, .45) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .1em;
}

.section-title,
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  word-break: auto-phrase;
}
.hero-title { word-break: keep-all; } /* <br> の位置でだけ改行する */
/* 見出しはすべて .04em、本文・ボタン・ナビ・注記は body の .05em */
.step-title,
.step-num { letter-spacing: .04em; }
.section-title {
  margin-bottom: 32px;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
}
.section-lead {
  max-width: var(--text-max);
  margin-bottom: 48px;
}
.split-text p + p { margin-top: 1.2em; }
.split-text p:not(.eyebrow) { max-width: var(--text-max); }

/* 2カラム（PCで横並び、スマホで縦積み） */
.split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .about { grid-template-columns: 1fr 1.2fr; }
}

/* ---------- 画像・仮枠 ---------- */
.photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x5  { aspect-ratio: 4 / 5; }
.ratio-3x2  { aspect-ratio: 3 / 2; }
.ratio-1x1  { aspect-ratio: 1 / 1; }

/* 差し替えまでの仮枠 */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 2px dashed var(--line-strong);
  background: var(--surface);
  color: var(--text-sub);
  font-size: .875rem;
  text-align: center;
}

/* ---------- 写真の上に文字を重ねる（cover） ---------- */
/* 半透明の膜で文字のコントラストを確保する */
.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  color: var(--dark-text);
}
.cover-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(31, 58, 95, .7);
}
.cover .eyebrow,
.cover p { color: var(--dark-text); }
.cover .section-title { color: var(--dark-text); }

/* セクション内に置く、角丸の写真カード */
.cover-card {
  align-items: flex-end;
  min-height: 420px;
  margin-bottom: 56px;
  border-radius: var(--radius);
}
.cover-content { padding: 40px 24px; }
.cover-content .section-lead { margin-bottom: 0; }
@media (min-width: 768px) {
  .cover-card { min-height: 480px; }
  .cover-content { padding: 56px; }
}
.voices-cover .cover-img { object-position: 45% 40%; }
.voices-cover .section-title { margin-bottom: 0; }

/* ---------- トップ ---------- */
.hero {
  align-items: center;
  min-height: min(860px, 100svh);
  padding: 120px 0 96px;
}
/* 左側だけ山の青寄りに暗くし、右の人物は明るいまま。上端はヘッダーの白い文字のため暗くする
   （写真の明るい空・もやの上でも、白い文字が 4.5:1 以上になる濃さに調整済み） */
.hero::before {
  background:
    linear-gradient(180deg, rgba(var(--photo-shade), .8) 0%, rgba(var(--photo-shade), .35) 20%, rgba(var(--photo-shade), 0) 55%),
    linear-gradient(90deg, rgba(var(--photo-shade), .85) 0%, rgba(var(--photo-shade), .72) 50%, rgba(var(--photo-shade), 0) 75%);
}
.hero-text { text-shadow: 0 1px 12px rgba(var(--photo-shade), .45); }
.hero .cover-img { object-position: 50% 50%; }
.hero-inner { position: relative; }
.hero-text { max-width: 600px; }
.hero,
.hero .hero-title { font-family: var(--font-hero); }
.hero-label {
  margin-bottom: 20px;
  font-size: .875rem;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .9);
  word-break: keep-all;
}
/* 見出しは2段：英字「BUDDYRISE」を一番大きく、すぐ下に小さなカタカナ、2段目は小さめ */
.hero-title {
  margin-bottom: 28px;
  color: var(--on-photo);
  font-weight: 700;
}
.hero-title > span:not(.visually-hidden) { display: block; }
/* BUDDYRISE：文字の上半分をオレンジ、下半分を白に、ぼかさず切り替える。
   境目の位置 --split は、行の箱ではなく大文字の高さの真ん中（Noto Sans JP 700・行の高さ1.15で実測。
   文字の大きさや画面の幅が変わっても比率は同じ。書体か line-height を変えたら測り直す） */
.hero-title .hero-title-main {
  --split: 55.4%;
  display: inline-block;
  font-size: clamp(2.75rem, 1.2rem + 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .08em; /* 英字の一語。字間はやや広め */
  white-space: nowrap; /* 一語なので途中で折り返さない */
  color: #FFFFFF; /* 背景の切り抜きに対応しない環境では白 */
  background: linear-gradient(180deg, var(--orange) var(--split), #FFFFFF var(--split));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* 文字の影は切り抜いた色の上に重なってしまうので、影は filter で付ける */
  text-shadow: none;
  filter: drop-shadow(0 1px 10px rgba(var(--photo-shade), .45));
}
.hero-title-kana {
  margin-top: 8px;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .32em;
}
.hero-title-sub {
  margin-top: 20px;
  font-size: clamp(1.25rem, .9rem + 1.3vw, 1.75rem);
  line-height: 1.5;
  letter-spacing: .04em;
  word-break: keep-all;
}
.hero .hero-lead,
.hero .cta-note { color: var(--on-photo); }
.hero-lead {
  max-width: 26em; /* 写真の明るい部分に文字がかからないよう、2行に折り返す */
  margin-bottom: 36px;
  font-size: 1.0625rem;
  word-break: keep-all;
}
/* 価格は1行：「最初の5人 20,000円（税込） 通常30,000円」。20,000円だけ大きく太く。狭い画面では区切りの単位ごとに折り返す */
.hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-bottom: 48px;
  color: var(--on-photo);
  font-size: .9375rem;
  line-height: 1.6;
}
.hero-price-unit { white-space: nowrap; }
.hero-price-open {
  margin: 0 .1em;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-price-normal { font-size: .875rem; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
/* サブのリンク：ボタンより控えめな文字リンク */
.hero-sublink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--on-photo);
  font-size: .9375rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.hero-sublink:hover { color: var(--on-photo); text-decoration-thickness: 2px; }
.hero-sublink-arrow { flex-shrink: 0; transition: transform .2s; }
.hero-sublink:hover .hero-sublink-arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .hero-sublink-arrow { transition: none; }
}
.cta-note { font-size: .875rem; }
.hero :focus-visible { outline-color: var(--on-photo); }
@media (max-width: 767px) {
  /* スマホは写真を上の7割に置いて二人を見せ、その下は写真から続く濃い青の上に文字を置く */
  .hero {
    align-items: flex-end;
    min-height: 0;
    padding: max(42svh, 320px) 0 48px;
    background: rgb(var(--photo-shade));
  }
  .hero .hero-img { bottom: auto; height: 58svh; min-height: 440px; object-position: 78% 50%; }
  .hero::before {
    bottom: auto;
    height: calc(58svh + 4px); /* 写真の下端に境目の線が出ないよう、少しはみ出させる */
    min-height: 444px;
    background: linear-gradient(180deg,
      rgba(var(--photo-shade), .85) 0, rgba(var(--photo-shade), .75) 76px, rgba(var(--photo-shade), 0) 160px,
      rgba(var(--photo-shade), 0) 52%, rgba(var(--photo-shade), .85) 76%, rgb(var(--photo-shade)) 96%);
  }
}
@media (max-width: 599px) {
  /* 最初の画面にメインボタンまで収まるよう、スマホでは余白を少しだけ詰める */
  .hero-label { margin-bottom: 14px; font-size: .8125rem; }
  .hero-title { margin-bottom: 22px; }
  .hero-title-sub { margin-top: 14px; }
  /* スマホ：BUDDYRISE の右端を「誠屋の、店舗代わりのホームページ」の右端にそろえる。
     2段目の文字の大きさの 2.655 倍（実測した文字幅の比）にし、文字が画面の左右の余白の内側に収まる上限も付ける
     （6.26 は BUDDYRISE の文字の幅÷文字の大きさ） */
  .hero-title .hero-title-main {
    font-size: min(calc(2.655 * clamp(1.25rem, .9rem + 1.3vw, 1.75rem)), calc((100vw - 2 * var(--gutter)) / 6.26));
  }
  .hero-lead { margin-bottom: 28px; font-size: 1rem; }
  .hero-price { margin-bottom: 36px; }
  .hero-price-open { font-size: 1.375rem; }
  .hero-price-tax { font-size: .75rem; }
  .cta { align-items: stretch; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .hero .btn-large { width: 100%; padding-inline: 20px; font-size: 1rem; }
  .hero-sublink { justify-content: center; }
  .cta-note { text-align: center; }
}

/* ---------- なぜホームページなのか ---------- */
/* 短い一文は、HTMLの <wbr> の位置でだけ改行する（auto-phrase だけだと「本気を伝える／場所」のように切れるため） */
.why .section-title { word-break: keep-all; }

/* 冒頭の写真の帯 */
.why-hero { position: relative; isolation: isolate; }
.why-hero-photo { display: block; }
.why-hero-photo img { display: block; width: 100%; object-fit: cover; }
/* 写真の上に重ねる生成りのグラデーション。下端はセクションの背景色へ溶かす */
.why-hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.why-intro { line-height: 2.1; }
.why-intro p + p { margin-top: 1.4em; }
/* 「Instagramは、店先。／ホームページは、店内。」だけ一回り大きく太字。上下は段落より広めに空ける */
.why-intro .why-pair,
.why-intro .why-pair + p { margin-top: 2em; }
.why-pair {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .04em;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .why-hero {
    display: flex;
    align-items: flex-start;
    min-height: max(80vh, 640px);
  }
  .why-hero-photo { position: absolute; inset: 0; z-index: -1; }
  .why-hero-photo img { height: 100%; object-position: 50% 30%; }
  .why-hero-photo::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, var(--bg) 100%),
      linear-gradient(270deg, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, .4) 45%, rgba(255, 255, 255, 0) 70%);
  }
  .why-hero-inner { padding-top: 104px; padding-bottom: 120px; }
  /* 写真の右上の空に置く。人物（左）と太陽の光（右下）には重ねない */
  .why-hero-text { max-width: 520px; margin-left: auto; }
}

@media (max-width: 767px) {
  /* 写真（4:5）の上部に見出しを重ね、導入文は写真の下に出す */
  .why-hero { display: grid; }
  .why-hero-photo { grid-area: 1 / 1; position: relative; }
  .why-hero-photo img { aspect-ratio: 4 / 5; height: auto; object-position: 30% 0; }
  .why-hero-photo::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 82%, var(--bg) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .45) 40%, rgba(255, 255, 255, 0) 65%);
  }
  .why-hero-inner,
  .why-hero-text { display: contents; }
  .why-hero-head { grid-area: 1 / 1; align-self: start; position: relative; padding: 24px var(--gutter) 0; }
  .why-hero-head .section-title { margin-bottom: 0; }
  .why-intro { grid-area: 2 / 1; padding: 8px var(--gutter) var(--section-space); }
}

/* ---------- For（こんな人に） ---------- */
/* 色は紺と白だけ。1行目（望み）を大きく、2行目（誠屋の答え）を小さく控えめに */
.for {
  padding: var(--section-space) 0;
  background: var(--bg-alt);
  color: var(--navy);
  font-family: var(--font-hero);
}
.for-label {
  margin-bottom: 56px;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--navy);
}
.for-list { max-width: 760px; }
.for-item { padding: 40px 0; border-top: 1px solid rgba(31, 58, 95, .18); }
.for-item:last-child { border-bottom: 1px solid rgba(31, 58, 95, .18); }
.for-wish,
.for-answer { word-break: keep-all; } /* <wbr> の位置でだけ改行 */
.for-wish {
  font-size: clamp(1.375rem, 1rem + 1.4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--navy);
}
.for-answer {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(31, 58, 95, .72); /* 紺を薄めた控えめな色（白地で 4.5:1 以上） */
}
@media (max-width: 767px) {
  .for-label { margin-bottom: 32px; }
  .for-item { padding: 32px 0; }
}

/* ---------- サンプル ---------- */
.samples .section-title { word-break: keep-all; }
/* スマホの枠 */
.phone {
  position: relative;
  padding: 8px;
  border-radius: 40px;
  background: var(--navy);
  box-shadow: 0 32px 56px -28px rgba(31, 58, 95, .45);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  padding-top: 24px;      /* ステータスバー */
  border-radius: 32px;
  background: var(--navy);
}
.phone-screen::before {   /* カメラ */
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 30%;
  height: 14px;
  border-radius: 999px;
  background: var(--navy-hover);
  transform: translateX(-50%);
}
.samples-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  text-align: center;
}
.samples-action .btn { gap: 10px; border-radius: 999px; }
.samples-action .btn:hover .btn-arrow { transform: translateX(4px); }
.samples-note { color: var(--text-sub); font-size: .8125rem; }
@media (max-width: 599px) {
  .samples-action { align-items: stretch; }
}

/* サンプルHPの一覧：スマホの画面を横一列に並べたスライダー（横にスクロール。止まる位置は1枚ずつ）
   カードの幅は固定で、画面の端で次のカードが少し見えるようにして「まだ続く」ことを伝える */
.samples-slider { position: relative; margin-top: 40px; }
.samples-list {
  --card-w: 150px;
  --gap-x: 16px;
  display: flex;
  gap: var(--gap-x);
  /* コンテナの左右の余白の外まで広げ、画面の端までスクロールできるようにする */
  margin: 0 calc(var(--gutter) * -1);
  padding: 8px var(--gutter) 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.samples-list::-webkit-scrollbar { display: none; }
.samples-list:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.samples-card { flex: 0 0 var(--card-w); min-width: 0; scroll-snap-align: start; }
@media (min-width: 600px) { .samples-list { --card-w: 190px; --gap-x: 24px; } }
@media (min-width: 960px) { .samples-list { --card-w: 210px; --gap-x: 32px; } }
@media (min-width: 1184px) {
  /* 広い画面では、コンテナの幅の中で並べる（はみ出しは左右の端で薄く消す） */
  .samples-list { margin: 0; padding-inline: 0; scroll-padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
  .samples-list.is-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%); mask-image: linear-gradient(90deg, transparent, #000 8%); }
  .samples-list.is-mid { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
}
@media (prefers-reduced-motion: no-preference) { .samples-list { scroll-behavior: smooth; } }
/* 矢印ボタン（JSが動くときだけ出す） */
.samples-nav { display: flex; justify-content: center; gap: 16px; margin-top: 20px; }
.samples-nav[hidden] { display: none; }
.samples-nav-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s, opacity .2s;
}
.samples-nav-btn:hover:not(:disabled) { background: var(--bg-alt); }
.samples-nav-btn:disabled { opacity: .3; cursor: default; }
.samples-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  color: var(--text);
  text-align: center;
  text-decoration: none;
}
.samples-card-phone { display: block; width: 100%; max-width: 240px; margin-bottom: 20px; padding: 6px; border-radius: 28px; transition: transform .25s; }
.samples-card-phone .phone-screen { display: block; padding-top: 0; border-radius: 22px; }
.samples-card-phone .phone-screen::before { display: none; }
.samples-card-phone img { display: block; width: 100%; height: auto; }
.samples-card a:hover .samples-card-phone { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .samples-card-phone { transition: none; } }
.samples-card-kind { color: var(--text-sub); font-size: .6875rem; line-height: 1.6; letter-spacing: 0; }
.samples-card-name { margin-top: 2px; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; line-height: 1.5; letter-spacing: .08em; }
.samples-card-text { margin-top: 8px; font-size: .875rem; line-height: 1.8; word-break: keep-all; }
.samples-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.samples-card a:hover .btn-arrow { transform: translateX(4px); }
/* スマホ幅・タブレット幅は、枠と文字を少し小さくする */
@media (max-width: 959px) {
  .samples-card-phone { margin-bottom: 14px; padding: 5px; border-radius: 22px; }
  .samples-card-phone .phone-screen { border-radius: 17px; }
  .samples-card-kind { font-size: .6875rem; letter-spacing: 0; word-break: keep-all; }
  .samples-card-name { font-size: 1.0625rem; letter-spacing: .04em; }
  .samples-card-text { font-size: .75rem; line-height: 1.7; letter-spacing: 0; }
  .samples-card-more { font-size: .75rem; letter-spacing: 0; text-underline-offset: 4px; white-space: nowrap; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .samples-card-more .btn-arrow { display: none; }
}
@media (min-width: 960px) {
  .samples-slider { margin-top: 56px; }
  .samples-card-phone { padding: 7px; border-radius: 32px; }
  .samples-card-phone .phone-screen { border-radius: 25px; }
  .samples-card-kind { font-size: .75rem; letter-spacing: .02em; }
  .samples-card-name { font-size: 1.25rem; letter-spacing: .04em; }
  .samples-card-text { font-size: .875rem; }
}
.samples-action-after { margin-top: 32px; }

/* ---------- 料金 ---------- */
/* 名刺HPに含まれるもの：箱や太字にせず、細い線で区切った控えめな一覧 */
.plan-includes ul { display: grid; }
.plan-includes li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.8; }
.plan-includes-note { color: var(--text-sub); font-size: .875rem; }
@media (min-width: 768px) {
  .plan-includes ul { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}

/* ページの違い：サンプルHPの1ページ目＋2ページ目（スマホ表示の全体）。PCは横に、スマホは縦に並べる */
.pages {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .pages { grid-template-columns: 1fr auto 1fr; align-items: start; gap: 24px; max-width: 760px; margin: 0 auto 56px; }
  .pages-plus { align-self: start; margin-top: 190px; }
}
.page-card { display: grid; justify-items: center; gap: 16px; max-width: 300px; text-align: center; }
/* 縦に長いページの上の部分を窓で見せ、クリックで全体を拡大表示 */
.page-shot {
  position: relative;
  display: block;
  width: 200px;
  height: 400px;
  padding: 0;
  overflow: hidden;
  border: 6px solid var(--navy);
  border-radius: 22px;
  background: var(--navy);
  cursor: zoom-in;
  box-shadow: 0 24px 40px -24px rgba(31, 58, 95, .45);
}
.page-shot img { width: 100%; height: auto; }
.page-shot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(31, 58, 95, 0), rgba(31, 58, 95, .92));
}
.page-shot-hint {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  z-index: 1;
  color: #FFFFFF;
  font-size: .8125rem;
  letter-spacing: .08em;
}
.page-shot:hover .page-shot-hint { text-decoration: underline; text-underline-offset: 4px; }
/* スマホ：見本の画面を6割ほどの幅に（200×400 → 120×240） */
@media (max-width: 767px) {
  .pages .page-shot { width: 120px; height: 240px; border-width: 4px; border-radius: 14px; }
  .pages .page-shot::after { height: 60px; }
  .pages .page-shot-hint { bottom: 8px; font-size: .6875rem; letter-spacing: .05em; }
}
.page-name { font-weight: 700; font-size: 1.0625rem; line-height: 1.6; letter-spacing: .04em; }
.page-name span { color: var(--text-sub); font-size: .875rem; font-weight: 500; }
.page-desc { color: var(--text-sub); font-size: .875rem; line-height: 1.8; word-break: keep-all; }
/* 金額の上の札：オレンジの枠線だけ（塗りつぶさない）。文字は紺・小さめ・太字 */
.page-tag {
  display: inline-block;
  justify-self: center;
  margin-top: 4px;
  padding: 2px 10px;
  border: 1.5px solid var(--orange);
  border-radius: 4px;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.6;
}
.page-price { margin-top: -6px; color: var(--navy); font-weight: 700; font-size: 1.625rem; line-height: 1.4; letter-spacing: .04em; }
.page-price span { color: var(--text-sub); font-size: .8125rem; font-weight: 500; }
.pages-plus { color: var(--ochre); font-size: 2rem; line-height: 1; }
.page-later { color: var(--text-sub); font-size: .8125rem; }

/* 費用のまとめ（常に表示） */
/* 料金の見出し：「月額0円。」「その分は、あなたの挑戦に。」の2行に固定。
   2行目は折り返さず、狭い画面では画面の幅に収まる大きさまで文字を小さくする（13文字ぶん） */
.price-title span { white-space: nowrap; }
@media (max-width: 599px) {
  .price-title { font-size: min(clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem), calc((100vw - 2 * var(--gutter)) / 13.8)); }
}

/* 料金の説明文（2段落） */
.price-lead p + p { margin-top: 1.2em; }

/* 比較表：スマホでも4列すべてが1画面に収まるように（横スクロールなし）。
   マス目は細い線、行の名前と他の列の見出しはごく薄い紺の地。文字は中央寄せ。
   バディライズの列だけ紺の太い縁（3px）で囲み、見出しは紺地に白、中は太字の紺。ほかの列は普通の太さで補助の薄い紺 */
.compare { max-width: 1040px; margin: 0 auto 40px; }
.compare-wrap { overflow-x: auto; } /* ごく狭い画面だけの保険 */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: .9375rem;
  line-height: 1.6;
}
.compare-table th,
.compare-table td {
  padding: 18px 12px;
  border-right: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  background: var(--bg);
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
  overflow-wrap: anywhere;
  color: var(--navy-75);
  font-weight: 400;
}
/* 見出しの行 */
.compare-table thead th { background: var(--bg-alt); border-top: 1px solid var(--navy-line); padding-top: 14px; padding-bottom: 14px; }
.compare-table thead th:last-child { border-top-right-radius: 8px; }
.compare-table thead td { background: transparent; border-right: 0; border-bottom: 0; } /* 左上の空きマス */
/* 行の名前 */
.compare-table tbody th {
  width: 9em;
  background: var(--bg-alt);
  border-left: 1px solid var(--navy-line);
  color: var(--navy);
  font-weight: 700;
}
.compare-table tbody tr:first-child th { border-top: 1px solid var(--navy-line); border-top-left-radius: 8px; }
.compare-table tbody tr:last-child th { border-bottom-left-radius: 8px; }
.compare-table tbody tr:last-child td:last-child { border-bottom-right-radius: 8px; }
/* バディライズの列 */
.compare-table .is-buddy {
  width: 26%;
  border-left: 3px solid var(--navy);
  border-right: 3px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
}
.compare-table thead .is-buddy {
  background: var(--navy);
  border-top: 3px solid var(--navy);
  border-radius: 8px 8px 0 0;
  color: #FFF;
}
.compare-table tbody tr:last-child .is-buddy { border-bottom: 3px solid var(--navy); border-radius: 0 0 8px 8px; }
/* 補足（小さく薄い文字。改行して下に置く） */
.compare-table small { display: block; margin-top: 2px; overflow-wrap: anywhere; color: var(--navy-75); font-size: .8125rem; font-weight: 400; }
.compare-note { margin-top: 12px; color: var(--text-sub); font-size: .8125rem; word-break: keep-all; }
@media (max-width: 599px) {
  /* 4列を画面の幅に収める：文字を小さく、余白を詰める */
  .compare-wrap { margin: 0 calc(12px - var(--gutter)); } /* 左右の余白を12pxまで詰めて表を広げる */
  .compare-table { font-size: .6875rem; line-height: 1.55; letter-spacing: 0; }
  .compare-table th,
  .compare-table td { padding: 10px 2px; word-break: auto-phrase; } /* 文節の切れ目で折り返す。はみ出しそうなら語の途中でも折り返す */
  .compare-table .is-buddy { padding-left: 1px; padding-right: 1px; } /* 縁の内側に収める */
  .compare-table tbody th { width: 15%; }
  .compare-table .is-buddy { width: 25%; }
  .compare-table small { font-size: .625rem; }
}

.price-summary { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.price-summary li { font-size: .9375rem; line-height: 1.9; word-break: keep-all; }

/* 誠屋の約束：箱や太字にせず、細い線で区切った控えめな一覧 */
.promises { max-width: 760px; margin: 0 auto 48px; }
.promises-title { margin-bottom: 8px; color: var(--text-sub); font-size: .875rem; font-weight: 500; line-height: 1.8; letter-spacing: .04em; }
.promises ul { border-top: 1px solid var(--line); }
.promises li { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.8; word-break: keep-all; }

/* 詳細：細い線で区切った控えめな一覧。右端の「＋」は開くと「−」 */
.price-details { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.detail { border-bottom: 1px solid var(--line); }
.detail summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 40px 14px 4px;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}
.detail summary::-webkit-details-marker { display: none; }
.detail summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ochre);
  font-size: 1.125rem;
  line-height: 1;
}
.detail[open]:not(.is-closing) summary::after { content: "−"; }
.detail summary:hover { color: var(--accent); }
.detail-body { overflow: hidden; }
.detail-body > :first-child { margin-top: 0; }
.detail-body > :last-child { margin-bottom: 28px; }
.detail-text { margin-top: 16px; color: var(--text-sub); font-size: .875rem; word-break: keep-all; }
.detail .notes { margin-top: 20px; }
.detail-body > .notes:first-child { margin-top: 4px; }

/* ページ全体の拡大表示 */
.shot-viewer {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(31, 58, 95, .96);
}
.shot-viewer::backdrop { background: rgba(31, 58, 95, .96); }
.shot-viewer-body { height: 100%; overflow-y: auto; padding: 64px 16px 48px; }
.shot-viewer-body img { width: min(390px, 100%); height: auto; margin: 0 auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.shot-viewer-close {
  position: fixed;
  top: 12px; right: 12px;
  z-index: 1;
  min-width: 44px; min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  background: rgba(31, 58, 95, .8);
  color: #FFFFFF;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.shot-viewer :focus-visible { outline-color: #FFFFFF; }

/* 料金表：背景は面の色、行の区切りは線 */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  line-height: 1.6;
}
.price-table th,
.price-table td {
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.price-table thead th {
  color: var(--text-sub);
  font-size: .8125rem;
  font-weight: 500;
  border-bottom: 2px solid var(--line);
}
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { font-weight: 700; }
.price-table td,
.price-table thead th { white-space: nowrap; }
@media (max-width: 767px) {
  .price-table th, .price-table td { padding: 16px 6px; }
  .price-table th:first-child { padding-left: 14px; }
  .price-table td:last-child, .price-table thead th:last-child { padding-right: 14px; }
}
/* 小さな更新のメニュー */
.updates-title { margin-bottom: 16px; font-weight: 700; font-size: 1.1875rem; line-height: 1.6; letter-spacing: .04em; }
.th-desc { display: block; margin-top: 2px; color: var(--text-sub); font-size: .8125rem; font-weight: 400; line-height: 1.7; }
.updates-table th[scope="row"] { white-space: normal; }
.updates-table td { text-align: right; }
.updates-table thead th:last-child { text-align: right; }
@media (min-width: 768px) {
  .price-table th, .price-table td { padding: 18px 20px; }
}

.notes { margin-top: 28px; }
.notes li {
  position: relative;
  padding-left: 1.2em;
  color: var(--text-sub);
  font-size: .875rem;
  line-height: 1.8;
}
.notes li + li { margin-top: 6px; }
.notes li::before { content: "※"; position: absolute; left: 0; }

/* ---------- ご依頼の流れ ---------- */
/* 写真（木のテーブルに珈琲とノート）をセクション全体の背景に敷き、白を重ねて薄くする。
   重ねは .88（指定の .85 より少し濃く）。写真のいちばん暗い所（窓枠）の上でも、本文は 9:1 以上になる */
.flow {
  background:
    linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
    url("/images/flow-bg.webp") center / cover no-repeat;
}
.flow-inner { max-width: calc(720px + var(--gutter) * 2); }
/* 補助の文字（所要時間・注記）は、写真の上でも 4.5:1 以上になるよう、少しだけ濃くする */
.flow .step-time,
.flow .notes li { color: #46597A; }
@media (max-width: 767px) {
  /* スマホは縦長に切り抜かれるので、手前の珈琲カップが画面に入る位置に合わせる */
  .flow { background-position: 0 0, 47% 50%; }
}
.steps { display: grid; gap: 4px; }
.steps li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child { border-top: 1px solid var(--line); }
.step-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--accent);
}
.step-title {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.steps p { margin-top: 2px !important; }
/* 01 の下の対面エリア：左に細い線を引いて、説明文の補足として控えめに置く */
.step-area { margin-top: 14px; padding: 2px 0 2px 14px; border-left: 2px solid var(--line); }
.step-area-title { font-size: .875rem; font-weight: 700; line-height: 1.7; letter-spacing: .04em; }
.step-area p { font-size: .875rem; line-height: 1.8; }
.step-area .step-area-note { color: #46597A; font-size: .8125rem; }
.step-time { margin-left: .3em; color: var(--text-sub); font-size: .875rem; font-weight: 500; }
.flow-action { margin-top: 32px; }
.flow-action .btn { gap: 10px; border-radius: 999px; }
.flow-action .btn:hover .btn-arrow { transform: translateX(4px); }
@media (max-width: 599px) { .flow-action .btn { width: 100%; } }

/* ---------- 濃い面（最後の相談） ---------- */
.section-dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}
.section-dark .eyebrow { color: var(--dark-text-sub); }
.section-dark p { color: var(--dark-text); }
.section-dark .section-title,
.section-dark h3 { color: var(--dark-text); }

/* ---------- 応援者の声 ---------- */
.voices { display: grid; gap: 20px; }
@media (min-width: 768px) { .voices { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.voice {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.voice blockquote p { line-height: 2; }
.voice-name { margin-top: 16px; color: var(--text-sub); font-size: .875rem; }
.voice-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: transparent;
  border: 2px dashed var(--line-strong);
  color: var(--text-sub);
}

/* ---------- 誠屋について ---------- */
#about-title { word-break: keep-all; } /* <wbr> の位置でだけ改行（「昇り／はじめた」と切れないように） */
.about .photo { max-width: 440px; }
/* 柳楽の写真：角は直角。切り抜き済みの 4:5 なので、柳楽と人力車が中央に収まる */
.about-photo { border-radius: 0; object-position: 50% 50%; }
/* PC：本文が長いので写真は上にそろえ、スクロールしても本文を読み終えるまで画面に残す（ヘッダーの下に24px空けて止まる） */
@media (min-width: 900px) {
  .about { align-items: start; }
  .about-photo { position: sticky; top: calc(var(--header-height) + 24px); }
}
/* これまでにつくったページ：料金の「ページの違い」と同じスマホ枠を2つ並べる。スマホでも横に2つ */
.made-pages { margin: 2em 0; }
.made-pages-title { margin-bottom: 16px !important; color: var(--text-sub); font-size: .875rem; font-weight: 500; }
.made-pages-list { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 20px; }
.made-pages .page-card { justify-items: start; text-align: left; gap: 12px; }
.made-pages .page-shot { width: 100%; height: auto; aspect-ratio: 1 / 2; }
.made-pages .page-name { font-size: .9375rem; line-height: 1.6; }
.made-pages .page-name span { display: block; }
.signature {
  margin-top: 32px !important;
  color: var(--text) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: .04em;
}

/* ---------- 最後の相談 ---------- */
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-inner > p { max-width: var(--text-max); margin-bottom: 36px; }
.section-contact .section-title { margin-bottom: 20px; }
.contact-lead { word-break: keep-all; } /* <wbr> の位置でだけ折り返す */
/* ボタンのすぐ下の小さな一文 */
.contact-inner > .contact-free { margin: 12px 0 0; color: var(--dark-text-sub); font-size: .8125rem; }
/* PCで見ている人向けの、友だち追加のQRコード（スマホ・タブレットでは押せばLINEが開くので出さない）。
   PCかどうかは js/main.js が判断して <html> に is-pc を付ける。JSが動かないときは幅768px以上で出す */
.contact-qr {
  display: none;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.is-pc .contact-qr { display: flex; }
@media (min-width: 768px) { html:not(.js) .contact-qr { display: flex; } }
.contact-qr img { flex-shrink: 0; padding: 8px; background: #FFFFFF; border-radius: var(--radius-small); }
.contact-qr p { margin: 0; color: var(--dark-text); font-size: .875rem; line-height: 1.9; }
.contact-qr-id { color: var(--dark-text-sub); font-size: .8125rem; }
/* PCで相談ボタンを押してここへ来たとき、QRコードを少しのあいだ強調する（js/main.js） */
.contact-qr:focus { outline: none; }
.contact-qr.is-highlight img { animation: qr-highlight 1.6s ease-out 1; }
@keyframes qr-highlight {
  0%, 40% { box-shadow: 0 0 0 6px rgba(255, 255, 255, .55); }
  100% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-qr.is-highlight img { animation: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .55); }
}
@media (max-width: 599px) {
  .section-contact .btn-large { width: 100%; }
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--text-sub);
  font-size: .875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
/* Instagram：枠線のボタン（アイコン＋名前＋アカウント名）。ホバーで塗りに変わる */
.footer-insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.footer-insta:hover { background: var(--accent); color: #FFFFFF; }
.footer-insta-icon { flex-shrink: 0; }
.footer-insta-id { font-weight: 400; }
