/* 見積ウツシくん LP — style.css */

:root {
  --kon: #185FA5;
  --kon-deep: #042C53;
  --kon-text: #0C447C;
  --sora: #378ADD;
  --sora-light: #B5D4F4;
  --usuzora: #E6F1FB;
  --kun: #EF9F27;
  --kun-deep: #BA7517;
  --kun-hover: #854F0B;
  --text: #1F2937;
  --text-sub: #6B7280;
  --line: #E5E7EB;
  --success: #16A34A;
  --paper: #FFFFFF;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--kon); text-decoration: none; }

.num, .price-amount, .mock-table-row span, .illus-table-row span, .step-num, .footer-copy {
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, .section-title, .card-title, .step-title, .feature-title, .closing-title, .hero-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  color: var(--kon-deep);
}

.hero-title { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--usuzora { background: var(--usuzora); }
.section--closing {
  background: var(--kon-deep);
  color: var(--paper);
  text-align: center;
  padding-bottom: 80px;
  margin-bottom: 0;
  border-bottom: 4px solid var(--kun);
}

.section-title {
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.35;
}

.section-lead {
  text-align: center;
  font-size: clamp(15px, 2.5vw, 17px);
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 2px 12px rgba(4, 44, 83, 0.08);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header-logo img { height: 60px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a:not(.btn-cta) {
  font-size: 15px;
  font-weight: 500;
  color: var(--kon-text);
}

.header-nav a:not(.btn-cta):hover { color: var(--kon); }

.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub) !important;
}

.header-nav .nav-login:hover,
.footer-actions .nav-login:hover {
  color: var(--kon) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--kon-deep);
  border-radius: 1px;
}

/* CTA */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  background: var(--kun-deep);
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-cta:hover { background: var(--kun-hover); }

.btn-cta--animated {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(105deg, var(--kun-deep) 0%, #D4921F 42%, #E8A832 50%, #D4921F 58%, var(--kun-deep) 100%);
  background-size: 220% 100%;
  animation: btn-cta-shimmer 5s ease-in-out infinite, btn-cta-float 3.2s ease-in-out infinite;
  box-shadow: 0 4px 18px rgba(186, 117, 23, 0.32);
}

.btn-cta--animated::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: btn-cta-sparkle 4s ease-in-out infinite;
  pointer-events: none;
}

.btn-cta--animated:hover {
  background: linear-gradient(105deg, var(--kun-hover) 0%, #C48418 50%, var(--kun-hover) 100%);
  background-size: 100% 100%;
  animation: btn-cta-float 3.2s ease-in-out infinite;
}

@keyframes btn-cta-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes btn-cta-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes btn-cta-sparkle {
  0%, 65%, 100% { left: -80%; opacity: 0; }
  78% { opacity: 1; }
  100% { left: 140%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta--animated {
    animation: none;
    background: var(--kun-deep);
    background-size: 100% 100%;
  }

  .btn-cta--animated::after {
    display: none;
  }
}

.header-cta { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* Hero */
.hero {
  padding: 48px 0 72px;
  background: linear-gradient(165deg, var(--usuzora) 0%, #F8FBFF 42%, var(--paper) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "intro visual"
    "details visual"
    "demo demo";
  gap: 20px 48px;
  align-items: center;
}

.hero-intro {
  grid-area: intro;
  align-self: end;
}

.hero-hook {
  position: relative;
  margin-bottom: 22px;
  padding: 14px 18px 16px;
  max-width: 400px;
  background: var(--paper);
  border: 1px solid var(--sora-light);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(24, 95, 165, 0.1);
  font-size: clamp(14px, 1.9vw, 15px);
  font-weight: 500;
  color: var(--text-sub);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.hero-hook::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 32px;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border-right: 1px solid var(--sora-light);
  border-bottom: 1px solid var(--sora-light);
  transform: rotate(45deg);
  box-shadow: 3px 3px 6px rgba(24, 95, 165, 0.06);
}

.hero-title {
  font-size: clamp(28px, 4.8vw, 42px);
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: 2px;
}

.hero-title-sp {
  display: none;
  font-size: clamp(24px, 6.2vw, 30px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--kon-deep);
  letter-spacing: 0.01em;
}

.hero-accent {
  position: relative;
  z-index: 0;
  font-weight: 800;
  color: var(--kun-deep);
  font-size: 1.22em;
}

.hero-accent::after {
  content: '';
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.34em;
  background: rgba(239, 159, 39, 0.3);
  border-radius: 3px;
  z-index: -1;
}

.hero-sub-note-br {
  display: none;
}

.hero-title-pc {
  display: block;
}

.hero-visual {
  grid-area: visual;
  align-self: center;
}

.hero-details {
  grid-area: details;
  align-self: start;
}

.hero-demo-bottom {
  grid-area: demo;
}

.hero-sub {
  font-size: clamp(15px, 2.2vw, 17px);
  color: var(--text-sub);
  margin-bottom: 20px;
  max-width: 480px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-sub-note {
  display: block;
  margin-top: 8px;
  font-weight: 500;
  color: var(--kon-text);
}

.trial-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.65;
}

.trial-promo--campaign {
  gap: 6px;
  padding: 14px 18px;
  border: 1px solid rgba(24, 95, 165, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(230, 244, 255, 0.55) 0%, rgba(255, 248, 235, 0.45) 100%);
  box-shadow: 0 2px 12px rgba(24, 95, 165, 0.06);
}

.trial-promo-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--kun-deep);
  letter-spacing: 0.12em;
}

.trial-promo-line {
  display: block;
  margin: 0;
}

.trial-promo-line--main {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 700;
  color: var(--kon-deep);
}

.trial-promo-highlight {
  font-weight: 800;
  color: var(--kun-deep);
  font-size: 1.12em;
  background: linear-gradient(transparent 58%, rgba(245, 184, 92, 0.5) 58%);
}

.trial-promo-text-sp {
  display: none;
}

.trial-promo-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
}

.section-title-sp,
.section-lead-sp {
  display: none;
}

.br-sp {
  display: none;
}

.section-lead-gap {
  display: block;
  height: 1em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 24px;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.cta-block--center {
  align-items: center;
}

.cta-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--kon-text);
  line-height: 1.5;
  margin: 0;
}

.cta-note--light {
  color: rgba(255, 255, 255, 0.92);
}

.btn-cta--hero {
  min-height: 52px;
  padding: 14px 32px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(186, 117, 23, 0.28);
}

.btn-cta--hero:hover {
  box-shadow: 0 6px 18px rgba(186, 117, 23, 0.35);
}

.hero-demo-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero-demo-bottom {
  grid-column: 1 / -1;
  text-align: center;
  margin: 8px 0 0;
  padding-top: 4px;
}

.trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.trust-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--kon-text);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}

.badge-icon { font-size: 18px; }

/* Conversion mock */
.convert-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.mock-paper {
  width: 200px;
  padding: 18px 16px;
  border-radius: 10px;
  font-size: 13px;
}

.mock-paper--before {
  background: #F3F4F6;
  border: 1px solid #D1D5DB;
  transform: rotate(-2deg);
}

.mock-paper--after {
  background: var(--paper);
  border: 2px solid var(--kon);
  box-shadow: 0 4px 16px rgba(24, 95, 165, 0.12);
  transform: rotate(1deg);
}

.mock-paper-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--kon-deep);
}

.mock-line {
  height: 7px;
  background: #D1D5DB;
  border-radius: 3px;
  margin-bottom: 7px;
}

.mock-line--w80 { width: 80%; }
.mock-line--w60 { width: 60%; }
.mock-line--w90 { width: 90%; }
.mock-line--w45 { width: 45%; }
.mock-line--w70 { width: 70%; }
.mock-line--off { margin-left: 8px; opacity: 0.7; }

.mock-row-messy {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 10px;
  color: #9CA3AF;
}

.mock-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mock-mark {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 3px 10px rgba(24, 95, 165, 0.22));
}

.mock-arrow-line {
  font-size: 28px;
  color: var(--sora);
  font-weight: 700;
}

.mock-table-head,
.mock-table-row {
  display: grid;
  grid-template-columns: 1.2fr 0.5fr 0.8fr;
  gap: 4px;
  font-size: 11px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}

.mock-table-head { color: var(--text-sub); font-weight: 500; }

.mock-table-row--sora { background: var(--usuzora); }

.mock-total {
  margin-top: 10px;
  padding: 5px 8px;
  background: var(--kun);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  border-radius: 4px;
}

/* Pain */
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 3px solid var(--sora);
  box-shadow: 0 2px 10px rgba(4, 44, 83, 0.04);
}

.card-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--sora);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.card-title {
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-text {
  color: var(--text-sub);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.8;
}

.pain-close {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 700;
  text-align: center;
  margin-top: 44px;
  color: var(--kon-deep);
  line-height: 1.45;
}

/* ROI */
.roi-block {
  max-width: 520px;
  margin: 40px auto 0;
  padding: 32px 28px;
  background: var(--paper);
  border: 2px solid var(--sora-light);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(24, 95, 165, 0.12);
  text-align: center;
}

.roi-block-lead {
  font-size: clamp(14px, 2vw, 15px);
  color: var(--text-sub);
  margin-bottom: 20px;
}

.roi-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.roi-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--usuzora);
  border-radius: 8px;
  font-size: clamp(14px, 2vw, 15px);
}

.roi-item--total {
  background: linear-gradient(135deg, var(--usuzora) 0%, rgba(239, 159, 39, 0.15) 100%);
  border: 1px solid var(--sora-light);
  font-weight: 600;
}

.roi-label {
  color: var(--text-sub);
  text-align: left;
}

.roi-value {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  color: var(--kon-deep);
}

.roi-calc {
  padding: 20px 16px;
  margin-bottom: 20px;
  background: var(--kon-deep);
  border-radius: 8px;
  color: var(--paper);
}

.roi-calc-line {
  font-size: clamp(13px, 2vw, 14px);
  opacity: 0.88;
  margin-bottom: 10px;
  line-height: 1.6;
}

.roi-calc-detail {
  display: inline;
}

.roi-calc-result {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 700;
  line-height: 1.4;
}

.roi-calc-result .roi-hours,
.roi-calc-result .roi-yen {
  color: var(--kun);
}

.roi-resolve {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--kun-deep);
  margin-bottom: 16px;
  line-height: 1.4;
}

.roi-price {
  font-size: 48px;
  line-height: 1;
  background: linear-gradient(transparent 58%, rgba(245, 184, 92, 0.45) 58%);
}

.roi-tax {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--text-sub);
}

.roi-note {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0;
}

.roi-note a {
  color: var(--kon);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Steps (legacy) */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: none;
}

/* Flow — はじめ方 */
.flow-block {
  margin-bottom: 40px;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-block--daily {
  background: var(--usuzora);
  border-color: var(--sora-light);
}

.flow-block-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  color: var(--kon-deep);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sora-light);
}

.flow-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.flow-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kon);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

.flow-block--daily .flow-step-num {
  background: var(--kun-deep);
}

.flow-step-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 700;
  color: var(--kon-deep);
  margin-bottom: 6px;
  line-height: 1.4;
}

.flow-step-text {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-sub);
  line-height: 1.8;
}

.flow-step-text strong {
  color: var(--kon-text);
  font-weight: 600;
}

.flow-note {
  padding: 20px 24px;
  background: var(--paper);
  border-left: 4px solid var(--kun);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 2px 8px rgba(4, 44, 83, 0.05);
}

.flow-note p {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text);
  line-height: 1.85;
  margin: 0;
}

.step {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--sora);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.step-title {
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.step-text {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-sub);
  line-height: 1.8;
}

/* Features */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse .feature-copy { order: 2; }
.feature-row--reverse .feature-illus { order: 1; }

.feature-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}

.feature-text {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-sub);
  line-height: 1.85;
}

.feature-illus {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.illus-doc {
  width: 200px;
  padding: 20px;
  border: 2px solid var(--kon);
  border-radius: 8px;
  background: var(--paper);
}

.illus-doc-bar {
  height: 8px;
  background: var(--kon);
  border-radius: 4px;
  margin-bottom: 16px;
  width: 60%;
}

.illus-doc-line {
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  margin-bottom: 8px;
}

.illus-doc-line--short { width: 70%; }

.illus-doc-logo {
  margin-top: 16px;
  font-size: 12px;
  color: var(--sora);
  font-weight: 500;
}

.illus-table {
  width: 240px;
  border: 1px solid var(--kon);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.illus-table-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr;
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.illus-table-head {
  background: var(--usuzora);
  font-weight: 500;
  color: var(--kon-text);
}

.illus-shield {
  width: 160px;
  height: 160px;
  border: 3px solid var(--kon);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--paper);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--kon-text);
}

.illus-shield-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--success);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

/* PDF連結スポットライト */
.section--merge-spotlight {
  background: linear-gradient(165deg, #F8FAFC 0%, #EEF4FA 55%, #F5F0EB 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.merge-spotlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px 56px;
  align-items: center;
}

.merge-spotlight-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--kon);
}

.merge-spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 14px;
  color: var(--kon-text);
}

.merge-spotlight-lead {
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 14px;
}

.merge-spotlight-use {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.85;
  color: var(--text-sub);
  margin: 0 0 18px;
}

.merge-spotlight-use strong {
  color: var(--kon-text);
  font-weight: 700;
}

.merge-spotlight-points {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.merge-spotlight-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
  color: var(--text-sub);
}

.merge-spotlight-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #E8702A);
}

.merge-spotlight-note {
  margin: 0;
  font-size: 13px;
  color: var(--sora);
  line-height: 1.7;
}

.merge-spotlight-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}

.merge-illus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
  width: 100%;
  max-width: 420px;
}

.merge-illus-stack {
  position: relative;
  width: 108px;
  height: 132px;
}

.merge-illus-pdf {
  position: absolute;
  width: 96px;
  height: 120px;
  border: 2px solid var(--kon);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 4px 14px rgba(29, 35, 39, 0.08);
}

.merge-illus-pdf--1 {
  top: 0;
  left: 0;
  transform: rotate(-6deg);
  z-index: 1;
}

.merge-illus-pdf--2 {
  top: 6px;
  left: 8px;
  transform: rotate(2deg);
  z-index: 2;
}

.merge-illus-pdf--3 {
  top: 12px;
  left: 16px;
  transform: rotate(8deg);
  z-index: 3;
}

.merge-illus-pdf-label {
  position: absolute;
  top: 14px;
  left: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sora);
}

.merge-illus-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.merge-illus-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.merge-illus-arrow-line {
  font-size: 28px;
  font-weight: 700;
  color: var(--kon);
  line-height: 1;
}

.merge-illus-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.merge-illus-pdf--merged {
  position: relative;
  width: 120px;
  height: 148px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  border-width: 2.5px;
  background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
  box-shadow: 0 8px 24px rgba(12, 68, 124, 0.12);
}

.merge-illus-pdf-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--kon-text);
  word-break: break-all;
  line-height: 1.4;
}

.merge-illus-pdf-pages {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent, #E8702A);
}

.merge-illus-caption {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--kon);
  text-align: center;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .merge-spotlight {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .merge-spotlight-copy {
    display: contents;
  }

  .merge-spotlight-eyebrow {
    order: 1;
    margin-bottom: 0;
    width: fit-content;
    max-width: 100%;
    justify-self: start;
  }

  .merge-spotlight-title {
    order: 2;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .merge-spotlight-lead { order: 3; margin-bottom: 12px; }
  .merge-spotlight-visual { order: 4; min-height: 220px; }
  .merge-spotlight-use { order: 5; margin-top: 4px; }
  .merge-spotlight-points { order: 6; }
  .merge-spotlight-note { order: 7; }

  .merge-illus {
    max-width: 100%;
  }
}

/* Price */
.price-cards-outer {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.price-cards-scroll {
  overflow: visible;
}

.price-scroll-hint {
  display: none;
}

.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  margin: 0;
  text-align: center;
  padding: 40px 28px;
  border: 2px solid var(--sora-light);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(24, 95, 165, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-card--free {
  border-color: var(--kun);
  box-shadow: 0 8px 28px rgba(186, 117, 23, 0.16);
}

.price-card--disabled {
  background: #F8F9FB;
  border-color: var(--line);
  box-shadow: none;
  opacity: 0.72;
  filter: grayscale(0.25);
}

.price-card-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--kun-deep);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.price-card-beta {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  text-align: left;
  width: 100%;
}

.price-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  margin: -8px 0 28px;
}

.price-amount--zero .num {
  color: var(--kun-deep);
}

.price-plan-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--kon-text);
  margin-bottom: 8px;
}

.price-tax-inline {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  margin-left: 4px;
}

.price-amount {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(40px, 8vw, 52px);
  font-weight: 700;
  color: var(--kon-deep);
  margin-bottom: 24px;
  line-height: 1.15;
}

.price-yen { font-size: 22px; font-weight: 500; }

.price-list {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
  display: inline-block;
}

.price-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
}

.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.price-list-item--highlight {
  font-weight: 700;
  color: var(--kon-deep);
}

.price-list-item--highlight::before {
  color: var(--kun-deep);
}

@keyframes price-hint-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(7px); }
}

@media (prefers-reduced-motion: reduce) {
  .price-scroll-hint-arrow {
    animation: none;
  }
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--paper);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: clamp(14px, 2vw, 16px);
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  color: var(--kon);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  flex-shrink: 0;
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-item.is-open summary::after,
.faq-item[open]:not(.is-closing) summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-item.is-open .faq-answer,
.faq-item[open]:not(.is-closing) .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-closing .faq-answer {
  grid-template-rows: 0fr;
}

.faq-answer > p {
  overflow: hidden;
  min-height: 0;
  padding: 0 20px 18px;
  color: var(--text-sub);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.8;
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.05s,
    transform 0.6s cubic-bezier(0.33, 1, 0.68, 1) 0.03s;
}

.faq-item.is-open .faq-answer > p,
.faq-item[open]:not(.is-closing) .faq-answer > p {
  opacity: 1;
  transform: translateY(0);
}

.faq-item.is-closing .faq-answer > p {
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Closing */
.closing-title {
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 12px;
  line-height: 1.4;
}

.closing-title-br {
  display: none;
}

.closing-sub {
  font-size: clamp(14px, 2.2vw, 17px);
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.75;
}

.demo-frame {
  margin-top: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.demo-placeholder {
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.demo-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Footer */
.site-footer {
  background: var(--paper);
  color: var(--text-sub);
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.footer-inner { text-align: center; }

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo img { height: 68px; width: auto; }

.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-actions .nav-login {
  font-size: 15px;
  font-weight: 600;
  color: var(--kon-text);
  padding: 10px 4px;
}

.footer-actions .nav-login:hover {
  color: var(--kon);
}

.footer-cta {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: var(--kon-text);
  font-size: 14px;
}

.footer-nav a:hover { color: var(--kon); }

.footer-company {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--text-sub);
}

.footer-copy {
  font-size: 14px;
  color: var(--text-sub);
  opacity: 0.75;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .faq-item summary::after { transition: none; transform: none; }
  .faq-item.is-open summary::after,
  .faq-item[open] summary::after { transform: none; }
  .faq-answer { transition: none; }
  .faq-answer > p { opacity: 1; transform: none; transition: none; }
}

/* Responsive — 1080px */
@media screen and (max-width: 1080px) {
  .hero-grid { gap: 32px; }
  .convert-mock { gap: 14px; }
  .mock-paper { width: 170px; }
  .mock-mark { width: 60px; height: 60px; }
}

/* Responsive — 900px */
@media screen and (max-width: 900px) {
  .closing-title-br { display: inline; }
}

/* Responsive — 768px */
@media screen and (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-lead { margin-bottom: 32px; }

  .header-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .header-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .header-nav .header-cta {
    margin-top: 12px;
    justify-content: center;
    border: none;
  }

  .header-nav .nav-login {
    font-size: 15px;
  }

  .menu-toggle { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual"
      "details"
      "demo";
    text-align: center;
    gap: 24px;
  }

  .hero { padding: 36px 0 48px; }

  .hero-intro,
  .hero-details {
    align-self: auto;
  }

  .hero-hook {
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
    padding: 13px 16px 15px;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .hero-hook::after {
    left: 50%;
    margin-left: -7px;
  }

  .hero-title-pc { display: none; }

  .hero-title-sp { display: block; }

  .hero-sub-note-br { display: inline; }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .trial-promo {
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .trial-promo-text-pc { display: none; }
  .trial-promo-text-sp { display: inline; }

  .section-title-pc,
  .section-lead-pc {
    display: none;
  }

  .section-title-sp,
  .section-lead-sp {
    display: inline;
  }

  .br-sp {
    display: block;
  }

  .cta-note .cta-note-dot {
    display: none;
  }

  .cta-note {
    margin-top: 32px;
  }

  .section-title--pain {
    font-size: clamp(21px, 5.75vw, 23px);
    white-space: nowrap;
  }

  .section-lead--howto {
    text-align: center;
  }

  .roi-calc-detail {
    display: block;
    margin-top: 4px;
  }

  .hero-actions { justify-content: center; }
  .hero-demo-bottom { margin-top: 4px; }
  .mock-paper { width: 150px; padding: 14px 12px; font-size: 11px; }
  .mock-mark { width: 52px; height: 52px; }
  .mock-arrow-line { font-size: 22px; }

  .card-grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .roi-block { padding: 24px 18px; }
  .roi-item { padding: 10px 14px; }

  .flow-block { padding: 20px 16px; }
  .flow-step { gap: 12px; }
  .flow-step-num { width: 36px; height: 36px; font-size: 13px; }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse .feature-copy,
  .feature-row--reverse .feature-illus { order: unset; }

  .price-cards-outer {
    margin-right: -24px;
  }

  .price-cards-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
  }

  .price-cards-scroll::-webkit-scrollbar {
    display: none;
  }

  .price-cards {
    display: flex;
    gap: 16px;
    max-width: none;
    width: max-content;
    margin: 0;
    padding-right: 56px;
  }

  .price-card {
    flex: 0 0 min(300px, calc(100vw - 72px));
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 32px 22px;
  }

  .price-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .price-scroll-hint-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(4, 44, 83, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: price-hint-bounce 1.5s ease-in-out infinite;
  }

  .price-scroll-hint-arrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--kon);
    border-bottom: 2px solid var(--kon);
    transform: rotate(-45deg);
    margin-left: -5px;
  }

  .price-scroll-hint-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-sub);
    letter-spacing: 0.06em;
  }

  .price-cards-outer::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--paper) 72%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.35s ease;
  }

  .price-cards-outer.is-scrolled .price-scroll-hint,
  .price-cards-outer.is-scrolled::after {
    opacity: 0;
    visibility: hidden;
  }
}

/* Responsive — 375px */
@media screen and (max-width: 375px) {
  .container { padding: 0 16px; }
  .convert-mock { flex-direction: column; gap: 12px; }
  .mock-arrow { flex-direction: row; }
  .mock-paper { width: 100%; max-width: 220px; transform: none; }
  .mock-mark { width: 52px; height: 52px; }

  body,
  .card-text,
  .step-text,
  .feature-text,
  .faq-item summary,
  .faq-answer > p,
  .hero-sub,
  .hero-hook,
  .section-lead,
  .trust-badges li,
  .footer-company,
  .footer-nav a,
  .footer-actions .nav-login,
  .footer-copy,
  .closing-sub {
    font-size: max(14px, 1em);
  }
  .price-list li {
    font-size: max(14px, 1em);
  }

  .price-cards-outer {
    margin-right: -16px;
  }

  .price-card {
    flex: 0 0 min(280px, calc(100vw - 56px));
  }

  .step-num,
  .card-num,
  .flow-step-num,
  .flow-step-text,
  .flow-step-title {
    font-size: inherit;
  }
}

.site-header--sub {
  border-bottom-color: var(--line);
}

/* Legal pages */
body.legal-page {
  background: #F5F4F0;
}

.legal-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-wrap > h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  color: var(--kon-deep);
}

.legal-updated {
  font-size: 13px;
  color: #888680;
  margin-bottom: 2.5rem;
}

.legal-lead {
  margin-bottom: 2rem;
  color: #333;
}

.legal-wrap h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 2.5rem 0 0.8rem;
  padding-bottom: 8px;
  border-bottom: 1px solid #DDDBD3;
  color: var(--kon-deep);
}

.legal-wrap p {
  margin-bottom: 1rem;
  color: #333;
}

.legal-wrap ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-wrap li {
  margin-bottom: 0.4rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #DDDBD3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #ECEAE4;
  text-align: left;
  vertical-align: top;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table th {
  width: 34%;
  background: #FAFAF8;
  font-weight: 700;
  color: #1A1A18;
  white-space: nowrap;
}

.legal-table td {
  color: #333;
}

.legal-table ul {
  padding-left: 1.2rem;
  margin: 0;
}

.legal-table li {
  margin-bottom: 0.35rem;
}

.legal-table li:last-child {
  margin-bottom: 0;
}

.legal-note {
  font-size: 13px;
  color: #666;
  margin-top: 1rem;
}

.legal-tbd {
  color: #B45309;
  font-weight: 600;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2rem;
  color: #888680;
  font-size: 13px;
  text-decoration: none;
}

.legal-back:hover {
  color: #1A1A18;
}

@media screen and (max-width: 600px) {
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    border-bottom: none;
    padding-bottom: 6px;
    background: #F3F2EE;
  }

  .legal-table td {
    padding-top: 0;
  }
}
