:root {
  --primary: #2563eb;
  --primary-light: #5b80f0;
  --primary-dark: #1a3a8f;
  --accent: #0f3894;
  --secondary: #e8ecf8;
  --register: #059669;
  --brand: #e02644;
  --table-header: #dce4f5;
  --table-tr-even: #f4f7fd;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --red: #ef4444;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--gray-900); background: var(--white); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
section { scroll-margin-top: 80px; }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 40px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; background: var(--primary); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 800; color: white; font-size: 14px; letter-spacing: -0.5px;
}
.logo-text { font-weight: 700; font-size: 16px; color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { font-size: 14px; color: var(--gray-700); font-weight: 500; transition: color 0.2s; }
.header-nav a:hover { color: var(--primary); }
.header-cta {
  background: var(--primary); color: white; padding: 10px 24px;
  border-radius: 6px; font-size: 14px; font-weight: 700; transition: background 0.2s;
}
.header-cta:hover { background: var(--accent); color: white; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 55%, #3b7cf8 100%);
  min-height: calc(100vh - 70px);
  display: flex; align-items: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E") repeat;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative;
}
.hero-left { color: white; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px; padding: 6px 14px; font-size: 12px; font-weight: 700;
  color: white; margin-bottom: 20px; letter-spacing: 0.5px;
}
.hero-badge span { width: 6px; height: 6px; background: #86efac; border-radius: 50%; display: inline-block; }
.hero-title {
  font-size: 48px; font-weight: 900; line-height: 1.2;
  margin-bottom: 12px; letter-spacing: -1px;
}
.hero-title em { color: #93c5fd; font-style: normal; }
.hero-subtitle {
  font-size: 20px; font-weight: 500; color: rgba(255,255,255,0.85);
  margin-bottom: 32px; line-height: 1.5;
}
.hero-points { list-style: none; margin-bottom: 40px; }
.hero-points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: rgba(255,255,255,0.92); margin-bottom: 12px; font-weight: 500;
}
.hero-points li::before {
  content: '✓';
  width: 22px; height: 22px; background: rgba(255,255,255,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: nowrap; align-items: stretch; }
.btn-primary-hero {
  display: inline-flex; align-items: center; justify-content: center;
  background: white; color: var(--accent);
  padding: 11px 22px; border-radius: 8px;
  border: 2px solid transparent;
  font-size: 14px; font-weight: 800; line-height: 1.3; transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }
.btn-secondary-hero {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.5); color: white;
  padding: 11px 22px; border-radius: 8px; font-size: 14px; font-weight: 700;
  line-height: 1.3; transition: all 0.2s;
}
.btn-secondary-hero:hover { background: rgba(255,255,255,0.15); }

/* Hero Right — PC mockup */
.hero-right { position: relative; display: flex; justify-content: center; }
.pc-frame {
  width: 480px; max-width: 100%;
  background: #1e293b; border-radius: 16px 16px 8px 8px;
  padding: 10px 10px 0;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.pc-topbar {
  display: flex; align-items: center; gap: 6px; padding-bottom: 8px;
}
.pc-screen {
  background: #f8fafc; border-radius: 4px 4px 0 0;
  overflow: hidden; min-height: 280px;
}
.pc-screen-inner { padding: 20px 24px; }
.app-header-mock {
  background: var(--accent); color: white;
  padding: 10px 16px; margin: -20px -24px 16px; display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
}
.app-logo-mock {
  width: 20px; height: 20px; background: white; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 900; color: var(--accent);
}
.app-section-title { font-size: 11px; color: var(--gray-600); font-weight: 700; margin-bottom: 10px; letter-spacing: 0.5px; }
.app-form-row { margin-bottom: 10px; }
.app-label { font-size: 10px; color: var(--gray-600); margin-bottom: 3px; }
.app-input-mock {
  width: 100%; height: 30px; background: white; border: 1px solid var(--gray-200);
  border-radius: 4px; display: flex; align-items: center; padding: 0 8px;
  font-size: 11px; color: var(--gray-700);
}
.app-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-amount-row {
  background: var(--secondary); border-radius: 6px; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center; margin: 12px 0;
}
.app-amount-label { font-size: 11px; color: var(--gray-600); }
.app-amount-val { font-size: 20px; font-weight: 900; color: var(--accent); font-family: 'Inter', sans-serif; }
.app-submit-btn {
  width: 100%; background: var(--primary); color: white; border-radius: 6px;
  height: 36px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
}

/* Cards float near PC */
.hero-card {
  position: absolute;
  background: white; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 14px 18px; font-size: 12px;
  animation: floatCard 4s ease-in-out infinite;
}
.hero-card.card-1 { bottom: -10px; left: -30px; animation-delay: 0s; }
.hero-card.card-2 { top: 20px; right: -20px; animation-delay: 1.5s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.credit-card-mini {
  width: 130px; background: linear-gradient(135deg, #1a3a8f, #2563eb);
  border-radius: 8px; padding: 12px; color: white;
}
.cc-chip { width: 22px; height: 16px; background: #ffd700; border-radius: 3px; margin-bottom: 8px; }
.cc-number { font-size: 9px; font-family: 'Inter', monospace; letter-spacing: 1px; margin-bottom: 6px; opacity: 0.8; }
.cc-name { font-size: 8px; font-weight: 700; letter-spacing: 0.5px; }
.cc-brand { text-align: right; font-size: 8px; font-weight: 900; margin-top: 2px; }
.hero-badge-float {
  display: flex; align-items: center; gap: 8px;
}
.hero-badge-float .icon {
  width: 32px; height: 32px; background: #dbeafe; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.hero-badge-float p { font-size: 11px; color: var(--gray-700); font-weight: 700; line-height: 1.3; }
.hero-badge-float span { color: var(--primary); font-size: 15px; font-weight: 900; display: block; }

/* ===== SECTION BASE ===== */
.section { padding: 80px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: var(--secondary); color: var(--accent);
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title {
  font-size: 36px; font-weight: 900; color: var(--accent);
  margin-bottom: 12px; line-height: 1.25; letter-spacing: -0.5px;
}
.section-title em { color: var(--primary); font-style: normal; }
.section-sub { font-size: 16px; color: var(--gray-600); margin-bottom: 48px; }
.section-center { text-align: center; }

/* ===== BRANDS ===== */
.brands-section { background: var(--white); padding: 60px 40px; border-bottom: 1px solid var(--gray-200); }
.brands-inner { max-width: 1100px; margin: 0 auto; }
.brands-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.brands-label { font-size: 13px; font-weight: 800; color: var(--gray-600); white-space: nowrap; letter-spacing: 0.5px; }
.brand-divider { width: 1px; height: 32px; background: var(--gray-200); }
.brand-logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.brand-logo-item {
  height: 40px; padding: 6px 16px; border: 1.5px solid var(--gray-200);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--gray-700);
  min-width: 80px;
}
.brand-logo-item.jcb { color: #003087; border-color: #003087; }
.brand-logo-item.visa { color: #1a1f71; border-color: #1a1f71; font-style: italic; font-size: 18px; }
.brand-logo-item.mc {
  background: linear-gradient(135deg, #eb001b 50%, #f79e1b 50%);
  color: white; border: none; font-size: 11px; font-weight: 700; letter-spacing: -0.5px;
}
.partners-row { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--gray-200); display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.partner-logo-item {
  height: 36px; padding: 4px 20px; border: 1.5px solid var(--gray-200);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: var(--gray-700);
}
.partner-logo-item.nttdata { color: #0068b7; border-color: #0068b7; }
.partner-logo-item.mufj { color: #e60012; border-color: #e60012; font-size: 11px; }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--white); }
.about-head { text-align: center; margin-bottom: 56px; }
.about-head .section-title { font-size: 34px; }
.about-lead {
  font-size: 18px; color: var(--gray-700); line-height: 1.8; margin-bottom: 8px;
}
.about-lead strong { color: var(--primary); font-weight: 900; }
.about-lead em { color: var(--accent); font-style: normal; font-weight: 900; border-bottom: 3px solid var(--primary); padding-bottom: 1px; }
.about-sublead { font-size: 15px; color: var(--gray-600); margin-bottom: 4px; }
.about-sublead em { color: var(--accent); font-style: normal; font-weight: 700; }

/* Timeline chart */
.timeline-wrap {
  background: var(--gray-50); border-radius: 20px; padding: 40px 48px;
  border: 1px solid var(--gray-200); margin-top: 40px; position: relative;
}
.timeline-title-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 8px;
}
.tl-axis-label { font-size: 11px; color: var(--gray-600); font-weight: 700; letter-spacing: 0.5px; }
.timeline-chart-area { position: relative; }
.tl-svg { width: 100%; display: block; }

/* Annotation bubbles on chart */
.tl-annotation {
  background: white; border-radius: 10px; padding: 10px 14px;
  border: 1.5px solid var(--primary); font-size: 12px; font-weight: 700;
  color: var(--accent); display: inline-block; box-shadow: 0 2px 10px rgba(37,99,235,0.12);
}
.tl-annotation.red { border-color: #ef4444; color: #b91c1c; }
.tl-annotation.green { border-color: var(--register); color: #065f46; }

/* Bottom note */
.tl-note { font-size: 11px; color: var(--gray-600); margin-top: 12px; text-align: right; }

/* 3 points below chart */
.about-points-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px;
}
.about-point-card {
  background: white; border-radius: 14px; padding: 24px 20px;
  border: 1.5px solid var(--gray-200); text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.about-point-card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(37,99,235,0.1); }
.ap-icon {
  width: 52px; height: 52px; background: var(--secondary); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 14px;
}
.ap-title { font-size: 15px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.ap-desc { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ===== PAIN POINTS (shi-harai style) ===== */
.pain-section {
  background: var(--gray-50);
  padding-top: 80px;
  padding-bottom: 31px;
}
.pain-heading {
  text-align: center; margin-bottom: 48px;
}
.pain-heading h2 {
  font-size: 30px; font-weight: 900; color: var(--accent); line-height: 1.45;
  margin-bottom: 4px;
}
.pain-heading h2 em { color: var(--primary); font-style: normal; }

/* Person cards row */
.pain-persons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 56px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.pain-person {
  display: flex; flex-direction: column; align-items: center;
  min-width: 0; max-width: none; width: 100%;
}
.pain-person-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden; margin-bottom: 0; position: relative; flex-shrink: 0;
}
.pain-bubble {
  background: white; border-radius: 14px; padding: 14px 16px;
  font-size: 13px; font-weight: 700; color: var(--gray-700); line-height: 1.55;
  border: 1.5px solid var(--gray-200); position: relative; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); width: 100%;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-sizing: border-box;
}
.pain-bubble::before {
  content: '';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-bottom-color: var(--gray-200);
}
.pain-bubble::after {
  content: '';
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-bottom-color: white;
}
.pain-bubble em { color: var(--primary); font-style: normal; font-weight: 900; }
/* PC・縦積みSPでは無効。iPad中間幅のみ改行（文言は同一） */
.pain-break-narrow { display: none; }
@media (max-width: 900px) and (min-width: 601px) {
  .pain-break-narrow { display: block; }
}

/* SP専用／PC専用改行（文言は同一） */
.br-sp { display: none; }
/* nowrap-sp：SP時に語句を1塊に。幅が足りれば1行、不足時のみ自然改行 */
.nowrap-sp { white-space: normal; }
@media (max-width: 600px) {
  .br-sp { display: block; }
  .br-pc { display: none; }
  .nowrap-sp { white-space: nowrap; }
}

/* Solve banner */
.pain-solve-banner {
  background: var(--accent);
  padding: 56px 40px 0;
  text-align: center;
}
.pain-solve-title {
  font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
}
.pain-solve-heading {
  font-size: 34px; font-weight: 900; color: white; line-height: 1.3; margin-bottom: 6px;
}
.pain-solve-heading em { color: #93c5fd; font-style: normal; }
.pain-solve-sub {
  font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 40px;
}

/* Situation cards */
.pain-situations {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 0;
}
.pain-sit-card {
  background: white; border-radius: 14px 14px 0 0; padding: 24px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-width: 150px; flex: 1; max-width: 200px;
}
.pain-sit-icon {
  width: 56px; height: 56px; background: var(--secondary); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.pain-sit-label {
  font-size: 13px; font-weight: 800; color: var(--accent); text-align: center; line-height: 1.4;
}

/* Bottom blue resolution band */
.pain-resolve-band {
  background: var(--primary); padding: 36px 40px;
  text-align: center;
}
.pain-resolve-band p {
  font-size: 22px; font-weight: 900; color: white; line-height: 1.5;
}
.pain-resolve-band p em { color: #fde68a; font-style: normal; }
.pain-resolve-benefits {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-top: 20px;
}
.pain-resolve-benefits li {
  list-style: none; display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.9); font-weight: 600;
}
.pain-resolve-benefits li::before {
  content: '✓';
  width: 20px; height: 20px; background: rgba(255,255,255,0.2); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; flex-shrink: 0;
}

/* ===== FEATURES (BizPay LP style) ===== */
.features-section { background: var(--gray-50); }

.feature-header { text-align: center; margin-bottom: 64px; }

.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: white; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-bottom: 32px;
  box-shadow: 0 2px 16px rgba(15,56,148,0.06);
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text-col {
  padding: 52px 48px; display: flex; flex-direction: column; justify-content: center;
}
.feature-badge-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.feature-badge-num {
  width: 44px; height: 44px; background: var(--accent); color: white;
  border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}
.feature-badge-num span:first-child { font-size: 8px; font-weight: 700; letter-spacing: 0.5px; opacity: 0.8; line-height: 1; }
.feature-badge-num span:last-child { font-size: 18px; font-weight: 900; line-height: 1; }
.feature-badge-label {
  background: var(--secondary); color: var(--accent);
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 20px;
}
.feature-row-title {
  font-size: 26px; font-weight: 900; color: var(--accent);
  line-height: 1.35; margin-bottom: 16px; letter-spacing: -0.3px;
}
.feature-row-title em { color: var(--primary); font-style: normal; }
.feature-row-desc {
  font-size: 14px; color: var(--gray-600); line-height: 1.8; margin-bottom: 20px;
}
.feature-bullets { list-style: none; }
.feature-bullets li {
  font-size: 13px; color: var(--gray-700); font-weight: 600;
  padding: 8px 0; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.feature-bullets li:last-child { border-bottom: none; }
.feature-bullets li::before {
  content: '';
  width: 18px; height: 18px; background: var(--primary); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}

.feature-visual-col {
  background: var(--secondary); padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 340px;
}

/* Feature visual — cashflow timeline */
.cf-chart { width: 100%; }
.cf-row { margin-bottom: 16px; }
.cf-row-label {
  font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.cf-bar-wrap { position: relative; height: 36px; }
.cf-bar {
  position: absolute; top: 0; height: 100%; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.cf-bar.gray { background: #e2e8f0; color: #64748b; left: 0; width: 45%; }
.cf-bar.blue { background: var(--primary); color: white; left: 0; width: 22%; }
.cf-bar.light { background: #dbeafe; color: var(--accent); border: 1.5px solid #93c5fd; left: 22%; width: 60%; }
.cf-arrow-row {
  display: flex; justify-content: space-between; font-size: 10px;
  color: var(--gray-600); margin-top: 4px; padding: 0 2px;
}
.cf-extend-badge {
  background: var(--primary); color: white; border-radius: 20px;
  padding: 8px 20px; font-size: 13px; font-weight: 800; margin-top: 16px;
  text-align: center; width: 100%;
}

/* Feature visual — secret / anonymized */
.secret-visual { width: 100%; }
.secret-card {
  background: white; border-radius: 12px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
  border: 1.5px solid var(--gray-200);
}
.secret-card.highlight { border-color: var(--primary); background: #f0f5ff; }
.secret-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: white;
}
.secret-info { flex: 1; }
.secret-name { font-size: 13px; font-weight: 700; color: var(--accent); }
.secret-sub { font-size: 11px; color: var(--gray-600); }
.secret-tag {
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px; flex-shrink: 0;
}
.secret-tag.ok { background: #dcfce7; color: #166534; }
.secret-tag.ng { background: #fef2f2; color: #991b1b; }
.secret-arrow {
  text-align: center; font-size: 12px; color: var(--primary); font-weight: 700;
  padding: 4px 0; display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* Feature visual — efficiency */
.eff-visual { width: 100%; }
.eff-before-after {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.eff-col { background: white; border-radius: 12px; padding: 16px; border: 1.5px solid var(--gray-200); }
.eff-col.after { border-color: var(--primary); }
.eff-col-label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 10px;
  padding: 3px 8px; border-radius: 4px; display: inline-block;
}
.eff-col-label.before { background: #fef2f2; color: #991b1b; }
.eff-col-label.after { background: var(--secondary); color: var(--accent); }
.eff-item {
  background: var(--gray-50); border-radius: 6px; padding: 8px 10px; margin-bottom: 6px;
  font-size: 11px; font-weight: 600; color: var(--gray-700);
  display: flex; align-items: center; gap: 6px;
}
.eff-item.merged {
  background: var(--secondary); color: var(--accent); font-weight: 800;
}
.eff-center { display: flex; align-items: center; justify-content: center; }
.eff-arrow { font-size: 20px; color: var(--primary); font-weight: 900; }

@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .feature-text-col { padding: 32px 24px; }
  .feature-visual-col { min-height: 240px; padding: 32px 24px; }
  .feature-row-title { font-size: 20px; }
}

/* ===== FUNCTIONS ===== */
.functions-section { background: var(--gray-50); }
.functions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.func-card {
  background: white; border-radius: 14px; padding: 36px 28px 28px;
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.func-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(37,99,235,0.12); }
.func-icon-wrap {
  width: 96px; height: 96px; background: var(--secondary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 42px;
}
.func-title { font-size: 17px; font-weight: 800; color: var(--accent); margin-bottom: 12px; line-height: 1.4; }
.func-desc { font-size: 13px; color: var(--gray-600); line-height: 1.7; text-align: left; }

/* ===== REASONS ===== */
.reasons-section { background: white; }
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.reason-card {
  background: var(--gray-50); border-radius: 14px; padding: 28px;
  border: 1px solid var(--gray-200); display: flex; gap: 20px; align-items: flex-start;
}
.reason-num {
  font-family: 'Inter', sans-serif; font-size: 36px; font-weight: 900;
  color: var(--primary); line-height: 1; min-width: 40px; flex-shrink: 0;
}
.reason-title { font-size: 18px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.reason-desc { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ===== COMPARISON ===== */
.comparison-section { background: var(--gray-50); }
.comparison-table-wrap { overflow-x: auto; }
table.comp {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--gray-200);
}
table.comp th, table.comp td {
  padding: 16px 24px; text-align: center; font-size: 14px;
  border-bottom: 1px solid var(--gray-200);
}
table.comp th { font-weight: 800; font-size: 13px; }
table.comp tr:last-child td { border-bottom: none; }
table.comp thead th:first-child { text-align: left; }
table.comp tbody td:first-child { text-align: left; font-weight: 700; color: var(--gray-700); }
.col-ours { background: var(--secondary); }
.col-ours th { background: var(--primary); color: white; }
.ours-tag {
  background: var(--primary); color: white;
  font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 10px;
  margin-left: 6px; letter-spacing: 0.5px;
}
.check-yes { color: var(--register); font-size: 18px; font-weight: 900; }
.check-no { color: #94a3b8; font-size: 18px; }
.check-mid { color: #f59e0b; font-size: 14px; font-weight: 700; }

/* ===== FLOW ===== */
.flow-section { background: white; }
.flow-steps { display: flex; gap: 0; position: relative; }
.flow-steps::before {
  content: ''; position: absolute; top: 36px; left: 60px; right: 60px; height: 2px;
  background: var(--gray-200); z-index: 0;
}
.flow-item { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.flow-circle {
  width: 72px; height: 72px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 24px; margin-bottom: 16px;
  border: 4px solid white; box-shadow: 0 0 0 2px var(--primary);
}
.flow-step-label {
  font-size: 10px; font-weight: 800; color: var(--primary); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 6px;
}
.flow-step-name { font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.flow-step-detail { font-size: 12px; color: var(--gray-600); line-height: 1.5; }

/* ===== FAQ ===== */
.faq-section { background: var(--gray-50); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: white; border-radius: 12px; margin-bottom: 12px;
  border: 1px solid var(--gray-200); overflow: hidden;
}
.faq-q {
  padding: 20px 24px; display: flex; align-items: flex-start; gap: 14px;
  cursor: default; user-select: text;
}
.faq-q-icon {
  width: 28px; height: 28px; background: var(--primary); color: white;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px; flex-shrink: 0;
}
.faq-q-text {
  font-size: 15px; font-weight: 700; color: var(--accent);
  flex: 1; min-width: 0;
}
.faq-toggle { display: none; }
.faq-a {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 0 24px 20px 24px; font-size: 14px; color: var(--gray-600); line-height: 1.7;
}
.faq-a-icon {
  width: 28px; height: 28px; background: var(--accent); color: white;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px; flex-shrink: 0;
}
.faq-a-text { flex: 1; min-width: 0; }

/* ===== COMPANY ===== */
.company-section { background: white; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--gray-200); }
.company-table td { padding: 14px 20px; font-size: 14px; }
.company-table td:first-child { width: 180px; font-weight: 700; color: var(--gray-700); background: var(--gray-50); }
.company-table td:last-child { color: var(--gray-700); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  padding: 72px 40px; text-align: center; color: white;
}
.cta-banner-title { font-size: 34px; font-weight: 900; margin-bottom: 12px; }
.cta-banner-sub { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-cta-white {
  display: inline-flex; align-items: center; justify-content: center;
  background: white; color: var(--accent); padding: 14px 36px;
  border-radius: 8px; border: 2px solid transparent;
  font-size: 16px; font-weight: 800; line-height: 1.3;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: all 0.2s;
}
.btn-cta-white:hover { transform: translateY(-2px); }
.btn-cta-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.6); color: white; padding: 14px 32px;
  border-radius: 8px; font-size: 15px; font-weight: 700; line-height: 1.3; transition: all 0.2s;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-900); color: rgba(255,255,255,0.7);
  padding: 60px 40px 32px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo-col .logo-text { color: white; font-size: 18px; margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-col-title { font-size: 13px; font-weight: 800; color: white; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-company { font-size: 13px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

@media (max-width: 900px) {
  /* Header */
  header { padding: 0 16px; height: 60px; }
  .header-nav { display: none; }
  .logo-text { font-size: 13px; }
  .header-cta { font-size: 12px; padding: 8px 14px; white-space: nowrap; min-width: 0; }
  header > div:last-child > a:first-child { display: none; }

  /* Hero */
  .hero { padding: 40px 20px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: 34px; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 15px; }
  /* iPad幅：ヒーローボタンは横並び（幅を詰めて収める） */
  .hero-btns {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
  }
  .btn-primary-hero,
  .btn-secondary-hero,
  .btn-secondary-hero-alt {
    text-align: center;
    padding: 10px 14px;
    font-size: 13px;
    min-width: 0;
    width: auto;
    flex: 1 1 0;
    max-width: none;
  }
  .hero-card { display: none; }
  .pc-frame { width: 100%; max-width: 420px; margin: 0 auto; }

  /* Sections */
  .section { padding: 48px 20px; }
  .section-title { font-size: 24px; }

  /* About */
  .about-head { margin-bottom: 32px; }
  .about-head .section-title { font-size: 22px; }
  .timeline-wrap { padding: 24px 16px; overflow-x: auto; }
  .tl-svg { min-width: 600px; }

  /* Pain */
  .pain-heading h2 { font-size: 20px; }
  .pain-persons { gap: 12px; max-width: 520px; }
  .pain-person { min-width: 0; max-width: none; }
  .pain-bubble { font-size: 12px; padding: 10px 12px; }

  /* Solution banner */
  .pain-solve-heading { font-size: 24px; }

  /* Features */
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .feature-text-col { padding: 28px 24px; }
  .feature-visual-col { min-height: auto; padding: 24px; }
  .feature-row-title { font-size: 20px; }

  /* Functions */
  .functions-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .func-card { padding: 20px 16px; }
  .func-icon-wrap { width: 72px; height: 72px; font-size: 32px; }
  .func-title { font-size: 14px; }
  .func-desc { font-size: 12px; }

  /* Reasons */
  .reasons-grid { grid-template-columns: 1fr; }

  /* Comparison */
  .comparison-table-wrap { overflow-x: auto; }
  table.comp th, table.comp td { padding: 10px 12px; font-size: 12px; }

  /* Flow */
  .flow-steps { flex-direction: column; gap: 16px; }
  .flow-steps::before { display: none; }

  /* FAQ */
  .faq-list { padding: 0; }
  .faq-q { padding: 16px 16px; }
  .faq-q-text { font-size: 13px; }
  .faq-a { padding: 0 16px 16px 16px; font-size: 13px; }

  /* Company */
  .company-table td { padding: 14px 16px; font-size: 13px; }
  .company-table td:first-child { width: 120px; }

  /* CTA Banner */
  .cta-banner { padding: 48px 20px; }
  .cta-banner-title { font-size: 24px; }
  .cta-btns { flex-direction: column; align-items: center; gap: 12px; }
  .btn-cta-white,
  .btn-cta-white-lg,
  .btn-cta-outline {
    padding: 14px 32px; font-size: 15px;
    width: 100%; max-width: 320px; min-width: 0; text-align: center;
  }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Service overview table */
  .section-inner table td { font-size: 12px; padding: 14px 16px; }
}

@media (max-width: 600px) {
  /* Header */
  .logo-text { display: none; }
  header > div:last-child { gap: 6px; }
  .header-cta { font-size: 11px; padding: 7px 12px; }

  /* Hero */
  .hero { padding: 32px 16px; }
  .hero-title { font-size: 28px; }
  .hero-points li { font-size: 13px; }
  /* SP：縦並び＋中央揃え */
  .hero-btns {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .btn-primary-hero,
  .btn-secondary-hero,
  .btn-secondary-hero-alt {
    width: 100%;
    max-width: 320px;
    flex: 0 0 auto;
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Section */
  .section { padding: 40px 16px; }
  .section-title { font-size: 22px; }

  /* About */
  .about-head .section-title { font-size: 20px; }

  /* Pain */
  .pain-heading h2 { font-size: 18px; }
  .pain-persons {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  /* Features */
  .feature-badge-num { width: 38px; height: 38px; }
  .feature-badge-num span:last-child { font-size: 16px; }
  .feature-row-title { font-size: 18px; }

  /* Functions */
  .functions-grid { grid-template-columns: 1fr; }

  /* Flow steps */
  .flow-item { padding: 0 4px; }
  .flow-circle { width: 56px; height: 56px; font-size: 20px; }

  /* Comparison table */
  table.comp th, table.comp td { padding: 8px 10px; font-size: 11px; }
  .ours-tag { display: none; }

  /* FAQ */
  .faq-q-icon,
  .faq-a-icon { width: 24px; height: 24px; font-size: 12px; }
  .faq-q-text { font-size: 13px; }

  /* CTA */
  .cta-banner-title { font-size: 20px; }
  .cta-banner-sub { font-size: 13px; }

  /* Service table */
  .section-inner table td:first-child { width: 100px; font-size: 12px; padding: 12px; }
  .section-inner table td:last-child { font-size: 12px; padding: 12px; }
}
/* ===== UTILITY CLASSES ===== */

/* ===== COMPONENT CLASSES ===== */
.text-primary { color: var(--primary); font-style: normal; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-contact {
  border: 1.5px solid var(--primary); color: var(--primary);
  padding: 9px 20px; border-radius: 6px; font-size: 14px; font-weight: 700;
  transition: all 0.2s;
}
.header-contact:hover { background: var(--secondary); }
.hero-subtitle-badge { font-size: 13px; font-weight: 500; opacity: 0.75; margin-left: 8px; }
.hero-disclaimer-wrap { margin-top: 20px; padding: 14px 0; }
.hero-disclaimer { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.8; }
.btn-secondary-hero-alt {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.6); color: white;
  padding: 11px 22px; border-radius: 8px; font-size: 14px; font-weight: 700;
  line-height: 1.3; transition: all 0.2s;
}
.btn-secondary-hero-alt:hover { background: rgba(255,255,255,0.15); }
.app-amount-side { text-align: right; }
.app-fee-val { font-size: 13px; font-weight: 700; color: #475569; }
.cc-row { display: flex; justify-content: space-between; align-items: center; }
.about-tagline {
  margin-top: 24px; font-size: 28px; font-weight: 900; color: var(--accent);
  line-height: 1.5; letter-spacing: -0.5px;
}
.about-lead-mt { margin-top: 20px; }
.about-note { font-size: 12px; color: var(--gray-600); margin-top: 16px; }
.timeline-heading {
  font-size: 13px; font-weight: 800; color: var(--gray-600);
  letter-spacing: 0.5px; margin-bottom: 20px;
}
.tl-svg-visible { overflow: visible; }
.pain-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.pain-avatar-indigo { background: #e0e7ff; }
.pain-avatar-yellow { background: #fef9c3; }
.pain-avatar-pink { background: #fce7f3; }
.pain-bubble-mt { margin-top: 8px; }
.solution-banner {
  background: linear-gradient(180deg, #f8fafc 0%, #e8ecf8 100%);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 3rem; /* お悩みと解決のあいだに白帯で接続 */
}
.solution-wave {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: var(--gray-50); clip-path: ellipse(60% 100% at 50% 100%);
}
.solution-bubble-wrap { display: inline-block; position: relative; margin-bottom: 24px; }
.solution-bubble {
  background: var(--accent); color: white; font-size: 18px; font-weight: 900;
  padding: 10px 32px; border-radius: 30px; letter-spacing: 1px;
}
.solution-bubble-arrow {
  position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 10px solid transparent; border-right: 10px solid transparent;
  border-top: 14px solid var(--accent);
}
.solution-main {
  position: relative; z-index: 1; margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.solution-brand { display: flex; align-items: center; gap: 12px; }
.solution-icon {
  width: 52px; height: 52px; background: var(--primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; transform: rotate(-8deg);
}
.solution-brand-text { text-align: left; }
.solution-brand-label { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.solution-brand-name { font-size: 20px; font-weight: 900; color: var(--accent); line-height: 1.1; }
.solution-particle { font-size: 36px; font-weight: 900; color: var(--gray-700); }
.solution-catch {
  font-size: 44px; font-weight: 900; color: #f59e0b; letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(245,158,11,0.2);
}
.feature-row-single { grid-template-columns: 1fr; }
.scene-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scene-card {
  background: white; border-radius: 12px; padding: 16px 14px;
  border: 1.5px solid var(--gray-200); text-align: center;
}
.scene-icon { font-size: 26px; margin-bottom: 6px; }
.scene-label { font-size: 12px; font-weight: 800; color: var(--accent); }
.scene-card-wide {
  background: var(--secondary); border-radius: 12px; padding: 14px;
  border: 1.5px solid var(--primary); text-align: center; grid-column: 1 / -1;
}
.scene-label-wide { font-size: 13px; font-weight: 800; color: var(--accent); }
.cf-chart-title { font-size: 12px; font-weight: 800; color: var(--accent); margin-bottom: 10px; text-align: center; }
.cf-divider { text-align: center; padding: 10px 0; font-size: 18px; color: var(--primary); }
.cf-bar-wrap-tall { height: 36px; position: relative; }
.cf-bar-pct-18 { width: 18%; }
.cf-bar-pct-74 { left: 18%; width: 74%; }
.cf-note { margin-top: 10px; font-size: 11px; color: var(--gray-600); text-align: center; }
.title-center { text-align: center; }
.sub-center-mb { text-align: center; margin-bottom: 48px; }
.comp-th-empty { background: var(--gray-50); text-align: left; }
.comp-th-gray { background: var(--gray-50); }
.comp-td-accent { font-weight: 700; color: var(--accent); }
.comp-td-fee { font-weight: 800; color: var(--primary); font-size: 16px; }
.comp-fee-note { font-size: 11px; color: var(--gray-600); font-weight: 400; }
.comp-footnote { font-size: 12px; color: var(--gray-600); margin-top: 16px; }
.flow-header { text-align: center; margin-bottom: 40px; }
.flow-label { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 2px; margin-bottom: 8px; }
.flow-subtitle { font-size: 15px; color: var(--gray-600); margin-top: 12px; }
.flow-step-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 0; }
.flow-step-tag {
  color: white; font-size: 13px; font-weight: 900; padding: 12px 0;
  text-align: center; letter-spacing: 1px; margin-right: -1px;
}
.flow-step-tag--accent { background: var(--accent); clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%); }
.flow-step-tag--accent-arrow { background: var(--accent); clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%); }
.flow-step-tag--primary-arrow { background: var(--primary); clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%); }
.flow-step-tag--primary-end { background: var(--primary); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8% 50%); margin-right: 0; }
.flow-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.flow-card {
  background: white; border-radius: 12px; border: 1px solid var(--gray-200);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 12px;
}
.flow-card-title { font-size: 15px; font-weight: 800; color: var(--accent); text-align: center; }
.flow-card-icon {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 16px 0; min-height: 80px;
}
.flow-card-desc {
  font-size: 12px; color: var(--gray-600); line-height: 1.7; text-align: center;
  flex: 1; display: flex; align-items: center; justify-content: center;
}
.flow-card-desc-col { flex-direction: column; }
.flow-card-note { font-size: 11px; margin-top: 4px; }
.flow-badge {
  border-radius: 6px; padding: 7px 0; text-align: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px; color: white;
}
.flow-badge--accent { background: var(--accent); }
.flow-badge--primary { background: var(--primary); }
.company-inner-narrow { max-width: 800px; }
.company-title { margin-bottom: 40px; text-align: center; }
.service-table {
  width: 100%; border-collapse: collapse;
  border: 1.5px solid var(--gray-200); border-radius: 14px; overflow: hidden;
}
.service-table th {
  background: var(--table-header); padding: 20px 28px; font-size: 14px; font-weight: 600;
  color: var(--gray-700); text-align: center;
  border-bottom: 1px solid #d1daf0; border-right: 1px solid #d1daf0;
  width: 40%;
}
.service-table th:last-child { border-right: none; }
.service-table td {
  padding: 20px 28px; font-size: 14px; color: var(--gray-700);
  background: white; border-bottom: 1px solid var(--gray-200);
}
.service-table tr:last-child th,
.service-table tr:last-child td { border-bottom: none; }
.service-table .cell-free { font-size: 18px; font-weight: 900; color: #f59e0b; }
.service-table .cell-fee { font-size: 22px; font-weight: 900; color: var(--primary); }
.service-table .cell-fee-note { font-size: 13px; font-weight: 600; color: var(--gray-600); }
.service-table .cell-address { font-size: 13px; color: var(--gray-600); }
.service-table .cell-link { font-size: 13px; color: var(--primary); }
.faq-header { text-align: center; margin-bottom: 40px; }
.faq-label { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 2px; margin-bottom: 8px; }
.btn-cta-white-lg {
  display: inline-flex; align-items: center; justify-content: center;
  background: white; color: var(--accent); font-size: 16px; font-weight: 800;
  padding: 16px 48px; border-radius: 8px; border: 2px solid transparent;
  line-height: 1.3;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: all 0.2s;
}
.btn-cta-white-lg:hover { transform: translateY(-2px); }
.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

/* ===== FAQ static (A-5) ===== */
.faq-q { cursor: default; user-select: text; }
.faq-toggle { display: none !important; }
/* ※ .faq-a の padding は上書きしない（900pxメディアクエリと衝突して iPad 幅で Q/A 先頭がずれるため） */


/* ===== A-2/A-3 tonemana ===== */
.btn-primary-hero, .btn-cta-white, .header-cta, .flow-badge, .solution-bubble {
  border-radius: var(--radius-md, 8px);
}
:root {
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --shadow-card: 0 2px 16px rgba(15, 56, 148, 0.06);
  --shadow-hover: 0 12px 32px rgba(37, 99, 235, 0.12);
}
.func-card, .flow-card, .faq-item, .reason-card, .about-point-card {
  border-radius: var(--radius-lg);
}
.feature-row { box-shadow: var(--shadow-card); }
.func-card:hover { box-shadow: var(--shadow-hover); }

/* ===== A-4a flow SP + A-4 responsive extras ===== */
@media (max-width: 900px) {
  .pain-inner { padding: 0 20px; }
  .solution-banner { padding: 48px 20px; }
  .solution-catch { font-size: 32px; }
  .solution-particle { font-size: 28px; }
  .about-tagline { font-size: 22px; }
  /* SPでもPCと同じ矢印横並びを維持（縦積み・clip-path解除しない） */
  .flow-step-bar { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .flow-step-tag {
    font-size: 11px; padding: 10px 0; letter-spacing: 0.5px;
  }
  .flow-cards { grid-template-columns: 1fr; gap: 12px; }
  .service-table th, .service-table td { padding: 14px 16px; font-size: 13px; }
  /* iPad幅でも Q/A 左端を揃える（後段ルールに潰されないよう再指定） */
  .faq-q { padding: 16px 16px; }
  .faq-a { padding: 0 16px 16px 16px; font-size: 13px; }
}

@media (max-width: 600px) {
  .pain-inner { padding: 0 16px; }
  .solution-banner { padding: 40px 16px; }
  .solution-main {
    row-gap: 4px;
    column-gap: 12px;
  }
  .solution-catch {
    font-size: 26px;
    line-height: 1.1;
    flex-basis: 100%;
    margin-top: -6px;
  }
  .solution-brand-name { font-size: 17px; }
  .about-tagline { font-size: 20px; }
  .timeline-heading {
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .flow-step-tag {
    font-size: 10px; padding: 8px 0; letter-spacing: 0;
  }
  .flow-card-desc {
    text-align: left;
    justify-content: flex-start;
  }
  .scene-grid { grid-template-columns: 1fr; }
  .faq-a { padding: 0 16px 16px 16px; font-size: 13px; }
  .faq-a-icon { width: 24px; height: 24px; font-size: 12px; }
  /* FAQ Q：SP時もQアイコン横で折り返し、単語途中割れを抑制（はみ出し防止） */
  .faq-q-text {
    min-width: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-break: strict;
  }
  .service-table th { width: 100px; font-size: 12px; padding: 12px; }
  .service-table td { font-size: 12px; padding: 12px; }
  /* 選ばれる理由：タイトルを一行に収める */
  .reason-card { padding: 20px 16px; gap: 14px; }
  .reason-num { font-size: 28px; min-width: 34px; }
  .reason-title {
    font-size: 15px;
    white-space: nowrap;
  }
  /* 比較表：緑文字を少し抑え、単語途中の不自然な折り返しを回避 */
  table.comp th,
  table.comp td {
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
  }
  .check-yes { font-size: 14px; }
  .check-no { font-size: 14px; }
  .comp-td-accent { font-size: 12px; }
  .comp-td-fee { font-size: 14px; }
  .comp-fee-note { font-size: 10px; }
}

/* ===== ボタン対の幅揃え（トンマナ／折り返し禁止） ===== */
.header-contact,
.header-cta {
  min-width: 240px;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}
.btn-primary-hero,
.btn-secondary-hero-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  line-height: 1.3;
  border-width: 2px;
  border-style: solid;
}
.btn-primary-hero { border-color: transparent; }
.btn-secondary-hero-alt { border-color: rgba(255,255,255,0.6); }
.cta-btns .btn-cta-white,
.cta-btns .btn-cta-white-lg,
.cta-btns .btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  line-height: 1.3;
  border-width: 2px;
  border-style: solid;
}
.cta-btns .btn-cta-white,
.cta-btns .btn-cta-white-lg { border-color: transparent; }
.cta-btns .btn-cta-outline { border-color: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .header-cta { min-width: 0; }
  .btn-primary-hero,
  .btn-secondary-hero-alt {
    min-width: 0;
  }
  .cta-btns .btn-cta-white,
  .cta-btns .btn-cta-white-lg,
  .cta-btns .btn-cta-outline {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .btn-primary-hero,
  .btn-secondary-hero-alt {
    width: 100%;
    max-width: 320px;
  }
}
