/* v40 - Shared editorial story layout for published yoribito. */
.yoribito-story{max-width:100%;color:#66535b}
.yoribito-story .story-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:center;gap:28px;padding:20px 0 41px;border-bottom:1px solid #f0e4e4}
.story-kicker{font:700 11px/1.8 var(--sans);letter-spacing:.19em;color:#b37885;margin:0 0 24px}
.story-kicker span{font-size:15px;letter-spacing:0;margin:0 4px}
.story-eyebrow{font-size:12px;color:#ae838e;margin:0 0 7px;letter-spacing:.09em}
.story-hero h1{font-family:var(--serif);font-size:clamp(30px,3.8vw,39px);line-height:1.57;color:#71515b;letter-spacing:.035em;margin:0 0 18px}
.story-hero-tagline{font-size:17px;line-height:1.9;color:#946c79;margin:0 0 18px;font-family:var(--serif);font-weight:500}
.story-theme-chips{display:flex;gap:7px;flex-wrap:wrap}
.story-theme-chips span{font-size:11px;color:#976d7d;background:#f9edee;border-radius:100px;padding:4px 11px}
.story-hero-photo{margin:0;overflow:hidden;border:8px solid #fffdfc;border-radius:125px 125px 28px 28px;background:linear-gradient(135deg,#f9ecee,#e8ccd0);box-shadow:0 15px 36px #9f748022;position:relative;min-height:280px;display:flex;align-items:center;justify-content:center}
.story-hero-photo img{width:100%;height:300px;object-fit:cover;object-position:center 26%;display:block}
.story-hero-photo figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(0deg,#5c384acb,transparent);padding:32px 12px 10px;text-align:center;color:#fff;font-size:15px;letter-spacing:.09em}
.story-hero-photo figcaption span{display:block;font-size:9px;letter-spacing:.13em;opacity:.88}
.story-flower-placeholder{font-size:114px;color:#bc8090;line-height:1}
.story-introduction{padding:32px 0 34px;max-width:690px;margin:0 auto;color:#735f66;font-size:14px;line-height:2.25}
.story-introduction p{margin:0 0 17px}
.story-toc{border:1px solid #eedce0;background:linear-gradient(120deg,#fff8f7,#fdf9f6);border-radius:22px;padding:27px 30px 22px;margin:0 0 70px}
.story-toc>p{color:#9b6c7b;letter-spacing:.05em;font-size:13px;font-weight:700;margin:0 0 12px}
.story-toc a{display:flex;align-items:center;gap:13px;border-top:1px solid #eadfe0;padding:12px 0;color:#755a63;font-size:13px;font-weight:600;text-decoration:none;transition:color .15s}
.story-toc a span{color:#b48691;font-size:11px;font-weight:700;letter-spacing:.09em}
.story-toc a b{margin-left:auto;font-size:12px;color:#bd8894;font-weight:500}
.story-toc a:hover{color:#b16b7d}
.yoribito-story .story-section{margin:0 0 79px;scroll-margin-top:115px}
.story-section-heading{margin:0 0 26px;text-align:left}
.story-section-number{color:#ae7a8a;font-size:11px;font-weight:700;letter-spacing:.16em;display:inline-block;margin-bottom:13px}
.yoribito-story .story-section-heading h2{font-family:var(--serif);color:#74525e;font-size:clamp(25px,3.2vw,32px);line-height:1.5;font-weight:600;margin:0 0 13px}
.story-section-heading>p{font-size:14px;color:#a17c87;line-height:1.9;margin:0}
.story-prose{max-width:740px;font-size:14px;color:#65545c;line-height:2.3}
.story-prose p{margin:0 0 19px;overflow-wrap:anywhere}
.story-quote{max-width:720px;background:#fbf0f0;border-left:4px solid #bd8593;border-radius:0 15px 15px 0;padding:20px 24px;margin:30px 0 28px;position:relative}
.story-quote>span{color:#c5919d;font:italic 40px var(--serif);position:absolute;top:0;right:19px;line-height:1.3}
.story-quote p{margin:0;color:#795763;font-family:var(--serif);font-size:17px;line-height:2;position:relative;padding-right:13px}
.story-topics-section{border-top:1px solid #f0e5e5;padding-top:64px}
.story-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:30px}
.story-topic{background:#fff9f7;border:1px solid #efe0e2;border-radius:19px;padding:26px 24px;position:relative}
.story-topic:nth-child(2n){background:#fcf8f6}
.story-topic-index{display:block;color:#c396a0;font:700 11px var(--sans);letter-spacing:.12em;margin-bottom:11px}
.story-topic h3{color:#875d6c;font-family:var(--serif);font-size:19px;line-height:1.55;margin:0 0 13px;font-weight:600}
.story-topic p{color:#705b64;font-size:13px;line-height:2.1;margin:0;overflow-wrap:anywhere}
.story-strength-list{border-top:1px solid #eee0e3;margin-top:30px}
.story-strength{display:grid;grid-template-columns:56px minmax(0,1fr);gap:14px;border-bottom:1px solid #eee0e3;padding:27px 0}
.story-strength-index{color:#bd8a95;font:500 27px/1.3 var(--serif)}
.story-strength h3{font-family:var(--serif);color:#825c6a;font-size:21px;line-height:1.55;margin:0 0 11px;font-weight:600}
.story-strength p{color:#65535a;line-height:2.25;font-size:14px;margin:0;overflow-wrap:anywhere}
.story-invitation{background:linear-gradient(145deg,#fcf1f1,#fff9f5);border:1px solid #efd9df;border-radius:24px;padding:39px clamp(19px,5vw,48px);color:#6e545f;margin:20px 0 6px}
.story-invitation-kicker{letter-spacing:.17em;font-size:11px;color:#b57d8a;font-weight:700;margin:0 0 14px}
.story-invitation h2{font-family:var(--serif);color:#805765;font-size:26px;line-height:1.55;margin:0 0 21px}
.story-invitation>p:not(.story-invitation-kicker):not(.story-invitation-note){font-size:14px;line-height:2.15;margin:0 0 16px}
.story-invitation-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:28px}
.story-invitation-actions .button{font-size:12px;padding:12px 19px;min-height:48px;white-space:normal;text-align:center}
.story-invitation-note{font-size:11px;color:#99848b;margin:26px 0 0;line-height:1.9}
.yoribito-story .seo-back{margin-top:35px}
@media(max-width:700px){
 .yoribito-story .story-hero{grid-template-columns:1fr;gap:19px;padding-top:0;padding-bottom:28px}
 .story-hero-photo{grid-row:1;min-height:0;width:162px;height:198px;border-width:6px;border-radius:88px 88px 25px 25px;justify-self:center}
 .story-hero-photo img{height:202px}
 .story-hero-photo figcaption{font-size:12px;padding:28px 8px 8px}
 .story-hero-copy{text-align:left}
 .story-kicker{margin:0 0 10px;font-size:10px}
 .story-hero h1{font-size:clamp(27px,7vw,34px);line-height:1.48}
 .story-hero-tagline{font-size:15px}
 .story-introduction{padding:25px 0 20px;font-size:13px;line-height:2.2}
 .story-toc{padding:19px 18px 16px;margin-bottom:55px;border-radius:17px}
 .story-toc a{font-size:12px;gap:9px;line-height:1.8}
 .story-toc>p{font-size:12px}
 .yoribito-story .story-section{margin-bottom:58px;scroll-margin-top:88px}
 .story-section-number{margin-bottom:8px}
 .story-section-heading{margin-bottom:21px}
 .yoribito-story .story-section-heading h2{font-size:25px}
 .story-section-heading>p{font-size:13px}
 .story-prose{font-size:13px;line-height:2.2}
 .story-prose p{margin-bottom:18px}
 .story-quote{padding:17px 17px;margin:23px 0}
 .story-quote p{font-size:15px}
 .story-topics-section{padding-top:47px}
 .story-topic-grid{grid-template-columns:1fr;gap:11px;margin-top:21px}
 .story-topic{padding:20px 19px;border-radius:16px}
 .story-topic h3{font-size:18px}
 .story-topic p{font-size:13px}
 .story-strength{grid-template-columns:40px minmax(0,1fr);gap:8px;padding:21px 0}
 .story-strength-index{font-size:22px}
 .story-strength h3{font-size:18px}
 .story-strength p{font-size:13px;line-height:2.15}
 .story-invitation{padding:27px 20px;border-radius:18px}
 .story-invitation h2{font-size:23px}
 .story-invitation>p:not(.story-invitation-kicker):not(.story-invitation-note){font-size:13px}
 .story-invitation-actions{flex-direction:column;align-items:stretch}
 .story-invitation-actions .button{width:100%}
}
