/*
 * 見た目を新しくした分(2026-11-13 見本)。style.css の上に重ねて使います
 *
 * 変えたこと
 * ・欄ごとに背景を 生成り / 白 / 少し濃い生成り と交互にして、区切りをはっきり
 * ・「こんなとき」「ご依頼の流れ」に線の絵(アイコン)
 * ・料金・流れの欄の終わりに、毎回「ネットで予約」「LINEで予約」の大きなボタン
 * ・ボタンは指で押しやすい高さ(60px)。文字は18pxから小さくしない
 * ・スクロールでふわっと出る、ゆっくりした動きだけ(動きを減らす設定の人には動かさない)
 */

:root {
  --tint: rgba(176, 80, 44, 0.10);   /* テラコッタをうすくした色 */
  --shadow: 0 10px 30px rgba(46, 38, 34, 0.08);
}

/* ---------- 欄の背景 ---------- */
.section { border-top: none; padding: 80px 0; }
.bg-white { background: var(--white); }
.bg-deep { background: var(--paper-deep); }
.section h2::after { display: none; }   /* 見出しの下の線はやめ、上の小さな見出し(eyebrow)で区切る */
.section h2 { margin-bottom: 32px; }

/* 見出しの上の小さな文字 */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--terracotta-deep);
  letter-spacing: 0.06em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

/* ---------- ヘッダー(スクロールしても上に残る) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 1rem;
  font-weight: 700;
}
.header-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.header-nav a:hover { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: 6px; }

/* ---------- ボタン ---------- */
.btn-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  min-width: 230px;
  padding: 12px 28px;
  font-size: 1.2rem;
  font-family: var(--font-head);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
/* 押せるボタンだと分かるよう、下に少し厚みを付ける */
.btn-reserve.btn-big { box-shadow: 0 4px 0 var(--terracotta-deep); }
.btn-big:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--terracotta-deep); }

/* LINEボタン:白地+LINEの緑の太い枠(緑で塗ると白い字が読みにくいため。2026-11-07 の決定に合わせた) */
.btn-line {
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--line-green);
  box-shadow: 0 4px 0 #04a446;
}
.btn-line:hover { background: #f1fbf5; }
.btn-line:active { box-shadow: 0 1px 0 #04a446; }

.btn-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-line .btn-icon { color: var(--line-green); }
.btn-icon.is-fill { width: 28px; height: 28px; }

.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

/* ---------- 最初の画面(左=新しい形、右=前の実績の箱。2026-11-13 本人) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
  /* 右上にうすいテラコッタの光をのせて、平らに見えないようにする */
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, var(--tint), transparent 70%),
    var(--paper);
}
.hero-inner { grid-template-columns: 1.3fr 1fr; gap: 48px; }
.hero-stats { max-width: 340px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}
.hero-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}

.hero h1 { font-size: clamp(1.8rem, 3.3vw, 2.5rem); line-height: 1.55; }
/* 「となりに座って」に、マーカーを引いたような色 */
.hero h1 .nowrap {
  background: linear-gradient(transparent 62%, rgba(176, 80, 44, 0.22) 62%);
  padding: 0 2px;
}

.hero-fee {
  display: inline-block;
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
}
.hero-fee [data-travel-fee] { color: var(--terracotta-deep); font-size: 1.6rem; }

.cta-note {
  margin: 16px 0 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---------- こんなとき(チェックリスト型。2026-12-02 カード＋アイコンから変更) ---------- */
.case-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  border-top: 2px solid var(--ink);
}
.case-check li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.7;
  word-break: auto-phrase;   /* 文の切れ目で改行し、最後の1文字だけ次の行に落ちるのを防ぐ */
  text-wrap: pretty;
}
.check-box {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 3px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--white);
}
.case-foot {
  margin: 28px 0 0;
  font-family: var(--font-head);
  font-size: 1.2rem;
  word-break: auto-phrase;
}
.case-foot b { color: var(--terracotta-deep); }

/* ---------- ご家族向け ---------- */
.family-inner { align-items: center; }
.family-head { display: flex; align-items: center; gap: 20px; }
.family-head h2 { margin-bottom: 0; }
.family-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  padding: 14px;
  border-radius: 50%;
  background: var(--white);
  color: var(--terracotta);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 料金 ---------- */
.receipt { box-shadow: 0 6px 18px rgba(46, 38, 34, 0.06); }
.menu-table { border-radius: 12px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.menu-table tr:last-child th,
.menu-table tr:last-child td { border-bottom: none; }

/* ---------- 欄の終わりの予約ボタン ---------- */
.cta-band {
  margin-top: 56px;
  padding: 36px 28px 40px;
  border-radius: 24px;
  background: var(--paper-deep);
  text-align: center;
}
.bg-white .cta-band { background: var(--paper); }
.cta-band-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
}
.cta-band .cta-pair { justify-content: center; margin-top: 20px; }

/* ---------- ご依頼の流れ(絵つきの4ステップ) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.steps li { position: relative; text-align: center; }
/* 絵と絵のあいだの点線 */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(50% + 56px);
  right: calc(-50% + 42px);
  border-top: 2px dashed #cdb89e;
}
/* 点線の右端の「>」で矢印にする(2026-11-13 本人) */
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 39px;
  right: calc(-50% + 43px);
  width: 10px;
  height: 10px;
  border-top: 2px solid #cdb89e;
  border-right: 2px solid #cdb89e;
  transform: rotate(45deg);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--terracotta-deep);
}
.step-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-num {
  position: absolute;
  top: 0;
  left: calc(50% + 22px);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 10px; }
/* 使えるカードのマーク(Squareの配布画像。白地なので角を丸めた白い札に見せる。2026-11-27) */
.card-brands { margin-top: 12px; }
.card-brands img { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto; border-radius: 8px; box-shadow: 0 1px 3px rgba(80, 50, 30, 0.12); }
.steps p { font-size: 1rem; text-align: left; }

/* ---------- 代表と屋号 ---------- */
.about-inner { align-items: center; }
.about-profile {
  padding: 32px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.about-word {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  color: var(--terracotta);
  opacity: 0.75;
}

/* ---------- よくある質問(1問ずつカードに) ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: none;
  border-radius: 16px;
  background: var(--paper);
  padding: 0 24px;
}
.faq summary { padding: 20px 44px 20px 0; font-size: 1.1rem; }
.faq summary::after { top: 13px; right: 0; }

/* ---------- お問い合わせ ---------- */
.contact-box.is-reserve { box-shadow: 0 6px 0 var(--terracotta-deep); }

/* ---------- ふわっと出る動き ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-big { transition: none; }
}

/* ---------- タブレット ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps li::after,
  .steps li::before { display: none; }
}

@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { max-width: none; }
  .family-inner { gap: 20px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  .hero-badge { font-size: 0.95rem; }
  .section { padding: 56px 0; }
  .btn-big { width: 100%; min-width: 0; }
  .cta-pair { gap: 14px; }


  .case-check { grid-template-columns: 1fr; }
  .case-check li { font-size: 1.05rem; padding: 16px 2px; }

  .family-head { gap: 14px; }
  .family-icon { width: 60px; height: 60px; padding: 12px; }

  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; text-align: left; }
  .step-icon { width: 72px; height: 72px; margin: 0; grid-row: span 2; }
  .step-icon svg { width: 36px; height: 36px; }
  .step-num { left: 50px; width: 28px; height: 28px; font-size: 0.95rem; }
  .steps h3 { align-self: end; margin-bottom: 4px; }
  /* 2026-11-21 説明文が2段落あるとき(④お支払い)、2つ目が左のアイコン列に入らないよう、文はすべて右の列に置く */
  .steps li > p { grid-column: 2; }
  .steps li > p:last-child { margin-bottom: 0; }
  .card-brands img { margin: 0; max-width: 260px; }

  .cta-band { margin-top: 40px; padding: 28px 18px 32px; }
  .cta-band-title { font-size: 1.15rem; }

  .about-profile { padding: 24px; }
  .faq details { padding: 0 18px; }

  /* 下のボタン:左=ネット予約、右=LINE(押せばすぐLINEが開く) */
  body { padding-bottom: 76px; }
  .mobile-bar { grid-template-columns: 1fr 1fr; border-top: none; box-shadow: 0 -4px 16px rgba(46, 38, 34, 0.12); }
  .mobile-bar a { min-height: 64px; display: grid; place-items: center; padding: 8px; font-size: 1.15rem; }
  .mobile-bar a.is-line { background: var(--green); font-size: 1.15rem; }
}

/* ---------- スマホ・タブレットの目次(2026-11-13 本人:案1。ロゴの下に1行で。言葉は短くしない) ---------- */
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; row-gap: 10px; }
  .header-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 6px;
  }
  .header-nav a {
    flex: 1 1 auto;
    padding: 8px 6px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.95rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .header-nav a:hover { text-decoration: none; border-color: var(--terracotta); }
}
@media (max-width: 600px) {
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .header-nav { gap: 5px; }
  .header-nav a { padding: 7px 4px; font-size: 0.875rem; }
}
/* 目次で飛んだとき、見出しが上に残るヘッダーの下に隠れないようにする */
html { scroll-padding-top: 90px; }
@media (max-width: 960px) { html { scroll-padding-top: 120px; } }

/* 幅の狭いスマホで大見出しが「こ/と、」と折れないように少し小さく(2026-11-13) */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.6rem; }
}

/* 最初の画面の写真(2026-11-18 本人OK)。実績の箱は写真の下に少し重ねる */
.hero-visual { position: relative; align-self: center; }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: 0 18px 40px rgba(46, 38, 34, .18); }
.hero-visual .hero-stats { position: relative; margin: -36px 14px 0; max-width: none; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-visual .stat { padding: 12px 18px; box-shadow: 0 8px 20px rgba(46, 38, 34, .12); }
.hero-visual .stat dd { font-size: 1.05rem; }
@media (max-width: 860px) {
  .hero-visual .hero-stats { margin: 16px 0 0; }
}

/* 「こんなとき」の見出しの下の横長の写真(2026-11-18 本人OK) */
.cases-photo { margin: 0 0 32px; }
.cases-photo img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: 50% 30%; border-radius: 16px; }
@media (max-width: 860px) {
  .cases-photo img { height: 220px; }
}

/* ご家族の欄の写真(実家の玄関先。2026-11-18 本人OK) */
.family-photo { display: block; width: 100%; height: auto; margin-top: 24px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
