/* =========================================================
   整体院 ソヨミネ（制作サンプル・架空の店舗）
   スマホ表示を先に書き、画面が広いときの指定を後ろに足す作り
   ========================================================= */

:root {
  --green: #3f5e4b;       /* メインの色（深い緑） */
  --green-dark: #2c4436;
  --green-soft: #7d9a7f;
  --beige: #f4efe6;       /* 背景の色（生成り） */
  --beige-deep: #e7ded0;
  --brown: #8a735a;
  --accent: #b5533c;      /* 目立たせたい所だけに使う色 */
  --text: #2f2a25;
  --text-sub: #6b635a;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(47, 42, 37, .08);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--beige);
  padding-bottom: 72px; /* 画面下の固定電話ボタンの分 */
  -webkit-text-size-adjust: 100%;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.pc-only { display: none; }

/* ---------- 制作サンプル表示 ---------- */
.sample-bar {
  background: #2f2a25;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  padding: 8px 16px;
  text-align: center;
}
.sample-bar strong {
  display: inline-block;
  background: #f3d9a4;
  color: #2f2a25;
  padding: 1px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, .96);
  border-bottom: 1px solid var(--beige-deep);
}
.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark { width: 36px; height: 36px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--text-sub); letter-spacing: .1em; }
.logo-main { font-family: var(--font-serif); font-size: 20px; font-weight: 700; letter-spacing: .08em; }

/* ハンバーガーメニュー（スマホ） */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  cursor: pointer;
  border-radius: 8px;
}
.nav-button span { width: 24px; height: 2px; background: var(--green); transition: .2s; }
.nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-button { outline: 2px solid var(--green); }

.global-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--beige);
  border-bottom: 1px solid var(--beige-deep);
  box-shadow: var(--shadow);
  display: none;
}
.nav-toggle:checked ~ .global-nav { display: block; }
.global-nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.global-nav a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--beige-deep);
}
.global-nav .nav-cta {
  margin-top: 12px;
  text-align: center;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  border: none;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s, box-shadow .15s;
}
.btn svg { width: 20px; height: 20px; }
.btn-sub { flex-basis: 100%; text-align: center; font-size: 13px; font-weight: 400; opacity: .9; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(63, 94, 75, .3); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-light { background: var(--beige); color: var(--green-dark); }
.btn-light:hover { transform: translateY(-2px); }
.btn-large { width: 100%; max-width: 420px; font-size: 22px; padding: 18px 24px; }
.btn-disabled { background: #cfc8bd; color: #6b635a; cursor: not-allowed; width: 100%; }

/* ---------- ① ファーストビュー ---------- */
.hero { padding: 32px 0 48px; }
.hero-inner { max-width: 1040px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 28px; }
.hero-place {
  display: inline-block;
  font-size: 13px;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--beige-deep);
  border-radius: 999px;
  padding: 2px 14px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.hero-lead { color: var(--text-sub); }
.hero-actions { margin-top: 24px; }
.hero-actions .btn { width: 100%; }
.hero-hours { font-size: 13px; color: var(--text-sub); margin-top: 10px; text-align: center; }
.hero-svg { width: 100%; height: auto; border-radius: 24px; }

.photo-note {
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
  margin: 8px 0 0;
}
.photo-note::before { content: "▲ "; }

/* ---------- セクション共通 ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--white); }
.section-dark { background: var(--green); color: #fff; }
.section-label {
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--green-soft);
  margin-bottom: 4px;
  text-align: center;
}
.section-dark .section-label { color: #cfe0cf; }
.section-title {
  font-family: var(--font-serif);
  font-size: 23px;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: .05em;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px; height: 2px;
  background: var(--brown);
  margin: 14px auto 0;
}
.section-dark .section-title::after { background: #f3d9a4; }

/* ---------- ② 特徴 ---------- */
.feature-list { display: grid; gap: 20px; }
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.feature-icon { width: 56px; height: 56px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 10px; color: var(--green-dark); }
.feature p { color: var(--text-sub); margin: 0; }

/* ---------- ③ メニュー ---------- */
.sample-note {
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 24px;
}
.menu-list { display: grid; gap: 16px; }
.menu-item {
  position: relative;
  background: var(--beige);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  border: 1px solid var(--beige-deep);
}
.menu-recommend { border: 2px solid var(--green); background: #fbf9f4; }
.menu-badge {
  position: absolute;
  top: -12px; left: 18px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  padding: 2px 12px;
  border-radius: 999px;
}
.menu-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-head h3 { font-size: 17px; }
.menu-time { font-size: 13px; color: var(--text-sub); margin: 0; white-space: nowrap; }
.menu-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--green-dark);
  margin: 6px 0 6px;
  font-family: var(--font-serif);
}
.menu-price span { font-size: 13px; font-weight: 400; margin-left: 4px; font-family: var(--font); }
.menu-desc { font-size: 14px; color: var(--text-sub); margin: 0; }
.menu-notes {
  margin: 28px 0 0;
  padding: 16px 20px 16px 36px;
  font-size: 13px;
  color: var(--text-sub);
  background: var(--beige);
  border-radius: 10px;
}
.menu-notes li + li { margin-top: 4px; }

/* ---------- 初めての方へ ---------- */
.flow { list-style: none; margin: 0; padding: 0; }
.flow-step {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px; top: 44px; bottom: 4px;
  width: 2px;
  background: var(--beige-deep);
}
.flow-num {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
}
.flow-step h3 { font-size: 17px; margin: 6px 0 4px; }
.flow-step p { font-size: 15px; color: var(--text-sub); margin: 0; }

.faq { margin-top: 24px; }
.faq-title { font-size: 18px; margin-bottom: 12px; text-align: center; }
.faq details {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  padding: 16px 44px 16px 18px;
  font-weight: 700;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--green); }
.faq summary::after {
  content: "+";
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--green); font-size: 20px;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--text-sub); }

/* ---------- ④ スタッフ ---------- */
.staff { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.staff-photo svg { width: 160px; height: 160px; }
.staff-role { font-size: 13px; color: var(--green); margin: 0; letter-spacing: .1em; }
.staff-name { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.staff-name span { font-size: 13px; font-weight: 400; color: var(--text-sub); margin-left: 6px; font-family: var(--font); }
.staff-text p:not(.staff-role):not(.staff-name) { color: var(--text-sub); }

/* ---------- ⑤ アクセス ---------- */
.access { display: grid; gap: 24px; }
.map-placeholder svg { width: 100%; height: auto; border-radius: var(--radius); }
.info-table { margin: 0; }
.info-table div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--beige-deep);
}
.info-table dt { font-weight: 700; color: var(--green-dark); font-size: 14px; }
.info-table dd { margin: 0; font-size: 15px; }

.hours {
  width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 13px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
}
.hours caption { font-weight: 700; margin-bottom: 8px; text-align: left; font-size: 15px; }
.hours th, .hours td { padding: 10px 2px; border-bottom: 1px solid var(--beige-deep); }
.hours thead th { background: var(--green); color: #fff; font-weight: 400; }
.hours tbody th { font-weight: 400; white-space: nowrap; padding-left: 6px; padding-right: 6px; }
.hours td { color: var(--green); font-weight: 700; }
.hours td.off { color: var(--accent); }
.hours-note { font-size: 13px; color: var(--text-sub); margin-top: 8px; }

/* ---------- ⑥ 予約 ---------- */
#reserve .container { text-align: center; }
.reserve-lead { margin-bottom: 24px; }
.form-box {
  margin: 40px auto 0;
  max-width: 560px;
  background: var(--beige);
  color: var(--text);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: left;
}
.form-box h3 { font-size: 17px; margin-bottom: 6px; }
.form-sample-note { font-size: 12px; color: var(--accent); margin-bottom: 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 16px; /* 16px未満だとiPhoneで入力時に画面が拡大されるため */
  font-family: inherit;
  border: 1px solid #d8cfbf;
  border-radius: 8px;
  background: #fff;
}
.contact-form .form-sample-note { margin: 10px 0 0; }

/* ---------- フッター ---------- */
.site-footer {
  background: #2f2a25;
  color: #e9e4da;
  padding: 40px 0 24px;
  font-size: 13px;
  text-align: center;
}
.site-footer a { color: #f3d9a4; }
.footer-name { font-family: var(--font-serif); font-size: 18px; color: #fff; margin-bottom: 6px; }
.footer-disclaimer { color: #bdb4a8; font-size: 12px; }
.footer-sample {
  border: 1px solid #f3d9a4;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px auto;
  max-width: 560px;
  line-height: 1.7;
}
.footer-sample strong { color: #f3d9a4; font-size: 15px; }
.footer-copy { color: #9b9185; margin: 0; }

/* ---------- 画面下の固定電話ボタン（スマホのみ） ---------- */
.fixed-call {
  position: fixed;
  left: 12px; right: 12px; bottom: 10px;
  z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.fixed-call svg { width: 20px; height: 20px; }

/* =========================================================
   タブレット以上（画面幅 768px 以上）
   ========================================================= */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .fixed-call { display: none; }
  .pc-only { display: inline; }

  .nav-button { display: none; }
  .global-nav {
    position: static;
    display: block;
    background: none;
    border: none;
    box-shadow: none;
  }
  .global-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .global-nav a { border: none; padding: 8px 10px; font-size: 14px; }
  .global-nav a:hover { color: var(--green); }
  .global-nav .nav-cta { margin: 0 0 0 8px; padding: 8px 20px; }

  .hero { padding: 64px 0 72px; }
  .hero-inner { flex-direction: row; align-items: center; gap: 48px; }
  .hero-text { flex: 1.1; }
  .hero-visual { flex: 1; }
  .hero-title { font-size: 38px; }
  .hero-actions .btn { width: auto; }
  .hero-hours { text-align: left; }

  .section { padding: 80px 0; }
  .section-title { font-size: 28px; }

  .feature-list { grid-template-columns: repeat(3, 1fr); }
  .menu-list { grid-template-columns: repeat(2, 1fr); }

  .flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .flow-step { flex-direction: column; align-items: center; text-align: center; padding: 0; }
  .flow-step:not(:last-child)::before { display: none; }
  .faq { max-width: 720px; margin: 48px auto 0; }

  .staff { flex-direction: row; align-items: flex-start; max-width: 800px; margin: 0 auto; gap: 40px; }
  .staff-photo { flex: 0 0 180px; }
  .staff-photo svg { width: 180px; height: 180px; }

  .access { grid-template-columns: 1fr 1fr; align-items: start; }
  .hours { font-size: 15px; }
}
