/* ===== Contact Thanks Page Styles (styles12.css) ===== */

/* ===== Header Dropdown (shared) ===== */
.header-dropdown-wrap {
  position: relative;
}
.header-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, rgba(251,233,237,0.5), rgba(234,244,255,0.5));
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 0 rgba(255,255,255,0.5) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  z-index: 100;
}
.header-dropdown.open {
  max-height: 200px;
  opacity: 1;
}
.header-dropdown-item {
  padding: 12px 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-dropdown-item:hover {
  background: rgba(117,177,255,0.12);
}
.header-nav-item .dropdown-icon {
  transition: transform 0.3s;
}
.header-nav-item.dropdown-open .dropdown-icon {
  transform: rotate(180deg);
}

/* ===== FV (Hero Banner) ===== */
.s12-fv {
  width: 100%;
  height: 400px;
  background: linear-gradient(90deg, #75B1FF 0%, #FF7576 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 109px;
}
.s12-fv-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

/* ===== Thank You Message ===== */
.s12-message {
  max-width: 1440px;
  margin: 0 auto;
  padding: 88px 255px 88px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.s12-message-heading {
  width: 914px;
  border-bottom: 2px solid #75B1FF;
  padding-bottom: 16px;
  text-align: center;
}
.s12-message-heading h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.96px;
  color: var(--text-primary);
  margin: 0;
}
.s12-message-body {
  width: 914px;
}
.s12-message-body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.64px;
  color: var(--text-secondary);
  margin: 0;
}
.s12-message-body p + p {
  margin-top: 28px;
}

/* ============================================= */
/* ===== SP Responsive (max-width: 767px) ===== */
/* ============================================= */
@media (max-width: 767px) {

  body { overflow-x: hidden; }

  /* ===== FV Banner ===== */
  .s12-fv {
    height: 300px;
    padding-top: 60px;
  }
  .s12-fv-title {
    font-size: 28px;
  }

  /* ===== Message ===== */
  .s12-message {
    padding: 44px 12px 44px;
  }
  .s12-message-heading {
    width: 100%;
  }
  .s12-message-heading h2 {
    font-size: 20px;
  }
  .s12-message-body {
    width: 100%;
  }
  .s12-message-body p {
    font-size: 14px;
  }

}
