/*
Theme Name: 小田原巻き爪センター
Template: twentytwentyfive
Version: 1.0.70
Text Domain: odawara-makidume
*/
:root{--od-ink:#59483a;--od-accent:#a44913;--od-orange:#ef8a3c;--od-paper:#fff7ee;--od-line:#ebd8c7}
.od-header{position:relative;background:#fff;color:var(--od-ink);border-bottom:1px solid var(--od-line);z-index:5}
.od-header-inner{max-width:1280px;margin:auto;padding:14px clamp(14px,3vw,44px);display:flex;align-items:center;justify-content:space-between;gap:22px}
.od-header .od-logo{display:inline-flex;flex-direction:column;align-items:stretch;align-self:center;gap:4px;margin:0;padding:0;color:var(--od-ink);text-decoration:none;white-space:nowrap;line-height:1.2}
.od-logo b{display:block;margin:0;padding:0;font:700 clamp(19px,2.15vw,32px)/1.2 "Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif}
.od-logo b span{color:var(--od-orange)}
.od-logo small{display:flex;align-items:center;margin:0;padding:0;line-height:1;gap:.6em;font-size:clamp(6px,.68vw,10px);letter-spacing:.16em}
.od-logo small::before,.od-logo small::after{content:"";height:1px;background:#9b8169;flex:1}
.od-logo img{display:block;max-width:min(270px,50vw);height:auto}
.od-nav{display:flex;gap:clamp(12px,1.7vw,26px);align-items:center}
.od-nav a,.od-mobile a{color:var(--od-ink);text-decoration:none;font-size:14px;font-weight:650;white-space:nowrap}
.od-nav a:hover,.od-mobile a:hover{text-decoration:underline;text-underline-offset:.25em}
.od-reserve,.od-main .wp-block-button__link{display:inline-block;border-radius:999px;background:var(--od-orange);color:#321b0e;font-size:14px;font-weight:700;padding:11px 16px;text-decoration:none;white-space:nowrap}
.od-reserve:hover,.od-main .wp-block-button__link:hover{background:#f5a464}
.od-mobile{display:none}
.od-main{box-sizing:border-box;width:100%;max-width:1200px;margin:0 auto!important;color:var(--od-ink)}
.od-main section{scroll-margin-top:24px;box-sizing:border-box}
.od-hero{background:var(--od-paper);padding:clamp(24px,5vw,72px) max(20px,calc((100% - 1120px)/2));}
.od-hero .wp-block-columns{margin:0;gap:clamp(16px,4vw,56px)}
.od-main h1,.od-main h2{font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;line-height:1.35;font-weight:700}
.od-main h1{font-size:clamp(30px,4vw,56px);margin:10px 0}
.od-main h2{font-size:clamp(23px,3vw,36px)}
.od-region{color:var(--od-accent);font-weight:700;margin:0}
.od-hero-photo{width:100%;height:auto;display:block;border-radius:20px;aspect-ratio:4/3;object-fit:cover}
.od-section{width:100%;margin:0 auto;padding:clamp(24px,5vw,52px) 20px;border-bottom:1px solid var(--od-line)}
.od-clinic{background:var(--od-paper);border-radius:16px;padding:20px}
.od-clinic a{color:var(--od-accent);font-weight:700}
.od-main .wp-block-table table{border-color:var(--od-line)}
.od-main .wp-block-table td{padding:10px;border-color:var(--od-line)}
.od-header :focus-visible,.od-main :focus-visible{outline:2px solid var(--od-accent);outline-offset:3px}
.od-main .wp-block-buttons{margin-block-start:16px;gap:8px}
.od-main .wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--od-accent)}
.od-main .wp-block-button.is-style-outline .wp-block-button__link:hover{background:#fce7d5}
.od-header .od-nav a:focus-visible,.od-header .od-mobile a:focus-visible{border-radius:2px}
@media(max-width:781px){
.od-hero .wp-block-columns{display:flex;flex-direction:column;gap:0}
.od-hero .wp-block-columns>.wp-block-column{display:contents}
.od-hero .wp-block-buttons{order:2}
.od-hero-photo{aspect-ratio:16/9;margin-top:12px}
}

.od-header .od-logo > br{display:none}.od-header .od-logo > p{display:contents}

.od-footer{box-sizing:border-box;background:var(--od-paper);color:var(--od-ink);border-top:1px solid var(--od-line);padding:18px 16px}
.od-footer p{margin:0;font-size:13px;line-height:1.5}

.od-header .od-reservations{display:flex;align-items:center;gap:8px;min-width:0}
.od-header .od-reserve{background:#286444;color:#fff;text-align:center;padding:10px 12px;font-size:13px;line-height:1.35}
.od-header .od-reserve:hover,.od-header .od-reserve:focus-visible{background:#1c4d34;color:#fff}
.od-main .od-fv{margin:0;background:var(--od-paper)}
.od-fv-picture,.od-fv-picture img{display:block;width:100%;height:auto}
.od-main .od-fv-actions{display:none!important}
@media(max-width:767px){.od-fv-picture img{aspect-ratio:1122 / 1402}}


.od-header p:empty,.od-header-inner > br{display:none}
.od-mobile:not([open]) .od-mobile-panel{display:none}
@media(max-width:1120px){
  header:has(.od-header),header:has(.od-header) .wp-block-shortcode{margin:0;padding:0}
  .od-header .od-header-inner{box-sizing:border-box;display:flex;align-items:center;min-height:58px;padding:6px 12px;gap:8px}
  .od-header .od-nav,.od-header .od-header-inner > .od-reservations{display:none}
  .od-header .od-logo{flex:0 1 auto;min-width:0;max-width:calc(100% - 76px)}
  .od-header .od-logo b{font-size:clamp(15px,4.3vw,22px)}
  .od-header .od-logo small{font-size:clamp(6px,1.65vw,9px)}
  .od-header .od-mobile{display:block;flex:none;margin:0 0 0 auto}
  .od-mobile summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:56px;min-height:44px;padding:3px;cursor:pointer;list-style:none;font-size:10px;font-weight:700;line-height:1}
  .od-mobile summary::-webkit-details-marker{display:none}
  .od-mobile summary::marker{content:""}
  .od-burger{display:block;width:23px;height:15px;border-block:2px solid currentColor;position:relative}
  .od-burger::after{content:"";position:absolute;left:0;right:0;top:50%;border-top:2px solid currentColor;transform:translateY(-50%)}
  .od-mobile-panel{position:absolute;inset:100% 0 auto;max-height:calc(100dvh - 58px);overflow:auto;background:#fff;border-bottom:1px solid var(--od-line);padding:5px 16px 16px;box-shadow:0 8px 18px #41251a20}
  .od-mobile-panel nav{display:grid;margin-bottom:12px}
  .od-mobile-panel nav a{padding:10px 2px;border-bottom:1px solid var(--od-line)}
  .od-header .od-mobile-panel .od-reservations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .od-header .od-mobile-panel .od-reserve{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 6px;font-size:clamp(11px,3.3vw,13px);white-space:normal}
}

.od-header .od-reserve{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;border-radius:8px}
.od-header .od-reserve-clinic{font-size:.92em}
.od-header .od-header-inner > .od-reservations{flex-shrink:0}
.od-header .od-reservations > .od-reserve{flex:1}
/* Keep the header and first view adjacent at every viewport width. */

  .wp-site-blocks > header:has(.od-header){margin-block-end:0!important;padding-block-end:0!important}
  .wp-site-blocks .od-main,
  .od-main .od-fv,
  .od-main .od-fv > :where(.wp-block-shortcode, p, .od-fv-picture),
  .od-main .od-fv .wp-block-shortcode > p{
    margin-block-start:0!important;
    padding-block-start:0!important;
  }
  .od-main .od-fv > .screen-reader-text{position:absolute;margin:0!important}
  .od-main .od-fv > p:empty,.od-main .od-fv > br,
  header:has(.od-header) > p:empty,header:has(.od-header) > br{display:none}

.od-main .od-concerns{background:var(--od-paper);padding:clamp(24px,4vw,48px) clamp(16px,4vw,48px)}
.od-concerns h2{text-align:center;margin:0 0 clamp(16px,2.5vw,30px)}
.od-concerns-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(16px,4vw,48px);align-items:center}
.od-concerns-grid > *, .od-concerns-photo{margin:0!important}
.od-concerns-list{list-style:none;padding:0;color:var(--od-ink);font-weight:650;line-height:1.55}
.od-concerns-list li{position:relative;padding:9px 0 9px 28px;border-bottom:1px solid var(--od-line)}
.od-concerns-list li::before{content:"";position:absolute;inset:13px auto auto 4px;width:8px;height:13px;border:solid var(--od-accent);border-width:0 2px 2px 0;transform:rotate(45deg)}
.od-concerns-photo img{display:block;width:100%;height:auto;border-radius:14px}
@media(max-width:767px){
  .od-concerns-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .od-concerns-list{grid-row:2}
}

.od-concerns-mobile-break{display:none}
@media(max-width:767px){.od-concerns-mobile-break{display:inline}}

.od-plate-section .od-plate-title{text-align:center;margin:0 0 clamp(16px,3vw,32px)}
.od-plate-title span{color:var(--od-accent)}
.od-plate-copy > p{max-width:760px;margin:0 auto;font-size:clamp(16px,1.5vw,18px);line-height:1.85}
.od-plate-copy > p + p{margin-top:1em}

.od-plate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(16px,4vw,48px)}
.od-plate-grid > *, .od-plate-photo{margin:0!important}
.od-plate-photo img{display:block;width:100%;height:auto;border-radius:14px}
.od-plate-photo figcaption{margin-top:8px;text-align:center;font-size:13px;color:#69594e}
@media(max-width:767px){.od-plate-grid{grid-template-columns:minmax(0,1fr);gap:16px}}

.od-main .od-flow{background:var(--od-paper);padding-inline:clamp(16px,4vw,48px)}
.od-flow > h2{text-align:center;margin:0 0 14px}
.od-flow > p{max-width:760px;margin:0 auto 24px;line-height:1.8}
.od-flow .od-flow-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);align-items:start;gap:12px clamp(16px,3vw,36px);padding:clamp(16px,3vw,32px);margin:0;background:#fff;border-radius:14px}
.od-flow .od-flow-step + .od-flow-step{margin-top:14px}
.od-flow-step > *{margin:0!important;min-width:0}
.od-flow-step h3{grid-column:1/-1;font-size:clamp(18px,2vw,24px);line-height:1.5}
.od-flow-step h3 span{color:var(--od-accent)}
.od-flow-photo{display:block;width:100%;height:auto;border-radius:10px}
.od-flow-copy p{margin:0;line-height:1.8}
.od-flow-copy p + p{margin-top:.7em}
@media(max-width:767px){.od-flow .od-flow-step{grid-template-columns:minmax(0,1fr)}}


.od-consultation h2{text-align:center;margin:0 0 clamp(14px,2vw,24px)}
.od-consultation-photo{display:block;width:100%;max-width:440px;height:auto;margin:0 auto;border-radius:14px}
.od-consultation > p{max-width:700px;margin:16px auto 0;line-height:1.8}
.od-consultation > .od-consultation-note{margin-top:8px;font-size:13px;color:#69594e}

@media(min-width:768px){
 .od-main .od-consultation{display:grid;grid-template-columns:minmax(0,540px) minmax(0,440px);grid-template-rows:auto auto auto;justify-content:center;align-content:center;column-gap:clamp(24px,5vw,72px);row-gap:12px;padding-inline:clamp(24px,5vw,56px)}
 .od-consultation > h2,.od-consultation > p{grid-column:1;margin:0;text-align:left}
 .od-consultation > .od-consultation-photo,.od-consultation > .wp-block-shortcode,.od-consultation > p:has(.od-consultation-photo){grid-column:2;grid-row:1/4;align-self:center;width:100%;margin:0}
 .od-consultation > .od-consultation-note{margin-top:0}
}

.od-plate-grid > *:has(.od-plate-photo), .od-plate-grid > .od-plate-photo{width:100%;max-width:440px;justify-self:center}
@media(min-width:768px){.od-plate-grid{grid-template-columns:minmax(0,440px) minmax(0,540px);justify-content:center;column-gap:clamp(24px,5vw,72px)}}

.od-main .od-price{max-width:1040px;margin-inline:auto}
.od-price h2{text-align:center;margin-top:0}
.od-price-offer,.od-price-offer img{display:block;width:100%;height:auto}
.od-price-offer{max-width:960px;margin:0 auto 24px}
.od-price h3{font-size:clamp(18px,2.4vw,25px);margin:28px 0 10px}
.od-price table{width:100%;border-collapse:collapse}
.od-price table :is(th,td){padding:10px;border-bottom:1px solid var(--od-line)}
.od-price table th{text-align:left;background:var(--od-paper)}
.od-price table td{text-align:right;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums}
.od-price p,.od-price li{line-height:1.8}
@media(max-width:767px){.od-price table :is(th,td){padding:8px 6px;font-size:clamp(12px,3.5vw,15px)}}

.od-price-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,4vw,48px);margin-top:24px;padding:clamp(12px,2.5vw,24px);background:var(--od-paper)}
.od-price-card{display:flex;flex-direction:column;overflow:hidden;border-radius:8px;background:#fff}
.od-price-card h3{display:grid;align-content:center;flex:1;margin:0;padding:12px 8px;background:#404040;color:#fff;text-align:center;font-size:clamp(15px,1.75vw,20px);line-height:1.5}
.od-price-card-fit h3{background:#b65512}
.od-price-card ul{list-style:none;margin:0;padding:16px;min-height:6em}
.od-price-card li{position:relative;padding-inline-start:26px}
.od-price-card li + li{margin-top:8px}
.od-price-card li::before{position:absolute;left:0;font-size:20px;font-weight:700;line-height:1.35;content:"\00d7";color:#404040}
.od-price-card-fit li::before{content:"\25cb";color:#b65512}
@media(max-width:767px){.od-price-cards{grid-template-columns:minmax(0,1fr)}.od-price-card ul{min-height:0}}

.od-price-title-break{display:none}
@media(max-width:767px){
 .od-main .od-price{padding-inline:0}
 .od-price > :not(.od-price-offer,.wp-block-shortcode){margin-inline:20px}
 .od-price > table{width:calc(100% - 40px)}
 .od-price > .wp-block-shortcode,.od-price-offer{margin-inline:0}
 .od-price-title-dot{display:none}
 .od-price-title-break{display:revert}
}

.od-main .od-gifts{background:var(--od-paper);padding-inline:clamp(14px,4vw,48px)}
.od-gifts > h2,.od-gifts > p{text-align:center;margin:0}
.od-gifts > p{margin-top:12px;line-height:1.7}
.od-gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px);margin-top:24px}
.od-gifts .od-gift-card{box-sizing:border-box;margin:0;padding:clamp(16px,2.5vw,24px);border:1px solid var(--od-line);border-radius:14px;background:#fff}
.od-gift-photo{display:block;width:100%;max-width:200px;height:auto;margin:0 auto;border-radius:8px}
.od-gift-card h3{margin:16px 0 8px;font-size:clamp(17px,1.9vw,22px);line-height:1.45}
.od-gift-card p{margin:0;line-height:1.75}
@media(max-width:767px){.od-gift-grid{grid-template-columns:minmax(0,1fr);margin-top:16px}}

.od-main.od-koe{box-sizing:border-box;max-width:1200px;margin-inline:auto;padding:clamp(24px,5vw,60px) clamp(14px,4vw,44px)}
.od-koe > h1{text-align:center;margin:0 0 28px}
.od-koe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.od-koe-card{display:grid;gap:12px;min-width:0;padding:16px;border:1px solid var(--od-line);border-radius:12px;background:#fff}
.od-main .od-koe-card :is(h2,h3){font-size:clamp(16px,1.65vw,21px);line-height:1.45;margin:0}
.od-koe-card :is(h2,h3) span{display:block;font-size:14px;font-weight:400;margin-top:6px}
.od-koe-media{display:block;background:var(--od-paper);border-radius:8px;overflow:hidden}
.od-koe-media img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain}
.od-koe-card details{border-top:1px solid var(--od-line);padding-top:10px}
.od-koe-card summary{cursor:pointer;font-weight:700;color:var(--od-accent);padding-block:6px}
.od-koe-card p{margin:8px 0 0;line-height:1.75;font-size:15px}
.od-koe-note{font-size:13px;margin-top:20px}
@media(max-width:767px){.od-koe-grid{grid-template-columns:minmax(0,1fr);gap:12px}}


.od-koe-qa{margin:10px 0 0}
.od-koe-qa dt{background:var(--od-paper);padding:8px 10px;font-weight:700;line-height:1.55}
.od-koe-qa dd{margin:8px 0 18px;line-height:1.75}

#voice > h2{text-align:center;margin:0 0 24px}
.od-koe-link{text-align:center;margin:24px 0 0}
.od-koe-link a{display:inline-block;background:#ad4613;color:#fff;padding:12px 24px;border-radius:8px;font-weight:700;text-decoration:none}
.od-koe-link a:hover,.od-koe-link a:focus-visible{background:#84350e}

.od-main.od-ba{box-sizing:border-box;padding:clamp(24px,5vw,56px) clamp(14px,4vw,44px)}
.od-ba > h1,.od-ba-intro > h2{text-align:center;margin:0 0 24px}
.od-ba-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.od-ba-card{padding:14px;border:1px solid var(--od-line);border-radius:12px;background:var(--od-paper)}
.od-main .od-ba-card h2{font-size:20px;margin:0 0 10px}
.od-ba-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.od-ba-pair figure{margin:0;text-align:center}
.od-ba-pair figcaption{font-weight:700;margin-bottom:6px}
.od-ba-pair img{display:block;width:100%;height:auto;aspect-ratio:21/19;object-fit:contain;background:#fff;border-radius:6px}
@media(max-width:767px){.od-ba-grid{grid-template-columns:minmax(0,1fr);gap:12px}}

@media(min-width:768px){.od-ba-intro .od-ba-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.od-reasons > h2,.od-reasons > p{text-align:center}
.od-reasons > h2{margin:0 0 12px}
.od-reasons > p{margin:0 0 24px}
.od-reason{display:grid;grid-template-columns:minmax(0,314px) minmax(0,1fr);align-items:start;gap:14px 24px;margin:0 0 16px;padding:clamp(12px,3vw,28px);border:1px solid var(--od-line);border-radius:12px;background:var(--od-paper)}
.od-reason h3{grid-column:1/-1;margin:0;font-size:clamp(18px,2.4vw,24px);line-height:1.5}
.od-reason h3 span{display:inline-block;color:var(--od-accent);margin-right:.4em}
.od-reason img{display:block;width:100%;max-width:314px;height:auto;border-radius:8px;margin-inline:auto}
.od-reason p,.od-reason li{line-height:1.8}
.od-reason p{margin:0 0 .75em}
.od-reason p:last-child{margin-bottom:0}
@media(max-width:767px){.od-reason{grid-template-columns:minmax(0,1fr)}}

.od-main .od-photo-consultation{background:var(--od-paper);padding-inline:clamp(12px,4vw,48px);text-align:center}
.od-photo-banner{display:block;width:100%;max-width:860px;height:auto;margin:0 auto}
.od-photo-consultation h2{margin:clamp(16px,3vw,30px) 0 14px}
.od-photo-line-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,3vw,24px);max-width:860px;margin:auto}
.od-photo-line-card{display:grid;grid-template-rows:1fr auto;gap:12px;padding:clamp(8px,2.5vw,24px);background:#fff;border:1px solid var(--od-line);border-radius:12px}
.od-photo-line-card h3{align-self:center;margin:0;font-size:clamp(13px,2.5vw,20px)}
.od-photo-line-card a{display:grid;place-items:center;min-height:44px;padding:4px;color:#fff;background:#087b39;border-radius:8px;font-weight:700;text-decoration:none;font-size:clamp(13px,2.5vw,18px)}
.od-photo-line-card a:hover,.od-photo-line-card a:focus-visible{background:#065d2b}

.od-main.od-profile{box-sizing:border-box;max-width:860px;padding:clamp(24px,5vw,52px) clamp(14px,4vw,36px)}
.od-profile > h1,.od-profile > h2{text-align:center}
.od-profile > h2{font-size:clamp(19px,3vw,27px);margin:0 0 20px}
.od-profile-photo{width:min(100%,640px);margin:0 auto 22px;text-align:center}
.od-profile-photo img{display:block;width:100%;height:auto;border-radius:12px}
.od-profile-photo figcaption{margin-top:12px;line-height:1.6}
.od-profile > p{margin:0 0 1em;line-height:1.9}
.od-profile > p:last-child{text-align:right;font-weight:700;margin-top:24px}

.od-profile-intro > h2{text-align:center;margin:0 0 24px}
.od-profile-intro-grid{display:grid;grid-template-columns:minmax(0,440px) minmax(0,540px);align-items:center;justify-content:center;gap:clamp(16px,4vw,48px)}
.od-profile-intro-grid .od-profile-photo{margin:0 auto}
.od-profile-intro-grid h3{margin:0 0 12px}
.od-profile-intro-grid p{line-height:1.8}
@media(max-width:767px){.od-profile-intro-grid{grid-template-columns:minmax(0,1fr)}}

.od-main.od-suisen{box-sizing:border-box;padding:clamp(24px,5vw,56px) clamp(14px,4vw,44px)}
.od-suisen > h1{text-align:center;margin:0 0 28px}
.od-suisen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.od-suisen-card{padding:clamp(14px,2vw,24px);border:1px solid var(--od-line);border-radius:12px;background:#fff}
.od-main .od-suisen-card :is(h2,h3){font-size:clamp(17px,2vw,23px);line-height:1.5;margin:0 0 12px}
.od-suisen-card img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto;border-radius:8px}
.od-suisen-role{font-weight:700;margin:12px 0}
.od-suisen-card details{border-top:1px solid var(--od-line);padding-top:10px}
.od-suisen-card summary{cursor:pointer;color:var(--od-accent);font-weight:700;padding-block:6px}
.od-suisen-card details p{line-height:1.8}
@media(max-width:767px){.od-suisen-grid{grid-template-columns:minmax(0,1fr)}}

.od-suisen-intro > h2{text-align:center;margin:0 0 24px}
@media(min-width:768px){.od-suisen-intro .od-suisen-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.od-main.od-access-page{box-sizing:border-box;padding:clamp(24px,5vw,52px) clamp(14px,4vw,44px)}
.od-access-page > h1,#access > h2{text-align:center;margin:0 0 24px}
.od-access-jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 24px}
.od-access-jump a{padding:12px 6px;background:var(--od-paper);border:1px solid var(--od-line);border-radius:8px;text-align:center;color:var(--od-accent);font-weight:700}
.od-access-clinic{margin:0 0 28px;scroll-margin-top:90px}
.od-access-clinic > :is(h2,h3){padding:10px 14px;background:var(--od-paper);font-size:clamp(18px,2.6vw,27px);margin:0 0 16px}
.od-access-info{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;width:100%;max-width:720px;margin-inline:auto}
.od-access-info > p:has(iframe){margin:0}
.od-access-info iframe{display:block;width:100%;height:clamp(250px,34vw,380px);border:0}
.od-access-info dl{margin:0}
.od-access-info dl div{display:grid;grid-template-columns:5em minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px solid var(--od-line)}
.od-access-info dt{font-weight:700}
.od-access-info dd{margin:0}
.od-access-reserve{display:flex;flex-wrap:wrap;gap:8px}
.od-access-reserve a{padding:8px 12px;border-radius:6px;background:#ad4613;color:#fff;text-decoration:none}
.od-access-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;margin:18px 0 0;padding:0}
.od-access-steps figure{margin:0}
.od-access-steps img{display:block;width:100%;aspect-ratio:3/2;object-fit:contain;background:var(--od-paper);border-radius:6px}
.od-access-steps figcaption{margin-top:6px;font-size:14px}
.od-access-steps strong{color:var(--od-accent)}
@media(max-width:767px){.od-access-info{grid-template-columns:minmax(0,1fr);gap:12px}.od-access-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}

.od-main.od-contact{box-sizing:border-box;max-width:780px;padding:clamp(20px,4vw,48px);line-height:1.75}
.od-contact h1{margin:0 0 24px}
.od-contact label{display:block;font-weight:700}
.od-contact .wpcf7 :is(input[type=text],input[type=tel],input[type=email],textarea){display:block;box-sizing:border-box;width:100%;font:inherit;padding:9px 12px;margin-top:4px;border:1px solid #ad9381;border-radius:6px;background:#fff}
.od-contact .wpcf7 input[type=submit]{border:0;border-radius:8px;background:#ad4613;color:#fff;padding:11px 24px;font:inherit;font-weight:700;cursor:pointer}

.od-contact h2{margin:28px 0 12px;font-size:clamp(20px,3vw,26px)}
.od-contact-line{display:inline-block;padding:10px 16px;background:#087b39;color:white;border-radius:8px;text-decoration:none}
.od-contact-status{padding:12px 16px;background:var(--od-paper);border:1px solid var(--od-line)}
.od-contact-preview{opacity:.65}

.od-contact-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.od-contact .od-contact-phone{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 .6em;padding:10px 16px;background:#ad4613;color:#fff;border-radius:8px;text-decoration:none;font-weight:700}
.od-contact-phone span{white-space:nowrap}
.od-contact .od-contact-phone:hover,.od-contact .od-contact-phone:focus-visible{background:#85360e}
@media(max-width:767px){.od-contact-actions{display:grid;grid-template-columns:minmax(0,1fr)}.od-contact-actions a{text-align:center}}

/* Contact buttons: matching dimensions, including saved template overrides. */
.od-main.od-contact .od-contact-stacked p{margin:0 0 12px}
.od-main.od-contact .od-contact-stacked p:nth-child(3){margin-top:24px}
.od-main.od-contact .od-contact-stacked :is(a.od-contact-phone,a.od-contact-line){display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:340px;max-width:100%;height:60px;min-height:60px;padding:10px 12px;margin:0;border:0;border-radius:8px;font-size:18px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;color:#fff}
.od-main.od-contact .od-contact-stacked a.od-contact-phone{background:#b94c13}
.od-main.od-contact .od-contact-stacked a.od-contact-phone:hover,.od-main.od-contact .od-contact-stacked a.od-contact-phone:focus-visible{background:#923b0e}
.od-main.od-contact .od-contact-stacked a.od-contact-line{background:#087b39}
.od-main.od-contact .od-contact-stacked a.od-contact-line:hover{background:#065d2b}
.od-main.od-contact > h1{font-size:clamp(24px,5.8vw,52px);line-height:1.5}

/* Shared global navigation, with keyboard/touch accessible symptom links. */
.od-nav-symptoms{display:flex;align-items:center;position:relative}
.od-nav-dropdown>summary{display:grid;place-items:center;cursor:pointer;list-style:none;width:28px;min-height:44px}
.od-nav-dropdown>summary::-webkit-details-marker{display:none}
.od-nav-submenu{position:absolute;top:100%;left:0;min-width:160px;padding:8px;background:#fff;border:1px solid var(--od-line);border-radius:8px;box-shadow:0 8px 18px #41251a20;z-index:10}
.od-nav-submenu a{display:block;padding:12px!important}
.od-nav-dropdown:not([open])>.od-nav-submenu{display:none}
.od-symptom-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}
.od-symptom-links a{display:block;padding:24px;background:var(--od-paper);border:1px solid var(--od-line);border-radius:12px;color:var(--od-ink);font-size:24px;font-weight:700;text-decoration:none}
.od-symptom-links span{display:block;font-size:15px;margin-top:16px;color:var(--od-accent)}
@media(min-width:1121px){.od-header .od-header-inner{flex-wrap:wrap}.od-header .od-nav{order:3;flex-basis:100%;justify-content:center;gap:clamp(12px,2vw,28px);border-top:1px solid var(--od-line);padding-top:6px}.od-header .od-header-inner>.od-reservations{margin-left:auto}}
@media(max-width:1120px){.od-mobile .od-nav-symptoms{display:grid;grid-template-columns:1fr 44px}.od-mobile .od-nav-dropdown{display:contents}.od-mobile .od-nav-dropdown>summary{display:grid;min-width:44px;min-height:44px;padding:0;font-size:16px}.od-mobile .od-nav-submenu{position:static;grid-column:1/-1;box-shadow:none;border:0;border-radius:0;padding:0 0 0 18px}.od-mobile .od-nav-submenu a{font-size:14px}.od-symptom-links{grid-template-columns:1fr}}

/* Normalize WordPress paragraph wrappers around shortcode navigation. */
.od-header .od-nav > p,.od-header .od-mobile-panel nav > p{display:contents;margin:0;padding:0}
.od-header .od-nav > br,.od-header .od-mobile-panel nav > br{display:none}
.od-header .od-nav-item{margin:0;padding:0;flex:none}
.od-header .od-nav-item > a{display:block}
.od-header .od-nav-symptoms{margin:0;padding:0;flex:none}
@media(min-width:1121px){.od-header .od-nav{column-gap:clamp(18px,2.3vw,32px);row-gap:8px}.od-header .od-nav-item > a{padding:12px 0}.od-header .od-nav-symptoms > a{padding:12px 0}}
@media(max-width:1120px){.od-header .od-mobile-panel nav > .od-nav-item{display:block;width:100%}.od-header .od-mobile-panel .od-nav-item > a{display:block;padding:10px 2px}}

/* Match the contact-page title scale on the symptoms and price pages. */
.od-main.od-symptoms-page > h1,
.od-main .od-price > h1{font-size:clamp(24px,5.8vw,52px);line-height:1.5;margin:0 0 24px}

/* Center page titles consistently on desktop and mobile. */
.od-main.od-symptoms-page > h1,
.od-main .od-price > h1{text-align:center}

/* Preserve the approved symptom FV proportions on every screen. */
.od-main .od-kannyusou-fv img{width:100%;height:auto;aspect-ratio:auto}

/* Consistent header-to-title spacing for text-title pages only.
   Override the older global zero top-padding rule; keep image-first FVs flush. */
.wp-site-blocks .od-main:has(> h1:not(.screen-reader-text)),
.wp-site-blocks .od-main:has(> .od-price > h1){padding-block-start:24px!important;margin-block-start:0!important}
.wp-site-blocks .od-main > .od-price:has(> h1){padding-block-start:0!important;margin-block-start:0!important}
.wp-site-blocks .od-main > h1:not(.screen-reader-text),
.wp-site-blocks .od-main > .od-price > h1{margin-block-start:0!important;margin-block-end:24px!important}
.wp-site-blocks .od-main > h1:not(.screen-reader-text) + *,
.wp-site-blocks .od-main > .od-price > h1 + *{margin-block-start:0!important}
@media(max-width:767px){
 .wp-site-blocks .od-main:has(> h1:not(.screen-reader-text)),
 .wp-site-blocks .od-main:has(> .od-price > h1){padding-block-start:20px!important}
}

/* Keep the approved desktop and portrait hero proportions. */
.od-main .od-hikousou-fv img{display:block;width:100%;height:auto;aspect-ratio:auto}

.od-hikousou-concerns-photo figcaption{margin-top:8px;font-size:13px;line-height:1.6;text-align:center;color:#69594e}

/* Three explicit mobile lines; desktop typography and flow stay unchanged. */
@media(max-width:767px){
 .od-main .od-plate-section .od-kannyusou-plate-title{font-size:clamp(21px,5.5vw,30px);line-height:1.5;white-space:nowrap}
}

/* Blog typography and responsive sidebar — 1.0.60 */
.od-blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:48px;padding:40px 24px 64px;align-items:start}
.od-blog-primary,.od-blog-layout>.wp-block-template-part{min-width:0;margin:0}
.od-blog-primary .od-blog-title,.od-blog-primary>h1{font-size:clamp(27px,3vw,40px);line-height:1.55;margin:0 0 20px;overflow-wrap:anywhere}
.od-blog-primary .wp-block-post-date{font-size:14px;color:#75685d;margin:12px 0 24px}
.od-blog-primary .wp-block-post-featured-image img{max-width:100%;height:auto;border-radius:10px}
.od-article-content{font-size:17px;line-height:1.95;overflow-wrap:anywhere}
.od-article-content :is(h2,h3,h4){font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-weight:700;line-height:1.6;scroll-margin-top:24px;box-sizing:border-box}
.od-article-content h2{font-size:clamp(22px,2.3vw,28px);margin:2.5em 0 1em;padding:16px 20px;background:#f0f5ef;border-left:5px solid #286444;border-radius:0 8px 8px 0;color:#234f37}
.od-article-content h3{font-size:clamp(20px,2vw,23px);margin:2em 0 .9em;padding:0 0 10px;border-bottom:2px solid #c7d9ca;color:#59483a}
.od-article-content h4{font-size:clamp(18px,1.8vw,20px);margin:1.7em 0 .8em;padding:0 0 0 12px;border-left:3px solid #a44913;color:#59483a}
.od-article-content p{margin:0 0 1.4em}
.od-article-content a,.od-blog-sidebar a,.od-blog-primary .wp-block-post-title a{color:#286444;text-underline-offset:4px}
.od-blog-layout a:focus-visible{outline:2px solid #a44913;outline-offset:4px}
.od-article-content img{max-width:100%;height:auto}
.od-article-content .wp-block-table{overflow-x:auto}
.od-blog-sidebar{font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;margin:0}
.od-sidebar-card{padding:22px;background:#fffaf4;border:1px solid #ebd8c7;border-radius:10px;margin:0 0 24px}
.od-blog-sidebar h2{font:700 20px/1.5 "Noto Sans JP","Yu Gothic",Meiryo,sans-serif;margin:0 0 16px;padding-bottom:10px;border-bottom:2px solid #286444;color:#286444}
.od-blog-sidebar ul{padding-left:0;list-style:none;margin:0;font-size:15px;line-height:1.7}
.od-blog-sidebar li{margin:0;padding:12px 0;border-bottom:1px solid #ebd8c7;overflow-wrap:anywhere}
.od-blog-sidebar li:last-child{border-bottom:0}
.od-blog-sidebar ul ul{padding-left:16px}
.od-blog-sidebar .wp-block-latest-posts__post-date{font-size:12px;color:#75685d;margin-top:4px}
.od-blog-primary .wp-block-post-template{padding:0;list-style:none}
.od-blog-primary .wp-block-post-template>li{padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid #ebd8c7}
.od-blog-primary .wp-block-post-template h2{font-size:clamp(22px,2.5vw,28px);line-height:1.6}
.od-post-navigation{display:flex;justify-content:space-between;gap:24px;margin-top:36px;padding-top:20px;border-top:1px solid #ebd8c7}
@media(max-width:900px){.od-blog-layout{grid-template-columns:minmax(0,1fr);gap:36px;padding:28px 20px 44px}.od-blog-layout>.wp-block-template-part{width:100%}.od-blog-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.od-sidebar-card{margin:0}}
@media(max-width:600px){.od-blog-layout{padding:24px 16px 36px}.od-article-content{font-size:16px}.od-article-content h2{padding:13px 14px}.od-blog-sidebar{grid-template-columns:minmax(0,1fr)}.od-post-navigation{flex-direction:column}}

/* Blog featured images — 1.0.61 */
.od-blog-primary .od-list-thumbnail{margin:0 0 20px}
.od-blog-primary .od-list-thumbnail a{display:block}
.od-blog-primary .od-list-thumbnail img{display:block;width:100%;height:auto;border-radius:10px}
.od-blog-sidebar .wp-block-latest-posts>li::after{content:"";display:block;clear:both}
.od-blog-sidebar .wp-block-latest-posts__featured-image{margin:0 12px 8px 0}
.od-blog-sidebar .wp-block-latest-posts__featured-image img{display:block;width:80px;height:80px;object-fit:contain;border-radius:5px;background:#fff}

/* Persistent clinic contact navigation — 1.0.62 */
body{padding-bottom:calc(100px + env(safe-area-inset-bottom, 0px))!important}
html{scroll-padding-bottom:calc(116px + env(safe-area-inset-bottom, 0px))}
.od-floating-contact{position:fixed;inset:auto 0 0;z-index:1000;box-sizing:border-box;margin:0!important;padding:10px 16px calc(10px + env(safe-area-inset-bottom, 0px));background:rgba(255,255,255,.98);border-top:1px solid #ebd8c7;box-shadow:0 -3px 16px rgba(60,40,20,.1);font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif}
.od-floating-contact-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:680px;margin:0 auto}
.od-floating-contact a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:64px;box-sizing:border-box;padding:8px 10px;border-radius:8px;background:#286444;color:#fff;text-decoration:none;line-height:1.5;text-align:center}
.od-floating-contact a:hover{background:#1c4d34;color:#fff}
.od-floating-contact a:focus-visible{outline:3px solid #a44913;outline-offset:3px}
.od-floating-clinic{font-size:16px;font-weight:700}
.od-floating-label{font-size:14px;font-weight:700}
@media(max-width:600px){.od-floating-contact{padding:8px 8px calc(8px + env(safe-area-inset-bottom, 0px))}.od-floating-contact-inner{gap:8px}.od-floating-contact a{padding:7px 3px;min-height:60px}.od-floating-clinic{font-size:clamp(12px,3.5vw,15px)}.od-floating-label{font-size:clamp(10px,2.9vw,13px)}}
@media print{.od-floating-contact{display:none}body{padding-bottom:0!important}}

/* Accessible image popup — 1.0.63 */
html.od-popup-open{overflow:hidden}
.od-consultation-popup{padding:0;border:0;background:transparent;width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;overflow-y:auto;overscroll-behavior:contain;border-radius:16px;box-shadow:0 12px 60px #0005}
.od-consultation-popup::backdrop{background:rgba(0,0,0,.58)}
.od-popup-art{position:relative;width:100%;line-height:0}
.od-popup-art>img{display:block;width:100%;height:auto;margin:0}
.od-popup-art .od-popup-hit{position:absolute;display:block;margin:0;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer;border-radius:8px;box-sizing:border-box;min-height:0;color:transparent}
.od-popup-hit:focus-visible{outline:3px solid #e8750b;outline-offset:-3px;background:rgba(255,255,255,.12)}
.od-popup-close{right:.5%;top:.5%;width:9%;height:7%;min-width:44px;min-height:44px!important}
.od-popup-ashigara{left:8.3%;top:65.1%;width:83.4%;height:10.6%}
.od-popup-odawara{left:8.3%;top:77.6%;width:83.4%;height:10.7%}
.od-popup-dismiss{left:30%;top:93.5%;width:40%;height:6%;min-height:32px!important}
@media print{.od-consultation-popup{display:none!important}}

/* Smartphone-only sticky site header — 1.0.65 */
@media screen and (max-width:767px){
 .wp-site-blocks>header:has(.od-header){position:sticky;top:0;z-index:1100;background:#fff;box-shadow:0 2px 8px rgba(60,40,20,.08)}
 body.admin-bar .wp-site-blocks>header:has(.od-header){top:46px}
 body.admin-bar #wpadminbar{position:fixed;top:0}
 .od-header .od-mobile-panel{max-height:calc(100dvh - 160px);overflow-y:auto;overscroll-behavior:contain}
 html{scroll-padding-top:84px}
 html:has(body.admin-bar){scroll-padding-top:130px}
 .od-main section,.od-article-content :is(h2,h3,h4){scroll-margin-top:16px}
}

/* Blog author biography: readable mobile paragraphs — 1.0.67 */
@media(max-width:767px){
 body .saboxplugin-desc,
 body .saboxplugin-desc [itemprop="description"],
 body .saboxplugin-desc p,
 body .saboxplugin-desc li{text-align:left!important}
}

/* Symptom menu: desktop hover, mobile always expanded — 1.0.70 */
@media(max-width:1120px){
 .od-mobile .od-nav-dropdown>summary{display:none}
 .od-mobile .od-nav-symptoms{grid-template-columns:minmax(0,1fr)}
 .od-mobile .od-nav-submenu{display:block;border-left:2px solid var(--od-line);margin:0 0 8px 8px;padding-left:12px}
 .od-mobile .od-nav-submenu a{min-height:44px;box-sizing:border-box;display:flex;align-items:center}
}
