/* === Problem Section === */
.problem-section {
  background: var(--color-bg);
  padding: 96px 0;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--color-text-grey);
  max-width: 560px;
  line-height: 1.8;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.problem-card {
  background: #fff;
  border-radius: var(--radius-m);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.problem-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-main), #0056a3);
}
.problem-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-border);
  margin-bottom: 16px;
  line-height: 1;
}
.problem-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.problem-body {
  font-size: 0.875rem;
  color: var(--color-text-grey);
  line-height: 1.8;
}
.problem-quote {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--color-bg);
  border-left: 3px solid var(--color-main);
  border-radius: 0 8px 8px 0;
  font-size: 0.8rem;
  color: var(--color-text);
  font-style: italic;
}

/* === Solution Section === */
.solution-section { padding: 96px 0; background: #fff; }
.solution-concept {
  text-align: center;
  margin-bottom: 80px;
}
.solution-concept .section-title { max-width: 700px; margin: 0 auto 16px; }
.solution-concept .section-sub { margin: 0 auto; text-align: center; }
.solution-morning {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border-radius: var(--radius-l);
  padding: 48px;
  border: 1px solid rgba(0,119,199,0.15);
  margin-top: 48px;
}
.morning-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.morning-items { display: flex; flex-direction: column; gap: 12px; }
.morning-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0,119,199,0.12);
  font-size: 0.9rem;
  line-height: 1.6;
}
.morning-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.morning-text { color: var(--color-text); }
.morning-text strong { color: var(--color-main); font-weight: 700; }
.morning-text.grey { color: var(--color-text-grey); }

/* === Features === */
.features-section { background: var(--color-bg); padding: 96px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-m);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--color-main-light);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.feature-body {
  font-size: 0.875rem;
  color: var(--color-text-grey);
  line-height: 1.8;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-text-grey);
  line-height: 1.5;
}
.feature-list-check {
  color: var(--color-main);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* === Mid CTA === */
.mid-cta-section {
  background: linear-gradient(135deg, #005fa3 0%, #0077c7 100%);
  padding: 48px 0;
}
.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.mid-cta-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
.mid-cta-section .btn-primary {
  background: #fff;
  color: var(--color-main);
  flex-shrink: 0;
}
.mid-cta-section .btn-primary:hover {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

/* === Trust === */
.trust-section { padding: 96px 0; background: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: start;
}
.trust-security h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.trust-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.trust-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.trust-check-icon {
  width: 22px;
  height: 22px;
  background: var(--color-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.trust-check-icon svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-company {
  background: var(--color-bg);
  border-radius: var(--radius-m);
  padding: 32px;
  border: 1px solid var(--color-border);
}
.trust-company-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.trust-company-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.trust-company-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.trust-company-desc {
  font-size: 0.875rem;
  color: var(--color-text-grey);
  line-height: 1.8;
}
.trust-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.trust-stat {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--color-border);
  text-align: center;
}
.trust-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-main);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-grey);
}

/* === Investor Section (Hero直下ロゴマーキー) === */
.investor-bar {
  background: #f8f9fb;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  overflow: hidden;
}
.investor-bar-label {
  font-size: 0.8rem;
  color: var(--color-text-grey);
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 16px;
}
.logo-marquee {
  overflow: hidden;
  width: 100%;
  cursor: default;
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: scroll-logos 25s linear infinite;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.investor-bar-logo {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, #0056a3 0%, #0077c7 50%, #0096e8 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 16px;
  line-height: 1.8;
}
.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.cta-benefit {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cta-benefit-check { font-weight: 700; }
.cta-form-wrap {
  max-width: 480px;
  margin: 0 auto;
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.cta-input::placeholder { color: rgba(255,255,255,0.5); }
.cta-input:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.18);
}
.btn-white {
  width: 100%;
  padding: 16px 32px;
  border-radius: 100px;
  border: none;
  background: #fff;
  color: var(--color-main);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.btn-white:active { transform: translateY(0); }
.cta-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.cta-thanks {
  display: none;
  padding: 32px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-m);
  border: 1px solid rgba(255,255,255,0.2);
}
.cta-thanks-icon { font-size: 2.5rem; margin-bottom: 12px; }
.cta-thanks-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.cta-thanks-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* === Supporters === */
.supporters-section {
  background: var(--color-bg);
  padding: 96px 0;
}
.supporters-intro {
  font-size: 1rem;
  color: var(--color-text-grey);
  max-width: 600px;
  line-height: 1.8;
  margin-top: 16px;
}
.supporters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.supporter-card {
  background: #fff;
  border-radius: var(--radius-m);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.supporter-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.supporter-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  flex-shrink: 0;
  border: 3px solid var(--color-main-light);
}
.supporter-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* プレースホルダー: 画像差し替え前のイニシャルアイコン */
.supporter-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-main) 0%, #0056a3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  flex-shrink: 0;
  border: 3px solid var(--color-main-light);
  letter-spacing: -0.02em;
}
.supporter-comment {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  text-align: left;
  position: relative;
  padding: 0 4px;
}
.supporter-comment::before {
  content: '\201C';
  font-size: 2rem;
  color: var(--color-main);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 2px;
  font-style: normal;
  font-weight: 700;
}
.supporter-comment::after {
  content: '\201D';
  font-size: 2rem;
  color: var(--color-main);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-left: 2px;
  font-style: normal;
  font-weight: 700;
}
.supporter-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.4;
}
.supporter-office {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.supporter-meta {
  font-size: 0.78rem;
  color: var(--color-text-grey);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .supporters-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .supporters-section { padding: 56px 0; }
  .supporters-grid { grid-template-columns: 1fr; margin-top: 36px; }
}

/* === Footer === */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; opacity: 0.8; }
.footer-brand-name { font-weight: 700; color: #fff; }
.footer-copy { font-size: 0.78rem; margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* === Mobile Menu === */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
  }
  .header-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.2s;
  }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .header-cta { display: block; text-align: center; }

  /* Hero */
  .hero { padding: 48px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2rem); }
  .hero-float-badge { display: none; }
  .btn-primary { width: 100%; justify-content: center; min-height: 52px; }
  .hero-cta-group { align-items: stretch; }

  /* Grids */
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }

  /* Solution */
  .solution-morning { padding: 28px 20px; }

  /* Investor bar */
  .investor-bar-label { font-size: 0.75rem; }
  .investor-bar-logo { height: 44px; max-width: 140px; }
  .logo-track { gap: 48px; }

  /* Section spacing */
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .problem-section { padding: 56px 0; }
  .solution-section { padding: 56px 0; }
  .features-section { padding: 56px 0; }
  .trust-section { padding: 56px 0; }
  .problem-grid { margin-top: 36px; }
  .features-grid { margin-top: 36px; }
  .trust-grid { margin-top: 36px; }
  .solution-concept { margin-bottom: 0; }

  /* CTA */
  .cta-benefits { flex-direction: column; align-items: center; gap: 12px; }
  .cta-title { font-size: 1.7rem; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 24px; }
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
.animate-in.delay-3 { animation-delay: 0.3s; }
.animate-in.delay-4 { animation-delay: 0.4s; }

/* Intersection Observer targets */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === Accessibility: reduced motion === */
@media (prefers-reduced-motion: reduce) {
  .reveal, .animate-in {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .hero-badge-dot { animation: none; }
  .logo-track { animation: none; }
}

/* === Mobile-specific refinements === */
@media (max-width: 768px) {
  /* hero-sub の <br> は不要（自然折り返しに任せる） */
  .hero-sub br { display: none; }

  /* hero-sub-note の長いテキストを自然に折り返す */
  .hero-sub-note {
    font-size: 0.82rem;
    line-height: 1.7;
  }

  /* mid-cta のボタンが溢れないように */
  .mid-cta-inner { flex-direction: column; gap: 16px; text-align: center; }
  .mid-cta-inner .btn-primary { width: 100%; justify-content: center; }

  /* CTA フォームのパディング調整 */
  .cta-section { padding: 72px 0; }

  /* Solution morning cards — モバイルで自然に折り返す */
  .morning-item {
    padding: 12px 14px;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.65;
    overflow-wrap: break-word;
    word-break: keep-all;
  }
  .morning-icon {
    font-size: 1rem;
  }
  .morning-title {
    font-size: 0.92rem;
    margin-bottom: 16px;
  }
  /* Before/After grid — モバイルで縦積み */
  .solution-morning > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* problem-card の余白調整 */
  .problem-card {
    padding: 24px 20px;
  }

  /* feature-card の余白調整 */
  .feature-card {
    padding: 28px 20px;
  }

  /* section-title の折り返し制御 */
  .section-title {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* cta-title の折り返し制御 */
  .cta-title {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* supporters-intro の長文折り返し */
  .supporters-intro {
    font-size: 0.9rem;
  }

  /* footer */
  .footer-inner {
    gap: 20px;
  }
}

/* === FAQ Section === */
.faq-section {
  padding: 96px 0;
  background: #fff;
}
.faq-list {
  max-width: 720px;
  margin: 56px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}
.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}
.faq-question {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.faq-q-label {
  color: var(--color-main);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.6;
}
.faq-answer {
  font-size: 0.9rem;
  color: var(--color-text-grey);
  line-height: 1.8;
  margin-top: 12px;
  padding-left: 32px;
}
@media (max-width: 768px) {
  .faq-section { padding: 56px 0; }
  .faq-list { margin-top: 36px; }
  .faq-item { padding: 20px 0; }
  .faq-question { font-size: 0.95rem; }
  .faq-answer { font-size: 0.85rem; padding-left: 28px; }
}
