/*
Light corporate theme
All visuals are original (CSS gradients + inline SVG). No external image assets.
*/

:root{
  --bg: #f7fafc;
  --bg2:#ffffff;
  --panel:#ffffff;
  --panel2:#f1f5f9;
  --stroke: rgba(15,23,42,0.12);
  --stroke2: rgba(15,23,42,0.08);
  --text: rgba(15,23,42,0.92);
  --muted: rgba(15,23,42,0.70);
  --faint: rgba(15,23,42,0.56);

  --accent1:#2563eb;
  --accent2:#06b6d4;

  --shadow: 0 18px 55px rgba(2,6,23,0.10);
  --shadow2: 0 8px 22px rgba(2,6,23,0.08);

  --r: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 540px at 14% 12%, rgba(37,99,235,0.10), transparent 60%),
    radial-gradient(860px 520px at 86% 14%, rgba(6,182,212,0.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,250,252,1.0));
  color: var(--text);
  line-height:1.7;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:0.95}

.container{width:min(1120px, 92vw); margin:0 auto}

.sr{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
.skip{position:absolute; left:-999px; top:10px; background:#111827; color:#fff; padding:10px 12px; border-radius:10px; z-index:999}
.skip:focus{left:10px}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke2);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}

.brand{display:flex; align-items:center; gap:10px}
.brand__mark{width:40px; height:40px; display:grid; place-items:center; border-radius:14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(6,182,212,0.12));
  border:1px solid var(--stroke);
  color: rgba(15,23,42,0.92);
}
.brand__text{display:flex; flex-direction:column; line-height:1.2}
.brand__name{font-weight:800; letter-spacing:0.01em; font-size:16px;}
.brand__sub{font-size:12px; color:var(--faint)}

.nav{display:flex; align-items:center; gap:12px}
.nav__menu{display:flex; align-items:center; gap:16px}
.nav__link{font-size:14px; color:rgba(15,23,42,0.78)}

.nav__toggle{display:none; background:#fff; border:1px solid var(--stroke); color:var(--text);
  border-radius:14px; padding:10px 10px; cursor:pointer}
.nav__toggleIcon{display:block; width:18px; height:2px; background:rgba(15,23,42,0.82); position:relative}
.nav__toggleIcon:before,.nav__toggleIcon:after{content:""; position:absolute; left:0; width:18px; height:2px; background:rgba(15,23,42,0.82)}
.nav__toggleIcon:before{top:-6px}
.nav__toggleIcon:after{top:6px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,0.85);
  color: var(--text);
  box-shadow: none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
  font-weight:700;
  font-size:14px;
}
.btn:hover{transform: translateY(-1px); background: #fff; border-color: rgba(15,23,42,0.16); box-shadow: var(--shadow2)}
.btn:active{transform: translateY(0px)}

.btn--primary{
  border-color: rgba(37,99,235,0.25);
  background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(6,182,212,0.85));
  color: rgba(255,255,255,0.98);
  box-shadow: 0 14px 36px rgba(37,99,235,0.18);
}
.btn--primary:hover{opacity:0.99}

.btn--ghost{background: rgba(255,255,255,0.80)}
.btn--full{width:100%}

/* Hero */
.hero{position:relative; padding:54px 0 18px}
.hero__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(760px 520px at 12% 10%, rgba(37,99,235,0.10), transparent 60%),
    radial-gradient(900px 600px at 86% 18%, rgba(6,182,212,0.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.85), transparent 55%);
  pointer-events:none;
}
.hero__inner{position:relative; display:grid; grid-template-columns: 1.05fr 0.95fr; gap:26px; align-items:center}
.eyebrow{display:inline-block; margin:0 0 12px; font-size:13px; color:rgba(15,23,42,0.74);
  background: rgba(255,255,255,0.72); border:1px solid var(--stroke);
  padding:6px 10px; border-radius:999px}
.hero__title{margin:0 0 12px; font-size:42px; line-height:1.15; letter-spacing:0.01em}
.grad{background: linear-gradient(135deg, var(--accent1), var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent}
.hero__lead{margin:0 0 18px; color: var(--muted); font-size:16px}
.hero__cta{display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 18px}

.hero__visual{border-radius: 22px; overflow:hidden; border:1px solid var(--stroke);
  background: rgba(255,255,255,0.85); box-shadow: var(--shadow)}
.heroSvg{display:block; width:100%; height:auto}

.trust{display:grid; grid-template-columns: 1fr; gap:8px; margin-top:10px}
.trust__item{display:flex; gap:10px; align-items:baseline; padding:10px 12px; border-radius: 14px;
  background: rgba(255,255,255,0.78); border:1px solid var(--stroke2)}
.trust__k{font-size:12px; color:rgba(15,23,42,0.58); min-width:68px}
.trust__v{font-size:13px; color:rgba(15,23,42,0.84)}

/* Sections */
.section{padding:54px 0}
.section--tight{padding:18px 0 10px}
.section__head{margin-bottom:18px}
.h2{font-size:26px; margin:0 0 6px}
.h3{font-size:16px; margin:0 0 8px}
.muted{color:var(--muted); margin:0}
.fine{color:rgba(15,23,42,0.56); font-size:12px; margin:12px 0 0}

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

.card{padding:18px; border-radius: var(--r);
  background: rgba(255,255,255,0.92);
  border:1px solid var(--stroke);
  box-shadow: var(--shadow2);
}
.card--accent{
  background: linear-gradient(180deg, rgba(37,99,235,0.08), rgba(255,255,255,0.92));
  border-color: rgba(37,99,235,0.18)
}

.list{margin:10px 0 0; padding-left:18px; color:rgba(15,23,42,0.74)}
.list li{margin:4px 0}

.callout{margin-top:16px; display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:16px; border-radius: var(--r);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow2);
}

.chips{display:flex; flex-wrap:wrap; gap:10px}
.chip{font-size:12px; padding:7px 10px; border-radius:999px;
  background: rgba(255,255,255,0.82); border:1px solid var(--stroke2); color:rgba(15,23,42,0.76)}

/* Pills */
.pillRow{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.pill{font-size:12px; padding:6px 10px; border-radius:999px;
  background: rgba(15,23,42,0.04); border:1px solid var(--stroke2); color:rgba(15,23,42,0.74)}

/* Price */
.big{font-size:20px; font-weight:900; margin:0}

/* CTA band */
.ctaBand{margin-top:16px; display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:16px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(6,182,212,0.08));
  border:1px solid var(--stroke);
  box-shadow: var(--shadow2);
}

/* Steps */
.steps{list-style:none; padding:0; margin:0; display:grid; gap:12px}
.steps__item{display:flex; gap:12px; padding:16px; border-radius: var(--r);
  background: rgba(255,255,255,0.92); border:1px solid var(--stroke); box-shadow: var(--shadow2)}
.steps__num{width:32px; height:32px; border-radius:12px; display:grid; place-items:center;
  background: rgba(15,23,42,0.03); border:1px solid var(--stroke2); font-weight:900}

/* FAQ */
.faq{display:grid; gap:10px}
.faq__item{border-radius: var(--r); background: rgba(255,255,255,0.92); border:1px solid var(--stroke); padding:0; box-shadow: var(--shadow2)}
.faq__item summary{cursor:pointer; padding:14px 16px; font-weight:800; list-style:none}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item p{margin:0; padding:0 16px 14px; color:rgba(15,23,42,0.72)}

/* Contact */
.section--contact{padding:58px 0 40px}
.contact{display:grid; grid-template-columns: 1fr 1fr; gap:16px; align-items:start}
.note{margin-top:14px; padding:14px; border-radius: var(--r);
  background: rgba(255,255,255,0.92); border:1px solid var(--stroke); box-shadow: var(--shadow2)}

.form{padding:18px; border-radius: 22px; background: rgba(255,255,255,0.92); border:1px solid var(--stroke); box-shadow: var(--shadow)}
.form__row{margin-bottom:12px}
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:10px}

label{display:block; font-size:13px; margin-bottom:6px; color:rgba(15,23,42,0.86)}
.req{font-size:11px; padding:2px 8px; border-radius:999px; background: rgba(6,182,212,0.10); border:1px solid rgba(6,182,212,0.22); margin-left:6px; color:rgba(15,23,42,0.75)}

input, select, textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(248,250,252,0.95);
  color: rgba(15,23,42,0.92);
  padding:10px 12px;
  outline:none;
}
input:focus, select:focus, textarea:focus{border-color: rgba(37,99,235,0.35); box-shadow: 0 0 0 4px rgba(37,99,235,0.10)}

.hint{font-size:12px; color: rgba(15,23,42,0.56); margin:6px 0 0}

.check{display:flex; align-items:center; gap:10px}
.check input{width:auto}

/* Footer */
.footer{padding:26px 0; border-top:1px solid var(--stroke2); background: rgba(255,255,255,0.70)}
.footer__inner{display:flex; align-items:center; justify-content:space-between; gap:14px}
.footer__brand{margin:0; font-weight:900}
.footer__links{display:flex; gap:12px; color:rgba(15,23,42,0.70); font-size:13px}

/* Responsive */
@media (max-width: 980px){
  .hero__inner{grid-template-columns: 1fr;}
  .hero__title{font-size:36px}
  .grid--3{grid-template-columns: 1fr}
  .grid--2{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .ctaBand{flex-direction:column; align-items:flex-start}
}

@media (max-width: 860px){
  .nav__toggle{display:inline-flex}
  .nav__menu{display:none; position:absolute; max-height: min(70vh, 520px); overflow:auto; right:4vw; top:72px; flex-direction:column; align-items:stretch; gap:10px;
    padding:12px; border-radius: 18px; background: rgba(255,255,255,0.96); border:1px solid var(--stroke);
    width:min(320px, 92vw); box-shadow: var(--shadow2)}
  .nav__menu.is-open{display:flex}
  .nav__link{padding:8px 10px}
}

@media (max-width: 520px){
  .brand__name{font-size:15px}

  .hero__title{font-size:30px}
  .grid2{grid-template-columns: 1fr}
}

/* Hero image */
.heroImg{
  display:block;
  width:100%;
  height:auto;
  object-fit: cover;
}


/* Comparison table */
.tableWrap{
  overflow:auto;
  border-radius: var(--r);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow2);
}
.compareTable{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 680px;
}
.compareTable th,
.compareTable td{
  padding: 12px 12px;
  border-bottom: 1px solid var(--stroke2);
  vertical-align: top;
  text-align: left;
  color: rgba(15,23,42,0.84);
  font-size: 14px;
}
.compareTable thead th{
  position: sticky;
  top: 0;
  background: rgba(248,250,252,0.98);
  z-index: 2;
  font-weight: 900;
}
.compareTable tbody th{
  background: rgba(15,23,42,0.03);
  font-weight: 800;
  width: 22%;
}
.compareTable tr:last-child th,
.compareTable tr:last-child td{
  border-bottom: 0;
}

/* FAQ categories */
.faqToc{margin-bottom:16px}

/* Segmented radios */
.seg{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.seg__item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border:1px solid var(--stroke);
  border-radius:999px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow2);
  cursor:pointer;
  user-select:none;
}
.seg__item input{
  accent-color: var(--primary);
}
.hint{
  margin:8px 0 0;
  font-size:12px;
  color: rgba(15,23,42,0.64);
}

/* Notices */
.notice{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(220,38,38,0.25);
  background: rgba(220,38,38,0.06);
  font-weight:800;
}
.notice--danger{
  color: rgba(220,38,38,0.92);
  font-size: 14px;
}


/* Safe area support (iOS notch) */
@supports (padding: max(0px)){
  .header{padding-top: env(safe-area-inset-top);}
  .nav__menu{padding-bottom: max(12px, env(safe-area-inset-bottom));}
}

@media (max-width: 520px){
  .hero__cta{flex-direction:column; align-items:stretch}
  .hero__cta .btn{width:100%}
  .trust__item{flex-direction:column; align-items:flex-start; gap:4px}
  .trust__k{min-width:0}
}




/* Service section heading icon (final) */
.section__head--with-icon .section__titleRow{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 画像サイズ：PCでは少し大きめ、スマホでは自動で少し小さく */
.section__icon{
  width: clamp(52px, 6vw, 78px);
  height: auto;
  flex: 0 0 auto;

  /* バッジっぽく整える（任意だけどおすすめ） */
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow2);
  padding: 6px;
}

/* 見出し文字との位置関係を少し整える（任意） */
.section__head--with-icon .h2{
  margin: 0; /* 既存の余白がある場合にズレにくくする */
}

/* Contact form success / error message */
#formMsg{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.6;
  display: none; /* 初期は非表示 */
}

/* 成功時（赤で目立たせる指定） */
#formMsg.is-success{
  display: block;
  color: #b91c1c;                 /* 赤文字 */
  background: #fff1f2;            /* 薄い赤背景 */
  border: 2px solid #fecaca;      /* 赤枠 */
}

/* 失敗時（濃い赤） */
#formMsg.is-error{
  display: block;
  color: #7f1d1d;
  background: #fee2e2;
  border: 2px solid #fca5a5;
}

/* Pros / Cons boxes (About section) */
.proscons{
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

/* 2枚を「薄い枠線」で区分け */
.pcBox{
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px 14px 12px;
  background: rgba(255,255,255,0.65);
}

/* 見出しの詰め */
.pcBox__title{
  margin: 0 0 10px;
}

/* メリット/デメリットで“ほんのり”色を変える（派手にしない） */
.pcBox--pro{
  background: rgba(236, 253, 245, 0.55); /* ごく薄いグリーン */
}
.pcBox--con{
  background: rgba(255, 247, 237, 0.60); /* ごく薄いオレンジ */
}

/* スマホでも読みやすく（段落感UP） */
.pcBox .list{
  margin: 0;
}

/* 余裕がある画面では少し詰めて見えるように */
@media (min-width: 860px){
  .proscons{
    gap: 16px;
  }
}
/* =========================
   Fixed Header (PCでも確実)
   ========================= */
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
}
body{
  padding-top: 76px; /* ヘッダー高さ。合わなければ 68〜90pxで調整 */
}

/* Anchor offset for sticky header */
.section{
  scroll-margin-top: 90px; /* ヘッダー高さに合わせて調整 */
}

