/* ==============================================
   ECB Landing Page — Trust & Freedom Design System
   白背景 × #2462a4 / #5cafa6 のクリーン金融LP
   ============================================== */

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

html {
  scroll-behavior: smooth;
}

/* ----- Design Tokens ----- */
:root {
  --blue: #2462a4;
  --blue-dark: #1b4d85;
  --blue-light: #3a7bc8;
  --teal: #5cafa6;
  --teal-dark: #479490;
  --teal-light: #7cc5be;
  --teal-pale: #e8f5f3;

  --bg-white: #ffffff;
  --bg-off: #f7f9fc;
  --bg-light: #eef3f9;
  --bg-hero: linear-gradient(135deg, #1a3a5c 0%, #2462a4 40%, #3a7bc8 100%);
  --bg-dark-section: #1a2d42;

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(36, 98, 164, 0.12);
  --shadow-sm: 0 2px 8px rgba(36, 98, 164, 0.06);
  --shadow-md: 0 8px 32px rgba(36, 98, 164, 0.10);
  --shadow-lg: 0 20px 60px rgba(36, 98, 164, 0.12);
  --shadow-card: 0 4px 20px rgba(36, 98, 164, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ----- Body ----- */
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  background: var(--bg-white);
  color: var(--text-primary);
  line-height: 2.0;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ----- Typography ----- */
b,
strong {
  color: var(--blue);
  font-weight: 700;
}

.text-blue {
  color: var(--blue);
}

.text-teal {
  color: var(--teal);
}

.text-white {
  color: var(--text-white);
}

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

.text-left {
  text-align: left;
}

/* ----- Animations ----- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulseSubtle {

  0%,
  100% {
    box-shadow: 0 8px 30px rgba(36, 98, 164, 0.25);
  }

  50% {
    box-shadow: 0 12px 50px rgba(92, 175, 166, 0.35);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ----- Layout ----- */
.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 5%;
}

section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* ----- ナビバー ----- */
.top-bar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 10000;
  font-weight: 600;
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--blue);
  border-bottom: 1px solid rgba(36, 98, 164, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

/* ----- ヒーローセクション ----- */
.hero-section {
  background: var(--bg-hero);
  background-size: 200% 200%;
  animation: gradientMove 12s ease infinite;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--text-white);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(92, 175, 166, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(36, 98, 164, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section>.inner {
  position: relative;
  z-index: 1;
}

.hero-section .hero-eyecatch {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-section h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 28px;
}

.hero-section h1 .highlight {
  color: var(--teal-light);
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
  max-width: 700px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge .badge-icon {
  font-size: 1.2rem;
}

/* 装飾パーティクル */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.12;
}

/* ----- セクション背景バリエーション ----- */
.bg-white {
  background: var(--bg-white);
}

.bg-off {
  background: var(--bg-off);
}

.bg-light {
  background: var(--bg-light);
}

.bg-blue {
  background: linear-gradient(135deg, #1a3a5c, #2462a4);
  color: var(--text-white);
}

.bg-blue b,
.bg-blue strong {
  color: var(--teal-light);
}

.bg-dark {
  background: var(--bg-dark-section);
  color: var(--text-white);
}

.bg-dark b,
.bg-dark strong {
  color: var(--teal-light);
}

/* ----- セクションタイトル ----- */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-title .label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--teal);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.bg-blue .section-title,
.bg-dark .section-title {
  color: #fff;
}

.bg-blue .section-title .label,
.bg-dark .section-title .label {
  color: var(--teal-light);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 2;
  max-width: 800px;
  margin-bottom: 60px;
}

.bg-blue .section-lead,
.bg-dark .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

/* ----- カード ----- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
}

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

/* ----- ステップカード ----- */
.step-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 40px;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
}

.step-item:last-child::before {
  display: none;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-body {
  flex: 1;
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.step-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.step-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
}

.step-body .note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.bg-off .step-body,
.bg-light .step-body {
  background: var(--bg-white);
}

/* ----- 金利テーブル ----- */
.rate-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 40px 0;
  font-size: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-white);
}

.rate-table th,
.rate-table td {
  padding: 18px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(36, 98, 164, 0.08);
}

.rate-table thead th {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rate-table tbody tr:last-child td {
  border-bottom: none;
}

.rate-table tbody tr {
  transition: background 0.3s;
}

.rate-table tbody tr:hover {
  background: var(--teal-pale);
}

.rate-table .highlight-col {
  background: rgba(92, 175, 166, 0.06);
  font-weight: 700;
  color: var(--blue);
}

/* ----- お客様の声 ----- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-card .author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

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

.faq-item {
  border-bottom: 1px solid rgba(36, 98, 164, 0.1);
  padding: 32px 0;
}

.faq-item:first-child {
  border-top: 1px solid rgba(36, 98, 164, 0.1);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.faq-question .q-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 2;
  padding-left: 40px;
}

.faq-answer ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.faq-answer ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}

.faq-answer ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ----- CTAボタン ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 20px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(36, 98, 164, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 50px rgba(36, 98, 164, 0.4);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  text-decoration: none;
  padding: 20px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(92, 175, 166, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.03em;
}

.btn-teal:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 50px rgba(92, 175, 166, 0.4);
}

.btn-large {
  padding: 28px 52px;
  font-size: 1.25rem;
  border-radius: var(--radius-lg);
  animation: pulseSubtle 3s infinite;
}

/* ----- CTA セクション ----- */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, var(--teal));
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.cta-section .cta-notes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-section .cta-notes span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ----- 招待制セクション ----- */
.invite-box {
  background: linear-gradient(135deg, rgba(36, 98, 164, 0.04), rgba(92, 175, 166, 0.04));
  border: 2px solid var(--blue);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.invite-box h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 20px;
}

.invite-box p {
  color: var(--text-secondary);
  line-height: 2;
}

.invite-box ol {
  text-align: left;
  margin: 20px auto;
  max-width: 500px;
  padding-left: 20px;
}

.invite-box ol li {
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ----- セクション仕切り ----- */
.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 60px auto;
  max-width: 800px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 98, 164, 0.15), transparent);
}
.section-divider .divider-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ----- デビットカードセクション ----- */
.debit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.debit-card {
  background: var(--bg-off);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.debit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.debit-card .debit-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.debit-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.debit-card .debit-fee {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(36, 98, 164, 0.08);
}

.debit-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.debit-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 5px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.debit-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ----- 免責事項 ----- */
.disclaimer-section {
  background: var(--bg-off);
  padding: 80px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.disclaimer-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.disclaimer-block {
  margin-bottom: 32px;
}

.disclaimer-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(36, 98, 164, 0.1);
}

.disclaimer-block ul {
  list-style: none;
  padding: 0;
}

.disclaimer-block ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.9;
}

.disclaimer-block ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ----- フッター ----- */
.site-footer {
  padding: 60px 5%;
  background: var(--bg-dark-section);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.site-footer .brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

/* ----- 汎用スペーサー ----- */
.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-badges {
    flex-direction: column;
  }

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

  .card {
    padding: 28px 24px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .debit-grid {
    grid-template-columns: 1fr;
  }

  .rate-table {
    font-size: 0.88rem;
  }

  .rate-table th,
  .rate-table td {
    padding: 12px 10px;
  }

  .btn-large {
    padding: 22px 32px;
    font-size: 1.1rem;
  }

  .step-item {
    gap: 16px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  .step-body {
    padding: 20px;
  }

  .invite-box {
    padding: 36px 24px;
  }

  .cta-section .cta-notes {
    flex-direction: column;
    align-items: center;
  }

  .faq-answer {
    padding-left: 0;
  }
}