/*
Theme Name: Restia Clinic
Description: 睡眠専門オンラインクリニック Restia Clinic のカスタムテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: restia-clinic
*/

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

:root {
  --green-deep: #085041;
  --green-mid: #0F6E56;
  --green-light: #1D9E75;
  --green-pale: #E1F5EE;
  --green-faint: #f2fbf7;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --border: #e0ede8;
  --white: #ffffff;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-logo .site-sub {
  font-size: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-muted);
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #06C755;
  color: white;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
}

/* HERO */
.hero {
  padding: 6rem 2rem 5rem;
  text-align: center;
  background: var(--green-faint);
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(29,158,117,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(8,80,65,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-pale);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  color: var(--green-deep);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  position: relative;
}
.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: white;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.btn-line svg { width: 20px; height: 20px; }
.hero-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* SECTIONS */
section { padding: 4rem 2rem; border-bottom: 0.5px solid var(--border); }
.container { max-width: 720px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.section-lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* CONCERNS */
.concerns { background: var(--white); }
.concerns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.concern-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--green-faint);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
}
.concern-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.concern-check svg { width: 11px; height: 11px; stroke: var(--green-mid); }
.concern-item p { font-size: 13px; color: var(--text-primary); line-height: 1.6; }

/* SERVICES */
.services { background: var(--green-faint); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.service-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--green-mid); }
.service-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 8px; color: var(--text-primary); }
.service-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* FLOW */
.flow { background: var(--white); }
.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: flex;
  gap: 20px;
  padding: 1.25rem 0;
  border-bottom: 0.5px solid var(--border);
  align-items: flex-start;
}
.flow-step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h4 { font-size: 15px; font-weight: 500; margin-bottom: 5px; color: var(--text-primary); }
.step-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.line-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e8f9ee;
  color: #06C755;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  border: 0.5px solid #b3ead1;
}

/* PRICING */
.pricing { background: var(--green-faint); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.price-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.price-card.featured { border: 2px solid var(--green-mid); }
.price-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-weight: 500;
}
.price-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 10px; color: var(--text-secondary); }
.price-amount { font-size: 32px; font-weight: 500; color: var(--text-primary); font-family: 'Noto Serif JP', serif; }
.price-amount span { font-size: 14px; color: var(--text-muted); font-family: 'Noto Sans JP', sans-serif; font-weight: 400; }
.price-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-top: 12px; }

/* CTA BOTTOM */
.cta-section {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--green-deep);
  border-bottom: none;
}
.cta-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.cta-section p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* FOOTER */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 0.5px solid var(--border);
}
footer p { font-size: 12px; color: var(--text-muted); }
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--green-mid); }

/* LINE ICON */
.line-icon { width: 20px; height: 20px; vertical-align: middle; }

@media (max-width: 600px) {
  nav { padding: 0 1.25rem; }
  section { padding: 3rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
}
