/* すこやか整体院 — 清潔感・信頼感のあるトーン */
:root {
  --bg: #ffffff;
  --bg-alt: #f2f7f9;
  --ink: #26343c;
  --sub: #5f7079;
  --teal: #2e7d8c;
  --green: #5ba883;
  --line: #dbe6ea;
  --radius: 12px;
}

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

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

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 15px;
}

a { color: var(--teal); }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ヘッダー */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  font-size: 19px;
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
}
.nav-cta:hover { opacity: 0.9; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ヒーロー */
.hero {
  padding: 120px 0 70px;
  background: linear-gradient(160deg, #eaf4f6 0%, #f6fbf9 60%, #fff 100%);
}
.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
}
.hero h1 {
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.55;
  margin-top: 18px;
  font-weight: 900;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
  background: linear-gradient(transparent 68%, rgba(91, 168, 131, 0.35) 68%);
}
.hero-lead { margin-top: 16px; color: var(--sub); font-size: 14.5px; }
.hero-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--sub); }

.btn-primary, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  transition: transform 0.2s, opacity 0.2s;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 5px 14px rgba(46, 125, 140, 0.3); }
.btn-line { background: #06c755; color: #fff; box-shadow: 0 5px 14px rgba(6, 199, 85, 0.3); }
.btn-primary:hover, .btn-line:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-primary.large, .btn-line.large { padding: 16px 40px; font-size: 17px; }

/* 写真 */
.photo { display: block; width: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-hero { height: 300px; }
.photo-menu { height: 140px; border-radius: var(--radius) var(--radius) 0 0; }
.photo-director { height: 260px; }

/* 画像注記（AI生成／サンプル画像・差し替え可能の表示） */
.photo-frame { position: relative; display: block; }
.photo-note {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  background: rgba(10, 8, 6, 0.62);
  color: #fff;
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  padding: 3px 7px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
}

/* セクション共通 */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--green);
  font-weight: 700;
}
.section-title {
  text-align: center;
  font-size: clamp(22px, 3.6vw, 29px);
  font-weight: 900;
  margin-top: 6px;
  margin-bottom: 40px;
}

/* お悩み */
.worry-list {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  gap: 12px;
}
.worry-list li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px 14px 48px;
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
}
.worry-list li::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 13l4 4 10-10" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 12px no-repeat;
}
.worry-msg {
  margin-top: 30px;
  text-align: center;
  font-size: 15.5px;
}
.worry-msg strong { color: var(--teal); }

/* 施術メニュー */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.menu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.menu-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.menu-body h3 {
  font-size: 16.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.menu-time {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--teal);
  background: var(--bg-alt);
  border-radius: 99px;
  padding: 2px 10px;
  white-space: nowrap;
}
.menu-body p { font-size: 13px; color: var(--sub); margin-top: 8px; flex: 1; }
.menu-price {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--teal) !important;
}
.menu-price small { font-size: 12px; font-weight: 400; color: var(--sub); margin-left: 4px; }
.menu-note { margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--sub); }

/* 院長あいさつ */
.greeting {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}
.greeting-name { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.greeting-name span { font-size: 13px; font-weight: 400; color: var(--sub); margin-left: 6px; }
.greeting-text p + p { margin-top: 14px; }
.greeting-text p { font-size: 14.5px; }

/* 受付時間 */
.hours-wrap { max-width: 720px; margin: 0 auto 40px; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  font-size: 14px;
}
.hours-table th, .hours-table td {
  padding: 11px 6px;
  border: 1px solid var(--line);
}
.hours-table thead th {
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.hours-table tbody th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.hours-table td { color: var(--teal); font-weight: 700; }
.hours-table td.closed { color: #b6c2c8; font-weight: 400; }
.hours-note { margin-top: 10px; font-size: 12.5px; color: var(--sub); text-align: center; }

/* アクセス */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-table th, .info-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 96px; background: var(--bg-alt); font-weight: 700; white-space: nowrap; }
.map-ph {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--sub);
  min-height: 240px;
  font-size: 14px;
}
.map-ph small { opacity: 0.75; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--teal), #3d95a6);
  color: #fff;
  padding: 66px 0;
  text-align: center;
}
.cta h2 { font-size: clamp(21px, 3.4vw, 27px); font-weight: 900; }
.cta p { margin-top: 10px; font-size: 14px; opacity: 0.95; }
.cta-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta .btn-primary { background: #fff; color: var(--teal); box-shadow: none; }

/* フッター */
.site-footer {
  background: #1f2c33;
  color: #c3d2d8;
  text-align: center;
  padding: 34px 0;
}
.footer-brand { font-size: 17px; font-weight: 700; color: #fff; }
.footer-addr { font-size: 12.5px; margin-top: 8px; }
.footer-copy { font-size: 11.5px; margin-top: 14px; opacity: 0.7; }

/* フェードイン */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

/* レスポンシブ */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .photo-hero { height: 220px; }
  .menu-grid { grid-template-columns: 1fr; }
  .greeting { grid-template-columns: 1fr; }
  .photo-director { max-width: 320px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 24px; width: 100%; text-align: center; }
  .nav-cta { width: auto !important; margin: 8px auto 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 100px 0 56px; }
  .section { padding: 56px 0; }
  .access-grid { grid-template-columns: 1fr; }
  .map-ph { min-height: 200px; }
  .hours-table { font-size: 12.5px; }
  .btn-primary.large, .btn-line.large { width: 100%; max-width: 340px; }
}
