.page-index {
  background-color: var(--bg-color, #ffffff);
  color: #333333;
}

/* ===== Module 0: Hero Section ===== */
.page-index__hero-section {
  padding-top: 0;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
  background-color: #0A0A0A;
}
.page-index__hero-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
.page-index__hero-link {
  display: block;
  width: 100%;
  text-decoration: none;
}
.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 17 / 5;
}

/* ===== Module 1: Logo Grid Section ===== */
.page-index__logo-grid-section {
  width: 100%;
  max-width: 1200px;
  margin: 24px auto 36px;
  padding: 0 16px;
  background-color: transparent;
}
.page-index__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  justify-items: center;
  align-items: stretch;
}
.page-index__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 280px;
  padding: 12px;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  text-align: center;
  box-sizing: border-box;
}
.page-index__logo-image {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
}
.page-index__logo-cta {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #222222;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: normal;
  word-wrap: break-word;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  border: none;
}
.page-index__logo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
/* 4+2 layout */
.page-index__logo-item:nth-child(5) {
  grid-column: 2;
}
.page-index__logo-item:nth-child(6) {
  grid-column: 3;
}

/* ===== Module 2: Guide Section (Long SEO article) ===== */
.page-index__guide-section {
  width: 100%;
  background-color: #ffffff;
  padding: 32px 0;
}
.page-index__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px 48px;
  box-sizing: border-box;
}
.page-index__guide-title {
  text-align: center;
  color: #0477db;
  margin: 12px 0 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-index__guide-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: justify;
}
.page-index__guide-inner h2 {
  color: #0477db;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid #F2C14E;
}
.page-index__guide-inner h3 {
  color: #333333;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0 10px;
}
.page-index__guide-inner p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #444444;
}
.page-index__guide-figure {
  margin: 28px 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: 10px;
  font-style: italic;
}
.page-index__guide-inner a {
  color: #0477db;
  text-decoration: underline;
}
.page-index__guide-list {
  margin: 16px 0;
  padding-left: 20px;
}
.page-index__guide-list li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
  color: #333;
}
.page-index__guide-inner strong {
  font-weight: 700;
}

/* FAQ */
.page-index__guide-faq {
  margin-bottom: 12px;
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 0 20px;
  border-left: 4px solid #F2C14E;
}
.page-index__guide-faq-title {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #222;
}
.page-index__guide-faq-icon {
  font-size: 1.6rem;
  line-height: 1;
  color: #F2C14E;
  flex-shrink: 0;
}
.page-index__guide-faq-content {
  padding: 0 0 16px;
  margin: 0;
  color: #444444;
  line-height: 1.7;
  font-size: 0.95rem;
}
.page-index__guide-quote {
  font-style: italic;
  background-color: #f9f2e2;
  padding: 20px;
  border-left: 6px solid #F2C14E;
  border-radius: 0 6px 6px 0;
  color: #333;
  margin-top: 28px;
  line-height: 1.7;
}

/* ===== Responsive: Mobile & Tablet (max-width 768px) ===== */
@media (max-width: 768px) {
  .page-index__hero-image {
    aspect-ratio: 2 / 1;
  }
  .page-index__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .page-index__logo-item:nth-child(5),
  .page-index__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-index__logo-item {
    max-width: 100%;
  }
  .page-index__logo-image {
    max-width: 180px;
  }
  .page-index__guide-inner h2 {
    font-size: 1.35rem;
  }
  .page-index__guide-inner h3 {
    font-size: 1.1rem;
  }
  .page-index__guide-figure {
    margin: 20px auto;
    max-width: 100%;
  }
  .page-index__guide-figure img {
    max-width: 100%;
    height: auto;
  }
  .page-index__guide-inner {
    padding: 12px 16px 36px;
  }
  .page-index__logo-cta {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    padding: 10px 14px;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-index__logo-item {
    gap: 10px;
  }
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

/* ===== Responsive: Large Desktop (max-width 1024px) ===== */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-index__logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-index__logo-item {
    max-width: 240px;
  }
}