/* ============================================
   鍼灸治療院 鶴舞社中  スタイルシート
   ============================================ */
:root {
  --ink: #3a2f28;            /* 墨色（本文） */
  --ink-light: #6e5f52;
  --shu: #c2571d;            /* 朱色（アクセント） */
  --shu-dark: #a34614;
  --kinari: #faf6ee;         /* 生成り（背景） */
  --kinari-deep: #f3ecdd;    /* 少し濃い生成り */
  --white: #fffdf8;
  --line: #e0d5c2;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --brush: "Yuji Boku", "Shippori Mincho", serif;
}

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

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--kinari);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--shu); }

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.pc-only { display: inline; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--kinari);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-small { font-size: 11px; letter-spacing: .2em; color: var(--ink-light); }
.brand-name { font-family: var(--brush); font-size: 24px; font-weight: 400; letter-spacing: .1em; }

/* ===== 屋号ワードマーク（images/wordmark.png があれば画像、なければ筆文字フォント） ===== */
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { mix-blend-mode: multiply; }
.wordmark .wordmark-text { display: none; }
.wordmark.no-img img { display: none; }
.wordmark.no-img .wordmark-text { display: inline; }
.brand-name.wordmark img { height: 30px; width: auto; }

.global-nav { display: flex; gap: 20px; margin-left: auto; }
.global-nav a {
  text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: .2s;
}
.global-nav a:hover { color: var(--shu); border-bottom-color: var(--shu); }

.header-tel { text-decoration: none; text-align: center; color: var(--ink); line-height: 1.3; }
.tel-label { display: block; font-size: 10px; color: var(--ink-light); letter-spacing: .1em; }
.tel-number { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--shu); }

.nav-toggle { display: none; }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: #2e251f;
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 72px 24px 80px;
}

/* 背景スライドショー */
.hero-bg { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
}
/* 文字を読みやすくする暗めのオーバーレイ */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28, 20, 12, .58) 0%, rgba(28, 20, 12, .46) 55%, rgba(28, 20, 12, .58) 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: 96px; height: 96px; margin: 0 auto 20px; filter: drop-shadow(0 4px 12px rgba(163, 70, 20, .25)); }
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 26px; }
.hero-brand-small { font-size: 14px; letter-spacing: .5em; text-indent: .5em; color: #e8dcc8; }
.hero-wordmark { font-family: var(--brush); font-size: clamp(40px, 7vw, 58px); letter-spacing: .16em; color: #fff; line-height: 1.2; }
.hero-wordmark img { height: clamp(52px, 9vw, 76px); width: auto; }
.hero-sub { font-size: 13px; letter-spacing: .3em; color: #f0c98a; margin-bottom: 14px; }
.hero-title {
  font-family: var(--serif); font-size: clamp(32px, 6vw, 52px);
  font-weight: 700; letter-spacing: .14em; line-height: 1.5; margin-bottom: 24px;
  color: #fff; text-shadow: 0 2px 16px rgba(20, 14, 8, .45);
}
.hero-lead { color: #efe6d7; margin-bottom: 36px; text-shadow: 0 1px 8px rgba(20, 14, 8, .5); }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--shu-dark); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 36px; border-radius: 999px; text-decoration: none;
  font-family: var(--serif); font-weight: 700; letter-spacing: .08em;
  transition: .2s; line-height: 1.4;
}
.btn small { font-family: var(--sans); font-weight: 400; font-size: 11px; opacity: .85; }
.btn-primary { background: var(--shu); color: #fff; font-size: 22px; box-shadow: 0 4px 14px rgba(194, 87, 29, .35); }
.btn-primary:hover { background: var(--shu-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--shu); color: var(--shu); font-size: 15px; background: transparent; }
.btn-ghost:hover { background: var(--shu); color: #fff; }
.btn-large { font-size: 30px; padding: 18px 56px; }

/* ===== セクション共通 ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--kinari-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 34px); font-weight: 700;
  letter-spacing: .14em; text-align: center; margin-bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.section-title .en {
  font-size: 12px; letter-spacing: .35em; color: var(--shu); font-family: var(--sans); font-weight: 500;
}
.section-title::after {
  content: ""; width: 48px; height: 3px; background: var(--shu); border-radius: 2px; margin-top: 14px;
}
.section-lead { text-align: center; margin: -16px auto 40px; color: var(--ink-light); max-width: 720px; }
/* 文単位で折り返す（センター揃えの改行バランス調整） */
.section-lead .u { display: inline-block; }
.accent { color: var(--shu); font-weight: 700; }

/* ===== ごあいさつ ===== */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; margin-bottom: 56px; }
.about-photo, .profile-photo { position: relative; }
.about-photo img:not(.photo-fallback img),
.profile-photo img { border-radius: 8px; box-shadow: 0 6px 20px rgba(58, 47, 40, .15); }
.photo-fallback {
  display: none; aspect-ratio: 3 / 4; border-radius: 8px;
  background: var(--kinari-deep); border: 1px solid var(--line);
  align-items: center; justify-content: center;
}
.photo-fallback img { width: 45%; opacity: .5; }
figure.no-photo > img { display: none; }
figure.no-photo .photo-fallback { display: flex; }
.about-photo figcaption {
  margin-top: 12px; text-align: center; font-family: var(--serif); font-size: 18px; font-weight: 600;
}
.about-photo figcaption span { display: block; font-family: var(--sans); font-size: 12px; color: var(--ink-light); }
.about-catch { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 2; margin-bottom: 20px; color: var(--shu-dark); }
.about-text p + p { margin-top: 14px; }
.signature { text-align: right; font-family: var(--serif); font-weight: 600; margin-top: 24px; }

.feature-list {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feature-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px;
}
.feature-list h3 {
  font-family: var(--serif); font-size: 18px; color: var(--shu-dark); margin-bottom: 8px;
  padding-left: 14px; border-left: 3px solid var(--shu);
}
.feature-list p { font-size: 14px; color: var(--ink-light); }

/* ===== 料金表 ===== */
.menu-block { max-width: 760px; margin: 0 auto 40px; }
.menu-heading {
  font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 14px;
  padding-left: 14px; border-left: 4px solid var(--shu);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.menu-heading .note { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--ink-light); }
.menu-sub { font-size: 14px; color: var(--ink-light); margin-bottom: 10px; }

.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: none; }
.price-table .desc { display: block; font-size: 12px; font-weight: 400; color: var(--ink-light); }
.price-table .price { text-align: right; font-family: var(--serif); font-size: 18px; font-weight: 700; white-space: nowrap; width: 8em; }
.price-table .price em { font-style: normal; color: var(--shu); }
.menu-note { font-size: 14px; color: var(--ink-light); margin-top: 10px; }
.menu-note.right { text-align: right; font-size: 13px; margin-top: 8px; }

/* ===== 陶板浴 ===== */
.touban-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; max-width: 900px; margin: 0 auto; }
.touban-text p { margin-bottom: 16px; }
.touban-photo { margin-top: 20px; }
.touban-photo img {
  width: 100%; border-radius: 10px; border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(58, 47, 40, .12);
}
.touban-photo figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-light); text-align: center; }
.touban-points .touban-photo { margin: 0 0 20px; }
.touban-points ul { list-style: none; display: grid; gap: 12px; }
.touban-points li {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--shu);
  border-radius: 8px; padding: 14px 20px; font-family: var(--serif); font-weight: 600; font-size: 17px;
}

/* ===== 対応症状 ===== */
.symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.symptom-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.symptom-card h3 {
  font-family: var(--serif); font-size: 17px; color: var(--shu-dark); margin-bottom: 6px;
}
.symptom-card p { font-size: 14px; color: var(--ink-light); }
.symptom-footer { text-align: center; margin-top: 32px; font-family: var(--serif); font-size: 18px; font-weight: 600; }

/* ===== 院長紹介 ===== */
.profile-head { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; margin-bottom: 48px; }
.profile-name { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: .1em; }
.profile-name span { font-size: 13px; font-family: var(--sans); font-weight: 400; color: var(--ink-light); margin-left: 12px; letter-spacing: .2em; }
.profile-title { color: var(--shu-dark); font-weight: 700; margin-bottom: 14px; }
.profile-intro p + p { margin-top: 12px; }
.profile-motto { background: var(--kinari-deep); border-radius: 8px; padding: 16px 20px; font-size: 14px; }
.profile-motto strong { font-family: var(--serif); font-size: 17px; }

/* ラジオ出演 */
.profile-radio {
  margin-top: 16px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--shu);
  border-radius: 8px;
}
.radio-badge {
  display: inline-block; background: var(--shu); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .15em;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 8px;
}
.radio-title { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); }
.radio-note { font-size: 13px; color: var(--ink-light); margin-top: 4px; }
.sp-only { display: none; }

.history-heading {
  font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 18px;
  padding-left: 14px; border-left: 4px solid var(--shu);
}
.history { border-top: 1px solid var(--line); }
.history > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.history dt { font-weight: 700; color: var(--shu-dark); font-size: 14px; padding-top: 2px; white-space: nowrap; }
.history dd { font-size: 14.5px; }

/* ===== 診療時間・アクセス ===== */
.access-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-bottom: 40px; }

.hours-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-size: 14px; }
.hours-table th, .hours-table td { border: 1px solid var(--line); padding: 10px 6px; text-align: center; }
.hours-table thead th { background: var(--shu); color: #fff; font-family: var(--serif); }
.hours-table thead th:first-child { background: var(--shu-dark); }
.hours-table tbody th { background: var(--kinari-deep); font-weight: 600; white-space: nowrap; padding: 10px 12px; }
.hours-table td { color: var(--shu); font-weight: 700; }
.hours-table td.closed { color: #b0453c; background: #faf0ee; font-weight: 600; }
.hours-table td.special { color: var(--ink-light); font-weight: 600; font-size: 12px; }
.hours-notes { list-style: none; margin-top: 14px; font-size: 13px; color: var(--ink-light); }
.hours-notes li { padding-left: 1em; text-indent: -1em; }

.info-list { border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 700; color: var(--shu-dark); }
.info-list dd { font-size: 15px; }
.tel-link { font-family: var(--serif); font-size: 20px; font-weight: 700; text-decoration: none; }

.map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(58, 47, 40, .08); }
.map-wrap iframe { display: block; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--shu-dark) 0%, var(--shu) 100%);
  color: #fff; text-align: center; padding: 64px 24px;
}
.cta-catch { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: .14em; margin-bottom: 8px; }
.cta-text { font-size: 14px; opacity: .9; margin-bottom: 28px; letter-spacing: .1em; }
.cta .btn-primary { background: #fff; color: var(--shu-dark); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.cta .btn-primary:hover { background: var(--kinari); }

/* ===== フッター ===== */
.site-footer { background: #2e251f; color: #d8cbb8; padding: 48px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { width: 56px; margin-bottom: 12px; }
.footer-name { font-family: var(--brush); font-size: 22px; font-weight: 400; color: #fff; margin-bottom: 8px; }
.footer-addr { font-size: 13px; }
.footer-sns-title { font-family: var(--serif); font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-links ul { list-style: none; font-size: 13px; display: grid; gap: 6px; }
.footer-links a { color: #f0c98a; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: #fff; }
.copyright { text-align: center; font-size: 12px; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .header-tel { display: none; }
  .global-nav {
    position: fixed; inset: 64px 0 auto 0; background: var(--kinari);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(58, 47, 40, .12);
    transform: translateY(-130%); transition: transform .25s ease; z-index: 99;
  }
  .global-nav.open { transform: translateY(0); }
  .global-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 10px;
    background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .pc-only { display: none; }
  .sp-only { display: inline; }
  .section { padding: 56px 0; }
  .about-grid, .profile-head, .access-grid, .touban-grid, .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-photo, .profile-photo { max-width: 260px; margin: 0 auto; }
  .feature-list, .symptom-grid { grid-template-columns: 1fr; }
  .history > div { grid-template-columns: 1fr; gap: 2px; }
  .history dt { padding-top: 0; }
  .hours-table { font-size: 12.5px; }
  .hours-table tbody th { padding: 10px 6px; }
  .btn-large { font-size: 24px; padding: 16px 36px; }
}
