/* style.css（きちっと見える・読みやすい・スマホ最適） */

:root{
  --bg: #ffffff;
  --bg-alt:#f6f7f9;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;

  --primary:#0f3d2e;      /* 深めの緑（信頼系） */
  --primary-2:#155a43;    /* hover用 */
  --accent:#0b63ce;       /* リンク */
  --warn:#fff4cc;         /* 重要枠 */
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 14px;

  --container: 1100px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.8;
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

.skip{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left:12px; top:12px;
  width:auto; height:auto;
  padding:10px 12px;
  background:#000;
  color:#fff;
  border-radius:10px;
  z-index:9999;
}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
  gap:12px;
}
.brand__name{
  font-weight:800;
  letter-spacing:.04em;
  font-size: 18px;
}
.brand__sub{
  font-size: 12px;
  color: var(--muted);
  margin-top:2px;
}
.header-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.hero{
  padding: 34px 0 10px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  align-items:start;
}
.hero h1{
  font-size: clamp(22px, 2.2vw, 34px);
  line-height:1.25;
  margin: 0 0 10px;
  letter-spacing: .01em;
}
.lead{
  margin: 0 0 12px;
  color: #1f2937;
}
.hero-points{
  margin: 0 0 16px;
  padding-left: 18px;
}
.hero-points li{
  margin: 6px 0;
}
.note{
  color:var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}
.hero-actions--center{
  justify-content:center;
  margin-top: 16px;
}

.card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card-title{
  margin: 0 0 10px;
  font-size: 16px;
}
.card-list{
  margin: 0;
  padding-left: 18px;
}
.small{
  font-size: 13px;
}
.muted{ color: var(--muted); }

.divider{
  height:1px;
  background: var(--line);
  margin: 12px 0;
}

.section{
  padding: 34px 0;
}
.section--alt{
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section h2{
  font-size: 22px;
  margin: 0 0 14px;
  line-height:1.3;
}
.section h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.grid{
  display:grid;
  gap: 14px;
}
.grid--3{ grid-template-columns: repeat(3, 1fr); }
.grid--2{ grid-template-columns: repeat(2, 1fr); }

.box{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.list{
  margin: 0;
  padding-left: 18px;
}

.callout{
  margin-top: 16px;
  background: var(--warn);
  border: 1px solid #f5d770;
  border-radius: var(--radius);
  padding: 14px;
}
.callout strong{ color:#7a4a00; }

.steps{
  display:grid;
  gap: 12px;
}
.step{
  display:flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
}
.step-no{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  flex:0 0 auto;
}
.step-body h3{ margin: 0 0 4px; }
.step-body p{ margin: 0; color:#1f2937; }

.case{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.case h3{ margin: 0 0 6px; }
.case p{ margin: 6px 0 0; }

.faq details{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin: 10px 0;
}
.faq summary{
  cursor:pointer;
  font-weight:700;
  list-style:none;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq-body{ padding-top: 8px; }
.faq-body p{ margin: 0; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: .01em;
  cursor:pointer;
  user-select:none;
  transition: transform .06s ease, background .15s ease, border-color .15s ease;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--primary);
  color:#fff;
  text-decoration:none;
}
.btn--primary:hover{ background: var(--primary-2); text-decoration:none; }

.btn--ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover{
  background: rgba(17,24,39,.04);
  text-decoration:none;
}

.btn--lg{
  padding: 12px 18px;
  font-size: 15px;
}

.site-footer{
  padding: 28px 0;
}
.footer-inner{
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.footer-title{
  margin: 0 0 6px;
  font-weight: 900;
}
.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* 上へ戻るボタン */
.to-top{
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.to-top.is-show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.to-top:hover{
  background: rgba(17,24,39,.04);
}

/* レスポンシブ */
@media (max-width: 920px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }
}
