/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #2E7D5B;
  --primary-light: #4a9e78;
  --primary-pale: #f0f7f4;
  --accent:    #F5A623;
  --accent-dark: #d4891a;
  --text:      #333333;
  --text-sub:  #666666;
  --border:    #e0e0e0;
  --white:     #ffffff;
  --bg:        #fafaf8;
  --radius:    8px;
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --font:      'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

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

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title .en {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-top {
  background: var(--primary);
  color: var(--white);
  padding: 6px 0;
  font-size: 0.8rem;
}
.header-top .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.header-top a { color: var(--white); }
.header-top .tel-small { font-weight: 700; letter-spacing: 0.05em; }

.header-main {
  padding: 12px 0;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 24px; height: 24px; fill: var(--white); }
.logo-text .clinic-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.logo-text .clinic-sub {
  font-size: 0.7rem;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}

nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 2px;
  background: var(--primary);
  transition: right 0.25s;
}
nav a:hover::after { right: 0; }

.btn-reserve {
  background: var(--accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 24px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn-reserve:hover { background: var(--accent-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
#hero {
  padding-top: 80px; /* header height offset */
  background: linear-gradient(135deg, #e8f5ee 0%, #f0f9f5 40%, #e6f3ff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  background: var(--primary);
}
.hero-bg-circle.c1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-bg-circle.c2 { width: 300px; height: 300px; bottom: -80px; left: -60px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
}

.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}
.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-content p {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero-hours {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  border-left: 4px solid var(--primary);
}
.hero-hours .label {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.hero-hours .hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 0.9rem;
}
.hero-hours .day { font-weight: 700; }
.hero-hours .closed { color: #e74c3c; }

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(46,125,91,0.3);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,91,0.35);
}
.btn-tel {
  background: var(--white);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 32px;
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-tel:hover { background: var(--primary-pale); }

.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-card-wrap {
  position: relative;
}
.hero-main-img {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  aspect-ratio: 4/3;
}
.hero-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hero-stat {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.hero-stat.stat1 { bottom: -20px; left: -20px; }
.hero-stat.stat2 { top: -16px; right: -16px; }
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.hero-stat .unit { font-size: 0.75rem; }
.hero-stat .desc { font-size: 0.75rem; color: var(--text-sub); }

/* ===== Symptoms ===== */
#symptoms {
  padding: 96px 0;
  background: var(--white);
}

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.symptom-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.symptom-card .photo {
  width: 100%; height: 140px;
  object-fit: cover;
  display: block;
}
.symptom-card .card-body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.symptom-card .icon {
  width: 52px; height: 52px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -26px;
  box-shadow: 0 2px 8px rgba(46,125,91,0.3);
  position: relative;
  z-index: 1;
}
.symptom-card .icon svg { width: 24px; height: 24px; fill: var(--white); }
.symptom-card h3 { font-size: 0.95rem; font-weight: 700; }

/* ===== Features ===== */
#features {
  padding: 96px 0;
  background: var(--primary-pale);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
}
.feature-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-pale);
  line-height: 1;
  margin-bottom: 8px;
}
.feature-icon {
  width: 72px; height: 72px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 36px; height: 36px; fill: var(--white); }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}
.feature-card p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.8; }

/* ===== Menu ===== */
#menu {
  padding: 96px 0;
  background: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.menu-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.menu-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(46,125,91,0.1);
}
.menu-item .icon {
  width: 52px; height: 52px;
  background: var(--primary);
  border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.menu-item .icon svg { width: 26px; height: 26px; fill: var(--white); }
.menu-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.menu-item p { font-size: 0.85rem; color: var(--text-sub); }

/* ===== About ===== */
#about {
  padding: 96px 0;
  background: var(--primary-pale);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-content .label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.about-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
}
.about-content p {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 1.9;
}
.about-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 24px;
}
.about-profile .avatar {
  width: 64px; height: 64px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.about-profile .avatar svg { width: 36px; height: 36px; fill: var(--white); }
.about-profile .name { font-weight: 700; font-size: 1rem; }
.about-profile .title { font-size: 0.8rem; color: var(--text-sub); }

/* ===== Hours ===== */
#hours {
  padding: 96px 0;
  background: var(--white);
}

.hours-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.hours-table-wrap h3, .access-wrap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hours-table-wrap h3::before, .access-wrap h3::before {
  content: '';
  display: block;
  width: 4px; height: 20px;
  background: var(--primary);
  border-radius: 2px;
}

table.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.hours-table th, .hours-table td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: center;
}
.hours-table thead th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}
.hours-table tbody tr:nth-child(even) { background: var(--primary-pale); }
.hours-table .check { color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.hours-table .cross { color: #e74c3c; font-weight: 700; }
.hours-table .triangle { color: var(--accent); font-weight: 700; }

.map-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e8e8e8;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.map-placeholder iframe {
  width: 100%; height: 100%;
  border: none;
}

.access-info { margin-top: 20px; font-size: 0.9rem; }
.access-info dt { font-weight: 700; color: var(--primary); margin-top: 12px; }
.access-info dd { color: var(--text-sub); margin-left: 0; }

/* ===== FAQ ===== */
#faq {
  padding: 96px 0;
  background: var(--primary-pale);
}

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  user-select: none;
}
.faq-q .q-mark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.faq-q .arrow {
  margin-left: auto;
  width: 20px; height: 20px;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 24px 20px 68px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.9;
}

/* ===== CTA Banner ===== */
#cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
}
#cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 16px;
}
#cta p { font-size: 1rem; opacity: 0.85; margin-bottom: 40px; }
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cta-line {
  background: #06C755;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-cta-line:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.btn-cta-tel {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
}
.btn-cta-tel:hover { background: rgba(255,255,255,0.25); }

/* ===== Footer ===== */
#footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo .name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo p { font-size: 0.85rem; line-height: 1.8; }
.footer-nav h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 0.85rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* ===== Floating CTA ===== */
.float-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-cta a {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  flex-direction: column;
  gap: 2px;
}
.float-cta a:hover { transform: translateY(-3px); }
.float-cta .f-line { background: #06C755; }
.float-cta .f-tel  { background: var(--primary); }
.float-cta svg { width: 22px; height: 22px; fill: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  nav, .btn-reserve { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 40px; }
  .hero-visual { display: none; }
  .hero-content h1 { font-size: 2rem; }

  .symptoms-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .menu-grid      { grid-template-columns: 1fr; }
  .about-inner    { grid-template-columns: 1fr; }
  .about-img      { display: none; }
  .hours-access-grid { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .symptoms-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-tel { justify-content: center; }
  #cta .cta-buttons { flex-direction: column; align-items: center; }
}

/* ===== Mobile Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 80px 32px 40px;
  gap: 0;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-nav .close-btn {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
