/* ===== WEBパック 共通スタイル ===== */
:root {
  --ink: #0f1a36;
  --ink2: #46506b;
  --mute: #8089a3;
  --bg: #f5f7fc;
  --card: #ffffff;
  --line: #e3e7f2;
  --brand: #2447f9;
  --brand2: #7a3cff;
  --brand-soft: #eef1ff;
  --accent: #ffd02b;
  --hot: #ff4a3a;
  --ok: #12a36b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 34, 90, .08);
  --grad: linear-gradient(120deg, #2447f9 0%, #7a3cff 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3, h4, p { margin: 0; }
.num { font-family: "Outfit", "Zen Kaku Gothic New", sans-serif; font-weight: 700; letter-spacing: -.01em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
section { padding: 88px 0; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .eyebrow {
  display: inline-block; font-family: "Outfit", sans-serif; font-weight: 700; letter-spacing: .16em;
  font-size: 13px; color: var(--brand); background: var(--brand-soft); padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.4; font-weight: 900; }
.sec-head p { color: var(--ink2); margin-top: 12px; }
.mark { background: linear-gradient(transparent 62%, var(--accent) 62%); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border-radius: 99px; border: 0; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 700; line-height: 1.3; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--hot); color: #fff; box-shadow: 0 10px 24px rgba(255, 74, 58, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 74, 58, .45); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 20px 40px; font-size: 18px; }
.btn[disabled] { background: #c9cfdf; box-shadow: none; cursor: not-allowed; transform: none; }
.btn .arrow { font-family: "Outfit", sans-serif; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 20px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-family: "Outfit", sans-serif; font-size: 18px;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink2); text-decoration: none; font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--brand); }
.site-header .btn { padding: 11px 22px; font-size: 14px; }
@media (max-width: 900px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* キャンペーン帯 */
.camp-bar { background: var(--ink); color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; font-weight: 700; }
.camp-bar b { color: var(--accent); }

/* ヒーロー */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: #fff; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none; }
.hero::before { width: 520px; height: 520px; background: #7a3cff; top: -220px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: #2ad1ff; bottom: -220px; left: -140px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-tag { display: inline-flex; gap: 8px; align-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 99px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 56px); line-height: 1.25; font-weight: 900; margin: 18px 0 20px; letter-spacing: .01em; }
.hero-lead { font-size: 17px; color: var(--ink2); max-width: 34em; }
.hero-price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 18px; margin: 28px 0 8px; }
.hero-price .was { color: var(--mute); text-decoration: line-through; font-size: 20px; }
.hero-price .now { color: var(--hot); font-size: clamp(52px, 8vw, 76px); line-height: 1; }
.hero-price .now small { font-size: .32em; margin-left: 4px; color: var(--ink); font-family: inherit; }
.hero-note { font-size: 13px; color: var(--mute); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; padding: 0; list-style: none; font-weight: 700; font-size: 14px; }
.hero-points li::before { content: "✓"; color: var(--ok); margin-right: 6px; }

/* ヒーロー右の注文チケット */
.ticket {
  background: #fff; border-radius: 24px; box-shadow: 0 30px 70px rgba(20, 34, 90, .18); padding: 26px; border: 1px solid var(--line);
  transform: rotate(1.5deg); animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(1.5deg) translateY(-10px); } }
.ticket-head { display: flex; justify-content: space-between; align-items: center; font-weight: 900; margin-bottom: 14px; }
.ticket-head span { font-size: 12px; color: var(--ok); background: #e5f7ef; padding: 3px 10px; border-radius: 99px; }
.ticket-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.ticket-row dt { color: var(--mute); }
.ticket-row dd { margin: 0; font-weight: 700; text-align: right; }
.ticket-total { margin-top: 6px; background: var(--ink); color: #fff; border-radius: 16px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.ticket-total .num { font-size: 30px; color: var(--accent); }
.ticket-date { margin-top: 10px; background: var(--brand-soft); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--brand); text-align: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .ticket { transform: none; animation: none; } }

/* あるある */
.aruaru { background: var(--ink); color: #fff; }
.aruaru .sec-head .eyebrow { background: rgba(255, 255, 255, .12); color: var(--accent); }
.aruaru .sec-head p { color: #b9c2de; }
.aru-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aru {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px 22px; position: relative;
}
.aru .q { font-family: "Outfit", sans-serif; font-size: 44px; line-height: 1; color: rgba(255, 255, 255, .18); font-weight: 700; }
.aru h3 { font-size: 19px; margin: 8px 0 8px; line-height: 1.5; }
.aru p { color: #b9c2de; font-size: 14px; }
.solve { text-align: center; margin-top: 56px; }
.solve .down { width: 2px; height: 46px; background: linear-gradient(var(--accent), transparent); margin: 0 auto 18px; }
.solve h3 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; line-height: 1.5; }
.solve h3 em { font-style: normal; color: var(--accent); }
@media (max-width: 900px) { .aru-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .aru-grid { grid-template-columns: 1fr; } }

/* 特長 */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feat { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 20px; }
.feat .no { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 22px; }
.feat .before { font-size: 13px; color: var(--mute); text-decoration: line-through; }
.feat h3 { font-size: 21px; line-height: 1.5; margin: 2px 0 8px; }
.feat p { color: var(--ink2); font-size: 15px; }
@media (max-width: 760px) { .feat-grid { grid-template-columns: 1fr; } }

/* 料金 */
.price-sec { background: #fff; }
.plan-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: 34px; position: relative; }
.plan.main { border: 2.5px solid var(--brand); box-shadow: 0 20px 50px rgba(36, 71, 249, .16); }
.plan .ribbon { position: absolute; top: -16px; left: 28px; background: var(--hot); color: #fff; font-weight: 900; font-size: 13px; padding: 6px 16px; border-radius: 99px; }
.plan h3 { font-size: 24px; font-weight: 900; }
.plan .sub { color: var(--ink2); font-size: 14px; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 18px 0 4px; }
.plan .price .was { color: var(--mute); text-decoration: line-through; font-size: 18px; }
.plan .price .now { font-size: 56px; line-height: 1; color: var(--hot); }
.plan .price .unit { font-weight: 700; }
.plan .limit { font-size: 13px; color: var(--hot); font-weight: 700; }
.incl-title { margin: 24px 0 12px; font-weight: 900; font-size: 17px; padding: 10px 16px; background: var(--brand-soft); border-radius: 12px; color: var(--brand); }
.incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.incl.one { grid-template-columns: 1fr; }
.incl li { padding-left: 28px; position: relative; font-size: 15px; font-weight: 500; }
.incl li::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; display: grid; place-items: center; line-height: 1; }
.incl li small { display: block; color: var(--mute); font-size: 12px; line-height: 1.5; }
.plan .btn { width: 100%; margin-top: 26px; }
.fine { font-size: 13px; color: var(--mute); margin-top: 16px; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; } .incl { grid-template-columns: 1fr; } }

/* カウントダウン */
.countdown { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; font-weight: 700; font-size: 14px; }
.countdown b { font-family: "Outfit", sans-serif; background: var(--ink); color: #fff; border-radius: 8px; padding: 2px 9px; font-size: 18px; min-width: 38px; text-align: center; }

/* デザイン4種 */
.mood-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mood { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; }
.mood:hover { transform: translateY(-6px); }
.mood-body { padding: 18px 20px 22px; }
.mood-body h3 { font-size: 18px; }
.mood-body p { font-size: 13px; color: var(--ink2); }
.mock { aspect-ratio: 4 / 3; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mock .bar { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.mock .bar i { display: block; width: 34px; height: 4px; border-radius: 2px; background: currentColor; opacity: .4; }
.mock .heroimg { flex: 1; border-radius: 8px; display: grid; place-items: center; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.5; padding: 8px; }
.mock .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock .cols i { height: 22px; border-radius: 5px; display: block; }
.mock.natural { background: #f6f1e7; color: #5a6b4d; font-family: "Zen Old Mincho", serif; }
.mock.natural .heroimg { background: linear-gradient(135deg, #cfd9bd, #e9dcc3); color: #47553c; }
.mock.natural .cols i { background: #e4dac6; }
.mock.modern { background: #fff; color: #14244d; border-bottom: 1px solid var(--line); }
.mock.modern .heroimg { background: linear-gradient(135deg, #14244d, #2d5be3); color: #fff; }
.mock.modern .cols i { background: #e8edf8; }
.mock.luxury { background: #111; color: #c9a45c; font-family: "Zen Old Mincho", serif; }
.mock.luxury .heroimg { background: linear-gradient(135deg, #2a2418, #000); border: 1px solid #c9a45c; }
.mock.luxury .cols i { background: #262019; }
.mock.pop { background: #fff6cf; color: #ff5a4e; }
.mock.pop .heroimg { background: linear-gradient(135deg, #ff7a59, #ffb400); color: #fff; border-radius: 20px; }
.mock.pop .cols i { background: #ffd9a8; border-radius: 99px; }
.mood-extra { margin-top: 24px; background: var(--card); border: 1.5px dashed var(--brand); border-radius: var(--radius); padding: 22px 26px; display: flex; gap: 18px; align-items: center; }
.mood-extra b { font-size: 17px; }
.mood-extra p { color: var(--ink2); font-size: 14px; }
.plus { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 24px; font-weight: 700; }
@media (max-width: 900px) { .mood-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mood-grid { grid-template-columns: 1fr; } }

/* オプション */
.opt-sec { background: #fff; }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.opt { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--card); }
.opt.wide { grid-column: 1 / -1; }
.opt .tag { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 12px; border-radius: 99px; }
.opt h3 { font-size: 21px; margin: 10px 0 4px; }
.opt .p { color: var(--hot); font-size: 28px; }
.opt .p small { color: var(--ink); font-size: 14px; font-family: "Zen Kaku Gothic New", sans-serif; }
.opt p { color: var(--ink2); font-size: 15px; margin-top: 8px; }
.opt ul { margin: 10px 0 0; padding-left: 1.2em; color: var(--ink2); font-size: 14px; }
.demo-motion { margin-top: 16px; height: 74px; border-radius: 12px; background: var(--ink); position: relative; overflow: hidden; display: flex; align-items: center; padding: 0 20px; gap: 10px; }
.demo-motion span { display: block; height: 10px; border-radius: 5px; background: var(--accent); animation: slide 2.6s ease-in-out infinite; }
.demo-motion span:nth-child(1) { width: 40%; }
.demo-motion span:nth-child(2) { width: 22%; background: #7a9bff; animation-delay: .2s; }
.demo-motion span:nth-child(3) { width: 14%; background: #fff; animation-delay: .4s; }
@keyframes slide { 0% { transform: translateX(-140%); opacity: 0; } 30%, 70% { transform: none; opacity: 1; } 100% { transform: translateX(140%); opacity: 0; } }
@media (max-width: 760px) { .opt-grid { grid-template-columns: 1fr; } }

/* 表 */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.tbl thead th { background: var(--ink); color: #fff; font-size: 13px; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .num { font-size: 18px; }
.tbl .free { color: var(--ok); font-weight: 900; }
.sup { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.sup div { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.sup h4 { font-size: 15px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 99px; }
@media (max-width: 700px) { .sup { grid-template-columns: 1fr; } }
h3.sub-h { font-size: 20px; margin: 44px 0 16px; padding-left: 14px; border-left: 5px solid var(--brand); line-height: 1.4; }

/* 流れ */
.flow { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
.flow li { background: #fff; border-radius: var(--radius); padding: 24px 18px; box-shadow: var(--shadow); position: relative; counter-increment: step; }
.flow li::before { content: "STEP " counter(step); font-family: "Outfit", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .1em; color: #fff; background: var(--grad); padding: 3px 12px; border-radius: 99px; }
.flow h3 { font-size: 17px; margin: 12px 0 6px; line-height: 1.5; }
.flow p { font-size: 13px; color: var(--ink2); line-height: 1.7; }
.flow .time { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--brand); }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } }

/* お客様の声 */
.voice-sec { background: #fff; }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice { background: var(--bg); border-radius: var(--radius); padding: 28px; position: relative; }
.voice .stars { color: #ffb400; letter-spacing: 2px; }
.voice h3 { font-size: 17px; line-height: 1.6; margin: 8px 0 10px; }
.voice p { font-size: 14px; color: var(--ink2); }
.voice .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.voice .who i { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 900; }
.voice .who b { display: block; font-size: 14px; }
.voice .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.voice .meta span { font-size: 11px; font-weight: 700; background: #fff; border: 1px solid var(--line); padding: 2px 10px; border-radius: 99px; }
.sample-note { text-align: center; font-size: 13px; color: var(--hot); font-weight: 700; margin-top: 22px; }
@media (max-width: 860px) { .voice-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: "Outfit", sans-serif; color: var(--brand); margin-right: 12px; font-weight: 700; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px 50px; color: var(--ink2); font-size: 15px; }

/* 最後のCTA */
.cta { background: var(--grad); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 900; line-height: 1.4; }
.cta p { margin: 14px 0 30px; opacity: .9; }
.cta .btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }

/* フッター */
.site-footer { background: var(--ink); color: #b9c2de; padding: 44px 0; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.site-footer a { color: #b9c2de; margin-right: 18px; }

/* スマホ用の固定ボタン */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; }
  .sticky-cta .num { font-size: 22px; color: var(--hot); line-height: 1.2; }
  .sticky-cta small { display: block; font-size: 11px; color: var(--mute); }
  .sticky-cta .btn { padding: 13px 22px; font-size: 15px; }
  body.has-sticky { padding-bottom: 76px; }
  section { padding: 64px 0; }
}

/* スクロールで出てくる動き */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticket, .demo-motion span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== 申込みページ ===== */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 36px 0 30px; }
.page-head h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 900; }
.page-head p { color: var(--ink2); margin-top: 6px; }
.steps { display: flex; gap: 8px; margin-top: 20px; padding: 0; list-style: none; flex-wrap: wrap; }
.steps li { font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 99px; background: var(--bg); color: var(--mute); }
.steps li.on { background: var(--ink); color: #fff; }
.steps li.done { background: #e5f7ef; color: var(--ok); }
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding: 36px 0 90px; }
.block { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-bottom: 22px; }
.block > h2 { font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.block > h2 .n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: "Outfit", sans-serif; font-size: 16px; }
.block > .hint { color: var(--ink2); font-size: 14px; margin-bottom: 18px; }
.choices { display: grid; gap: 12px; }
.choices.c2 { grid-template-columns: 1fr 1fr; }
.choices.c4 { grid-template-columns: repeat(4, 1fr); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 50px; transition: border-color .15s, background .15s, box-shadow .15s; height: 100%; position: relative; background: #fff; }
.choice .box::before { content: ""; position: absolute; left: 16px; top: 18px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c3cadd; background: #fff; }
.choice input[type=checkbox] + .box::before { border-radius: 6px; }
.choice input:checked + .box { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 6px 18px rgba(36, 71, 249, .12); }
.choice input:checked + .box::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px #fff; }
.choice input[type=checkbox]:checked + .box::before { box-shadow: none; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.choice input:focus-visible + .box { outline: 3px solid rgba(36, 71, 249, .4); outline-offset: 2px; }
.choice .t { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; line-height: 1.5; }
.choice .t .pr { color: var(--hot); white-space: nowrap; font-family: "Outfit", "Zen Kaku Gothic New", sans-serif; }
.choice .t .pr.zero { color: var(--ok); }
.choice .d { display: block; font-size: 13px; color: var(--ink2); line-height: 1.6; margin-top: 2px; }
.choice .was { color: var(--mute); text-decoration: line-through; font-weight: 500; font-size: 13px; margin-right: 6px; }
.choice.mood-c .box { padding: 0 0 14px; overflow: hidden; }
.choice.mood-c .box::before { top: 10px; left: 10px; z-index: 2; }
.choice.mood-c .mock { aspect-ratio: 16 / 10; padding: 10px; gap: 5px; }
.choice.mood-c .mock .heroimg { font-size: 10px; }
.choice.mood-c .mock .cols i { height: 10px; }
.choice.mood-c .t, .choice.mood-c .d { padding: 0 14px; }
.choice.mood-c .t { margin-top: 10px; }
.sub-area { margin-top: 14px; padding: 18px; background: var(--bg); border-radius: 14px; }
.sub-area[hidden] { display: none; }
.sub-area h4 { font-size: 14px; margin-bottom: 10px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field > span em { font-style: normal; font-size: 11px; background: var(--hot); color: #fff; padding: 1px 8px; border-radius: 99px; margin-left: 8px; vertical-align: 2px; }
.field > span em.opt-l { background: #c9cfdf; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(36, 71, 249, .12); }
.field small { color: var(--mute); font-size: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.note-box { background: #fff8e0; border: 1px solid #f3dc8f; border-radius: 12px; padding: 14px 16px; font-size: 13px; color: #6b5510; margin-top: 14px; }
.est { margin-top: 14px; background: var(--brand-soft); color: var(--brand); border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 14px; }

/* 重要事項 */
.terms { border: 2px solid var(--hot); background: #fff7f6; }
.terms > h2 .n { background: var(--hot); }
.terms ol { margin: 0 0 18px; padding-left: 1.4em; font-size: 14px; }
.terms ol li { margin-bottom: 10px; }
.terms ol b { color: var(--hot); }
.agree { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; font-weight: 700; font-size: 14px; }
.agree input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--hot); }

/* 見積りサマリー */
.summary { position: sticky; top: 88px; background: var(--ink); color: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 20px 50px rgba(15, 26, 54, .3); }
.summary h2 { font-size: 16px; margin-bottom: 12px; }
.summary dl { margin: 0; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .16); font-size: 14px; }
.summary .row dt { color: #b9c2de; }
.summary .row dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.summary .total .num { font-size: 38px; color: var(--accent); }
.summary .tax { font-size: 12px; color: #b9c2de; text-align: right; }
.summary .later { margin-top: 12px; font-size: 12px; color: #b9c2de; background: rgba(255, 255, 255, .07); border-radius: 10px; padding: 10px 12px; }
.summary .later b { color: #fff; }
.summary .deliv { margin-top: 12px; background: rgba(255, 208, 43, .14); color: var(--accent); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 700; }
.summary .btn { width: 100%; margin-top: 18px; }
.summary .why { font-size: 12px; color: #ffb3ab; margin-top: 10px; text-align: center; min-height: 1.6em; }
@media (max-width: 980px) {
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .choices.c4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .choices.c2, .grid2 { grid-template-columns: 1fr; } .block { padding: 22px 18px; } }

/* 決済モーダル */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(15, 26, 54, .6); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: 22px; padding: 32px; width: min(460px, 100%); text-align: center; }
.modal-card h2 { font-size: 22px; font-weight: 900; }
.modal-card .amt { font-size: 44px; color: var(--hot); margin: 10px 0; }
.modal-card p { font-size: 14px; color: var(--ink2); }
.modal-card .demo { background: #fff8e0; border: 1px solid #f3dc8f; color: #6b5510; border-radius: 12px; padding: 12px; font-size: 13px; margin: 16px 0; text-align: left; }
.modal-card .btn { width: 100%; margin-top: 10px; }

/* ===== マイページ ===== */
.mp-top { background: var(--grad); color: #fff; padding: 36px 0 70px; }
.mp-top h1 { font-size: clamp(22px, 3.6vw, 30px); font-weight: 900; }
.mp-top p { opacity: .9; font-size: 14px; }
.mp-top .oid { display: inline-block; background: rgba(255, 255, 255, .18); padding: 3px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.mp-body { margin-top: -44px; padding-bottom: 90px; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0; list-style: none; }
.track li { text-align: center; font-size: 13px; font-weight: 700; color: var(--mute); position: relative; padding-top: 44px; }
.track li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 4px; background: var(--line); }
.track li:first-child::before { display: none; }
.track li::after { content: attr(data-n); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; font-family: "Outfit", sans-serif; color: var(--mute); }
.track li.done { color: var(--ok); }
.track li.done::after { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.track li.done::before, .track li.now::before { background: var(--ok); }
.track li.now { color: var(--brand); }
.track li.now::after { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 6px rgba(36, 71, 249, .15); }
.mp-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; margin-top: 22px; }
.alert { border-radius: 14px; padding: 16px 20px; font-size: 14px; font-weight: 700; margin-bottom: 22px; }
.alert.warn { background: #fff8e0; border: 1px solid #f3dc8f; color: #6b5510; }
.alert.ok { background: #e5f7ef; border: 1px solid #a8e2c8; color: #0b6b46; }
.progress { height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 10px 0 6px; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .4s; }
.side dl { margin: 0; }
.side .row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side .row dt { color: var(--mute); }
.side .row dd { margin: 0; font-weight: 700; text-align: right; }
.side h2 { font-size: 16px !important; }
.drop { border: 2px dashed #c3cadd; border-radius: 14px; padding: 22px; text-align: center; font-size: 14px; color: var(--ink2); background: var(--bg); }
.drop input { margin-top: 10px; max-width: 100%; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.saved { font-size: 13px; color: var(--ok); font-weight: 700; align-self: center; }
@media (max-width: 980px) { .mp-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .track li { font-size: 11px; } }

/* ===== 狭い画面でのはみ出し防止 ===== */
.hero .wrap > *, .order-layout > *, .mp-layout > *, .choices > *, .plan-grid > *, .feat > *, .opt-grid > *, .grid2 > * { min-width: 0; }
.logo, .site-header .btn, .sticky-cta .btn { white-space: nowrap; }
.choice .t { flex-wrap: wrap; }
.choice .t .pr { margin-left: auto; }
.hero-price .now { white-space: nowrap; }
@media (max-width: 420px) {
  .wrap, .narrow { width: calc(100% - 28px); }
  .choices.c4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .plan { padding: 26px 20px; }
  .plan .price .now { font-size: 46px; }
  .feat { grid-template-columns: 1fr; padding: 24px 20px; }
  .opt { padding: 22px 18px; }
  .btn-lg { padding: 17px 24px; font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .mood-extra { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .choice .t .pr { white-space: normal; text-align: right; }
  .site-header .wrap { gap: 10px; }
  .site-header .btn { padding: 10px 16px; }
  .logo { font-size: 18px; }
}

/* ===== ロゴ ===== */
.logo { gap: 10px; }
img.logo-mark { width: 40px; height: 40px; background: none; border-radius: 0; display: block; filter: drop-shadow(0 4px 8px rgba(58, 61, 245, .28)); transition: transform .3s; }
.logo:hover img.logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text { font-weight: 900; font-size: 21px; letter-spacing: .02em; line-height: 1; display: flex; align-items: baseline; }
.logo-text b { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 24px; letter-spacing: .01em; margin-right: 2px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 600px) { img.logo-mark { width: 34px; height: 34px; } .logo-text { font-size: 18px; } .logo-text b { font-size: 21px; } }

/* ===== 制作実績 ===== */
.works-sec { background: #fff; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s, box-shadow .3s, opacity .7s; min-width: 0; }
.work:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(20, 34, 90, .14); }
.work.big { grid-column: span 2; }
.work .shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.work.big .shot { aspect-ratio: 16 / 8.2; }
.work .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .6s; }
.work:hover .shot img { transform: scale(1.05); }
.work .go { position: absolute; right: 12px; bottom: 12px; background: rgba(15, 26, 54, .86); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 99px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.work:hover .go, .work:focus-visible .go { opacity: 1; transform: none; }
.work .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work .cat { font-size: 12px; font-weight: 700; color: var(--brand); }
.work h3 { font-size: 18px; line-height: 1.5; }
.work p { font-size: 13px; color: var(--ink2); line-height: 1.7; }
.work .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.work .tags span { font-size: 11px; font-weight: 700; background: var(--brand-soft); color: var(--brand); padding: 2px 10px; border-radius: 99px; }
.works-note { text-align: center; font-size: 13px; color: var(--mute); margin-top: 22px; }
@media (max-width: 900px) { .works-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .works-grid { grid-template-columns: 1fr; } .work.big { grid-column: auto; } .work.big .shot { aspect-ratio: 16 / 10; } .work .go { opacity: 1; transform: none; } }

/* ===== 動きのある演出の見本（分子の鎖と泡） ===== */
.demo-canvas { position: relative; margin-top: 16px; height: 220px; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, #10244e 0%, #070d1f 60%, #04070f 100%); }
.demo-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.demo-copy { position: absolute; left: 20px; bottom: 18px; color: #fff; font-weight: 900; font-size: 22px; line-height: 1.4; text-shadow: 0 2px 14px rgba(4, 7, 15, .8); }
.demo-copy small { display: block; font-family: "Outfit", sans-serif; font-size: 10px; letter-spacing: .22em; color: #6fc3ff; font-weight: 600; margin-bottom: 4px; }
.demo-copy em { font-style: normal; background: linear-gradient(90deg, #7fd4ff, #2f8dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 600px) { .demo-canvas { height: 190px; } .demo-copy { font-size: 19px; } }

/* ===== ヒーロー背景の動き ===== */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.hero::before { animation: blobA 16s ease-in-out infinite alternate; }
.hero::after { animation: blobB 20s ease-in-out infinite alternate; }
@keyframes blobA { to { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes blobB { to { transform: translate(110px, -60px) scale(1.2); } }
/* 文字の後ろをうっすら白くして読みやすさを保つ */
.hero .wrap > div:first-child { position: relative; }
.hero .wrap > div:first-child::before { content: ""; position: absolute; inset: -30px -40px; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, .88), rgba(255, 255, 255, 0)); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }

/* ===== ドメインの空き確認、流用元リンク ===== */
.domain-check { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.domain-check .btn { padding: 12px 20px; font-size: 14px; }
.domain-check small { color: var(--mute); font-size: 12px; line-height: 1.7; }
.reuse { background: var(--brand-soft); border: 1.5px dashed var(--brand); border-radius: 16px; padding: 20px; margin-top: 4px; }
.reuse-on { margin-top: 14px; background: #e5f7ef; border: 1px solid #a8e2c8; color: #0b6b46; border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.reuse-on[hidden] { display: none; }
.site-footer .operator { line-height: 1.9; text-align: right; }
@media (max-width: 700px) { .site-footer .operator { text-align: left; } }

/* ===== 写真のサムネイル ===== */
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: var(--line); }

/* ===== デザインと価格 ===== */
.quality-sec { background: #fff; }
.q-compare { display: grid; grid-template-columns: 1fr auto 1.1fr; gap: 20px; align-items: stretch; }
.q-col { border: 1.5px solid var(--line); border-radius: 24px; padding: 30px; background: var(--bg); min-width: 0; }
.q-col.main { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 24px 60px rgba(15, 26, 54, .28); }
.q-label { font-size: 13px; font-weight: 700; color: var(--mute); }
.q-col.main .q-label { color: var(--accent); }
.q-price { font-size: clamp(34px, 5vw, 54px); line-height: 1.2; margin: 6px 0 14px; color: var(--ink2); }
.q-price small { font-size: .36em; font-family: "Zen Kaku Gothic New", sans-serif; margin: 0 2px; }
.q-col.main .q-price { color: var(--accent); }
.q-col ul { margin: 0; padding: 0; list-style: none; }
.q-col li { padding: 8px 0 8px 26px; position: relative; font-size: 15px; border-top: 1px dashed var(--line); }
.q-col li::before { content: "—"; position: absolute; left: 0; color: var(--mute); }
.q-col.main li { border-top-color: rgba(255, 255, 255, .16); }
.q-col.main li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.q-col .btn { width: 100%; margin-top: 20px; }
.q-src { font-size: 11px; color: var(--mute); margin-top: 14px; }
.q-vs { align-self: center; font-family: "Outfit", sans-serif; font-weight: 700; color: var(--mute); }
.q-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.q-card { background: var(--bg); border-radius: var(--radius); padding: 26px; min-width: 0; }
.q-card .no { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 18px; }
.q-card h4 { font-size: 18px; margin: 14px 0 6px; line-height: 1.5; }
.q-card p { font-size: 14px; color: var(--ink2); }
@media (max-width: 860px) { .q-compare { grid-template-columns: 1fr; } .q-vs { justify-self: center; } .q-why { grid-template-columns: 1fr; } }

/* ===== 規約などの文章ページ ===== */
.legal { padding: 44px 0 80px; }
.legal h1 { font-size: clamp(24px, 4vw, 32px); font-weight: 900; margin-bottom: 20px; }
.legal h2 { font-size: 18px; margin: 30px 0 8px; padding-left: 12px; border-left: 4px solid var(--brand); line-height: 1.5; }
.legal p, .legal li { font-size: 15px; color: var(--ink2); }
.legal .lead { margin-bottom: 8px; }
.legal ol, .legal ul { padding-left: 1.4em; margin: 6px 0; }
.legal li { margin-bottom: 6px; }
.legal .date { margin-top: 30px; font-size: 13px; color: var(--mute); }
.legal mark { background: #ffe9a8; padding: 0 4px; border-radius: 4px; }
.legal-tbl { min-width: 0 !important; }
.legal-tbl th { width: 30%; background: var(--bg); font-size: 14px; vertical-align: top; }
.legal-tbl td { font-size: 14px; color: var(--ink2); }
.legal-tbl ul { margin: 0; }
.agree a { color: var(--brand); }
@media (max-width: 600px) { .legal-tbl th, .legal-tbl td { display: block; width: 100%; } .legal-tbl th { border-bottom: 0; padding-bottom: 4px; } }

/* ===== 全額返金保証 ===== */
.guarantee-sec { padding: 0 0 88px; background: #fff; }
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; border: 2.5px solid var(--ok); border-radius: 24px; padding: 34px; background: #f2fbf7; }
.g-badge { width: 150px; height: 150px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-content: center; text-align: center; font-weight: 900; font-size: 24px; line-height: 1.3; box-shadow: 0 0 0 8px #d5f1e5; }
.g-badge span { display: block; font-size: 38px; line-height: 1.1; }
.guarantee h2 { font-size: clamp(21px, 3.2vw, 28px); line-height: 1.5; font-weight: 900; }
.guarantee p { color: var(--ink2); font-size: 15px; margin-top: 10px; }
.guarantee ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--mute); font-size: 13px; }
.g-note { margin-top: 10px; font-size: 12px; font-weight: 700; color: #7be0b4; background: rgba(18, 163, 107, .18); border-radius: 10px; padding: 8px 12px; text-align: center; }
@media (max-width: 700px) { .guarantee { grid-template-columns: 1fr; justify-items: center; padding: 26px 20px; } .g-badge { width: 120px; height: 120px; font-size: 20px; } .g-badge span { font-size: 30px; } .guarantee-sec { padding-bottom: 64px; } }

.g-badge { font-size: 22px; }
.g-badge span { font-size: 40px; }

/* ===== 返金保証の追従バッジ（スクロールしても左下に残る） ===== */
.g-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 65; width: 104px; height: 104px; border-radius: 50%;
  background: var(--ok); color: #fff; text-decoration: none; display: grid; place-content: center; text-align: center;
  font-weight: 900; font-size: 15px; line-height: 1.25; box-shadow: 0 0 0 6px rgba(213, 241, 229, .95), 0 14px 30px rgba(12, 110, 72, .35);
  transition: transform .2s; animation: gpulse 3.2s ease-in-out infinite;
}
.g-float span { display: block; font-size: 28px; line-height: 1.1; }
.g-float small { display: block; font-size: 10px; font-weight: 700; opacity: .9; margin-top: 2px; text-decoration: underline; }
.g-float:hover { transform: scale(1.06) rotate(-4deg); }
@keyframes gpulse { 50% { box-shadow: 0 0 0 11px rgba(213, 241, 229, .6), 0 14px 30px rgba(12, 110, 72, .35); } }
@media (max-width: 760px) {
  .g-float { left: 12px; bottom: 16px; width: 78px; height: 78px; font-size: 11px; }
  .g-float span { font-size: 21px; }
  .g-float small { display: none; }
  body.has-sticky .g-float { bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) { .g-float { animation: none; } }
@media print { .g-float { display: none; } }

/* ===== ヒーローの返金保証 ===== */
.hero-guarantee { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 18px; padding: 10px 18px 10px 10px; border-radius: 99px; background: #e9f8f1; border: 1.5px solid #a8e2c8; text-decoration: none; color: #0b6b46; font-size: 14px; font-weight: 700; line-height: 1.5; transition: background .2s; }
.hero-guarantee:hover { background: #d8f2e6; }
.hero-guarantee b { background: var(--ok); color: #fff; padding: 4px 14px; border-radius: 99px; font-size: 14px; white-space: nowrap; }
.ticket-g { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 700; color: #0b6b46; background: #e9f8f1; border-radius: 12px; padding: 8px 12px; }
@media (max-width: 600px) { .hero-guarantee { border-radius: 16px; padding: 10px 14px; } }

.g-float { transition: transform .2s, opacity .3s; }
.g-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.6); animation: none; }

/* ===== 申込みページ：決済ボタンのすぐ上の返金保証 ===== */
.g-pay { display: block; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #12a36b; color: #fff; text-decoration: none; text-align: center; box-shadow: 0 0 0 3px rgba(123, 224, 180, .35); transition: transform .2s; }
.g-pay:hover { transform: translateY(-1px); }
.g-pay b { display: block; font-size: 17px; font-weight: 900; letter-spacing: .04em; }
.g-pay span { display: block; font-size: 12.5px; line-height: 1.6; margin-top: 4px; font-weight: 700; }
.g-pay small { display: inline-block; margin-top: 6px; font-size: 11px; text-decoration: underline; opacity: .9; }
.summary .g-pay + .btn { margin-top: 12px; }

/* ===== 先着20社限定 ===== */
.camp-bar { background: linear-gradient(90deg, #e11d48, #f97316); font-size: 15px; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; align-items: center; }
.camp-bar b { color: #fff3a3; }
.camp-limit { background: #fff; color: #e11d48; font-weight: 900; padding: 3px 12px; border-radius: 99px; font-size: 14px; white-space: nowrap; }
.camp-left { background: rgba(0, 0, 0, .28); padding: 3px 12px; border-radius: 99px; white-space: nowrap; }
.camp-left b { font-family: "Outfit", sans-serif; font-size: 18px; color: #fff; }
.limit-badge { display: inline-flex; flex-wrap: wrap; align-items: stretch; margin-top: 16px; border-radius: 16px; overflow: hidden; border: 2.5px solid #e11d48; background: #fff; font-weight: 900; line-height: 1.3; box-shadow: 0 10px 26px rgba(225, 29, 72, .22); animation: lbPulse 2.4s ease-in-out infinite; }
.limit-badge span { display: flex; align-items: center; gap: 4px; padding: 10px 16px; white-space: nowrap; }
.limit-badge .lb-a { background: #e11d48; color: #fff; font-size: 15px; }
.limit-badge .lb-b { color: #e11d48; font-size: 19px; }
.limit-badge .lb-b b { font-family: "Outfit", sans-serif; font-size: 30px; line-height: 1; }
.limit-badge .lb-c { background: #fff1f3; color: #111a36; font-size: 15px; border-left: 2px dashed #f7a8b8; }
.limit-badge .lb-c b { font-family: "Outfit", sans-serif; font-size: 26px; line-height: 1; color: #e11d48; }
@keyframes lbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .limit-badge { animation: none; } }
.plan .limit b { font-family: "Outfit", sans-serif; font-size: 17px; }
.sum-limit { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fff1f3; border: 1.5px solid #f7a8b8; color: #be123c; font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.sum-limit b { font-family: "Outfit", sans-serif; font-size: 18px; }
@media (max-width: 600px) { .camp-bar { font-size: 13.5px; } .limit-badge span { padding: 8px 12px; } .limit-badge .lb-b { font-size: 17px; } }

/* ===== ヒーロー：制作会社の相場との比較 ===== */
.hero h1.hero-compare { font-size: clamp(30px, 5vw, 54px); line-height: 1.3; }
.hero-compare span.hc-market, .hero-compare span.hc-ours { display: block; }
.hero-compare .hc-market { font-size: .62em; color: var(--ink2); font-weight: 900; }
.hero-compare .hc-market b { color: var(--ink); text-decoration: line-through; text-decoration-color: var(--hot); text-decoration-thickness: 3px; white-space: nowrap; }
.hero-compare .hc-ours { margin-top: 6px; }
.hero-compare .hc-ours .grad-text { font-family: "Outfit", "Zen Kaku Gothic New", sans-serif; font-size: 1.35em; white-space: nowrap; }
.hero-src { font-size: 11.5px; line-height: 1.7; color: var(--mute); max-width: 44em; margin-top: 10px; }
.hero-src a { color: inherit; text-decoration: underline; }
.hero-compare .hc-market { font-size: .78em; color: var(--ink); }
.hero-compare .hc-market b { text-decoration: none; font-size: 1.12em; background: linear-gradient(transparent 62%, #ffe27a 62%); padding: 0 2px; }

/* ===== ヒーロー：まず仕上がりを見る ===== */
.peek-btn { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 30em; margin: 0 0 20px; padding: 10px 18px 10px 10px; border: 2px solid var(--brand); border-radius: 18px; background: #fff; cursor: pointer; font: inherit; text-align: left; color: var(--ink); box-shadow: 0 12px 30px rgba(36, 71, 249, .18); transition: transform .2s, box-shadow .2s; }
.peek-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(36, 71, 249, .26); }
.peek-thumb { position: relative; flex: 0 0 132px; border-radius: 10px; overflow: hidden; line-height: 0; }
.peek-thumb img { width: 100%; height: auto; display: block; }
.peek-thumb i { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(15, 26, 54, .78); color: #fff; font-style: normal; font-size: 15px; display: flex; align-items: center; justify-content: center; padding-left: 3px; animation: peekPulse 1.8s ease-in-out infinite; }
.peek-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.peek-txt b { font-size: 17px; font-weight: 900; color: var(--brand); line-height: 1.4; }
.peek-txt small { font-size: 12.5px; color: var(--ink2); line-height: 1.5; }
@keyframes peekPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
html.peek-on { overflow: hidden; }
.peek { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 16, 36, .72); display: flex; align-items: center; justify-content: center; padding: 20px; }
.peek[hidden] { display: none; }
.peek-box { width: min(1180px, 100%); height: min(860px, 100%); background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.peek-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); }
.peek-ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.peek-ttl b { font-size: 16px; font-weight: 900; }
.peek-ttl small { font-size: 12px; color: var(--mute); }
.peek-size { display: flex; background: #eef0f7; border-radius: 99px; padding: 3px; }
.peek-size button { font: inherit; font-size: 13px; font-weight: 700; border: 0; background: none; padding: 6px 14px; border-radius: 99px; cursor: pointer; color: var(--ink2); }
.peek-size button.on { background: #fff; color: var(--brand); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.peek-close { flex: 0 0 40px; height: 40px; border-radius: 50%; border: 0; background: #eef0f7; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.peek-stage { flex: 1; min-height: 0; background: #dfe3ee; display: flex; justify-content: center; }
.peek-frame { width: 100%; height: 100%; background: #fff; transition: width .25s; }
.peek-frame.sp { width: 390px; max-width: 100%; box-shadow: 0 0 0 1px #c9cfdd, 0 10px 30px rgba(0, 0, 0, .2); }
.peek-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.peek-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.peek-foot small { display: block; font-size: 11.5px; color: var(--mute); font-weight: 500; }
.peek-foot .btn { padding: 11px 22px; font-size: 14px; white-space: nowrap; }
@media (max-width: 700px) {
  .peek { padding: 0; }
  .peek-box { border-radius: 0; height: 100%; }
  .peek-size { display: none; }
  .peek-head { padding: 10px 10px 10px 14px; }
  .peek-ttl b { font-size: 14px; }
  .peek-foot { padding: 10px 14px; font-size: 12.5px; }
  .peek-foot .btn { width: 100%; text-align: center; justify-content: center; }
  .peek-thumb { flex-basis: 104px; }
  .peek-txt b { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .peek-thumb i { animation: none; } }

/* ===== ヒーロー：納期 ===== */
.hero-speed { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: -6px 0 18px; }
.hero-speed span { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); font-weight: 900; white-space: nowrap; }
.hero-speed i { font-style: normal; font-size: 12.5px; color: var(--ink2); }
.hero-speed b { font-size: 19px; }
.hero-speed .fast { background: var(--ink); color: #fff; }
.hero-speed .fast i { color: #c7cfe8; }
.hero-speed .fast b { color: #ffd02b; }
.hero-speed small { font-size: 11.5px; font-weight: 700; color: #c7cfe8; }
@media (max-width: 600px) { .hero-speed b { font-size: 17px; } .hero-speed span { padding: 7px 12px; } }

/* ===== ヒーローの組み直し：最初の画面に、価格の比較・納期・申込み・返金保証を収める ===== */
.hero-was { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--ink2); }
.hero-was s { color: var(--mute); }
.hero-was b { color: var(--hot); font-size: 1.15em; }
.hero .hero-cta { margin-top: 14px; }
.hero .hero-guarantee { margin-top: 14px; }
.hero .limit-badge { margin-top: 18px; }
.hero .countdown { display: flex; margin: 12px 0 22px; }
.hero .peek-btn { margin-bottom: 16px; }
.hero .hero-points { margin-top: 16px; }
.hero .hero-src { margin-top: 16px; }
@media (max-width: 700px) {
  .hero { padding: 22px 0 56px; }
  .hero-canvas { display: none; }            /* スマホでは背景の動きを止めて、表示と電池を軽くする */
  .hero .hero-tag { font-size: 12px; padding: 4px 12px; }
  .hero h1.hero-compare { margin: 10px 0 12px; }
  .hero-speed { margin: 0 0 10px; gap: 6px; flex-wrap: nowrap; }
  .hero-speed span { padding: 6px 10px; gap: 5px; }
  .hero-speed b { font-size: 15px; }
  .hero-speed i { font-size: 11px; }
  .hero-speed small { font-size: 10px; }
  .hero-was { font-size: 13px; }
  .hero .hero-cta { margin-top: 10px; }
  .hero .hero-cta .btn { width: 100%; justify-content: center; text-align: center; }
  .hero .hero-cta-sub { display: none; }
  .hero .hero-guarantee { margin-top: 10px; font-size: 13px; }
  .hero .hero-lead { font-size: 15px; }
}
@media (max-width: 700px) { .hero-speed { flex-wrap: wrap; } .hero-speed b { font-size: 14.5px; } .hero-speed span { padding: 5px 9px; } }

/* ===== 月額0円のチップと、ほかの頼み方との比較表 ===== */
.hero-speed .zero { background: #fff7d6; border-color: #e0a800; }
.hero-speed .zero b { color: var(--hot); }
.hero-speed .zero small { color: var(--ink2); }
.tbl.cmp th, .tbl.cmp td { vertical-align: top; }
.tbl.cmp thead th small, .tbl.cmp td small { display: block; font-size: 12px; font-weight: 500; opacity: .8; margin-top: 2px; }
.tbl.cmp tbody th { font-size: 13.5px; color: var(--ink2); white-space: nowrap; background: #f6f7fb; }
.tbl.cmp thead th.ours { background: var(--brand); }
.tbl.cmp td.ours { background: #eef2ff; }
.tbl.cmp td.ours b { font-size: 17px; color: var(--brand); }

/* 運営会社へのリンク */
.hero-op { margin-top: 12px; font-size: 13px; color: var(--ink2); }
.hero-op a { color: var(--ink2); text-decoration: underline; }

/* ===== ヒーロー（映像つき・ダーク）：.hero.hx ===== */
.hero.hx { background: #050814; color: #fff; padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 120px); isolation: isolate; }
.hero.hx::before, .hero.hx::after { display: none; }
.hero.hx .hero-canvas, .hero.hx .ticket { display: none; }
.hx-media { position: absolute; inset: 0; z-index: -2; background: #050814 url(../videos/hero-wide.jpg) center / cover no-repeat; }
.hx-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hx-media video.on { opacity: 1; }
.hx-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 20, .92) 0%, rgba(5, 8, 20, .72) 36%, rgba(5, 8, 20, .12) 68%, rgba(5, 8, 20, .3) 100%),
    linear-gradient(180deg, rgba(5, 8, 20, .35) 0%, rgba(5, 8, 20, 0) 28%, rgba(5, 8, 20, 0) 66%, #050814 100%); }
.hx-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
.hero.hx .wrap > div:first-child::before { display: none; }
.hero.hx .wrap { display: block; }
.hero.hx .wrap > div:first-child { max-width: 700px; }

.hx-eye { display: flex; align-items: center; gap: 14px; font-family: Outfit, sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .3em; color: #8fa5ff; margin-bottom: 16px; }
.hx-eye::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hx-eye i { font-style: normal; width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .7); animation: hxDot 2s infinite; }
@keyframes hxDot { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.hero.hx .hero-tag { background: rgba(255, 255, 255, .08); color: #dfe5ff; border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; }

.hero.hx h1.hero-compare { font-size: clamp(34px, 6vw, 78px); line-height: 1.12; margin: 20px 0 22px; letter-spacing: 0; }
.hero.hx .hero-compare .hc-market { font-size: .42em; font-weight: 700; color: #c7cfe8; letter-spacing: .04em; }
.hero.hx .hero-compare .hc-market b { background: none; color: #fff; font-size: 1.2em; padding: 0; border-bottom: 2px solid #ffd02b; }
.hero.hx .hero-compare .hc-ours { margin-top: 10px; font-size: .5em; font-weight: 700; color: #dfe5ff; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3em; }
.hero.hx .hero-compare .hc-ours .grad-text { font-size: 2.5em; line-height: 1; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(100deg, #ffffff 0%, #b9c8ff 38%, #8f6bff 70%, #37d0ff 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hxShine 7s ease-in-out infinite alternate; filter: drop-shadow(0 10px 40px rgba(88, 110, 255, .45)); }
@keyframes hxShine { to { background-position: 100% 0; } }

.hero.hx .hero-speed { margin: 0 0 16px; gap: 10px; }
.hero.hx .hero-speed span { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; }
.hero.hx .hero-speed i { color: #aab4d8; }
.hero.hx .hero-speed .fast { background: rgba(255, 208, 43, .12); border-color: rgba(255, 208, 43, .5); }
.hero.hx .hero-speed .fast b { color: #ffd02b; }
.hero.hx .hero-speed .zero { background: rgba(61, 220, 151, .12); border-color: rgba(61, 220, 151, .5); }
.hero.hx .hero-speed .zero b { color: #5ff0b0; }
.hero.hx .hero-speed small, .hero.hx .hero-speed .zero small { color: #aab4d8; }
.hero.hx .hero-was { color: #c7cfe8; }
.hero.hx .hero-was s { color: #8089a3; }
.hero.hx .hero-was b { color: #ffd02b; }

.hero.hx .hero-cta .btn-primary { position: relative; overflow: hidden; background: linear-gradient(100deg, #ff4a3a, #ff7a2f); box-shadow: 0 14px 40px rgba(255, 84, 50, .5), 0 0 0 1px rgba(255, 255, 255, .15) inset; }
.hero.hx .hero-cta .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: hxSweep 3.6s ease-in-out infinite; }
@keyframes hxSweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.hero.hx .hero-cta .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero.hx .hero-cta .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }
.hero.hx .hero-guarantee { background: rgba(18, 163, 107, .14); border-color: rgba(95, 240, 176, .45); color: #c9f7e2; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero.hx .hero-guarantee:hover { background: rgba(18, 163, 107, .24); }
.hero.hx .limit-badge { background: rgba(255, 255, 255, .06); border-color: #ff4d6d; box-shadow: 0 10px 30px rgba(225, 29, 72, .3); }
.hero.hx .limit-badge .lb-b { color: #ff8fa3; }
.hero.hx .countdown { color: #dfe5ff; }
.hero.hx .countdown b { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.hero.hx .peek-btn { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22); color: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero.hx .peek-btn:hover { border-color: #8fa5ff; box-shadow: 0 24px 60px rgba(60, 90, 255, .35); }
.hero.hx .peek-txt b { color: #fff; }
.hero.hx .peek-txt small { color: #b9c2de; }
.hero.hx .hero-lead { color: #c7cfe8; }
.hero.hx .hero-points { color: #e6eaff; }
.hero.hx .hero-points li::before { color: #5ff0b0; }
.hero.hx .hero-op, .hero.hx .hero-op a { color: #aab4d8; }
.hero.hx .hero-src { color: #7f89ab; }

/* 入場の動き */
.hero.hx .hx-in { opacity: 0; transform: translateY(22px); animation: hxIn .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero.hx .hx-in.d1 { animation-delay: .08s; } .hero.hx .hx-in.d2 { animation-delay: .18s; }
.hero.hx .hx-in.d3 { animation-delay: .28s; } .hero.hx .hx-in.d4 { animation-delay: .38s; }
.hero.hx .hx-in.d5 { animation-delay: .48s; }
@keyframes hxIn { to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .hero.hx { padding: 26px 0 60px; }
  .hx-media { background-image: url(../videos/hero-tall.jpg); }
  .hx-shade { background: linear-gradient(180deg, rgba(5, 8, 20, .8) 0%, rgba(5, 8, 20, .66) 45%, rgba(5, 8, 20, .82) 80%, #050814 100%); }
  .hx-grid { display: none; }
  .hx-eye { font-size: 10.5px; letter-spacing: .22em; margin-bottom: 10px; }
  .hero.hx .hero-tag { display: none; }
  .hero.hx h1.hero-compare { font-size: clamp(34px, 10.5vw, 46px); margin: 6px 0 14px; }
  .hero.hx .hero-compare .hc-market { font-size: .47em; }
  .hero.hx .hero-compare .hc-ours { font-size: .5em; }
  .hero.hx .hero-compare .hc-ours .grad-text { font-size: 2.7em; }
  .hero.hx .hero-speed { margin: 0 0 10px; gap: 6px; }
  .hero.hx .hero-cta .btn { padding-top: 17px; padding-bottom: 17px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.hx .hx-in { opacity: 1; transform: none; animation: none; }
  .hero.hx .hero-cta .btn-primary::after, .hero.hx .hero-compare .hc-ours .grad-text { animation: none; }
}

@media (max-width: 700px) { .hx-eye { font-size: 10px; letter-spacing: .14em; white-space: nowrap; gap: 8px; } .hx-eye::before { width: 20px; } }

/* ===== オープニング：名前 → 中央の点から、回る四角と本編の窓が育つ → 窓が画面いっぱいに広がる（約2.6秒・1回だけ） ===== */
.intro { position: fixed; inset: 0; z-index: 9999; background: #3f63ff; overflow: hidden; pointer-events: none; animation: introOut .4s ease 2.3s forwards; }
.intro-sq { position: absolute; left: 50%; top: 50%; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax; border-radius: 14vmax; background: #3557e6; transform: rotate(70deg) scale(0); animation: introSq 1.9s linear .45s forwards; }
.intro-win { position: absolute; inset: 0; background: #050814 url(../videos/hero-wide.jpg) center / cover no-repeat; border-radius: 9vmax; transform: scale(0); animation: introWin 1.9s linear .45s forwards; }
.intro-name { position: absolute; left: 0; right: 0; top: 50%; margin-top: -.7em; text-align: center; font-family: Outfit, sans-serif; font-weight: 500; letter-spacing: .08em; font-size: clamp(18px, 2.4vmin, 28px); color: #fff; opacity: 0; animation: introName 2.35s linear forwards; }
.intro-big { position: absolute; left: -1vw; bottom: -3.5vw; font-family: Outfit, sans-serif; font-weight: 700; font-size: 21vw; line-height: 1; white-space: nowrap; color: rgba(255, 255, 255, .17); transform: translateY(110%); animation: introBig 2.35s linear forwards; }
/* 0〜45%：点から中くらいまで育ちながら回る／45〜58%：まっすぐに止まる／58〜100%：画面いっぱいへ */
@keyframes introSq {
  0% { transform: rotate(70deg) scale(0); animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  45% { transform: rotate(6deg) scale(.21); animation-timing-function: ease-out; }
  58% { transform: rotate(0deg) scale(.225); animation-timing-function: cubic-bezier(.76, 0, .18, 1); }
  100% { transform: rotate(0deg) scale(1.1); }
}
@keyframes introWin {
  0% { transform: scale(0); border-radius: 9vmax; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  45% { transform: scale(.2); border-radius: 9vmax; animation-timing-function: ease-out; }
  58% { transform: scale(.215); border-radius: 8vmax; animation-timing-function: cubic-bezier(.76, 0, .18, 1); }
  100% { transform: scale(1); border-radius: 0; }
}
@keyframes introName {
  0% { opacity: 0; transform: translateY(8px); }
  12% { opacity: 1; transform: none; }
  19% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  56% { opacity: 1; transform: translateY(-27vmax); }
  66% { opacity: 1; transform: translateY(-28vmax); }
  80%, 100% { opacity: 0; transform: translateY(-40vmax); }
}
@keyframes introBig {
  0%, 30% { transform: translateY(110%); animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  58% { transform: none; opacity: 1; }
  68% { transform: none; opacity: 1; }
  88%, 100% { transform: translateY(-30vh); opacity: 0; }
}
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@media (max-width: 700px) { .intro-win { background-image: url(../videos/hero-tall.jpg); } }
html.no-intro .intro { display: none; }
/* 幕が開いてから、ヒーローの文字を出す */
html:not(.no-intro) .hero.hx .hx-in { animation-delay: 2.15s; }
html:not(.no-intro) .hero.hx .hx-in.d1 { animation-delay: 2.23s; } html:not(.no-intro) .hero.hx .hx-in.d2 { animation-delay: 2.33s; }
html:not(.no-intro) .hero.hx .hx-in.d3 { animation-delay: 2.43s; } html:not(.no-intro) .hero.hx .hx-in.d4 { animation-delay: 2.53s; }
html:not(.no-intro) .hero.hx .hx-in.d5 { animation-delay: 2.63s; }

/* ===== オープニングの仕上げ ===== */
.intro { background: radial-gradient(120% 90% at 22% 12%, #6f8dff 0%, #4063ff 38%, #2a3fd6 78%, #2334b8 100%); }
.intro::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 8vmax 8vmax; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 62%); mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 62%); animation: introFade .4s ease 1.5s forwards; }
.intro-sq { background: linear-gradient(140deg, #3a5cf0 0%, #2b45cf 55%, #3b2fc4 100%); box-shadow: 0 0 30vmax rgba(10, 18, 90, .55); }
.intro-ring { position: absolute; left: 50%; top: 50%; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax; border-radius: 17vmax; border: .55vmax solid rgba(255, 255, 255, .5); transform: rotate(-110deg) scale(0); animation: introRing 1.9s linear .45s forwards; }
@keyframes introRing {
  0% { transform: rotate(-110deg) scale(0); opacity: 1; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  45% { transform: rotate(-12deg) scale(.262); opacity: 1; animation-timing-function: ease-out; }
  58% { transform: rotate(0deg) scale(.275); opacity: 1; animation-timing-function: cubic-bezier(.76, 0, .18, 1); }
  100% { transform: rotate(18deg) scale(1.3); opacity: 0; }
}
.intro-win { box-shadow: 0 0 0 .35vmax rgba(255, 255, 255, .55), 0 0 26vmax 6vmax rgba(120, 150, 255, .75), 0 30vmax 60vmax rgba(5, 8, 40, .6); }
.intro-name { font-weight: 600; letter-spacing: .34em; text-indent: .34em; text-shadow: 0 2px 24px rgba(10, 20, 90, .45); }
.intro-big { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .34); font-size: 22vw; }
.intro-c { position: absolute; font-family: Outfit, sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .22em; color: rgba(255, 255, 255, .78); opacity: 0; animation: introIn .4s ease .15s forwards, introFade .3s ease 1.5s forwards; }
.intro-c.tl { left: 24px; top: 22px; } .intro-c.tr { right: 24px; top: 22px; }
.intro-c.bl { left: 24px; bottom: 22px; } .intro-c.br { right: 24px; bottom: 22px; }
.intro-c.bl::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; border-radius: 50%; background: #fff; animation: introBlink .5s steps(2) infinite; }
@keyframes introBlink { 50% { opacity: 0; } }
@keyframes introIn { to { opacity: 1; } }
@keyframes introFade { to { opacity: 0; } }
.intro-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #fff, #9fe8ff); transform-origin: 0 50%; transform: scaleX(0); animation: introBar 1.55s cubic-bezier(.5, 0, .2, 1) .1s forwards, introFade .25s ease 1.65s forwards; }
@keyframes introBar { to { transform: scaleX(1); } }
@media (max-width: 700px) { .intro-c { font-size: 9px; letter-spacing: .16em; } .intro-c.tl, .intro-c.bl { left: 14px; } .intro-c.tr, .intro-c.br { right: 14px; } .intro-c.tr { display: none; } }

/* ===== ヒーローを横切る巨大な文字 ===== */
.hx-marquee { position: absolute; left: 0; right: 0; bottom: 3%; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hx-marquee > div { display: flex; width: max-content; animation: hxMarq 46s linear infinite; }
.hx-marquee span { font-family: Outfit, sans-serif; font-weight: 700; font-size: clamp(96px, 17vw, 270px); line-height: .9; letter-spacing: -.01em; white-space: nowrap; padding-right: .45em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(143, 165, 255, .05)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); }
@keyframes hxMarq { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .hx-marquee { bottom: 1.5%; } .hx-marquee span { font-size: 30vw; } }
@media (prefers-reduced-motion: reduce) { .hx-marquee > div { animation: none; } }

/* ===== 比較表：スマホではカード型（項目ごとに、WEBパックを上に大きく、ほかの2つを下に並べる） ===== */
@media (max-width: 700px) {
  table.tbl.cmp { min-width: 0; display: block; }
  .tbl.cmp thead { display: none; }
  .tbl.cmp tbody { display: block; }
  .tbl.cmp tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px 14px; border-bottom: 1px solid var(--line); }
  .tbl.cmp tbody tr:last-child { border-bottom: 0; }
  .tbl.cmp tbody th, .tbl.cmp tbody td { border: 0; }
  .tbl.cmp tbody th { grid-column: 1 / -1; order: -2; background: none; padding: 0 0 2px; font-size: 15px; font-weight: 900; color: var(--ink); white-space: normal; }
  .tbl.cmp tbody th::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--brand); border-radius: 2px; transform: rotate(45deg) translateY(-1px); }
  .tbl.cmp tbody td { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink2); background: #fff; }
  .tbl.cmp tbody td::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 700; color: var(--mute); margin-bottom: 3px; }
  .tbl.cmp tbody td.ours { grid-column: 1 / -1; order: -1; background: #eef2ff; border: 2px solid var(--brand); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 12px 14px; }
  .tbl.cmp tbody td.ours::before { flex: 0 0 100%; color: var(--brand); font-size: 12px; margin-bottom: 0; }
  .tbl.cmp tbody td.ours b { font-size: 21px; }
  .tbl.cmp tbody td.ours small { margin-top: 0; font-size: 12px; }
  .tbl.cmp tbody td small { font-size: 11px; }
}

/* ===== 業種を選んで、仕上がりを見る ===== */
.hero-direct { margin: 10px 0 0; font-size: 13px; color: #aab4d8; }
.hero-direct a { color: #dfe5ff; text-decoration: underline; }
html.pk-on { overflow: hidden; }
.pk { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 10, 28, .72); display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pk[hidden] { display: none; }
.pk-box { width: min(880px, 100%); max-height: min(860px, 100%); background: #fff; border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); animation: pkIn .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes pkIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.pk-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px 24px; }
.pk-dots { display: flex; gap: 6px; }
.pk-dots i { width: 34px; height: 5px; border-radius: 9px; background: #e3e7f2; transition: background .3s; }
.pk-dots i.on { background: var(--brand); }
.pk-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #eef0f7; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.pk-body { overflow-y: auto; padding: 6px 28px 28px; }
.pk-step h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 900; margin: 4px 0 6px; }
.pk-q { font-family: Outfit, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--brand); margin: 6px 0 0; }
.pk-sub { color: var(--ink2); font-size: 14px; margin: 0 0 18px; }
.pk-biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pk-biz { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.pk-biz span { font-size: 28px; line-height: 1; }
.pk-biz:hover, .pk-biz:focus-visible { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36, 71, 249, .15); }
.pk-mood-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pk-mood { padding: 0; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; cursor: pointer; font: inherit; text-align: left; transition: border-color .2s, transform .2s, box-shadow .2s; }
.pk-mood:hover, .pk-mood:focus-visible { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(36, 71, 249, .18); }
.pk-mood:first-child { border-color: var(--brand); }
.pk-mood-t { display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-weight: 900; font-size: 14px; color: var(--ink); }
.pk-mood-t em { font-style: normal; font-size: 11px; background: var(--hot); color: #fff; padding: 2px 8px; border-radius: 99px; }
.pk-mock { aspect-ratio: 3 / 4; }
.pk-mock .heroimg { font-size: 14px; }
.pk-mock .pk-lines { display: grid; gap: 5px; }
.pk-mock .pk-lines i { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: .18; }
.pk-mock .pk-lines i:last-child { width: 60%; }
.pk-ref { font-size: 13px; color: var(--mute); margin: 14px 0 0; }
.pk-ref a { color: var(--brand); }
.pk-back { margin-top: 14px; border: 0; background: none; color: var(--ink2); font: inherit; font-size: 14px; cursor: pointer; padding: 6px 0; }
.pk-result { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; margin-top: 10px; }
.pk-phone { border: 8px solid #111a36; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 40px rgba(15, 26, 54, .25); }
.pk-phone .pk-mock { aspect-ratio: 9 / 16; }
.pk-sum { margin: 0; border-top: 1px solid var(--line); }
.pk-sum div { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.pk-sum dt { color: var(--mute); font-size: 13px; font-weight: 700; padding-top: 2px; }
.pk-sum dd { margin: 0; font-weight: 700; }
.pk-sum dd s { color: var(--mute); font-weight: 500; margin-right: 4px; }
.pk-sum dd b { font-size: 22px; color: var(--hot); font-family: Outfit, "Zen Kaku Gothic New", sans-serif; }
.pk-sum dd small { display: block; font-size: 12px; color: var(--ink2); font-weight: 500; }
.pk-camp { margin: 16px 0 10px; font-size: 13px; font-weight: 700; color: #e11d48; }
.pk-go { width: 100%; justify-content: center; text-align: center; }
.pk-g { font-size: 13px; color: #0b6b46; background: #e9f8f1; border-radius: 12px; padding: 10px 14px; margin: 12px 0 0; font-weight: 700; }
@media (max-width: 700px) {
  .pk { padding: 0; align-items: stretch; }
  .pk-box { border-radius: 0; max-height: none; height: 100%; }
  .pk-body { padding: 4px 16px 24px; }
  .pk-biz-grid { grid-template-columns: repeat(2, 1fr); }
  .pk-mood-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pk-result { grid-template-columns: 120px 1fr; gap: 14px; }
  .pk-phone { border-width: 5px; border-radius: 18px; }
  .pk-phone .pk-mock .heroimg { font-size: 11px; }
  .pk-sum div { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .hero .hero-cta .btn[data-pick] { font-size: 16px; }
}
.pk-mood-t { flex-wrap: wrap; line-height: 1.3; }
.pk-mood-t em { white-space: nowrap; }

/* ===== 最初の画面の業種ボタン ===== */
.hero-biz { margin-top: 18px; max-width: 640px; }
.hb-q { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.hb-q b { font-size: 20px; font-weight: 900; color: #fff; }
.hb-q span { font-size: 13px; color: #aab4d8; }
.hb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hb-grid button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 68px; padding: 10px 6px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.25; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; }
.hb-grid button i { font-style: normal; font-size: 22px; line-height: 1; }
.hb-grid button:hover, .hb-grid button:focus-visible { background: rgba(255, 255, 255, .16); border-color: #ff7a2f; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 90, 50, .35); }
.hb-grid button:active { transform: scale(.97); }
/* 押せることが伝わるよう、ゆっくり順番に光らせる */
.hb-grid button { animation: hbGlow 4.8s ease-in-out infinite; }
.hb-grid button:nth-child(2) { animation-delay: .6s; } .hb-grid button:nth-child(3) { animation-delay: 1.2s; } .hb-grid button:nth-child(4) { animation-delay: 1.8s; }
.hb-grid button:nth-child(5) { animation-delay: 2.4s; } .hb-grid button:nth-child(6) { animation-delay: 3s; } .hb-grid button:nth-child(7) { animation-delay: 3.6s; } .hb-grid button:nth-child(8) { animation-delay: 4.2s; }
@keyframes hbGlow { 0%, 12%, 100% { border-color: rgba(255, 255, 255, .22); } 6% { border-color: #ff9a5a; box-shadow: 0 0 0 3px rgba(255, 122, 47, .25); } }
.hero.hx .hero-direct { margin-top: 10px; }
@media (max-width: 700px) {
  .hero-biz { margin-top: 12px; }
  .hb-q b { font-size: 18px; }
  .hb-q span { font-size: 11.5px; }
  .hb-grid { gap: 6px; }
  .hb-grid button { min-height: 58px; padding: 8px 2px; font-size: 11.5px; border-radius: 12px; }
  .hb-grid button i { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .hb-grid button { animation: none; } }
/* スマホ：最初の画面に業種ボタンが2段とも収まるよう、納期の札を1行にし、AIボタンは少しスクロールするまで隠す */
@media (max-width: 700px) {
  .hero.hx .hero-speed { flex-wrap: nowrap; gap: 4px; }
  .hero.hx .hero-speed span { padding: 5px 7px; gap: 3px; border-radius: 10px; }
  .hero.hx .hero-speed b { font-size: 13px; }
  .hero.hx .hero-speed i, .hero.hx .hero-speed small { font-size: 9.5px; }
  .hero.hx .hero-speed .fast small { display: none; }
  .hb-q span { display: none; }
  html:not(.scrolled) .ai-btn { opacity: 0; pointer-events: none; }
  .ai-btn { transition: opacity .3s; }
}

/* ===== 業種別サンプルサイトの表示窓 ===== */
.pk.sv { padding: 16px; }
.pk.sv .pk-box { width: min(1240px, 100%); height: min(900px, 100%); max-height: none; }
.sv-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-bottom: 1px solid var(--line); }
.sv-tabs { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sv-tabs::-webkit-scrollbar { display: none; }
.sv-tabs button { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; color: var(--ink2); font: inherit; font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.sv-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.sv-stage { flex: 1; min-height: 0; background: #dfe3ee; display: flex; justify-content: center; }
.sv-frame { width: 100%; height: 100%; background: #fff; transition: width .25s; }
.sv-frame.sp { width: 390px; max-width: 100%; box-shadow: 0 0 0 1px #c9cfdd, 0 10px 30px rgba(0, 0, 0, .2); }
.sv-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.sv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 12px 18px; border-top: 1px solid var(--line); background: #fff; }
.sv-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-width: 0; }
.sv-price s { color: var(--mute); font-size: 14px; margin-right: 6px; }
.sv-price b { font-family: Outfit, "Zen Kaku Gothic New", sans-serif; font-size: 26px; color: var(--hot); }
.sv-sub { font-size: 13px; font-weight: 700; color: var(--ink2); }
.sv-sub b { color: var(--ink); }
.sv-info small { flex: 0 0 100%; font-size: 11.5px; color: var(--mute); }
.sv-foot .btn { white-space: nowrap; }
@media (max-width: 700px) {
  .pk.sv { padding: 0; }
  .pk.sv .pk-box { height: 100%; border-radius: 0; }
  .sv-dev { display: none; }
  .sv-head { padding: 8px 8px 8px 10px; }
  .sv-tabs button { font-size: 12.5px; padding: 7px 12px; }
  .sv-foot { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px 12px; }
  .sv-price b { font-size: 22px; }
  .sv-sub { font-size: 11.5px; }
  .sv-info small { font-size: 10.5px; line-height: 1.4; }
  .sv-info small .sv-pc { display: none; }
  .sv-foot .btn { justify-content: center; padding: 14px; font-size: 16px; }
}

/* ===== 「デザインを見てから、お支払い」（テスト受付） ===== */
.g-pay.g-trial { background: #0b6b46; cursor: default; }
.g-pay.g-trial:hover { transform: none; }
.trial-box { border: 2px solid var(--ok); }
.trial-box h2 { margin-bottom: 8px; }
.trial-box .tb-lead { font-size: 14.5px; font-weight: 700; color: var(--ink2); margin: 0 0 16px; }
.trial-box #tb-preview { width: 100%; justify-content: center; }
.tb-pay { margin-top: 20px; padding: 18px; border-radius: 14px; background: #f3faf6; border: 1px solid #a8e2c8; }
.tb-amt { font-weight: 700; margin-bottom: 12px; }
.tb-amt b { font-family: Outfit, "Zen Kaku Gothic New", sans-serif; font-size: 28px; color: var(--hot); margin: 0 8px; }
.tb-amt small { display: block; color: var(--mute); font-size: 12.5px; }
.tb-pay .btn { width: 100%; justify-content: center; }
.tb-pay .fine { margin: 10px 0 0; }
.tb-no { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.tb-no .btn { width: 100%; justify-content: center; }
.tb-msg { color: var(--hot); font-weight: 700; font-size: 14px; margin: 12px 0 0; min-height: 1em; }
.trial-note { grid-column: 1 / -1; background: #f3faf6; border: 1px solid #a8e2c8; border-radius: 12px; padding: 14px 16px; }
.trial-note h4 { margin: 0 0 8px; color: #0b6b46; }
.trial-note p { margin: 0 0 8px; font-size: 13.5px; }
.trial-note ol { margin: 0 0 8px; padding-left: 20px; font-size: 13.5px; }
.trial-note input { width: 100%; font-size: 12.5px; }
.trial-note .acts { flex-wrap: wrap; }
.g-pay[hidden], .trial-box[hidden] { display: none; }

/* 最初の画面：最短10分で発注可能 */
.hero-order { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 12px; padding: 8px 16px; border-radius: 14px; background: #ffd02b; color: #0f1a36; font-weight: 900; line-height: 1.3; }
.hero-order i { font-style: normal; font-size: 12px; background: #0f1a36; color: #ffd02b; border-radius: 6px; padding: 2px 8px; }
.hero-order b { font-size: 19px; }
.hero-order small { font-size: 12px; font-weight: 700; }
@media (max-width: 700px) { .hero-order { margin: 0 0 8px; padding: 6px 12px; gap: 2px 8px; } .hero-order b { font-size: 16px; } .hero-order small { font-size: 11px; } }

/* 最初の画面：ブラックフライデーの札 */
.hero-compare .hc-bf { flex: 0 0 100%; display: block; margin: 2px 0 8px; }
.hero-compare .hc-bf > span { display: inline-flex; align-items: center; gap: .5em; padding: .28em .8em .28em .34em; border-radius: 999px; background: #ffd02b; color: #0b0b0f; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 900; font-size: 1.05em; line-height: 1.2; letter-spacing: 0; white-space: nowrap; box-shadow: 0 0 0 3px rgba(255, 208, 43, .28), 0 8px 30px rgba(255, 208, 43, .45); animation: bfPulse 1.6s ease-in-out infinite; }
.hero-compare .hc-bf em { font-style: normal; font-family: "Outfit", sans-serif; font-weight: 800; background: #0b0b0f; color: #ffd02b; border-radius: 999px; padding: .22em .7em; font-size: .82em; letter-spacing: .04em; }
@keyframes bfPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(255, 208, 43, .28), 0 8px 30px rgba(255, 208, 43, .45); } 50% { box-shadow: 0 0 0 9px rgba(255, 208, 43, .12), 0 8px 44px rgba(255, 208, 43, .75); } }
@media (prefers-reduced-motion: reduce) { .hero-compare .hc-bf > span { animation: none; } }
@media (max-width: 700px) { .hero-compare .hc-bf { margin: 4px 0 6px; } .hero-compare .hc-bf > span { font-size: .76em; gap: .4em; } }

/* 最初の画面：申込みボタンと「デザインを見てから、お支払い」 */
.hero-cta-main { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 14px; margin: 4px 0 14px; }
.hero-cta-main .btn { flex: 0 0 auto; }
.hero-trial { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid rgba(61, 220, 151, .6); background: rgba(61, 220, 151, .1); color: #fff; text-decoration: none; line-height: 1.35; }
.hero-trial b { color: #5ff0b0; font-size: 15px; }
.hero-trial span { font-size: 12px; color: #dfe5ff; }
.hero-trial:hover { background: rgba(61, 220, 151, .18); }
.hero-trial[hidden] { display: none; }
@media (max-width: 700px) { .hero-cta-main { flex-direction: column; margin: 2px 0 12px; gap: 8px; } .hero-cta-main .btn { width: 100%; justify-content: center; } .hero-trial { padding: 8px 14px; } }
.plan-grid.one { grid-template-columns: minmax(0, 760px); justify-content: center; }

/* ブラックフライデー専用ページの最初の画面（広告と同じ黒と金） */
.bfh { position: relative; overflow: hidden; color: #fff; padding: 0 0 34px; background: radial-gradient(120% 70% at 50% 0%, #3a2c05 0%, #15110a 45%, #070707 100%); }
.bfh::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(255, 208, 43, .09) 0 6deg, transparent 6deg 14deg); pointer-events: none; }
.bfh-tape { position: relative; background: #e10600; color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .06em; white-space: nowrap; overflow: hidden; padding: 7px 0; box-shadow: 0 4px 18px rgba(225, 6, 0, .45); }
.bfh-tape div { display: inline-flex; animation: bfhTape 22s linear infinite; }
@keyframes bfhTape { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bfh-tape div { animation: none; } }
.bfh-wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "copy shots" "cta shots"; gap: 6px 48px; align-items: center; padding-top: 34px; }
.bfh-copy { grid-area: copy; } .bfh-shots { grid-area: shots; } .bfh-cta { grid-area: cta; }
.bfh-lead { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: #e9e2c8; }
.bfh-lead b { color: #fff; font-size: 1.25em; font-weight: 900; }
.bfh-lead sup { font-size: .55em; color: #b9b090; }
.bfh-h { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; line-height: 1; }
.bfh-label { background: #ffd02b; color: #111; font-size: 17px; font-weight: 900; padding: 6px 12px; border-radius: 6px; margin: 0 100% 10px 0; white-space: nowrap; transform: rotate(-2deg); }
.bfh-was { font-size: 24px; font-weight: 800; color: #d8d0b4; }
.bfh-was s { text-decoration-color: #e10600; text-decoration-thickness: 3px; }
.bfh-price { font-size: 112px; font-weight: 900; letter-spacing: -.03em; background: linear-gradient(180deg, #fff3b0 0%, #ffd02b 45%, #f0a400 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 22px rgba(255, 190, 0, .35)); font-feature-settings: "tnum"; }
.bfh-price small { font-size: .38em; margin-left: 4px; letter-spacing: 0; }
.bfh-tax { flex-basis: 100%; font-size: 14px; font-weight: 700; color: #cfc7aa; margin-top: 8px; line-height: 1.5; }
.bfh-shots { position: relative; display: block; width: 100%; aspect-ratio: 16 / 12.5; background: none; border: 0; padding: 0; cursor: pointer; }
.bfh-shots img { position: absolute; width: 70%; height: auto; border-radius: 10px; border: 2px solid rgba(255, 208, 43, .55); box-shadow: 0 18px 44px rgba(0, 0, 0, .65); background: #fff; }
.bfh-shots .s2 { left: 0; top: 2%; transform: rotate(-5deg); opacity: .9; }
.bfh-shots .s3 { right: 0; top: 2%; transform: rotate(5deg); opacity: .9; }
.bfh-shots .s1 { left: 11%; top: 16%; width: 78%; border-color: #ffd02b; transition: transform .25s; }
.bfh-shots:hover .s1 { transform: translateY(-4px) scale(1.01); }
.bfh-cap { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; background: #111; border: 1px solid rgba(255, 208, 43, .6); color: #fff; font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: 999px; }
.bfh-cap i { font-style: normal; color: #ffd02b; margin-left: 8px; font-weight: 700; }
.bfh-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; max-width: 520px; }
.bfh-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 15px 18px; border-radius: 16px; text-decoration: none; text-align: center; line-height: 1.3; transition: transform .15s, box-shadow .15s; }
.bfh-btn:hover { transform: translateY(-2px); } .bfh-btn:active { transform: scale(.98); }
.bfh-btn b { font-size: 21px; font-weight: 900; } .bfh-btn > span { font-size: 12.5px; font-weight: 700; }
.bfh-btn.trial { background: linear-gradient(180deg, #ffe066, #ffc400); color: #111; box-shadow: 0 10px 30px rgba(255, 196, 0, .4); }
.bfh-btn.trial[hidden] { display: none; }
.bfh-btn.buy { background: #e10600; color: #fff; box-shadow: 0 10px 30px rgba(225, 6, 0, .4); }
.bfh-btn.buy > span { color: #ffe1de; }
.bfh-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; }
.bfh-chips li { font-size: 13px; font-weight: 800; color: #fff; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 6px 12px; background: rgba(255, 255, 255, .06); }
.bfh-chips li::before { content: "✓ "; color: #ffd02b; }
.bfh-chips small { font-weight: 600; color: #cfc7aa; margin-left: 4px; }
.bfh-chips a { color: inherit; }
.bfh-limit { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: #e9e2c8; }
.bfh-limit b { color: #ffd02b; font-size: 1.2em; font-feature-settings: "tnum"; }
.bfh-biz { background: #0f1a36; color: #fff; padding: 26px 0 22px; }
.bfh-biz .hero-biz { margin: 0 auto; max-width: 760px; }
.bfh-biz .hero-op, .bfh-biz .hero-src { max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) {
  .bfh { padding-bottom: 22px; }
  .bfh-wrap { grid-template-columns: 1fr; grid-template-areas: "copy" "shots" "cta"; padding-top: 16px; gap: 0; }
  .bfh-lead { font-size: 14.5px; margin-bottom: 6px; }
  .bfh-label { font-size: 14px; padding: 5px 10px; margin-bottom: 6px; }
  .bfh-was { font-size: 17px; }
  .bfh-price { font-size: clamp(64px, 21vw, 92px); }
  .bfh-tax { font-size: 12px; margin-top: 4px; }
  .bfh-shots { margin: 10px auto 0; max-width: 420px; aspect-ratio: 16 / 10.4; }
  .bfh-shots img { width: 62%; }
  .bfh-shots .s1 { width: 72%; left: 14%; top: 12%; }
  .bfh-cap { font-size: 11.5px; padding: 5px 11px; }
  .bfh-cta { margin: 12px auto 0; max-width: 520px; gap: 8px; }
  .bfh-btn { padding: 12px 14px; border-radius: 14px; }
  .bfh-btn b { font-size: 19px; } .bfh-btn > span { font-size: 11.5px; }
  .bfh-chips { gap: 6px; } .bfh-chips li { font-size: 12px; padding: 5px 10px; }
  .bfh-sticky { background: #111; border-top-color: #ffd02b; }
  .bfh-sticky small { color: #cfc7aa; } .bfh-sticky .num { color: #ffd02b; }
  .bfh-sticky .btn { background: #e10600; }
}
/* ブラックフライデー専用ページ：スマホの最初の画面にボタンまで収める */
.bf-page .camp-bar { display: none; }
@media (max-width: 860px) {
  .bfh-tape { font-size: 11.5px; padding: 5px 0; }
  .bfh-wrap { padding-top: 12px; }
  .bfh-lead { font-size: 14px; margin-bottom: 8px; white-space: nowrap; }
  .bfh-h { gap: 0 10px; align-items: center; }
  .bfh-label { margin: 0; font-size: 13px; }
  .bfh-was { font-size: 15px; }
  .bfh-price { flex-basis: 100%; font-size: clamp(60px, 19vw, 80px); margin-top: 2px; }
  .bfh-tax { margin-top: 2px; }
  .bfh-shots { max-width: 300px; margin-top: 8px; aspect-ratio: 16 / 9.6; }
  .bfh-cta { margin-top: 10px; }
  .bfh-btn { padding: 10px 14px; }
}

/* ブラックフライデー：制作実績の紹介が条件であることを、価格のすぐ近くに */
.bfh-cond { flex-basis: 100%; font-size: 14px; font-weight: 800; color: #fff; margin-top: 8px; line-height: 1.45; }
.bfh-cond small { font-size: .9em; font-weight: 700; color: #ffd02b; }
.bf-cond-note { display: block; font-size: 13px; font-weight: 700; color: var(--ink2); margin-top: 6px; }
.showcase-q { margin-top: 14px; } .showcase-q h4 { margin: 0 0 4px; }
@media (max-width: 860px) { .bfh-cond { font-size: 12px; margin-top: 2px; } .bfh-shots { aspect-ratio: 16 / 9; } }

/* 誰向けかの一言と、Google用ページの「含まれるもの」 */
.bfh-for { display: inline-block; margin: 0 0 10px; padding: 5px 14px; border-radius: 999px; border: 1px solid rgba(255, 208, 43, .7); color: #ffd02b; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.bfg-incl { background: #15110a; color: #fff; padding: 26px 0; border-top: 1px solid rgba(255, 208, 43, .3); }
.bfg-incl h2 { margin: 0 0 14px; font-size: 22px; font-weight: 900; color: #ffd02b; text-align: center; }
.bfg-incl ul { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bfg-incl li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 10px 8px; font-size: 14px; font-weight: 800; text-align: center; }
.bfg-incl li::before { content: "✓ "; color: #ffd02b; }
.bfg-incl p { max-width: 760px; margin: 14px auto 0; font-size: 14px; color: #e9e2c8; text-align: center; }
.bfg-incl a { color: #ffd02b; font-weight: 800; }
@media (max-width: 860px) {
  .bfh-for { font-size: 12px; padding: 3px 11px; margin-bottom: 6px; }
  .bfh-lead { margin-bottom: 6px; }
  .bfh-price { font-size: clamp(56px, 17.5vw, 74px); line-height: .95; }
  .bfh-shots { max-width: 270px; margin-top: 4px; aspect-ratio: 16 / 8.8; }
  .bfh-cta { margin-top: 8px; gap: 7px; }
  .bfh-btn { padding: 9px 14px; }
  .bfh-btn b { font-size: 18px; }
  .bfg-incl h2 { font-size: 18px; }
  .bfg-incl ul { grid-template-columns: repeat(2, 1fr); }
  .bfg-incl li { font-size: 13px; padding: 8px 6px; }
}

/* マイページ：写真の送り方と説明、修正のご依頼 */
.pm-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm-opt { display: block; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; font-size: 14px; }
.pm-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pm-opt small { display: block; color: var(--mute); margin-top: 4px; font-size: 12px; line-height: 1.6; }
.ph-list { display: grid; gap: 10px; margin-top: 10px; text-align: left; }
.ph-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 8px; border: 1px solid var(--line); }
.ph-row img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; display: block; }
.ph-row input { width: 100%; font: inherit; font-size: 15px; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 10px; }
.ph-row button, .rev-item .x { background: none; border: 0; color: var(--mute); cursor: pointer; font-size: 13px; text-decoration: underline; }
.rev-item { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; background: #fff; }
.rev-item .rh { display: flex; justify-content: space-between; align-items: center; font-weight: 900; margin-bottom: 8px; }
.rev-item textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.rev-item .paste { border: 2px dashed #c3cadd; border-radius: 10px; padding: 12px; margin-top: 8px; font-size: 13px; color: var(--ink2); text-align: center; outline: none; }
.rev-item .paste:focus { border-color: var(--brand); background: var(--brand-soft); }
.rev-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rev-imgs span { position: relative; }
.rev-imgs img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.rev-imgs button { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 99px; width: 22px; height: 22px; cursor: pointer; }
.rev-hist { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; }
.rev-hist .rv { padding: 10px 0; border-bottom: 1px solid var(--line); }
.rev-hist .st-open { color: #b26b00; font-weight: 700; } .rev-hist .st-done { color: #1c7c3a; font-weight: 700; }
@media (max-width: 640px) { .pm-choice { grid-template-columns: 1fr; } }

/* 申込みページ：クーポンと、制作実績の紹介（任意） */
.coupon { margin: 14px 0 12px; font-size: 13px; }
.coupon label { font-weight: 700; display: block; margin-bottom: 6px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; text-transform: uppercase; }
.coupon-row .btn { padding: 8px 16px; flex: none; }
.coupon-msg { margin-top: 6px; color: var(--hot); font-weight: 700; min-height: 1em; }
.coupon-msg.ok { color: #1c7c3a; }
#sum-lines .row.off dd, #mp-lines .row.off dd { color: #1c7c3a; font-weight: 900; }
.agree-opt { font-weight: 500; background: var(--bg); margin-top: 6px; }
.summary #sum-lines .row.off dd { color: #7ee2a0; }
.summary .coupon label { color: #fff; }
.summary .coupon-msg.ok { color: #7ee2a0; }
.summary .coupon-msg { color: #ffb4a8; }

/* マイページ：公開後のアンケート */
.sv-q { margin: 18px 0; }
.sv-q > b { display: block; margin-bottom: 8px; font-size: 15px; }
.sv-q > b em { font-style: normal; font-size: 11px; color: var(--hot); margin-left: 6px; }
.sv-q > b em.opt-l { color: var(--mute); }
.sv-q textarea, .sv-q input[type=text] { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; margin-top: 8px; }
.sv-opts, .sv-scale { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-opt, .sv-num { font: inherit; font-size: 14px; font-weight: 700; background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 9px 16px; cursor: pointer; color: var(--ink); }
.sv-num { min-width: 44px; padding: 9px 0; text-align: center; border-radius: 12px; }
.sv-opt.on, .sv-num.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.sv-ends { display: flex; gap: 18px; font-size: 12px; color: var(--mute); margin-top: 6px; }
.sv-coupon { background: var(--brand-soft); border: 2px dashed var(--brand); border-radius: 16px; padding: 18px 20px; text-align: center; display: grid; gap: 6px; justify-items: center; }
.sv-coupon small { font-weight: 700; color: var(--ink2); }
.sv-coupon b { font-family: Outfit, monospace; font-size: clamp(24px, 6vw, 34px); letter-spacing: .06em; color: var(--brand); }
.sv-coupon span { font-size: 13px; color: var(--ink2); }
.sv-coupon .btn { margin-top: 6px; }
