:root {
  --green: #76a84d;
  --green-dark: #507f2c;
  --green-soft: #eef6e8;
  --blue: #78a6c6;
  --blue-soft: #edf4f8;
  --gold: #c6a055;
  --gold-soft: #f7f2e7;
  --brown: #3f322a;
  --text: #322e29;
  --muted: #54504a;
  --line: #e8e5df;
  --cream: #fcfaf3;
  --shadow: 0 8px 22px rgba(63, 50, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1400px, calc(100% - 72px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #f0eee9;
}
.header-inner {
  width: min(1420px, calc(100% - 64px));
  min-height: 80px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr auto;
  align-items: center;
  gap: 22px;
}
.brand img { width: 335px; height: auto; }
.global-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.5vw, 44px); }
.global-nav a { position: relative; font-size: 15px; font-weight: 700; white-space: nowrap; }
.global-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -16px; height: 2px; background: var(--green); transition: .25s; }
.global-nav a:hover::after, .global-nav a.is-current::after { left: 0; right: 0; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #6eaa48, #84b85c);
  box-shadow: 0 7px 18px rgba(88, 136, 49, .2);
  font-weight: 700;
  white-space: nowrap;
}
.header-cta svg { width: 21px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green-soft); padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--green-dark); margin: 5px 0; transition: .25s; }

.hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -4%;
  right: -4%;
  bottom: -57px;
  height: 110px;
  background: rgba(255,253,244,.92);
  border-radius: 50% 48% 0 0 / 35% 35% 0 0;
  transform: rotate(-1deg);
}
.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 69%;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: right 15%;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 14%, #000 36%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 14%, #000 36%);
}
.hero-inner { position: relative; z-index: 3; width: min(1120px, calc(100% - 80px)); margin: 0 auto; padding-top: 60px; }
.hero-copy { width: 520px; }
.hero-title { margin: 0; color: var(--brown); font-size: clamp(38px, 4vw, 57px); font-weight: 500; line-height: 1.45; letter-spacing: .12em; }
.hero-title span { color: var(--green-dark); }
.hero-lead { margin: 15px 0 0; font-size: 17px; line-height: 1.8; letter-spacing: .08em; }
.hero-leaf { position: absolute; z-index: 5; left: 52px; bottom: 7px; color: #8db96b; width: 120px; transform: rotate(-8deg); }

.service-area { position: relative; z-index: 6; margin-top: -4px; padding-bottom: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card {
  min-height: 130px;
  padding: 20px 20px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(226, 223, 216, .85);
  border-radius: 17px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}
.service-icon { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; }
.service-icon svg { width: 50px; height: 50px; }
.service-card.green .service-icon { color: var(--green); background: var(--green-soft); }
.service-card.blue .service-icon { color: var(--blue); background: var(--blue-soft); }
.service-card.gold .service-icon { color: var(--gold); background: var(--gold-soft); }
.service-card h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.4; }
.service-card p { margin: 0; font-size: 16px; line-height: 1.8; color: #3a352f; }
.service-card a { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 8px; border-radius: 50%; color: #fff; font-family: sans-serif; font-size: 13px; line-height: 1; }
.service-card.green a { background: var(--green); }
.service-card.blue a { background: var(--blue); }
.service-card.gold a { background: var(--gold); }

.feature-section { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; margin-top: 0; }
.strength-card, .doctor-card { border: 1px solid #f0ece4; border-radius: 15px; overflow: hidden; }
.strength-card { padding: 12px 20px 21px; background: linear-gradient(110deg, #fffdf8, #fff 45%, #fffdf8); }
.section-heading { margin: 2px 0 14px; text-align: center; font-size: 22px; letter-spacing: .12em; }
.section-heading span { color: #98bc67; font-size: 24px; margin: 0 10px; }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strength-item { display: grid; grid-template-columns: 67px 1fr; gap: 12px; align-items: center; }
.strength-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.strength-icon svg { width: 41px; height: 41px; }
.strength-icon.green { color: var(--green); background: var(--green-soft); }
.strength-icon.blue { color: var(--blue); background: var(--blue-soft); }
.strength-icon.gold { color: var(--gold); background: var(--gold-soft); }
.strength-item h3 { margin: 0 0 3px; font-size: 15px; }
.strength-item:nth-child(1) h3 { color: var(--green-dark); }
.strength-item:nth-child(2) h3 { color: #547f9d; }
.strength-item:nth-child(3) h3 { color: #a78038; }
.strength-item p { margin: 0; font-size: 14.5px; line-height: 1.85; color: #3a352f; }
.doctor-card { position: relative; display: block; background: #fff; }
.doctor-card img { display: block; width: 100%; height: 430px; object-fit: cover; object-position: 50% 46%; }
.doctor-card::before { content: none; }
.doctor-copy { position: absolute; inset: 0; z-index: 2; padding: 24px 26px 26px; display: flex; flex-direction: column; }
.eyebrow { margin: 0 0 7px; font-weight: 700; letter-spacing: .08em; color: var(--green-dark); text-shadow: 0 1px 10px rgba(255,255,255,.95), 0 0 4px rgba(255,255,255,.95); }
.doctor-copy h2 { margin: 0 0 9px; font-size: 20px; line-height: 1.5; color: #2f2b26; text-shadow: 0 1px 12px rgba(255,255,255,.98), 0 0 5px rgba(255,255,255,.95); }
.doctor-copy p { margin: 0 0 15px; font-size: 13.5px; line-height: 1.8; color: #3a352f; max-width: 30em; }
.outline-button { position: relative; z-index: 2; margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 25px; min-width: 129px; padding: 8px 18px; background: #fff; border: 1.5px solid var(--green); border-radius: 999px; color: var(--green-dark); font-size: 13px; font-weight: 700; box-shadow: 0 2px 9px rgba(60,90,40,.12); }
.outline-button span { font-size: 20px; line-height: 1; }

.info-section { display: grid; grid-template-columns: 1.05fr 1.05fr .9fr; gap: 27px; padding-top: 18px; padding-bottom: 18px; }
.info-section h2 { margin: 0 0 8px; font-size: 19px; }
.access-content { display: grid; grid-template-columns: 220px 1fr; gap: 17px; }
.access-content img { width: 100%; height: 138px; object-fit: cover; border-radius: 3px; }
.access-content p { margin: 0 0 6px; font-size: 15px; line-height: 1.75; }
.access-content small { font-size: 12px; }
.parking { color: var(--green-dark); font-weight: 700; font-size: 13px !important; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 450px; border-collapse: collapse; background: #fff; }
th, td { border: 1px solid #ddd8cf; padding: 9px 6px; text-align: center; font-size: 13px; white-space: nowrap; }
thead th { background: #fbfaf7; font-weight: 700; }
tbody th { text-align: left; background: #fff; font-weight: 400; }
tbody td:not(:last-child) { color: var(--green); font-size: 16px; }
.hours-note { margin: 7px 0 0; font-size: 12px; }
.contact-block { padding: 13px 27px; border: 1px solid #e5e1da; border-radius: 5px; background: #fff; box-shadow: 0 5px 14px rgba(48,42,36,.04); }
.contact-block .eyebrow { font-size: 15px; }
.phone { display: flex; align-items: center; gap: 9px; color: var(--green); font-family: "Arial", sans-serif; font-weight: 700; font-size: clamp(29px, 2.4vw, 39px); line-height: 1.15; white-space: nowrap; }
.phone svg { width: 29px; }
.reception { display: flex; gap: 14px; align-items: center; margin: 7px 0 12px; }
.reception span { padding: 4px 13px; background: var(--green-soft); color: var(--green-dark); border-radius: 3px; font-size: 11px; font-weight: 700; }
.reception p { margin: 0; font-size: 13.5px; line-height: 1.4; }
.contact-button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 26px; border-radius: 999px; background: linear-gradient(135deg, #6eaa48, #84b85c); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 5px 15px rgba(81,129,44,.17); }
.contact-button svg { width: 19px; }
.contact-button span { font-size: 18px; line-height: 1; }

.site-footer { background: #fbf8ef; border-top: 1px solid #eee9dd; }
.footer-inner { min-height: 102px; display: grid; grid-template-columns: 330px 1fr 44px; gap: 20px; align-items: center; }
.footer-brand img { width: 290px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-nav a { font-size: 14px; }
.footer-address { font-size: 13.5px; line-height: 1.8; }
.footer-address strong { font-size: 13px; letter-spacing: .08em; }
.page-top { width: 40px; height: 40px; border: 1px solid #9fc182; border-radius: 50%; color: var(--green-dark); display: grid; place-items: center; font-family: sans-serif; font-size: 23px; }

@media (max-width: 1200px) {
  .header-inner { grid-template-columns: 300px 1fr auto; }
  .brand img { width: 285px; }
  .global-nav { gap: 18px; }
  .global-nav a { font-size: 13px; }
  .header-cta { padding-inline: 18px; font-size: 13px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-section { grid-template-columns: 1fr; }
  .doctor-card { grid-template-columns: 1fr 1fr; }
  .doctor-card img { min-height: 230px; }
  .info-section { grid-template-columns: 1fr 1fr; }
  .contact-block { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 280px 1fr 44px; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 32px, 720px); }
  .header-inner { width: calc(100% - 28px); min-height: 68px; grid-template-columns: 1fr auto; }
  .brand img { width: min(260px, 70vw); }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .global-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 8px 18px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .22s;
  }
  .global-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .global-nav a { padding: 11px 3px; border-bottom: 1px solid #eee; }
  .global-nav a:last-child { border-bottom: 0; }
  .global-nav a::after { display: none; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 560px; }
  .hero-photo { inset: auto 0 0; width: 100%; height: 340px; background-image: linear-gradient(180deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 15%), url("../images/hero.jpg"); background-size: cover; background-position: 50% 30%; }
  .hero-inner { width: calc(100% - 36px); padding-top: 42px; }
  .hero-copy { width: 100%; }
  .hero-title { font-size: clamp(32px, 8vw, 48px); }
  .hero-lead { font-size: 15px; }
  .hero-leaf { left: 15px; bottom: 70px; width: 95px; }
  .service-area { margin-top: -20px; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-item { grid-template-columns: 70px 1fr; }
  .strength-item p { font-size: 12px; }
  .doctor-card img { height: 380px; object-position: 50% 42%; }
  .doctor-card::before { height: 62%; background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.94) 46%, rgba(255,255,255,.72) 64%, rgba(255,255,255,0) 100%); }
  .doctor-copy { padding: 22px 22px 26px; }
  .info-section { grid-template-columns: 1fr; }
  .contact-block { grid-column: auto; }
  .footer-inner { padding: 22px 0; grid-template-columns: 1fr 44px; }
  .footer-brand, .footer-nav, .footer-address { grid-column: 1; }
  .footer-nav { justify-content: flex-start; }
  .page-top { grid-column: 2; grid-row: 1; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 24px); }
  .hero { min-height: 540px; }
  .hero-photo { height: 300px; background-position: 45% 30%; }
  .table-wrap { overflow-x: visible; }
  table { min-width: 0; }
  th, td { font-size: 11px; padding: 7px 2px; }
  tbody td:not(:last-child) { font-size: 15px; }
  .hero-title { font-size: 31px; letter-spacing: .07em; }
  .hero-lead { font-size: 14px; }
  .service-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-card { min-height: 110px; grid-template-columns: 70px 1fr; padding: 16px; }
  .service-icon { width: 66px; height: 66px; }
  .service-icon svg { width: 41px; height: 41px; }
  .service-card h3 { font-size: 18px; }
  .feature-section { width: calc(100% - 24px); }
  .strength-card { padding: 13px 14px 18px; }
  .section-heading { font-size: 19px; }
  .doctor-card img { height: 340px; }
  .doctor-copy { padding: 20px 20px 24px; }
  .doctor-copy h2 { font-size: 18px; }
  .doctor-copy p { font-size: 13px; }
  .access-content { grid-template-columns: 1fr; }
  .access-content img { height: 210px; }
  .phone { font-size: 30px; white-space: normal; }
  .contact-block { padding: 17px; }
  .reception { align-items: flex-start; flex-direction: column; gap: 5px; }
  .contact-button { padding-inline: 15px; font-size: 12px; }
  .footer-brand img { width: 255px; }
}
