.page-contact {
  color: #333333;
  max-width: 100%;
  overflow-x: hidden;
}

.page-contact__hero-section {
  padding-top: 10px;
  margin-top: 0;
}

.page-contact__hero-image-wrapper {
  width: 100%;
}

.page-contact__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1020/300;
  object-fit: cover;
}

.page-contact__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px 0;
  text-align: center;
}

.page-contact__hero-title {
  color: #0477db;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto 8px;
}

.page-contact__hero-description {
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.6;
  font-size: 1.125rem;
}

.page-contact__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-contact__hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #0477db;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-contact__hero-btn:hover {
  background-color: #0261b3;
}

.page-contact__hero-btn--secondary {
  background-color: #EA7C07;
}

.page-contact__hero-btn--secondary:hover {
  background-color: #d86e00;
}

.page-contact__logo-section {
  padding: 32px 16px 16px;
}

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

.page-contact__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
}

.page-contact__logo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: contain;
}

.page-contact__logo-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #0477db;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-contact__logo-cta:hover {
  background-color: #0261b3;
}

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

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

.page-contact__guide-section {
  padding: 32px 0 48px;
}

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

.page-contact__guide-title {
  text-align: center;
  color: #0477db;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.page-contact__guide-item {
  margin-bottom: 40px;
}

.page-contact__guide-figure {
  margin: 0 0 16px;
}

.page-contact__guide-figure img {
  display: block;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto;
}

.page-contact__guide-content {
  font-size: 1rem;
  line-height: 1.7;
}

.page-contact__guide-content h3 {
  color: #0477db;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-contact__guide-content a {
  color: #0477db;
  text-decoration: underline;
}

.page-contact__guide-faq {
  background-color: #f0f8ff;
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0 24px;
}

.page-contact__guide-faq h2 {
  color: #0477db;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-contact__faq-item {
  border-bottom: 1px solid #d0e8f5;
  padding: 12px 0;
}

.page-contact__faq-question {
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-contact__faq-answer {
  margin-top: 8px;
  line-height: 1.6;
}

.page-contact__guide-cta {
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #0477db 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 32px 24px;
  margin-top: 24px;
}

.page-contact__guide-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.page-contact__guide-cta p {
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.page-contact__guide-btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #EA7C07;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-contact__guide-btn:hover {
  background-color: #d86e00;
}

@media (max-width: 1024px) {
  .page-contact__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px;
  }

  .page-contact__hero-image {
    aspect-ratio: 2/1;
  }

  .page-contact__hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-contact__hero-btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    text-align: center;
  }

  .page-contact__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

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

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

  .page-contact__guide-btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    text-align: center;
  }

  .page-contact__guide-faq {
    padding: 16px;
  }

  .page-contact__guide-cta {
    padding: 24px 16px;
  }
}