/* ULPRO LP — style.css */
:root{
  --blue:#004098;
  --ink:#13223F;
  --sub:#34425C;
  --meta:#56627A;
  --line:#C3CDDA;
  --tint:#EAF0F8;
  --yellow:#FFE500;
  --band:#13223F;
  --foot:#0C1D38;
  --red:#E8544E; --green:#2FA36B; --sky:#4FB3E8; --yel2:#FFD600;
  --pad:clamp(24px, 9.7vw, 140px);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:84px}
body{margin:0;background:#fff;color:var(--ink);font-family:'Noto Sans JP','Hiragino Sans','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;font-size:16px;line-height:1.8;font-feature-settings:"palt" 0}
img,svg{display:block;max-width:100%}
a{color:var(--blue)}
a:hover{color:#002C69}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:4px}
h1,h2,h3,p,ul,ol,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
.wrap{width:100%;max-width:1440px;margin:0 auto;padding-inline:var(--pad)}
.skip{position:absolute;left:-9999px;top:8px;background:#fff;padding:8px 12px;z-index:100}
.skip:focus{left:8px}
.pc-only{display:none}
@media (min-width:1000px){.pc-only{display:inline}}

/* labels & headings */
.label{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;letter-spacing:.14em;color:var(--blue)}
.label::before{content:"";width:10px;height:10px;background:var(--yellow);border-radius:2px}
.label-on-blue{color:var(--yellow)}
h2{font-size:clamp(28px,2.8vw,40px);font-weight:700;line-height:1.4;margin-top:8px}
.u{position:relative;display:inline-block;z-index:0}
.uline{position:absolute;left:-.08em;right:-.08em;bottom:.02em;width:calc(100% + .16em);height:.42em;z-index:-1;overflow:visible}
.uline path{fill:none;stroke:var(--yellow);stroke-width:11;stroke-linecap:round;stroke-dasharray:130;stroke-dashoffset:0}

/* button */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:0 38px;background:var(--blue);color:#fff;border:0;border-radius:999px;font:700 17px/1 inherit;text-decoration:none;cursor:pointer;transition:background .2s}
.btn::after{content:"";width:18px;height:2px;background:currentColor;box-shadow:none;transition:transform .25s}
.btn:hover{background:#00337A;color:#fff}
.btn:hover::after{transform:translateX(4px)}

/* header */
.site-header{background:#fff;position:sticky;top:0;z-index:20;transition:box-shadow .3s}
.site-header.is-stuck{box-shadow:0 1px 0 var(--line)}
.header-logo-h{display:block;opacity:0;visibility:hidden;transition:opacity .4s,visibility .4s}
.header-logo-h img{display:block;height:30px;width:auto}
.site-header.is-stuck .header-logo-h,.site-header--sub .header-logo-h{opacity:1;visibility:visible}
.header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;padding-inline:clamp(16px,5.5vw,80px);max-width:1440px;margin:0 auto}
.gnav ul{display:flex;gap:44px}
.gnav a{color:var(--ink);font-weight:500;text-decoration:none;font-size:16px}
.gnav a.is-contact{color:var(--blue);font-weight:700}
.gnav a:hover{color:var(--blue)}
.menu-btn{display:none}
@media (max-width:899px){
  .header-inner{height:64px}
  html{scroll-padding-top:64px}
  .header-logo-h img{height:24px}
  .menu-btn{display:flex;flex-direction:column;justify-content:center;gap:5px;width:48px;height:48px;padding:12px;background:transparent;border:0;cursor:pointer}
  .menu-btn span{display:block;height:2.4px;background:var(--ink);border-radius:2px;transition:transform .25s,opacity .25s}
  .menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(7.4px) rotate(45deg)}
  .menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
  .menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-7.4px) rotate(-45deg)}
  .gnav{position:absolute;top:64px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);display:none}
  .gnav.is-open{display:block}
  .gnav ul{flex-direction:column;gap:0;padding:8px 24px 16px}
  .gnav a{display:flex;align-items:center;min-height:52px;font-size:17px;border-top:1px solid var(--line)}
  .gnav li:first-child a{border-top:0}
}

/* hero */
.hero{position:relative;overflow:hidden;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:60px;min-height:calc(100vh - 84px);min-height:calc(100svh - 84px);padding:clamp(16px,4vh,40px) var(--pad) clamp(24px,6vh,60px);max-width:1440px;margin:0 auto}
.hero-fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.hero-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:clamp(14px,3.4vh,30px);max-width:760px}
.hero h1{font-size:clamp(34px,min(5vw,8.4vh),72px);font-weight:700;line-height:1.4;letter-spacing:.02em}
.hero-lead{display:flex;flex-direction:column;gap:clamp(6px,1.6vh,14px)}
.lead-first{font-size:clamp(18px,min(1.8vw,3.2vh),26px);font-weight:700;line-height:1.6;color:var(--blue)}
.hero-lead p:not(.lead-first){font-size:clamp(15px,min(1.35vw,2.4vh),19px);font-weight:500;line-height:1.85}
.hero-copy{grid-column:1;grid-row:1}
.hero-mark{grid-column:2;grid-row:1;position:relative;z-index:0;width:min(420px,62vh,32vw);aspect-ratio:835/783;perspective:900px}
.hero-spin{position:relative;width:100%;height:100%;transform-style:preserve-3d}
.hero-spin svg{position:absolute;inset:0;width:100%;height:100%}
@media (max-width:899px){
  .hero{display:flex;flex-direction:column;align-items:stretch;gap:28px;min-height:0;padding:20px 24px 64px}
  .hero-mark{order:-1;align-self:center;width:200px}
  .hero-copy{gap:28px}
  .hero .btn{align-self:stretch}
}

/* intro states (only when JS runs) */
.js .reveal{opacity:0;transform:translateY(8px);transition:opacity .9s ease-out,transform .9s ease-out}
.js .reveal.is-on{opacity:1;transform:none}
.js .hero h1 .uline path{stroke-dashoffset:130;transition:stroke-dashoffset 1s ease-out .9s}
.js .hero h1.is-on .uline path{stroke-dashoffset:0}
.js .hero-mark{opacity:0}

/* stray squares */
.bit{position:absolute;border-radius:2px;z-index:2}
.bit-red{background:var(--red);width:18px;height:18px;left:max(24px,6.7vw);top:-9px}
.bit-yellow{background:var(--yel2);width:22px;height:22px;right:12.5vw;top:-11px}
.bit-sky{background:var(--sky);width:16px;height:16px;left:52%;top:-8px}
.bit-green{background:var(--green);width:20px;height:20px;right:8.3vw;top:-10px}

/* issues */
.issues{position:relative;background:#fff;border-top:1px solid var(--line);padding:110px 0 100px}
.issues h2{margin-bottom:40px}
.issue{display:grid;grid-template-columns:230px minmax(0,1fr) 140px;gap:44px;align-items:center;padding:52px 0;border-top:2px solid var(--ink)}
.issue:last-child{border-bottom:2px solid var(--ink)}
.issue-num{display:flex;align-items:baseline;font-size:104px;font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--blue)}
.issue-num .minus{color:var(--yellow)}
.issue-body{display:flex;flex-direction:column;gap:12px}
.issue h3{font-size:clamp(22px,2.1vw,30px);font-weight:700;line-height:1.5}
.issue-do{font-size:clamp(17px,1.35vw,19px);font-weight:500;line-height:1.8}
.issue-list{margin-top:6px;padding-left:22px;list-style:disc;font-size:clamp(16px,1.2vw,17px);line-height:1.95;color:var(--sub)}
.issue-icon{width:140px;height:140px}
.issue h3 .nb{display:inline-block}
.issue-icon .bl{fill:#FFEFA0}
.issue-icon .ln{fill:none;stroke:var(--blue);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:899px){
  .issues{padding:60px 0 56px}
  .issues h2{margin-bottom:24px}
  .issue{grid-template-columns:1fr auto;grid-template-areas:"num icon" "body body";gap:14px;padding:32px 0}
  .issue-num{grid-area:num;font-size:60px}
  .issue-icon{grid-area:icon;width:80px;height:80px}
  .issue-body{grid-area:body}
}

/* process */
.process{position:relative;background:var(--band);color:#fff;padding:110px 0}
.process .label{color:var(--yellow)}
.process h2{color:#fff;margin-bottom:48px}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px}
.step{display:flex;flex-direction:column;gap:12px;border-top:3px solid #fff;padding-top:24px}
.step.is-last{border-top-color:var(--yellow)}
.step-num{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--ink);font-size:18px;font-weight:700}
.step.is-last .step-num{background:var(--yellow)}
.step strong{font-size:23px}
.step-text{font-size:17px;line-height:1.8;color:#D3DCEA}
@media (max-width:899px){
  .process{padding:60px 0}
  .process h2{margin-bottom:28px}
  .steps{grid-template-columns:1fr;gap:0}
  .step{flex-direction:row;flex-wrap:wrap;column-gap:16px;row-gap:4px;border-top:1px solid #3A4B6B;padding:20px 0}
  .step.is-last{border-top-color:#3A4B6B;border-bottom:1px solid #3A4B6B}
  .step-num{width:38px;height:38px;font-size:16px;flex-shrink:0}
  .step strong{font-size:19px;align-self:center;flex:1}
  .step-text{flex-basis:100%;padding-left:54px;font-size:16px}
}

/* company */
.company{position:relative;background:var(--tint);padding:110px 0}
.company h2{margin-bottom:44px}
.company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:80px;align-items:stretch}
.company-dl{display:grid;grid-template-rows:repeat(5,minmax(0,1fr))}
.company-dl div{display:flex;flex-direction:column;justify-content:center;gap:4px}
.partners-box{background:#fff;border-radius:16px;padding:30px 34px 12px}
.company-dl div{padding:18px 0;border-top:1px solid var(--line)}
.company-dl div:last-child{border-bottom:1px solid var(--line)}
.company-dl dt{font-weight:700;font-size:17px}
.company-dl dd{color:var(--sub);font-size:17px}
.partners-title{font-size:24px;font-weight:700;margin-bottom:8px}
.partner{display:flex;flex-direction:column;gap:6px;padding:22px 0;border-top:1px solid var(--line)}

.partner-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.partner-head strong{font-size:21px}
.tag{font-size:12px;font-weight:700;color:var(--blue);background:var(--tint);padding:4px 12px;border-radius:999px;line-height:1.6}
.partner-co{font-size:13px;color:var(--meta)}
.partner p{font-size:16px;line-height:1.9;color:var(--sub);margin-top:4px}
@media (max-width:899px){
  .company{padding:60px 0}
  .company h2{margin-bottom:28px}
  .company-grid{grid-template-columns:1fr;gap:48px}
  .company-dl{grid-template-rows:none}
  .partners-box{padding:24px 20px 8px}
  .company-dl dt,.company-dl dd{font-size:16px}
  .partners-title{font-size:21px}
  .partner-head strong{font-size:19px}
  .partner p{font-size:15px}
}

/* contact */
.contact{position:relative;background:var(--blue);color:#fff;padding:110px 0}
.contact-grid{display:grid;grid-template-columns:440px minmax(0,1fr);gap:80px}
.contact-intro{display:flex;flex-direction:column;gap:20px}
.contact h2{color:#fff;font-size:clamp(30px,3vw,44px);line-height:1.5;margin-top:0}
.contact h2 .uline path{stroke-width:9}
.contact-intro p:last-child{font-size:clamp(16px,1.25vw,18px);line-height:2}
.form{background:#fff;color:var(--ink);border-radius:20px;padding:44px;display:flex;flex-direction:column;gap:22px}
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.field{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:700}
.field-label{display:block}
.req{display:inline-block;margin-left:8px;font-size:11px;font-weight:700;color:#fff;background:var(--blue);padding:1px 7px;border-radius:3px;vertical-align:2px}
.field input,.field textarea{font:400 17px/1.6 inherit;color:var(--ink);border:1px solid #9AA6B6;border-radius:10px;padding:12px 16px;background:#fff;width:100%}
.field input{height:54px}
.field textarea{resize:vertical;min-height:160px}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,64,152,.18)}
.field.is-error input,.field.is-error textarea{border-color:#C8322B}
.topics{border:0;margin:0;padding:0}
.topics legend{font-size:15px;font-weight:700;padding:0 0 12px}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{display:flex;align-items:center;gap:8px;min-height:46px;padding:0 18px;border:1px solid #9AA6B6;border-radius:999px;font-size:15px;cursor:pointer}
.chip:has(input:checked){border-color:var(--blue);background:#EEF3FA;color:var(--blue);font-weight:700}
.chip input{accent-color:var(--blue);width:18px;height:18px}
.agree{display:flex;align-items:center;gap:10px;min-height:46px;font-size:15px;color:var(--sub)}
.agree input{accent-color:var(--blue);width:20px;height:20px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-msg{font-size:15px;font-weight:700;min-height:0}
.form-msg.is-error{color:#C8322B}
.form-msg.is-ok{color:var(--blue)}
.btn-submit{align-self:center;padding:0 64px}
.btn-submit[disabled]{opacity:.6;cursor:wait}
@media (max-width:999px){
  .contact{padding:60px 0}
  .contact-grid{grid-template-columns:1fr;gap:24px}
  .form{padding:26px 20px;border-radius:16px;gap:20px}
  .form-row{grid-template-columns:1fr;gap:20px}
  .field input,.field textarea{font-size:16px}
  .btn-submit{align-self:stretch}
}

/* footer */
.site-footer{background:var(--foot);color:#fff;padding:64px 0 44px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:28px}
.footer-brand{display:flex;align-items:center;gap:20px}
.footer-brand div{display:flex;flex-direction:column;gap:4px}
.footer-brand span{font-size:15px;color:#C4D0E3}
.footer-logo{width:64px;color:#fff}
.footer-nav{display:flex;gap:36px;font-size:15px}
.footer-nav a{color:#fff;text-decoration:none}
.footer-nav a:hover{text-decoration:underline;color:#fff}
.copyright{margin-top:36px;padding-top:20px;border-top:1px solid #2A3E5E;font-size:13px;color:#C4D0E3}
@media (max-width:899px){
  .site-footer{padding:48px 0 32px}
  .footer-inner{flex-direction:column;align-items:flex-start}
  .footer-logo{width:56px}
  .footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;width:100%}
  .footer-nav a{display:flex;align-items:center;min-height:46px}
  .copyright{margin-top:24px}
}

/* privacy page */
.site-header--sub .header-inner{justify-content:space-between}
.header-logo{width:48px;color:var(--blue)}
.back{font-weight:700;text-decoration:none;min-height:44px;display:flex;align-items:center}
.policy{background:#fff;padding:80px 0 100px}
.policy-inner{max-width:1100px}
.policy h1{font-size:clamp(28px,2.8vw,40px);font-weight:700;margin:8px 0 12px}
.policy-sub{font-size:18px;font-weight:700;margin-bottom:24px}
.policy-inner>p{color:var(--sub);line-height:2;margin-bottom:28px;max-width:60em}
.policy section{display:flex;flex-direction:column;gap:14px;padding:30px 0;border-top:1px solid var(--line)}
.policy section h2{font-size:21px;margin:0}
.policy section p{color:var(--sub);line-height:2;max-width:60em}
.policy section dl{background:var(--tint);border-radius:10px;padding:12px 24px 22px;display:flex;flex-direction:column;max-width:60em}
.policy section dl div{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;padding-top:10px}
.policy section dt{font-weight:700}
.policy section dd{color:var(--sub)}
@media (max-width:899px){
  .policy{padding:44px 0 56px}
  .header-logo{width:40px}
  .policy section{padding:24px 0}
  .policy section h2{font-size:18px}
  .policy section p,.policy-inner>p{font-size:15px}
  .policy section dl{padding:8px 18px 18px}
  .policy section dl div{grid-template-columns:1fr;gap:2px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none;transition:none}
  .js .hero-mark{opacity:1}
  .js .hero h1 .uline path{stroke-dashoffset:0;transition:none}
}

@media (prefers-reduced-motion:reduce){.header-logo-h,.site-header{transition:none}}

/* 課題の見出し：芯の言葉に手描きの下線（行が画面に入ったら引く） 2026-09-24 */
.js .issue h3 .uline path{stroke-dashoffset:130;transition:stroke-dashoffset .9s ease-out .25s}
.js .issue.is-on h3 .uline path{stroke-dashoffset:0}
@media (prefers-reduced-motion:reduce){.js .issue h3 .uline path{stroke-dashoffset:0;transition:none}}
