/* ==========================================================
   こもれび整体院 — 自主制作サンプル
   トンマナ: 落ち着いたナチュラル(テラコッタ×クリーム×アースカラー)
   ========================================================== */

:root {
  --color-cream: #FBF6EE;
  --color-cream-deep: #F2E7D8;
  --color-terracotta: #B96A4C;
  --color-terracotta-dark: #9A5540;
  --color-earth: #6E5645;
  --color-sage: #8C9A7B;
  --color-sage-dark: #5C7052;
  --color-text: #3A2E26;
  --color-text-soft: #6B5D52;
  --color-white: #FFFFFF;
  --color-border: #E3D6C4;

  --font-heading: "Shippori Mincho", serif;
  --font-body: "Noto Sans JP", sans-serif;

  --max-width: 1080px;
  --radius-lg: 32px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.5;
  margin: 0;
}

p {
  margin: 0;
}

ul, ol, dl {
  margin: 0;
  padding: 0;
}

/* ---------- 架空サイトのお知らせバナー ---------- */

.sample-banner {
  background: var(--color-earth);
  color: var(--color-cream);
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 16px;
  line-height: 1.5;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-terracotta-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text-soft);
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--color-terracotta-dark);
}

.nav-cta {
  background: var(--color-terracotta);
  color: var(--color-white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--color-terracotta-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- ボタン共通 ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--color-terracotta-dark);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(154, 85, 64, 0.32);
}

.btn-primary:hover {
  background: #7E4433;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-terracotta-dark);
  border: 1.5px solid var(--color-terracotta);
}

.btn-ghost:hover {
  background: var(--color-cream-deep);
}

.btn-large {
  padding: 18px 32px;
  font-size: 1rem;
}

.btn-line {
  background: var(--color-sage-dark);
  color: var(--color-white);
}

.btn-line:hover {
  opacity: 0.9;
}

/* ---------- ヒーロー ---------- */

.hero {
  position: relative;
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding: 0 24px;
}

.hero-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.hero-content {
  position: relative;
  margin-top: -20px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 28px 8px 8px;
}

.hero-eyebrow {
  color: var(--color-terracotta-dark);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* デスクトップ: 写真の左側の余白にテキストを重ねる */
@media (min-width: 860px) {
  .hero {
    display: grid;
  }
  .hero-photo {
    grid-row: 1;
    grid-column: 1;
  }
  .hero-content {
    grid-row: 1;
    grid-column: 1;
    align-self: center;
    margin-top: 0;
    background: transparent;
    max-width: 46%;
    padding: 0 0 0 48px;
  }
}

/* ---------- セクション共通 ---------- */

.section {
  padding: 88px 24px;
}

.section-alt {
  background: var(--color-cream-deep);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-eyebrow {
  color: var(--color-terracotta-dark);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 20px;
}

.section-lead {
  color: var(--color-text-soft);
  margin-bottom: 32px;
}

/* ---------- 選ばれる理由 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
}

.feature-icon {
  width: 52px;
  height: 52px;
  color: var(--color-terracotta);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

/* ---------- 院長紹介 ---------- */

.director-grid {
  display: grid;
  gap: 40px;
}

.director-photo img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  max-width: 420px;
  margin: 0 auto;
}

.director-role {
  color: var(--color-terracotta-dark);
  font-weight: 500;
  margin-bottom: 20px;
}

.director-text p {
  margin-bottom: 16px;
  color: var(--color-text-soft);
}

.director-note {
  font-size: 0.8rem;
  color: var(--color-text-soft);
  opacity: 0.75;
}

@media (min-width: 860px) {
  .director-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ---------- 料金 ---------- */

.menu-table {
  border-top: 1px solid var(--color-border);
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--color-border);
}

.menu-row-featured {
  background: var(--color-cream-deep);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  border-bottom: none;
  margin-bottom: 4px;
}

.menu-name {
  font-weight: 500;
}

.menu-badge {
  display: inline-block;
  background: var(--color-terracotta);
  color: var(--color-white);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-right: 10px;
  vertical-align: middle;
}

.menu-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-terracotta-dark);
  white-space: nowrap;
}

.menu-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

/* ---------- はじめての方へ ---------- */

.flow-list {
  list-style: none;
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

.flow-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.flow-step {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
}

.flow-list h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.flow-list p {
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.worry-list {
  margin-top: 56px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
}

.worry-list h3 {
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.worry-list ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.worry-list li {
  padding-left: 28px;
  position: relative;
  color: var(--color-text-soft);
  font-size: 0.94rem;
}

.worry-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-sage);
  font-weight: 700;
}

/* ---------- お客様の声 ---------- */

.voice-disclaimer {
  background: var(--color-cream-deep);
  border-left: 3px solid var(--color-terracotta);
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--color-text-soft);
  margin-bottom: 36px;
  border-radius: 0 8px 8px 0;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.voice-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.voice-text {
  color: var(--color-text-soft);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.voice-person {
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voice-fake {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--color-terracotta-dark);
}

/* ---------- アクセス ---------- */

.access-grid {
  display: grid;
  gap: 32px;
}

.access-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.access-list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.access-list dt {
  color: var(--color-terracotta-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.access-list dd {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.access-map-placeholder {
  height: 100%;
  min-height: 220px;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(
    45deg,
    var(--color-white),
    var(--color-white) 12px,
    var(--color-cream) 12px,
    var(--color-cream) 24px
  );
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-soft);
  font-size: 0.85rem;
}

@media (min-width: 860px) {
  .access-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 予約 ---------- */

.reserve-section {
  background: var(--color-terracotta-dark);
  color: var(--color-cream);
}

.reserve-inner {
  text-align: center;
}

.reserve-section .section-title {
  color: var(--color-white);
}

.reserve-section .section-lead {
  color: var(--color-cream-deep);
}

.reserve-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.reserve-note {
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--color-cream-deep);
  opacity: 0.85;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- フッター ---------- */

.site-footer {
  background: var(--color-earth);
  color: var(--color-cream-deep);
  padding: 48px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- モバイル対応 ---------- */

@media (max-width: 859px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 32px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,0.08);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-cta {
    margin-top: 8px;
  }

  .section {
    padding: 64px 20px;
  }
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
