/* ==========================================================================
   mineo BiZ 法人向けSIM LP（モビリティ多拠点） — 流し込み型コーディング
   構成: トークン → ベース → 共通部品 → セクション → レスポンシブ
   文言は index.html を直接編集すれば反映されます（座標指定はありません）
   ========================================================================== */

/* ---- フォント（サブセット済み woff2） ---- */
@font-face{font-family:"NotoJP";font-weight:400;src:url("../font/NotoSansJP-Regular.woff2") format("woff2");font-display:swap}
@font-face{font-family:"NotoJP";font-weight:500;src:url("../font/NotoSansJP-Medium.woff2") format("woff2");font-display:swap}
@font-face{font-family:"NotoJP";font-weight:700;src:url("../font/NotoSansJP-Bold.woff2") format("woff2");font-display:swap}
@font-face{font-family:"NotoJP";font-weight:900;src:url("../font/NotoSansJP-Black.woff2") format("woff2");font-display:swap}
@font-face{font-family:"BarlowCn";font-weight:400;src:url("../font/BarlowCondensed-Regular.woff2") format("woff2");font-display:swap}
@font-face{font-family:"BarlowCn";font-weight:500;src:url("../font/BarlowCondensed-Medium.woff2") format("woff2");font-display:swap}

/* ---- トークン ---- */
:root{
  --green:#096331;        /* 帯・ピル・バッジ */
  --green-text:#0a6432;   /* 見出しの緑文字 */
  --green-bright:#00a23f; /* ナビ現在地・表ヘッダ */
  --green-stripe:#085d2a; /* 濃緑ハッチの縞 */
  --pink:#ed1e79;
  --pink-text:#ee1e79;
  --yellow:#ffe102;
  --bg-light:#ebf8f1;     /* 薄緑の帯 */
  --bg-stripe:#daf1e1;    /* 薄緑ハッチの縞 */
  --card-gray:#f1f1f1;
  --table-gray:#e6e6e6;
  --head-gray:#999999;
  --line:#cccccc;
  --faq-line:#addbb5;
  --note:#666666;
  --ink:#000;
  --white:#fff;
  --font:"NotoJP","Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
  --num:"BarlowCn","Barlow Condensed","Arial Narrow",sans-serif;
  --container:1120px;
  --header-h:76px;
}

/* ---- ベース ---- */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 20px)}
body{margin:0;font-family:var(--font);font-weight:500;color:var(--ink);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,p{margin:0}
.container{width:min(var(--container),calc(100% - 40px));margin:0 auto}
.c-green{color:var(--green-text)}
.c-pink{color:var(--pink-text)}
.c-yellow{color:var(--yellow)}
.num{font-family:var(--num);font-weight:500;letter-spacing:.01em}
.sup{font-size:.55em;vertical-align:top;position:relative;top:.1em}
.note{font-size:11px;font-weight:400;color:var(--note);line-height:1.7}
.note.on-dark{color:var(--white)}
/* 注釈の折り返しは本文冒頭に揃える（先方戻し 9/8）: n1=「※ 」「〇 」 n2=「※1 」など */
.note.n1{padding-left:1.3em;text-indent:-1.3em}
.note.n2{padding-left:1.9em;text-indent:-1.9em}
/* 既存LP(price)と同じ出し分けクラス（767pxで切替） */
.spOnly{display:none}
@media (max-width:767px){.spOnly{display:block}br.spOnly{display:inline}.pcOnly{display:none}}

/* セクション見出し（中央・下に短い緑線） */
.sec-title{font-size:37px;font-weight:700;line-height:1.35;text-align:center;letter-spacing:.01em;text-wrap:balance}
.sec-title::after{content:"";display:block;width:60px;height:4px;background:var(--green-text);margin:22px auto 0}
.sec-title.on-dark{color:var(--white)}
.sec-title.on-dark::after{background:var(--yellow)}
.sec-lead{font-size:19px;text-align:center;line-height:1.8;margin-top:28px}
.sec-lead.on-dark{color:var(--white)}

/* CTAボタン（資料DL / お問い合わせ） */
.cta-row{display:flex;justify-content:center;gap:30px;margin-top:56px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-width:300px;height:70px;padding:0 28px;border-radius:6px;font-size:20px;font-weight:700;text-decoration:none;transition:opacity .15s;position:relative}
.btn:hover{opacity:.75}
.btn-dl{background:var(--white);color:var(--green-text);border:2px solid var(--green)}
.btn-inq{background:var(--pink);color:var(--white)}
.btn-est{background:var(--white);color:var(--pink-text);border:2px solid var(--pink)}
/* 外部リンクの二重四角マーク（右上） */
.btn .ext,.btn-big .ext,.btn-more .ext{position:absolute;right:8px;top:6px;width:10px;height:10px;border:1.5px solid currentColor;border-radius:1px;opacity:.9}
.btn .ext::after,.btn-big .ext::after,.btn-more .ext::after{content:"";position:absolute;left:3px;top:-5px;width:9px;height:9px;border:1.5px solid currentColor;border-left:0;border-bottom:0}
.btn .ic{width:24px;height:24px;border-radius:3px;display:inline-grid;place-items:center;flex:none}
.btn-dl .ic{background:var(--green)}
.btn-inq .ic{background:var(--white)}
.btn .ic::before{content:"";width:8px;height:8px;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg) translate(-1px,-1px)}
.btn-dl .ic::before{border-color:var(--white)}
.btn-inq .ic::before{border-color:var(--pink)}
.btn-outline{background:var(--white);color:var(--ink);border:2px solid var(--green)}
.btn-outline .ext{color:var(--green)}
.btn-chev::after{content:"";width:9px;height:9px;border-right:2px solid var(--green-text);border-top:2px solid var(--green-text);transform:rotate(45deg);margin-left:8px}

/* 帯の切り欠き（上辺中央の三角） */
.notch{position:relative}
.notch::before{content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);border-style:solid;border-width:55px 108px 0 108px;border-color:var(--notch-color,#fff) transparent transparent transparent}

/* ハッチ背景 */
.bg-dark{background:var(--green)}
.bg-dark-hatch{background-color:var(--green);background-image:repeating-linear-gradient(45deg,var(--green-stripe) 0 2px,var(--green) 2px 4.1px)}
.bg-light{background:var(--bg-light)}
.bg-light-hatch{background-color:var(--bg-light);background-image:repeating-linear-gradient(45deg,var(--bg-stripe) 0 2px,var(--bg-light) 2px 4.1px)}

/* ==========================================================================
   ヘッダー（固定）
   ========================================================================== */
.site-header{position:sticky;top:0;z-index:100;background:var(--white);box-shadow:0 1px 0 rgba(0,0,0,.08);height:var(--header-h)}
.site-header .inner{max-width:1440px;margin:0 auto;height:100%;display:flex;align-items:center;padding:0 14px 0 23px;gap:0}
.site-header .logo{width:205px;flex:none}
.site-header .logo img{width:205px}
.site-header .tagline{font-size:19px;font-weight:700;margin-left:45px;white-space:nowrap}
.site-header .nav{display:flex;gap:41px;margin-left:auto;margin-right:47px;font-size:15px;font-weight:700}
.site-header .nav a{text-decoration:none;white-space:nowrap}
.site-header .nav a:hover,.site-header .nav a.is-current{color:var(--green-bright)}
.site-header .actions{display:flex;gap:11px}
.hbtn{display:inline-flex;align-items:center;justify-content:center;width:181px;height:46px;border-radius:6px;font-size:17px;font-weight:700;text-decoration:none;transition:opacity .15s}
.hbtn:hover{opacity:.8}
.hbtn-est{background:var(--white);color:var(--pink-text);border:2px solid var(--pink)}
.hbtn-app{background:var(--pink);color:var(--white)}
/* ハンバーガー（スマホのみ表示） */
.burger{display:none;width:44px;height:44px;padding:0;border:0;background:none;cursor:pointer;position:relative;flex:none}
.burger span{position:absolute;left:8px;width:28px;height:3px;background:var(--green);border-radius:2px;transition:.2s}
.burger span:nth-child(1){top:12px}.burger span:nth-child(2){top:21px}.burger span:nth-child(3){top:30px}
.burger.is-open span:nth-child(1){top:21px;transform:rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){top:21px;transform:rotate(-45deg)}
.nav-panel{display:none;position:absolute;left:0;right:0;top:100%;background:var(--white);box-shadow:0 8px 20px rgba(0,0,0,.12);padding:6px 0 18px;z-index:99}
.nav-panel.is-open{display:block}
.nav-panel>a{display:block;padding:14px 20px;font-size:16px;font-weight:700;text-decoration:none;border-bottom:1px solid var(--bg-light)}
.nav-panel .nav-cta{display:flex;gap:10px;padding:16px 20px 0}
.nav-panel .nav-cta a{flex:1;text-align:center;border-radius:6px;padding:12px 0;font-size:15px;font-weight:700;text-decoration:none}
.nav-panel .nav-cta .est{background:var(--white);border:2px solid var(--pink);color:var(--pink-text)}
.nav-panel .nav-cta .app{background:var(--pink);color:var(--white);border:2px solid var(--pink)}

/* ==========================================================================
   FV
   ========================================================================== */
.fv{background:var(--bg-light) url("../img/fv_bg.png") center top / 1440px auto no-repeat;position:relative}
.fv .inner{max-width:1440px;margin:0 auto;position:relative;min-height:565px;display:flex;align-items:flex-start}
.fv .copy{position:relative;z-index:1;padding:62px 0 0 164px;width:700px;flex:none}
.fv .badge{display:inline-block;background:var(--green);color:var(--white);font-size:28px;font-weight:700;line-height:1;padding:12px 26px 13px;border-radius:999px;white-space:nowrap;letter-spacing:-.02em}
.fv h1{margin-top:14px;font-size:56px;font-weight:900;line-height:1.2;color:var(--green-text);letter-spacing:-.01em;white-space:nowrap}
.fv h1 .big{font-size:80px;line-height:1}
.fv h1 .mid{font-size:42px}
.fv h1 .sim{font-size:64px}
.fv .lead{margin-top:12px;font-size:15px;line-height:1.85}
.fv .price{margin-top:24px;display:flex;align-items:baseline;gap:2px;font-weight:700;border-bottom:2px solid var(--ink);padding-bottom:2px;width:fit-content;line-height:1}
.fv .price .label{font-size:30px}
.fv .price .yen{font-size:60px;line-height:1;color:var(--pink-text);font-family:var(--num);font-weight:500;letter-spacing:.02em;margin:0 2px}
.fv .price .unit{font-size:30px;position:relative;padding-top:14px}
.fv .price .tax{position:absolute;left:0;top:-4px;font-size:11px;letter-spacing:-.05em;white-space:nowrap;line-height:1}
.fv .price .ref{font-size:13px;align-self:flex-start;margin-left:12px}
.fv .actions{display:flex;gap:20px;margin-top:18px}
.fv .actions .btn{min-width:235px;height:52px;font-size:20px;border-radius:4px}
.fv .illust{position:static;width:600px;max-width:100%;min-width:0;flex:0 1 auto;margin:2px 0 0 auto;align-self:flex-start}
.fv .notes{background:var(--white);padding:12px 0 8px}
.fv .notes .container{width:min(1120px,calc(100% - 40px))}

/* ==========================================================================
   お悩み
   ========================================================================== */
.onayami{padding:80px 0 120px}
.onayami .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:92px;position:relative}
.trouble{background:var(--card-gray);border-radius:12px;padding:40px 8px 30px;text-align:center;position:relative;min-height:383px}
.trouble .badge{position:absolute;left:50%;top:-33px;transform:translateX(-50%);width:66px;height:66px;border-radius:50%;background:var(--green);color:var(--white);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.trouble .badge small{font-size:12px;font-weight:700}
.trouble .badge b{font-family:var(--num);font-size:27px;font-weight:500;margin-top:2px}
.trouble h3{font-size:20px;font-weight:700;line-height:1.7;letter-spacing:-.02em}
.trouble .ill{margin:28px auto 0;width:auto;max-height:180px}

/* ==========================================================================
   mineo BiZ なら（解決）
   ========================================================================== */
.kaiketsu{--notch-color:#fff;padding:120px 0 43px}
/* 「なら」はロゴのベースラインに揃える（先方戻し 9/8 追加分） */
.kaiketsu .brand{display:flex;align-items:flex-end;justify-content:center;gap:16px;font-size:37px;font-weight:700;line-height:1}
.kaiketsu .brand img{width:315px;position:relative;top:4px}
.kaiketsu .sec-title{margin-top:8px}
.kaiketsu .map-wrap{position:relative;margin:110px auto 0;width:860px}
.kaiketsu .map-copy{position:absolute;left:30px;top:-40px;font-size:23px;font-weight:700;color:var(--green-text);line-height:1.6;z-index:1}
.kaiketsu .map-wrap img{width:860px}
.kaiketsu .note{width:860px;margin:24px auto 0}   /* 9/9 松田さん指摘: 図版ブロックの左端に揃えて直下に */

/* ==========================================================================
   経済性（濃緑ハッチ帯）
   ========================================================================== */
.keizai{--notch-color:#ebf8f1;padding:120px 0 120px}
.keizai .sec-title{color:var(--white)}
.keizai .sec-title::after{background:var(--yellow)}
.keizai .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:64px}
.merit{background:var(--white);border-radius:12px;padding:16px 20px 26px;text-align:center;min-height:440px}
.merit h3{font-size:27px;font-weight:700;color:var(--green-text);line-height:1.5}
.merit p{margin-top:12px;font-size:17px}
.merit .ill{margin:26px auto 0}
.keizai .notes{margin-top:28px}
.keizai .notes p{margin-top:2px}
.yobi{margin-top:96px;background:var(--white);border-radius:12px;overflow:hidden}
.yobi .head{background:var(--bg-light);padding:28px 40px;text-align:center;font-size:32px;font-weight:700;line-height:1.4}
.yobi .body{display:flex;align-items:center;gap:40px;padding:34px 60px 40px 75px}
.yobi .body p{font-size:17px;font-weight:400;line-height:2;flex:1}
.yobi .body img{width:495px;flex:none}

/* ==========================================================================
   柔軟さ（薄緑帯）
   ========================================================================== */
.junan{padding:120px 0 120px}
.junan .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 20px;margin-top:90px}
.feature{background:var(--white);border-radius:12px;padding:18px 20px 26px;text-align:center;min-height:345px}
.feature h3{font-size:27px;font-weight:700;color:var(--green-text)}
.feature p{margin-top:12px;font-size:17px;line-height:1.75}
.feature .ill{margin:22px auto 0}
.junan .note{margin-top:14px}

/* ==========================================================================
   端末（白）
   ========================================================================== */
.tanmatsu{padding:120px 0 120px}
.devices{display:flex;justify-content:center;align-items:flex-end;gap:60px;margin-top:100px}
.device{text-align:center}
.device figure{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
.device figure img{max-height:254px;width:auto}
.device figcaption{font-size:21px;font-weight:700;margin-top:30px;white-space:nowrap}
.tanmatsu .links{display:flex;justify-content:center;gap:45px;margin-top:92px}
.tanmatsu .links .btn{min-width:340px}

/* ==========================================================================
   MDM（白背景に濃緑の角丸ボックス）
   ========================================================================== */
.mdm{padding:0 0 116px}
.mdm .box{width:1000px;margin:0 auto;background:var(--green);border-radius:16px;color:var(--white);display:flex;align-items:center;gap:36px;padding:46px 50px 46px 45px;position:relative}
.mdm .box img{width:160px;flex:none}
.mdm .text h3{font-size:25px;font-weight:700;line-height:1.5}
.mdm .text p{margin-top:10px;font-size:17px;line-height:1.7}
.mdm .btn-more{margin-left:auto;flex:none;display:inline-flex;align-items:center;justify-content:center;width:250px;height:60px;background:var(--white);color:var(--green-text);font-size:18px;font-weight:700;text-decoration:none;border-radius:6px;transition:opacity .15s;position:relative}
.mdm .btn-more:hover{opacity:.8}

/* ==========================================================================
   料金
   ========================================================================== */
.ryokin{padding:88px 0 120px}
.ryokin .tables{display:grid;grid-template-columns:545px 545px;gap:0 27px;margin-top:100px;justify-content:center}
/* 先方戻し 9/8: オプション表の行を減らした分、左右の表の高さを揃える（余った高さは行に均等配分） */
.ryokin .tables>div{display:flex;flex-direction:column}
.ryokin .tables>div .ptable{flex:1}
.ryokin .tables>div .note{min-height:calc(11px * 1.7 * 2)}   /* 9/9 先方戻し: 注釈が1行/2行で表の高さがズレるため、注釈枠を2行分に固定して表の下端を揃える */
.device figcaption .tm{font-size:.6em;vertical-align:top;position:relative;top:.15em}
.ryokin .tax{font-size:16px;font-weight:400;color:var(--note);text-align:right;margin-bottom:6px}
.ptable{width:100%;border-collapse:separate;border-spacing:0;background:var(--white);font-size:17px}
.ptable caption{caption-side:top;background:var(--green-bright);color:var(--white);font-size:24px;font-weight:700;height:73px;line-height:73px;text-align:center;border-radius:6px 6px 0 0;padding:0}
.ptable th,.ptable td{border-bottom:1px solid var(--line);text-align:center;vertical-align:middle}
.ptable thead th{background:var(--green);color:var(--white);font-weight:700;height:86px;line-height:1.3;border-bottom:0;border-left:1px solid rgba(255,255,255,.35)}
.ptable thead th:first-child{background:#5cb47c;border-left:0;width:140px;font-size:16px}
.ptable thead th small{display:block;font-size:14px;font-weight:700}
.ptable tbody th{background:#b7dfc4;color:var(--green-text);font-weight:700;font-size:22px;width:140px;height:103px}
.ptable tbody td{font-size:25px;font-weight:700;border-left:1px solid var(--line)}
.ptable tbody tr:last-child th,.ptable tbody tr:last-child td{border-bottom:0}
.otable caption{background:var(--head-gray);height:75px;line-height:75px}
.otable tbody td{border-left:0}
.otable tbody th{background:var(--table-gray);color:var(--ink);font-size:17px;font-weight:500;width:195px;text-align:left;padding-left:20px;height:71px}
.otable tbody td{font-size:17px;font-weight:500;text-align:left;padding-left:15px}
.otable tbody td .row2{display:block}
.ryokin .tables .note{margin-top:10px}
.ryokin .cta-row{margin-top:100px}

/* ==========================================================================
   社会的証明（薄緑ハッチ）
   ========================================================================== */
.shakai{padding:88px 0 60px}
.stats{display:flex;justify-content:center;margin-top:60px}
.stat{text-align:center;padding:0 clamp(18px,4vw,60px);border-left:1px solid var(--green-text)}
.stat:first-child{border-left:0}
.stat .pill{display:inline-block;min-width:300px;background:var(--green);color:var(--white);font-size:23px;font-weight:700;line-height:39px;border-radius:999px}
.stat .value{margin-top:14px;font-size:37px;font-weight:700;line-height:1.1}
.stat .value .num{font-size:70px;color:var(--green-text);font-weight:500;letter-spacing:-.01em}
.cases{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:100px}
.case{background:var(--white);border-radius:12px;overflow:hidden;min-height:519px}
.case .visual img{width:100%}
.case .body{padding:8px 38px 30px}
.case .case-logo{margin:14px auto 10px;width:auto;max-height:70px}  /* SPデザインのみロゴを表示（spOnly） */
.case h3{font-size:21px;font-weight:700;text-align:center}
.case p{margin-top:14px;font-size:17px;font-weight:400;line-height:1.75}
.shakai .cta-row{margin-top:62px}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{padding:106px 0 78px}
.faq .list{width:800px;margin:96px auto 0;border-top:1px solid var(--faq-line)}
.faq-item{border-bottom:1px solid var(--faq-line)}
.faq-q{width:100%;display:flex;align-items:center;gap:26px;padding:22px 0;background:none;border:0;font:inherit;font-size:23px;font-weight:700;text-align:left;cursor:pointer;color:var(--ink)}
.faq-q .q{flex:none;width:45px;height:45px;border-radius:50%;background:var(--green);color:var(--white);font-size:21px;display:grid;place-items:center}
.faq-q .txt{flex:1}
.faq-q .tg{flex:none;width:25px;height:25px;position:relative;margin-right:10px}
.faq-q .tg::before,.faq-q .tg::after{content:"";position:absolute;background:var(--green-text);left:0;top:11.5px;width:25px;height:2px}
.faq-q .tg::after{transform:rotate(90deg);transition:transform .2s}
.faq-item.is-open .faq-q .tg::after{transform:rotate(0)}
.faq-a{display:none;padding:0 0 26px 0}
.faq-item.is-open .faq-a{display:flex;gap:26px}
.faq-a .a{flex:none;width:45px;height:45px;border-radius:50%;border:1.6px solid var(--green-text);color:var(--green-text);font-size:19px;font-weight:700;display:grid;place-items:center;margin-top:2px}
.faq-a .body{font-size:19px;line-height:1.75;flex:1}
.faq-a .body p{margin:0 0 .5em}
.faq-a .body ul{margin:.3em 0 .6em}
.faq-a .body a{color:var(--green-text);text-decoration:underline}
.faq-a .body sup,.faq-a .body small{font-size:.72em}
/* FAQ回答内の注釈・箇条書きもぶら下げインデント（先方戻し 9/8 追加分。既存LPの .indent と同じ） */
.faq-a .body .n1{text-indent:-1em;padding-left:1em}
.faq-a .body .n2{text-indent:-1.9em;padding-left:1.9em}

/* ==========================================================================
   流れ（濃緑ハッチ）
   ========================================================================== */
.nagare{padding:56px 0 100px}
.steps{display:flex;align-items:stretch;justify-content:center;gap:0;margin-top:80px}
.step{width:330px;background:var(--white);border-radius:12px;padding:30px 20px 28px 25px;position:relative}
.step .head{display:flex;align-items:center;gap:15px}
.step .no{flex:none;width:45px;height:45px;border-radius:50%;background:var(--green);color:var(--white);font-family:var(--num);font-size:21px;display:grid;place-items:center}
.step h3{font-size:23px;font-weight:700;color:var(--green-text)}
.step p{margin-top:10px;font-size:16px;padding-left:0;text-align:center;letter-spacing:-.01em}
.step .ill{margin:18px auto 0}
.step-arrow{width:65px;flex:none;display:grid;place-items:center}
.step-arrow::before{content:"";border-style:solid;border-width:24px 0 24px 33px;border-color:transparent transparent transparent var(--yellow)}
.nagare .notes{margin-top:18px}

/* ==========================================================================
   フォーム
   ========================================================================== */
.form{padding:108px 0 120px}
.form-area{width:964px;margin:0 auto;background:var(--white)}
.form-area .tabs{display:flex;gap:8px;height:75px}
.form-area .tab{flex:1;display:flex;align-items:center;justify-content:center;background:var(--line);color:var(--white);font-size:20px;font-weight:700;cursor:pointer;border:0;font-family:inherit}
.form-area .tab.is-on{background:var(--green)}
.form-area .panes{padding:20px 24px 24px}
.form-area iframe{width:100%;height:630px;border:0;display:block;background:var(--white)}
.form-area .hide{display:none}
.form .final{display:flex;justify-content:center;gap:28px;margin-top:88px}
.btn-big{display:inline-flex;align-items:center;justify-content:center;gap:24px;width:466px;height:90px;border-radius:6px;font-size:26px;font-weight:700;text-decoration:none;position:relative;transition:opacity .15s}
.btn-big:hover{opacity:.8}
.btn-big img{width:40px;flex:none}
.btn-big-est{background:var(--white);color:var(--pink-text);border:2px solid var(--pink)}
.btn-big-app{background:var(--pink);color:var(--white)}
.btn-big .ext{position:absolute;right:10px;top:8px;width:12px;height:12px;border:1.5px solid currentColor;border-radius:1px;opacity:.8}

/* ==========================================================================
   フローティングCTAバー（FV通過後に表示・フォームが見えたら非表示 / script.js）
   ========================================================================== */
.float-bar{position:fixed;left:0;right:0;bottom:0;z-index:800;background:var(--white);box-shadow:0 -2px 10px rgba(0,0,0,.10);opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .25s,transform .25s}
.float-bar.is-show{opacity:1;pointer-events:auto;transform:none}
.float-bar .inner{max-width:var(--container);margin:0 auto;display:flex;justify-content:center;gap:28px;padding:16px 20px 14px}
.float-bar .btn-big{width:min(466px,50%)}

/* ==========================================================================
   フッター
   ========================================================================== */
/* 構造は既存LP(price)の pagetop / #common_footer / #optage_common_footer に合わせている */
.pagetop{background:#f5f5f5;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pagetop_link{display:flex;justify-content:flex-end;max-width:1440px;margin:0 auto;text-decoration:none;color:var(--ink)}
.pagetop__inner{margin:0;display:flex;align-items:center;font-size:15px;font-weight:700;position:relative}
.pagetop_txt{padding:0 26px;line-height:40px}
/* 右端の矢印枠（42px幅・左右罫線）と上向き山形 */
.pagetop__inner::after{content:"";width:42px;height:40px;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.pagetop__inner::before{content:"";position:absolute;right:16px;top:50%;width:9px;height:9px;border-left:2px solid var(--ink);border-top:2px solid var(--ink);transform:translateY(-30%) rotate(45deg)}
#common_footer .footer__inner{text-align:center;padding:38px 0 0}
#common_footer .footer__logo{margin:0}
#common_footer .footer__logo img{width:205px;height:auto;display:inline-block}
#optage_common_footer{text-align:center}
#optage_common_footer_tax{margin:38px 0 0;font-size:11px;font-weight:400;padding:0 20px}
#optage_common_footer .logo{padding:22px 0 30px}
#optage_common_footer .logo img{width:140px;height:auto;display:inline-block}
#optage_common_footer .links{display:flex;justify-content:center;flex-wrap:wrap;padding:30px 0 0;font-size:11px;font-weight:400;border-top:8px solid #738892;position:relative}
#optage_common_footer .links::before{content:"";position:absolute;left:calc(50% - 680px);top:-8px;width:40px;height:8px;background:#ffcb19}
#optage_common_footer .links li a{color:var(--note);text-decoration:none;padding:0 9px;border-left:1px solid var(--line);display:inline-block;line-height:1.4}
#optage_common_footer .links li:first-child a{border-left:0}
#optage_common_footer .links li a:hover{text-decoration:underline}
#optage_common_footer .copyright{margin:0;font-size:11px;font-weight:400;padding:26px 0 30px;color:var(--note)}

/* ==========================================================================
   トースト（リンク先未定のボタン）
   ========================================================================== */
.toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%) translateY(20px);background:rgba(0,0,0,.8);color:#fff;font-size:14px;padding:10px 18px;border-radius:6px;opacity:0;pointer-events:none;transition:.25s;z-index:200}
.toast.show{opacity:1;transform:translateX(-50%)}

/* ==========================================================================
   レスポンシブ（タブレット以下）
   ========================================================================== */
@media (max-width:1180px){
  .fv .inner{min-height:0;display:block}
  .fv .copy{width:auto;padding:36px 24px 0}
  .fv .illust{position:static;width:min(600px,100%);margin:24px auto 0}
  .ryokin .tables,.ryokin .notes{grid-template-columns:1fr;gap:40px 0}
  .kaiketsu .map-wrap{width:auto}
  .kaiketsu .map-wrap img{width:100%}
  .kaiketsu .note{width:auto}
  .mdm .box{width:auto;margin:0 20px;flex-wrap:wrap}
  .mdm .btn-more{margin-left:0}
  .form-area{width:auto}
  .faq .list{width:auto}
  .devices{flex-wrap:wrap;gap:30px}
  .site-header .nav{display:none}   /* 1180px以下はナビが収まらないため非表示（ヘッダーCTAは残す） */
}
/* 既存LP(price)と同じブレークポイント 767px でスマホ表示に切替 */
@media (max-width:767px){
  :root{--header-h:64px}
  /* SPデザイン: ロゴ＋「法人向けSIM」＋ハンバーガー（CTAはメニュー内） */
  .site-header .inner{padding:0 8px 0 14px}
  .site-header .logo,.site-header .logo img{width:150px}
  .site-header .tagline{font-size:14px;margin-left:12px;display:inline}
  .site-header .actions{display:none}
  .burger{display:block;margin-left:auto}
  body.menu-open{overflow:hidden}
  /* FV: SPデザインは コピー → イラスト → ボタン2列 の順 */
  .fv .inner{display:flex;flex-direction:column;padding:28px 20px 24px}
  .fv .copy{display:contents}
  .fv .illust{order:5;position:static;width:min(560px,100%);margin:20px auto 0}
  /* SPデザイン実測: 750pt中 幅330pt×2・間隔25pt・高さ73pt（左右余白33pt）→ 横並び2列 */
  .fv .actions{order:10;flex-direction:row;gap:13px;margin-top:24px}
  .fv .actions .btn{flex:1;min-width:0;width:auto;height:50px;font-size:16px;border-radius:6px}
  /* お悩み: 1列 */
  .onayami{padding:64px 0 90px}
  .onayami .cards{grid-template-columns:1fr;gap:56px 0;margin-top:70px}
  .trouble{padding:44px 20px 36px}
  .trouble h3{font-size:19px}
  /* mineo BiZなら: ロゴを見出しに含める／説明文は上下罫線 */
  .kaiketsu{padding:96px 0 40px}
  .kaiketsu .brand{display:inline;font-size:22px}
  .kaiketsu .brand img{display:inline;width:150px;height:auto;vertical-align:middle;margin-right:6px}
  .kaiketsu .sec-title{display:inline;font-size:22px;line-height:1.6}
  .kaiketsu .sec-title::after{margin-top:16px}
  .kaiketsu .map-copy{border-top:1px solid #999;border-bottom:1px solid #999;padding:14px 0;text-align:center}
  /* MDM: 見出し → 画像 → 本文 → ボタン を縦積み */
  .mdm .box{flex-direction:column;text-align:center;padding:36px 24px 32px;gap:0}
  .mdm .text{display:contents}
  .mdm .box img{order:2;margin:20px auto 0;width:170px}
  .mdm .text h3{order:1;font-size:19px;letter-spacing:-.02em}
  .mdm .text p{order:3;margin-top:20px;font-size:15px}
  .mdm .btn-more{order:4;margin:26px auto 0;width:min(260px,100%)}
  /* 導入事例: SPデザインはロゴあり・本文左寄せ */
  .case .body{padding:0 24px 28px}
  /* フローティングCTA: 2列 */
  .float-bar .inner{gap:10px;padding:10px 12px}
  .float-bar .btn-big{width:50%;height:60px;font-size:17px;gap:10px}
  .float-bar .btn-big img{width:26px}
  /* フッター: リンクは1行ずつ・注記は左寄せ */
  #optage_common_footer_tax{text-align:left;padding:0 16px}
  #optage_common_footer .links{flex-direction:column;padding:0}
  #optage_common_footer .links li a{display:block;padding:15px 16px;background:#f1f1f1;border-left:0;border-bottom:1px solid var(--white);text-align:left;font-size:13px}
  .form-area .tabs{height:60px;gap:6px}
  .form-area .tab{font-size:15px;line-height:1.3;padding:0 6px}
  .form-area .panes{padding:12px}
  .keizai .cards,.junan .cards,.cases{grid-template-columns:1fr}
  .fv .lead{font-size:14px}
  .merit,.feature,.case{min-height:0}
  .yobi .body{flex-direction:column;padding:28px 24px}
  .yobi .body img{width:100%}
  .stats{flex-direction:column;gap:28px}
  .stat{border-left:0;padding:0}
  .steps{flex-direction:column;align-items:center}
  .step{width:min(330px,100%)}
  .step-arrow{height:60px}
  .step-arrow::before{transform:rotate(90deg)}
  .cta-row,.form .final,.tanmatsu .links{flex-direction:column;align-items:center;gap:16px}
  .btn-big{width:min(466px,100%)}
  .sec-title{font-size:28px}
  .sec-lead{font-size:16px}
  .fv h1{font-size:36px;white-space:normal;line-height:1.25}.fv h1 .big{font-size:54px}.fv h1 .mid{font-size:28px}.fv h1 .sim{font-size:44px}
  .fv .badge{font-size:17px;white-space:normal;line-height:1.35;padding:8px 18px;border-radius:24px}
  .fv .price .yen{font-size:52px}
  .fv .price .label,.fv .price .unit{font-size:24px}
  .trouble{min-height:0}
  .kaiketsu .map-copy{position:static;margin-bottom:16px;font-size:19px}
  .kaiketsu .map-wrap{margin-top:60px}
  .merit h3,.feature h3{font-size:23px}
  .yobi .head{font-size:22px;padding:20px 16px}
  .ryokin .tables{margin-top:56px}
  .ptable thead th:first-child,.ptable tbody th{width:88px}
  .ptable thead th{font-size:14px}
  .ptable thead th small{font-size:11px}
  .ptable tbody th{font-size:17px;height:78px}
  .ptable tbody td{font-size:20px}
  .otable tbody th{width:130px;padding-left:10px;font-size:14px}
  .otable tbody td{font-size:14px;padding-left:10px}
  .stat .pill{min-width:0;padding:0 40px}
  .stat .value .num{font-size:56px}
  .cases{margin-top:56px}
  .faq .list{margin-top:48px}
  .faq-q{font-size:17px;gap:14px;padding:16px 0}
  .faq-q .q,.faq-a .a{width:36px;height:36px;font-size:16px}
  .faq-item.is-open .faq-a{gap:14px}
  .faq-a .body{font-size:15px}
  .mdm .box{padding:28px 24px;gap:20px}
  .mdm .text h3{font-size:20px}
  .btn-big{font-size:22px}
  #optage_common_footer .links::before{left:20px}
  .btn{min-width:0;width:min(340px,100%)}
  .tanmatsu .links .btn{min-width:0}
  .devices{display:grid;grid-template-columns:1fr 1fr;gap:36px 12px;margin-top:56px;align-items:end}
  .device figure img{max-height:190px}
  .device figcaption{font-size:17px;margin-top:16px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto}}
/* ===== 9/9 LP① SP 全面突合（mosby SPデザイン 750px基準 → 1/2 実測。design_compare.py で高さ差+24%を検出） ===== */
@media (max-width:767px){
  /* ヘッダー */
  :root{--header-h:60px}
  .site-header .inner{padding:0 10px 0 16px}
  .site-header .logo,.site-header .logo img{width:103px}
  .site-header .tagline{font-size:10.5px;margin-left:16px}
  /* 共通 */
  .sec-title{font-size:20px;line-height:1.7;letter-spacing:0}
  .sec-title::after{width:40px;height:3px;margin-top:14px}
  .sec-lead{font-size:13px;line-height:1.75;margin-top:22px}
  .note{font-size:9px;line-height:1.5}
  .notes{margin-top:26px}
  .cta-row{margin-top:60px;gap:22px}
  .cta-row .btn,.btn{width:254px;min-width:0;height:59px;font-size:15px;padding:0 16px;gap:10px}
  /* FV（SPデザイン: バッジ13px・h1 26px・リード10.5px・価格40px） */
  .fv{background-image:none}
  .fv .inner{padding:16px 20px 0}
  .fv .badge{font-size:13px;padding:6px 14px;line-height:1.3;border-radius:16px}
  .fv h1{margin-top:8px;font-size:28px;line-height:1.3;letter-spacing:-.02em;white-space:nowrap}
  .fv h1 .big{font-size:40px}.fv h1 .mid{font-size:22px}.fv h1 .sim{font-size:32px}
  .fv .lead{margin-top:12px;font-size:10.5px;line-height:2.05;letter-spacing:-.01em}
  .fv .price{margin-top:14px;padding-bottom:3px}
  .fv .price .label,.fv .price .unit{font-size:20px}
  .fv .price .unit{padding-top:10px}
  .fv .price .yen{font-size:40px}
  .fv .price .tax{font-size:8px;top:-3px}
  .fv .price .ref{font-size:9px;margin-left:10px}
  .fv .illust{width:330px;max-width:100%;margin:10px auto 0}
  .fv .actions{margin:12px -4px 0;gap:13px;align-self:stretch}
  .fv .actions .btn{width:auto;height:37px;font-size:15px;border-radius:3px;padding:0 8px;gap:8px}
  .fv .notes{background:var(--bg-light);padding:28px 0 20px}
  /* お悩み */
  .onayami{padding:32px 0 68px}
  .onayami .cards{margin-top:70px;gap:61px 0}
  .trouble{width:272px;max-width:100%;margin:0 auto;min-height:329px;padding:39px 10px 24px;border-radius:10px}
  .trouble .badge{width:66px;height:66px;top:-34px}
  .trouble .badge small{font-size:12.5px}
  .trouble .badge b{font-size:26px}
  .trouble h3{font-size:17px;line-height:1.65}
  .trouble .ill{margin-top:26px;max-height:165px}
  /* mineo BiZ なら */
  .kaiketsu{padding:48px 0 60px}
  .kaiketsu .brand{display:flex;justify-content:center;align-items:flex-end;gap:8px;font-size:20px;line-height:1}
  .kaiketsu .brand img{display:block;width:135px;position:relative;top:2px;margin:0}
  .kaiketsu .sec-title{display:block;font-size:20px;line-height:1.7;margin-top:6px}
  .kaiketsu .map-copy{font-size:17px;line-height:1.6;padding:12px 0;margin:36px 0 0}
  .kaiketsu .map-wrap{width:330px;max-width:100%;margin:30px auto 0}
  .kaiketsu .map-wrap img{width:100%;height:auto}
  .kaiketsu .note{width:auto;margin-top:30px}
  .kaiketsu .cta-row{margin-top:56px}
  /* 経済性 */
  .keizai{padding:65px 0 60px}
  .keizai .sec-lead{font-size:15px;font-weight:700;margin-top:14px}
  .keizai .cards{gap:41px 0;margin-top:60px}
  .merit{width:272px;max-width:100%;margin:0 auto;padding:36px 16px 24px;border-radius:10px}
  .merit h3,.feature h3{font-size:20px;line-height:1.4}
  .merit p{font-size:13px;margin-top:12px;line-height:1.7}
  .merit .ill{margin-top:22px;max-height:170px}
  .keizai .notes{margin-top:25px}
  .yobi{width:272px;max-width:100%;margin:60px auto 0;border-radius:10px}
  .yobi .head{font-size:20px;line-height:1.55;padding:22px 16px 0;background:var(--white)}
  .yobi .body{padding:16px 24px 26px;gap:22px}
  .yobi .body p{font-size:13px;line-height:1.75;text-align:left}
  /* 柔軟さ */
  .junan{padding:65px 0 60px}
  .junan .cards{gap:35px 0;margin-top:60px}
  .feature{width:272px;max-width:100%;margin:0 auto;padding:30px 16px 24px;border-radius:10px}
  .feature p{font-size:13px;margin-top:12px;line-height:1.7}
  .feature .ill{margin-top:20px;max-height:120px}
  .junan .note{margin-top:26px}
  .junan .cta-row{margin-top:60px}
  /* 端末 */
  .tanmatsu{padding:60px 0 60px}
  .devices{gap:28px 20px;margin-top:40px;width:272px;max-width:100%;margin-left:auto;margin-right:auto}
  .device figure img{max-height:135px}
  .device figcaption{font-size:13px;margin-top:12px}
  .tanmatsu .links{margin-top:50px;gap:22px}
  .tanmatsu .links .btn{width:254px;height:59px;font-size:15px}
  /* MDM */
  .mdm{padding:0 0 60px}
  .mdm .box{width:300px;max-width:calc(100% - 40px);margin:0 auto;padding:28px 16px 30px;border-radius:12px}
  .mdm .text h3{font-size:16px;line-height:1.65;letter-spacing:-.01em}
  .mdm .box img{width:120px;margin-top:18px}
  .mdm .text p{font-size:13px;line-height:1.7;margin-top:18px}
  .mdm .btn-more{width:166px;height:36px;font-size:15px;margin-top:22px}
  /* 料金 */
  .ryokin{padding:60px 0 60px}
  .ryokin .sec-title{letter-spacing:-.02em}
  .ryokin .tables{margin:32px -4px 0;gap:30px 0}
  .ryokin .tax{font-size:10px;margin-bottom:6px}
  .ptable caption{font-size:17px;height:40px;line-height:40px;border-radius:4px 4px 0 0}
  .ptable thead th{height:48px;font-size:11px;line-height:1.3}
  .ptable thead th:first-child,.ptable tbody th{width:70px;font-size:11px}
  .ptable thead th small{font-size:9px}
  .ptable tbody th{font-size:15px;height:64px}
  .ptable tbody td{font-size:15px}
  .ryokin .tables .note{margin-top:8px}
  .otable caption{height:40px;line-height:40px}
  .otable tbody th{width:138px;padding-left:10px;font-size:13px;height:44px;line-height:1.3}
  .otable tbody td{font-size:13px;padding-left:12px;line-height:1.4}
  .ryokin .cta-row{margin-top:60px}
  /* 導入実績・事例 */
  .shakai{padding:50px 0 60px}
  .stats{margin-top:30px;gap:0;align-items:center}
  .stat{padding:18px 0;border-top:1px solid var(--green-text);width:272px}
  .stat:first-child{border-top:0}
  .stat .pill{width:202px;padding:0;font-size:15px;line-height:26px}
  .stat .value{margin-top:12px;font-size:24.8px}
  .stat .value .num{font-size:60px}
  .cases{margin-top:56px;gap:31px 0}
  .case{width:272px;max-width:100%;margin:0 auto;border-radius:10px}
  .case .body{padding:0 26px 26px}
  .case .case-logo{max-height:52px;margin:14px auto 8px}
  .case h3{font-size:17px}
  .case p{font-size:13px;margin-top:10px;line-height:1.7}
  .shakai .cta-row{margin-top:50px}
  /* FAQ */
  .faq{padding:50px 0 60px}
  .faq .list{margin-top:36px}
  .faq-q{font-size:13px;padding:16px 0;gap:14px}
  .faq-q .q,.faq-a .a{width:24px;height:24px;font-size:12px}
  .faq-q .tg{width:14px;height:14px;margin-right:6px}
  .faq-q .tg::before,.faq-q .tg::after{width:14px;top:6px}
  .faq-item.is-open .faq-a{padding-bottom:18px}
  .faq-a .body{font-size:13px}
  /* 流れ */
  .nagare{padding:50px 0 60px}
  .steps{margin-top:40px}
  .step{width:272px;padding:22px 16px 24px;border-radius:10px}
  .step .no{width:28px;height:28px;font-size:15px}
  .step .head{gap:10px}
  .step h3{font-size:17px}
  .step p{font-size:13px;margin-top:8px}
  .step .ill{margin-top:14px;max-height:90px}
  .step-arrow{height:44px}
  .nagare .notes{margin-top:24px}
  /* フォーム */
  .form{padding:21px 0 46px}
  .form-area{margin:0 -4px}
  .form-area .tabs{height:47px;gap:8px}
  .form-area .tab{font-size:15px}
  .form .final{margin-top:40px;gap:14px}
  .form .final .btn-big,.btn-big{width:min(321px,100%);height:75px;font-size:17px;gap:14px}
  .btn-big img{width:30px}
}

/* ===== 9/10 先方（入谷さん）コーディングCB: SP ===== */
@media (max-width:767px){
  /* 画像の縦横比（max-heightだけだと幅が属性値のまま潰れる） */
  .merit .ill,.feature .ill,.step .ill,.trouble .ill,.device figure img,.case .case-logo{width:auto;max-width:100%}
  /* 「mineo BiZなら」ロゴのオフセットを外す（position:relative→static） */
  .kaiketsu .brand img{position:static;top:auto}
  /* 切り欠きはSPデザインの大きさ（109×28）に */
  .notch::before{border-width:28px 55px 0 55px}
  .kaiketsu{padding-top:60px}
  .keizai{padding-top:70px}
  /* FVの文字サイズをSPデザインに合わせて拡大 */
  .fv .badge{font-size:15px;padding:7px 16px;border-radius:18px}
  .fv h1{font-size:min(34px,9vw);line-height:1.25;letter-spacing:-.02em}
  .fv h1 .big{font-size:min(48px,12.6vw)}.fv h1 .mid{font-size:min(26px,6.9vw)}.fv h1 .sim{font-size:min(38px,10vw)}
  .fv .lead{font-size:12px;line-height:1.95}
  .fv .price .label,.fv .price .unit{font-size:26px}
  .fv .price .unit{padding-top:12px}
  .fv .price .yen{font-size:52px}
  .fv .price .tax{font-size:9px}
}
