/* ===== いわね整体 サイト共通スタイル =====
   方針：シンプル・クリーン・スマホ最優先
   アクセント色を変える場合は :root の --accent を変更 */

:root {
  /* まつむら鍼灸整骨院を参考にした 茶×クリームの温かい配色 */
  --accent: #654434;        /* 濃い茶：見出し・アイコン */
  --accent-warm: #b6691b;   /* オレンジ茶：サブアクセント */
  --accent-light: #f8efe3;  /* セクション背景のクリーム */
  --ink: #2b2521;           /* 本文の文字色 */
  --ink-soft: #6b5f55;      /* 補足の文字色 */
  --line-green: #06c755;    /* LINEブランド色 */
  --bg: #ffffff;
  --border: #e8ddcf;
}

/* 見出しはまつむら同様の明朝体 */
h1, h2, h3, .logo, .hero-lead {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.sp-only { display: block; }
.pc-only { display: none; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* backdrop-filterを使うと.global-navのfixed基準がヘッダーに固定されるため不透明背景にする */
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.06em;
}
.logo span { color: var(--accent); }
.header-cta {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
}

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(180deg, var(--accent-light) 0%, #ffffff 100%);
  padding: 56px 20px 40px;
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-lead {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.hero-sub {
  margin-top: 20px;
  font-size: 16px;
  color: var(--ink-soft);
}
.hero-tags {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.hero .btn-line { margin-top: 24px; }
.hero-photo {
  margin: 36px auto 0;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
}

/* 写真プレースホルダー */
.placeholder-photo {
  background: repeating-linear-gradient(
    45deg, #f5ede1, #f5ede1 12px, #ede1d0 12px, #ede1d0 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

/* ===== 共通セクション ===== */
.section { padding: 56px 20px; }
.section-alt { background: var(--accent-light); }
.section-inner { max-width: 720px; margin: 0 auto; }

.section h2 {
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 14px;
}
.section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.section-lead {
  text-align: center;
  color: var(--ink-soft);
  margin: -12px 0 28px;
}
.section-note {
  margin-top: 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}

/* ===== こんな方へ ===== */
.check-list { list-style: none; }
.check-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px 14px 46px;
  margin-bottom: 10px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== 施術の流れ ===== */
.flow-list { list-style: none; }
.flow-list li {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(38, 49, 47, 0.06);
}
.flow-step {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-list h3 { font-size: 17px; margin-bottom: 4px; }
.flow-list p { font-size: 15px; color: var(--ink-soft); }

/* ===== ポリシー ===== */
.policy-grid { display: grid; gap: 14px; }
.policy-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  background: #fff;
}
.policy-card h3 {
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 8px;
}
.policy-card p { font-size: 15px; color: var(--ink-soft); }

/* ===== 料金 ===== */
.price-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(38, 49, 47, 0.06);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  gap: 12px;
}
.price-row + .price-row { border-top: 1px solid var(--border); }
.price-name { font-weight: 700; }
.price-name span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
}
.price-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.price-notes {
  margin-top: 18px;
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
}
.price-notes li {
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 6px;
}
.price-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
}
.price-group-title {
  font-size: 17px;
  margin: 28px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  line-height: 1.5;
}
.price-group-title:first-of-type { margin-top: 4px; }
.price-group-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin: -2px 0 12px;
}

/* ===== プロフィール ===== */
.profile-wrap { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  flex-shrink: 0;
}
.profile-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.profile-name span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--accent);
}
.profile-body p { font-size: 15px; margin-bottom: 10px; }
.career-list {
  list-style: none;
  margin: 8px 0 12px;
  font-size: 14px;
  color: var(--ink-soft);
}
.career-list li {
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.career-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== 施術場所 ===== */
.place-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(38, 49, 47, 0.06);
}
.place-card h3 {
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 8px;
}
.place-card p { font-size: 15px; color: var(--ink-soft); }
.place-note { margin-bottom: 12px; }
.place-detail {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 6px 12px;
  font-size: 15px;
}
.place-detail dt {
  font-weight: 700;
  color: var(--ink);
}
.place-detail dd { color: var(--ink-soft); }

/* ===== FAQ ===== */
.faq-list { }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq-item dt {
  font-weight: 700;
  padding-left: 30px;
  position: relative;
  margin-bottom: 6px;
}
.faq-item dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.faq-item dd {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 30px;
  position: relative;
}
.faq-item dd::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  color: #b0885a;
  font-weight: 700;
}

/* ===== 予約CTA ===== */
.section-cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
}
.section-cta h2 { color: #fff; }
.section-cta h2::after { background: rgba(255, 255, 255, 0.6); }
.section-cta p { font-size: 15px; }
.cta-note {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.85;
}

/* ===== LINEボタン ===== */
.btn-line {
  display: inline-block;
  background: var(--line-green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 999px;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(6, 199, 85, 0.45);
}
.btn-line-large {
  margin-top: 20px;
  padding: 16px 56px;
  font-size: 17px;
}

/* ===== フッター ===== */
.site-footer {
  background: #2b2521;
  color: #d9d0c7;
  padding: 40px 20px 96px; /* 下部は追従ボタンぶん余白 */
  text-align: center;
}
.footer-logo {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.footer-nav a { color: #d9d0c7; }
.footer-note {
  font-size: 13px;
  margin-top: 6px;
}
.footer-nav { margin-top: 14px; }
.footer-nav a {
  color: #cfd9d6;
  font-size: 13px;
  text-decoration: underline;
}
.copyright {
  margin-top: 18px;
  font-size: 12px;
  opacity: 0.7;
}

/* ===== スマホ追従ボタン ===== */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(6px);
  text-align: center;
  z-index: 100;
}
.sticky-cta .btn-line {
  display: block;
  padding: 13px 0;
}

/* ===== PC ===== */
@media (min-width: 768px) {
  .sp-only { display: none; }
  .pc-only { display: block; }
  body { font-size: 17px; }

  .hero { padding: 88px 20px 64px; }
  .hero-lead { font-size: 40px; }
  .hero-sub { font-size: 17px; }

  .section { padding: 72px 20px; }
  .section h2 { font-size: 28px; }

  .policy-grid { grid-template-columns: repeat(3, 1fr); }

  .profile-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
  .profile-photo { width: 160px; height: 160px; }

  .site-footer { padding-bottom: 40px; }
}

/* ===== グローバルナビ（ハンバーガーメニュー） ===== */
.header-right { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 1px; }
.global-nav {
  display: none;
  position: fixed;
  top: 69px; /* ヘッダーの高さぶん下から。ヘッダーは見えたまま＝ボタンで閉じられる */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #fffcf7;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
body.nav-open .global-nav { display: flex; }
body.nav-open { overflow: hidden; }
.global-nav a {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  color: var(--accent);
  text-decoration: none;
  padding: 10px 24px;
}
.global-nav a.nav-reserve {
  margin-top: 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 12px 40px;
}

/* ===== 下層ページ共通 ===== */
.page-hero {
  background: var(--accent-light);
  padding: 44px 20px;
  text-align: center;
}
.page-hero h1 {
  font-size: 26px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.page-hero p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.lead-note {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
}

/* お知らせ一覧 */
.news-list { list-style: none; }
.news-list li { border-bottom: 1px solid var(--border); padding: 20px 4px; }
.news-date {
  font-size: 13px;
  color: var(--accent-warm);
  font-weight: 700;
  display: block;
}
.news-title { font-size: 17px; font-weight: 700; margin: 4px 0 6px; }
.news-body { font-size: 15px; color: var(--ink-soft); }

/* プライバシーポリシー等の文章ページ */
.doc-body h2 {
  text-align: left;
  font-size: 19px;
  margin: 36px 0 12px;
  padding-bottom: 8px;
}
.doc-body h2::after { left: 0; transform: none; }
.doc-body p, .doc-body li { font-size: 15px; color: var(--ink); }
.doc-body ul { padding-left: 1.4em; margin: 8px 0; }

/* 地図プレースホルダー */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .page-hero { padding: 64px 20px; }
  .page-hero h1 { font-size: 32px; }
}

/* セクション末尾の「くわしく見る」リンク */
.more-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: var(--accent-warm);
  font-weight: 700;
  text-decoration: none;
}
.more-link::after { content: " »"; }
.more-link:hover { text-decoration: underline; }

/* 地図の埋め込み */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: block;
}

/* ===== LINE QR（予約セクション） ===== */
.line-qr { display:flex; flex-direction:column; align-items:center; gap:10px; margin:18px auto 22px; }
.line-qr img { width:140px; height:140px; background:#fff; padding:10px; border-radius:10px; box-shadow:0 1px 4px rgba(38,49,47,.08); }
.line-qr p { font-size:14px; text-align:center; line-height:1.8; color:rgba(255,255,255,.88); }
.line-qr strong { font-size:17px; letter-spacing:.04em; color:#fff; }
