/* 体験談の詳細のヒーロー(デザイン案 voice/hero.css・2026-09-27 更新: 種別ラベル → 体験者 → 学校と期間 → タイトル → 本人の言葉 の順で、
   誰の体験談かを写真より先に示す)。体験談の詳細でだけ読む(inc/clear-pages.php)。 */
.cbv-detail .story-hero{padding-bottom:45px}
.cbv-detail .story-interview-top{display:flex;align-items:center;gap:20px;padding-top:32px;margin-bottom:28px}
.cbv-detail .story-format{background:var(--yellow);color:var(--deep);font-size:14px;font-weight:700;letter-spacing:.06em;padding:5px 14px;border-radius:5px}
.cbv-detail .story-interview-top>.script{font-size:30px;line-height:1.4;color:var(--blue)}
.cbv-detail .story-interview-top>.story-published{margin-left:auto}
/* PC は見出しとプロフィールを並べ、写真はその下に 2 列ぶんで置く(デザイン案のとおり)。プロフィールの箱はデザイン案の
   5 項目だけにして、年代・評価・寄せられた詳細は「詳しく見る」の窓に出す(2026-10-06。全項目を箱に並べていた間は、
   箱の高さのぶん見出しの下が 120〜690px 空いていた) */
.cbv-detail .story-interview-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-areas:"opening profile" "photos photos";column-gap:62px;row-gap:35px;align-items:start}
.cbv-detail .story-opening{grid-area:opening;min-width:0}
.cbv-detail .story-speaker{display:flex;align-items:center;gap:14px;margin-bottom:21px}
.cbv-detail .story-speaker-icon{display:flex;align-items:center;justify-content:center;flex:none;width:54px;height:54px;background:white;border-radius:50%;color:var(--blue)}
.cbv-detail .story-speaker-icon svg{width:40px;height:40px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cbv-detail .story-person-name{font-size:22px;font-weight:700;line-height:1.6;color:var(--deep);letter-spacing:.035em}
.cbv-detail .story-person-context{font-size:12px;line-height:1.9;color:var(--sub)}
.cbv-detail .story-opening h1{font-size:37px;line-height:1.8;letter-spacing:.035em;color:var(--deep);font-weight:700;margin:0}
/* 要約は見出しのすぐ下に、白いカードで出す(2026-10-06)。カードはプロフィールの箱と同じ白・角丸。
   PC(2 列の幅)は Summary と「この体験談の要約」を横に並べて、箱の高さを詰める(2026-10-07)。900px 以下は縦に積む */
.cbv-detail .story-summary{margin:24px 0 0;max-width:660px;background:white;border-radius:14px;padding:22px 28px 24px;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:baseline}
.cbv-detail .story-summary>.script{font-size:28px;line-height:1.3;color:var(--blue);margin:0}
.cbv-detail .story-summary-title{font-size:20px;line-height:1.7;letter-spacing:.03em;font-weight:700;color:var(--deep);margin:0}
.cbv-detail .story-summary-text{grid-column:1/-1;font-size:15px;line-height:2.05;letter-spacing:.02em;color:var(--body);font-weight:500;margin:10px 0 0}
.cbv-detail .story-first-person{margin-top:25px;max-width:660px}
.cbv-detail .story-quote-label{font-size:11px;font-weight:700;color:var(--blue);letter-spacing:.04em}
.cbv-detail .story-first-person blockquote{position:relative;margin:9px 0 0;padding:0 0 0 28px;border:0;background:none;font-size:15px;line-height:2.05;color:var(--body);font-weight:500}
.cbv-detail .story-first-person blockquote:before{content:'“';position:absolute;top:-1px;left:0;font:52px/1 Georgia,serif;color:var(--blue)}
.cbv-detail .story-first-person blockquote p{margin:0}
.cbv-detail .story-quote-link{display:inline-flex;gap:20px;align-items:center;margin:13px 0 0 28px;font-size:12px;font-weight:700;color:var(--deep);text-decoration:underline;text-underline-offset:5px;text-decoration-color:#a6bedf}
.cbv-detail .story-quote-link span{font-size:19px;line-height:1.4;text-decoration:none}
.cbv-detail .story-profile{grid-area:profile;min-width:0;background:white;border-radius:14px;padding:24px 26px}
.cbv-detail .story-profile>.script{font-size:28px;color:var(--blue);line-height:1.3;margin-bottom:7px}
.cbv-detail .story-profile h2{font-size:13px;line-height:1.9;letter-spacing:.02em;margin-bottom:17px}
.cbv-detail .story-profile dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cbv-detail :is(.story-profile,.profile-dialog) dl>div{min-width:0}
.cbv-detail .story-profile dl>div:first-child,.cbv-detail .story-profile dl>div:nth-last-child(-n+2){grid-column:span 2}
.cbv-detail :is(.story-profile,.profile-dialog) dt{font-size:10px;line-height:1.6;color:var(--sub);margin-bottom:3px}
.cbv-detail :is(.story-profile,.profile-dialog) dd{font-size:14px;line-height:1.85;color:var(--deep);font-weight:700;margin:0;overflow-wrap:anywhere}
.cbv-detail :is(.story-profile,.profile-dialog) dd a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a6bedf}
.cbv-detail :is(.story-profile,.profile-dialog) dd small{font-size:11px;font-weight:500;color:var(--sub)}
.cbv-detail .story-photos{grid-area:photos;min-width:0}
.cbv-detail .story-photo-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}
.cbv-detail .story-photo-intro>p{font-size:13px;font-weight:700;color:var(--deep);letter-spacing:.025em}
.cbv-detail .story-photo-intro>.script{font-size:27px;line-height:1.4;color:var(--blue)}
.cbv-detail .story-preview-footer{margin:15px 0 0}
.cbv-detail .story-photo-help{font-size:11px;line-height:1.9;color:var(--sub)}

@media(max-width:1100px){
 .cbv-detail .story-interview-grid{grid-template-columns:minmax(0,1fr) 264px;column-gap:35px}
 .cbv-detail .story-opening h1{font-size:31px}
 .cbv-detail .story-profile{padding:23px}
 .cbv-detail .story-person-name{font-size:21px}
}
@media(max-width:900px){
 .cbv-detail .story-interview-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"opening" "photos" "profile";row-gap:28px}
 .cbv-detail .story-profile dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 28px}
 .cbv-detail .story-profile dl>div:first-child,.cbv-detail .story-profile dl>div:nth-last-child(-n+2){grid-column:auto}
 .cbv-detail .story-profile>.script{display:none}
 .cbv-detail .story-profile h2{margin-bottom:19px}
 .cbv-detail :is(.story-summary,.story-first-person){max-width:650px}
 .cbv-detail .story-summary{display:block}
 .cbv-detail .story-summary-title{margin-top:4px}
 .cbv-detail .story-interview-top{padding-top:28px}
}
@media(max-width:600px){
 .cbv-detail .story-hero{padding-bottom:35px}
 .cbv-detail .story-interview-top{gap:14px;flex-wrap:wrap;margin-bottom:22px;padding-top:24px}
 .cbv-detail .story-format{font-size:12px;letter-spacing:.025em;padding:5px 10px}
 .cbv-detail .story-interview-top>.script{font-size:27px}
 .cbv-detail .story-interview-top>.story-published{flex-basis:100%;margin-left:0;font-size:10px;line-height:1.5}
 .cbv-detail .story-speaker{gap:12px;margin-bottom:21px}
 .cbv-detail .story-speaker-icon{width:48px;height:48px}
 .cbv-detail .story-speaker-icon svg{width:35px;height:35px}
 .cbv-detail .story-person-name{font-size:21px}
 .cbv-detail .story-person-context{font-size:12px}
 .cbv-detail .story-opening h1{font-size:28px;line-height:1.8;letter-spacing:.02em}
 .cbv-detail .story-summary{margin-top:20px;padding:18px 20px 20px}
 .cbv-detail .story-summary>.script{font-size:25px}
 .cbv-detail .story-summary-title{font-size:17px}
 .cbv-detail .story-summary-text{font-size:14px;margin-top:8px}
 .cbv-detail .story-first-person{margin-top:23px}
 .cbv-detail .story-quote-label{font-size:11px}
 .cbv-detail .story-first-person blockquote{font-size:14px;line-height:2.05;padding-left:23px;margin-top:10px}
 .cbv-detail .story-first-person blockquote:before{font-size:44px;top:0}
 .cbv-detail .story-quote-link{font-size:12px;margin-left:23px;margin-top:13px}
 .cbv-detail .story-interview-grid{row-gap:29px}
 .cbv-detail .story-photo-intro{display:block;margin-bottom:13px}
 .cbv-detail .story-photo-intro>p{font-size:12px;letter-spacing:0}
 .cbv-detail .story-photo-intro>.script{display:none}
 .cbv-detail .story-preview-footer{margin:12px 0 0}
 .cbv-detail .gallery-jump{margin-top:8px}
 .cbv-detail .story-photo-help{font-size:10px}
 .cbv-detail .story-profile{padding:22px}
 .cbv-detail .story-profile dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
 .cbv-detail .story-profile dl>div:first-child,.cbv-detail .story-profile dl>div:nth-last-child(-n+2){grid-column:span 2}
 .cbv-detail .story-profile dt{font-size:10px}
 .cbv-detail .story-profile dd{font-size:13px}
}
@media(max-width:360px){
 .cbv-detail .story-opening h1{font-size:25px}
 .cbv-detail .story-interview-top{gap:11px}
 .cbv-detail .story-interview-top>.script{font-size:24px}
 .cbv-detail .story-person-name{font-size:20px}
}
/* 評価の内訳は 4 項目を 1 つの欄にまとめるので、欄の幅いっぱいに出す(どの幅でも。上の列数の指定より後ろに置く) */
.cbv-detail :is(.story-profile,.profile-dialog) dl>div.story-profile-wide{grid-column:1/-1}
.cbv-detail :is(.story-profile,.profile-dialog) .story-rating-parts{display:flex;flex-wrap:wrap;gap:2px 18px}
.cbv-detail :is(.story-profile,.profile-dialog) .story-rating-parts>span{white-space:nowrap}

/* 「詳しく見る」とプロフィールの窓(2026-10-06)。窓の枠・暗幕・見出しの帯は article.css の共通の指定、開閉は article.js */
.cbv-detail .story-profile-more{display:inline-block;margin-top:20px;padding:0;border:0;background:none;font:inherit;font-size:12px;line-height:1.6;font-weight:700;letter-spacing:.02em;color:var(--deep);text-decoration:underline;text-underline-offset:5px;text-decoration-color:#a6bedf;cursor:pointer}
.cbv-detail .story-profile-more:hover{text-decoration-color:currentColor}
.cba .profile-dialog{width:560px}
.cbv-detail .profile-dialog-body{padding:22px 26px 28px}
.cbv-detail .profile-dialog dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
@media(max-width:600px){
 .cbv-detail .profile-dialog-body{padding:18px 20px 24px}
 .cbv-detail .profile-dialog dl{grid-template-columns:minmax(0,1fr);gap:14px}
 .cbv-detail .profile-dialog dd{font-size:13px}
}
