/* Page-specific styles for ban-ca.html */
:root {
  --page-bg: #F4F7FB;
  --card-bg: #FFFFFF;
  --text-main: #1F2D3D;
  --border-color: #D6E2FF;
  --primary: #2F6BFF;
  --secondary: #6FA3FF;
  --glow: #A5C4FF;
  --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-ban-ca {
  background-color: var(--page-bg);
  color: var(--text-main);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-ban-ca__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}

.page-ban-ca__hero-section {
  padding-top: 0;
  margin-top: 0;
  background: linear-gradient(180deg, #EAF1FF 0%, #F4F7FB 100%);
  padding-bottom: 32px;
}

.page-ban-ca__hero-image {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 0;
  box-sizing: border-box;
}

.page-ban-ca__hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.15);
  object-fit: cover;
}

.page-ban-ca__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 0;
  text-align: center;
}

.page-ban-ca__hero-title {
  color: #1F2D3D;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.page-ban-ca__hero-desc {
  color: #2E3D50;
  font-size: 1.05rem;
  margin: 0 0 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.page-ban-ca__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  cursor: pointer;
  border: none;
}

.page-ban-ca__btn--primary {
  background: var(--btn-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.35);
}

.page-ban-ca__btn--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #1F4FD9 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.45);
  transform: translateY(-2px);
}

.page-ban-ca__btn--secondary {
  background: #FFFFFF;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.page-ban-ca__btn--secondary:hover {
  background: #EAF1FF;
  transform: translateY(-2px);
}

.page-ban-ca__btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.page-ban-ca__btn--outline:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.page-ban-ca__section-title {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.3;
  margin: 0 0 20px;
  text-align: center;
}

.page-ban-ca__sub-title {
  color: #1F2D3D;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 24px 0 12px;
}

.page-ban-ca p {
  margin: 0 0 16px;
  color: var(--text-main);
  font-size: 1rem;
}

.page-ban-ca a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-ban-ca a.page-ban-ca__btn {
  text-decoration: none;
}

.page-ban-ca__intro-section,
.page-ban-ca__guide-section,
.page-ban-ca__tips-section,
.page-ban-ca__platform-section,
.page-ban-ca__app-section,
.page-ban-ca__faq-section,
.page-ban-ca__blog-section,
.page-ban-ca__cta-section {
  padding: 48px 0;
}

.page-ban-ca__entry-section {
  padding: 48px 0;
  background: #FFFFFF;
}

.page-ban-ca__entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.page-ban-ca__entry-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(47, 107, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.16);
}

.page-ban-ca__entry-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.page-ban-ca__entry-title {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 16px 16px 8px;
  line-height: 1.4;
}

.page-ban-ca__entry-text {
  margin: 0 16px 20px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.page-ban-ca__guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.page-ban-ca__guide-table th,
.page-ban-ca__guide-table td {
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.95rem;
  vertical-align: top;
}

.page-ban-ca__guide-table th {
  background: #EAF1FF;
  color: #1F2D3D;
  font-weight: 700;
}

.page-ban-ca__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-ban-ca__tips-section {
  background: #FFFFFF;
}

.page-ban-ca__promo-section {
  padding: 48px 0;
  background: #FFFFFF;
}

.page-ban-ca__promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.page-ban-ca__promo-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(47, 107, 255, 0.1);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-ban-ca__promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.2);
}

.page-ban-ca__promo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 590 / 240;
  object-fit: cover;
  display: block;
}

.page-ban-ca__promo-label {
  display: block;
  padding: 14px 16px;
  background: #FFFFFF;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
}

.page-ban-ca__promo-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.page-ban-ca__app-section {
  background: linear-gradient(180deg, #EAF1FF 0%, #F4F7FB 100%);
}

.page-ban-ca__app-cta {
  text-align: center;
  margin-top: 24px;
}

.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(47, 107, 255, 0.06);
}

.page-ban-ca__faq-question {
  color: #1F2D3D;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}

.page-ban-ca__faq-answer {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-main);
}

.page-ban-ca__blog-section {
  background: #FFFFFF;
}

.page-ban-ca__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.page-ban-ca__blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(47, 107, 255, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-ban-ca__blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.14);
}

.page-ban-ca__blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-ban-ca__blog-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.page-ban-ca__blog-title {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  margin: 14px 16px 16px;
  line-height: 1.4;
}

.page-ban-ca__blog-more {
  text-align: center;
  margin-top: 32px;
}

.page-ban-ca__cta-section {
  background: linear-gradient(135deg, #EAF1FF 0%, #D6E2FF 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.page-ban-ca__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .page-ban-ca {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-ban-ca__hero-content {
    padding: 20px 16px 0;
  }

  .page-ban-ca__hero-title {
    font-size: 1.6rem;
  }

  .page-ban-ca__hero-desc {
    font-size: 0.98rem;
  }

  .page-ban-ca__hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .page-ban-ca__btn {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-ban-ca__entry-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-ban-ca__section-title {
    font-size: 1.4rem;
  }

  .page-ban-ca__sub-title {
    font-size: 1.15rem;
  }

  .page-ban-ca__promo-cta,
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .page-ban-ca__guide-table th,
  .page-ban-ca__guide-table td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .page-ban-ca img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__container {
    padding: 0 12px;
  }

  .page-ban-ca__intro-section,
  .page-ban-ca__entry-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__tips-section,
  .page-ban-ca__promo-section,
  .page-ban-ca__platform-section,
  .page-ban-ca__app-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__blog-section,
  .page-ban-ca__cta-section {
    padding: 32px 0;
  }
}