/* Shared refinements, loaded after each page's original styles. */
:root { --reading-ink: #625158; }
:focus-visible { outline: 3px solid #8b435d; outline-offset: 5px; }
body { overflow-wrap: break-word; }
.shell, .nav-wrap, .treatment-hero__copy, .treatment-hero__visuals { min-width: 0; }
.site-header a, .submenu-toggle, .menu-toggle { touch-action: manipulation; }
.submenu a { padding-top: 10px; padding-bottom: 10px; font-size: 15px; font-weight: 700; }
.section-heading p, .treatment-section__head p, .detail-story p, .detail-focus-card p,
.detail-process p, .detail-check-card li, .detail-safety li { font-size: 16px; line-height: 1.85; }
.detail-story p, .detail-focus-card p, .detail-safety li { color: var(--reading-ink); }
.detail-chips span { font-size: 13px; }
.detail-jump a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.treatment-hero__visuals.is-triple,
.treatment-hero__visuals.is-selected { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.treatment-hero__visuals.is-selected { grid-template-columns: 1fr; max-width: 560px; }
.treatment-hero__visuals:has(> figure:only-child) { grid-template-columns: 1fr; }
.treatment-hero__visuals:has(> figure:only-child) img { object-fit: contain; object-position: center; background: #fff; }
.treatment-hero__visuals.is-triple figure,
.treatment-hero__visuals.is-selected figure { width: 100%; margin: 0; min-width: 0; height: 340px; transform: none; border-radius: 24px; background: #fff; overflow: hidden; }
.treatment-hero__visuals.is-triple img,
.treatment-hero__visuals.is-selected img { display: block; width: 100%; height: 100%; padding: 16px; object-fit: contain; object-position: center; background: #fff; }
.hero-consultation { padding: clamp(28px, 4vw, 48px); border: 1px solid #e7d7d9; border-radius: 30px; background: #fffdf9; box-shadow: 0 20px 55px #5c263710; }
.hero-consultation > span { color: #8b435d; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.hero-consultation h2 { margin: 20px 0; color: #5c2637; font-size: clamp(28px, 3vw, 38px); line-height: 1.4; }
.hero-consultation p, .hero-consultation li { font-size: 16px; color: #625158; }
.hero-consultation ol { margin: 24px 0; padding-left: 24px; }
.hero-consultation li { padding: 8px 0; }
.hero-consultation a { display: inline-block; padding: 12px 0; color: #5c2637; font-weight: 800; }
.detail-guide-card summary { font-size: 16px; }
.academic-gallery { border: 1px solid #e7d7d9; border-radius: 20px; background: #fffdf9; overflow: hidden; }
.academic-gallery summary { padding: 24px; color: #5c2637; font-size: 18px; font-weight: 800; cursor: pointer; }
.treatment-card p { font-size: 15px; font-weight: 650; }
.treatment-card small { font-size: 14px; line-height: 1.7; padding-right: 16px; }
.treatment-card h3 { font-weight: 800; }
.treatment-grid > :last-child:nth-child(7) { grid-column: span 3; min-height: 210px; }
.community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.community-grid a { display: flex; flex-direction: column; padding: 32px; min-height: 265px; }
.community-grid h3 { font-weight: 800; }
.community-grid p { max-width: none; font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.community-grid b { position: static; margin-top: auto; padding-top: 12px; font-size: 15px; }
.community-grid a { background: #fffaf5; border-color: #e8dadd; border-radius: 24px; }
.community-grid a > span { align-self: flex-start; padding: 7px 11px; border-radius: 8px; background: #f2e7e9; color: #74384c; letter-spacing: .12em; }
.community-grid a:nth-child(2) { background: #faf5f6; }
.community-grid a:nth-child(3) { background: #5c2637; border-color: #5c2637; color: #fff; }
.community-grid a:nth-child(3) > span { background: #ffffff18; color: #f5dce4; }
.community-grid a:nth-child(3) p { color: #f5e5ea; }
.community-grid a:nth-child(3) b { color: #fff; }
.community-grid a:nth-child(4) { background: #fff9e9; border-color: #eadfc2; }
.community-grid b { align-self: flex-start; border-top: 1px solid #74384c22; padding-top: 14px; }
.community-grid a:nth-child(3) b { border-top-color: #ffffff40; }
.community-grid a:focus-visible { outline: 3px solid #ac7688; outline-offset: 4px; }
@media (max-width: 640px) { .community-grid { gap: 14px; } .community-grid a { min-height: 220px; padding: 26px; } }
.price-table { font-size: 18px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { font-size: 18px; line-height: 1.65; padding: 16px 18px; }
.price-table tbody tr:nth-child(even) { background: #fcf8f5; }
.price-table tbody tr:hover { background: #f5ecee; }
.price-table thead th, .price-table tbody td, .price-table tbody th { font-size: 18px; font-weight: 700; }
.price-table-wrap { scrollbar-width: thin; scrollbar-color: #a77b89 #f6efeb; }
.price-category-nav a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.price-search input { font-size: 16px; }
.price-category-card { scroll-margin-top: 180px; }
.price-category-list { grid-template-columns: minmax(0, 1fr); }
.price-category-card, .price-table-wrap, .price-tools__inner { min-width: 0; max-width: 100%; }
.petit-visual { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.petit-visual figure { width: 100%; height: 300px; margin: 0; transform: none; }
.petit-visual:has(> figure:only-child) { grid-template-columns: 1fr; }
.petit-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 12px; background: #fff; }
.petit-crop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.petit-crop-card, .petit-crop-card:nth-child(2) { transform: none; min-width: 0; }
.petit-crop-card img { object-fit: contain; object-position: center; padding: 14px; background: #fff; }
.petit-intro p, .petit-point p, .petit-section-head p { font-size: 16px; line-height: 1.85; }
.price-scroll-hint { color: #705760; font-size: 14px; margin: 12px 0; }
.retired-page { min-height: 65vh; padding-top: 90px; padding-bottom: 90px; }
.retired-page h1 { font-size: clamp(36px, 5vw, 60px); color: #5c2637; }
.retired-page > p { margin: 24px 0; font-size: 18px; }
.mobile-bar { display: none; }
.modal__panel--event .modal__close { min-width: 48px; min-height: 48px; }
.modal__panel--event { overscroll-behavior: contain; }
@media (max-width: 1180px) {
  .main-nav { max-height: calc(100dvh - 100px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-bar { position: fixed; inset: auto 0 0; z-index: 500; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); height: calc(68px + env(safe-area-inset-bottom)); padding: 0 0 env(safe-area-inset-bottom); background: #fffdfb; border-top: 1px solid #e7d7d9; }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 60px; color: #5c2637; }
  .mobile-bar strong { font-size: 14px; }
  .mobile-bar span { font-size: 20px; }
  .mobile-bar .mobile-bar__call, .mobile-bar__call span { background: #5c2637; color: #fff; }
  .treatment-grid { gap: 12px; }
  .treatment-card { min-height: 235px; padding: 25px 18px; }
  .treatment-card p { font-size: 14px; }
  .treatment-card small { font-size: 13px; padding-right: 0; }
  .treatment-card h3 { font-size: 23px; }
  .treatment-grid > :last-child:nth-child(7) { grid-column: span 2; min-height: 210px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-grid a { min-height: 245px; padding: 28px; }
  .treatment-hero__visuals.is-triple { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .treatment-hero__visuals.is-triple figure:first-child { grid-column: span 2; height: 320px; }
  .treatment-hero__visuals.is-triple figure { height: 240px; border-width: 3px; border-radius: 16px; }
  .treatment-hero__visuals.is-triple img { padding: 8px; }
  .treatment-hero__visuals.is-selected figure { height: 320px; }
  .petit-visual { grid-template-columns: 1fr; }
  .petit-visual figure { height: 290px; }
  .petit-visual figure:not(:first-child) { display: none; }
  .petit-crop-grid { grid-template-columns: 1fr; }
  .treatment-hero__lead { font-size: 18px; line-height: 1.8; }
  .price-table th, .price-table td { font-size: 17px; padding: 14px; }
  .price-table thead th, .price-table tbody td, .price-table tbody th { font-size: 17px; }
  .map-card { padding: 16px; }
  .map-card__image { border-radius: 18px; }
  .price-category-card { padding: 24px 16px; border-radius: 22px; }
  .price-table tbody td:first-child { position: sticky; left: 0; z-index: 1; background: #fffaf7; box-shadow: 2px 0 0 #e9ddda; }
  .price-tools { position: relative; }
  .price-category-card { scroll-margin-top: 24px; }
  .modal { padding: max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom)); }
  .modal__panel.modal__panel--event { max-height: calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto; scroll-padding-top: 76px; }
  .modal__panel--event .modal__close { position: sticky; top: 12px; float: right; margin: 12px 12px -60px 0; width: 48px; height: 48px; z-index: 5; }
  .event-modal__header { padding-right: 76px; min-height: 82px; }
}
@media (max-width: 390px) {
  .treatment-card h3 { font-size: 21px; }
  .treatment-card p { font-size: 14px; }
  .treatment-hero__visuals.is-triple figure { height: 210px; }
}

@media (max-width: 640px) { .community-grid a { min-height: 220px; padding: 26px; } }
