/* トップ本文専用。既存のヘッダー・フッター・html・bodyには指定しない。 */
.reene-top{--ink:#17382f;--green:#007e50;--dark:#004d36;--pale:#f1f6f1;--lime:#d9ea69;--journal:#edfba5;--line:#ccdbd4;--muted:#5c6d65}
.reene-top *{box-sizing:border-box}

.reene-top{margin:0;font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN',Meiryo,sans-serif;font-size:16px;line-height:1.75;color:var(--ink);background:#fff;line-break:strict;overflow-wrap:anywhere}
.reene-top h1,.reene-top h2,.reene-top h3,.reene-top h4,.reene-top p{margin:0}
.reene-top h1,.reene-top h2,.reene-top h3,.reene-top h4{font-weight:700;line-height:1.5}
.reene-top a{display:inline;color:inherit;text-decoration:none}
.reene-top span{display:inline}
.reene-top button{font:inherit;cursor:pointer}
.reene-top button,.reene-top a{-webkit-tap-highlight-color:transparent}
.reene-top a:focus-visible,.reene-top button:focus-visible,.reene-top summary:focus-visible{outline:3px solid #db9d00;outline-offset:5px}
.reene-top img{display:block;width:auto;height:auto;max-width:100%}
.reene-top button{color:inherit}
.reene-top a,.reene-top button{touch-action:manipulation}
.reene-top button[hidden],.reene-top [hidden]{display:none!important}
.reene-top .wrap{width:min(1200px,calc(100% - 96px));margin-inline:auto}
.reene-top .section{padding-block:80px;position:relative;isolation:isolate;overflow:hidden}
.reene-top .stack{display:flex;flex-direction:column;gap:32px;align-items:flex-start}
.reene-top .stack>*{max-width:100%}
.reene-top .section-heading{width:100%}
.reene-top .eyebrow{font-family:Afacad,Arial,sans-serif;font-size:32px;font-weight:700;line-height:1.2;color:var(--green);margin-bottom:4px}
.reene-top .section h2{font-size:38px;line-height:1.45;letter-spacing:-.025em;word-break:normal}
.reene-top .button{min-height:66px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 22px;border:1px solid var(--green);background:#fff;color:var(--green);font-size:15px;font-weight:700;width:340px;text-align:left;transition:background .2s,color .2s,transform .2s}
.reene-top .button>span:last-child{font-size:22px;font-weight:400;flex:none}
.reene-top .button:hover{background:#e5f1df}
.reene-top .button.primary{background:var(--green);color:#fff}
.reene-top .button.primary:hover{background:var(--dark)}
.reene-top .button.wide{width:420px}
.reene-top .text-link,.reene-top .read-more{color:var(--green);font-weight:700;font-size:14px}
.reene-top .text-link:hover,.reene-top a:hover .read-more{text-decoration:underline;text-underline-offset:4px}
.reene-top .note{font-size:12px;color:var(--muted)}
.reene-top .hero{background:var(--pale);overflow:hidden;padding:64px 0 54px}
.reene-top .hero-main{display:grid;grid-template-columns:560fr 600fr;gap:40px;position:relative;min-height:490px}
.reene-top .hero-copy{position:relative;z-index:2}
.reene-top .hero h1{font-size:clamp(32px,3.61vw,52px);line-height:1.45;letter-spacing:-.035em;margin-bottom:20px}
.reene-top .hero h1 span{display:block;white-space:nowrap}
.reene-top .hero-copy>p{font-size:17px;line-height:1.75;letter-spacing:-.025em}
.reene-top .hero-more{display:inline-flex;gap:20px;color:var(--green);font-size:14px;font-weight:700;margin-top:20px}
.reene-top .hero-art{position:relative;min-width:0}
.reene-top .hero-art img{position:absolute;max-width:none;width:271.91%;height:178.54%;left:-62.14%;top:0;object-fit:fill}
.reene-top .hero-art{position:absolute;left:calc(50% - 40px);top:-64px;width:calc(50% + 160px);height:610px;overflow:hidden}
.reene-top .hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f1f6f1 0%,rgba(241,246,241,.92) 12%,rgba(241,246,241,.25) 30%,rgba(241,246,241,0) 43%,rgba(241,246,241,0) 95%,rgba(241,246,241,.6) 100%),linear-gradient(180deg,rgba(241,246,241,.4),transparent 12%,transparent 66%,rgba(241,246,241,.55) 85%,#f1f6f1 100%)}
.reene-top .hero-gateways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;position:relative;z-index:3;margin-top:40px}
.reene-top .gateway{display:flex;flex-direction:column;justify-content:center;gap:8px;background:var(--lime);border:2px solid #060e09;box-shadow:0 4px 0 #060e09;padding:14px 22px 12px;color:#060e09;min-height:104px;transition:transform .2s,box-shadow .2s}
.reene-top .gateway:hover{transform:translateY(2px);box-shadow:0 2px 0 #060e09}
.reene-top .gateway strong{font-size:clamp(17px,1.67vw,24px);line-height:1.45;white-space:nowrap}
.reene-top .gateway small{display:block;background:#060e09;color:var(--lime);text-align:right;font-size:14px;font-weight:700;line-height:28px;padding:0 8px}
.reene-top .journal{background:var(--journal)}
.reene-top .topic-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%}
.reene-top .topic-tabs .button{width:100%}
.reene-top .topic-button[aria-pressed=true]{background:var(--green);color:#fff}
.reene-top .subheading{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}
.reene-top .subheading h3,.reene-top .popular>h3{font-size:24px}
.reene-top .subheading>a{font-size:14px;color:var(--green);font-weight:700}
.reene-top .article-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.reene-top .article-card>a{display:flex;flex-direction:column;height:100%;gap:7px}
.reene-top .article-card img{width:100%;aspect-ratio:16/9;object-fit:cover;margin-bottom:7px;transition:filter .2s}
.reene-top .article-card a:hover img{filter:brightness(1.06)}
.reene-top .article-meta{font-size:13px;color:var(--muted);font-weight:600}
.reene-top .article-card h3{font-size:18px;line-height:1.75}
.reene-top .read-more{font-size:13px;margin-top:auto;padding-top:2px}
.reene-top .popular{background:white;padding:24px;width:100%}
.reene-top .popular>.note{margin-block:10px 20px}
.reene-top .popular-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.reene-top .popular-card{min-width:0}
.reene-top .popular-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.reene-top .rank{display:block;font:700 34px/1.45 Afacad,Arial,sans-serif;color:var(--green);margin-block:12px}
.reene-top .popular-card h4{font-size:15px;line-height:1.75}
.reene-top .work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%}
.reene-top .work-card{background:var(--pale);padding:24px}
.reene-top .work-number{font-size:13px;font-weight:700;color:var(--green)}
.reene-top .work-card h3{font-size:22px;margin-top:16px;padding-bottom:16px;border-bottom:1px solid #d6e2db;letter-spacing:-.035em}
.reene-top .work-card p{margin-top:16px;font-size:15px}
.reene-top .next-step{background:var(--green);color:white}
.reene-top .next-step .eyebrow,.reene-top .final-cta .eyebrow{color:var(--lime)}
.reene-top .next-step h2{font-size:32px;margin-top:10px;margin-bottom:10px}
.reene-top .next-step p:not(.eyebrow){font-size:15px}
.reene-top .outline-white{background:transparent;border:2px solid white;color:white;width:360px}
.reene-top .outline-white:hover{color:var(--dark);background:white}
.reene-top .diagnosis{padding:64px 0;background:#66d6f7;text-align:center}
.reene-top .diagnosis .wrap{max-width:960px}
.reene-top .diagnosis h2{font-size:42px;line-height:1.6}
.reene-top .diagnosis .diagnosis-logo{max-width:500px;margin:0 auto 28px}
.reene-top .diagnosis-logo img{width:100%;height:auto}
.reene-top .diagnosis h3{font-size:24px;margin:32px 0}
.reene-top .diagnosis-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.reene-top .diagnosis-options button{padding:16px 20px;border:0;background:#389140;color:white;border-radius:40px;font-weight:700;min-height:58px}
.reene-top .diagnosis-options button:nth-child(2){background:#4f6387}
.reene-top .diagnosis-options button:hover{filter:brightness(.9)}
.reene-top .diagnosis-note{font-size:12px;margin-top:22px;color:#254653}
.reene-top .diagnosis-result{background:rgba(255,255,255,.8);padding:24px;margin-top:24px}
.reene-top .diagnosis-result .button{margin:20px auto}
.reene-top .diagnosis-back{border:0;background:none;text-decoration:underline;text-underline-offset:3px}
.reene-top .feature-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;width:100%}
.reene-top .feature-photo{width:100%;height:auto;aspect-ratio:568/340;object-fit:cover}
.reene-top .feature-copy{display:flex;flex-direction:column;gap:20px;align-items:flex-start;min-width:0}
.reene-top .feature-copy .eyebrow{margin-bottom:0}
.reene-top .feature-copy h3{font-size:30px;line-height:1.45}
.reene-top .feature-copy .button{width:320px;max-width:100%}
.reene-top .stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;width:100%}
.reene-top .stat{padding:24px;border:1px solid var(--ink);background:white;grid-column:span 2;display:flex;flex-direction:column;gap:16px}
.reene-top .stat:nth-child(-n+2){grid-column:span 3}
.reene-top .stat h3{font-size:20px}
.reene-top .stat .value{font-size:clamp(28px,3.05vw,44px);font-weight:700;line-height:1.2;color:var(--green);white-space:nowrap;letter-spacing:-.03em}
.reene-top .stat .capital{font-size:38px}
.reene-top .stat .pre-value{font-size:16px;font-weight:700;color:var(--green);margin-bottom:-12px}
.reene-top .stat .note{margin-top:auto}
.reene-top .people{background:var(--pale)}
.reene-top .people-row{display:grid;grid-template-columns:440fr 696fr;gap:64px;align-items:center}
.reene-top .people-photo{width:100%;height:auto;max-height:430px;object-fit:contain}
.reene-top .people .button{width:360px}
.reene-top .job-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%}
.reene-top .job-card{border:1px solid var(--line);padding:28px 24px;background:#fff;display:flex;flex-direction:column;gap:16px}
.reene-top .job-type{font-size:13px;color:var(--green);font-weight:700}
.reene-top .job-card h3{font-size:26px}
.reene-top .job-card h4{font-size:17px}
.reene-top .job-card p:not(.job-type){font-size:14px;line-height:1.6}
.reene-top .job-card .button{width:100%;margin-top:auto;min-height:58px}
.reene-top .faq{background:var(--pale)}
.reene-top .faq-list{width:100%;display:grid;gap:24px}
.reene-top .faq details{background:white;padding:24px}
.reene-top .faq summary{list-style:none;display:flex;align-items:center;gap:16px;font-weight:700;font-size:19px;cursor:pointer}
.reene-top .faq summary::-webkit-details-marker{display:none}
.reene-top .q{color:var(--green);font-family:Afacad,Arial,sans-serif;font-size:25px;align-self:flex-start}
.reene-top .faq-sign{position:relative;width:18px;height:18px;flex:none;margin-left:auto}
.reene-top .faq-sign:before,.reene-top .faq-sign:after{content:'';position:absolute;top:8px;left:0;background:var(--green);width:18px;height:2px}
.reene-top .faq-sign:after{transform:rotate(90deg)}
.reene-top details[open] .faq-sign:after{transform:none}
.reene-top .faq details p{font-size:15px;margin-top:14px;padding-left:33px}
.reene-top .final-cta{background:var(--dark);color:white}
.reene-top .final-cta h2{font-size:54px}
.reene-top .final-cta .text-link{color:white;font-weight:400}
.reene-top .floating-cta{display:block;position:fixed;right:24px;bottom:24px;z-index:30;width:320px;box-shadow:0 6px 20px #17382f33;visibility:hidden;opacity:0;transform:translateY(16px);transition:opacity .2s,transform .2s,visibility .2s}
.reene-top .floating-cta.is-visible{visibility:visible;opacity:1;transform:translateY(0)}
.reene-top .floating-cta img{display:block;width:100%;height:auto}
@media(any-hover:hover){.reene-top .floating-cta.is-visible:hover{opacity:.88}}
.reene-top .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.reene-top .hero-art{left:560px;width:760px}
.reene-top .hero h1{font-size:52px}
.reene-top .gateway strong{font-size:24px}
}
@media(max-width:1199px){.reene-top .hero-main{min-height:430px}
.reene-top .hero-art{height:540px}
.reene-top .hero-copy>p{font-size:15px}
.reene-top .hero h1{font-size:clamp(28px,3.6vw,43px)}
.reene-top .hero-gateways{gap:16px}
.reene-top .gateway{padding-inline:16px}
.reene-top .feature-row,.reene-top .people-row{gap:36px}
.reene-top .stat .capital{font-size:30px}
.reene-top .work-card h3{font-size:18px}
.reene-top .work-card{padding:20px}
.reene-top .section h2{font-size:34px}
}
@media(max-width:959px){.reene-top .wrap{width:calc(100% - 48px)}
.reene-top .hero-main{min-height:370px}
.reene-top .hero{padding-top:40px}
.reene-top .hero-art{top:-40px;height:450px;left:45%;width:70%}
.reene-top .hero-copy>p{max-width:350px}
.reene-top .desktop-break{display:none}
.reene-top .gateway strong{font-size:16px;white-space:normal}
.reene-top .gateway strong span{display:block}
.reene-top .gateway small{font-size:12px}
.reene-top .topic-tabs{gap:12px}
.reene-top .topic-tabs .button{padding:15px;font-size:13px}
.reene-top .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.reene-top .work-grid{gap:16px}
.reene-top .work-card h3{font-size:18px}
.reene-top .feature-row{gap:28px}
.reene-top .feature-copy h3{font-size:26px}
.reene-top .stat .capital{font-size:28px}
.reene-top .stat{padding:20px}
.reene-top .stat h3{font-size:17px}
.reene-top .stat .value{font-size:28px}
.reene-top .job-card h3{font-size:22px}
}
@media(max-width:699px){
.reene-top .section{padding-block:56px}
.reene-top .stack{gap:32px}
.reene-top .section h2{font-size:28px;line-height:1.45;letter-spacing:-.045em}
.reene-top .eyebrow{font-size:24px}
.reene-top .button{width:100%;max-width:100%;min-height:66px}
.reene-top .button.wide{width:100%}
.reene-top .hero{padding:24px 0 28px}
.reene-top .hero-main{display:flex;flex-direction:column;gap:10px;min-height:0}
.reene-top .hero-copy{width:100%}
.reene-top .hero h1{font-size:clamp(24px,7.18vw,32px);line-height:1.4;letter-spacing:-.04em;margin-bottom:12px}
.reene-top .hero-copy>p{font-size:15px;line-height:1.75;max-width:none}
.reene-top .hero-more{display:none}
.reene-top .hero-art{position:relative;left:-24px;top:0;width:calc(100% + 48px);height:155px;flex:none}
.reene-top .hero-art img{inset:0;width:100%;height:165px;object-fit:cover;object-position:center;max-width:100%}
.reene-top .hero-art:after{background:linear-gradient(90deg,#f1f6f1 0%,transparent 15%,transparent 88%,#f1f6f1 100%),linear-gradient(180deg,#f1f6f1 0%,transparent 15%,transparent 65%,#f1f6f1 100%)}
.reene-top .hero-gateways{gap:9px;margin-top:20px}
.reene-top .gateway{aspect-ratio:1;min-height:0;padding:10px 6px 8px;gap:7px;text-align:center}
.reene-top .gateway strong{font-size:clamp(10px,3.08vw,16px);line-height:1.45;letter-spacing:-.04em}
.reene-top .gateway strong span{display:block;white-space:nowrap}
.reene-top .gateway:last-child strong{font-size:clamp(9px,2.75vw,15px)}
.reene-top .gateway small{font-size:clamp(9px,2.56vw,13px);line-height:25px;padding:0;text-align:center;white-space:nowrap}
.reene-top .topic-tabs{grid-template-columns:1fr;gap:8px}
.reene-top .topic-tabs .button{font-size:15px;padding:17px 22px}
.reene-top .subheading h3{font-size:24px}
.reene-top .subheading>a{font-size:13px}
.reene-top .article-grid{grid-template-columns:1fr;gap:32px}
.reene-top .article-card h3{font-size:18px}
.reene-top .article-card img{aspect-ratio:16/9}
.reene-top .popular{padding:24px}
.reene-top .popular-grid{grid-template-columns:1fr;gap:28px}
.reene-top .rank{margin:10px 0}
.reene-top .work-grid{grid-template-columns:1fr;gap:24px}
.reene-top .work-card{padding:24px}
.reene-top .work-card h3{font-size:22px}
.reene-top .next-step h2{font-size:28px;line-height:1.5}
.reene-top .next-step .stack{gap:24px}
.reene-top .diagnosis{padding:48px 0}
.reene-top .diagnosis h2{font-size:32px}
.reene-top .diagnosis h3{font-size:20px;margin:24px 0}
.reene-top .diagnosis-options{grid-template-columns:1fr;gap:12px}
.reene-top .diagnosis-note{font-size:11px}
.reene-top .feature-row,.reene-top .people-row{grid-template-columns:1fr;gap:24px}
.reene-top .feature-photo{aspect-ratio:342/224;object-fit:cover}
.reene-top .feature-copy{gap:20px}
.reene-top .feature-copy h3{font-size:30px;line-height:1.45;letter-spacing:-.03em}
.reene-top .feature-copy .button,.reene-top .people .button{width:100%}
.reene-top .stats{grid-template-columns:1fr;gap:24px}
.reene-top .stat,.reene-top .stat:nth-child(-n+2){grid-column:auto;padding:24px;gap:20px}
.reene-top .stat h3{font-size:18px}
.reene-top .stat .value,.reene-top .stat .capital{font-size:30px}
.reene-top .stat .pre-value{font-size:16px}
.reene-top .people-photo{max-height:none}
.reene-top .job-grid{grid-template-columns:1fr}
.reene-top .job-card{padding:28px 24px}
.reene-top .job-card h3{font-size:22px;letter-spacing:-.05em}
.reene-top .job-card .button{padding-inline:18px;font-size:14px}
.reene-top .faq-list{gap:24px}
.reene-top .faq details{padding:24px}
.reene-top .faq summary{font-size:16px;gap:10px;align-items:flex-start}
.reene-top .faq details p{padding-left:0}
.reene-top .faq-sign{margin-top:6px;width:14px}
.reene-top .faq-sign:before,.reene-top .faq-sign:after{width:14px}
.reene-top .final-cta .stack{gap:24px}
.reene-top .final-cta h2{font-size:34px;letter-spacing:-.035em}
}
@media(max-width:359px){.reene-top .wrap{width:calc(100% - 32px)}
.reene-top .hero h1{font-size:23px}
.reene-top .hero-copy>p{font-size:13px}
.reene-top .gateway{padding-inline:3px}
.reene-top .gateway strong{font-size:10px}
.reene-top .gateway small{font-size:9px}
.reene-top .section h2{font-size:25px}
.reene-top .job-card,.reene-top .faq details,.reene-top .popular{padding:20px}
.reene-top .stat .capital{font-size:25px}
}
@media(prefers-reduced-motion:reduce){
.reene-top *,.reene-top *:before,.reene-top *:after{transition:none!important;animation:none!important}
}
.reene-top .diagnosis-start{margin:28px auto 0;}
@media(max-width:699px){
 .reene-top .hero{padding:20px 0 24px;}
.reene-top .hero-main{gap:0;}
.reene-top .hero-art{left:calc((100% - 100vw)/2);width:100vw;height:clamp(150px,calc(100svh - 480px),260px);}
.reene-top .hero-art img{inset:auto;top:0;left:0;width:175%;height:auto;max-width:none;object-fit:initial;}
.reene-top .hero-art:after{background:linear-gradient(90deg,var(--pale) 0%,rgba(241,246,241,.8) 16%,transparent 55%),linear-gradient(180deg,var(--pale) 0%,rgba(241,246,241,0) 12%,transparent 66%,var(--pale) 100%);}
.reene-top .hero-gateways{margin-top:14px;}
.reene-top .floating-cta{right:0;bottom:0;left:0;width:100%;padding-bottom:env(safe-area-inset-bottom);background:#000;box-shadow:0 -2px 15px #17382f14;opacity:1;transform:translateY(105%);}
}
@media(max-width:699px) and (max-height:700px){
 .reene-top .hero-art img{width:145%;left:9%;top:-5px;}
}
.reene-top .latest-articles{background:var(--pale);}
.reene-top .latest-articles .subheading h2{font-size:24px;line-height:1.5;letter-spacing:normal;}
.reene-top .article-card img{height:auto;}
/* Repeating light sweep on action links. */
.reene-top a.button,.reene-top .gateway{position:relative;overflow:hidden;isolation:isolate;}
.reene-top a.button:after,.reene-top .gateway:after{content:"";position:absolute;inset:-30% auto -30% -90%;width:42%;background:linear-gradient(105deg,transparent 5%,rgba(255,255,255,.08) 22%,rgba(255,255,255,.65) 50%,rgba(255,255,255,.08) 78%,transparent 95%);transform:skewX(-18deg);pointer-events:none;z-index:2;animation:cta-reflection 4.8s ease-in-out infinite;}
.reene-top .gateway:nth-child(2):after{animation-delay:.22s;}
.reene-top .gateway:nth-child(3):after{animation-delay:.44s;}
@keyframes cta-reflection{0%,62%{left:-90%;opacity:0;}
66%{opacity:1;}
88%{left:150%;opacity:1;}
89%,100%{left:150%;opacity:0;}
}
@media(max-width:699px){
 .reene-top .hero-main{display:block;min-height:clamp(330px,calc(100svh - 240px),530px);}
.reene-top .hero-copy>p{max-width:48%;font-size:14px;line-height:1.8;}
.reene-top .hero-art{position:absolute;top:126px;left:calc((100% - 100vw)/2);width:100vw;height:calc(100% - 126px);}
.reene-top .hero-art img{inset:auto;top:0;left:-30%;width:280%;height:auto;max-width:none;object-fit:initial;}
.reene-top .hero-art:after{background:linear-gradient(90deg,var(--pale) 0%,var(--pale) 26%,rgba(241,246,241,.92) 36%,rgba(241,246,241,.3) 51%,transparent 63%),linear-gradient(180deg,var(--pale) 0%,transparent 8%,transparent 72%,var(--pale) 100%);}
}
@media(max-width:359px){.reene-top .hero-copy>p{font-size:13px;line-height:1.75;max-width:48%;}
.reene-top .hero-art{top:110px;height:calc(100% - 110px);}
}
.reene-top .hero-diagnosis-banner{display:block;position:relative;overflow:hidden;isolation:isolate;width:360px;max-width:100%;margin-top:24px;transition:opacity .2s;}
.reene-top .hero-diagnosis-banner img{display:block;width:100%;height:auto;}
.reene-top .hero-diagnosis-banner:hover{opacity:.88;}
.reene-top .hero-diagnosis-banner:after{content:"";position:absolute;inset:-30% auto -30% -90%;width:42%;background:linear-gradient(105deg,transparent 5%,rgba(255,255,255,.08) 22%,rgba(255,255,255,.65) 50%,rgba(255,255,255,.08) 78%,transparent 95%);transform:skewX(-18deg);pointer-events:none;animation:cta-reflection 4.8s ease-in-out infinite;}
@media(max-width:699px){.reene-top .hero-diagnosis-banner{width:70%;margin-top:24px;}
}
@media(max-width:359px){.reene-top .hero-diagnosis-banner{margin-top:16px;}
}
.reene-top .hero-diagnosis-banner{position:relative;grid-column:1;align-self:end;z-index:3;margin:0;}
@media(max-width:699px){.reene-top .hero-main{display:flex;flex-direction:column;gap:16px;}
.reene-top .hero-diagnosis-banner{position:relative;left:auto;bottom:auto;flex:none;width:90%;margin: auto auto 14px;}
}
/* 追加：アイキャッチ画像がない記事 */
.reene-top .article-noimage{display:block;width:100%;aspect-ratio:16/9;background:var(--line);margin-bottom:7px}
/* 追加：転職診断の枠 */
.reene-top .reene-diagnosis{scroll-margin-top:100px}

/* =============================================
   転職診断フォーム（Contact Form 7出力）
   本番子テーマ style.css のフォーム部分を .reene-top 配下に移植。
   ショートコード[contact-form-7 id="2679"]が .step/.choice を出力する前提。
============================================= */
.reene-top .p-diagnosis__diagnosis__main {
  text-align: center;
}
.reene-top .p-diagnosis__diagnosis__main .hidden-fields-container {
  display: none;
}
.reene-top .p-diagnosis__diagnosis__main .screen-reader-response {
  display: none;
}

.reene-top .p-diagnosis__diagnosis__main {
  padding-top: 80px;
  padding-bottom: 112px;
  background: #71dbff;
}

.reene-top .p-diagnosis__main__image {
  margin-top: 54px;
  margin-inline: auto;
  max-width: 500px;
}

.reene-top .p-diagnosis__main__form {
  margin-top: 54px;
}

.reene-top .p-diagnosis__diagnosis__main .choice {
  display: block;
  width: 100%;
  margin: 0;
  padding: 13px 20px;
  font-size: max(24px, 19.2px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.0666666667em;
  background-color: #1e73be;
  color: white;
  border: 2px solid #fff;
  border-radius: 30px;
  text-align: center;
  cursor: pointer;
  -webkit-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
}
@media screen and (max-width: 767px) {
  .reene-top .p-diagnosis__diagnosis__main .choice {
    font-size: 24px;
  }
}
@media screen and (max-width: 767px) {
  .reene-top .p-diagnosis__diagnosis__main .choice {
    margin: 8px auto;
  }
}
@media (any-hover: hover) {
  .reene-top .p-diagnosis__diagnosis__main .choice:hover {
    background-color: #fff !important;
  }
}

.reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(1) {
  background-color: #3B9240;
}
@media (any-hover: hover) {
  .reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(1):hover {
    color: #3B9240;
  }
}

.reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(2) {
  background-color: #4e6389;
}
@media (any-hover: hover) {
  .reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(2):hover {
    color: #4e6389;
  }
}

.reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(3) {
  background-color: #8a4e89;
}
@media (any-hover: hover) {
  .reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(3):hover {
    color: #8a4e89;
  }
}

.reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(4) {
  background-color: #c77827;
}
@media (any-hover: hover) {
  .reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(4):hover {
    color: #c77827;
  }
}

.reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(5) {
  background: #2b8c84;
}
@media (any-hover: hover) {
  .reene-top .p-diagnosis__diagnosis__main .step .choice:nth-of-type(5):hover {
    color: #2b8c84;
  }
}

.reene-top .p-diagnosis__diagnosis__main .choice:hover {
  background-color: #155c9b;
}
@media (any-hover: hover) {
  .reene-top .p-diagnosis__diagnosis__main .choice:hover:hover {
    color: #155c9b;
  }
}

.reene-top .p-diagnosis__diagnosis__main .step {
  display: none;
}

.reene-top .p-diagnosis__diagnosis__main__title {
  color: #333;
  font-size: max(24px, 19.2px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.0666666667em;
}
@media screen and (max-width: 767px) {
  .reene-top .p-diagnosis__diagnosis__main__title {
    font-size: 24px;
  }
}

.reene-top .p-diagnosis__diagnosis__main__wrapper {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .reene-top .p-diagnosis__diagnosis__main__wrapper {
    display: block;
  }
}

.reene-top .p-diagnosis__diagnosis__main__wrapper.p-diagnosis__diagnosis__main__wrapper--3col {
  grid-template-columns: repeat(3, 1fr);
}

.reene-top .p-diagnosis__item--full {
  grid-column: 1 / -1;
}

.reene-top .p-diagnosis__diagnosis__main__name {
  margin-top: 32px;
}

.reene-top .p-diagnosis__diagnosis__main .step:not(.hidden) {
  display: block;
}

.reene-top .p-diagnosis__diagnosis__main .step .hidden {
  height: 0;
}

.reene-top .p-diagnosis__diagnosis__main .step .wpcf7-form-control-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 4px;
  margin-top: 8px;
  margin-bottom: 24px;
}
.reene-top .p-diagnosis__diagnosis__main .step .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  color: red;
}

@media screen and (max-width: 767px) {
  .reene-top .p-diagnosis__diagnosis__main input[name=your-name],
  .reene-top .p-diagnosis__diagnosis__main input[name=contact] {
    width: 100%;
  }
  .reene-top .p-diagnosis__diagnosis__main input[name=birth-year] {
    width: 80%;
  }
}

.reene-top .p-diagnosis__diagnosis__main__submit {
  display: block;
  width: 100%;
  max-width: 316px;
  margin-inline: auto;
}
.reene-top .p-diagnosis__diagnosis__main__submit input {
  width: 100%;
  padding: 13px 20px;
  font-size: max(24px, 19.2px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.0666666667em;
  color: white;
  background-color: #3b9240;
  border: 2px solid #fff;
  border-radius: 30px;
  cursor: pointer;
  -webkit-transition: background 0.3s, color 0.3s;
  transition: background 0.3s, color 0.3s;
}
@media screen and (max-width: 767px) {
  .reene-top .p-diagnosis__diagnosis__main__submit input {
    font-size: 24px;
  }
}
@media (any-hover: hover) {
  .reene-top .p-diagnosis__diagnosis__main__submit input:hover {
    background-color: #fff;
    color: #3b9240;
  }
}
@media screen and (max-width: 767px) {
  .reene-top .p-diagnosis__diagnosis__main__submit {
    margin: 8px auto;
  }
}

/* =============================================
   転職診断フォーム Q5（氏名・生年・メール・同意）入力欄
   本番 style.css の「Q5入力欄のスタイル」ブロックを .reene-top 配下に移植。
   ※これが無いと入力欄が画面幅いっぱいに横伸びする。
============================================= */
/* ===============================================
# 診断フォーム - Q5入力欄のスタイル
=============================================== */

/* Q5のフォーム内側を300pxまで制限 */
.reene-top .p-diagnosis__diagnosis__main__form-inner {
  max-width: 300px;
  margin: 32px auto 0;
}

/* ラベル（お名前、生年月日、メールアドレス）のスタイル */
.reene-top .p-diagnosis__diagnosis__main__label {
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 20px;
  color: #333;
}

.reene-top .p-diagnosis__diagnosis__main__label:first-of-type {
  margin-top: 0;
}

/* お名前（姓名）の横並び */
.reene-top .p-diagnosis__diagnosis__main__name-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.reene-top .p-diagnosis__diagnosis__main__name-group input[type="text"] {
  flex: 1;
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: #fff;
}

.reene-top .p-diagnosis__diagnosis__main__name-group input[type="text"]:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.reene-top .p-diagnosis__diagnosis__main__name-group input[type="text"]:hover {
  border-color: #bdbdbd;
}

.reene-top .p-diagnosis__diagnosis__main__name-group input.wpcf7-not-valid {
  border-color: #f44336;
}

.reene-top .p-diagnosis__diagnosis__main__name-group input.wpcf7-not-valid:focus {
  border-color: #f44336;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* お名前グループ用のエラー表示エリア */
.reene-top .p-diagnosis__diagnosis__main__name-error {
  margin-top: 5px;
  margin-bottom: 10px;
}

/* input装飾 */
.reene-top .step6 input[type="text"],
.reene-top .step6 input[type="number"],
.reene-top .step6 input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.75;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: #fff;
}

.reene-top .step6 input[type="text"]:focus,
.reene-top .step6 input[type="number"]:focus,
.reene-top .step6 input[type="email"]:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.reene-top .step6 input[type="text"]:hover,
.reene-top .step6 input[type="number"]:hover,
.reene-top .step6 input[type="email"]:hover {
  border-color: #bdbdbd;
}

/* エラー時のinput */
.reene-top .step6 input.wpcf7-not-valid {
  border-color: #f44336;
}

.reene-top .step6 input.wpcf7-not-valid:focus {
  border-color: #f44336;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* 生年月日フィールドの横並び */
.reene-top .p-diagnosis__diagnosis__main__birthday {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.reene-top .p-diagnosis__diagnosis__main__birthday input[type="number"] {
  width: 70px;
  padding: 12px 10px;
  text-align: center;
}

.reene-top .p-diagnosis__diagnosis__main__birthday input[type="number"]:first-child {
  width: 90px;
}

/* プライバシーポリシー（横並び） */
.reene-top .p-diagnosis__diagnosis__main__privacy {
  margin: 25px 0 5px;
  padding: 0;
  background: none;
  border-radius: 0;
  text-align: left;
}

.reene-top .p-diagnosis__diagnosis__main__privacy .wpcf7-form-control-wrap {
  display: inline;
}

.reene-top .p-diagnosis__diagnosis__main__privacy label {
  display: inline;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
}

.reene-top .p-diagnosis__diagnosis__main__privacy input[type="checkbox"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  cursor: pointer;
  accent-color: #4CAF50;
}

.reene-top .p-diagnosis__diagnosis__main__privacy a {
  display: inline;
  color: #0066cc;
  text-decoration: underline;
}

.reene-top .p-diagnosis__diagnosis__main__privacy a:hover {
  text-decoration: none;
}

/* プライバシーポリシーのエラーメッセージは外に出す */
.reene-top .p-diagnosis__diagnosis__main__privacy-error {
  margin-top: 5px;
  margin-bottom: 15px;
}

/* エラーメッセージ */
.reene-top .wpcf7-not-valid-tip {
  color: #f44336;
  font-size: 13px;
  display: block;
  text-align: left;
}

/* 送信ボタンの調整 */
.reene-top .p-diagnosis__diagnosis__main__submit {
  margin-top: 30px;
  text-align: center;
}

.reene-top .p-diagnosis__diagnosis__main__submit input[type="submit"] {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* CF7のレスポンスメッセージ */
.reene-top .wpcf7-response-output {
  margin: 20px 0;
  padding: 15px;
  border-radius: 8px;
  text-align: left;
}

.reene-top .wpcf7-validation-errors {
  background: #ffebe8;
  border: 1px solid #f44336;
  color: #f44336;
}

.reene-top .wpcf7-mail-sent-ok {
  background: #e7f7e7;
  border: 1px solid #4CAF50;
  color: #4CAF50;
}

.reene-top .wpcf7-mail-sent-ng {
  background: #ffebe8;
  border: 1px solid #f44336;
  color: #f44336;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .reene-top .p-diagnosis__diagnosis__main__form-inner {
    max-width: 100%;
    padding: 0 20px;
  }

  .reene-top .p-diagnosis__diagnosis__main__label {
    font-size: 15px;
  }

  .reene-top .p-diagnosis__diagnosis__main__name-group {
    flex-direction: column;
    gap: 10px;
  }

  .reene-top .p-diagnosis__diagnosis__main__birthday {
    flex-wrap: wrap;
  }

  .reene-top .step6 input[type="text"],
  .reene-top .step6 input[type="number"],
  .reene-top .step6 input[type="email"] {
    font-size: 15px;
    padding: 10px 12px;
  }

  .reene-top .p-diagnosis__diagnosis__main__birthday input[type="number"] {
    padding: 10px 12px;
  }

  .reene-top .p-diagnosis__diagnosis__main__privacy {
    font-size: 13px;
  }
}

/* タブレット対応 */
@media (min-width: 768px) and (max-width: 1024px) {
  .reene-top .p-diagnosis__diagnosis__main__form-inner {
    max-width: 280px;
  }
}

.reene-top .wpcf7-list-item {
  margin-left: 0;
}

.reene-top .p-diagnosis__diagnosis__main__privacy label {
  display: flex;
  flex-wrap: wrap;
}

.reene-top .p-diagnosis__diagnosis__main__privacy .wpcf7-list-item-label {
  flex: 1;
}
/* =============================================
   Emanon親テーマとの整合（上書き）
   トップをfront-page.php化しEmanonCSSを読む構成のため、
   Emanonのbutton要素への指定（角丸など）が新トップのボタンに被る。
   デザイン（元データ）通りの四角いボタンに戻す。
============================================= */
.reene-top .button{border-radius:0}
