/* ===== RESET & BASE ===== */
:root {
  --navy: #0a1f44;
  --navy-mid: #0d2d6b;
  --blue: #1251a3;
  --blue-light: #1e6fd9;
  --accent: #c8a84b;
  --accent-light: #e8c96a;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --gray-light: #e8edf5;
  --gray: #8a9ab5;
  --text: #1a2a44;
  --text-light: #4a5a74;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  max-width: 100vw;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* right:0 の代わりに width:100% で確実に全幅 */
  z-index: 100;
  background: rgba(10,31,68,0.97);
  backdrop-filter: blur(12px);
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(200,168,75,0.3);
  box-sizing: border-box;
}
.header-logo-img {
  height: 45px;
  width: auto;
  display: block;
}
.header-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 28px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.header-cta:hover { opacity: 0.85; }

/* ===== BAND ===== */
.band {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  z-index: 99;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  padding: 9px 40px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.12em;
  overflow: hidden;
  box-sizing: border-box;
}
.band-sp { display: none; }

/* ===== HERO ===== */
.hero {
  background:
    linear-gradient(160deg, rgba(7,22,58,0.93) 0%, rgba(13,36,96,0.89) 45%, rgba(14,58,138,0.86) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  padding-top: 102px;
  padding-bottom: 180px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 55%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(30,111,217,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0 auto;
  padding: 100px 60px 60px;
  overflow: hidden;
}
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-headline {
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-headline em { font-style: normal; color: var(--accent-light); }
.hero-headline .hl-blue { color: #5aaeff; }
.hero-headline .hl-nowrap { white-space: nowrap; }
@media (max-width: 600px) { .hero-headline .hl-nowrap { white-space: normal; } }
.hero-sub {
  font-size: 20px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  font-weight: 300;
}

/* ===== HERO CARDS ===== */
.hero-cards-row {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  width: 100%;
  margin: -100px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 60px;
}
.hero-point-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px 32px;
  box-shadow: 0 8px 40px rgba(7,22,58,0.18);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.hero-point-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-light));
}
.hero-point-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 52px rgba(7,22,58,0.24);
}
.hpc-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.hpc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.hpc-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hpc-icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--blue);
}
.hpc-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.hpc-body {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-spacer {
  height: 0;
  background: var(--off-white);
}

/* ===== SECTION BASE ===== */
section { padding: 100px 48px; }
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  min-width: 0;
}
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--blue-light);
}
.section-title {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--navy);
}
.section-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.9;
  max-width: 640px;
  font-weight: 400;
}

/* ===== PROBLEMS ===== */
.problems { background: var(--off-white); }

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 52px;
}
.problem-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  box-shadow: 0 2px 16px rgba(18,81,163,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(18,81,163,0.13);
}
.problem-img {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}
.problem-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,31,68,0.4) 0%, rgba(10,31,68,0.1) 100%);
}
.problem-point {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  background: var(--blue);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.06em;
}
.problem-point span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.problem-body {
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--blue);
}
.problem-body h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.4;
}
.problem-body p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.85;
  font-weight: 400;
}

/* ===== WHAT IS ===== */
.what-is { background: var(--white); }
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.what-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 16px;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}
.what-visual::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(200,168,75,0.1);
}
.what-visual-title {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 36px;
  position: relative;
}
.flow-steps { display: flex; flex-direction: column; }
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.flow-step:not(.flow-step-last)::after {
  content: '';
  position: absolute;
  left: 19px; top: 44px;
  width: 2px; height: calc(100% - 4px);
  background: rgba(255,255,255,0.18);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body { padding-bottom: 32px; }
.flow-step-last .step-body { padding-bottom: 0; }
.step-body strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: white;
}
.step-body span {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
}
.what-content p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 18px;
  font-weight: 400;
}
.highlight-box {
  background: linear-gradient(135deg, #eef3ff, #f0f7ff);
  border: 1px solid rgba(18,81,163,0.15);
  border-radius: 10px;
  padding: 22px 26px;
  margin-top: 24px;
}
.highlight-box p {
  font-size: 15px !important;
  color: var(--blue) !important;
  font-weight: 500 !important;
  margin: 0 !important;
  line-height: 1.75 !important;
}

/* ===== FEATURES ===== */
.features { background: var(--off-white); }
.features-title-area {
  text-align: center;
  margin-bottom: 56px;
}
.features-title-area .section-label { justify-content: center; }
.features-title-area .section-label::before { display: none; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  box-shadow: 0 2px 14px rgba(18,81,163,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(18,81,163,0.12);
}
.feature-point {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 16px;
}
.feature-point-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
}
.feature-point-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.feature-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--accent-light);
}
.feature-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid var(--gray-light);
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  font-weight: 400;
}

/* ===== NUMBERS ===== */
.numbers {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0e3580 100%);
  position: relative;
  overflow: hidden;
}
.numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}
.numbers .section-inner { position: relative; z-index: 2; }
.numbers-label { justify-content: center; color: var(--accent-light) !important; }
.numbers-label::before { background: var(--accent-light) !important; }
.numbers-title { text-align: center; color: var(--white); }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.number-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 24px 36px;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}
.number-item:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}
.num-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(200,168,75,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.num-icon svg {
  width: 24px; height: 24px;
  stroke: var(--accent-light);
}
.num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 14px;
}
.num sup {
  font-size: 0.45em;
  vertical-align: super;
}
.num-label-main {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 8px;
}
.num-label-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ===== FLOW ===== */
.flow-section { background: var(--off-white); }
.flow-timeline {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.flow-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: stretch;
}
.flow-step-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(18,81,163,0.28);
  border: 4px solid var(--off-white);
  flex-shrink: 0;
}
.flow-circle-last {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 6px 24px rgba(200,168,75,0.3);
  color: var(--navy);
}
.flow-line {
  width: 3px;
  flex: 1;
  min-height: 24px;
  background: linear-gradient(180deg, var(--blue-light), rgba(30,111,217,0.15));
  margin: 6px 0;
}
.flow-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 36px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(18,81,163,0.06);
  border-left: 4px solid var(--blue);
  transition: transform 0.2s, box-shadow 0.2s;
}
.flow-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 28px rgba(18,81,163,0.11);
}
.flow-card-highlight {
  border-left-color: var(--accent);
  background: linear-gradient(135deg, #fffdf5, #fff8e1);
}
.flow-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.flow-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--blue);
}
.flow-card-highlight .flow-card-icon {
  background: rgba(200,168,75,0.12);
}
.flow-card-highlight .flow-card-icon svg {
  stroke: var(--accent);
}
.flow-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.flow-card p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.85;
  font-weight: 400;
}

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--off-white);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 26px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}
.faq-q:hover { background: rgba(18,81,163,0.04); }
.faq-q-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-q-text {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}
.faq-arrow {
  font-size: 16px;
  color: var(--gray);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 32px 26px 80px;
}
.faq-item.open .faq-a { display: block; }
.faq-a p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.9;
  font-weight: 400;
}

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.contact .section-inner { position: relative; z-index: 2; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}
.contact-info .section-title { color: white; font-size: clamp(28px, 3vw, 40px); }
.contact-info .section-label { color: var(--accent-light); }
.contact-info .section-label::before { background: var(--accent-light); }
.contact-info > p {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.9;
  font-weight: 400;
  margin-top: 16px;
}
.contact-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.contact-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 14px 20px;
}
.contact-badge svg {
  width: 20px; height: 20px;
  stroke: var(--accent-light);
  flex-shrink: 0;
}
.contact-badge span {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}
.contact-form {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 48px 44px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin-bottom: 9px;
}
.required {
  background: #e0445a;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 16px;
  color: white;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.32); }
.form-group select { color: rgba(255,255,255,0.7); cursor: pointer; }
.form-group select option { background: var(--navy); color: white; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--navy);
  font-weight: 800;
  font-size: 17px;
  padding: 19px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.08em;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 8px;
  box-shadow: 0 4px 24px rgba(200,168,75,0.3);
}
.form-submit:hover { opacity: 0.88; transform: translateY(-2px); }
.privacy-note {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(200,168,75,0.2);
  padding: 44px 48px;
  text-align: center;
}
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: white;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--accent); }
footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > * { animation: fadeUp 0.75s ease both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.2s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  section { padding: 64px 20px; }
  header { padding: 0 20px; }
  .hero-inner { padding: 80px 20px 40px; }
  .hero-sub { white-space: normal; font-size: 17px; }
  .hero-cards-row {
    grid-template-columns: 1fr;
    margin-top: -60px;
    padding: 0 20px;
  }
  .problem-card { grid-template-columns: 1fr; }
  .problem-img { height: 200px; }
  .what-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-card { grid-template-columns: 110px 1fr; }
  .feature-body { padding: 24px 28px; }
  .flow-item { grid-template-columns: 72px 1fr; gap: 16px; }
  .flow-card { padding: 22px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .band { font-size: 11px; padding: 8px 16px; }
}

@media (max-width: 600px) {
  /* ===== ヘッダー・バンド ===== */
  header {
    padding: 0 16px;
    height: 60px;
  }
  .header-logo { font-size: 20px; }
  .header-cta { font-size: 12px; padding: 9px 16px; }

  /* PC用バンドを非表示、SP用を表示 */
  .band-pc { display: none; }
  .band-sp {
    display: block;
    top: 60px;
    left: 0;
    width: 100%;
    font-size: 11px;
    padding: 7px 16px;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    letter-spacing: 0.08em;
    box-sizing: border-box;
  }
  .header-logo-img {
    height: 36px;
  }
  /* ===== HERO ===== */
  .hero {
    padding-top: 94px;
    padding-bottom: 160px;
  }
  .hero-inner { padding: 60px 16px 40px; }
  .hero-headline { font-size: 34px; }
  .hero-sub { font-size: 15px; white-space: normal; }
  .hero-cards-row { padding: 0 16px; }

  /* ===== SECTION ===== */
  section { padding: 60px 16px; }
  .problems { padding-top: 120px; }

  /* ===== ファクタリングの仕組み ===== */
  .what-visual { padding: 36px 28px; }
  .what-visual-title {
    font-size: 18px;
  }

  /* ===== 選ばれる理由 タイトル ===== */
  .features-title-area .section-title {
    font-size: 28px;
  }

  /* ===== 選ばれる理由 カード ===== */
  .feature-card { grid-template-columns: 100px 1fr; }
  .feature-point { flex-direction: column; padding: 24px 12px; gap: 8px; }
  .feature-body { padding: 20px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { font-size: 14px; }

  /* ===== 実績 — 1列表示で確実に収める ===== */
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .number-item {
    padding: 24px 12px 20px;
    min-width: 0; /* グリッドセルがはみ出さない */
  }
  .num-icon { width: 40px; height: 40px; }
  .num-icon svg { width: 20px; height: 20px; }
  .num { font-size: 26px; }
  .num-label-main { font-size: 13px; }
  .num-label-sub { font-size: 11px; }

  /* ===== ご利用の流れ ===== */
  .flow-item { grid-template-columns: 56px 1fr; gap: 12px; }
  .flow-circle { width: 56px; height: 56px; font-size: 18px; }
  .flow-card { padding: 20px; }
  .flow-card-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .flow-card-icon { width: 48px; height: 48px; border-radius: 12px; }
  .flow-card-icon svg { width: 24px; height: 24px; }
  .flow-card h3 { font-size: 18px; text-align: center; }
  .flow-card p { font-size: 14px; }

  /* ===== FAQ ===== */
  .faq-q { padding: 20px 16px; }
  .faq-q-text { font-size: 16px; }
  .faq-a { padding: 0 16px 20px 60px; }
  .faq-a p { font-size: 15px; }
}
/* features descを1行に収める */
.features-desc {
  white-space: nowrap;
  max-width: none;
}

/* フッターロゴ画像 */
.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto 12px;
  filter: brightness(0) invert(1);
}


/* problems descを1行に収める（PC） */
.problems-desc {
  white-space: nowrap;
  max-width: none;
}

