@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,900;1,9..144,500&family=Shippori+Mincho:wght@500;700;800&family=Zen+Kaku+Gothic+Antique:wght@400;500;700;900&display=swap');

:root{
  --blue:#141414; --blue-d:#3a3a3a; --ink:#141414; --ink2:#5a5a5a; --muted:#8a8a8a;
  --line:#e6e6e6; --bg:#ffffff; --soft:#f6f6f6; --accent:#141414;
  --maxw:1140px; --r:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;}
body{font-family:"Hiragino Kaku Gothic ProN","Noto Sans JP",-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);background:var(--bg);line-height:1.7;-webkit-font-smoothing:antialiased;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
h1,h2,h3{line-height:1.3;letter-spacing:.01em;}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:800;font-size:14px;padding:11px 20px;border-radius:11px;border:1.5px solid transparent;transition:.15s;cursor:pointer;font-family:inherit;}
.btn.primary{background:var(--blue);color:#fff;}
.btn.primary:hover{background:var(--blue-d);}
.btn.ghost{background:#fff;color:var(--blue);border-color:#e0e0e0;}
.btn.ghost:hover{background:var(--soft);}
.btn.white{background:#fff;color:var(--blue);}
.btn.outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.6);}
.btn.outline:hover{background:rgba(255,255,255,.12);}
.btn.lg{font-size:15px;padding:14px 26px;border-radius:12px;}
.btn.full{width:100%;}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.82);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line);}
.nav-in{display:flex;align-items:center;gap:20px;height:64px;}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:18px;letter-spacing:.02em;}
.logo{width:34px;height:34px;}
.logo.sm{width:26px;height:26px;}
.links{display:flex;gap:22px;margin-left:14px;}
.links a{font-size:14px;color:var(--ink2);font-weight:600;}
.links a:hover{color:var(--blue);}
.nav-cta{margin-left:auto;display:flex;gap:10px;}
.burger{display:none;margin-left:auto;background:none;border:none;font-size:22px;cursor:pointer;}

/* hero */
.hero{background:radial-gradient(1200px 500px at 80% -10%, #f0f0f0 0, #fff 60%);padding:70px 0 40px;overflow:hidden;}
.hero-in{display:grid;grid-template-columns:1.02fr 1.1fr;gap:48px;align-items:center;}
.eyebrow{display:inline-block;font-size:13px;font-weight:800;color:var(--blue);background:#f0f0f0;border:1px solid #e0e0e0;padding:6px 13px;border-radius:999px;margin-bottom:18px;}
.hero h1{font-size:52px;font-weight:900;letter-spacing:.005em;}
.hero h1 .hl{color:var(--blue);position:relative;}
.hero h1 .hl::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:12px;background:rgba(20,20,20,.12);z-index:-1;border-radius:4px;}
.lead{font-size:17px;color:var(--ink2);margin:22px 0 26px;max-width:520px;}
.lead b{color:var(--ink);}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap;}
.hero-btns.center{justify-content:center;}
.trust{display:flex;gap:18px;flex-wrap:wrap;list-style:none;margin-top:24px;}
.trust li{font-size:13px;color:var(--ink2);font-weight:700;}

.hero-shot{position:relative;}
.mock{border-radius:16px;overflow:hidden;box-shadow:0 30px 70px -20px rgba(20,20,20,.35),0 8px 24px rgba(20,30,50,.1);border:1px solid #e6e6e6;background:#fff;}
.mock-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#f6f6f6;border-bottom:1px solid #e6e6e6;}
.mock-bar span{width:11px;height:11px;border-radius:50%;background:#cfd7e2;}
.mock-bar span:nth-child(1){background:#f2a09a;}.mock-bar span:nth-child(2){background:#f5cf7a;}.mock-bar span:nth-child(3){background:#8fd39a;}
.mock-bar i{margin-left:12px;font-style:normal;font-size:12px;color:#8a94a3;background:#fff;border:1px solid #e6e6e6;border-radius:7px;padding:3px 12px;}
.logos{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px;margin-top:44px;font-weight:600;}
.logos span{background:#f0f0f0;border-radius:6px;padding:3px 10px;color:#5b6673;}

/* sections */
section{scroll-margin-top:70px;}
.tag{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.06em;color:var(--blue);background:#f0f0f0;padding:5px 12px;border-radius:7px;margin-bottom:14px;}
.tag.light{background:rgba(255,255,255,.18);color:#fff;}
h2{font-size:34px;font-weight:900;}
.sec-lead{font-size:16px;color:var(--ink2);margin-top:14px;max-width:680px;}
.sec-lead.center{margin:14px auto 0;text-align:center;}
.muted{color:var(--muted);font-size:.9em;}

/* problem */
.problem{padding:76px 0;text-align:center;}
.problem h2{max-width:720px;margin:0 auto;}
.problem .sec-lead{margin:16px auto 0;text-align:center;}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px;text-align:left;}
.stat{background:var(--soft);border:1px solid var(--line);border-radius:var(--r);padding:22px 24px;}
.stat .v{font-size:38px;font-weight:900;color:var(--blue);}
.stat .v small{font-size:16px;margin-left:3px;color:var(--ink2);font-weight:800;}
.stat .l{font-size:13px;color:var(--ink2);font-weight:700;margin-top:6px;}
.stat .src{display:block;font-size:11px;color:var(--muted);font-weight:600;margin-top:3px;}

/* features */
.features{padding:82px 0;background:var(--soft);}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:34px;}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px 24px;transition:.15s;}
.card:hover{transform:translateY(-3px);box-shadow:0 14px 30px -12px rgba(20,20,20,.18);border-color:#e0e0e0;}
.card .ic{width:48px;height:48px;border-radius:12px;background:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:16px;}
.card h3{font-size:18px;font-weight:800;}
.card p{font-size:14px;color:var(--ink2);margin-top:9px;}

/* how */
.how{padding:82px 0;background:linear-gradient(135deg,#141414,#000000);color:#fff;}
.how h2.w{color:#fff;}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:36px 0 40px;}
.step{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);border-radius:var(--r);padding:24px;}
.step .n{width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.step h3{font-size:18px;}
.step p{font-size:14px;color:rgba(255,255,255,.86);margin-top:8px;}
.how-shot{border-radius:16px;overflow:hidden;box-shadow:0 30px 70px -20px rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.2);max-width:900px;margin:0 auto;}

/* pricing */
.pricing{padding:82px 0;text-align:center;}
.pricing h2{max-width:640px;margin:0 auto;}
.plans{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:40px;text-align:left;}
.plan{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px 22px;display:flex;flex-direction:column;}
.plan.reco{border:2px solid var(--blue);box-shadow:0 18px 44px -18px rgba(20,20,20,.22);}
.plan .badge{position:absolute;top:-11px;left:22px;background:var(--blue);color:#fff;font-size:11px;font-weight:900;padding:3px 11px;border-radius:7px;}
.plan .pn{font-size:15px;font-weight:900;}
.plan .pp{font-size:30px;font-weight:900;color:var(--ink);margin:8px 0 14px;}
.plan .pp small{font-size:14px;color:var(--muted);font-weight:700;}
.plan ul{list-style:none;display:flex;flex-direction:column;gap:9px;margin-bottom:20px;flex:1;}
.plan li{font-size:13px;color:var(--ink2);display:flex;gap:8px;line-height:1.4;}
.plan li::before{content:"✓";color:#141414;font-weight:900;}
.plan li.off{color:#b7c0cd;}
.plan li.off::before{content:"–";color:#cfd6df;}

/* schools */
.schools{padding:82px 0;background:var(--soft);}
.schools-in{display:grid;grid-template-columns:1fr 1.05fr;gap:44px;align-items:center;}
.checklist{list-style:none;margin:18px 0 26px;display:flex;flex-direction:column;gap:11px;}
.checklist li{font-size:15px;font-weight:700;color:var(--ink);display:flex;gap:10px;}
.checklist li::before{content:"✓";color:#fff;background:var(--blue);width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;flex:none;}
.schools-shot{border-radius:14px;overflow:hidden;box-shadow:0 24px 60px -22px rgba(20,20,20,.3);border:1px solid var(--line);}

/* cta band */
.cta-band{padding:70px 0;background:linear-gradient(120deg,#141414,#000000);color:#fff;text-align:center;}
.cta-band h2{color:#fff;}
.cta-band p{margin:12px 0 24px;font-weight:700;color:#cfcfcf;}

/* company + contact */
.company{padding:82px 0;}
.company-in{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;}
.corp{border-collapse:collapse;margin-top:20px;width:100%;}
.corp th,.corp td{text-align:left;padding:11px 4px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top;}
.corp th{width:110px;color:var(--muted);font-weight:800;}
.contact{background:var(--soft);border:1px solid var(--line);border-radius:var(--r);padding:28px;}
.contact h3{font-size:20px;font-weight:900;}
.contact .muted{margin:8px 0 18px;}
#cform{display:flex;flex-direction:column;gap:13px;}
#cform label{font-size:13px;font-weight:800;color:var(--ink2);display:flex;flex-direction:column;gap:6px;}
#cform input,#cform select,#cform textarea{font-family:inherit;font-size:14px;border:1px solid #d3ddd6;border-radius:10px;padding:11px 13px;color:var(--ink);background:#fff;}
#cform input:focus,#cform select:focus,#cform textarea:focus{outline:none;border-color:var(--blue);}
.form-note{font-size:13px;color:#141414;font-weight:800;min-height:18px;}

/* footer */
.foot{background:#0f1726;color:#c7d0dd;padding:34px 0;}
.foot-brand{display:flex;align-items:center;gap:9px;font-weight:900;color:#fff;font-size:16px;}
.foot-top{display:flex;align-items:center;gap:14px 26px;flex-wrap:wrap;}
.foot-nav{display:flex;gap:18px;flex-wrap:wrap;margin-left:6px;}
.foot-nav a{font-size:13px;color:#aeb9c8;text-decoration:none;}
.foot-nav a:hover{color:#fff;}
.foot-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08);}
.foot .copy{font-size:12px;color:#7c8698;}

/* responsive */
@media(max-width:900px){
  .links,.nav-cta{display:none;}
  .burger{display:block;}
  .nav.open .links{display:flex;position:absolute;top:64px;left:0;right:0;background:#fff;flex-direction:column;padding:14px 24px;gap:14px;border-bottom:1px solid var(--line);margin:0;}
  .nav.open .nav-cta{display:flex;position:absolute;top:calc(64px + 150px);left:0;right:0;background:#fff;padding:0 24px 16px;}
  .hero-in,.schools-in,.company-in{grid-template-columns:1fr;gap:32px;}
  .hero h1{font-size:38px;}
  .stats,.grid,.steps,.plans{grid-template-columns:1fr;}
  h2{font-size:27px;}
}

/* ---- v2: ヘッダーボタン縮小 / 追加セクション ---- */
.nav-cta .btn{padding:8px 15px;font-size:13px;border-radius:10px;}

/* 対応教科書ストリップ */
.compat{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fbfcfe;}
.compat-in{display:flex;gap:40px;flex-wrap:wrap;padding:18px 24px;}
.compat .ci{display:flex;gap:12px;align-items:baseline;}
.compat .cl{font-size:12px;font-weight:900;color:var(--blue);background:#f0f0f0;border-radius:6px;padding:3px 10px;flex:none;}
.compat .cv{font-size:13.5px;color:var(--ink2);font-weight:700;}

/* なぜ敷島書店（比較） */
.why{padding:82px 0;}
.cmp{margin-top:32px;overflow-x:auto;}
.cmp table{width:100%;border-collapse:collapse;min-width:560px;}
.cmp th,.cmp td{padding:14px 16px;text-align:center;font-size:14px;border-bottom:1px solid var(--line);}
.cmp thead th{font-weight:900;color:var(--ink2);}
.cmp thead th.hi{color:var(--blue);}
.cmp tbody td:first-child{text-align:left;font-weight:800;color:var(--ink);}
.cmp td.hi{background:#f0f0f0;color:var(--blue);font-weight:900;}
.cmp tbody tr td.hi{border-bottom:1px solid #e0e0e0;}
.cmp thead th.hi{background:#f0f0f0;border-radius:10px 10px 0 0;}

/* 安心・セキュリティ */
.secure{padding:82px 0;background:var(--soft);}
.secure-in{display:grid;grid-template-columns:.9fr 1.3fr;gap:40px;align-items:center;}
.secure-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.secure-cards .sc:first-child{grid-column:1/-1;}
.sc{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px;}
.sc .ic{font-size:24px;margin-bottom:10px;}
.sc h3{font-size:16px;font-weight:800;}
.sc p{font-size:13.5px;color:var(--ink2);margin-top:7px;}

/* FAQ */
.faq{padding:82px 0;}
.acc{max-width:820px;margin:30px auto 0;display:flex;flex-direction:column;gap:12px;}
.qa{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;}
.qa .q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;background:none;border:none;font-family:inherit;font-size:15px;font-weight:800;color:var(--ink);padding:17px 20px;cursor:pointer;}
.qa .q span{color:var(--blue);font-size:20px;font-weight:800;transition:.2s;flex:none;}
.qa.open .q span{transform:rotate(45deg);}
.qa .a{max-height:0;overflow:hidden;transition:max-height .25s ease;color:var(--ink2);font-size:14px;padding:0 20px;}
.qa.open .a{max-height:220px;padding:0 20px 18px;}

/* scroll reveal */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease;}
.reveal.in{opacity:1;transform:none;}

@media(max-width:900px){
  .secure-in{grid-template-columns:1fr;}
  .secure-cards{grid-template-columns:1fr;}
  .compat-in{gap:16px;}
}

/* hero 背景に淡いブルーを敷く */
.hero{background:linear-gradient(180deg,#f0f0f0 0%,#f6f6f6 58%,#ffffff 100%);}

/* 対応ストリップは背景色なし（白） */
.compat{background:#fff;}

/* hero 背景は一色（淡いブルー） */
.hero{background:#f6f6f6;}

/* ファーストビューを画面いっぱいに（下の白余白をなくす） */
.hero{min-height:calc(100vh - 64px);display:flex;flex-direction:column;justify-content:center;padding:40px 0 34px;}

/* ---- multi-page: サブページ用 ---- */
.logo{width:34px;height:34px;border-radius:9px;}
.logo.sm{width:26px;height:26px;}
.page-hero{background:#f6f6f6;padding:60px 0 48px;}
.page-hero .eyebrow{margin-bottom:14px;}
.page-hero h1{font-size:40px;font-weight:900;}
.page-hero .lead{margin-top:14px;max-width:680px;}
.sec{padding:74px 0;}
.sec.alt{background:var(--soft);}
.sec .tag,.sec h2{text-align:left;}
.center-head{text-align:center;}
.center-head .sec-lead{margin-left:auto;margin-right:auto;}
.more{display:inline-flex;align-items:center;gap:6px;margin-top:24px;font-weight:800;color:var(--blue);}
.more:hover{gap:10px;}
/* 導入の流れ */
.flow{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:32px;}
.flow-step{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 18px;position:relative;}
.flow-step .n{width:32px;height:32px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;margin-bottom:12px;}
.flow-step h3{font-size:15px;font-weight:800;}
.flow-step p{font-size:13px;color:var(--ink2);margin-top:7px;}
/* 会社: バリュー */
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px;}
.value{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;}
.value .ic{font-size:24px;margin-bottom:10px;}
.value h3{font-size:16px;font-weight:800;}
.value p{font-size:13.5px;color:var(--ink2);margin-top:8px;}
/* コンタクトページ */
.contact-in{display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:start;margin-top:8px;}
.contact-info .ci-row{padding:12px 0;border-bottom:1px solid var(--line);}
.contact-info .ci-row:last-child{border-bottom:none;}
.contact-info .ci-row b{display:block;font-size:12px;color:var(--muted);font-weight:800;margin-bottom:3px;}
@media(max-width:900px){.flow{grid-template-columns:1fr 1fr}.values{grid-template-columns:1fr}.contact-in{grid-template-columns:1fr}.page-hero h1{font-size:30px}}

/* ---- 申し込み（型） ---- */
.checkout{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:26px;align-items:start;}
.co-summary{background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:24px;}
.co-summary .st{font-size:12px;font-weight:900;color:var(--blue);}
.co-plan{font-size:19px;font-weight:900;margin-top:4px;}
.co-price{font-size:32px;font-weight:900;margin:6px 0 2px;}
.co-price small{font-size:14px;color:var(--muted);font-weight:700;}
.co-trial{font-size:13px;color:#333333;font-weight:800;}
.co-list{list-style:none;margin-top:16px;display:flex;flex-direction:column;gap:9px;border-top:1px solid var(--line);padding-top:16px;}
.co-list li{font-size:13.5px;color:var(--ink2);display:flex;gap:8px;}
.co-list li::before{content:"✓";color:#141414;font-weight:900;}
.co-note{margin-top:16px;font-size:12px;color:var(--muted);}
.co-form .field{margin-bottom:15px;}
.co-form label{font-size:12.5px;font-weight:800;color:var(--ink2);display:block;margin-bottom:6px;}
.co-form input{width:100%;font-size:14px;border:1px solid #d3ddd6;border-radius:10px;padding:12px 13px;font-family:inherit;color:var(--ink);}
.co-form input:focus{outline:none;border-color:var(--blue);}
.co-form input:disabled{background:#f4f6f9;color:#9aa5b4;cursor:not-allowed;}
.card-box{border:1px solid #d3ddd6;border-radius:10px;padding:12px 13px;background:#f9fafc;}
.card-box .card-row{display:grid;grid-template-columns:1fr 84px 74px;gap:10px;}
.card-box input{border:none;background:transparent;padding:0;font-size:14px;}
.stripe-badge{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:var(--muted);margin-top:8px;background:#f0f0f0;border-radius:6px;padding:4px 9px;}
.co-terms{font-size:11.5px;color:var(--muted);margin-top:12px;line-height:1.6;}
.co-done{grid-column:1/-1;background:#f4f4f4;border:1px solid #d9d9d9;border-radius:16px;padding:34px;text-align:center;}
.co-done .em{font-size:34px;}
.co-done h3{font-size:22px;font-weight:900;color:#333333;margin:8px 0;}
.co-done p{font-size:14px;color:var(--ink2);}
@media(max-width:900px){.checkout{grid-template-columns:1fr}}

/* ---- お知らせ / 記事 ---- */
.news-list{display:flex;flex-direction:column;gap:14px;max-width:820px;margin:0 auto;}
.news-item{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 24px;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s,transform .15s;}
.news-item:hover{border-color:var(--blue);box-shadow:0 8px 22px rgba(20,20,20,.08);transform:translateY(-1px);}
.news-meta{display:flex;align-items:center;gap:12px;margin-bottom:8px;}
.news-date{font-size:13px;font-weight:800;color:var(--muted);}
.news-tag{font-size:11.5px;font-weight:800;color:var(--blue);background:#f0f0f0;border-radius:999px;padding:3px 11px;}
.news-item h3{font-size:17px;font-weight:800;color:var(--ink);}
.news-item p{font-size:13.5px;color:var(--ink2);margin-top:5px;line-height:1.65;}
.article{max-width:760px;margin:0 auto;}
.article h1{font-size:30px;font-weight:900;line-height:1.4;margin:12px 0 6px;}
.article .body{font-size:15px;color:var(--ink2);line-height:1.95;margin-top:22px;}
.article .body h2{font-size:20px;color:var(--ink);font-weight:900;margin:28px 0 10px;}
.article .body p{margin-bottom:15px;}
.article .body ul{margin:0 0 15px 22px;}
.article .body li{margin-bottom:6px;}
.back-link{display:inline-block;margin-top:34px;}

/* ---- フッター法務リンク / 法務ページ ---- */
.foot-legal{display:flex;flex-wrap:wrap;gap:8px 18px;}
.foot-legal a{font-size:12px;color:var(--muted);text-decoration:none;}
.foot-legal a:hover{color:#fff;}
.legal{max-width:820px;margin:0 auto;}
.legal h2{font-size:18px;font-weight:900;color:var(--ink);margin:28px 0 10px;padding-top:6px;}
.legal p{font-size:14px;color:var(--ink2);line-height:1.9;margin-bottom:12px;}
.legal ul,.legal ol{margin:0 0 14px 22px;font-size:14px;color:var(--ink2);line-height:1.9;}
.legal li{margin-bottom:5px;}
.legal .updated{font-size:13px;color:var(--muted);margin-top:6px;}
.legal-table{width:100%;border-collapse:collapse;margin-top:10px;font-size:14px;}
.legal-table th,.legal-table td{border:1px solid var(--line);padding:12px 14px;text-align:left;vertical-align:top;line-height:1.8;}
.legal-table th{background:var(--soft);width:34%;font-weight:800;color:var(--ink);white-space:nowrap;}
.legal-table td{color:var(--ink2);}
.draft-note{max-width:820px;margin:0 auto 8px;background:#fff8e6;border:1px solid #f3d68a;border-radius:12px;padding:14px 18px;font-size:13px;color:#8a6d1f;line-height:1.7;}
.fill{background:#fff3cd;border-bottom:1px dashed #d6a400;padding:0 3px;border-radius:3px;color:#7a5c00;font-weight:700;}

/* ==========================================================================
   敷島書店 — 編集・活版（Editorial / Letterpress）デザイン層
   frontend-design: 完全モノクロの"出版社"アイデンティティ
   ========================================================================== */
:root{
  --mincho:"Shippori Mincho",serif;
  --fraunces:"Fraunces",serif;
  --gothic:"Zen Kaku Gothic Antique","Hiragino Kaku Gothic ProN",sans-serif;
  --hair:rgba(20,20,20,.12);
}

/* --- タイポグラフィ --- */
body{font-family:var(--gothic);letter-spacing:.012em;color:#141414;}
h1,h2,h3{font-family:var(--mincho);font-weight:800;letter-spacing:.03em;}
h2{font-size:33px;line-height:1.4;}
.sec-lead,.lead{font-feature-settings:"palt";}
/* 数字はFraunces（エディトリアル図版） */
.stat .v,.plan .pp,.co-price,.step .n,.flow-step .n,.pp small{font-family:var(--fraunces);font-optical-sizing:auto;}
.stat .v{font-weight:900;letter-spacing:-.01em;}

/* --- マストヘッド（ナビ） --- */
.nav{border-bottom:1px solid #141414;background:rgba(255,255,255,.93);}
.nav-in{height:72px;}
.brand .bname{font-family:var(--mincho);font-weight:800;font-size:19px;letter-spacing:.18em;}
.links a{font-family:var(--gothic);font-size:13px;letter-spacing:.09em;font-weight:500;color:#3a3a3a;}
.links a:hover{color:#141414;}
.links a.on{color:#141414;text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:1px;}

/* --- ボタン：活版風にシャープ --- */
.btn{border-radius:2px;letter-spacing:.05em;font-family:var(--gothic);font-weight:700;}
.btn.lg{border-radius:2px;}
.btn.primary{background:#141414;}
.btn.ghost{border-color:#141414;color:#141414;}

/* --- 見出しラベル：罫線つきの版面ラベル（— LABEL） --- */
.eyebrow,.tag{background:none!important;border:none!important;padding:0!important;border-radius:0!important;
  color:#141414;font-family:var(--gothic);font-size:11px;font-weight:700;letter-spacing:.26em;
  display:inline-flex;align-items:center;gap:13px;}
.eyebrow::before,.tag::before{content:"";width:28px;height:1px;background:#141414;display:inline-block;flex:none;}
.tag.light{color:#fff;}
.tag.light::before{background:#fff;}

/* --- セクション間の罫線リズム --- */
.features,.why,.problem,.pricing,.schools,.faq,.secure,.sec{border-top:1px solid var(--hair);}
.how,.cta-band{border-top:1px solid #141414;}

/* --- ヒーロー：原稿用紙グリッド＋トンボ（版面化） --- */
.hero,.page-hero{position:relative;background:
  repeating-linear-gradient(0deg,transparent 0 39px,rgba(20,20,20,.04) 39px 40px),
  repeating-linear-gradient(90deg,transparent 0 39px,rgba(20,20,20,.04) 39px 40px),
  #fff;}
.hero .wrap,.page-hero .wrap{position:relative;}
.hero .wrap::before,.page-hero .wrap::before{content:"";position:absolute;left:-2px;top:-16px;width:11px;height:11px;border-left:1px solid #141414;border-top:1px solid #141414;opacity:.85;}
.hero .wrap::after,.page-hero .wrap::after{content:"";position:absolute;right:-2px;bottom:-16px;width:11px;height:11px;border-right:1px solid #141414;border-bottom:1px solid #141414;opacity:.85;}
.hero h1{font-weight:800;letter-spacing:.02em;line-height:1.34;}
.hero h1 .hl{color:#141414;}
.hero h1 .hl::after{left:0;right:0;bottom:1px;height:2px;background:#141414;border-radius:0;}

/* --- 埋め込みアプリ画像を白黒化（青いUIの色ズレ解消） --- */
.mock img,.how-shot img,.schools-shot img{filter:grayscale(1) contrast(1.05) brightness(1.02);}

/* --- フッター --- */
.foot-brand span{font-family:var(--mincho);letter-spacing:.16em;}
.foot-legal a,.foot-nav a{font-family:var(--gothic);letter-spacing:.04em;}

/* --- 記事/法務も明朝見出しに --- */
.article h1{font-family:var(--mincho);}
.news-item h3{font-family:var(--mincho);font-weight:700;}
/* モック信号ドットも白黒に */
.mock-bar span,
.mock-bar span:nth-child(1),.mock-bar span:nth-child(2),.mock-bar span:nth-child(3){background:#cfcfcf!important;}

/* ==========================================================================
   和モダン・カラー層 — 藍(Japan Indigo) × 墨 × 生成り、差し色 = 朱(vermilion)
   ========================================================================== */
:root{
  --blue:#17325a; --blue-d:#0f2444;      /* 藍 */
  --ink:#17181d; --ink2:#474d59; --muted:#8b8f99;
  --line:#e7e2d7; --soft:#f5f1e8;        /* 生成り(washi) */
  --accent:#d8382d;                       /* 朱 */
}
/* 藍のダーク帯 */
.how{background:linear-gradient(150deg,#193a63 0%,#0e2242 100%);}
.cta-band{background:linear-gradient(120deg,#193a63 0%,#0e2242 100%);}
/* ボタン＝藍 */
.btn.primary{background:var(--blue);color:#fff;}
.btn.primary:hover{background:var(--blue-d);}
.btn.ghost{background:#fff;color:var(--blue);border-color:var(--blue);}
.btn.white{color:var(--blue);}
/* 見出しラベルの罫線ティックを朱に（各セクションに一点の差し色） */
.eyebrow::before,.tag::before{background:var(--accent);}
.tag.light::before{background:var(--accent);}
/* ヒーローのキーワード下線 = 朱（唯一の主張色） */
.hero h1 .hl::after{background:var(--accent);height:3px;bottom:2px;}
/* 原稿用紙グリッドを藍の淡色に */
.hero,.page-hero{background:
  repeating-linear-gradient(0deg,transparent 0 39px,rgba(23,50,90,.055) 39px 40px),
  repeating-linear-gradient(90deg,transparent 0 39px,rgba(23,50,90,.055) 39px 40px),
  #fff;}
/* チェック・数字＝藍 */
.plan li::before,.checklist li::before,.co-list li::before{color:var(--blue);}
.stat .v{color:var(--blue);}
/* ナビ現在地の下線＝朱 */
.links a.on{text-decoration-color:var(--accent);}
/* おすすめプラン・バッジ＝藍 */
.plan.reco{border-color:var(--blue);}
.plan .badge{background:var(--blue);}
/* 落款（朱の小さな角印）をブランド名の右肩に */
.brand{position:relative;}
.brand .bname::after{content:"";position:absolute;top:-3px;right:-11px;width:7px;height:7px;background:var(--accent);border-radius:1.5px;}

/* ==========================================================================
   和モダン・デザイン強化 — マガジン番号 / 青海波 / 版面の締め
   ========================================================================== */
/* セクション番号(01,02..)＝マガジン編集 */
main{counter-reset:sec;}
.tag{counter-increment:sec;gap:12px;}
.tag::before{content:counter(sec,decimal-leading-zero);width:auto;height:auto;background:none;
  font-family:var(--fraunces);font-optical-sizing:auto;font-weight:600;font-size:13px;
  color:var(--accent);letter-spacing:.05em;}
.tag.light::before{color:#fff;}
/* CTA帯に青海波(seigaiha)の淡いテクスチャ */
.cta-band{
  background-color:#16345c;
  background-image:
    linear-gradient(120deg,rgba(14,34,66,.78),rgba(14,34,66,.78)),
    radial-gradient(circle at 100% 50%,transparent 21%,rgba(255,255,255,.07) 22%,rgba(255,255,255,.07) 33%,transparent 34%),
    radial-gradient(circle at 0% 50%,transparent 21%,rgba(255,255,255,.07) 22%,rgba(255,255,255,.07) 33%,transparent 34%);
  background-size:auto,70px 70px,70px 70px;
}
/* ヒーロー見出しを一段大きく・引き締め */
.hero h1{font-size:56px;line-height:1.3;letter-spacing:.015em;}
.hero .eyebrow{margin-bottom:22px;}
/* 見出し下の細い朱の版ルール（h2の下に一点） */
.problem h2::after,.why h2::after,.pricing h2::after,.features .center-head h2::after{
  content:"";display:block;width:34px;height:2px;background:var(--accent);margin:16px auto 0;}
.center-head{text-align:center;}

/* ==========================================================================
   明朝をやめてゴシックに統一（見出し・ブランド・記事）
   ========================================================================== */
h1,h2,h3{font-family:var(--gothic)!important;font-weight:900;letter-spacing:.012em;}
.hero h1{font-weight:900;letter-spacing:.004em;line-height:1.28;}
.brand .bname{font-family:var(--gothic)!important;font-weight:900;letter-spacing:.10em;}
.foot-brand span{font-family:var(--gothic)!important;letter-spacing:.08em;}
.article h1,.news-item h3{font-family:var(--gothic)!important;}

/* 見出しの太さを調整（900→700） */
h1,h2,h3{font-weight:700!important;}
.hero h1{font-weight:700!important;letter-spacing:.01em;}
.brand .bname{font-weight:700!important;}
.plan .pn,.co-plan{font-weight:700;}

/* セクション小見出し(01 特長 等)を大きく・字間調整 */
.eyebrow,.tag{font-size:13px!important;letter-spacing:.16em!important;gap:10px;}
.tag::before{font-size:15px!important;letter-spacing:.04em!important;}

/* ==========================================================================
   小見出しの左揃え統一 ＋ 文字を少し大きく
   ========================================================================== */
/* center-head の中央揃えを左に統一（見出しラベルの中央寄りを解消） */
.center-head{text-align:left;}
.center-head h2::after{margin-left:0;margin-right:auto;margin-top:16px;}
.center-head .sec-lead{margin-left:0;text-align:left;}

/* 文字サイズを一段大きく */
.hero h1{font-size:58px;}
h2{font-size:36px;}
.sec-lead{font-size:17px;}
.lead{font-size:18px;}
.card h3{font-size:19px;}
.card p{font-size:15px;}
.plan li,.checklist li,.co-list li{font-size:14px;}
.eyebrow,.tag{font-size:14px!important;}
.tag::before{font-size:16px!important;}
.links a{font-size:14px;}
.stat .l{font-size:14px;}

/* page-hero の説明文は折返し幅を広げる（途中改行を防ぐ） */
.page-hero .lead{max-width:900px;}

/* セクション説明文：折返し幅を広げ、日本語を語句単位で改行 */
.sec-lead{max-width:880px;word-break:auto-phrase;text-wrap:pretty;}
.lead,.page-hero .lead{word-break:auto-phrase;}

/* 見出し下の朱ルールを全て削除 */
.problem h2::after,.why h2::after,.pricing h2::after,.features .center-head h2::after,.center-head h2::after{display:none!important;content:none!important;}

/* カードのアイコンを線画SVGに（絵文字を廃止） */
.card .ic,.sc .ic,.value .ic{width:44px;height:44px;border:1px solid #dfe3ea;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:0;margin-bottom:16px;}
.card .ic svg,.sc .ic svg,.value .ic svg{width:23px;height:23px;stroke:#17325a;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}

/* 「使い方（たった3ステップ）」の帯をライトに（ダークをやめる） */
.how{background:#f5f1e8!important;color:var(--ink)!important;border-top:1px solid var(--line);}
.how h2.w{color:var(--ink);}
.how .tag.light{color:#141414;}
.how .tag.light::before{background:var(--accent);}
.step{background:#fff;border:1px solid var(--line);}
.step h3{color:var(--ink);}
.step p{color:var(--ink2);}
.how-shot{box-shadow:0 22px 50px -22px rgba(20,20,20,.22);border:1px solid var(--line);}

/* クリーム(生成り)をやめてクールな薄グレーに */
:root{ --soft:#f6f7f9; --line:#e6e8ec; }
.how{background:#f6f7f9!important;}
/* 埋め込みアプリ画像は白黒化せず、そのまま（藍の配色と馴染む） */
.mock img,.how-shot img,.schools-shot img{filter:none;}
/* セクション番号ラベルの背景（.tag.light由来の赤箱）を無効化 */
.tag.light::before{background:none!important;color:var(--accent)!important;}

/* 使い方の画面写真をフル幅に（3ステップと同じ大きさ感） */
.how-shot{max-width:100%;margin-top:36px;}

/* 数字の書体を普通のゴシックに戻す（Frauncesの装飾をやめる） */
.stat .v,.plan .pp,.pp small,.co-price,.step .n,.flow-step .n,.tag::before{font-family:var(--gothic)!important;}

/* 数字を若干太く */
.stat .v,.plan .pp,.co-price,.step .n,.flow-step .n{font-weight:900;-webkit-text-stroke:.4px currentColor;}

/* 見出しの日本語改行を語句単位に＋行を均す（途中で割れない） */
h1,h2{word-break:auto-phrase;text-wrap:balance;}

/* この見出しは横一行に（折り返しの幅制限を解除・PC） */
.problem h2.oneline{max-width:none;white-space:normal;}
@media(min-width:760px){ .problem h2.oneline{white-space:nowrap;} }

/* CTA帯：薄色（ミント）＋濃い文字・濃いボタンに */
.cta-band{background:#e8f1fd!important;border-top:1px solid var(--line);}
.cta-band h2{color:var(--ink);}
.cta-band p{color:var(--ink2);}
.cta-band .btn.white{background:#17181d;color:#fff;}
.cta-band .btn.white:hover{background:#000;}
.cta-band .btn.outline{color:#17181d;border-color:#17181d;background:transparent;}
.cta-band .btn.outline:hover{background:rgba(0,0,0,.06);}
