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

:root {
  --navy: #4a90e2;
  --navy-light: #7ab5f7;
  --teal: #2e7d8c;
  --teal-light: #4a9dae;
  --gold: #b8955a;
  --gold-light: #d4b07a;
  --cream: #f8f5f0;
  --white: #ffffff;
  --text-dark: #1c2135;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2ddd6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,39,68,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,149,90,0.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.1em;
}
.logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
nav {
  display: flex;
  align-items: center;
  gap: 0;
}
nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  transition: color 0.2s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold);
  transition: left 0.25s, right 0.25s;
}
nav a:hover { color: var(--gold-light); }
nav a:hover::after { left: 0.9rem; right: 0.9rem; }
.header-tel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  margin-left: 1rem;
}
.header-tel:hover { background: var(--teal-light); }
.header-tel svg { width: 16px; height: 16px; }

/* ── HERO ── */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/IMG_4711-576x1024.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(46,125,140,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(184,149,90,0.1) 0%, transparent 60%),
    linear-gradient(135deg, rgba(74,144,226,0.7) 0%, rgba(122,181,247,0.7) 50%, rgba(58,127,217,0.7) 100%);
}
.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.06;
}
.hero-lines::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 70%;
  height: 200%;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: rotate(-15deg);
}
.hero-lines::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 45%;
  height: 160%;
  border: 1px solid var(--teal-light);
  border-radius: 50%;
  transform: rotate(-15deg);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  padding-top: 70px;
}
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.4s both;
}
.hero-title strong {
  font-weight: 600;
  color: var(--white);
}
.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease 0.6s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.8s both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-primary:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--teal-light); color: var(--teal-light); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: fadeUp 1s ease 1.2s both;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

/* ── HOURS STRIP ── */
.hours-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.hours-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.hours-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  color: var(--teal);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.hours-table th {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.8rem;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-align: center;
}
.hours-table td {
  padding: 0.55rem 0.8rem;
  text-align: center;
  border: 1px solid var(--border);
  background: white;
}
.hours-table td.time-label {
  text-align: left;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--cream);
  white-space: nowrap;
}
.circle { color: var(--teal); font-weight: 700; }
.dash { color: var(--text-light); }
.hours-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  line-height: 1.7;
}
.hours-tel-block {
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--navy);
  border-radius: 6px;
  min-width: 200px;
}
.hours-tel-label { font-size: 0.7rem; color: rgba(255,255,255,0.6); letter-spacing: 0.2em; margin-bottom: 0.5rem; }
.hours-tel-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}
.hours-tel-sub { font-size: 0.7rem; color: rgba(255,255,255,0.5); }

/* ── SECTION BASE ── */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

/* ── ABOUT ── */
.about { background: white; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img {
  position: relative;
}
.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-light), var(--teal));
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.05em;
}
.about-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.2rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.badge-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}
.badge-label { font-size: 0.7rem; letter-spacing: 0.1em; display: block; margin-top: 0.25rem; }
.about-text { font-size: 0.92rem; line-height: 2; color: var(--text-mid); margin-bottom: 1.5rem; }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
  transition: gap 0.2s, color 0.2s;
}
.about-link:hover { gap: 0.85rem; color: var(--navy); border-color: var(--navy); }

/* ── SERVICES ── */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: white;
  border-radius: 6px;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(26,39,68,0.1); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}
.service-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.service-desc { font-size: 0.78rem; color: var(--text-light); line-height: 1.8; }

/* ── GREETING ── */
.greeting { background: var(--navy); }
.greeting-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: center;
}
.greeting .section-tag { color: var(--gold-light); }
.greeting .section-tag::before { background: var(--gold-light); }
.greeting .section-title { color: white; }
.greeting-text { font-size: 0.92rem; line-height: 2.1; color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.greeting-sig {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.sig-org { font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.sig-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  color: white;
  font-weight: 300;
}
.sig-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.25em;
  margin-top: 0.25rem;
}
.doctor-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
}
.doctor-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy-light), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
  font-family: 'Cormorant Garamond', serif;
}
.doctor-info { padding: 1.5rem; }
.doctor-role { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 0.4rem; }
.doctor-name { font-family: 'Noto Serif JP', serif; color: white; font-size: 1.1rem; margin-bottom: 1rem; }
.career-list { list-style: none; }
.career-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  line-height: 1.5;
}
.career-year { color: var(--gold-light); font-family: 'Noto Sans JP', sans-serif; font-size: 0.85rem; }

/* ── ACCESS ── */
.access { background: white; }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.access-info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.access-info-icon {
  width: 36px;
  height: 36px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.access-info-label { font-size: 0.7rem; color: var(--text-light); letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.access-info-val { font-size: 0.9rem; color: var(--text-dark); line-height: 1.6; }
.access-info-val a { color: var(--teal); text-decoration: none; }
.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 360px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ── CTA ── */
.cta {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  text-align: center;
  padding: 5rem 2rem;
}
.cta-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: white;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.cta-tel {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.cta-tel:hover { color: white; }
.cta-hours { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ── FOOTER ── */
footer {
  background: #3a7fd9;
  color: rgba(255,255,255,0.5);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
  align-items: start;
}
.footer-logo-ja { font-family: 'Noto Serif JP', serif; font-size: 1.1rem; color: white; margin-bottom: 0.25rem; }
.footer-logo-en { font-family: 'Cormorant Garamond', serif; font-size: 0.7rem; color: var(--gold); letter-spacing: 0.25em; }
.footer-addr { font-size: 0.78rem; line-height: 1.9; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  align-self: center;
  justify-self: end;
}
.footer-nav a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.72rem; text-align: center; color: rgba(255,255,255,0.3); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDown {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NEWS ── */
.news-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}
.news-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.news-badge {
  background: var(--teal);
  color: white;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.news-date { font-size: 0.78rem; color: var(--text-light); white-space: nowrap; }
.news-text { font-size: 0.82rem; color: var(--text-mid); }
.news-text a { color: var(--teal); text-decoration: none; }
.news-text a:hover { text-decoration: underline; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { display: none; }
  .header-tel { margin-left: 0; font-size: 0.95rem; padding: 0.45rem 0.9rem; }
  .about-grid, .greeting-grid, .access-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-badge { bottom: -1rem; right: -0.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-nav { justify-self: start; }
  .hours-strip-inner { grid-template-columns: 1fr; }
  .hours-tel-block { max-width: 280px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 1.25rem; }
}
