/* Index Page Styles */
.page-index {
  color: #333333;
  background-color: #ffffff;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.page-index__hero-section {
  padding-top: 0;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
}
.page-index__hero-link {
  display: block;
}
.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 17/5;
}

/* ===== LOGO GRID ===== */
.page-index__logo-grid-section {
  max-width: 1200px;
  margin: 16px auto 28px;
  padding: 0 16px;
}
.page-index__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
}
.page-index__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  text-align: center;
}
.page-index__logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: contain;
  display: block;
}
.page-index__logo-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #26A9E0;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(38, 169, 224, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.page-index__logo-cta:hover {
  background: #0d8bbc;
  transform: translateY(-2px);
}
.page-index__logo-item:nth-child(5) {
  grid-column: 2;
}
.page-index__logo-item:nth-child(6) {
  grid-column: 3;
}

/* ===== GUIDE ===== */
.page-index__guide-section {
  background-color: #ffffff;
}
.page-index__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  line-height: 1.8;
}
.page-index__guide-title {
  text-align: center;
  color: #26A9E0;
  margin: 12px 0 20px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}
.page-index__guide-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}
.page-index__guide-section h2 {
  color: #0d8bbc;
  font-size: 1.6rem;
  margin-top: 40px;
  border-left: 5px solid #26A9E0;
  padding-left: 15px;
}
.page-index__guide-section h3 {
  color: #0477db;
  font-size: 1.25rem;
  margin-top: 28px;
}
.page-index__guide-section p, 
.page-index__guide-section li {
  font-size: 1rem;
  color: #333333;
}
.page-index__guide-section ul, 
.page-index__guide-section ol {
  margin-left: 20px;
}
.page-index__guide-section a {
  color: #26A9E0;
}
.page-index__guide-link {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  background: #EA7C07;
  color: #ffffff !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.page-index__guide-figure {
  margin: 24px auto;
  text-align: center;
  max-width: 800px;
}
.page-index__guide-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.page-index__guide-figure figcaption {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 8px;
}

/* ===== FAQ ===== */
.page-index__faq-item {
  margin: 10px 0;
  padding: 8px 12px;
  background: #f4f9fc;
  border-radius: 8px;
}
.page-index__faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #0477db;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-index__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-index__faq-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #26A9E0;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}
.page-index__faq-item[open] .page-index__faq-toggle {
  background: #EA7C07;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .page-index__logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .page-index__logo-item:nth-child(5) {
    grid-column: auto;
  }
  .page-index__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .page-index__hero-image {
    aspect-ratio: 2/1;
  }
  .page-index__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .page-index__logo-item {
    max-width: 100%;
  }
  .page-index__logo-item:nth-child(5),
  .page-index__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-index__guide-title {
    font-size: clamp(1.3rem, 5vw, 1.5rem);
  }
  .page-index__guide-intro {
    font-size: 1rem;
  }
  .page-index__guide-section h2 {
    font-size: 1.3rem;
  }
  .page-index__guide-section h3 {
    font-size: 1.1rem;
  }
  .page-index__guide-figure img,
  .page-index img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-index__logo-cta {
    padding: 8px 16px;
    font-size: 0.9rem;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
}