/* ==========================================================
   Demo Lab main.css
   カラーは社内トンマナ（推奨テキストカラー）に準拠
   ========================================================== */
:root {
  --c-white: #FFFFFF;
  --c-text: #434343;       /* Black */
  --c-gray: #969696;       /* Gray */
  --c-liny: #00A29A;       /* Liny：一般的な強調 */
  --c-liny-dark: #007979;  /* Dark Liny */
  --c-red: #E67878;        /* Red：相手の利益・不利益、注意事項のみ */
  --c-link: #4054F4;       /* Link */
  --c-line: #06C755;       /* LINEボタン */
  --c-tint: #EEF8F7;
  --c-border: #E3E6E6;
  --c-bg-soft: #F7F9F9;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0, 60, 60, .08);
  --container: 1120px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--c-text); background: var(--c-white);
  font-size: 16px; line-height: 1.8; letter-spacing: .02em;
}
img { max-width: 100%; height: auto; }
a { color: var(--c-link); }
a:hover { opacity: .85; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 820px; }
.center { text-align: center; }
.accent { color: var(--c-liny); }
.nowrap { white-space: nowrap; }
.em { color: var(--c-liny-dark); font-weight: 700; }
.em-red { color: var(--c-red); font-weight: 700; }
.note { font-size: 13px; color: var(--c-gray); }
.muted { color: var(--c-gray); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }

/* ---------- Demo bar ---------- */
.demo-bar {
  background: var(--c-text); color: var(--c-white); font-size: 12px; text-align: center; padding: 6px 16px; line-height: 1.5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.3;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, opacity .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); opacity: 1; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-primary { background: var(--c-liny); color: var(--c-white); }
.btn-primary:hover { background: var(--c-liny-dark); }
.btn-outline { background: var(--c-white); color: var(--c-liny-dark); border-color: var(--c-liny); }
.btn-outline-white { color: var(--c-white); border-color: var(--c-white); background: transparent; }
.btn-danger { background: var(--c-white); color: var(--c-red); border-color: var(--c-red); }
.btn-line { background: var(--c-line); color: var(--c-white); }
.btn-line-icon {
  display: inline-block; background: var(--c-white); color: var(--c-line); border-radius: 6px;
  font-size: 10px; font-weight: 900; padding: 2px 5px; letter-spacing: 0; line-height: 1.3;
}
.btn-white-line { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.text-link { color: var(--c-link); font-weight: 500; font-size: 14px; }
.text-link::after { content: " →"; }

/* ---------- Header ---------- */
.site-header { background: var(--c-white); border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); font-weight: 700; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-liny), var(--c-liny-dark)); color: var(--c-white); font-weight: 900;
}
.logo-text { font-size: 15px; }
.logo-white { color: var(--c-white); }
.global-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--c-text); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-list a:hover, .nav-list .current-menu-item a { color: var(--c-liny); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; cursor: pointer; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; background: var(--c-text); margin: 5px auto; transition: .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .global-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--c-white);
    flex-direction: column; align-items: stretch; padding: 16px; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow);
  }
  .global-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--c-border); }
  .global-nav .btn { margin-top: 12px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-compact { padding: 40px 0 72px; }
.section-tint { background: var(--c-tint); }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow { color: var(--c-liny); font-weight: 700; font-size: 13px; letter-spacing: .18em; margin: 0 0 8px; }
.section-title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; }

/* ---------- Hero (corporate) ---------- */
.hero { background: linear-gradient(160deg, var(--c-white) 45%, var(--c-tint)); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero-title { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.35; }
.hero-lead { font-size: 16px; max-width: 34em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { position: relative; min-height: 360px; }
.hero-circle {
  position: absolute; inset: 20px 0 0 40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #7FD6D1, var(--c-liny) 55%, var(--c-liny-dark));
  opacity: .9;
}
.hero-card {
  position: absolute; z-index: 1; background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px;
}
.hero-card-a { top: 30px; left: 0; display: flex; flex-direction: column; }
.hero-card-label { font-size: 12px; color: var(--c-gray); }
.hero-card-num { font-size: 36px; font-weight: 900; color: var(--c-liny-dark); line-height: 1.2; }
.hero-card-num small { font-size: 14px; margin-left: 2px; }
.hero-card-b { bottom: 10px; right: 0; width: 270px; display: flex; flex-direction: column; gap: 8px; }
.chat-bubble { background: var(--c-bg-soft); border-radius: 14px 14px 14px 4px; padding: 8px 12px; font-size: 13px; line-height: 1.5; }
.chat-bubble-me { background: #D5F5DF; align-self: flex-end; border-radius: 14px 14px 4px 14px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-visual { min-height: 300px; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-text { font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.stats div { background: var(--c-bg-soft); border-radius: var(--radius); padding: 20px 8px; text-align: center; }
.stats dt { font-size: 12px; color: var(--c-gray); }
.stats dd { margin: 0; font-size: 32px; font-weight: 900; color: var(--c-liny-dark); line-height: 1.3; }
.stats small { font-size: 13px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--c-white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.card-icon {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--c-tint); color: var(--c-liny-dark); font-weight: 900;
}
.section-tint .card-icon { background: var(--c-liny); color: var(--c-white); }
.card-title { font-size: 19px; font-weight: 700; }
.card p { font-size: 14px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news-list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; border-top: 1px solid var(--c-border); }
.news-list li { display: flex; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--c-border); font-size: 15px; }
.news-list time { color: var(--c-gray); flex-shrink: 0; font-size: 14px; }
.news-list a { color: var(--c-text); text-decoration: none; }
.news-list a:hover { color: var(--c-liny); }
@media (max-width: 600px) { .news-list li { flex-direction: column; gap: 2px; } }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(120deg, var(--c-tint), var(--c-white)); padding: 64px 0 56px; border-bottom: 1px solid var(--c-border); }
.page-title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; margin: 0; }
.page-lead { margin: 12px 0 0; }
.page-hero-debug { background: linear-gradient(120deg, #E8EEF0, var(--c-white)); }

/* ---------- Service ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.service-row:last-child { margin-bottom: 0; }
.service-row-rev > :first-child { order: 2; }
.service-visual {
  aspect-ratio: 4 / 3; border-radius: 20px; display: grid; place-items: center; color: rgba(255,255,255,.9);
  font-size: 64px; font-weight: 900;
}
.service-visual-a { background: linear-gradient(135deg, #4CC3BC, var(--c-liny-dark)); }
.service-visual-b { background: linear-gradient(135deg, #9ADCD8, var(--c-liny)); }
.service-visual-c { background: linear-gradient(135deg, #6FDB98, #0AA56F); }
.service-title { font-size: 24px; font-weight: 900; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px;
  border-left: 3px solid var(--c-liny); border-bottom: 3px solid var(--c-liny); transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 20px; }
  .service-row-rev > :first-child { order: 0; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.price-table, .info-table { width: 100%; border-collapse: collapse; background: var(--c-white); }
.price-table th, .price-table td { padding: 16px; border-bottom: 1px solid var(--c-border); text-align: left; font-size: 15px; }
.price-table thead th { background: var(--c-liny-dark); color: var(--c-white); font-weight: 700; }
.price-table .is-recommend td { background: #F3FBFA; font-weight: 700; }
.badge { display: inline-block; background: var(--c-liny); color: var(--c-white); font-size: 11px; border-radius: 4px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; }
.info-table th, .info-table td { padding: 18px 16px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; font-size: 15px; }
.info-table th { width: 30%; color: var(--c-liny-dark); font-weight: 700; }
.message-box { background: var(--c-bg-soft); border-radius: var(--radius); padding: 32px; margin-bottom: 48px; }
.signature { text-align: right; color: var(--c-gray); margin: 0; }

/* ---------- Footer ---------- */
.footer-cta { background: linear-gradient(120deg, var(--c-liny), var(--c-liny-dark)); color: var(--c-white); padding: 48px 0; }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-cta-lead { font-size: 24px; font-weight: 900; margin: 0; }
.footer-cta-text { margin: 0; opacity: .9; }
.footer-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: #2F3333; color: #CFD4D4; padding: 48px 0 24px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-note { margin: 12px 0 0; font-size: 13px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; }
.footer-links a { color: #CFD4D4; text-decoration: none; }
.footer-links a:hover { color: var(--c-white); }
.copyright { text-align: center; font-size: 12px; margin: 32px 0 0; color: var(--c-gray); }

/* ---------- LP ---------- */
.lp-header { background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.lp-header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 60px; }
.lp-fv {
  background:
    radial-gradient(circle at 85% 20%, rgba(0,162,154,.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(0,162,154,.12), transparent 40%),
    var(--c-white);
  padding: 72px 0 80px; text-align: center;
}
.lp-fv-badge { display: inline-block; background: var(--c-tint); color: var(--c-liny-dark); border-radius: 999px; padding: 6px 20px; font-size: 14px; }
.lp-fv-badge strong { color: var(--c-red); font-size: 20px; }
.lp-fv-title { font-size: clamp(30px, 5.4vw, 56px); font-weight: 900; line-height: 1.35; margin: 20px 0; }
.lp-fv-lead { font-size: 17px; }
.lp-fv-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; }
.lp-fv-note { font-size: 13px; color: var(--c-gray); margin-top: 12px; }
.worry-list { list-style: none; padding: 0; margin: 0 auto 24px; max-width: 560px; display: grid; gap: 10px; }
.worry-list li { background: var(--c-bg-soft); border-radius: 10px; padding: 14px 18px 14px 48px; position: relative; }
.worry-list li::before { content: "?"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--c-gray); color: var(--c-white); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.worry-answer { text-align: center; font-size: 20px; font-weight: 700; }
.flow-list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 16px; }
.flow-list li { display: flex; gap: 20px; align-items: flex-start; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px 24px; }
.flow-list p { margin: 4px 0 0; font-size: 14px; }
.flow-step { flex-shrink: 0; background: var(--c-liny); color: var(--c-white); font-weight: 900; font-size: 12px; border-radius: 6px; padding: 4px 10px; letter-spacing: .08em; }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.voice { margin: 0; background: var(--c-white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.voice p { margin-bottom: 8px; }
.voice cite { font-style: normal; font-size: 13px; color: var(--c-gray); }
@media (max-width: 700px) { .voice-grid { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--c-border); padding: 18px 4px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--c-liny); }
.faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--c-liny); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; }
.lp-final-cta { background: linear-gradient(120deg, var(--c-liny), var(--c-liny-dark)); color: var(--c-white); padding: 72px 0; }
.lp-final-lead { font-size: 22px; font-weight: 700; }
.lp-final-cta .em-red { color: #FFE3E3; }
.lp-footer { text-align: center; padding: 32px 16px 110px; font-size: 13px; color: var(--c-gray); }
.lp-footer p { margin: 0; }
.lp-fixed-cta { display: none; }
@media (max-width: 700px) {
  .lp-fixed-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px;
    background: rgba(255,255,255,.95); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .lp-fixed-cta .btn { width: 100%; }
  .lp-header .btn { display: none; }
}

/* ---------- Popup ---------- */
.dl-popup {
  position: fixed; inset: 0; z-index: 100; background: rgba(30,40,40,.55); display: grid; place-items: center; padding: 16px;
  animation: dlFade .25s ease;
}
.dl-popup-box { background: var(--c-white); border-radius: 20px; padding: 40px 28px 32px; max-width: 420px; width: 100%; text-align: center; position: relative; }
.dl-popup-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 28px; color: var(--c-gray); cursor: pointer; line-height: 1; }
.dl-popup-eyebrow { color: var(--c-red); font-weight: 700; font-size: 13px; margin: 0 0 4px; }
.dl-popup-title { font-size: 20px; font-weight: 900; line-height: 1.5; }
.dl-popup-text { font-size: 12px; color: var(--c-gray); }
@keyframes dlFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Form ---------- */
.demo-form { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 40px; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.req { background: var(--c-red); color: var(--c-white); font-size: 11px; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; }
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: inherit; color: var(--c-text);
  border: 1px solid #CCD3D3; border-radius: 8px; background: var(--c-white);
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: 2px solid var(--c-liny); border-color: var(--c-liny); }
.form-attention { font-size: 13px; color: var(--c-gray); text-align: center; }
@media (max-width: 600px) { .demo-form { padding: 24px 16px; } }

/* ---------- Entry ---------- */
.entry-content > * + * { margin-top: 1em; }
.entry-date { color: var(--c-gray); font-size: 14px; }

/* ---------- Debug ---------- */
.debug-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.debug-h2 { font-size: 18px; font-weight: 900; color: var(--c-liny-dark); margin-bottom: 12px; }
.debug-card h3 { font-size: 15px; }
.debug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.debug-grid .debug-card { margin-bottom: 0; }
@media (max-width: 800px) { .debug-grid { grid-template-columns: 1fr; } }
.debug-table { width: 100%; border-collapse: collapse; font-size: 13px; display: block; overflow-x: auto; }
.debug-table th, .debug-table td { padding: 8px 10px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.debug-table th { white-space: nowrap; font-weight: 700; }
.debug-table thead th { background: var(--c-bg-soft); }
.debug-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.debug-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.debug-manual label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.debug-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.debug-inline input { flex: 1; min-width: 200px; padding: 8px 12px; border: 1px solid #CCD3D3; border-radius: 8px; font-size: 14px; font-family: inherit; }
.ok, .ng { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 1px 8px; white-space: nowrap; }
.ok { background: var(--c-tint); color: var(--c-liny-dark); }
.ng { background: #F3F3F3; color: var(--c-gray); }
.alert { background: #FDF0F0; color: #B94A4A; border-left: 4px solid var(--c-red); padding: 12px 16px; border-radius: 6px; margin: 12px 0 0; font-size: 14px; }

/* ==========================================================
   v2 追加
   ========================================================== */
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .form-cols { grid-template-columns: 1fr; } }
.form-check label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form-check input { width: auto; }
.dl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.admin-picker { border: 2px dashed var(--c-liny); border-radius: 10px; padding: 12px 16px 4px; margin: 8px 0 20px; background: var(--c-tint); }
.admin-picker legend { font-weight: 700; color: var(--c-liny-dark); font-size: 14px; padding: 0 6px; }
.admin-picker-item { display: block; font-size: 14px; margin-bottom: 6px; }
.demo-form .admin-picker-item input { width: auto; margin-right: 6px; }
.hidden-values { margin-top: 24px; }
.hidden-values summary, .debug-card details summary { cursor: pointer; font-weight: 700; color: var(--c-liny-dark); }
.dl-pre { background: #1e2327; color: #e6e6e6; border-radius: 6px; padding: 12px; max-height: 360px; overflow: auto; font-size: 12px; white-space: pre-wrap; word-break: break-all; font-family: ui-monospace, Menlo, Consolas, monospace; }
.dl-ok { background: var(--c-tint); color: var(--c-liny-dark); }
.dl-err { background: #FDF0F0; color: #B94A4A; }
.embed-area { border: 1px dashed var(--c-border); border-radius: 8px; padding: 12px; min-height: 120px; }
.embed-area iframe { max-width: 100%; }

/* LIFF / アプリ風 */
.is-app { background: var(--c-bg-soft); }
.app-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.app-badge { font-size: 11px; font-weight: 700; color: var(--c-white); background: var(--c-gray); border-radius: 4px; padding: 1px 8px; }
.app-section { padding: 20px 0 40px; }
.container-app { max-width: 560px; }
.app-card { background: var(--c-white); border-radius: 16px; padding: 24px 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.app-title { font-size: 22px; font-weight: 900; }
.quiz-step { color: var(--c-gray); font-size: 13px; margin: 0; }
.quiz-q { font-size: 18px; font-weight: 700; }
.quiz-opt { display: block; width: 100%; text-align: left; padding: 16px 18px; margin-bottom: 10px; border: 2px solid var(--c-border); border-radius: 12px; background: var(--c-white); font-size: 15px; font-family: inherit; color: var(--c-text); cursor: pointer; }
.quiz-opt:hover, .quiz-opt:focus { border-color: var(--c-liny); background: var(--c-tint); }
.app-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.app-msg { font-size: 13px; color: var(--c-liny-dark); margin-top: 12px; word-break: break-all; }
.app-debug summary { cursor: pointer; font-weight: 700; color: var(--c-liny-dark); margin-bottom: 8px; }
.app-footer { text-align: center; font-size: 12px; color: var(--c-gray); padding: 24px 16px; }

/* ==========================================================
   v3 追加
   ========================================================== */
.dl-hint { background: #FFF8EC; border-left: 3px solid #E6A23C; padding: 6px 10px; margin-top: 6px; font-size: 12px; border-radius: 4px; }
.dl-hint a { color: var(--c-link); }
.form-label { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form-choices label { display: inline-flex; align-items: center; gap: 6px; margin: 0 16px 6px 0; font-size: 15px; }
.demo-form .form-choices input { width: auto; }
.lab-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lab-toc a { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 999px; padding: 6px 14px; font-size: 13px; text-decoration: none; color: var(--c-liny-dark); }
.lab-summary { margin-bottom: 12px; }
.lab-summary th { width: 64px; color: var(--c-liny-dark); }
.debug-card h3 { font-size: 15px; margin-top: 16px; }
.lab-iframe { width: 100%; max-width: 480px; height: 330px; border: 1px dashed var(--c-gray); border-radius: 10px; background: var(--c-white); display: block; }
.lab-iframe-sm { max-width: 100%; height: 220px; margin-top: 12px; }
.lab-forms { display: flex; flex-wrap: wrap; gap: 12px; }
.lab-steps { padding-left: 20px; font-size: 14px; }
.debug-card { scroll-margin-top: 90px; }

/* スマホ：長いコード・URLを折り返す */
code, .mono { overflow-wrap: anywhere; word-break: break-word; }
