@import "tailwindcss";

:root {
  --navy: #123657;
  --navy-deep: #0b2742;
  --blue: #2f7196;
  --blue-soft: #eaf3f7;
  --mint: #6ba8a0;
  --ink: #193248;
  --muted: #667786;
  --line: #dbe5ea;
  --white: #ffffff;
  --off-white: #f7fafb;
  --shadow: 0 16px 38px rgba(22, 56, 80, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 229, 234, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 5px 18px 5px 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 23px;
}

.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 20px; letter-spacing: .08em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .14em; }

nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
nav a { position: relative; color: #40586b; font-size: 13px; font-weight: 700; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue); transition: right .2s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }

.header-phone {
  min-width: 210px;
  padding: 11px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}
.header-phone span { font-size: 10px; letter-spacing: .08em; opacity: .78; }
.header-phone strong { margin-top: 4px; font-size: 20px; letter-spacing: .04em; }

.hero {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  background: linear-gradient(135deg, #f3f8fa 0%, #ffffff 64%);
  overflow: hidden;
}

.hero-copy {
  padding: 42px max(48px, calc((100vw - 1180px) / 2));
  padding-right: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
}
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 1px; margin: 0 12px 4px 0; background: currentColor; }
.hero .eyebrow { margin-bottom: 14px; font-size: 11px; }

.hero h1 {
  margin: 0;
  color: var(--navy-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .04em;
}
.hero h1 span { color: var(--blue); white-space: nowrap; }
.hero-lead { max-width: 500px; margin: 16px 0 0; color: #536b7e; font-size: 14px; line-height: 1.8; }
.hero-actions { margin-top: 20px; display: flex; align-items: center; gap: 20px; }
.hero .primary-button { min-height: 48px; }

.primary-button {
  min-height: 54px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(18, 54, 87, .2);
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.primary-button:hover { transform: translateY(-2px); background: var(--blue); }
.text-link { color: var(--navy); font-size: 14px; font-weight: 800; border-bottom: 1px solid #a9bdc8; }
.phone-note { margin: 10px 0 0; color: #718390; font-size: 12px; }

.hero-image-wrap { position: relative; min-height: 360px; overflow: hidden; background: #171b1e; }
.hero-image { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }

.quick-info { position: relative; z-index: 5; margin-top: -1px; background: var(--navy); color: var(--white); }
.quick-info-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-info article { min-height: 108px; padding: 21px 30px; display: flex; align-items: center; gap: 16px; border-right: 1px solid rgba(255,255,255,.15); }
.quick-info article:first-child { border-left: 1px solid rgba(255,255,255,.15); }
.info-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; font-family: "Yu Mincho", serif; font-size: 18px; }
.quick-info article div { display: flex; flex-direction: column; }
.quick-info strong { font-size: 16px; letter-spacing: .04em; }
.quick-info article span:last-child { margin-top: 3px; color: #c6d7e3; font-size: 12px; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0; scroll-margin-top: 84px; }
.section-heading { max-width: 710px; margin: 0 auto 46px; text-align: center; }
.section-heading.compact { margin-bottom: 36px; }
.section-heading h2, .hours-copy h2, .contact-band h2 { margin: 0; color: var(--navy-deep); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(23px, 2.25vw, 30px); line-height: 1.55; letter-spacing: .04em; }
.section-heading > p:last-child { margin: 20px auto 0; color: var(--muted); line-height: 2; }

.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; gap: 64px; }
.about-photo { min-height: 460px; border-radius: 4px 40px 4px 4px; overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.about-cards { display: flex; flex-direction: column; justify-content: center; }
.about-cards article { padding: 26px 0; display: grid; grid-template-columns: 62px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.about-cards article:first-child { border-top: 1px solid var(--line); }
.number { color: #9abacb; font-family: Georgia, serif; font-size: 14px; letter-spacing: .08em; }
.about-cards h3 { margin: -3px 0 7px; color: var(--navy); font-family: "Yu Mincho", serif; font-size: 18px; letter-spacing: .04em; }
.about-cards p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.hours-section { width: 100%; padding: 90px max(24px, calc((100vw - 1180px) / 2)); background: var(--off-white); }
.hours-panel { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white); box-shadow: var(--shadow); }
.hours-copy { padding: 58px 54px; background: var(--navy); color: var(--white); }
.eyebrow.light { color: #9cc8d7; }
.hours-copy h2 { color: var(--white); }
.hours-copy > p:nth-of-type(2) { margin: 22px 0 34px; color: #cfdee7; font-size: 14px; line-height: 2; }
.hours-phone { display: inline-flex; flex-direction: column; }
.hours-phone small { color: #9cc8d7; font-size: 11px; }
.hours-phone strong { margin-top: 3px; font-size: 27px; letter-spacing: .05em; }
.hours-table-wrap { padding: 42px 50px; display: flex; flex-direction: column; justify-content: center; }
.hours-list { margin: 0; }
.hours-list > div { padding: 17px 0; display: grid; grid-template-columns: 160px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.hours-list > div:first-child { border-top: 1px solid var(--line); }
.hours-list dt { color: var(--muted); font-size: 13px; font-weight: 800; }
.hours-list dd { margin: 0; color: var(--navy); font-size: 18px; font-weight: 800; letter-spacing: .04em; }
.weekend-note { margin: 24px 0 0; color: var(--blue); font-size: 13px; font-weight: 800; }
.weekend-note span { margin-right: 7px; }

.facilities { padding-bottom: 56px; }
.photo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.photo-card { position: relative; height: 410px; margin: 0; overflow: hidden; background: var(--navy); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-card:hover img { transform: scale(1.025); }
.waiting-photo img { object-position: 48% 50%; }
.parking-photo img { object-position: 50% 50%; }
.photo-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(7, 32, 52, .82)); }
.photo-card figcaption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 24px; display: flex; flex-direction: column; color: var(--white); }
.photo-card figcaption strong { font-family: "Yu Mincho", serif; font-size: 18px; letter-spacing: .06em; }
.photo-card figcaption span { color: #d7e4ea; font-size: 12px; }

.access { padding-top: 56px; }
.access-grid { display: grid; grid-template-columns: 1.35fr .65fr; min-height: 500px; background: var(--off-white); }
.map-wrap { min-height: 500px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 500px; border: 0; filter: saturate(.72) contrast(1.02); }
.access-details { padding: 56px 50px; display: flex; flex-direction: column; justify-content: center; }
.clinic-name { margin: 0 0 24px; color: var(--navy); font-family: "Yu Mincho", serif; font-size: 22px; font-weight: 700; letter-spacing: .08em; }
.access-details dl { margin: 0 0 30px; }
.access-details dl > div { padding: 17px 0; display: grid; grid-template-columns: 84px 1fr; border-bottom: 1px solid var(--line); }
.access-details dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.access-details dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.8; }
.access-details dd a { color: var(--blue); font-size: 17px; font-weight: 800; }
.outline-button { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--navy); color: var(--navy); font-size: 13px; font-weight: 800; transition: background .2s, color .2s; }
.outline-button:hover { background: var(--navy); color: var(--white); }

.contact-band { padding: 50px max(48px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 48px; background: var(--blue-soft); border-top: 1px solid #d5e4ea; }
.contact-band > div > p { margin: 0 0 4px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.contact-band h2 { font-size: clamp(21px, 1.9vw, 27px); }
.contact-band > div > span { display: inline-block; margin-top: 10px; padding: 3px 12px; border-radius: 30px; background: var(--white); color: var(--navy); font-size: 11px; font-weight: 800; }
.contact-band > a { min-width: 340px; padding: 17px 28px; display: flex; flex-direction: column; align-items: center; background: var(--navy); color: var(--white); }
.contact-band > a small { color: #bad3df; font-size: 11px; }
.contact-band > a strong { font-size: 29px; letter-spacing: .05em; }

footer { padding: 46px 24px; background: var(--navy-deep); color: var(--white); }
.footer-inner { width: min(1180px, 100%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-brand .brand-mark { background: var(--white); color: var(--navy); }
.footer-brand small { color: #aabcca; }
.footer-inner > p { margin: 0; color: #9eb1c0; font-size: 10px; letter-spacing: .06em; }
.mobile-call { display: none; }

@media (max-width: 980px) {
  .header-inner { min-height: 74px; }
  nav { display: none; }
  .header-phone { margin-left: auto; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 44px max(32px, calc((100vw - 720px) / 2)); }
  .hero-image-wrap { min-height: 0; aspect-ratio: 15 / 4; }
  .about-grid { gap: 36px; }
  .hours-copy { padding: 56px 40px; }
  .hours-table-wrap { padding: 40px; }
  .access-grid { grid-template-columns: 1fr; }
  .access-details { padding: 45px; }
  .contact-band { align-items: stretch; }
}

@media (max-width: 720px) {
  body { padding-bottom: 72px; font-size: 15px; }
  .header-inner { width: calc(100% - 32px); min-height: 66px; }
  .brand-mark { width: 38px; height: 38px; font-size: 19px; border-radius: 4px 14px 4px 14px; }
  .brand strong { font-size: 17px; }
  .brand small { display: none; }
  .header-phone { min-width: 0; padding: 8px 12px; background: transparent; color: var(--navy); border: 1px solid var(--navy); }
  .header-phone span { display: none; }
  .header-phone strong { margin: 0; font-size: 13px; }
  .hero-copy { padding: 38px 24px 36px; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .hero h1 { font-size: clamp(22px, 6.4vw, 27px); line-height: 1.5; }
  .hero-lead { margin-top: 16px; font-size: 14px; line-height: 1.75; }
  .hero-actions { margin-top: 22px; flex-direction: column; align-items: stretch; gap: 14px; }
  .primary-button { width: 100%; }
  .text-link { align-self: center; }
  .phone-note { text-align: center; }
  .hero-image-wrap { min-height: 0; }
  .quick-info-inner { width: 100%; grid-template-columns: 1fr; }
  .quick-info article { min-height: 96px; padding: 18px 24px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .quick-info article:first-child { border-left: 0; }
  .section { width: calc(100% - 40px); padding: 66px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .hours-copy h2 { font-size: 23px; }
  .section-heading > p:last-child { margin-top: 14px; text-align: left; }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-photo { min-height: 330px; border-radius: 3px 32px 3px 3px; }
  .about-cards article { grid-template-columns: 46px 1fr; gap: 10px; }
  .about-cards h3 { font-size: 18px; }
  .hours-section { width: 100%; padding: 62px 20px; }
  .hours-panel { grid-template-columns: 1fr; }
  .hours-copy { padding: 44px 28px; }
  .hours-phone strong { font-size: 26px; }
  .hours-table-wrap { padding: 30px 26px 34px; }
  .hours-list > div { grid-template-columns: 1fr; gap: 3px; }
  .hours-list dd { font-size: 18px; }
  .facilities { padding-bottom: 42px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card { height: 340px; }
  .access { padding-top: 42px; }
  .access-grid { margin-left: -20px; margin-right: -20px; }
  .map-wrap, .map-wrap iframe { min-height: 380px; }
  .access-details { padding: 38px 28px; }
  .contact-band { padding: 48px 24px; flex-direction: column; gap: 24px; }
  .contact-band > a { min-width: 0; width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .mobile-call { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: 72px; padding: 8px 20px; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--navy); color: var(--white); box-shadow: 0 -8px 26px rgba(10, 39, 66, .18); }
  .mobile-call > span:first-child { font-size: 22px; }
  .mobile-call > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
  .mobile-call small { color: #b9d1dc; font-size: 10px; }
  .mobile-call strong { font-size: 18px; letter-spacing: .05em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
