:root {
  --blue: #0054fe;
  --blue-bright: #0087fe;
  --navy: #05246d;
  --green: #84c14c;
  --pale: #f5f9ff;
  --pale-blue: #e2ecff;
  --line: #e0e7f6;
  --line-deep: #bec7dc;
  --white: #fff;
  --shadow: 0 10px 30px rgba(5, 36, 109, .07);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --container: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding-left: 1.4em; }
section[id] { scroll-margin-top: 86px; }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px;
}
.skip-link:focus { top: 10px; }
:focus-visible { outline: 3px solid #ffab00; outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 102px 0; }
.section--tint { background: var(--pale); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  min-height: 72px; padding: 8px max(24px, calc((100vw - 1320px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(255, 255, 255, .96); border-bottom: 1px solid #eef2fa;
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { display: block; width: 320px; max-width: 100%; height: auto; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 64px; padding: 16px 28px; border: 0; border-radius: 8px;
  color: #fff; background: linear-gradient(105deg, var(--blue-bright), var(--blue));
  font: inherit; font-weight: 700; line-height: 1.5; cursor: pointer;
  box-shadow: 0 7px 18px rgba(0, 84, 254, .15);
  transition: transform .18s ease, filter .18s ease;
}
.button:hover { transform: translateY(-1px); filter: saturate(1.08); }
.button img { width: 24px; height: 24px; }
.button--small { min-height: 42px; padding: 9px 20px; font-size: 13px; }
.button--small img { width: 18px; height: 18px; }
.button--outline { color: var(--blue); background: #fff; border: 2px solid var(--blue); box-shadow: none; }
.button--wide { width: min(500px, 100%); }

.hero { min-height: 753px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.hero__copy { min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 64px 40px 0; }
.hero__tags { display: flex; align-items: flex-end; gap: 16px; }
.hero__tags span { min-width: 142px; padding: 3px 28px; text-align: center; border-radius: 80px; background: var(--pale-blue); color: var(--blue); font-size: 33px; font-weight: 700; line-height: 1.6; }
.hero__tags b { padding-bottom: 6px; font-size: 28px; }
.hero h1 { margin-top: 24px; color: var(--blue); font-size: clamp(52px, 5.25vw, 79px); font-weight: 900; line-height: 1.23; letter-spacing: .07em; text-align: center; }
.hero h1 span { display: inline-block; border: 5px solid var(--blue); padding: 0 8px 5px; line-height: 1.18; }
.authentic-badge { margin-top: 30px; display: flex; align-items: center; gap: 16px; padding: 8px 16px; border: 3px solid var(--green); border-radius: 8px; }
.authentic-badge img { width: 59px; height: 59px; }
.authentic-badge p { font-size: 15px; font-weight: 700; line-height: 1.6; }
.authentic-badge strong { color: var(--green); font-size: 20px; }
.hero__button { margin-top: 30px; min-width: 345px; }
.hero__nav { margin-top: 30px; display: flex; align-items: center; padding: 16px 24px; border-radius: 8px; background: var(--pale); }
.hero__nav a { padding: 0 22px; color: var(--blue); font-size: 15px; font-weight: 700; white-space: nowrap; }
.hero__nav a + a { border-left: 1px solid var(--blue); }
.hero__age { margin-top: 18px; font-size: 12px; font-weight: 700; }
.hero__visual { min-width: 0; overflow: hidden; border-radius: 0 0 0 30px; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 15% center; }

.section-heading { margin-bottom: 40px; }
.section-heading--left { max-width: 770px; }
.section-label { display: flex; align-items: center; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 700; line-height: 1.6; }
.section-label::before { content: "✣"; font-size: 16px; }
.section-heading h2 { font-size: 48px; line-height: 1.6; letter-spacing: .09em; }
.section-heading h3 { margin-top: 4px; font-size: 28px; }
.section-heading > p:last-child { margin-top: 4px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { min-height: 332px; padding: 32px 28px; border: 1px solid var(--line); border-radius: 8px; display: grid; grid-template-columns: 78px 1fr; align-content: start; gap: 24px; }
.service-card__icon { width: 78px; height: 79px; object-fit: contain; }
.service-card h3 { margin-bottom: 12px; font-size: 23px; line-height: 1.6; }
.service-card p { font-size: 15px; }
.text-link { grid-column: 1 / -1; justify-self: center; margin-top: auto; padding: 6px 0; color: var(--blue); border-bottom: 2px solid var(--blue); font-weight: 700; }
.text-link span { margin-left: 8px; }
.button-row { margin-top: 40px; display: flex; justify-content: center; gap: 16px; }

.wide-photo { height: 400px; overflow: hidden; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.wide-photo--ed img { object-position: center 37%; }

.heading-with-notes { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.heading-with-notes--treatment { align-items: flex-start; }
.care-notes { display: grid; gap: 8px; flex: 0 0 254px; }
.care-notes p { min-height: 74px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #fff; border-radius: 8px; font-size: 13px; font-weight: 700; line-height: 1.6; }
.care-notes img { width: 42px; height: 42px; }

.treatment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.treatment-card { min-height: 430px; padding: 48px 32px 32px; display: flex; flex-direction: column; gap: 20px; background: #fff; border-radius: 16px; }
.treatment-card header { display: flex; align-items: center; gap: 12px; }
.treatment-card header > span { width: 95px; height: 95px; display: grid; place-items: center; flex: 0 0 auto; background: var(--pale); border-radius: 50%; }
.treatment-card header img { width: 63px; height: 63px; }
.treatment-card h3 { font-size: 28px; }
.treatment-card > p { padding-bottom: 16px; border-bottom: 1px solid var(--blue); }
.treatment-card .warning { position: relative; padding: 0 0 20px 40px; font-size: 13px; line-height: 1.6; }
.warning::before { content: "!"; position: absolute; left: 0; top: 0; width: 26px; height: 23px; display: grid; place-items: center; color: var(--blue); font-weight: 900; border: 2px solid var(--blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pill-link { margin-top: auto; padding: 7px 18px; text-align: center; color: var(--blue); border: 2px solid var(--blue); border-radius: 60px; font-weight: 700; }
.pill-link span { margin-left: 4px; }
.visit-notice { margin: 0 0 32px; padding: 14px 20px; border: 2px solid var(--blue); border-radius: 8px; background: #fff; color: var(--blue); font-size: 16px; font-weight: 700; line-height: 1.7; }
.price-note { margin-top: 12px; font-size: 13px; font-weight: 700; }
.disclaimer { margin-top: 20px; text-align: center; font-size: 13px; }

.price-heading { margin-bottom: 40px; text-align: center; }
.price-heading p { color: var(--blue); font-size: 13px; font-weight: 700; }
.price-heading h2 { margin: 10px 0 4px; display: flex; align-items: center; gap: 32px; font-size: 33px; line-height: 1.6; }
.price-heading h2::before, .price-heading h2::after { content: ""; height: 1px; flex: 1; background: var(--navy); }
.price-heading small { font-weight: 700; }
.price-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.price-card { min-height: 360px; padding: 40px; background: #fff; border-radius: 16px; }
.price-card h3 { margin-bottom: 18px; font-size: 27px; }
.price-card h3::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; border-radius: 50%; background: var(--blue); }
.price-card dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.price-card dt, .price-card dd { min-height: 62px; display: flex; align-items: center; border-bottom: 1px solid var(--line-deep); }
.price-card dt { font-size: 14px; font-weight: 700; }
.price-card dd, .medicine-table strong { color: var(--blue); font-size: 24px; font-weight: 700; white-space: nowrap; }
.price-card dd small, .medicine-table strong small { font-size: 12px; }
/* 金額と「円」を上下中央ではなくベースラインで揃える（行内での上下中央配置は維持） */
.price-card dd { display: grid; grid-auto-flow: column; align-content: center; align-items: baseline; }
.price-card > p { margin-top: 20px; font-size: 12px; }
.center-button { margin-top: 40px; text-align: center; }

.approved-badge { flex: 0 0 302px; display: flex; align-items: center; gap: 16px; padding: 16px; color: var(--green); border: 3px solid var(--green); border-radius: 8px; line-height: 1.6; }
.approved-badge img { width: 59px; height: 59px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.info-card { min-height: 315px; padding: 40px 32px; border-radius: 16px; background: var(--pale); }
.info-card h3 { margin-bottom: 24px; font-size: 28px; }
.info-card__body { display: flex; align-items: flex-start; gap: 24px; }
.round-icon { width: 150px; height: 150px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #fff; }
.round-icon img { width: 119px; height: 119px; }
.info-card em { display: block; margin-top: 6px; color: var(--blue); font-style: normal; }
.medicine-list { padding: 0; list-style: none; }
.medicine-list li { min-height: 48px; display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line-deep); }

.notice-box { margin-top: 16px; display: flex; align-items: center; gap: 22px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 8px; }
.warning-icon { width: 56px; height: 50px; flex: 0 0 auto; display: grid; place-items: end center; color: var(--blue); font-size: 28px; font-weight: 900; border: 4px solid var(--blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.notice-box h3 { font-size: 16px; }
.notice-list { margin-top: 6px; font-size: 12px; line-height: 1.6; }
.notice-list--two { columns: 2; column-gap: 46px; }
.notice-list li { break-inside: avoid; }
.full-outline-link { margin-top: 32px; min-height: 62px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--blue); border-radius: 8px; color: var(--blue); font-weight: 700; }

.medicine-table { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.medicine-table__head, .medicine-table__row { display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 20px; }
.medicine-table__head { min-height: 50px; padding: 10px 24px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 700; }
.medicine-table__head span:last-child { text-align: right; }
.medicine-table__row { min-height: 91px; padding: 14px 24px; background: #fff; border-top: 1px solid #f0f4f8; font-weight: 700; }
.medicine-table__row:nth-child(odd) { background: var(--pale); }
.medicine-table__row strong { text-align: right; font-size: 28px; }
.benefit-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-grid article { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.benefit-grid h3 { margin-bottom: 8px; font-size: 19px; }
.notice-box--compact { margin-top: 16px; }

.ribbon-title { display: inline-block; margin: 0 0 16px; padding: 10px 16px; color: #fff; background: var(--blue); font-size: 18px; }
.drug-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.drug-grid article { min-height: 330px; padding: 28px 24px; background: #fff; border-radius: 16px; }
.drug-grid h3 { margin-bottom: 16px; font-size: 24px; }
.drug-grid h3::before { content: "◯"; margin-right: 10px; color: var(--blue); }
.drug-grid b { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 30px; color: var(--blue); background: var(--pale); }
.drug-grid li { margin-bottom: 4px; }
.ed-notes { margin-top: 24px; align-items: flex-start; }
.ed-notes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ed-notes__grid h3 { font-size: 16px; }
.ed-notes__grid ul { margin-top: 6px; font-size: 12px; }

.final-cta { display: grid; grid-template-columns: 1fr 1fr; min-height: 610px; background: #fff; }
.final-cta__copy { padding: 64px clamp(32px, 8vw, 150px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.final-cta h2 { font-size: 33px; line-height: 1.6; }
.final-cta .button { margin-top: 32px; }
.final-cta__copy > p { margin-top: 22px; font-size: 12px; }
.final-cta figure { min-width: 0; }
.final-cta figure img { width: 100%; height: 100%; object-fit: cover; }
.final-brand { margin-top: 28px; display: flex; align-items: center; }
.final-brand img { display: block; width: 400px; max-width: 100%; height: auto; }
.doctor { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: center; }
.doctor__photo { position: relative; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 24px; background: linear-gradient(180deg, var(--pale-blue), #fff); }
.doctor__photo picture { display: block; width: 100%; height: 100%; padding: 24px 16px 0; }
.doctor__photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.doctor__message { margin: 0; }
.doctor__message p { line-height: 2; }
.doctor__message p + p { margin-top: 20px; }
.doctor__lead { color: var(--navy); font-size: 24px; font-weight: 700; line-height: 1.6; }
.doctor__name { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 22px; font-weight: 700; }
.doctor__name span { display: block; color: var(--blue); font-size: 13px; }
.clinic-info { margin: 28px 0 0; padding: 20px 24px; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; background: var(--pale); border-radius: 12px; font-size: 14px; line-height: 1.8; }
.clinic-info dt { color: var(--blue); font-weight: 700; }
.clinic-info dd { margin: 0; }
.clinic-info .nowrap { display: inline-block; max-width: 100%; }
footer { min-height: 76px; display: grid; place-items: center; background: var(--pale); border-top: 1px solid var(--line); font-size: 12px; text-align: center; }

.floating-cta { position: fixed; left: 50%; bottom: 18px; z-index: 200; transform: translateX(-50%); width: min(420px, calc(100% - 32px)); padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: 0 14px 40px rgba(5, 36, 109, .28); backdrop-filter: blur(12px); }
.floating-cta .button { width: 100%; min-height: 58px; }

@media (max-width: 1180px) {
  .drug-grid { grid-template-columns: repeat(2, 1fr); }
  .drug-grid article { min-height: 0; }
}

@media (max-width: 900px) {
  .hero__copy { padding-inline: 24px; }
  .hero__tags span { min-width: 110px; padding-inline: 20px; }
  .hero__nav a { padding-inline: 12px; }
  .service-grid { gap: 14px; }
  .service-card { grid-template-columns: 56px 1fr; padding-inline: 18px; }
  .service-card__icon { width: 56px; height: 56px; }
}

@media (max-width: 767px) {
  body { font-size: 14px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .container { width: min(calc(100% - 40px), 520px); }
  .section { padding: 64px 0; }
  section[id] { scroll-margin-top: 64px; }
  .site-header { min-height: 57px; padding: 6px 16px; justify-content: center; }
  .site-header > .button { display: none; }
  .brand-logo { width: 253px; }

  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero__copy { order: 1; padding: 32px 20px 30px; }
  .hero__tags { gap: 8px; }
  .hero__tags span { min-width: 84px; padding: 3px 14px; font-size: 20px; }
  .hero__tags b { padding-bottom: 3px; font-size: 16px; }
  .hero h1 { margin-top: 16px; font-size: clamp(36px, 11vw, 47px); line-height: 1.3; letter-spacing: .05em; }
  .hero h1 span { border-width: 3px; padding: 1px 7px 4px; }
  .authentic-badge { margin-top: 24px; max-width: 320px; gap: 10px; padding: 7px 10px; border-width: 2px; }
  .authentic-badge img { width: 44px; height: 44px; }
  .authentic-badge p { font-size: 12px; }
  .authentic-badge strong { font-size: 14px; }
  .hero__button { margin-top: 20px; width: min(100%, 305px); min-width: 0; min-height: 58px; }
  .hero__nav { margin-top: 20px; padding: 12px 10px; width: 100%; justify-content: center; }
  .hero__nav a { padding: 0 10px; font-size: 11px; }
  .hero__age { margin-top: 12px; font-size: 10px; }
  .hero__visual { order: 2; height: 300px; border-radius: 0; }
  .hero__visual img { object-position: 20% center; }

  .section-heading { margin-bottom: 32px; }
  .section-label { font-size: 11px; }
  .section-heading h2 { margin-top: 2px; font-size: 32px; letter-spacing: .06em; }
  .section-heading h3 { font-size: 22px; }
  .section-heading > p:last-child { font-size: 13px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { min-height: 0; grid-template-columns: 66px 1fr; padding: 24px 20px; gap: 18px; }
  .service-card__icon { width: 66px; height: 66px; }
  .service-card h3 { font-size: 21px; }
  .service-card p { font-size: 13px; }
  .text-link { font-size: 13px; }
  .button-row { margin-top: 24px; display: grid; }
  .button-row .button { width: 100%; }

  .wide-photo { height: 300px; }
  .wide-photo img { object-position: center; }
  .wide-photo--ed img { object-position: 57% center; }

  .heading-with-notes { display: block; }
  .care-notes { margin-bottom: 24px; grid-template-columns: 1fr; }
  .care-notes p { min-height: 64px; }
  .approved-badge { margin-bottom: 28px; width: 100%; }
  .treatment-grid, .price-card-grid, .info-grid, .drug-grid { grid-template-columns: 1fr; }
  .treatment-card { min-height: 0; padding: 32px 16px 24px; }
  .treatment-card header > span { width: 76px; height: 76px; }
  .treatment-card header img { width: 52px; height: 52px; }
  .treatment-card h3 { font-size: 23px; }
  .treatment-card > p { font-size: 13px; }

  .price-heading { margin-bottom: 28px; }
  .price-heading h2 { gap: 12px; font-size: 24px; white-space: nowrap; }
  .price-card { min-height: 0; padding: 28px 16px; }
  .price-card h3 { font-size: 22px; }
  .price-card dl { column-gap: 12px; }
  .price-card dt, .price-card dd { min-height: 70px; }
  .price-card dt { font-size: 12px; }
  .price-card dd { font-size: 20px; }

  .info-card { min-height: 0; padding: 28px 20px; }
  .info-card h3 { font-size: 24px; }
  .info-card__body { gap: 16px; }
  .round-icon { width: 96px; height: 96px; }
  .round-icon img { width: 78px; height: 78px; }
  .medicine-list li { grid-template-columns: 1fr; gap: 0; padding: 9px 0; }
  .notice-box { align-items: flex-start; padding-inline: 16px; }
  .warning-icon { width: 38px; height: 35px; font-size: 17px; border-width: 3px; }
  .notice-list--two { columns: 1; }
  .full-outline-link { min-height: 58px; padding: 10px; font-size: 13px; text-align: center; }

  .medicine-table__head, .medicine-table__row { grid-template-columns: 1fr 88px; gap: 10px; padding-inline: 12px; }
  .medicine-table__row { min-height: 108px; font-size: 12px; }
  .medicine-table__row strong { font-size: 21px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 0; }
  .drug-grid article { min-height: 0; padding: 24px 20px; }
  .drug-grid h3 { font-size: 21px; }
  .ed-notes__grid { grid-template-columns: 1fr; gap: 18px; }

  .final-cta { grid-template-columns: 1fr; }
  .final-cta figure { order: -1; height: 300px; }
  .final-cta__copy { padding: 32px 16px; align-items: center; text-align: center; }
  .final-cta h2 { font-size: 24px; }
  .final-brand { justify-content: center; }
  .doctor { grid-template-columns: 1fr; gap: 32px; }
  .doctor__photo { width: min(100%, 300px); margin-inline: auto; }
  .doctor__lead { font-size: 20px; }
  .doctor__message p { font-size: 14px; }
  .clinic-info { padding: 16px 18px; grid-template-columns: 1fr; gap: 0; font-size: 13px; }
  .clinic-info dd + dt { margin-top: 10px; }
  footer { min-height: 64px; padding-inline: 16px; }
  .floating-cta { bottom: calc(8px + env(safe-area-inset-bottom)); width: calc(100% - 24px); padding: 6px; }
  .floating-cta .button { min-height: 56px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
