/*
 * ラッティモ スタイルシート
 *
 * 方針
 * ・年配の方が読みやすいよう、文字は大きめ(本文18px)、行間は広め
 * ・色は「生成りの紙」に「こげ茶の文字」。アクセントはテラコッタ(イタリアの素焼きの色)
 * ・グラデーションや派手な影は使わず、落ち着いた手ざわりにする
 */

/* ---------- 色と基本の値(ここを変えるとサイト全体の色が変わります) ---------- */
:root {
  --paper: #fbf7f0;       /* 背景:生成り */
  --paper-deep: #f2e9da;  /* 少し濃い背景 */
  --ink: #2e2622;         /* 文字:こげ茶 */
  --ink-soft: #5e534c;    /* 補足の文字 */
  --line: #ddd0bd;        /* 罫線 */
  --terracotta: #b0502c;  /* アクセント */
  --terracotta-deep: #8f3f21;
  --green: #1f7a45;       /* LINEボタン(読みやすさのため公式色より濃く) */
  --line-green: #06c755;  /* LINEの公式の色(問い合わせのLINEの箱。2026-11-06 本人) */
  --white: #fff;

  --font-body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-head: "Zen Maru Gothic", "BIZ UDPGothic", sans-serif;

  --wrap: 1040px;
}

/* ---------- 全体 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;   /* 18px */
  line-height: 1.85;
  letter-spacing: 0.02em;
}

img { max-width: 100%; height: auto; }

a { color: var(--terracotta-deep); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.nowrap { white-space: nowrap; }

.note {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- ヘッダー ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: auto;
  flex-shrink: 0;
}

.logo-sub {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  padding-right: 10px;
}

.logo-main {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--terracotta-deep);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-sub {
  display: flex;
  gap: 14px;
  font-size: 0.95rem;
}

.header-sub a {
  color: var(--ink-soft);
  text-decoration: none;
}

.header-sub a:hover { color: var(--terracotta-deep); text-decoration: underline; }

/* ---------- 最初の画面 ---------- */
.hero {
  padding: 56px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 24px;
}

.hero-lead { max-width: 34em; }

.hero-free strong {
  display: inline-block;
  background: var(--paper-deep);
  border-left: 4px solid var(--terracotta);
  padding: 4px 14px;
  font-size: 1.2rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: var(--white);
}

.btn-reserve { background: var(--terracotta); }
.btn-reserve:hover { background: var(--terracotta-deep); }

.btn-small {
  min-width: 0;
  padding: 10px 22px;
  font-size: 1rem;
}

/* 予約ボタンのすぐそばの「LINEで『予約したい』と送るだけ」の一文(2026-11-13) */
.cta-line {
  margin: 12px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.cta-line a { color: var(--green); }

.cta-sub {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* 実績の数字 */
.hero-stats {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 360px;
  display: grid;
  gap: 16px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--terracotta);
  border-radius: 12px;
  padding: 18px 24px;
}

.stat dt {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.stat dd {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}

.stat strong {
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--terracotta-deep);
  margin: 0 4px;
}

/* 写真が入るまでの仮の枠 */
.photo-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  border: 2px dashed var(--line);
  border-radius: 16px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}

.photo-placeholder.small {
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 16px;
}

/* 店主のイラスト(丸く切り抜く) */
.about-illust {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 28px;
}

/* 見出しの下の短い線 */
.section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 10px;
  background: var(--terracotta);
  border-radius: 2px;
}

.section-lead { max-width: 40em; }

.sub-heading {
  font-size: 1.3rem;
  margin: 44px 0 18px;
}

/* ---------- こんなとき(チェックリスト) ---------- */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

.checklist li {
  position: relative;
  padding: 14px 0 14px 40px;
  border-bottom: 1px dashed var(--line);
}

/* 手書き風のチェック印 */
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ink-soft);
  border-radius: 4px;
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 17px;
  width: 9px;
  height: 18px;
  border: solid var(--terracotta);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}

/* ---------- ご家族向け ---------- */
.family { background: var(--paper-deep); }

.family-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 40px;
}

/* ---------- 料金 ---------- */
.examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* レシート風の料金例 */
.receipt {
  background: var(--white);
  padding: 22px 22px 28px;
  border: 1px solid var(--line);
  /* 下のふちをレシートのようなギザギザにする */
  -webkit-mask:
    linear-gradient(#000, #000) top / 100% calc(100% - 6px) no-repeat,
    radial-gradient(circle at 6px 100%, transparent 5px, #000 5.5px) bottom / 12px 7px repeat-x;
  mask:
    linear-gradient(#000, #000) top / 100% calc(100% - 6px) no-repeat,
    radial-gradient(circle at 6px 100%, transparent 5px, #000 5.5px) bottom / 12px 7px repeat-x;
}

.receipt h3 {
  font-size: 1.15rem;
}

.receipt-place {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.receipt ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
}

.receipt li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dotted var(--line);
}

/* 金額は途中で改行させない */
.receipt li span:last-child { white-space: nowrap; }

.receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
}

.receipt-total strong {
  font-size: 1.7rem;
  color: var(--terracotta-deep);
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

.menu-table th,
.menu-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.menu-table td {
  text-align: right;
  white-space: nowrap;
}

.menu-name {
  display: block;
  font-weight: 700;
}

.menu-note {
  display: block;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.price {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
}

.price small { font-size: 0.9rem; }
.price .price-suffix { display: block; font-weight: 400; }

.price-ex {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* 出張費(一律) */
[data-travel-fee] { white-space: nowrap; }

.hero-free small,
.fee-group-title small {
  font-size: 0.8em;
  font-weight: 400;
}

/* 出張費ごとのエリア */
.fee-group { margin-bottom: 28px; }

.fee-group-title {
  margin: 0;
  padding: 8px 0;
  font-family: var(--font-head);
  font-size: 1.3rem;
  border-bottom: 2px solid var(--ink);
}

.area-list { margin: 0; }

.area-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.area-row dt { font-weight: 700; }

.area-row dd { margin: 0; }

/* 出張費エリアの地図 */
.area-map { margin: 28px 0 8px; }
.area-map img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.area-map figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* ---------- ご依頼の流れ ---------- */
.flow {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow li {
  counter-increment: step;
  position: relative;
  padding-top: 56px;
}

/* 丸い番号 */
.flow li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--terracotta-deep);
}

.flow h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.flow p { font-size: 1rem; }

/* ---------- 店主と屋号 ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
}

.about-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
}

/* ---------- よくある質問 ---------- */
.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 18px 40px 18px 0;
  font-weight: 700;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 12px;
  font-size: 1.6rem;
  color: var(--terracotta);
}

.faq details[open] summary::after { content: "−"; }

.faq details p { padding-bottom: 8px; }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--paper-deep); }

.contact-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-or {
  margin: 28px 0 12px;
  color: var(--ink-soft);
}

.contact-box {
  display: block;
  padding: 28px;
  background: var(--white);
  border: 2px solid var(--terracotta);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
}

.contact-box.is-line { border-color: var(--green); }

/* ご意見・ご感想(予約の区切りとは背景を変えて離す。2026-11-21) */
.feedback {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.feedback-box {
  display: block;
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--white);
  border: 1px dashed var(--ink-soft);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
}
.feedback-box:hover { border-style: solid; border-color: var(--terracotta); }
.feedback-label { display: block; font-size: 0.95rem; color: var(--ink-soft); }
.feedback-main {
  display: block;
  margin: 4px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
}
.feedback-arrow { margin-left: 8px; color: var(--terracotta); }
.feedback-sub { display: block; font-size: 0.95rem; color: var(--ink-soft); }

/* ネット予約(いちばん大きく) */
.contact-box.is-reserve {
  margin-top: 24px;
  padding: 32px;
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.contact-box.is-reserve:hover { background: var(--terracotta-deep); }

.contact-box.is-reserve .contact-box-label,
.contact-box.is-reserve .contact-box-sub { color: #f6e4da; }

/* 小さい3つの枠 */
.contact-boxes .contact-box { padding: 20px; border-width: 1px; border-color: var(--line); }
/* LINEの箱:白い箱+LINEの公式の緑の太い枠と札(2026-11-07 本人が決定。緑で塗る形は字が読みにくかった) */
.contact-boxes .contact-box.is-line {
  background: var(--white);
  border: 4px solid var(--line-green);
  color: var(--ink);
}
.contact-boxes .contact-box.is-line:hover { background: #f1fbf5; }
.contact-boxes .contact-box.is-line .contact-box-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 16px;
  background: var(--line-green);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 999px;
}
/* LINE・メールの箱の文字は少し大きめ(2026-11-06 本人) */
.contact-boxes .contact-box-main { font-size: 1.4rem; }
.contact-boxes .contact-box-label,
.contact-boxes .contact-box-sub { font-size: 1.05rem; }
.contact-box-main.is-mail { overflow-wrap: anywhere; }

/* メールの箱:アドレスだけがリンク。コピーボタン付き */
.contact-box.is-mail-box .contact-box-main { color: var(--ink); text-decoration: none; }
.contact-box.is-mail-box .contact-box-sub { display: block; }
.contact-box.is-mail-box .contact-box-main:hover { color: var(--terracotta-deep); text-decoration: underline; }

/* 電話の箱:番号だけがリンク(スマホで押すと電話がかかる)。下に覚え方(2026-11-17) */
.contact-box.is-tel-box .contact-box-main { color: var(--ink); text-decoration: none; white-space: nowrap; }
.contact-box.is-tel-box .contact-box-main:hover { color: var(--terracotta-deep); text-decoration: underline; }
.contact-box.is-tel-box .contact-box-sub { display: block; margin-top: 8px; }
.tel-goro {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 12px;
  background: var(--paper);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--terracotta-deep);
}
.tel-goro > span { white-space: nowrap; }
.tel-goro b { font-weight: 400; font-size: .85em; color: var(--ink-soft); }

.footer-tel a { color: var(--white); }
/* フッターの「作業前の確認事項」「個人情報の取り扱い」へのリンク(2026-11-17) */
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { color: #e9e0d4; }

.copy-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  background: var(--paper);
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  cursor: pointer;
}

.copy-btn:hover { background: var(--paper-deep); }

.copy-done {
  display: block;
  min-height: 1.5em;
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--green);
}

.contact-box-label {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.contact-box-main {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-box-sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 40px 0 48px;
  background: var(--ink);
  color: #e9e0d4;
  font-size: 0.95rem;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.copyright { margin: 24px 0 0; opacity: 0.7; }

/* ---------- スマホ用の下部ボタン(パソコンでは隠す) ---------- */
.mobile-bar { display: none; }

/* ---------- スマホ・タブレット向けの調整 ---------- */
@media (max-width: 860px) {
  .hero-inner,
  .family-inner,
  .about-inner { grid-template-columns: 1fr; gap: 28px; }

  .hero { padding: 36px 0 48px; }
  .hero-stats { max-width: none; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 14px 16px; }
  .stat strong { font-size: 2rem; }

  .examples { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .contact-boxes { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }

  /* ヘッダーの予約ボタン・連絡先は下部ボタンに任せる */
  .header-contact { display: none; }
  .logo-main { font-size: 1.5rem; }
  .logo-mark { width: 38px; }

  .section { padding: 48px 0; }

  .checklist { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li { padding: 0 0 0 58px; }

  .btn { width: 100%; }

  .menu-table th,
  .menu-table td { display: block; text-align: left; padding: 12px 16px; }
  .menu-table th { border-bottom: none; padding-bottom: 0; }

  .area-row { grid-template-columns: 1fr; gap: 4px; }

  .contact-boxes { grid-template-columns: 1fr; }
  .contact-box.is-reserve { padding: 24px; }
  .contact-box.is-reserve .contact-box-main { font-size: 1.5rem; }

  /* 下部ボタンの分だけ、ページの最後に余白を足す */
  body { padding-bottom: 72px; }

  .mobile-bar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    border-top: 1px solid var(--line);
  }

  .mobile-bar a {
    display: block;
    padding: 18px 8px;
    background: var(--terracotta);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
  }

  .mobile-bar a.is-sub { background: var(--ink); font-size: 0.95rem; }
}
