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

:root {
  --green:       #7DC4A0;
  --green-dark:  #5A9E7D;
  --green-light: #A8D9BF;
  --green-bg:    #EFF9F4;
  --orange:      #F5A040;
  --orange-dark: #E08A28;
  --cream:       #FFFDF6;
  --cream2:      #FFF8EE;
  --text:        #333;
  --gray:        #666;
  --gray-light:  #999;
  --border:      #E0EEE8;
  --white:       #fff;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-sm:   0 2px 12px rgba(0,0,0,.06);
  --r-card:      16px;
  --r-btn:       50px;
}

html { scroll-behavior: smooth; }

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

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

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

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: box-shadow .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 20px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 42px; height: 42px; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-main { font-size: 13px; font-weight: 700; }
.logo-sub  { font-size: 9px;  color: var(--green); letter-spacing: .06em; }

/* Nav */
.nav-menu { flex: 1; display: flex; justify-content: center; }
.nav-menu ul { display: flex; gap: 24px; }
.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-menu a:hover { color: var(--green-dark); border-bottom-color: var(--green); }

/* Reserve button */
.btn-reserve {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--r-btn);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.35;
  transition: background .2s, transform .15s;
}
.btn-reserve:hover { background: var(--orange-dark); transform: translateY(-1px); }
.reserve-icon { font-size: 16px; }
.reserve-main { font-size: 13px; }
.reserve-sub  { font-size: 10px; opacity: .9; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV ===== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 200;
  backdrop-filter: blur(2px);
}
.mobile-overlay.show { display: block; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100dvh;
  background: var(--white);
  z-index: 201;
  padding: 72px 24px 32px;
  transition: right .3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,.1);
}
.mobile-nav.open { right: 0; }

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--gray);
}

.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav ul li a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
}
.mobile-reserve-btn {
  display: block;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  padding: 14px;
  border-radius: var(--r-btn);
  font-weight: 700;
  margin-top: 24px;
  font-size: 14px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #FFF8EE 0%, #F2FBF6 100%);
  padding: 56px 0 48px;
  overflow: hidden;
  min-height: 520px;
}

.hero-birds {
  position: absolute;
  top: 28px;
  right: 60px;
  display: flex;
  gap: 14px;
  opacity: .7;
}
.hbird { width: 28px; height: 14px; }
.hb2 { margin-top: 10px; }
.hb3 { margin-top: 4px; }

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

.hero-catchcopy {
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 16px;
}
.hero-accent {
  color: var(--green-dark);
  font-size: 46px;
}

.hero-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 28px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--r-btn);
  font-weight: 700;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(125,196,160,.4);
}
.btn-primary-hero:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90,158,125,.4);
}
.btn-icon  { font-size: 18px; }
.btn-main  { font-size: 14px; font-weight: 700; }
.btn-sub   { font-size: 10px; opacity: .9; }
.btn-arrow { font-size: 18px; }

.btn-secondary-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--text);
  padding: 13px 22px;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 500;
  border: 2px solid var(--border);
  transition: border-color .2s, transform .15s;
}
.btn-secondary-hero:hover { border-color: var(--green); transform: translateY(-2px); }

/* Hero visual */
.hero-visual { position: relative; }

.hero-photo-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo-inner {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #EDE8E0, #DDD5CC);
  overflow: hidden;
}
.hero-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-deco-items {
  position: absolute;
  bottom: -16px;
  right: -16px;
  display: flex;
  gap: 8px;
}
.deco-item { font-size: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.1)); }
.di2 { margin-top: -8px; }
.di3 { margin-top: 4px; font-size: 20px; }

/* ===== SECTION COMMONS ===== */
.section-label {
  text-align: center;
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 500;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
}
.section-title em { font-style: normal; color: var(--green-dark); }

/* ===== REASONS ===== */
.reasons {
  background: var(--white);
  padding: 80px 0;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reason-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 20px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.reason-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }

.reason-icon-bg {
  width: 64px;
  height: 64px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.reason-card h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 8px;
}
.reason-card p { font-size: 12px; color: var(--gray); line-height: 1.8; }

/* ===== GREETING ===== */
.greeting {
  background: var(--cream);
  padding: 80px 0;
}
.greeting-inner {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 40px;
  align-items: start;
}
.photo-placeholder {
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #bbb;
  font-size: 12px;
  line-height: 1.6;
  gap: 8px;
}
.photo-placeholder span { font-size: 40px; }

.clinic-ph2-wrap, .clinic-photo-wrap { display: flex; flex-direction: column; }

.doctor-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r-card);
  display: block;
}
.clinic-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-card);
  display: block;
}
.clinic-ph2-wrap .clinic-img { margin-top: 16px; }

.greeting-label {
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 500;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.greeting-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 20px;
}
.greeting-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.95;
  margin-bottom: 24px;
}
.sign-name { font-size: 15px; font-weight: 700; }
.sign-cert { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* ===== SERVICES ===== */
.services {
  background: var(--green-bg);
  padding: 80px 0;
}
.section-title-deco {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.deco-l, .deco-r { font-size: 18px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.service-card:hover { transform: translateY(-5px); }

.service-illust {
  width: 80px;
  height: 80px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 36px;
}
.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.service-card p { font-size: 12px; color: var(--gray); line-height: 1.8; }

/* ===== NEWS + SCHEDULE ===== */
.news-schedule {
  background: var(--white);
  padding: 80px 0;
}
.ns-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.block-head h2 { font-size: 18px; font-weight: 700; }

.link-more {
  font-size: 12px;
  color: var(--green-dark);
  border: 1px solid var(--green);
  padding: 4px 14px;
  border-radius: 20px;
  transition: all .2s;
}
.link-more:hover { background: var(--green); color: var(--white); }

.status-open {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--green-dark);
  background: var(--green-bg);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.ndate { font-size: 11px; color: var(--gray); flex-shrink: 0; padding-top: 2px; }
.ntag {
  font-size: 10px;
  background: var(--green-bg);
  color: var(--green-dark);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  font-weight: 500;
}
.ntag-new { background: #FFF0E0; color: var(--orange-dark); }
.ntext { font-size: 13px; color: var(--text); }

/* Schedule table */
.table-scroll { overflow-x: auto; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.schedule-table th,
.schedule-table td {
  padding: 10px 8px;
  text-align: center;
  border: 1px solid var(--border);
}
.schedule-table thead th {
  background: var(--green-bg);
  font-weight: 700;
  color: var(--green-dark);
  font-size: 12px;
}
.time-col { font-size: 12px; white-space: nowrap; font-weight: 500; text-align: left; padding-left: 12px; }
.c-open   { color: var(--green-dark); font-weight: 700; font-size: 15px; }
.c-half   { color: var(--orange); font-weight: 700; font-size: 15px; }
.c-closed { color: var(--gray-light); }

.schedule-notes { margin-top: 12px; }
.schedule-notes p { font-size: 11px; color: var(--gray); line-height: 1.9; }

/* ===== ACCESS ===== */
.access {
  background: var(--cream);
  padding: 80px 0;
}
.access-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.access-info h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.access-address { font-size: 14px; line-height: 1.9; margin-bottom: 12px; color: var(--gray); }
.access-tel {
  font-size: 24px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.access-tel a { color: inherit; }
.access-list { display: flex; flex-direction: column; gap: 8px; }
.access-list li {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-placeholder {
  background: #DDE8EE;
  border-radius: var(--r-card);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.map-pin  { font-size: 40px; }
.map-name { font-weight: 700; font-size: 14px; color: var(--text); }
.map-note { font-size: 12px; color: var(--gray-light); }

/* ===== FOOTER CTA ===== */
.footer-cta {
  background: var(--green);
  padding: 44px 0;
}
.fcta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.fcta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.fcta-illust { font-size: 52px; }
.fcta-left p {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.65;
}

.btn-fcta {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--r-btn);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: background .2s, transform .15s;
}
.btn-fcta:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-fcta > span:first-child { font-size: 20px; }
.fcta-sub { font-size: 11px; opacity: .9; margin-top: 2px; }

/* ===== FOOTER ===== */
.footer {
  background: #2D2D2D;
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}
.footer-nav ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .reasons-grid    { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .greeting-inner  { grid-template-columns: 160px 1fr 200px; gap: 28px; }
  .nav-menu ul     { gap: 16px; }
}

@media (max-width: 768px) {
  .nav-menu, .btn-reserve { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 44px 0 40px; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-title  { font-size: 28px; }
  .hero-accent { font-size: 36px; }
  .hero-btns   { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-birds  { right: 20px; }

  .reasons-grid { grid-template-columns: repeat(2, 1fr); }

  .greeting-inner { grid-template-columns: 1fr; }
  .greeting-photo-left, .greeting-photo-right { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .ns-inner { grid-template-columns: 1fr; gap: 40px; }

  .access-inner { grid-template-columns: 1fr; }

  .fcta-inner { flex-direction: column; text-align: center; }
  .fcta-left  { flex-direction: column; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav ul { justify-content: center; }
}

@media (max-width: 480px) {
  .reasons-grid  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-title    { font-size: 24px; }
  .hero-accent   { font-size: 30px; }
  .hero-btns     { flex-direction: column; align-items: center; }
  .section-title { font-size: 22px; }
}
