/* =============================================
   ZEN矯正歯科 銀座 — style.css
   ============================================= */

/* --- リセット & 変数 --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #B8965A;
  --gold-light: #D4B07A;
  --gold-pale:  #F5EDD8;
  --ivory:      #FAFAF7;
  --charcoal:   #1A1A18;
  --mid:        #4A4A42;
  --muted:      #8A8A7E;
  --white:      #FFFFFF;
  --border:     #E8E0CE;
  --font-serif: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
  --font-sans:  'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  --max-width:  1200px;
  --section-pad: 7rem 2rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--charcoal);
  font-weight: 300;
  line-height: 1.8;
  font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,247,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--charcoal);
}
.logo em {
  font-style: italic;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-menu ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-menu a {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--gold); }

.btn-nav {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 10px 22px;
  font-size: 11px;
  letter-spacing: 0.15em;
  transition: background 0.3s;
}
.btn-nav:hover { background: var(--gold) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-family: var(--font-sans);
  font-weight: 300;
  transition: background 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--charcoal);
  border: 0.5px solid var(--charcoal);
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.18em;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 16px 40px;
  font-size: 12px;
  letter-spacing: 0.2em;
  transition: background 0.3s;
}
.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 0.5px solid rgba(255,255,255,0.3);
  padding: 16px 40px;
  font-size: 12px;
  letter-spacing: 0.2em;
  transition: all 0.3s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* =============================================
   SECTION COMMON
   ============================================= */
.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}
.section-header h2 em { font-style: italic; color: var(--gold); }
.section-header p {
  font-size: 14px;
  color: var(--mid);
  line-height: 2;
  letter-spacing: 0.05em;
}
.section-header--dark { color: var(--white); }
.section-header--dark .section-label { color: var(--gold-light); }
.section-header--dark h2 { color: var(--white); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 5rem;
}

.hero-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 0.5px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--mid);
  letter-spacing: 0.1em;
  line-height: 2.2;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}
.stat-num small { font-size: 16px; }
.stat-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  min-height: 500px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.85;
}
.hero-image-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgba(255,255,255,0.25);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-align: center;
  line-height: 2;
  border: 0.5px solid rgba(184,150,90,0.2);
  margin: 2rem;
}
.hero-image.no-image img { display: none; }
.hero-image.no-image .hero-image-placeholder { display: flex; }

/* =============================================
   CONCEPT
   ============================================= */
.concept { padding: var(--section-pad); }

.concept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.concept-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.concept-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.concept-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.concept-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.concept-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}

/* =============================================
   TREATMENTS
   ============================================= */
.treatments {
  padding: var(--section-pad);
  background: var(--charcoal);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.treatment-card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(184,150,90,0.25);
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.3s, background 0.3s;
}
.treatment-card:hover {
  background: rgba(184,150,90,0.08);
  border-color: rgba(184,150,90,0.5);
}
.treatment-card--featured {
  border-color: rgba(184,150,90,0.6);
  background: rgba(184,150,90,0.06);
}
.featured-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
}
.treatment-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; }
.treatment-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.treatment-card p {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 2;
  letter-spacing: 0.04em;
}
.treatment-price {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid rgba(255,255,255,0.1);
}
.treatment-price .price {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold-light);
  font-weight: 300;
}
.treatment-price small {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  margin-left: 4px;
}
.treatment-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  transition: color 0.2s;
}
.treatment-link:hover { color: var(--white); }

/* =============================================
   BEAUTY COAT FEATURE
   ============================================= */
.feature { padding: var(--section-pad); }

.feature-inner {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 5rem;
  align-items: start;
}

.feature-badge {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.25em;
  padding: 6px 14px;
  margin-bottom: 1.5rem;
}
.feature-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}
.feature-text h2 em { font-style: italic; color: var(--gold); }
.feature-text p {
  font-size: 14px;
  color: var(--mid);
  line-height: 2.2;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
}
.feature-list li {
  font-size: 13px;
  color: var(--mid);
  padding: 0.75rem 0;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  letter-spacing: 0.04em;
}
.feature-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
}

.feature-visual {
  background: var(--white);
  border: 0.5px solid var(--border);
  padding: 2.5rem;
}
.feature-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--border);
}
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}
.step h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.step p { font-size: 11px; color: var(--muted); line-height: 1.8; }

.feature-photo {
  margin-top: 1.5rem;
  overflow: hidden;
}
.feature-photo img { width: 100%; height: 200px; object-fit: cover; }

/* =============================================
   GALLERY
   ============================================= */
.gallery { padding: var(--section-pad); background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid--single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ivory);
  border: 0.5px solid var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.empty::before {
  content: '写真準備中';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(26,26,24,0.6);
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
}

/* =============================================
   CTA
   ============================================= */
.cta {
  padding: var(--section-pad);
  background: var(--charcoal);
  text-align: center;
}
.cta .section-label { color: var(--gold); }
.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 1rem 0 1.5rem;
}
.cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  line-height: 2;
  margin-bottom: 3rem;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   ACCESS
   ============================================= */
.access { padding: var(--section-pad); }
.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.access-info h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  margin: 1rem 0 2rem;
}
.access-table { width: 100%; border-collapse: collapse; }
.access-table th,
.access-table td {
  padding: 0.875rem 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 13px;
  vertical-align: top;
  line-height: 1.8;
}
.access-table th {
  color: var(--muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
  width: 100px;
  font-weight: 300;
}
.access-table a { color: var(--gold); }
.access-map { overflow: hidden; border: 0.5px solid var(--border); }
.access-map iframe { display: block; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #111110;
  padding: 3rem 2rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}
.footer-logo em { font-style: italic; color: var(--gold); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.footer-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: 10px;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.12em;
}

/* =============================================
   FIXED CTA（スマホのみ表示）
   ============================================= */
.fixed-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 14px;
  font-size: 13px;
  letter-spacing: 0.15em;
  z-index: 90;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .concept-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.5rem; }

  .nav-menu ul { display: none; }
  .nav-menu {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    gap: 0;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
  }
  .nav-menu ul li a {
    display: block;
    padding: 1rem 0;
    border-bottom: 0.5px solid var(--border);
    font-size: 14px;
  }
  .btn-nav { text-align: center; padding: 14px; }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem 1.5rem; }
  .hero-image { min-height: 260px; }

  .treatments-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .access-inner { grid-template-columns: 1fr; gap: 2rem; }
  .concept-grid { grid-template-columns: 1fr 1fr; }

  .fixed-cta { display: block; }
  body { padding-bottom: 52px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .concept-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }
}