/* SAKIRAKU LP — 機能ページ 5 枚の共通スタイル
 *
 * 見た目は既存の法的ページ(terms.html 等)と同じものを移植している。
 * 新しい配色は作らない(変数をそのまま使う)。
 *
 * ★既存ページは触っていない。既存ページは各自の <style> を持ったまま。
 *   新規 5 枚だけがこのファイルを読む(CSS の重複を避けるため)。
 */

:root{
  --navy:#19294a; --navy2:#26406f; --blue:#b07b3e; --blue-deep:#8a5f2a;
  --blue-soft:#f4ecda; --bronze-face:#a06a2c; --canvas:#f5f8fc;
  --ink:#2a2f3a; --muted:#6d7280; --line:#e5eaf1;
  --g:"Zen Kaku Gothic New", sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--g);color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased;line-height:1.85;overflow-x:hidden;}
.wrap{max-width:1180px;margin:0 auto;padding:0 40px;}

/* ★<img> に width/height 属性を書いているため、CSS で打ち消さないと
     属性の寸法がそのまま効いて横にはみ出す(2026-08-11 に実際に起きた)。 */
img{max-width:100%;height:auto;}

header{background:var(--navy);border-bottom:1px solid rgba(255,255,255,.09);position:relative;z-index:5;}
nav{display:flex;align-items:center;justify-content:space-between;height:74px;}
.brand img{height:34px;width:auto;display:block;}
.navlinks{display:flex;align-items:center;gap:32px;}
.navlinks a{font-size:14.5px;color:rgba(255,255,255,.82);text-decoration:none;font-weight:500;transition:color .2s;}
.navlinks a:hover{color:#fff;}
.navcta{display:flex;align-items:center;gap:20px;}
.navcta .login{font-size:14px;color:#fff;text-decoration:none;font-weight:700;}
.btn-sm{display:inline-block;text-decoration:none;background:var(--bronze-face);color:#fff;font-family:var(--g);font-weight:700;font-size:14px;padding:10px 18px;border-radius:9px;border:none;cursor:pointer;transition:.2s;}
.btn-sm:hover{background:#895a22;}

.doc-head{padding:52px 0 4px;}
.doc-head .kicker{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.08em;color:var(--blue-deep);background:var(--blue-soft);padding:6px 14px;border-radius:999px;margin-bottom:18px;}
.doc-head h1{font-family:var(--g);font-weight:900;color:var(--navy);font-size:34px;line-height:1.45;letter-spacing:.01em;}

.feat-wrap{max-width:900px;margin:0 auto;padding:24px 40px 70px;}
.lead-p{font-size:16px;color:#46506a;line-height:1.95;margin-bottom:46px;}
.lead-p b{color:var(--navy);font-weight:700;}

/* 節の見出し */
.blk{margin-bottom:52px;}
.blk:last-of-type{margin-bottom:0;}
.blk > h2{font-size:23px;font-weight:900;color:var(--navy);line-height:1.5;margin-bottom:22px;letter-spacing:.005em;}

/* ② こんなことありませんか?(困りごと 3 枚) */
.pains{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.pain{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px 22px;box-shadow:0 16px 36px -30px rgba(25,41,74,.4);}
.pain h3{font-size:15.5px;font-weight:700;color:var(--navy);line-height:1.6;margin-bottom:9px;}
.pain p{font-size:13.5px;color:#5b6070;line-height:1.85;}

/* ③ SAKIRAKU ならこうなります */
.solves{display:flex;flex-direction:column;gap:20px;}
.solve{display:grid;grid-template-columns:38px 1fr;gap:16px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 24px;}
.solve .n{width:38px;height:38px;border-radius:50%;background:var(--blue-soft);color:var(--blue-deep);font-weight:900;font-size:15px;display:flex;align-items:center;justify-content:center;}
.solve h3{font-size:16.5px;font-weight:700;color:var(--navy);line-height:1.6;margin-bottom:6px;}
.solve p{font-size:14.5px;color:#4c515b;line-height:1.9;}

/* ④ 実際の画面 */
.shots{display:flex;flex-direction:column;gap:34px;}
.shot{margin:0;}
.shot .frame{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 22px 48px -34px rgba(25,41,74,.5);}
.shot .bar{display:flex;gap:6px;padding:11px 14px;background:#f3f6fb;border-bottom:1px solid var(--line);}
.shot .bar span{width:9px;height:9px;border-radius:50%;background:#cdd4df;}
.shot .frame img{display:block;width:100%;}

/* 元が小さい写真(ダイアログ等)は原寸より大きく引き伸ばさない。
   引き伸ばすと**ぼやける**うえ、PC では画面いっぱいになって見にくい(田中さん 2026-08-15)。
   使う側で --shot-w に元画像の幅を入れる。 */
.shot.narrow .frame{max-width:var(--shot-w,720px);margin-left:auto;margin-right:auto;}
.shot figcaption{margin-top:13px;font-size:13.5px;color:var(--muted);line-height:1.75;text-align:center;}

/* スマホは 2 種類(日ごと / 月の番割表)を横に並べて、両方を一度に見せる。
   切り替え式にしないのは、この画面に JS を持ち込まないため
   (本番の CSP が script-src 'self' でインライン <script> を弾く)。
   幅が足りないときは flex-wrap で自動的に縦積みになる。 */
.shot.phones .phone-row{display:flex;justify-content:center;align-items:flex-start;gap:30px;flex-wrap:wrap;}
.shot.phones .phone-col{flex:0 0 auto;}
.shot.phones .frame{width:238px;border:8px solid #1f2a44;border-radius:26px;box-shadow:0 26px 50px -30px rgba(25,41,74,.55);}
.shot.phones .bar{display:none;}
.phone-label{margin-top:11px;text-align:center;font-size:13px;font-weight:700;color:var(--navy);}

/* ⑤ よくある質問 */
.faq{border-top:1px solid var(--line);}
.faq div{border-bottom:1px solid var(--line);padding:20px 2px;}
.faq dt{font-size:15.5px;font-weight:700;color:var(--navy);line-height:1.7;margin-bottom:8px;}
.faq dd{font-size:14.5px;color:#4c515b;line-height:1.9;}

/* ⑥ 資料請求へ */
.cta{background:#fff;border:1px solid var(--line);border-radius:16px;padding:38px 34px;text-align:center;box-shadow:0 20px 46px -30px rgba(25,41,74,.25);margin-top:56px;}
.cta h2{font-size:21px;font-weight:900;color:var(--navy);margin-bottom:12px;line-height:1.5;}
.cta p{font-size:14.5px;color:#4c515b;line-height:1.9;margin-bottom:22px;}
.cta a{display:inline-block;text-decoration:none;background:var(--bronze-face);color:#fff;font-weight:700;font-size:16px;padding:16px 38px;border-radius:11px;transition:.2s;}
.cta a:hover{background:#895a22;}

/* ⑦ 他の機能ページへ */
.crosslinks{display:flex;flex-wrap:wrap;gap:10px 14px;margin-top:34px;padding-top:26px;border-top:1px solid var(--line);}
.crosslinks a{font-size:14px;color:var(--navy2);text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 18px;transition:.2s;}
.crosslinks a:hover{color:var(--blue-deep);border-color:var(--blue);}

.back{display:inline-flex;align-items:center;gap:7px;margin-top:30px;color:var(--navy);font-weight:700;font-size:14.5px;text-decoration:none;}
.back:hover{color:var(--blue-deep);}

.foot{background:var(--navy);padding:52px 0 40px;}
.foot .wrap{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:24px;}
.foot img{height:30px;width:auto;}
.foot .co{font-size:12.5px;line-height:1.9;margin-top:14px;color:rgba(255,255,255,.6);}
.foot .fl-links{display:flex;gap:26px;flex-wrap:wrap;}
.foot .fl-links a{color:rgba(255,255,255,.78);text-decoration:none;font-size:13.5px;}
.foot .cp{width:100%;border-top:1px solid rgba(255,255,255,.12);margin-top:16px;padding-top:18px;font-size:12px;color:rgba(255,255,255,.45);}

@media(max-width:860px){
  .pains{grid-template-columns:1fr;}
}
@media(max-width:720px){
  .wrap{padding:0 20px;}
  .feat-wrap{padding:20px 20px 50px;}
  .navlinks{display:none;}
  .doc-head h1{font-size:24px;}
  .blk > h2{font-size:19px;}
  .solve{grid-template-columns:32px 1fr;gap:12px;padding:20px 18px;}
  .solve .n{width:32px;height:32px;font-size:14px;}
  .cta{padding:30px 20px;}
  .cta a{width:100%;padding:15px 20px;}
  .foot .wrap{flex-direction:column;gap:20px;}
}
