/* めちゃ楽面付 製品サイト（パンフレットと同じ配色：紺・ティール・紫） */
:root {
  --navy: #0f2a4a;
  --navy-2: #16365e;
  --teal: #0aa39a;
  --teal-soft: #e6f5f3;
  --purple: #6b4fa8;
  --purple-soft: #efeaf8;
  --ink: #1d2733;
  --muted: #5d6b7a;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --radius: 10px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--teal); position: relative; flex: none; }
.logo-mark::before { content: ""; position: absolute; inset: 7px; background:
  linear-gradient(#fff,#fff) 0 0/7px 7px no-repeat, linear-gradient(#fff,#fff) 100% 0/7px 7px no-repeat,
  linear-gradient(#fff,#fff) 0 100%/7px 7px no-repeat, linear-gradient(#fff,#fff) 100% 100%/7px 7px no-repeat; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--teal); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 15px; line-height: 1.3; font-family: inherit; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #08908a; }
.btn-line { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-white { background: #fff; color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ヒーロー */
.hero { background: radial-gradient(1200px 600px at 80% 20%, #23407a 0%, var(--navy) 55%, #0a1d36 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.hero .eyebrow { font-size: 13px; letter-spacing: .12em; opacity: .8; margin: 0 0 12px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.2; margin: 0 0 20px; letter-spacing: .04em; }
.hero h1::after { content: ""; display: block; width: 120px; height: 5px; background: var(--teal); margin-top: 22px; }
.hero .lead { font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; margin: 0 0 14px; }
.hero .sub { opacity: .85; margin: 0 0 28px; }
.os-badges { display: flex; gap: 8px; margin: -12px 0 24px; padding: 0; }
.os-badges span { border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 2px 12px; font-size: 13px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta .btn-line { color: #fff; }
.hero-img { justify-self: center; max-width: 420px; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.35); }

/* セクション */
.sec { padding: 80px 0; }
.sec-alt { background: var(--bg-2); }
.sec-label { color: var(--teal); font-size: 12px; letter-spacing: .16em; font-weight: 700; margin: 0 0 6px; }
.sec h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--navy); margin: 0 0 12px; line-height: 1.4; }
.sec .intro { color: var(--muted); margin: 0 0 40px; }

/* 悩み */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pains li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: 8px; padding: 14px 18px; font-weight: 500; }
.pains-answer { margin-top: 28px; font-size: 19px; font-weight: 700; color: var(--navy); }
.pains-answer strong { color: var(--teal); }

/* 4ステップ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border-top: 4px solid var(--purple); border-radius: 8px; padding: 22px 20px; box-shadow: 0 1px 2px rgba(15,42,74,.06); }
.step .n { font-size: 30px; font-weight: 700; color: var(--purple); line-height: 1; }
.step h3 { margin: 10px 0 6px; font-size: 19px; color: var(--navy); }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* 機能 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.feature:last-child { margin-bottom: 0; }
.feature.rev .feature-img { order: 2; }
.feature-img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: 0 10px 30px rgba(15,42,74,.08); }
.feature h3 { font-size: 22px; color: var(--navy); margin: 0 0 10px; }
.feature .tag { display: inline-block; background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; }
.checks li { position: relative; padding-left: 28px; margin: 6px 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* ツール */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.tool h3 { margin: 0 0 6px; font-size: 17px; color: var(--purple); }
.tool p { margin: 0; font-size: 14px; color: var(--muted); }
.beta { font-size: 11px; background: #fff4d6; color: #8a6200; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }

/* プラン表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.plans { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.plans th, .plans td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.plans thead th { background: var(--navy); color: #fff; font-weight: 700; }
.plans thead th.top { background: var(--purple); }
.plans tbody th { text-align: left; font-weight: 500; }
.plans .grp th { background: var(--bg-2); color: var(--navy); font-weight: 700; border-left: 4px solid var(--purple); }
.plans .grp.plus th { background: var(--teal-soft); color: #067a73; border-left-color: var(--teal); }
.plans .o { color: var(--teal); font-weight: 700; font-size: 17px; }
.plans .x { color: #b7c0ca; }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.price-box { margin-top: 28px; background: #fff; border: 2px dashed var(--teal); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.price-box p { margin: 0; font-weight: 700; color: var(--navy); }
.price-box small { display: block; font-weight: 400; color: var(--muted); }

/* 安心 */
.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.safe div { background: #fff; border-radius: 8px; padding: 22px; border: 1px solid var(--line); }
.safe h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.safe p { margin: 0; font-size: 14px; color: var(--muted); }

/* 動作環境・流れ */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 110px; color: var(--navy); }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 0 0 22px 52px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; display: grid; place-items: center; }
.flow li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow b { display: block; color: var(--navy); }
.flow span { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 22px; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* CTA 帯 */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #2a2f6e 100%); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); }
.cta-band p { margin: 0 0 26px; opacity: .85; }
.cta-band .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .tel { margin-top: 22px; font-size: 14px; opacity: .9; }
.cta-band .tel a { color: #fff; font-size: 22px; font-weight: 700; text-decoration: none; }

/* フッター */
.ft { background: #0a1d36; color: #b9c4d2; font-size: 13px; padding: 36px 0; }
.ft .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ft a { color: #dfe6ee; text-decoration: none; margin-right: 16px; }
.ft a:hover { text-decoration: underline; }

/* フォーム */
.page-hd { background: var(--navy); color: #fff; padding: 48px 0 40px; }
.page-hd h1 { margin: 0 0 6px; font-size: clamp(24px, 4vw, 34px); }
.page-hd p { margin: 0; opacity: .85; }
.form-sec { padding: 48px 0 80px; }
.form { max-width: 760px; margin: 0 auto; background: #fff; }
.field { margin-bottom: 22px; }
.field > label, .field > .lbl { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.req, .opt { font-size: 11px; border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; font-weight: 700; }
.req { background: #d9483b; color: #fff; }
.opt { background: var(--bg-2); color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c5cfda; border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(10,163,154,.25); border-color: var(--teal); }
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.choices label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; cursor: pointer; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.agree { background: var(--bg-2); border-radius: 8px; padding: 14px 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { text-align: center; margin-top: 30px; }
.form-actions .btn { min-width: 260px; padding: 16px 30px; font-size: 17px; }
.msg { border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; display: none; }
.msg.err { display: block; background: #fdecea; color: #9b2c22; }
.done { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 0; }
.done h2 { color: var(--navy); }
.demo-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 0 auto 36px; }
.demo-points div { background: var(--teal-soft); border-radius: 8px; padding: 14px 16px; font-size: 14px; }
.demo-points b { display: block; color: #067a73; }

/* スマホ */
@media (max-width: 900px) {
  .hero .wrap, .feature, .two { grid-template-columns: 1fr; }
  .feature.rev .feature-img { order: 0; }
  .hero-img { max-width: 300px; }
  .steps, .tools { grid-template-columns: repeat(2, 1fr); }
  .safe { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--bg-2); }
  .nav .btn { margin-top: 10px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 56px 0; }
  .pains, .steps, .tools, .cols, .demo-points { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; min-width: 0; }
}
