:root {
  --ink: #263837;
  --muted: #5d6b69;
  --brand: #1f716c;
  --brand-dark: #145451;
  --mint: #edf8f5;
  --cream: #ffffff;
  --line: #dce9e6;
  --accent: #d86942;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(29, 73, 68, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 17px; line-height: 1.8; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #e39745; outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 99; padding: 9px 15px; background: var(--ink); color: #fff; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; line-height: 1.25; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; background: var(--brand); color: #fff; border-radius: 50% 50% 50% 8px; font-size: 19px; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 17px; font-size: 14px; font-weight: 700; }
.site-nav a { text-decoration: none; }
.nav-cta { padding: 7px 16px; background: var(--accent); color: #fff; border-radius: 999px; }
.menu-button { display: none; border: 0; background: none; padding: 10px; font: inherit; color: var(--ink); }

.hero { overflow: hidden; position: relative; padding: 86px 0 76px; background-image: url("../images/hero-treatment.jpeg"); background-position: center; background-size: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.89) 46%, rgba(247,253,251,.68) 100%); }
.hero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -260px; top: -180px; background: rgba(223,242,236,.5); border-radius: 43% 57% 60% 40%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 620px); align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; padding: 4px 12px; color: var(--brand-dark); background: #e5f5f0; border-radius: 999px; font-size: 14px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 17px 0 20px; font-size: clamp(32px, 5vw, 52px); line-height: 1.35; letter-spacing: .03em; }
h1 em { color: var(--brand); font-style: normal; }
.hero-copy { max-width: 590px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 55px; padding: 11px 23px; border: 2px solid transparent; border-radius: 8px; font-size: 17px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 5px 10px rgba(173, 69, 33, .18); }
.button-secondary { color: var(--brand-dark); background: #fff; border-color: var(--brand); }
.hero-note { margin: 17px 0 0; color: var(--muted); font-size: 13px; }

.trust { background: var(--brand-dark); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 23px 27px; border-right: 1px solid rgba(255,255,255,.24); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; font-size: 20px; }
.trust-item span { font-size: 14px; opacity: .86; }
.company-section { padding: 47px 0; background: #fff; border-bottom: 1px solid var(--line); }
.company-inner { display: grid; grid-template-columns: 220px 1fr; gap: 20px 35px; align-items: center; }
.company-inner .section-label { margin-bottom: 3px; }
.company-inner h2 { margin: 0; font-size: 25px; }
.company-content { display: grid; gap: 11px; }
.company-message { margin: 0; color: var(--brand-dark); font-size: 17px; font-weight: 700; }
.company-list { display: flex; flex-wrap: wrap; gap: 9px; }
.company-list span { padding: 6px 12px; color: var(--brand-dark); background: var(--mint); border-radius: 999px; font-size: 14px; font-weight: 700; }
.company-detail { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.company-detail a { color: var(--brand-dark); font-weight: 700; }
.company-note { grid-column: 2; margin: -10px 0 0; color: var(--muted); font-size: 12px; }
.section { padding: 86px 0; background: #fbfefd; }
.section-white { background: #fff; }
.section-label { margin-bottom: 8px; color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: .12em; }
h2 { font-size: clamp(27px, 4vw, 38px); line-height: 1.45; letter-spacing: .04em; }
.lead { max-width: 670px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; color: var(--brand); background: var(--mint); border-radius: 50%; font-size: 25px; }
.card h3 { margin-bottom: 9px; font-size: 20px; }
.course-title { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.course-title span { padding: 2px 8px; color: #fff; background: var(--brand); border-radius: 999px; font-size: 11px; line-height: 1.6; white-space: nowrap; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.price { display: inline-block; margin-top: 7px; color: var(--brand-dark); font-size: 24px; line-height: 1.3; }
.menu-notice { display: inline-flex; align-items: center; gap: 9px; margin: 22px 0 -7px; padding: 8px 13px; color: var(--brand-dark); background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.menu-notice strong { padding: 1px 8px; color: #fff; background: var(--brand); border-radius: 999px; font-size: 12px; white-space: nowrap; }
.travel-card { grid-column: span 3; }
.travel-card > p strong { color: var(--brand-dark); font-size: 17px; }
.travel-card > p small { font-size: 13px; }
.travel-fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 19px 0 0; border-top: 1px solid var(--line); }
.travel-fees div { padding: 12px 13px 0; border-right: 1px solid var(--line); }
.travel-fees div:first-child { padding-left: 0; }
.travel-fees div:last-child { border: 0; }
.travel-fees dt { color: var(--muted); font-size: 13px; }
.travel-fees dd { margin: 1px 0 0; color: var(--brand-dark); font-weight: 700; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.feature-panel { padding: 31px; background: var(--mint); border-radius: var(--radius); }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 15px 0; border-bottom: 1px solid rgba(31,113,108,.18); font-weight: 700; }
.feature-list li:last-child { border: 0; }
.feature-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 23px; height: 23px; margin-right: 11px; color: #fff; background: var(--brand); border-radius: 50%; font-size: 13px; }
.text-link { display: inline-block; margin-top: 16px; color: var(--brand-dark); font-weight: 700; }
.profile-section { background: #f7fcfa; }
.profile-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 66px; align-items: center; }
.profile-image-wrap { position: relative; padding: 0 18px 18px 0; }
.profile-image-wrap::after { content: ""; position: absolute; z-index: 0; right: 0; bottom: 0; width: 73%; height: 78%; background: #d9eee7; border-radius: var(--radius); }
.profile-image { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 71% center; border-radius: var(--radius); box-shadow: var(--shadow); }
.profile-name { position: absolute; z-index: 2; right: -4px; bottom: 3px; margin: 0; padding: 10px 19px; color: var(--brand-dark); background: #fff; border-radius: 8px; box-shadow: var(--shadow); font-size: 19px; font-weight: 700; }
.profile-name span { margin-right: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.profile-credential { display: inline-flex; align-items: center; gap: 10px; margin: -5px 0 20px; color: var(--brand-dark); font-size: 16px; }
.profile-credential span { padding: 2px 9px; color: #fff; background: var(--brand); border-radius: 999px; font-size: 12px; font-weight: 700; }
.achievement { margin: 0 0 25px; padding: 17px 19px; background: #fff; border: 1px solid #cfe6de; border-radius: 10px; }
.achievement-label { margin: 0 0 3px; color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.achievement-title { margin: 0; color: var(--brand-dark); font-size: 15px; line-height: 1.6; }
.achievement-title strong { font-size: 17px; }
.achievement-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.achievement-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 12px; box-shadow: var(--shadow); }
.achievement-gallery .achievement-medal { grid-column: 2; aspect-ratio: 1 / 1.4; object-position: center; }
.profile-note { display: grid; gap: 4px; margin-top: 22px; padding: 19px 21px; background: #fff; border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; }
.profile-note strong { color: var(--brand-dark); }
.profile-note span { color: var(--muted); font-size: 15px; line-height: 1.7; }
.media-history { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 30px 0; }
.media-history div { display: flex; align-items: center; gap: 14px; padding: 17px 20px; background: var(--mint); border-radius: 10px; }
.media-history span { padding: 2px 10px; color: #fff; background: var(--brand); border-radius: 999px; font-size: 13px; font-weight: 700; }
.media-history strong { color: var(--brand-dark); font-size: 16px; }
.media-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.media-card { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.media-card-featured { grid-column: 1 / -1; }
.media-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-card-featured img { aspect-ratio: 2.4 / 1; object-position: center; }
.media-card figcaption { padding: 11px 15px; color: var(--muted); font-size: 14px; }
.area-map-wrap { position: relative; margin-top: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #e8f2ef; }
.area-map { display: block; width: 100%; height: auto; }
.area-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
.cta-section { padding: 72px 0; background: #eef9f6; text-align: center; }
.cta-section h2 { margin-bottom: 13px; }
.cta-actions { justify-content: center; }
.site-footer { padding: 37px 0 100px; color: #dce8e4; background: #203f3d; }
.footer-grid { display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.footer-nav a { color: #dce8e4; text-decoration: none; }
.copyright { margin: 22px 0 0; font-size: 12px; opacity: .75; }
.mobile-bar { display: none; }

@media (max-width: 780px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, 580px); }
  .header-inner { min-height: 62px; }
  .menu-button { display: block; font-weight: 700; }
  .site-nav { display: none; position: absolute; top: 62px; right: 16px; left: 16px; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 8px; }
  .nav-cta { text-align: center; }
  .hero { padding: 50px 0 45px; }
  .hero-grid, .about-grid, .profile-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 32px; }
  .hero-copy { font-size: 16px; }
  .hero { padding: 58px 0 54px; background-position: 57% center; }
  .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 72%, rgba(247,253,251,.74) 100%); }
  .trust-grid, .cards { grid-template-columns: 1fr; }
  .trust-item { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.24); }
  .trust-item:last-child { border-bottom: 0; }
  .company-section { padding: 38px 0; }
  .company-inner { grid-template-columns: 1fr; gap: 17px; }
  .company-inner h2 { font-size: 24px; }
  .company-note { grid-column: auto; margin: -8px 0 0; }
  .section { padding: 62px 0; }
  .cards { gap: 13px; margin-top: 26px; }
  .card { padding: 23px; }
  .travel-card { grid-column: auto; }
  .menu-notice { display: flex; align-items: flex-start; margin-bottom: -2px; line-height: 1.65; }
  .travel-fees { grid-template-columns: 1fr; gap: 0; }
  .travel-fees div { padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .travel-fees div:last-child { border-bottom: 0; }
  .feature-panel { padding: 25px; }
  .profile-image-wrap { width: min(100%, 400px); }
  .achievement-gallery { grid-template-columns: 1fr; margin-top: 36px; }
  .achievement-gallery img { aspect-ratio: 16 / 10; }
  .achievement-gallery .achievement-medal { grid-column: auto; aspect-ratio: 1 / 1.4; }
  .media-history, .media-gallery { grid-template-columns: 1fr; }
  .media-card-featured { grid-column: auto; }
  .media-card-featured img { aspect-ratio: 16 / 9; }
  .area-map-wrap { margin-top: 27px; }
  .footer-grid { display: block; }
  .footer-nav { margin-top: 22px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 30; bottom: 0; left: 0; right: 0; padding: 9px 12px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  .mobile-bar .button { min-height: 48px; padding: 8px; font-size: 15px; }
}
