.yips-page{--yips-ink:#17384a;--yips-deep:#0d4550;--yips-teal:#0d706f;--yips-aqua:#d9efeb;--yips-cream:#f7f5ef;--yips-paper:#fff;--yips-coral:#e46e52;--yips-line:#d9e4e3;--yips-muted:#5c7079;color:var(--yips-ink);font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.85}
/* X-T9の固定ページテンプレートが本文直後に置く100pxの下部スペーサーを、このページだけ非表示にします。 */
body:has(.yips-page) main.wp-block-group>.wp-block-spacer.is-style-spacer-xl:last-child{display:none!important;height:0!important;margin:0!important}
.yips-page *{box-sizing:border-box}.yips-page a{text-underline-offset:.18em}.yips-page h1,.yips-page h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif}.yips-page .yips-hero,.yips-page .yips-section,.yips-page .yips-quote-band,.yips-page .yips-final-cta,.yips-page.yips-hero,.yips-page.yips-section,.yips-page.yips-quote-band,.yips-page.yips-final-cta{padding-left:clamp(20px,4vw,48px);padding-right:clamp(20px,4vw,48px)}
.yips-hero{min-height:680px;padding-top:clamp(64px,9vw,110px);padding-bottom:clamp(76px,9vw,115px);background:linear-gradient(115deg,#f7fbf9 0%,#f7fbf9 62%,#dcefeb 62%)}.yips-hero-grid{gap:clamp(35px,5vw,64px)}.yips-hero-grid>.wp-block-column:first-child{flex-basis:60%}.yips-hero-grid>.wp-block-column:last-child{flex-basis:40%}.yips-eyebrow,.yips-kicker{color:var(--yips-teal);font-size:.76rem;font-weight:800;letter-spacing:.16em}.yips-eyebrow:before{content:"";display:inline-block;width:28px;height:2px;margin:0 10px 4px 0;background:var(--yips-coral)}.yips-title{margin:.55em 0!important;font-size:clamp(2rem,3.4vw,3.4rem)!important;font-weight:600;line-height:1.28!important;letter-spacing:-.045em;white-space:nowrap}.yips-title mark{color:var(--yips-teal);background:linear-gradient(transparent 76%,rgba(228,110,82,.23) 0)}.yips-lead{max-width:650px;color:#39545f;font-size:1.06rem}.yips-buttons{gap:12px;margin-top:30px}.yips-buttons .wp-block-button__link{min-height:54px;padding:14px 25px;border-radius:5px;font-weight:800}.yips-button-primary .wp-block-button__link{background:var(--yips-deep)!important;color:#fff!important}.yips-button-outline .wp-block-button__link{border-color:#aec7c5!important;color:var(--yips-ink)!important;background:rgba(255,255,255,.62)!important}.yips-micro{margin-top:18px;color:var(--yips-muted);font-size:.76rem}.yips-hero-panel{padding:38px 32px;background:rgba(255,255,255,.88);box-shadow:0 22px 60px rgba(18,60,73,.11)}.yips-panel-title{padding-bottom:14px;border-bottom:1px solid var(--yips-line);font-size:1.18rem!important}.yips-scene{margin:12px 0;padding:14px 18px;border-left:3px solid var(--yips-teal);background:#f7faf9}.yips-scene p{margin:0}.yips-scene small{color:var(--yips-muted)}.yips-panel-note{margin:24px -46px -58px 20px!important;padding:18px 23px;background:var(--yips-deep);box-shadow:0 15px 30px rgba(13,69,80,.2);color:#fff}.yips-panel-note small{color:#acd7d0}
.yips-section{padding-top:clamp(72px,9vw,112px);padding-bottom:clamp(72px,9vw,112px)}.yips-section-title{margin:.15em auto .3em!important;font-size:clamp(2rem,4vw,3.25rem)!important;line-height:1.42!important}.yips-section-lead{max-width:760px;margin-bottom:42px;color:var(--yips-muted)}.yips-two-columns{gap:24px}.yips-check-card,.yips-scope-card,.yips-definition{padding:clamp(28px,4vw,46px)}.yips-check-card{background:var(--yips-cream)}.yips-check-list{display:grid;grid-template-columns:1fr 1fr;gap:10px 28px;padding:0;list-style:none}.yips-check-list li{position:relative;padding-left:29px}.yips-check-list li:before{content:"✓";position:absolute;left:0;color:var(--yips-teal);font-weight:900}.yips-scope-card{background:var(--yips-deep);color:#fff}.yips-scope-card p{color:#d5e6e6;font-size:.9rem}.yips-definition{background:var(--yips-deep);color:#fff}.yips-definition h3{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:1.65rem;line-height:1.6}.yips-definition>p{color:#d5e6e6}.yips-definition .yips-card-label{color:#9cd4ce;font-size:.72rem;font-weight:800;letter-spacing:.13em}.yips-definition .yips-reassurance{padding-top:18px;border-top:1px solid rgba(255,255,255,.2);color:#fff}.yips-definition .yips-reassurance strong{color:#ffd1c6}.yips-about-steps{display:grid;gap:10px}.yips-small-step{padding:18px 24px;background:var(--yips-cream);border-left:3px solid transparent}.yips-small-step:hover{border-left-color:var(--yips-coral)}.yips-small-step p{margin:0}.yips-small-step b{color:var(--yips-ink)}.yips-small-step small{color:var(--yips-muted)}.yips-signs{margin-top:24px;padding:28px 32px;border:1px solid var(--yips-line)}.yips-signs ul{columns:2;column-gap:42px}.yips-signs p{color:var(--yips-muted);font-size:.86rem}
.yips-cases{background:#f2f7f5}.yips-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.yips-case-card{display:flex;flex-direction:column;min-height:440px;padding:30px;background:#fff;border-top:4px solid transparent;box-shadow:0 8px 30px rgba(28,69,80,.045)}.yips-case-card:hover{border-top-color:var(--yips-coral);box-shadow:0 14px 40px rgba(28,69,80,.1)}.yips-case-card>h3{font-size:1.13rem;line-height:1.65}.yips-case-card>p{font-size:.88rem;color:var(--yips-muted)}.yips-case-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.yips-case-meta b{color:var(--yips-teal);font-size:.7rem;letter-spacing:.15em}.yips-case-meta span{padding:3px 9px;background:var(--yips-aqua);color:var(--yips-deep);font-size:.7rem}.yips-case-data{padding:9px 0;border-top:1px solid var(--yips-line);border-bottom:1px solid var(--yips-line)}.yips-case-data small{display:inline-block;width:112px;color:var(--yips-muted)}.yips-case-data strong{color:var(--yips-ink);font-size:.78rem}.yips-featured{background:var(--yips-deep);color:#fff}.yips-featured>p,.yips-featured .yips-case-data small{color:#d6e7e7}.yips-featured .yips-case-data,.yips-featured .yips-details{border-color:rgba(255,255,255,.18)}.yips-featured .yips-case-data strong,.yips-featured .yips-details summary{color:#fff}.yips-featured .yips-case-meta b{color:#9ad4cd}.yips-wide-case{grid-column:1/-1;min-height:auto}.yips-details{margin-top:auto;padding-top:15px;border-top:1px solid var(--yips-line)}.yips-details summary{cursor:pointer;color:var(--yips-teal);font-weight:800}.yips-details[open] summary{margin-bottom:18px}.yips-details h4{margin:25px 0 7px;font-size:1rem}.yips-report{max-width:none}.yips-reflection{padding:22px;background:var(--yips-cream);border-left:3px solid var(--yips-coral);color:var(--yips-ink)!important}.yips-case-takeaway{margin-top:24px!important;padding:20px;background:var(--yips-cream);border-left:3px solid var(--yips-coral);color:var(--yips-ink)!important}.yips-case-takeaway strong{color:var(--yips-teal)}.yips-disclaimer{margin-top:24px;color:var(--yips-muted);font-size:.75rem}
.yips-mechanism{background:#fff}.yips-mini-case{margin-top:28px;padding:24px;border-left:3px solid var(--yips-coral);background:var(--yips-cream)}.yips-mini-case strong{color:var(--yips-coral)}.yips-cycle{display:grid;gap:8px}.yips-cycle-item{padding:15px 22px;background:#f5f9f8}.yips-cycle-item p{margin:0}.yips-cycle-item b{color:var(--yips-ink)}.yips-cycle-item small{color:var(--yips-muted)}.yips-cycle-loop{background:var(--yips-deep)}.yips-cycle-loop b{color:#fff}.yips-cycle-loop small{color:#b9d0d2}.yips-quote-band{padding-top:82px;padding-bottom:82px;background:var(--yips-teal);color:#fff;text-align:center}.yips-quote-band blockquote{margin:0;border:0;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(1.25rem,2.6vw,1.85rem);line-height:1.8}.yips-quote-band>p{color:#c6e3df;font-size:.8rem}.yips-step-grid{gap:1px;background:var(--yips-line);border:1px solid var(--yips-line)}.yips-step-card{padding:28px 24px;background:#fff}.yips-step-card b{color:var(--yips-coral);font-family:serif;font-size:2rem}.yips-step-card h3{font-size:1.05rem}.yips-step-card p:last-child{color:var(--yips-muted);font-size:.85rem}.yips-care-note{margin-top:30px;padding:26px 30px;background:var(--yips-cream)}.yips-care-note p{max-width:520px;margin:0}.yips-care-note a{color:var(--yips-teal);font-weight:800}.yips-faq{max-width:none;background:#fbfcfb}.yips-faq-item{padding:21px 4px;border-top:1px solid var(--yips-line)}.yips-faq-item:last-child{border-bottom:1px solid var(--yips-line)}.yips-faq-item summary{cursor:pointer;font-weight:800}.yips-faq-item p{color:var(--yips-muted)}
.yips-final-cta{padding-top:90px;padding-bottom:90px;background:var(--yips-deep);color:#fff;text-align:center}.yips-final-cta .yips-kicker{color:#8cd0c7}.yips-final-cta h2{font-size:clamp(2rem,4vw,3.15rem)!important;line-height:1.55!important}.yips-final-cta>p:not(.yips-kicker){color:#c3d9db}.yips-buttons-center{justify-content:center}.yips-button-light .wp-block-button__link{background:#fff!important;color:var(--yips-deep)!important}.yips-button-phone .wp-block-button__link{border-color:#629095!important;color:#fff!important}.yips-clinic-info{margin-top:30px;color:#a9c9ca!important;font-size:.76rem}.yips-mobile-cta{display:none}
@media(max-width:900px){.yips-hero{min-height:auto;background:linear-gradient(160deg,#f7fbf9 0%,#f7fbf9 58%,#dcefeb 58%)}.yips-panel-note{margin:24px -15px -50px 15px!important}.yips-check-list{grid-template-columns:1fr}.yips-case-grid{grid-template-columns:1fr 1fr}.yips-wide-case{grid-column:1/-1}.yips-step-grid{display:grid!important;grid-template-columns:1fr 1fr}.yips-step-card{width:auto!important}.yips-signs ul{columns:1}}
@media(max-width:620px){body:has(.yips-page){padding-bottom:62px}.yips-title{font-size:2.5rem!important;white-space:normal}.yips-hero-grid>.wp-block-column:first-child,.yips-hero-grid>.wp-block-column:last-child{flex-basis:auto}.yips-hero-panel{padding:28px 20px}.yips-buttons .wp-block-button{width:100%}.yips-buttons .wp-block-button__link{width:100%}.yips-case-grid{grid-template-columns:1fr}.yips-wide-case{grid-column:auto}.yips-case-card{min-height:auto;padding:25px 22px}.yips-step-grid{grid-template-columns:1fr}.yips-section-title{font-size:2rem!important}.yips-final-cta h2{font-size:1.9rem!important}.yips-mobile-cta{position:fixed;z-index:9999;right:0;bottom:0;left:0;display:flex!important;gap:0!important;height:62px;padding:0;background:#fff;box-shadow:0 -8px 20px rgba(13,69,80,.12)}.yips-mobile-cta>p{display:grid;flex:1;margin:0;place-items:center}.yips-mobile-cta>p:last-child{flex:1.3;background:var(--yips-coral)}.yips-mobile-cta a{display:grid;width:100%;height:100%;place-items:center;color:var(--yips-deep);font-weight:800;text-decoration:none}.yips-mobile-cta>p:last-child a{color:#fff}}
@media(prefers-reduced-motion:reduce){.yips-page *{scroll-behavior:auto!important}}
.yips-case-guide{margin-bottom:28px;padding:20px 24px;border-left:3px solid var(--yips-coral);background:#fff}.yips-case-guide p{margin:0}.yips-case-guide p+p{margin-top:5px;color:var(--yips-muted);font-size:.84rem}.yips-cases-many .yips-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:620px){.yips-cases-many .yips-case-grid{grid-template-columns:1fr}}
.yips-chart{margin:20px 0 22px;padding:16px 16px 10px;border:1px solid var(--yips-line);background:#fbfdfc}.yips-chart figcaption{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:4px}.yips-chart figcaption strong{font-size:.86rem}.yips-chart figcaption span{color:var(--yips-muted);font-size:.68rem}.yips-chart-legend{display:flex;gap:18px;margin-bottom:3px;color:var(--yips-muted);font-size:.68rem}.yips-chart-legend span:before{content:"";display:inline-block;width:18px;height:3px;margin:0 6px 3px 0;border-radius:3px}.yips-legend-symptom:before{background:var(--yips-teal)}.yips-legend-anxiety:before{background:var(--yips-coral)}.yips-chart-svg{display:block;width:100%;height:auto;overflow:visible}.yips-chart-grid{stroke:#dce6e4;stroke-width:1}.yips-chart-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.yips-chart-line-symptom{stroke:var(--yips-teal)}.yips-chart-line-anxiety{stroke:var(--yips-coral)}.yips-chart-dot{stroke:#fff;stroke-width:1.5}.yips-chart-dot-symptom{fill:var(--yips-teal)}.yips-chart-dot-anxiety{fill:var(--yips-coral)}.yips-chart-x,.yips-chart-y{fill:var(--yips-muted);font-size:10px}.yips-chart-x{text-anchor:middle}.yips-chart-y{text-anchor:end}.yips-chart-summary{margin:0!important;text-align:center;color:var(--yips-ink)!important;font-size:.76rem!important;font-weight:700}.yips-case-card>.wp-block-shortcode{margin-top:auto}.yips-case-card>.wp-block-shortcode+.yips-details{margin-top:0}

/* 症例の場面別タブ。カード内の「よくある場面」を読み取り、タブはJavaScriptで自動生成します。 */
.yips-case-scenes{margin:2px 0 10px!important;color:var(--yips-muted)!important;font-size:.72rem!important;line-height:1.7}.yips-case-scenes strong{color:var(--yips-deep)}
.yips-case-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 12px}.yips-case-tab{appearance:none;padding:10px 17px;border:1px solid var(--yips-line);border-radius:999px;background:#fff;color:var(--yips-deep);font:inherit;font-size:.82rem;font-weight:700;line-height:1.3;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s}.yips-case-tab:hover{border-color:var(--yips-teal);box-shadow:0 4px 14px rgba(28,69,80,.08)}.yips-case-tab.is-active{border-color:var(--yips-teal);background:var(--yips-teal);color:#fff}.yips-case-tab:focus-visible{outline:3px solid rgba(239,123,101,.38);outline-offset:2px}.yips-case-filter-status{margin:0 0 20px!important;color:var(--yips-muted)!important;font-size:.78rem!important}.yips-case-card[hidden]{display:none!important}
@media(max-width:620px){.yips-case-tabs{flex-wrap:nowrap;margin-right:-20px;padding:2px 20px 8px 0;overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.yips-case-tab{flex:0 0 auto;padding:9px 14px}.yips-case-filter-status{margin-bottom:16px!important}}

/* 症例の日付・4件表示・全件表示リンク */
.yips-case-date{margin:0 0 8px!important;color:var(--yips-teal)!important;font-size:.72rem!important;font-weight:800;letter-spacing:.09em}.yips-case-date time{font-variant-numeric:tabular-nums}.yips-case-more-wrap{margin:28px 0 0!important;text-align:center}.yips-case-more-wrap[hidden]{display:none!important}.yips-case-more{display:inline-flex;min-width:180px;align-items:center;justify-content:center;padding:12px 26px;border:1px solid var(--yips-teal);border-radius:999px;color:var(--yips-teal)!important;font-size:.86rem;font-weight:800;text-decoration:none!important;transition:background-color .2s,color .2s,transform .2s}.yips-case-more:hover{background:var(--yips-teal);color:#fff!important;transform:translateY(-1px)}.yips-case-more:focus-visible{outline:3px solid rgba(239,123,101,.38);outline-offset:3px}

/* 1.3.0: 症例追加カードを発声障害ページと同様に、編集画面だけで複製・グラフ編集できるようにする */
.yips-editor-chart-help{display:none!important}.yips-chart-error{margin:16px 0!important;padding:12px 14px;border-left:3px solid var(--yips-coral);background:#fff6f2;color:var(--yips-ink)!important;font-size:.82rem!important}
.editor-styles-wrapper .yips-editor-chart-help{display:block!important;margin:8px 0 4px!important;padding:10px 12px;border:1px dashed #b7cbc8;border-radius:6px;background:#f5faf9;color:#45616a!important;font-size:12px!important;line-height:1.65!important}

/* イップスページ固有の補助指定 */
.yips-hero-lead{max-width:650px;color:#39545f;font-size:1.06rem}
.yips-target-grid{gap:24px}.yips-target-grid ul{margin:0;padding-left:1.25em}.yips-target-grid li+li{margin-top:10px}
.yips-target-note{margin-top:30px;padding:24px 28px;background:var(--yips-cream);border-left:3px solid var(--yips-coral)}
.yips-target-note p{margin:0;color:var(--yips-muted)}.yips-target-note strong{color:var(--yips-ink)}
.yips-youtube-slot{width:100%;max-width:none!important;margin:0!important;padding:0!important}
.yips-integration-warning{max-width:1160px;margin:25px auto!important;padding:16px 20px;border:1px dashed #b7cbc8;background:#f5faf9;color:#45616a}
.yips-button-outline .wp-block-button__link:hover,.yips-button-outline .wp-block-button__link:focus{background:#d9efeb!important;color:var(--yips-deep)!important;border-color:var(--yips-teal)!important}
.editor-styles-wrapper .yips-youtube-slot{min-height:70px}
@media(max-width:620px){.yips-target-grid{display:block!important}.yips-target-grid>.wp-block-column+.wp-block-column{margin-top:14px}}

/* 1.0.2 layout refinements */
/*
 * X-T9's constrained layout centers direct children. The lead copy should not be
 * centered as a 760px block; it should start at the same left edge as the 1160px
 * heading/content area. On wide screens we offset by half of the spare width.
 */
.yips-target > .yips-section-lead,
.yips-about > .yips-section-lead,
.yips-cases > .yips-section-lead,
.yips-care > .yips-section-lead{
  width:min(760px,100%);
  max-width:760px;
  margin-left:max(0px,calc((100% - 1160px)/2))!important;
  margin-right:auto!important;
}

/* Match ABOUT background to CASE STORIES. */
.yips-about{background:#f2f7f5}

/*
 * Keep the YouTube section full-bleed at the viewport level, but let the gallery
 * plugin itself handle its 1160px centered inner area. Do not full-bleed the
 * nested .tsuchiko-ytg again; doing so shifts it left and clips its first cards.
 */
.yips-youtube-slot{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
}
.yips-youtube-slot > .wp-block-shortcode,
.yips-youtube-slot .wp-block-shortcode{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.yips-youtube-slot .tsuchiko-ytg{
  position:relative!important;
  left:auto!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.yips-youtube-slot .tsuchiko-ytg-inner{
  width:min(1160px,100%)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
