:root {
  --header-offset: 80px;
}

body {
  padding-top: var(--header-offset);
}

.page-index {
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #F4F7FB;
}

/* Hero */
.page-index__hero-section {
  padding-top: 0;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
  background: #F4F7FB;
}

.page-index__hero-container {
  width: 100%;
}

.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 / 7;
  border: none;
  outline: none;
}

/* 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;
  background: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(165, 196, 255, 0.4);
}

.page-index__logo-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.page-index__logo-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-index__logo-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.5);
}

.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: #ffffff;
  border-top: 1px solid #D6E2FF;
}

.page-index__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.page-index__guide-title {
  text-align: center;
  color: #2F6BFF;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 12px 0 20px;
  letter-spacing: -0.5px;
}

.page-index__guide-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1F2D3D;
  max-width: 850px;
  margin: 0 auto 32px;
}

.page-index__guide-intro a {
  color: #2F6BFF;
  font-weight: 700;
}

.page-index__guide-inner h2 {
  color: #2F6BFF;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

.page-index__guide-inner h3 {
  color: #1F2D3D;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-index__guide-inner p {
  line-height: 1.8;
  color: #1F2D3D;
  margin-bottom: 16px;
}

.page-index__guide-inner ul,
.page-index__guide-inner ol {
  margin-left: 20px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.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: 10px;
  box-shadow: 0 4px 16px rgba(165, 196, 255, 0.3);
}

.page-index__guide-figure figcaption {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 8px;
}

.page-index__faq-item {
  background: #F4F7FB;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.page-index__faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #1F2D3D;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-index__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-index__faq-item[open] {
  background: #eef4ff;
}

.page-index__faq-item p {
  margin-top: 12px;
  padding-left: 24px;
}

.page-index__guide-inner a {
  color: #2F6BFF;
  text-decoration: underline;
  font-weight: 600;
}

/* Mobile */
@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__guide-inner {
    padding: 12px 12px 32px;
  }

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

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

  .page-index {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-index__logo-cta {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-index__logo-item {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-index__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .page-index__logo-cta {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}