/* ===== Minimal Reset（軽量） ===== */
*,
*::before,
*::after { box-sizing: border-box; }

body,h1,h2,h3,h4,h5,h6,p,ul,ol,figure,blockquote,dl,dd { margin:0; }
ul,ol { padding:0; list-style:none; }
figure { margin:0; } /* ← figureの左右40px問題を確実に消す */
img,picture { max-width:100%; display:block; }
input,button,textarea,select { font:inherit; }
button { background:none; border:none; padding:0; cursor:pointer; }
a { text-decoration:none; color:inherit; }

:root{
  --text:#111;
  --muted:#666;
  --line:#e8e8e8;
  --bg:#fff;
  --bg2:#fafafa;
  --radius:18px;
  --max:1100px;
}

html{ scroll-behavior:smooth; }
body{
  font-family: system-ui,-apple-system,"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.9;
}

.container{ max-width:var(--max); margin:0 auto; padding:0 16px; }

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(1.2) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 5px;
}
.brand{ display:flex; align-items:center; gap:10px; white-space:nowrap; }
.brand-mark{ width:14px;height:14px;border:2px solid var(--text); border-radius:99px; }

/* ロゴ画像 */
.brand-logo{ height:30px; width:auto; display:block; }


.nav{ display:flex; align-items:center; gap:14px; }
.nav a{ color:var(--muted); font-size:14px; padding:8px 6px; }
.nav a:hover{ color:var(--text); }
.nav-cta{
  border:1px solid var(--text);
  border-radius:999px;
  padding:8px 12px !important;
  color:var(--text) !important;
}
.nav-cta:hover{ background:var(--text); color:#fff !important; }

.nav-toggle{
  display:none;
  width:42px;height:42px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:10px;
}
.nav-toggle span{ display:block; height:2px; background:#111; margin:5px 0; }

.mobile-nav{ border-top:1px solid var(--line); padding:10px 16px 16px; }
.mobile-nav a{ display:block; padding:10px 2px; color:var(--muted); }
.mobile-nav a:hover{ color:var(--text); }

/* Hero（縦積み） */
.hero{ padding:42px 0 26px; }
.hero-stack{ display:block; }

.eyebrow{
  margin:0 0 10px;
  font-size:12px;
  color:var(--muted);
  letter-spacing:.18em;
  text-transform:uppercase;
}
.hero-title{
  margin:0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height:1.18;
  letter-spacing:.02em;
}
.hero-lead{ margin:0 0 18px; color:var(--muted); }
.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.hero-note{ margin:14px 0 0; font-size:12px; color:var(--muted); }

.hero-visual{
  margin-top: 6px;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap:10px;
}

/* 長尺画像：枠内スクロール */
.hero-frame{
  width:100%;
  max-width:420px;
  /*height:640px;
  overflow-y:auto;
  overflow-x:hidden;*/
  border:1px solid var(--line);
  background: var(--bg2);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.hero-frame img{ width:100%; height:auto; display:block; }
.hero-frame-note{ margin-top: 20px; font-size:12px; color:var(--muted); }

/* Sections */
.section{ padding:52px 0; border-top:1px solid var(--line); }
.section.alt{ background: var(--bg2); }
.section.cta{ background:#111; color:#fff; }
.section.cta .kicker{ color: rgba(255,255,255,.7); }
.section.cta h2{ color:#fff; }
.section.cta .muted{ color: rgba(255,255,255,.78); }

.section-head{ margin-bottom:18px; }
.kicker{
  margin:0 0 6px;
  font-size:12px;
  color:var(--muted);
  letter-spacing:.18em;
  text-transform:uppercase;
}
.section h2{ margin:0; font-size:24px; letter-spacing:.02em; }

.cards{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top:18px; }
.card{ border:1px solid var(--line); border-radius: var(--radius); padding:18px; background:#fff; }
.card h3{ margin:0 0 8px; font-size:16px; letter-spacing:.02em; }
.card p{ margin:0; color:var(--muted); }

.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; margin-top:16px; }
.subhead{ margin:0 0 10px; font-size:16px; }
.list{ margin:10px 0 0; padding-left: 1.1em; color:var(--muted); list-style:disc; }
.pill-grid{ display:flex; flex-wrap:wrap; gap:10px; margin:8px 0 12px; }
.pill{ display:inline-flex; border:1px solid var(--line); border-radius:999px; padding:7px 12px; font-size:13px; color:#333; background:#fff; }
.muted{ color:var(--muted); margin:0; }

/* Timeline */
.timeline{ margin-top:18px; display:grid; gap:12px; }
.tl-item{ display:grid; grid-template-columns: 52px 1fr; gap:12px; border:1px solid var(--line); border-radius: var(--radius); padding:16px; background:#fff; }
.tl-num{ width:44px; height:44px; border:1px solid var(--line); border-radius:14px; display:flex; align-items:center; justify-content:center; font-weight:700; }
.tl-body h3{ margin:0 0 6px; font-size:16px; }
.tl-body p{ margin:0; color:var(--muted); }

/* CTA */
.cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.cta-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 16px; border-radius:999px;
  border:1px solid var(--text);
  color:var(--text); background:transparent;
  font-weight:600; letter-spacing:.02em;
}
.btn.primary{ background: var(--text); color:#fff; }
.btn.primary:hover{ opacity:.92; }
.btn.ghost:hover{ background: rgba(17,17,17,.06); }
.section.cta .btn{ border-color:#fff; color:#fff; }
.section.cta .btn.primary{ background:#fff; color:#111; }

/* Footer */
.site-footer{ border-top:1px solid var(--line); padding:26px 0 34px; }
.footer-inner{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.footer-brand{ font-weight:700; margin-bottom:6px; }
.footer-links{ display:flex; gap:14px; flex-wrap:wrap; }
.footer-links a{ color:var(--muted); border-bottom:1px solid transparent; }
.footer-links a:hover{ color:var(--text); border-bottom-color: var(--line); }
.footer-meta{ color:var(--muted); }

.br-sm{ display:none; }

@media (max-width: 920px){
  .cards{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
  .br-sm{ display:inline; }
}

/* ===== Hamburger fix for flex ===== */
@media (max-width: 760px){
  .nav-toggle{
    display: inline-flex;
    flex-direction: column;     /* ← 縦に積む */
    gap: 5px;                   /* ← 線の間隔 */
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span{
    width: 18px;                /* ← これがないと幅0になりがち */
    height: 2px;
    background: #111;
    display: block;
    margin: 0;                  /* gapで間隔を作るのでmarginは消す */
    flex: none;
    border-radius: 2px;
  }
}

@media (max-width: 760px){
  .nav{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
/*  .brand-logo{ height:18px; } */

  /* スマホは画像を幅いっぱい（ヒーローだけ） */
  .hero .container{ padding-left:0; padding-right:0; }
  .hero-copy{ padding: 0 16px; }
  .hero-visual{ align-items:stretch; }
  .hero-frame{
    max-width:100%;
    /*height:70vh;*/
    border-radius:0;
    border-left:none;
    border-right:none;
  }
}


/* ===== Footer responsive fix ===== */
@media (max-width: 760px){
  .footer-inner{
    flex-direction: column;   /* ← 縦並びにする */
    gap: 20px;
  }

  .footer-meta{
    font-size: 12px;
    line-height: 1.6;
  }
}


  /* プライバシーポリシー */
.privacy-wrap{ max-width: 900px; margin:0 auto; padding: 40px 20px 80px; }
.privacy-wrap h1{ font-size: 28px; margin-bottom: 10px; }
.privacy-wrap h2{ font-size: 16px; margin-top: 24px; margin-bottom: 8px; }
.privacy-wrap p, .privacy-wrap li{ color:#555; line-height:1.9; font-size:14px; }
.privacy-wrap ul{ padding-left: 1.2em; list-style: disc; }
.privacy-footer{ margin-top: 40px; font-size: 12px; color:#888; }
