.page-contact {
  background-color: #0A0A0A; /* Page background, from custom配色 */
  color: #FFF6D6; /* Main text color, from custom配色 */
  font-family: 'Arial', sans-serif; /* Example font */
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* HERO Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit hero image height */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-contact__hero-content {
  position: relative; /* Ensure content is above image filter if any, but not overlaying */
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over the image */
  background: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border color */
}

.page-contact__main-title {
  font-size: 3.2em;
  font-weight: bold;
  color: #FFD36B; /* Glow color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #FFF6D6; /* Main text color */
  margin-bottom: 30px;
}

/* Section common styles */
.page-contact__form-section,
.page-contact__info-section,
.page-contact__faq-section,
.page-contact__benefits-section {
  padding: 80px 0;
  border-top: 1px solid #3A2A12; /* Border color */
}

.page-contact__form-section,
.page-contact__faq-section {
  background-color: #111111; /* Card BG */
}

.page-contact__info-section,
.page-contact__benefits-section {
  background-color: #0A0A0A; /* Page background */
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #FFF6D6; /* Main text color */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-contact__keyword {
  color: #FFD36B; /* Highlight keywords */
  font-weight: bold;
}

/* Contact Form Section */
.page-contact__form-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.page-contact__form-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #3A2A12;
}

.page-contact__contact-form {
  flex: 1;
  min-width: 300px;
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  color: #FFD36B; /* Glow color for labels */
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: #0A0A0A; /* Page background for input fields */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 5px;
  color: #FFF6D6; /* Main text color */
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 246, 214, 0.6); /* Lighter placeholder text */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD36B; /* Glow color on focus */
  outline: none;
  box-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-contact__submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Contact Info Section */
.page-contact__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-contact__info-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-contact__info-card-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-contact__info-card-text {
  color: #FFF6D6; /* Main text color */
  margin-bottom: 20px;
}

.page-contact__info-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__info-button:hover {
  transform: translateY(-2px);
}

.page-contact__support-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-contact__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  object-fit: cover;
}

/* FAQ Section */
.page-contact__faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}

.page-contact__faq-image {
  flex: 1;
  min-width: 300px;
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #3A2A12;
}

.page-contact__faq-item {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Main text color */
}

.page-contact__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFD36B; /* Glow color for question */
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for WebKit */
}

.page-contact__faq-item summary:hover {
  background-color: rgba(255, 211, 107, 0.1); /* Slight hover effect */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color */
}

/* Benefits Section */
.page-contact__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-contact__benefit-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-contact__benefit-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-contact__benefit-text {
  color: #FFF6D6; /* Main text color */
}

.page-contact__cta-wrapper {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-contact__benefits-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  object-fit: cover;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 18px 35px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2.2em;
  }
  .page-contact__form-wrapper,
  .page-contact__faq-list {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__form-image,
  .page-contact__contact-form,
  .page-contact__faq-image,
  .page-contact__faq-item {
    max-width: 100%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 15px;
    line-height: 1.6;
  }
  .page-contact__container {
    padding: 0 15px;
  }
  .page-contact__hero-section {
    padding-bottom: 40px;
  }
  .page-contact__hero-content {
    padding: 30px 15px;
    margin-top: -80px;
  }
  .page-contact__main-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-contact__form-section,
  .page-contact__info-section,
  .page-contact__faq-section,
  .page-contact__benefits-section {
    padding: 60px 0;
  }
  .page-contact__form-image,
  .page-contact__support-image,
  .page-contact__faq-image,
  .page-contact__benefits-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-contact__form-wrapper,
  .page-contact__info-grid,
  .page-contact__faq-list,
  .page-contact__benefits-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Ensure vertical stacking for flex containers */
    gap: 20px !important;
  }
  .page-contact__contact-form,
  .page-contact__info-card,
  .page-contact__faq-item,
  .page-contact__benefit-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__submit-button,
  .page-contact__info-button,
  .page-contact__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-contact__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__submit-button,
  .page-contact__cta-button {
    font-size: 1.1em;
    padding: 12px 20px;
  }
}