:root{
  --bg:#0B1220;
  --panel:#0F1A33;
  --panel2:#0D1730;
  --text:#EAF0FF;
  --muted:#B8C4E6;
  --muted2:#8FA2D6;
  --line:rgba(234,240,255,.12);
  --accent:#7AA7FF;
  --accent2:#A6FFCB;
  --warn:#FFB86B;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius:18px;
  --radius2:28px;
  --max:1120px;
  --lh:1.75;
  --header-height: 80px; /* 固定ヘッダーの高さ（PC） */
}
*{box-sizing:border-box}
html{
  scroll-padding-top: var(--header-height); /* 固定ヘッダーの高さ分のオフセット（アンカー遷移用） */
  height:100%;
}
/* すべてのidを持つ要素にscroll-margin-topを設定（アンカー遷移時の被り防止） */
[id]{
  scroll-margin-top: var(--header-height);
}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: radial-gradient(1200px 700px at 20% 0%, rgba(122,167,255,.18), transparent 60%),
              radial-gradient(900px 600px at 80% 10%, rgba(166,255,203,.10), transparent 55%),
              linear-gradient(180deg, #070B14 0%, #0B1220 40%, #070B14 100%);
  color:var(--text);
  line-height:var(--lh);
  letter-spacing:.2px;
}
a{color:inherit; text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding:0 18px}
.topbar{
  position:fixed; top:0; left:0; right:0; z-index:20;
  background: rgba(11,18,32,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:12px 0;
}
.brand{display:flex; align-items:center; gap:10px; min-width: 220px; color:inherit; text-decoration:none}
.brand:hover{opacity:0.9}
.logo{
  height:34px; width:auto; display:block;
  flex-shrink:0;
  object-fit:contain; /* アスペクト比を維持 */
}
.brand strong{display:block; font-size:14px; letter-spacing:.6px}
.brand span{display:block; font-size:12px; color:var(--muted2)}
nav{display:flex; gap:14px; align-items:center; flex-wrap:wrap; justify-content:flex-end}
nav a{
  font-size:13px; color:var(--muted);
  padding:8px 10px; border-radius:12px;
  border:1px solid transparent;
}
nav a:hover{border-color:var(--line); background:rgba(255,255,255,.04); color:var(--text)}
.cta{
  display:inline-flex; align-items:center; gap:10px;
  background: linear-gradient(135deg, rgba(122,167,255,.95), rgba(122,167,255,.72));
  color:#061021;
  padding:10px 14px; border-radius:14px;
  box-shadow: 0 10px 25px rgba(122,167,255,.18);
  font-weight:700; font-size:13px;
}
.cta.secondary{
  background: transparent;
  border:1px solid var(--line);
  color:var(--text);
  box-shadow:none;
  font-weight:600;
}
.cta:hover{filter:brightness(1.03)}
main > *:first-child{
  margin-top:var(--header-height); /* 固定ヘッダーの高さ分のマージン */
}
.hero{
  padding:56px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}
.card{
  border:1px solid var(--line);
  background: rgba(15,26,51,.55);
  box-shadow: var(--shadow);
  border-radius: var(--radius2);
  overflow:hidden;
}
.card.pad{padding:22px}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  font-size:12px; color:var(--muted);
  border:1px solid var(--line);
  padding:6px 10px; border-radius:999px;
  background: rgba(255,255,255,.03);
}
h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height:1.22;
  letter-spacing:.4px;
}
.lead{
  margin:0;
  color:var(--muted);
  font-size:15px;
  max-width: 60ch;
}
.hero-actions{display:flex; gap:12px; margin-top:16px; flex-wrap:wrap}
.panel{
  border-top:1px solid var(--line);
  margin-top:18px; padding-top:16px;
  display:grid; gap:12px;
}
.pill{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px 12px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(13,23,48,.55);
}
.pill b{display:block; font-size:13px}
.pill p{margin:2px 0 0; color:var(--muted); font-size:13px}
.dot{
  flex:0 0 auto;
  width:10px; height:10px; border-radius:999px;
  margin-top:6px;
  background: var(--accent2);
  box-shadow: 0 0 0 6px rgba(166,255,203,.10);
}

.right{
  display:flex; flex-direction:column; gap:12px; height:100%;
}
.notice{
  border:1px solid rgba(255,184,107,.35);
  background: rgba(255,184,107,.10);
  border-radius: var(--radius2);
  padding:16px 16px;
}
.notice h2{margin:0 0 6px; font-size:14px; letter-spacing:.4px}
.notice p{margin:0; color:var(--muted); font-size:13px}
.mini{
  border-top:1px dashed rgba(234,240,255,.18);
  margin-top:10px; padding-top:10px;
  color:var(--muted2); font-size:12px;
}
.stats{
  display:grid; gap:12px;
  grid-template-columns: 1fr 1fr;
}
.stat{
  border:1px solid var(--line);
  background: rgba(13,23,48,.55);
  border-radius: var(--radius2);
  padding:16px;
}
.stat .n{font-size:20px; font-weight:800; letter-spacing:.4px}
.stat .t{color:var(--muted); font-size:12px}
.section{padding:34px 0}
.section h2{
  margin:0 0 10px;
  font-size:22px;
  letter-spacing:.3px;
}
.section p{margin:0; color:var(--muted)}
.grid-2{
  margin-top:16px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.box{
  border:1px solid var(--line);
  background: rgba(15,26,51,.45);
  border-radius: var(--radius2);
  padding:18px;
  min-height: 100%;
}
.box h3{margin:0 0 8px; font-size:15px}
.box ul{margin:10px 0 0; padding:0 0 0 18px; color:var(--muted)}
.box li{margin:6px 0}
.tag{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--muted2); font-size:12px;
  margin-top:10px;
}
.tag .chip{
  border:1px solid var(--line);
  border-radius:999px;
  padding:4px 10px;
  background: rgba(255,255,255,.03);
}

.ai{
  margin-top:16px;
  border:1px solid var(--line);
  background: linear-gradient(135deg, rgba(122,167,255,.12), rgba(166,255,203,.08));
  border-radius: var(--radius2);
  padding:18px;
}
.ai h3{margin:0 0 8px; font-size:16px}
.ai p{margin:0; color:var(--muted)}
.ai .note{
  margin-top:12px;
  border-top:1px dashed rgba(234,240,255,.18);
  padding-top:10px;
  color:var(--muted2);
  font-size:12px;
}

.how{
  display:grid; grid-template-columns: 1fr 1fr 1fr;
  gap:14px; margin-top:16px;
}
.step{
  border:1px solid var(--line);
  background: rgba(13,23,48,.55);
  border-radius: var(--radius2);
  padding:16px;
  position:relative;
  overflow:hidden;
}
.step:before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(400px 200px at 10% 0%, rgba(122,167,255,.18), transparent 60%);
  opacity:.8;
  pointer-events:none;
}
.step *{position:relative}
.step .k{color:var(--muted2); font-size:12px}
.step h3{margin:6px 0 8px; font-size:15px}
.step p{margin:0; color:var(--muted); font-size:13px}

.faq{
  margin-top:16px;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  overflow:hidden;
  background: rgba(15,26,51,.45);
}
details{
  border-top:1px solid var(--line);
  padding:14px 16px;
}
details:first-child{border-top:none}
summary{
  cursor:pointer;
  list-style:none;
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:10px;
  font-weight:700;
  font-size:14px;
}
summary::-webkit-details-marker{display:none}
.chev{
  flex:0 0 auto;
  width:18px; height:18px;
  border:1px solid var(--line);
  border-radius:999px;
  display:grid; place-items:center;
  color:var(--muted2);
  margin-top:2px;
}
details[open] .chev{transform:rotate(180deg)}
details .ans{margin-top:10px; color:var(--muted); font-size:13px}
.ans ul{margin:8px 0 0; padding-left:18px}
.ans li{margin:6px 0}

.contact{
  margin-top:18px;
  border:1px solid var(--line);
  background: rgba(13,23,48,.60);
  border-radius: var(--radius2);
  padding:18px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
  align-items:start;
}
.contact h3{margin:0 0 8px; font-size:16px}
.contact p{margin:0; color:var(--muted); font-size:13px}
.form{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding:16px;
}
label{display:block; font-size:12px; color:var(--muted2); margin-top:10px}
.required{color:var(--warn); font-weight:700; margin-left:2px}
.form-error{display:none}
.form-success{display:none}
input:invalid, textarea:invalid{border-color:rgba(255,184,107,.5)}
input:focus:invalid, textarea:focus:invalid{border-color:var(--warn); outline:2px solid rgba(255,184,107,.2)}
input, textarea{
  width:100%;
  margin-top:6px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(234,240,255,.14);
  background: rgba(7,11,20,.55);
  color:var(--text);
  outline:none;
}
textarea{min-height:110px; resize:vertical}
.checks{
  margin-top:10px;
  border-top:1px dashed rgba(234,240,255,.18);
  padding-top:10px;
}
.checks .c{
  display:flex; gap:10px; align-items:flex-start;
  margin:8px 0;
  font-size:13px; color:var(--muted);
}
.checks input{width:auto; margin-top:3px}
.send{
  margin-top:12px;
  width:100%;
  border:none;
  border-radius: 16px;
  padding:12px 14px;
  font-weight:800;
  background: linear-gradient(135deg, rgba(122,167,255,.95), rgba(166,255,203,.65));
  color:#061021;
  cursor:pointer;
}
.send:disabled{
  opacity:.45; cursor:not-allowed;
  filter:saturate(.6);
}
.fineprint{
  margin-top:10px;
  color:var(--muted2);
  font-size:12px;
}
footer{
  padding:26px 0 44px;
  color:var(--muted2);
  border-top:1px solid var(--line);
  margin-top:30px;
}
.footgrid{
  display:flex; gap:16px; justify-content:space-between; flex-wrap:wrap;
  align-items:flex-start;
}
.footgrid small{opacity:.9}
.links{display:flex; gap:10px; flex-wrap:wrap}
.links a{
  border:1px solid var(--line);
  padding:6px 10px;
  border-radius: 999px;
  font-size:12px;
  color:var(--muted);
  background: rgba(255,255,255,.03);
}
.links a:hover{color:var(--text)}
.sr{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}

@media (max-width: 920px){
  :root{
    --header-height: 100px; /* スマホ時はヘッダーが高くなる可能性があるため増やす */
  }
  .hero-grid{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr}
  .how{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  nav{gap:6px}
  .brand{min-width:auto}
}
@media (max-width: 520px){
  :root{
    --header-height: 110px; /* より小さい画面ではさらに高くなる可能性 */
  }
  .stats{grid-template-columns:1fr}
  .card.pad{padding:18px}
  .section{padding:28px 0}
}

/* price.html用スタイル（index.htmlと同じデザイン思想に統一） */
.section-gray{background: rgba(13,23,48,.30); border-radius: var(--radius2); padding:34px 0; margin:0}
.table-wrap{margin-top:16px; overflow-x:auto}
.table-wrap table{width:100%; border-collapse:collapse; border:1px solid var(--line); border-radius: var(--radius2); overflow:hidden; background: rgba(15,26,51,.45)}
.table-wrap th{border-bottom:1px solid var(--line); padding:14px 16px; text-align:left; font-size:14px; font-weight:700; background: rgba(13,23,48,.55)}
.table-wrap td{border-bottom:1px solid var(--line); padding:14px 16px; color:var(--muted); font-size:13px}
.table-wrap tr:last-child td{border-bottom:none}
.price-list{margin:16px 0 0; padding:0; list-style:none; color:var(--muted)}
.price-list li{margin:12px 0; padding:12px 16px; border:1px solid var(--line); border-radius: var(--radius); background: rgba(15,26,51,.45)}
.price-list strong{color:var(--text); font-size:15px}
.price-monthly{margin:16px 0; font-size:20px; font-weight:800; letter-spacing:.4px; color:var(--text)}
.note{margin-top:16px; padding-top:16px; border-top:1px dashed rgba(234,240,255,.18); color:var(--muted2); font-size:13px}
.section-cta{padding:34px 0; text-align:center}
.section-cta h2{margin:0 0 10px; font-size:22px; letter-spacing:.3px}
.section-cta p{margin:0 0 16px; color:var(--muted)}

@media (max-width: 520px){
  .section-gray{padding:28px 0}
  .section-cta{padding:28px 0}
}

