
body{margin:0;background:#FFFFFF}
a{color:#0E5C8A}a:hover{color:#0B2545}
.pg{font-family:"Noto Sans JP",system-ui,sans-serif;color:#0B2545;line-height:1.75;-webkit-font-smoothing:antialiased;overflow-x:hidden}
.rd{font-family:"M PLUS Rounded 1c","Noto Sans JP",sans-serif}
.wrap{max-width:1040px;margin:0 auto;padding:0 22px;box-sizing:border-box}
.sec{padding:64px 0}
.h2{font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:26px;line-height:1.4;margin:0 0 14px;color:#0B2545}
.lead{font-size:15px;color:#3E5670;margin:0 0 28px}
.box{background:#FFFFFF;border:1px solid #D3E4EE;border-radius:10px;padding:18px}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.g1{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:12px}
.icn{width:22px;height:22px;flex-shrink:0}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border-radius:8px;font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:16px;text-decoration:none;box-sizing:border-box}
.btn-main{background:#E0573E;color:#FFFFFF}
.btn-main:hover{background:#C94A33;color:#FFFFFF}
.btn-sub{background:#FFFFFF;color:#0B2545}
.btn-sub:hover{color:#0E5C8A}
@media (min-width:768px){
.h2{font-size:36px}
.sec{padding:100px 0}
.g2.d3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g1.d2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g1.d3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g1.d4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hero-h1{font-size:48px !important}
.step{flex-direction:row !important;align-items:center}
.step.rev{flex-direction:row-reverse !important}
.step .ill{flex:0 0 52%}
}
/* ---------- スクロールで現れる ---------- */
@supports (animation-timeline: view()){
.rv{animation:rv linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
}
@keyframes rv{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
/* ---------- イラスト＋動き ---------- */
.ill{position:relative;overflow:hidden;border-radius:10px;border:1px solid #D3E4EE;background:#F6FAFC}
.kb{position:relative;animation:kb 18s ease-in-out infinite alternate;transform-origin:50% 60%}
.kb img{display:block;width:100%;height:auto}
@keyframes kb{from{transform:scale(1) translate(0,0)}to{transform:scale(1.05) translate(-1.2%,-1%)}}
.ov{position:absolute;transform:translate(-50%,-50%)}
.ring{width:18%;aspect-ratio:1;border-radius:50%;border:3px solid #1A7FB5;animation:ring 2.4s ease-out infinite}
@keyframes ring{0%{opacity:.9;transform:translate(-50%,-50%) scale(.55)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.25)}}
.pop{width:26px;height:26px;border-radius:50%;background:#0E5C8A;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px #FFFFFF;opacity:0;animation:pop 6s ease-out infinite both}
.pop svg{width:15px;height:15px}
@keyframes pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}8%{opacity:1;transform:translate(-50%,-50%) scale(1.2)}12%{transform:translate(-50%,-50%) scale(1)}85%{opacity:1;transform:translate(-50%,-50%) scale(1)}95%,100%{opacity:0;transform:translate(-50%,-50%) scale(1)}}
.rip{width:8%;aspect-ratio:1;border-radius:50%;background:rgba(26,127,181,.35);animation:rip 3s ease-out infinite}
@keyframes rip{0%,30%{opacity:0;transform:translate(-50%,-50%) scale(.2)}35%{opacity:1}70%{opacity:0;transform:translate(-50%,-50%) scale(2.6)}100%{opacity:0}}
.toast{white-space:nowrap;background:#0B2545;color:#FFFFFF;font-size:11px;font-weight:700;padding:5px 10px;border-radius:6px;opacity:0;animation:toast 3s ease-out infinite}
@keyframes toast{0%,38%{opacity:0;transform:translate(-50%,-30%)}45%,85%{opacity:1;transform:translate(-50%,-50%)}95%,100%{opacity:0;transform:translate(-50%,-50%)}}
.walker{width:12px;height:12px;border-radius:50%;background:#1A7FB5;box-shadow:0 0 0 4px rgba(26,127,181,.25);animation:walk 4.5s ease-in-out infinite}
@keyframes walk{0%{left:17%;top:70%;opacity:0}8%{opacity:1}30%{left:30%;top:76%}55%{left:48%;top:79%}80%{left:66%;top:81%;opacity:1}95%{left:80%;top:84%;opacity:0}100%{left:80%;top:84%;opacity:0}}
.say{animation:say 2.8s ease-in-out infinite}
@keyframes say{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-58%) scale(1.06)}}
/* ---------- フォーム画面の再現 ---------- */
.phone{width:250px;margin:0 auto;border:9px solid #0B2545;border-radius:34px;background:#FFFFFF;padding:18px 16px 16px;box-sizing:border-box;position:relative;overflow:hidden}
.ff{margin-bottom:9px}
.ff span{display:block;font-size:10px;color:#6A8096;line-height:1.4}
.ff p{margin:0;background:#F1F6F9;border-radius:6px;padding:6px 9px;font-size:12px;font-weight:700;color:#0B2545;min-height:18px;line-height:1.5}
.ff p i{font-style:normal;display:inline-block;opacity:0;animation:fill 10s steps(1,end) infinite both}
.f1 i{animation-delay:0s}.f2 i{animation-delay:.6s}.f3 i{animation-delay:1.2s}.f4 i{animation-delay:1.8s}.f5 i{animation-delay:2.4s}
@keyframes fill{0%,8%{opacity:0}9%,92%{opacity:1}93%,100%{opacity:0}}
.send{margin-top:12px;background:#0E5C8A;color:#FFFFFF;text-align:center;border-radius:8px;padding:9px 0;font-size:13px;font-weight:800;animation:press 10s infinite}
@keyframes press{0%,46%{transform:scale(1);background:#0E5C8A}48%{transform:scale(.95);background:#0B2545}51%,100%{transform:scale(1);background:#0E5C8A}}
.sent{position:absolute;left:12px;right:12px;bottom:14px;background:#0B2545;color:#FFFFFF;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.5;opacity:0;animation:sent 10s ease-out infinite}
@keyframes sent{0%,50%{opacity:0;transform:translateY(20px)}54%,92%{opacity:1;transform:none}96%,100%{opacity:0}}
/* ---------- HERO ---------- */
.hero{position:relative;height:780px;overflow:hidden;background:linear-gradient(180deg,#7CCDF3 0%,#BFE6FA 46%,#E8F7FF 60%)}
.sun{position:absolute;top:118px;right:-30px;width:150px;height:150px;border-radius:50%;background:#FFD45C;box-shadow:0 0 0 18px rgba(255,212,92,.25),0 0 0 40px rgba(255,212,92,.12)}
.cloud{position:absolute;background:#FFFFFF;border-radius:999px;opacity:.9}
.cloud::before,.cloud::after{content:"";position:absolute;background:#FFFFFF;border-radius:50%}
.cloud::before{width:46%;height:150%;left:16%;bottom:20%}
.cloud::after{width:34%;height:120%;left:50%;bottom:28%}
.c1{width:120px;height:34px;top:286px;left:-130px;animation:drift 38s linear infinite}
.c2{width:90px;height:26px;top:350px;left:-100px;animation:drift 52s linear infinite;animation-delay:-20s}
@keyframes drift{from{transform:translateX(0)}to{transform:translateX(780px)}}
.sea{position:absolute;left:0;right:0;bottom:0;height:300px}
.wave{position:absolute;left:0;width:200%;height:120px;animation:waves 9s linear infinite}
.wave svg{width:100%;height:100%;display:block}
.w1{bottom:170px;animation-duration:12s}
.w2{bottom:120px;animation-duration:8s;animation-direction:reverse}
.w3{bottom:0;height:150px;animation-duration:10s}
@keyframes waves{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.port{position:absolute;right:-10px;bottom:150px;width:150px;height:170px}
.ship{position:absolute;bottom:168px;left:-45%;width:170px;height:110px;animation:sail 14s cubic-bezier(.3,.1,.25,1) infinite both}
.ship-in{width:170px;height:110px;animation:bob 2.6s ease-in-out infinite;transform-origin:50% 90%}
@keyframes sail{0%{left:-48%;opacity:0}3%{opacity:1}42%{left:calc(100% - 300px)}96%{left:calc(100% - 300px);opacity:1}100%{left:calc(100% - 300px);opacity:0}}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}
.bub{position:absolute;bottom:118px;left:40px;white-space:nowrap;background:#FFFFFF;border:2.5px solid #0B2545;border-radius:14px;padding:8px 14px 8px 9px;display:flex;align-items:center;gap:8px;box-shadow:3px 3px 0 #0B2545;opacity:0;animation:bub 14s ease-out infinite both;transform-origin:20% 100%;font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:15px;color:#0B2545}
.bub::after{content:"";position:absolute;left:22px;bottom:-9px;border:10px solid transparent;border-top-color:#FFFFFF;border-bottom:0}
.bub .dot{width:28px;height:28px;border-radius:50%;background:#FDE8E3;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bub .dot svg{width:17px;height:17px}
@keyframes bub{0%{opacity:0;transform:translateY(10px) scale(.4)}1.5%{opacity:1;transform:translateY(0) scale(1.08)}2.5%{transform:scale(1)}6.3%{opacity:1;transform:translateY(0) scale(1)}7.4%{opacity:0;transform:translateY(-16px) scale(.9)}100%{opacity:0}}
.b1{animation-delay:1.3s;left:70px}.b2{animation-delay:2.4s;left:40px}.b3{animation-delay:3.4s;left:50px}.b4{animation-delay:4.4s;left:20px}.b5{animation-delay:5.2s;left:30px}
.happy{position:absolute;bottom:118px;left:-10px;white-space:nowrap;background:#FFD45C;border:2.5px solid #0B2545;box-shadow:3px 3px 0 #0B2545;border-radius:14px;padding:9px 14px;display:flex;align-items:center;gap:8px;opacity:0;animation:happy 14s ease-out infinite both;font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:15px;color:#0B2545}
.happy::after{content:"";position:absolute;left:60px;bottom:-9px;border:10px solid transparent;border-top-color:#FFD45C;border-bottom:0}
@keyframes happy{0%,52%{opacity:0;transform:scale(.3)}55%{opacity:1;transform:scale(1.1)}57%{transform:scale(1)}95%{opacity:1}100%{opacity:0}}
.done{position:absolute;left:22px;right:22px;top:294px;display:flex;flex-direction:column;gap:6px;max-width:320px}
.dcard{display:flex;align-items:center;gap:10px;background:#FFFFFF;border:2.5px solid #0B2545;border-radius:12px;padding:7px 12px;box-shadow:4px 4px 0 #0B2545;opacity:0;animation:card 14s ease-out infinite both;font-size:14px;font-weight:700}
.dcard .ck{margin-left:auto;width:24px;height:24px;border-radius:50%;background:#E0573E;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.dcard .ck svg{width:14px;height:14px}
.d2{animation-delay:.45s}.d3{animation-delay:.9s}
@keyframes card{0%,44%{opacity:0;transform:translateX(-24px)}47%{opacity:1;transform:translateX(4px)}49%{transform:translateX(0)}95%{opacity:1}100%{opacity:0}}
.phase{display:grid}
.phase>p{grid-area:1/1;margin:0}
.pa{animation:pa 14s infinite both}
.pb{animation:pb 14s infinite both}
@keyframes pa{0%{opacity:0}3%,40%{opacity:1}43%,100%{opacity:0}}
@keyframes pb{0%,43%{opacity:0}46%,95%{opacity:1}100%{opacity:0}}
.conf{position:absolute;width:9px;height:14px;border-radius:3px;top:250px;opacity:0;animation:conf 14s ease-in infinite both}
@keyframes conf{0%,46%{opacity:0;transform:translateY(-30px) rotate(0)}48%{opacity:1}70%{opacity:0;transform:translateY(240px) rotate(540deg)}100%{opacity:0}}
.flash{position:absolute;right:40px;bottom:200px;width:120px;height:120px;border-radius:50%;border:4px solid #FFFFFF;opacity:0;animation:flash 14s ease-out infinite both}
@keyframes flash{0%,41%{opacity:0;transform:scale(.2)}43%{opacity:.9}50%{opacity:0;transform:scale(2.2)}100%{opacity:0}}
.cue{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;color:#FFFFFF;font-size:11px;font-weight:700;letter-spacing:.1em;text-decoration:none;z-index:4}
.cue svg{width:22px;height:22px;animation:cue 1.6s ease-in-out infinite}
@keyframes cue{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}
.pulse{animation:pulse 14s infinite both}
@keyframes pulse{0%,42%{transform:scale(1)}45%{transform:scale(1.18)}48%,100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){
.pg *{animation:none !important}
.ship{left:calc(100% - 300px);opacity:1}
.bub,.pa,.conf,.flash,.rip,.toast,.walker{opacity:0}
.happy,.dcard,.pb,.pop,.sent,.ff p i{opacity:1}
}

summary{cursor:pointer;list-style:none;padding:16px 28px 16px 0;position:relative;font-weight:700;font-size:15px}
summary::-webkit-details-marker{display:none}
summary::after{content:"";position:absolute;right:6px;top:22px;width:9px;height:9px;border-right:2px solid #0E5C8A;border-bottom:2px solid #0E5C8A;transform:rotate(45deg);transition:transform .2s}
details[open] summary::after{transform:rotate(-135deg);top:26px}

/* ===== ポップな部品 ===== */
.pbox{background:#FFFFFF;border:2.5px solid #0B2545;border-radius:14px;box-shadow:5px 5px 0 #0B2545;padding:18px;box-sizing:border-box}
.c-sky{background:#CDEBFA}.c-sun{background:#FFD45C}.c-peach{background:#FFE1D8}.c-white{background:#FFFFFF}
.tl{transform:rotate(-1.4deg)}.tr{transform:rotate(1.4deg)}
.squig{display:block;width:120px;height:14px;margin:-4px 0 18px}
.badge{width:44px;height:44px;border-radius:50%;border:2.5px solid #0B2545;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:20px;box-sizing:border-box}
.badge svg{width:22px;height:22px}
.divider{display:block;width:100%;height:46px;margin-bottom:-1px}
.divider svg{display:block;width:100%;height:100%}
.frame{position:relative;border:2.5px solid #0B2545;border-radius:14px;box-shadow:6px 6px 0 #0B2545;overflow:hidden;background:#FFFFFF}
.stepno{position:absolute;top:-16px;left:-10px;z-index:2;width:52px;height:52px;border-radius:50%;background:#E0573E;color:#FFFFFF;border:2.5px solid #0B2545;display:flex;align-items:center;justify-content:center;font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:22px;box-shadow:3px 3px 0 #0B2545}
.when{display:inline-block;background:#0B2545;color:#FFFFFF;font-weight:700;font-size:12px;padding:3px 10px;border-radius:4px;margin-bottom:6px}
.fq{border:2.5px solid #0B2545;border-radius:12px;background:#FFFFFF;box-shadow:4px 4px 0 #0B2545;margin-bottom:14px;padding:0 16px}
.fq summary{padding:16px 30px 16px 0;color:#0B2545;font-size:15px}
.fq p{color:#24425F !important}
.btn-pop{border:2.5px solid #0B2545;box-shadow:4px 4px 0 #0B2545}
.btn-pop:active{transform:translate(3px,3px);box-shadow:1px 1px 0 #0B2545}
@media (min-width:768px){.done{left:auto;right:6%;top:150px;width:330px}.frame.lim{max-width:760px}}

/* 医療通訳の紹介 */
.iprow{list-style:none;margin:0 -22px;padding:6px 22px 18px;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scroll-padding-left:22px}
.ip{flex:0 0 210px;scroll-snap-align:start;background:#FFFFFF;border:2.5px solid #0B2545;border-radius:16px;box-shadow:5px 5px 0 #0B2545;padding:20px 16px 18px;box-sizing:border-box;text-align:center}
.ava{width:120px;height:120px;margin:0 auto;border-radius:50%;border:2.5px solid #0B2545;overflow:hidden;box-sizing:content-box}
.ava svg{display:block;width:120px;height:120px}
.ip:nth-child(odd) .ava{animation:nod 3.2s ease-in-out infinite}
.ip:nth-child(even) .ava{animation:nod 3.2s ease-in-out infinite;animation-delay:-1.6s}
@keyframes nod{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
.ipmsg{position:relative;margin:0;background:#EEF7FC;border:2px solid #0B2545;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.6;color:#0B2545;text-align:left}
.ipmsg::before{content:"";position:absolute;top:-9px;left:50%;margin-left:-8px;border:8px solid transparent;border-bottom-color:#0B2545;border-top:0}
.ipmsg::after{content:"";position:absolute;top:-6px;left:50%;margin-left:-6px;border:6px solid transparent;border-bottom-color:#EEF7FC;border-top:0}
.swipe{display:flex;align-items:center;gap:6px;margin:-10px 0 12px;font-size:13px;font-weight:700;color:#0B2545}
.swipe svg{width:18px;height:18px;animation:swipe 1.4s ease-in-out infinite}
@keyframes swipe{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}
@media (min-width:768px){.swipe{display:none}.iprow{margin:0;padding:6px 0 18px}}

/* ===== サイト共通 ===== */
html{scroll-behavior:smooth}
.site-hd{position:absolute;top:0;left:0;right:0;z-index:20}
.hd-in{display:flex;align-items:center;justify-content:space-between;height:64px;gap:12px}
.logo{display:flex;align-items:center;gap:8px;text-decoration:none;color:#0B2545;font-weight:800;font-size:18px}
.hd-cta{min-height:44px !important;padding:0 16px !important;font-size:13px !important;box-shadow:3px 3px 0 #0B2545 !important}
.gnav{display:none}
@media (min-width:768px){
.wrap{max-width:1120px;padding:0 40px}
.hd-in{height:84px}
.gnav{display:flex;gap:26px;margin-left:auto;margin-right:22px}
.gnav a{color:#0B2545;text-decoration:none;font-weight:700;font-size:14px;padding:6px 0;border-bottom:3px solid transparent}
.gnav a:hover{border-bottom-color:#E0573E;color:#0B2545}
.hd-cta{min-height:48px !important;padding:0 22px !important;font-size:15px !important}
.hero{height:760px}
.hero .wrap{padding-top:150px !important}
.sun{right:auto;left:56%;top:70px;width:170px;height:170px}
.done{right:7%;top:200px;width:360px}
.dcard{font-size:16px;padding:10px 14px}
.lead{font-size:17px;max-width:760px}
#problem .frame.lim{max-width:820px}
#problem .g2.d3{grid-template-columns:repeat(3,minmax(0,1fr))}
#problem .rv .pbox.c-sun{max-width:620px}
#solution .phone{width:280px}
.step .ill{flex:0 0 54% !important}
.step{gap:44px !important}
.step p.rd{font-size:26px !important}
.step p{font-size:16px !important}
#money .g1.d2{max-width:860px;margin:0 auto}
#price .pbox{font-size:15px}
.iprow{flex-wrap:wrap;overflow:visible;gap:22px;scroll-snap-type:none}
.ip{flex:0 0 calc((100% - 66px)/4)}
#faq .rv{max-width:860px}
#contact .rv[style*="flex-direction: column"]{flex-direction:row !important;justify-content:center}
.ft-in{flex-direction:row !important;flex-wrap:wrap;column-gap:24px;align-items:baseline}
}
@media (min-width:1200px){.hero-h1{font-size:56px !important}.h2{font-size:42px}}

/* ===== お問い合わせページ ===== */
.sub-hero{background:#CDEBFA;padding:104px 0 0;position:relative}
.sub-hero h1{font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:30px;line-height:1.35;margin:0 0 6px;color:#0B2545}
.sub-hero p{margin:0 0 26px;font-size:15px;color:#24425F}
.form-wrap{background:#FFFFFF;padding:30px 0 80px}
.fcard{max-width:760px;margin:0 auto;background:#FFFFFF;border:2.5px solid #0B2545;border-radius:16px;box-shadow:6px 6px 0 #0B2545;padding:24px 20px;box-sizing:border-box}
.fld{margin-bottom:20px}
.fld>label,.fld>legend{display:block;font-weight:700;font-size:15px;color:#0B2545;margin-bottom:8px;padding:0}
.req,.opt{display:inline-block;font-size:11px;font-weight:700;padding:1px 7px;border-radius:4px;margin-left:8px;vertical-align:2px}
.req{background:#E0573E;color:#FFFFFF}.opt{background:#E3EDF3;color:#24425F}
.fld input[type=text],.fld input[type=email],.fld input[type=tel],.fld textarea{width:100%;box-sizing:border-box;border:2px solid #0B2545;border-radius:10px;padding:12px 14px;font-size:16px;font-family:inherit;color:#0B2545;background:#FFFFFF}
.fld input:focus,.fld textarea:focus{outline:none;box-shadow:0 0 0 4px #FFD45C}
.fld textarea{min-height:150px;resize:vertical}
fieldset.fld{border:0;margin:0 0 20px;padding:0}
.choices{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:10px}
.choice{display:flex;align-items:center;gap:10px;border:2px solid #0B2545;border-radius:10px;padding:12px 14px;cursor:pointer;font-weight:700;font-size:15px;background:#FFFFFF}
.choice input{width:20px;height:20px;accent-color:#E0573E;margin:0}
.choice:has(input:checked){background:#FFF3C4;box-shadow:3px 3px 0 #0B2545}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:#0B2545;margin:6px 0 22px}
.consent input{width:20px;height:20px;accent-color:#E0573E;margin:2px 0 0;flex-shrink:0}
.note{font-size:13px;color:#24425F;background:#EEF7FC;border-radius:10px;padding:14px 16px;margin:0 0 22px;line-height:1.7}
.submit{width:100%;min-height:58px;border:2.5px solid #0B2545;border-radius:10px;background:#E0573E;color:#FFFFFF;font-family:"M PLUS Rounded 1c",sans-serif;font-weight:800;font-size:18px;box-shadow:4px 4px 0 #0B2545;cursor:pointer}
.submit:hover{background:#C94A33}
.submit:active{transform:translate(3px,3px);box-shadow:1px 1px 0 #0B2545}
.hp{position:absolute;left:-9999px}
@media (min-width:768px){
.sub-hero{padding-top:140px}
.sub-hero h1{font-size:42px}
.fcard{padding:40px 48px}
.choices{grid-template-columns:repeat(3,minmax(0,1fr))}
.row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}

/* ===== PC最適化（レビュー反映） ===== */
@media (min-width:768px){
h1,h2,.lead,.pg p{word-break:auto-phrase;text-wrap:pretty}
/* ヒーロー */
.done{right:calc(max(40px,(100% - 1120px)/2 + 40px));top:176px;width:360px}
.sun{left:auto;right:calc(max(40px,(100% - 1120px)/2 + 40px) + 250px);top:56px;width:190px;height:190px}
.port{transform:scale(1.5);transform-origin:right bottom}
.ship{transform:scale(1.35);transform-origin:left bottom;animation-name:sailD}
@keyframes sailD{0%{left:-30%;opacity:0}3%{opacity:1}42%{left:calc(100% - 480px)}96%{left:calc(100% - 480px);opacity:1}100%{left:calc(100% - 480px);opacity:0}}
/* 課題：テキストとイラストを左右に */
#problem .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);column-gap:56px;align-items:start}
#problem .wrap>*{grid-column:1}
#problem .wrap>h2{grid-row:1}
#problem .wrap>.squig{grid-row:2}
#problem .wrap>.lead{grid-row:3;max-width:none}
#problem .wrap>.rv:last-child{grid-row:4;align-self:start}
#problem .wrap>.frame{grid-column:2;grid-row:1 / span 4;align-self:center;margin:0 !important;max-width:none}
#problem .wrap>p.rd{grid-column:1 / -1;grid-row:5;margin-top:44px !important}
#problem .wrap>.g2{grid-column:1 / -1;grid-row:6;margin-bottom:0 !important}
#problem .rv .pbox.c-sun{max-width:none}
/* 解決：フォーム画面の背景円を大きく */
#solution .rv>div[aria-hidden]{width:400px !important;height:400px !important;margin:-200px 0 0 -200px !important}
/* お支払い */
#money p.rd[style*="130px"]{font-size:180px !important}
#money p.rv[style*="max-width: 520px"]{max-width:700px !important;font-size:17px !important}
/* よくあるご質問：左右2列 */
#faq .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);column-gap:56px;align-items:start}
#faq .wrap>h2{grid-column:1;grid-row:1}
#faq .wrap>.squig{grid-column:1;grid-row:2}
#faq .wrap>.rv:not(h2){grid-column:2;grid-row:1 / span 3;max-width:none}
/* 最後の呼びかけ */
#contact p.rd{font-size:46px !important}
#contact .btn{max-width:320px !important}
}

@media (min-width:768px){#problem{padding-top:8px !important}.cue{bottom:30px}}
@media (min-width:768px) and (max-width:1023px){
.gnav{display:none}
#problem .wrap{grid-template-columns:minmax(0,1fr)}
#problem .wrap>*{grid-column:1 !important;grid-row:auto !important}
#problem .wrap>.frame{margin:10px 0 0 !important}
.done{width:300px;top:300px}
.sun{right:40px}
.hero-h1{font-size:40px !important}
.ip{flex:0 0 calc((100% - 44px)/3)}
#faq .wrap{grid-template-columns:minmax(0,1fr)}
#faq .wrap>.rv:not(h2){grid-column:1;grid-row:auto}
.step .ill{flex:0 0 48% !important}
}

@media (min-width:768px) and (max-width:1023px){
.hero{height:820px}
.ship{transform:none;animation-name:sail}
.port{transform:none}
.done{left:40px;right:auto;top:372px;width:300px}
.sun{right:-30px;top:118px;width:150px;height:150px}
}

/* 修正：事例の箱が作業一覧に重ならないように／ヒーロー下の白い線 */
#problem .wrap>.stat{grid-row:4;align-self:start}
.stat{margin-top:6px}
.w3{bottom:-2px}
.hero{margin-bottom:-1px}
@media (min-width:768px) and (max-width:1023px){
#problem .wrap>.g2{margin-bottom:34px !important}
#problem .wrap>.stat{grid-row:auto}
}

.back-btn{display:inline-flex;align-items:center;gap:6px;background:#FFFFFF;color:#0B2545;border:2.5px solid #0B2545;border-radius:999px;box-shadow:3px 3px 0 #0B2545;padding:8px 18px 8px 14px;font-weight:800;font-size:14px;text-decoration:none;margin:0 0 18px;font-family:"M PLUS Rounded 1c","Noto Sans JP",sans-serif}
.back-btn:hover{background:#FFD45C;color:#0B2545}
.back-btn:active{transform:translate(2px,2px);box-shadow:1px 1px 0 #0B2545}
