/* Product detail: Figma 9:68, 1440px desktop / 1120px content. */
.page-product{color:#001946;letter-spacing:.02em}.breadcrumbs{padding:24px 40px 23px;font-size:12px;line-height:16px}.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}.breadcrumbs li+li:before{content:'-';margin-right:10px}.breadcrumbs a:hover{text-decoration:underline}.product-hero{position:relative;background:var(--pale);padding-top:80px}.product-hero-band{position:absolute;inset:0 0 auto;height:295px;background: url('../images/common/58e32.svg') center/cover no-repeat,linear-gradient(100deg,#0055b9e6,#00d2e6e6),url('../images/common/a3f0b.png') center -163px/1440px auto no-repeat,url('../images/common/12238.png') center/cover no-repeat}.product-intro{display:grid;grid-template-columns:560px 500px;gap:60px;position:relative}.seminar{text-align:center;color:#fff;font:500 24px/29px var(--latin)}.product-intro h1{font:700 42px/1.4 var(--heading);color:#fff;text-align:center;margin-top:31px;letter-spacing:.02em;white-space:nowrap}.course-tags{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;list-style:none;margin:55px 0 0;padding:0}.course-tags li{display:flex;justify-content:center;align-items:center;background:#fff;border:2px solid var(--blue);border-radius:4px;height:50px;color:var(--blue);font-size:20px;font-weight:500}.product-intro-description h2{font:500 26px/1.5 var(--sans);color:var(--ink);letter-spacing:.02em;margin:32px 0 0}.product-intro-description>p:last-child{font-size:16px;line-height:1.8;margin-top:8px;white-space:nowrap}.product-sample{align-self:start;padding:10px;background:#fff;box-shadow:0 0 12px #0019460d}.product-sample img{width:100%;height:auto}.course-specs{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:62px 0 0}.course-specs>div{text-align:center;background:#fff}.course-specs dt{font-size:20px;line-height:50px;background:var(--blue);color:#fff}.course-specs dd{margin:0;font-size:32px;line-height:80px}.purchase-band{background:var(--blue);margin-top:100px;padding-bottom:20px}.purchase-summary{position:relative;transform:translateY(-60px);display:flex;align-items:center;gap:30px;padding:20px;background:#fff;border-radius:6px;box-shadow:0 2px 12px #00194626;min-height:140px;margin-bottom:-60px}.single-label{border-radius:6px;font-weight:500;display:grid;place-content:center;flex:0 0 100px;height:100px;border:2px solid var(--blue);color:var(--blue);font-size:28px;line-height:1.35;text-align:center}.product-price{display:flex;align-items:flex-end;line-height:1;color:var(--blue);gap:10px;white-space:nowrap}.product-price strong{font:600 96px/1 var(--latin);letter-spacing:0}.product-price>span{font-size:42px;padding-bottom:8px}.product-price small{display:block;font-size:12px;text-align:center;margin-bottom:3px}.set-jump{margin-left:auto;border:1px solid var(--border);border-radius:100px;display:flex;gap:18px;align-items:center;justify-content:center;width:190px;min-height:60px;line-height:1.4;color:var(--blue);font-size:16px}.down-arrow{display:grid;place-items:center;border:1px solid var(--blue);border-radius:50%;width:30px;height:30px;font-size:22px}.purchase-button{width:240px;font-size:20px;padding-left:35px}.purchase-note{color:#fff;font-size:15px;margin-top:16px}.product-section{margin-top:60px}.product-section-heading{margin-bottom:40px}.product-section-heading h2{font-size:32px;margin-top:15px;line-height:1.3}.product-pale{background:var(--pale);padding:60px 0;margin-top:60px}.recommend{display:grid;grid-template-columns:220px repeat(3,1fr);border:1px solid var(--border);border-radius:6px;overflow:hidden;min-height:190px}.recommend h3{color:#fff;background:var(--gradient);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:22px;line-height:1.3;text-align:center;letter-spacing:0}.recommend>div{padding:25px 30px 20px;position:relative}.recommend>div+div:before{content:'';position:absolute;left:0;top:20px;bottom:20px;border-left:1px solid var(--border)}.recommend>div p{font-size:18px;line-height:1.5;margin-top:10px}.product-subsection{margin-top:30px}.product-subheading{font-size:22px;line-height:1.4;letter-spacing:.02em;display:flex;align-items:center;gap:10px;margin-bottom:20px}.product-subheading:before{content:'';display:block;flex:0 0 15px;width:15px;height:17px;background:url('../images/common/e5ec4.svg') center/contain no-repeat}.learning-points{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.learning-points li{min-height:220px;border:1px solid var(--border);border-left:3px solid var(--blue);border-radius:8px;padding:20px 29px}.learning-points li:nth-child(2){border-left-color:#1478c8}.learning-points li:nth-child(3){border-left-color:var(--teal)}.learning-points span{font:400 32px/1 var(--latin);color:var(--blue);letter-spacing:.04em}.learning-points h4{font-size:22px;line-height:1.4;font-weight:500;margin-top:12px;letter-spacing:0;white-space:nowrap}.learning-points p{font-size:14px;line-height:1.6;margin-top:8px}.instructor{display:flex;gap:30px;padding:20px;border:1px solid var(--border);border-radius:6px;min-height:180px}.instructor-photo{flex:0 0 140px;height:140px;overflow:hidden}.instructor-photo img{max-width:none;width:250px;height:150px;transform:translate(-58px,-2px)}.instructor-body{flex:1;min-width:0}.instructor-name{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:3px solid #d8eeff;position:relative;margin-bottom:12px}.instructor-name:after{content:'';position:absolute;left:0;bottom:-3px;width:60px;height:3px;background:linear-gradient(90deg,var(--blue) 50%,var(--teal) 50%)}.instructor-name h4{font-size:22px;color:var(--blue);font-weight:500;line-height:1.3}.instructor-body>p{font-size:14px;line-height:1.6}.subjects{display:flex;background:var(--pale);margin:60px 0 0;min-height:90px}.subjects dt{flex:0 0 160px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:18px}.subjects dd{display:flex;align-items:center;gap:10px;margin:0;padding:20px;flex:1;min-width:0}.subjects ul{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;list-style:none;margin:0;padding:0;flex:1}.subjects li{background:#fff;border:1px solid var(--border);border-radius:4px;padding:10px 5px;font-size:18px;line-height:28px;text-align:center;white-space:nowrap}.subjects dd>span{font-size:14px}.product-voices{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product-voices figure{margin:0;border:1px solid var(--border);border-radius:8px;background:#fff;padding:25px 30px 20px;min-height:270px}.product-voices blockquote{position:relative;margin:0;padding-top:30px;min-height:163px;font-size:14px;line-height:1.6;font-weight:500;letter-spacing:0}.product-voices blockquote:before{content:'“';position:absolute;left:-2px;top:-18px;color:var(--blue);font:700 32px/1.5 var(--latin)}.product-voices figcaption{display:flex;align-items:center;border-top:1px solid var(--border);gap:20px;padding-top:10px}.product-voices figcaption>span{font:500 22px/1 var(--latin);color:var(--blue)}.product-voices figcaption p{margin-left:auto;white-space:nowrap;font-size:14px}.product-voices figcaption b{font:500 32px/1 var(--latin);color:var(--blue);margin-right:6px}.voice-source{font-size:14px;text-align:right;margin-top:20px}.plan-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:40px}.plan{border:1px solid var(--border);border-radius:6px;overflow:hidden}.plan header{background:var(--pale);text-align:center;padding:20px;min-height:100px}.plan h3{font-size:22px;letter-spacing:.02em;color:var(--blue);line-height:1.4}.plan header p{font-size:14px;line-height:1.5;margin-top:4px}.plan-price-area{min-height:137px;text-align:center;padding:20px 10px}.plan-price{display:flex;align-items:baseline;justify-content:center;color:var(--blue);gap:8px;line-height:1;white-space:nowrap}.plan-price strong{font:600 22px/1 var(--latin);letter-spacing:0}.plan-price>span{font-size:14px}.plan-price small{font-size:12px;margin-left:4px}.plan-saving{font-size:18px;color:#d1252f;margin-top:10px;line-height:1.4}.plan-actions{min-height:120px;display:flex;align-items:center;justify-content:center;gap:20px;border-top:1px solid var(--border);padding:20px}.plan-actions .gradient-button{width:220px;font-size:22px;padding-left:30px}.plan-actions .outline-button{width:245px;min-height:60px;padding-left:25px;font-size:18px;color:var(--blue)}.full-plan-item{grid-column:1/-1}.full-plan{display:grid;grid-template-columns:350px 1fr 380px;border:2px solid var(--blue);border-radius:6px;overflow:hidden;min-height:280px}.full-plan header{background:var(--pale);padding:40px 25px;display:flex;flex-direction:column;justify-content:center}.full-plan h3{font-size:22px;letter-spacing:0;color:var(--blue)}.full-plan header p{font-size:18px;margin-top:20px;line-height:1.5}.full-plan-price{padding:38px 20px 20px 38px;position:relative}.full-plan-price:after{content:'';position:absolute;right:0;top:40px;bottom:40px;border-right:1px solid var(--border)}.full-plan-price .plan-price{justify-content:flex-start;margin-top:15px}.full-plan-price strong{font-size:32px}.full-plan-price .plan-price small{display:block;text-align:center;line-height:1.5}.full-plan-price .plan-saving{font-size:18px;white-space:nowrap}.recommended-label{display:inline-block;padding:3px 20px;background:var(--blue);border-radius:4px;font-size:14px;color:#fff;line-height:24px}.full-plan-actions{padding:40px;display:flex;flex-direction:column;justify-content:center;gap:20px}.full-plan-actions .gradient-button,.full-plan-actions .outline-button{width:100%;color:#fff}.full-plan-actions .gradient-button{font-size:22px;padding-left:60px}.full-plan-actions .outline-button{min-height:60px;color:var(--ink);font-size:14px;font-weight:500;padding-left:40px}.next-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:40px}.next-cards article{border:1px solid var(--border);border-radius:6px;background:#fff;padding:25px 39px 40px}.next-label{font-size:14px;color:var(--blue)}.next-cards h3{font-size:22px;line-height:1.4;letter-spacing:.02em;margin-top:10px}.next-cards h3+p{font-size:14px;line-height:1.8;margin-top:15px}.next-cards .gradient-button{margin-top:30px;width:340px;max-width:100%;margin-inline:auto}.product-faq{display:grid;grid-template-columns:280px 1fr;gap:40px;margin-bottom:60px}.faq-list{display:grid;gap:16px;align-content:start}.faq-list details{border:1px solid var(--border);border-radius:6px;overflow:hidden}.faq-list summary{position:relative;display:flex;align-items:center;gap:20px;list-style:none;font-size:18px;line-height:1.5;min-height:60px;padding:13px 65px 13px 20px;cursor:pointer}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';position:absolute;right:20px;top:15px;border:1px solid var(--blue);width:30px;height:30px;border-radius:50%;text-align:center;line-height:26px;font-size:22px;color:var(--blue)}.faq-list details:not([open]) summary:after{content:'+'}.faq-list details[open] summary{border-bottom:2px solid #d8eeff}.faq-list details[open] summary:before{content:'';position:absolute;left:0;bottom:-2px;width:50px;height:2px;background:var(--blue)}.faq-list summary>span,.faq-answer>span{color:var(--blue);font:500 22px/1 var(--latin);flex-shrink:0}.faq-answer{display:flex;align-items:center;gap:20px;min-height:78px;padding:14px 20px}.faq-answer p{font-size:14px;line-height:1.6}.page-product .footer{margin:0}.faq-list summary:focus-visible{outline:3px solid #f6a52a;outline-offset:-4px}
@media(min-width:1600px){.product-hero-band{background-size:cover,auto,cover,cover;background-position:center,center,center,center}}
@media(max-width:1199px){.product-intro{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:30px}.product-intro h1{font-size:clamp(24px,3vw,38px)}.course-tags li{font-size:16px}.product-intro-description h2{font-size:22px}.product-intro-description>p:last-child{white-space:normal}.product-price strong{font-size:70px}.purchase-summary{gap:20px}.single-label{flex-basis:80px;height:80px;font-size:24px}.product-price>span{font-size:30px}.set-jump{width:160px}.purchase-button{width:200px;font-size:20px;padding-left:25px}.recommend{grid-template-columns:180px repeat(3,1fr)}.recommend>div{padding:25px 20px}.recommend>div p{font-size:14px}.learning-points li{padding:20px}.learning-points h4{font-size:18px;white-space:normal}.learning-points p{font-size:14px}.subjects dt{flex-basis:120px}.subjects dd{padding:15px}.subjects li{font-size:14px}.product-voices figure{padding:25px 20px 20px}.plan-actions{gap:10px;padding:15px}.plan-actions .outline-button{font-size:14px;padding-left:15px}.full-plan{grid-template-columns:29% 37% 34%}.full-plan h3{font-size:22px}.full-plan header{padding:30px 20px}.full-plan-price{padding-left:25px}.full-plan-price strong{font-size:32px}.full-plan-actions{padding:30px}.full-plan-actions .gradient-button{padding-left:35px}.next-cards article{padding:25px 25px 35px}.product-faq{grid-template-columns:230px 1fr;gap:30px}.faq-list summary{font-size:18px}}
@media(max-width:767px){.breadcrumbs{padding:20px 20px;font-size:10px;line-height:1.5}.breadcrumbs ol{gap:6px}.breadcrumbs li+li:before{margin-right:6px}.product-hero{padding-top:40px}.product-hero-band{height:260px;background-size:cover,auto,auto 750px,cover;background-position:center,center,center -100px,center}.product-intro{display:flex;flex-direction:column;gap:30px}.seminar{font-size:20px}.product-intro h1{font-size:clamp(23px,5.8vw,36px);margin-top:15px;white-space:normal}.course-tags{margin-top:28px;gap:6px}.course-tags li{height:44px;font-size:clamp(12px,3vw,16px)}.product-intro-description h2{margin-top:45px;font-size:clamp(18px,4.5vw,24px)}.product-intro-description>p:last-child{font-size:14px;margin-top:12px}.product-sample{width:100%;max-width:500px;align-self:center}.course-specs{gap:8px;margin-top:30px}.course-specs dt{font-size:15px;line-height:40px}.course-specs dd{font-size:clamp(17px,4vw,24px);line-height:65px}.purchase-band{margin-top:65px;padding-bottom:24px}.purchase-summary{transform:translateY(-35px);margin-bottom:-35px;flex-wrap:wrap;gap:14px;padding:15px}.single-label{flex-basis:60px;height:65px;font-size:19px}.product-price{flex:1;gap:5px}.product-price strong{font-size:clamp(46px,11vw,66px)}.product-price>span{font-size:26px;padding-bottom:5px}.product-price small{font-size:10px}.set-jump{margin:0;width:auto;flex:1;min-height:60px;font-size:14px;gap:10px}.purchase-button{flex:1;min-height:60px;font-size:18px;padding:9px 10px 9px 24px;width:auto}.purchase-button .arrow-gradient{width:30px;height:30px;background-size:42px}.purchase-note{font-size:12px;margin-top:15px}.product-section{margin-top:33px}.product-section-heading{margin-bottom:28px}.product-section-heading h2{font-size:22px;margin-top:12px}.product-pale{padding:33px 0}.recommend{grid-template-columns:1fr;min-height:0}.recommend h3{flex-direction:row;gap:20px;padding:20px;font-size:18px}.recommend h3 br{display:none}.recommend h3 img{width:45px;height:45px}.recommend>div{display:flex;align-items:center;gap:20px;padding:20px}.recommend>div p{font-size:14px;margin:0}.recommend>div p br{display:none}.recommend>div img{flex-shrink:0}.recommend>div+div:before{top:0;bottom:auto;left:20px;right:20px;border-left:0;border-top:1px solid var(--border)}.product-subsection{margin-top:18px}.product-subheading{font-size:18px}.learning-points{grid-template-columns:1fr;gap:15px}.learning-points li{min-height:0;padding:20px 25px;display:grid;grid-template-columns:60px 1fr;gap:8px 15px}.learning-points span{font-size:22px;grid-row:1/3;align-self:center}.learning-points h4{font-size:18px;margin:0}.learning-points p{font-size:12px;margin:0}.instructor{gap:15px;flex-wrap:wrap;padding:20px}.instructor-photo{flex-basis:100px;height:100px}.instructor-photo img{width:179px;height:107px;transform:translate(-41px,-1px)}.instructor-body{flex-basis:100%}.instructor-name{padding-bottom:14px;align-items:flex-start}.instructor-name h4{font-size:22px;white-space:nowrap}.instructor-name p{font-size:12px;max-width:60%}.instructor-body>p{font-size:12px}.subjects{display:block;margin-top:35px}.subjects dt{padding:8px;font-size:18px}.subjects dd{padding:15px;display:block}.subjects ul{grid-template-columns:repeat(3,1fr);gap:8px}.subjects li{font-size:12px;padding:6px 4px}.subjects dd>span{display:block;text-align:right;margin-top:5px;font-size:12px}.product-voices{grid-template-columns:1fr;gap:20px}.product-voices figure{min-height:0;padding:25px}.product-voices blockquote{font-size:14px;min-height:155px}.voice-source{font-size:12px}.plan-list{grid-template-columns:1fr;gap:25px}.plan-actions{padding:20px;gap:12px;min-height:100px;flex-wrap:wrap}.plan-actions .gradient-button{font-size:22px;min-height:60px}.plan-actions .outline-button{width:220px;min-height:50px}.plan-price-area{min-height:125px}.plan-price strong{font-size:18px}.full-plan{display:flex;flex-direction:column}.full-plan header{text-align:center;padding:25px}.full-plan header p{margin-top:12px;font-size:14px}.full-plan h3{font-size:22px}.full-plan-price{text-align:center;padding:25px 20px}.full-plan-price:after{display:none}.full-plan-price .plan-price{justify-content:center}.full-plan-price strong{font-size:22px}.full-plan-price .plan-saving{white-space:normal;font-size:14px}.full-plan-actions{padding:20px;border-top:1px solid var(--border);align-items:center;gap:15px}.full-plan-actions .gradient-button,.full-plan-actions .outline-button{max-width:300px}.full-plan-actions .gradient-button{min-height:60px;font-size:22px;padding-left:50px}.next-cards{grid-template-columns:1fr;gap:20px;margin-top:25px}.next-cards h3{font-size:18px}.next-cards h3+p{font-size:12px}.next-cards h3+p br{display:none}.next-cards .gradient-button{font-size:18px;min-height:60px;padding-left:30px}.product-faq{grid-template-columns:1fr;gap:0;margin-bottom:33px}.product-faq h2 br{display:none}.faq-list summary{font-size:14px;gap:12px;padding:15px 50px 15px 15px;min-height:65px}.faq-list summary:after{right:12px;width:25px;height:25px;line-height:22px;font-size:18px;top:18px}.faq-list summary>span,.faq-answer>span{font-size:18px}.faq-answer{gap:12px;padding:15px}.faq-answer p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.page-product{scroll-behavior:auto}}
/* Allow grid children to shrink before their text or buttons wrap. */
.product-intro>*,.learning-points>*,.product-voices>*,.plan-list>*,.next-cards>*,.product-faq>*{min-width:0}
@media(min-width:768px) and (max-width:999px){.purchase-summary{flex-wrap:wrap}.product-price{margin-right:auto}.set-jump{margin-left:0}.recommend{grid-template-columns:160px repeat(3,1fr)}.recommend>div{padding:20px 12px}.recommend h3{font-size:22px}.recommend>div p{font-size:14px}.subjects ul{grid-template-columns:repeat(3,1fr)}.plan-list{gap:25px;grid-template-columns:1fr}.plan-actions{gap:20px}.full-plan{grid-template-columns:1fr 1fr}.full-plan-actions{grid-column:1/-1;flex-direction:row;border-top:1px solid var(--border);padding:25px}.full-plan-price:after{display:none}.next-cards{grid-template-columns:1fr}.next-cards article{padding:30px 40px}.product-voices figure{padding:20px 15px}.product-voices figcaption{gap:10px}.product-voices figcaption img{width:40px}.product-voices figcaption>span{font-size:18px}.product-voices figcaption b{font-size:22px}}
/* Fine spacing and treatments measured against the desktop frame. */
@media(min-width:1000px){.seminar,.product-intro h1{text-align:left}.seminar{letter-spacing:.08em;font-weight:600;line-height:24px}.product-intro h1{margin-top:42px;letter-spacing:.04em}.course-tags{margin-top:65px}.course-tags li{font-size:14px;font-weight:600}.product-intro-description h2{margin-top:32px}.course-specs{margin-top:62px}.purchase-band{padding-bottom:44px}}
.recommend{background:var(--pale);border:0}.instructor-photo{border-radius:50%}.learning-points li:nth-child(2)>span{color:#1478c8}.learning-points li:nth-child(3)>span{color:var(--teal)}.subjects li{border:2px solid var(--blue);color:var(--blue);font-size:14px;font-weight:500;padding:9px 5px}.product-voices figure,.next-cards article{border:0;box-shadow:0 0 8px #5a78a01a}.voice-source{font-size:12px;line-height:1}.recommended-label{background:#fff;color:var(--blue);border:1px solid var(--blue);line-height:22px}.faq-list details[open] summary:after{content:'−'}.course-card h3 button{text-align:left;padding:0;font:inherit;letter-spacing:inherit}.course-card h3 button:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:767px){.subjects li{font-size:12px}}
@media(max-width:767px){.purchase-summary{display:grid;grid-template-columns:60px minmax(0,1fr) minmax(0,1fr) 60px;gap:14px 10px}.single-label{grid-column:1;width:60px}.product-price{grid-column:2/5;min-width:0}.product-price strong{font-size:clamp(38px,11vw,54px)}.set-jump{grid-column:1/3;width:100%;min-width:0}.purchase-button{grid-column:3/5;width:100%;min-width:0;font-size:16px;padding-left:20px}}

/* Purchase callouts: match the Figma text grouping, icon and price alignment. */
.product-price>span{color:#001946;font-weight:700}.product-price>span small{font-weight:400}
.set-jump{color:#001946;font-weight:500;gap:15px;flex-shrink:0}
.down-arrow{position:relative;display:block;flex:0 0 30px;width:30px;height:30px;border:0;border-radius:0;transform:rotate(90deg)}
.down-arrow img{position:absolute;left:-8px;top:-8px;max-width:none}
.full-plan-price .recommended-label{display:inline-flex;align-items:center;justify-content:center;width:120px;height:30px;padding:0;font:600 12px/1 var(--latin)}

/* Task 210: remove the former eyebrow gap only on approved product pages. */
:is(.page-fullset,.page-chokuzenki_series,.page-kokushi_summarize,.page-kokushimuso,.page-last_message,.page-hyojyun_kaisetsu,.page-public_health,.page-mec-course_series,.page-safetynet_osce) .product-section-heading h2:first-child{margin-top:0}
.page-compact_naika .product-section-heading h2:first-child{margin-top:0}
:is(.page-emc_onsite,.page-symptomatology) .product-section-heading h2:first-child{margin-top:0}
.full-plan-price .plan-price strong{font-weight:700}
.full-plan-price .plan-price>span{color:#001946;display:flex;align-items:baseline;gap:5px;font-weight:700}
.full-plan-price .plan-price small{display:inline;font-weight:400;margin:0;line-height:1}
.full-plan-price .plan-saving,.plan-saving.plan-saving-standard{color:#001946;font-weight:600;letter-spacing:.04em;line-height:1.5;margin-top:12px}
.full-plan-price .plan-saving>span,.plan-saving.plan-saving-standard>span{color:#c83c32}
.full-plan-actions .gradient-button{font-size:18px}
@media(min-width:1000px){.full-plan-price{padding-top:58px}}
@media(max-width:767px){.set-jump{gap:10px}}

/* The preview becomes an inline player after user activation. */
.product-sample-trigger,.product-sample-player{display:block;width:100%;aspect-ratio:16/9;min-height:200px;border:0;padding:0;background:#000}
.product-sample-trigger img{width:100%;height:100%;object-fit:contain}

/* Keep the map title background continuous and each stage vertically centred. */
.course-next-map{display:grid;grid-template-columns:280px minmax(0,1fr) 285px;align-items:center;gap:20px;min-height:140px;border:1px solid var(--border);border-radius:6px;background:#fff;overflow:hidden}
.course-next-map>div{align-self:stretch;background:var(--gradient);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:20px}
.course-next-map h3{max-width:164px;text-align:center;font-size:22px;line-height:1.3;letter-spacing:0}
.course-next-map>div p{font-size:14px;line-height:1.4;margin-top:10px}
.course-next-map ol{display:flex;align-items:center;justify-content:space-between;min-width:0;gap:60px;list-style:none;margin:0;padding:20px}
.course-next-map li{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;color:var(--blue);min-width:0}
.course-next-map li small{font:500 14px/1 var(--latin)}.course-next-map li b{font:700 22px/1 var(--latin)}
.course-next-map li>span{grid-column:1/-1;color:var(--ink);font-size:22px;line-height:1.4;white-space:nowrap}
.course-next-map li+li:before{content:'';position:absolute;left:-80px;top:50%;transform:translateY(-50%);width:60px;height:138px;background:url('../images/common/1e859.svg') center/contain no-repeat}
.course-next-map>.outline-button{width:245px;min-height:60px;margin-right:40px;padding-left:30px;color:var(--ink);font-size:14px}
#next-steps .product-section-heading h2 span{display:inline-block;max-width:100%}
.plan-actions{position:relative;border-top:0;padding:20px 30px;gap:15px;min-height:120px}
.plan-actions:before{content:'';position:absolute;left:30px;right:30px;top:0;border-top:1px solid var(--border)}
.plan-actions .gradient-button{flex:0 0 220px;width:220px;min-height:60px;padding:9px 10px 9px 50px;font-size:18px;font-weight:500;background:linear-gradient(to right,#0055b9,#00d2e6)}
.plan-actions .gradient-button .arrow-gradient{--arrow-circle:url('../images/common/arrow-plan-circle.svg');--arrow-glyph:url('../images/common/arrow-plan-glyph.svg');background:var(--arrow-circle) center/42px 42px no-repeat}
.plan-actions .outline-button{flex:0 1 245px;width:245px;min-height:60px;padding:9px 20px 9px 35px;color:var(--ink);font-size:14px;font-weight:500;white-space:nowrap}
@media(max-width:1199px){.course-next-map{grid-template-columns:240px minmax(0,1fr) 230px}.course-next-map h3{font-size:22px}.course-next-map ol{gap:35px;padding:20px 10px}.course-next-map li>span{font-size:14px}.course-next-map li+li:before{left:-45px;width:35px}.course-next-map>.outline-button{width:210px;margin-right:20px;padding-left:20px}.plan-actions{flex-wrap:wrap}}
@media(min-width:768px) and (max-width:999px){.course-next-map{grid-template-columns:220px minmax(0,1fr);gap:0 20px}.course-next-map>div{grid-row:1/3}.course-next-map ol{justify-content:space-evenly;min-height:120px}.course-next-map li+li:before{height:115px}.course-next-map>.outline-button{grid-column:2;justify-self:center;margin:0 0 20px}}
@media(max-width:767px){.course-next-map{grid-template-columns:minmax(0,1fr);gap:25px;padding-bottom:25px}.course-next-map h3{max-width:none}.course-next-map>div p{margin-top:4px}.course-next-map ol{justify-content:space-evenly;gap:35px;padding:0 15px;min-height:65px}.course-next-map li b{font-size:22px}.course-next-map li+li:before{height:90px;width:30px;left:-45px}.course-next-map>.outline-button{justify-self:center;width:245px;max-width:calc(100% - 30px);margin:0}.plan-actions{padding:20px;gap:15px}.plan-actions:before{left:20px;right:20px}.plan-actions .outline-button{flex-basis:245px;max-width:100%}.plan-actions .gradient-button{max-width:100%;padding-left:30px;font-size:18px}}
@media(min-width:1000px){.purchase-band{padding-bottom:85px}}
/* Desktop full-set header: 350px panel, 40px text inset including the border. */
@media(min-width:1200px){
 .full-plan{grid-template-columns:348px minmax(0,1fr) 380px}
 .full-plan header{padding:40px 40px 40px 38px}
 .full-plan header h3{line-height:1;letter-spacing:.04em}
 .full-plan header p{line-height:1.8;margin-top:20px}
}

.next-cards .gradient-button,.full-plan-actions .gradient-button{font-weight:500}

.course-next-map>.outline-button{font-weight:500}

.next-label{font-weight:500}

.faq-list summary{font-weight:500}

.purchase-button{font-weight:500}

/* Temporarily hide course FAQ sections whose questions and answers are placeholders. */
:is(
 .page-chokuzenki_series,
 .page-compact_naika,
 .page-emc_onsite,
 .page-fullset,
 .page-hyojyun_kaisetsu,
 .page-kokushimuso,
 .page-last_message,
 .page-mec-course_series,
 .page-public_health,
 .page-safetynet_osce,
 .page-symptomatology
) #faq{display:none}

@media(min-width:768px){.product-price>span{padding-bottom:16px}}

/* Stack the sample after the intro heading and paragraph throughout mobile widths. */
@media(max-width:800px){
 .product-intro{display:flex;flex-direction:column;gap:30px}
 .product-sample{width:100%;max-width:500px;align-self:center}
}

/* Desktop keeps the two columns; mobile reads title, sample, then description. */
.product-intro{row-gap:0}
.product-intro-copy{grid-column:1;grid-row:1}
.product-intro-description{grid-column:1;grid-row:2}
.product-sample{grid-column:2;grid-row:1/3}
@media(max-width:800px){
 .product-intro{row-gap:30px}
 .product-intro-description h2{margin-top:0}
}

@media(min-width:801px){.product-sample{align-self:center}}

/* Confirmed copy can wrap within the existing columns and cards. */
.product-intro-description>p:last-child{white-space:normal;overflow-wrap:anywhere}
.course-tags li{height:auto;min-height:50px;padding:5px;text-align:center;line-height:1.4;overflow-wrap:anywhere}
.course-specs .instructor-spec{min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;line-height:1.4;font-size:26px}
.instructor-spec small{font-size:14px}
.product-voices figure{display:flex;flex-direction:column}
.product-voices blockquote{flex:1}
.product-voices figcaption{margin-top:12px}
.product-voices figcaption>.voice-name-pending{font-family:var(--sans);font-size:14px;line-height:1.5}
.page-product [data-buy]:disabled{cursor:default;opacity:.55;filter:none}
.page-product [data-buy]:disabled::before{display:none}
/* 担当講師の丸画像(正方形)をそのまま枠いっぱいに表示 */
.instructor-photo img.instructor-photo__circle{width:100%;height:100%;max-width:none;object-fit:cover;transform:none}
@media(max-width:767px){
 .course-tags li{min-height:44px}
 .course-specs .instructor-spec{min-height:65px;font-size:clamp(14px,4vw,20px);padding-inline:2px}
 .instructor-spec small{font-size:clamp(10px,2.8vw,12px)}
}

/* Delivered covers: preserve the full 16:9 artwork and the inline video trigger. */
.page-product .product-sample-trigger.product-sample-cover{position:relative;min-height:0;overflow:hidden}
.page-product .product-sample-trigger.product-sample-cover picture{display:block;width:100%;height:100%}
.page-product .product-sample-trigger.product-sample-cover img{display:block;width:100%;height:100%;object-fit:contain}
.page-product .product-sample-trigger.product-sample-cover::after{content:'';position:absolute;left:50%;top:50%;width:72px;height:72px;transform:translate(-50%,-50%);background:url('../images/common/05bac.svg') center/contain no-repeat;pointer-events:none}

@media (max-width: 999px) {
  .next-cards .next-card-pc-break { display: none; }
}

.course-next-map--roadmap li > span {
  white-space: normal;
  overflow-wrap: anywhere;
}
.course-next-map--roadmap li > span a {
  text-decoration: underline;
  text-underline-offset: .15em;
}
.course-next-map--stage-only {
  grid-template-columns: minmax(0, 1fr) auto;
}
.course-next-map--stage-only > div {
  grid-row: auto;
}
.course-next-map--stage-only > .outline-button {
  grid-column: auto;
  margin: 0 20px 0 0;
}
.course-specs.course-specs--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.course-unit-details {
  width: fit-content;
  max-width: 100%;
  list-style: none;
  margin: 8px auto 0;
  padding: 0 8px 8px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
.course-unit-details > li {
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr);
  gap: 6px;
}
@media (max-width: 767px) {
  .course-next-map--stage-only { grid-template-columns: minmax(0, 1fr); }
  .course-next-map--stage-only > .outline-button { margin: 0; }
}

@media (max-width: 999px) {
  .page-emc_onsite #course-about .learning-points li > span { grid-row: auto; }
}

@media (max-width: 800px) {
  :is(.page-emc_onsite, .page-product-reading:has(.course-specs--summarize)) .product-hero {
    overflow-x: clip;
  }
}

@media (max-width: 767px) {
  .page-emc_onsite .instructor-desktop-break {
    display: none;
  }

  .course-specs--summarize {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-specs--summarize > div > dd {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 8px 4px;
    font-size: clamp(14px, 3.5vw, 20px);
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  .page-emc_onsite .purchase-summary .set-jump,
  .page-emc_onsite .purchase-summary .purchase-button {
    grid-column: 1 / -1;
  }
}

.page-emc_onsite .course-specs .spec-value small {
  display: block;
  font-size: .75em;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .page-emc_onsite .course-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-emc_onsite .course-specs > div > dd {
    padding: 8px 3px;
    line-height: 1.45;
  }

  .page-emc_onsite .course-specs .spec-value small {
    font-size: clamp(10px, 2.8vw, 12px);
  }
}

.summarize-mainvisual,.summarize-mainvisual img{display:block;width:100%;height:auto}

/* Below-fold prices. Hero .product-price stays as authored. */
.page-product .plan-price strong{font-size:22px}
.page-product .plan-price>span{font-size:14px}
.page-product .plan-price small{font-size:12px}
.page-product .plan-list>li:only-child .plan-price-area{min-height:0}

/* Keep the paired purchase cards compact and aligned on Kokushimuso / LAST MESSAGE. */
:is(.page-kokushimuso,.page-last_message) #plans .plan-price-area{display:flex;flex-direction:column;justify-content:center;min-height:98px}
@media(min-width:1000px) and (max-width:1199px){
:is(.page-kokushimuso,.page-last_message) #plans .plan-actions{min-height:175px}
}
@media(max-width:767px){
.page-product .plan-price strong{font-size:18px}
.page-product .plan-price>span{font-size:12px}
.page-product .plan-price small{font-size:10px}
.page-product .plan-list>li:only-child .plan-price-area{min-height:50px}
:is(.page-kokushimuso,.page-last_message) #plans .plan-price-area{min-height:93px}
}
