/* sly.co.jp/help/ — 会社の IT・業務のご相談（フライヤーの色・文字を受け継いだ LP） */
@font-face{font-family:'LINE Seed JP';src:url('/help/fonts/line-seed-jp-800-sly.woff2') format('woff2');font-weight:800;font-display:swap}
:root{
  --yellow:#F3C94B; --yellow-deep:#DDB23E; --yellow-soft:#FBEFC4;
  --ink:#16232A; --teal:#1F6F70; --teal-soft:#E3EFEE; --mist:#EEF2F5; --line:#D5DCE1; --muted:#4A5A60;
  --white:#fff; --bad:#a4342a;
  --w:1120px; --gut:clamp(16px,4vw,44px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--white);color:var(--ink);font-family:"Zen Kaku Gothic New",system-ui,sans-serif;font-size:16px;line-height:1.85;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block;height:auto}
a{color:var(--teal)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
h1,h2,h3{margin:0;font-weight:900;line-height:1.4}
p{margin:0}
.wrap{max-width:var(--w);margin:0 auto;padding:0 var(--gut)}
.nw{display:inline-block}
.logo{display:flex;align-items:center;gap:12px;font-family:'LINE Seed JP',sans-serif;font-weight:800;color:var(--ink);text-decoration:none}
.logo b{font-size:30px;letter-spacing:.06em;line-height:1;font-weight:800}
.logo small{font-size:9.5px;letter-spacing:.08em;line-height:1.25}

/* 見出し（節の頭） */
.sec{padding:88px 0}
.sec-head{margin-bottom:40px}
.sec-head .en{display:block;font-family:'LINE Seed JP',sans-serif;font-weight:800;font-size:13px;letter-spacing:.14em;color:var(--teal);margin-bottom:8px}
.sec-head h2{font-size:clamp(26px,3.6vw,38px)}
.sec-head p{margin-top:14px;font-size:16px;color:var(--muted)}

/* ボタン */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border-radius:14px;padding:12px 24px;font-size:17px;font-weight:900;text-decoration:none;border:0;cursor:pointer;font-family:inherit;line-height:1.3}
.btn svg{flex:none}
.btn.dark{background:var(--ink);color:var(--white);box-shadow:0 5px 0 #000}
.btn.light{background:var(--white);color:var(--ink);box-shadow:0 5px 0 var(--yellow-deep)}
.btn.yellow{background:var(--yellow);color:var(--ink);box-shadow:0 5px 0 var(--yellow-deep)}
.btn.line{border:2px solid currentColor;background:none;color:inherit}
.btn:active{transform:translateY(2px)}

/* 上の帯 */
.top{position:sticky;top:0;z-index:20;background:rgba(243,201,75,.96);backdrop-filter:blur(6px)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:68px}
.top nav{display:flex;align-items:center;gap:22px;font-size:15px;font-weight:700}
.top nav a{color:var(--ink);text-decoration:none}
.top nav a:hover{text-decoration:underline}
.top nav .cta{background:var(--ink);color:var(--white);border-radius:999px;padding:11px 20px;font-weight:900;white-space:nowrap}
.top nav .cta:hover{text-decoration:none;background:#000}
@media (max-width:860px){.top nav a:not(.cta){display:none}}

/* ヒーロー */
.hero{background:var(--yellow);padding:40px 0 80px;position:relative}
.hero .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(28px,4vw,56px);align-items:center}
.hero .kicker{display:inline-block;background:var(--ink);color:var(--white);border-radius:999px;padding:6px 16px;font-size:14px;font-weight:900;margin-bottom:20px}
.hero h1{font-size:clamp(36px,4.4vw,52px);line-height:1.28;margin-bottom:22px}
.hero .lead{font-size:17px;font-weight:700;line-height:1.9;margin-bottom:28px}
.hero .actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}
.facts{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.facts li{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.7);border-radius:10px;padding:6px 12px;font-size:14px;font-weight:900;line-height:1.4}
.facts svg{flex:none}
.hero-photo .frame{border-radius:28px;overflow:hidden;box-shadow:0 12px 0 var(--yellow-deep)}
.hero-photo img{width:100%;aspect-ratio:5/4;object-fit:cover;object-position:50% 25%}
.hero-photo .frame{border-radius:32px}
.hero-photo .note{margin-top:14px;text-align:right;font-size:12px;font-weight:500}
@media (max-width:860px){.hero .wrap{grid-template-columns:1fr}.hero-photo{order:-1}}

/* こんな“もやもや”（お悩み → 解決） */
.worries{background:var(--mist)}
.groups{display:flex;flex-direction:column;gap:44px}
.group h3{display:flex;align-items:center;gap:12px;font-size:20px;margin-bottom:16px}
.group h3 .ico{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:var(--ink);color:var(--white);flex:none}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:16px;margin:0;padding:0;list-style:none}
.card{background:var(--white);border-radius:18px;padding:22px 22px 20px;display:flex;flex-direction:column;gap:14px}
.cat{font-size:12px;font-weight:700;color:var(--teal);letter-spacing:.04em;margin-bottom:-4px}
.bubble{position:relative;align-self:flex-start;background:var(--yellow-soft);border-radius:14px;padding:10px 16px;font-size:18px;font-weight:900;line-height:1.45}
.bubble::after{content:"";position:absolute;left:22px;bottom:-9px;border:10px solid transparent;border-top-color:var(--yellow-soft);border-bottom:0}
.fix{display:flex;gap:10px;align-items:flex-start}
.fix .tag{flex:none;margin-top:2px;background:var(--teal);color:var(--white);border-radius:6px;padding:2px 8px;font-size:12px;font-weight:900;line-height:1.6}
.fix p{font-size:15px;line-height:1.75;color:var(--muted)}
.fix strong{display:block;color:var(--ink);font-size:16px;font-weight:900;margin-bottom:2px}

/* SLY に相談すると */
.points{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;margin:0;padding:0;list-style:none}
.points li{border:2px solid var(--ink);border-radius:20px;padding:26px 24px}
.points .ico{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:var(--yellow);margin-bottom:14px}
.points h3{font-size:19px;margin-bottom:8px}
.points p{font-size:15px;color:var(--muted);line-height:1.8}

/* ご依頼の流れ */
.flow{background:var(--teal-soft)}
.steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;counter-reset:s}
.steps li{position:relative;background:var(--white);border-radius:18px;padding:22px 20px}
.steps .n{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--teal);color:var(--white);font-family:'LINE Seed JP',sans-serif;font-weight:800;font-size:20px;margin-bottom:12px}
.steps h3{font-size:17px;margin-bottom:6px}
.steps p{font-size:14px;line-height:1.75;color:var(--muted)}
@media (max-width:900px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* はじめまして */
.hello .wrap{display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(28px,5vw,56px);align-items:start}
.hello h2{font-size:clamp(24px,3vw,32px);margin-bottom:18px}
.hello .msg{font-size:16.5px;line-height:2}
.hello .sign{margin-top:18px;font-size:15px;font-weight:700}
.office{background:var(--mist);border-radius:20px;padding:26px 28px;font-size:15px;line-height:1.75}
.office .name{font-size:18px;font-weight:900;margin-bottom:12px}
.office dl{margin:0;display:grid;gap:12px}
.office dt{font-weight:900}
.office dd{margin:0}
.office .remote{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
@media (max-width:860px){.hello .wrap{grid-template-columns:1fr}}

/* 電話の帯 */
.callband{background:var(--ink);color:var(--white);padding:56px 0}
.callband .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.callband h2{font-size:clamp(22px,3vw,30px);margin-bottom:6px}
.callband p{color:#C2C9CF;font-size:15px}
.callband .tel{display:inline-flex;align-items:center;gap:12px;color:var(--white);text-decoration:none;font-weight:900;font-size:clamp(32px,4.6vw,46px);letter-spacing:.02em;line-height:1.2}
.callband .tel svg{flex:none}
.callband .hours{display:block;font-size:13px;color:#C2C9CF;font-weight:500;margin-top:4px}

/* 相談フォーム */
.contact{background:var(--mist)}
.contact .wrap{max-width:820px}
.contact .sec-head{text-align:center}
.contact .box{background:var(--white);border-radius:22px;padding:clamp(24px,4vw,44px)}
.cform{margin:0 auto}
.cform{max-width:660px}
.field{margin-bottom:18px}
.field label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}
.req{font-size:12px;color:var(--white);background:var(--teal);border-radius:999px;padding:1px 8px;margin-left:8px;font-weight:400}
input[type=text],input[type=email],input[type=tel],select,textarea{width:100%;padding:13px 16px;border:1px solid #AEB8BF;border-radius:12px;font:inherit;font-size:16px;background:#F7F9FA;color:var(--ink)}
textarea{min-height:170px;resize:vertical;line-height:1.7}
input.bad,select.bad,textarea.bad{border-color:var(--bad);background:#fbf1f0}
.agree{display:flex;gap:8px;align-items:flex-start;font-size:14px;font-weight:400!important}
.agree input{margin-top:7px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.err{color:var(--bad);font-size:14px;margin:0 0 12px}
.done{padding:26px;border:2px solid var(--ink);border-radius:18px}
.done h3{margin-bottom:8px}

/* IT顧問への案内 */
.advisor{padding:56px 0}
.advisor .box{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;border:2px solid var(--ink);border-radius:20px;padding:26px 30px}
.advisor h2{font-size:20px;margin-bottom:4px}
.advisor p{font-size:15px;color:var(--muted)}

/* 下の帯 */
.band{background:var(--ink);color:#C2C9CF;padding:40px 0 32px;font-size:12.5px;line-height:1.8}
.band .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px}
.band .logo{color:var(--white)}
.band .logo b{font-size:24px}
.band .links{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;font-size:13px}
.band .links a{color:#C2C9CF}
.band .links a:hover{color:var(--white)}

/* スマホ（640px 以下） */
@media (max-width:640px){
  .sec{padding:56px 0}
  .sec-head{margin-bottom:26px}
  .sec-head p{font-size:15px}
  .logo b{font-size:26px}
  .top .wrap{height:60px}
  .top nav .cta{padding:9px 15px;font-size:14px}
  .hero{padding:24px 0 48px}
  .hero .kicker{font-size:13px;margin-bottom:14px}
  .hero h1{font-size:clamp(30px,8.8vw,38px);margin-bottom:16px}
  .hero .lead{font-size:15.5px;margin-bottom:22px}
  .hero .actions{flex-direction:column;gap:12px;margin-bottom:18px}
  .hero .actions .btn{width:100%;font-size:17px}
  .facts li{font-size:13px}
  .hero-photo img{aspect-ratio:4/3}
  .hero-photo .frame{border-radius:20px;box-shadow:0 8px 0 var(--yellow-deep)}
  .groups{gap:32px}
  .group h3{font-size:18px;margin-bottom:12px}
  .group h3 .ico{width:36px;height:36px}
  .cards{gap:10px}
  .card{padding:18px 18px 16px;gap:12px}
  .bubble{font-size:17px}
  .points{gap:10px}
  .points li{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;padding:18px}
  .points .ico{width:44px;height:44px;margin:0;grid-row:span 2}
  .points h3{font-size:17px;margin:8px 0 6px}
  .points p{grid-column:1 / -1;font-size:14.5px}
  .steps{grid-template-columns:1fr;gap:10px}
  .steps li{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;padding:16px 18px}
  .steps .n{grid-row:span 2;margin:0}
  .steps h3{margin:0 0 2px}
  .steps p{grid-column:2}
  .hello .msg{font-size:15.5px;line-height:1.95}
  .office{padding:20px}
  .callband{padding:40px 0}
  .callband .wrap{flex-direction:column;align-items:stretch;text-align:left}
  .callband .btn{width:100%}
  .contact .box{padding:22px 18px}
  .advisor .box{padding:22px 20px}
  .advisor .btn{width:100%}
}

/* 動き：最初にキービジュアルと見出しが一度だけ出る。あとはスクロールで節・カードがふわっと出る（help.js）。動きを減らす設定では止める */
@keyframes kv-in{from{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}
@keyframes up-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.hero-photo .frame{animation:kv-in 1s cubic-bezier(.2,.7,.2,1) both}
.hero .kicker,.hero h1,.hero .lead,.hero .actions,.hero .facts{animation:up-in .7s cubic-bezier(.2,.7,.2,1) both}
.hero h1{animation-delay:.08s}.hero .lead{animation-delay:.16s}.hero .actions{animation-delay:.24s}.hero .facts{animation-delay:.32s}
.js-reveal .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.7,.2,1) var(--d,0ms),transform .7s cubic-bezier(.2,.7,.2,1) var(--d,0ms)}
.js-reveal .reveal.in{opacity:1;transform:none}
.card{transition:transform .25s ease,box-shadow .25s ease}
@media (hover:hover){.card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(22,35,42,.08)}}
@media (prefers-reduced-motion:reduce){
  .hero-photo .frame,.hero .kicker,.hero h1,.hero .lead,.hero .actions,.hero .facts{animation:none}
  .card,.card:hover{transition:none;transform:none}
}

/* キービジュアルの吹き出し（頭を抱えた人の“もやもや”）。順にポンと出る */
.hero-photo{position:relative}
.sighs{position:absolute;inset:0;margin:0;padding:0;list-style:none;pointer-events:none}
.sighs li{position:absolute;background:var(--white);color:var(--ink);border-radius:16px;padding:9px 15px;font-size:15px;font-weight:900;line-height:1.35;white-space:nowrap;box-shadow:0 4px 0 rgba(22,35,42,.18)}
.sighs li::after{content:"";position:absolute;bottom:-9px;border:9px solid transparent;border-top-color:var(--white);border-bottom:0}
.sighs .s1{left:-3%;top:9%}   .sighs .s1::after{right:26px}
.sighs .s2{right:-3%;top:5%}  .sighs .s2::after{left:26px}
.sighs .s3{left:-6%;top:47%}  .sighs .s3::after{right:30px}
.sighs .s4{right:-5%;top:42%} .sighs .s4::after{left:30px}
.sighs .s5{left:34%;bottom:6%;background:var(--ink);color:var(--white)} .sighs .s5::after{display:none}
.sighs .s5::before{content:"";position:absolute;top:-9px;left:50%;margin-left:-9px;border:9px solid transparent;border-bottom-color:var(--ink);border-top:0}
@keyframes sigh-pop{0%{opacity:0;transform:translateY(8px) scale(.6)}70%{opacity:1;transform:translateY(-2px) scale(1.06)}100%{opacity:1;transform:none}}
.sighs li{animation:sigh-pop .5s cubic-bezier(.3,.8,.3,1.2) both}
.sighs .s1{animation-delay:.7s}.sighs .s2{animation-delay:1.05s}.sighs .s3{animation-delay:1.4s}.sighs .s4{animation-delay:1.75s}.sighs .s5{animation-delay:2.1s}
@media (max-width:860px){.sighs .s1{left:2%}.sighs .s2{right:2%}.sighs .s3{left:1%}.sighs .s4{right:1%}}
@media (max-width:640px){
  .sighs li{font-size:12.5px;padding:6px 11px;border-radius:12px}
  .sighs li::after{bottom:-7px;border-width:7px}
  .sighs .s1{left:3%;top:6%}.sighs .s2{right:3%;top:4%}
  .sighs .s3{left:2%;top:58%}.sighs .s4{right:2%;top:72%}
  .sighs .s5{display:none}
}
@media (prefers-reduced-motion:reduce){.sighs li{animation:none}}
.callband .wrap > div:last-child{display:flex;flex-direction:column;align-items:flex-start}
@media (max-width:640px){.callband .wrap > div:last-child{align-items:stretch}}

/* LINE で相談する（上に小さな一言・左に白い角丸のアイコン・右に矢印。濃い目の緑で白い文字を読みやすく） */
.line-cta{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.bl-note{font-size:13px;font-weight:900;letter-spacing:.02em;color:var(--ink);padding-left:4px}
.line-cta.on-dark{margin-top:16px}
.line-cta.on-dark .bl-note{color:#E4E9EC}
.btn-line{display:inline-flex;align-items:center;gap:12px;min-height:58px;box-sizing:border-box;padding:8px 16px 8px 9px;border-radius:14px;background:#00913A;color:#fff;text-decoration:none;font-size:19px;font-weight:900;line-height:1.2;box-shadow:0 5px 0 #006B2B;transition:background .2s ease,transform .1s ease}
.btn-line:hover{background:#007F33}
.btn-line:active{transform:translateY(2px);box-shadow:0 3px 0 #006B2B}
.btn-line:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.bl-ico{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;background:#fff;flex:none}
.bl-txt{flex:1 1 auto}
.bl-arrow{flex:none;opacity:.9;transition:transform .2s ease}
.btn-line:hover .bl-arrow{transform:translateX(3px)}
.hero .actions{align-items:flex-end}
@media (max-width:640px){
  .hero .actions{align-items:stretch}
  .line-cta{align-items:stretch}
  .line-cta .bl-note{text-align:center;padding-left:0}
  .btn-line{width:100%;font-size:18px}
}
@media (prefers-reduced-motion:reduce){.btn-line,.bl-arrow{transition:none}}
