.page-index {
  font-family: inherit;
  color: #333333;
  overflow-x: hidden;
}

.page-index__hero-section {
  width: 100%;
  padding-top: 0;
  margin-top: 0;
}

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

.page-index__hero-link {
  display: block;
  width: 100%;
}

.page-index__hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
}

.page-index__logo-grid-section {
  max-width: 1200px;
  margin: 24px auto 32px;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: center;
  gap: 24px 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.page-index__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 260px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-index__logo-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-index__logo-item:hover .page-index__logo-image {
  transform: scale(1.02);
}

.page-index__logo-cta {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  background: #0477db;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  box-shadow: 0 6px 16px rgba(4, 119, 219, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__logo-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(4, 119, 219, 0.45);
  color: #ffffff;
}

.page-index__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-index__logo-item:nth-child(6) {
  grid-column: 3;
}

.page-index__guide-section {
  background: var(--bg-light, #F5F7FA);
  border-top: 2px solid #E0E0E0;
}

.page-index__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 16px 56px;
  box-sizing: border-box;
}

.page-index__guide-title {
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  color: #E53935;
  margin: 12px 0;
  max-width: 100%;
  letter-spacing: -0.02em;
}

.page-index__guide-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
  margin: 0 0 8px;
}

.page-index__guide-intro a,
.page-index__inline-link {
  color: #E53935;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  word-break: break-word;
}

.page-index__guide-intro a:hover,
.page-index__inline-link:hover {
  color: #c72e2a;
}

.page-index__guide-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0477db;
  margin: 40px 0 12px;
  border-left: 5px solid #E53935;
  padding-left: 15px;
  word-break: break-word;
}

.page-index__guide-section h3 {
  font-size: 1.3rem;
  font-weight: 650;
  color: #444444;
  margin: 26px 0 8px;
  word-break: break-word;
}

.page-index__guide-section p,
.page-index__guide-answer,
.page-index__faq-item li {
  line-height: 1.8;
  font-size: 1.05rem;
  text-align: justify;
  margin: 0 0 16px;
}

.page-index__guide-section ul,
.page-index__guide-section ol {
  padding-left: 1.6rem;
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333333;
}

.page-index__guide-section li {
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

.page-index__step-link {
  color: #E53935;
  font-weight: 700;
  text-decoration: none;
}

.page-index__step-link:hover {
  text-decoration: underline;
  color: #0477db;
}

.page-index__guide-figure {
  margin: 28px auto;
  max-width: 800px;
  text-align: center;
}

.page-index__guide-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #E0E0E0;
}

.page-index__guide-figure figcaption {
  font-style: italic;
  font-size: 0.95rem;
  color: #666666;
  margin-top: 10px;
  text-align: center;
  padding: 0 10px;
}

.page-index__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 0 22px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  width: 100%;
}

.page-index__faq-item:hover {
  border-color: #E53935;
}

.page-index__faq-question {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 20px 0 20px 0;
  color: #222222;
  font-size: 1.1rem;
  display: block;
  line-height: 1.4;
  position: relative;
  user-select: none;
}

.page-index__faq-question::-webkit-details-marker,
.page-index__faq-question::-marker {
  display: none;
}

.page-index__faq-item[open] {
  border-color: #E53935;
}

.page-index__faq-toggle {
  display: inline-block;
  vertical-align: middle;
  font-weight: 700;
  color: #E53935;
  margin-right: 8px;
  font-size: 1.4rem;
  line-height: 1;
  width: 22px;
  height: 22px;
  text-align: center;
  flex-shrink: 0;
}

.page-index__faq-answer {
  padding-bottom: 18px;
  border-top: 1px dashed #d0d0d0;
  padding-top: 16px;
  margin: 0;
}

.page-index__guide-section blockquote.page-index__guide-quote {
  border-left: 5px solid #E53935;
  background: #FFF0F0;
  margin: 32px 0 0;
  padding: 18px 24px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #555555;
}

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

  .page-index__logo-item {
    max-width: 220px;
  }

  .page-index__guide-inner {
    max-width: 95%;
  }

  .page-index__guide-section h2 {
    font-size: 1.5rem;
  }
}

@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;
    padding: 0 10px;
  }

  .page-index__logo-item:nth-child(5),
  .page-index__logo-item:nth-child(6) {
    grid-column: auto;
  }

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

  .page-index__logo-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  .page-index__logo-cta {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    font-size: 90%;
    white-space: normal;
    word-break: break-word;
    padding: 12px 10px;
    line-height: 1.2;
  }

  .page-index__logo-grid-section {
    padding: 0 8px;
  }

  .page-index__guide-inner {
    max-width: 100%;
    padding: 12px 12px 44px;
    box-sizing: border-box;
  }

  .page-index__guide-title {
    text-align: center;
    font-size: 1.35rem;
    line-height: 1.4;
    margin: 8px 0 16px;
  }

  .page-index__guide-section h2 {
    font-size: 1.3rem;
    margin: 28px 0 10px;
  }

  .page-index__guide-section h3 {
    font-size: 1.1rem;
  }

  .page-index__guide-section p,
  .page-index__guide-section ul,
  .page-index__guide-section ol, .page-index__faq-item {
    font-size: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-index__guide-figure {
    max-width: 100%;
    margin: 22px 0;
    box-sizing: border-box;
  }

  .page-index__guide-figure img {
    max-width: 100% !important;
    height: auto !important;
    width: 100%;
    box-sizing: border-box;
  }

  .page-index__guide-figure figcaption {
    font-size: 0.9rem;
    text-align: center;
  }

  .page-index__guide-title,
  .page-index__guide-section h2,
  .page-index__guide-section h3,
  .page-index__guide-section p,
  .page-index__guide-section ul,
  .page-index__guide-section ol,
  .page-index__guide-section blockquote,
  .page-index__faq-question,
  .page-index__faq-answer {
    overflow-wrap: break-word;
  }

  .page-index__guide-figure img,
  .page-index__logo-image {
    height: auto;
    max-width: 100%;
    width: auto;
    width: 100%;
  }

  .page-index__guide-figure img,
  .page-index__logo-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100%;
  }

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

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

  .page-index__logo-cta {
    font-size: 95%;
    width: 90%;
  }

  .page-index__guide-title {
    font-size: 1.2rem;
    text-align: center;
  }
}