/* ===== Contact Page Styles (styles11.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);
}

/* ===== Shared ===== */
.s11-section-icon {
  width: 48px;
  height: 66px;
  flex-shrink: 0;
}

/* ===== FV (Hero) ===== */
.s11-fv {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 581px;
  overflow: hidden;
}
.s11-fv-deco {
  position: absolute;
  right: -100px;
  top: 60px;
  width: 600px;
  height: 460px;
  background: radial-gradient(ellipse at 30% 50%, rgba(117,177,255,0.15) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 40%, rgba(255,117,118,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 50% 70%, rgba(180,130,255,0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.s11-fv-image {
  position: absolute;
  right: 160px;
  top: 175px;
  width: 643px;
  height: 337px;
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(100px);
  animation: s11-slide-in-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
@keyframes s11-slide-in-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.s11-fv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s11-fv-content {
  position: absolute;
  left: 160px;
  top: 175px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 1;
}
.s11-fv-en {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.96px;
  text-transform: capitalize;
  padding-bottom: 10px;
}
.s11-fv-title-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.s11-fv-title-row {
  display: flex;
  align-items: center;
}
.s11-fv-title-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  color: var(--text-primary);
}
.s11-fv-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-primary);
}

/* ===== Form Section ===== */
.s11-form-section {
  background: #fff;
  padding: 60px 320px 120px;
}
.s11-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.s11-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.s11-form-status {
  margin-bottom: 24px;
  border-radius: 12px;
  padding: 16px 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
.s11-form-status.is-error {
  background: rgba(255, 117, 118, 0.12);
  border: 1px solid rgba(255, 117, 118, 0.28);
  color: #8d1c1d;
}
.s11-form-status.is-warning {
  background: rgba(117, 177, 255, 0.1);
  border: 1px solid rgba(117, 177, 255, 0.24);
  color: #204f86;
}

/* ===== Form Fields ===== */
.s11-form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s11-form-helper {
  margin: -2px 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: #999;
}
.s11-form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: var(--text-primary);
}
.s11-required-mark {
  color: #FF7576;
  font-size: 12px;
  line-height: 1;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.s11-form-field.is-filled .s11-required-mark {
  opacity: 0;
  visibility: hidden;
}
.s11-field-error {
  min-height: 20px;
  margin: -2px 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: #FF7576;
}
.s11-form-input,
.s11-form-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #666;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.32px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.s11-form-input {
  height: 56px;
}
.s11-form-textarea {
  height: 200px;
  resize: vertical;
  line-height: 1.6;
}
.s11-form-input::placeholder,
.s11-form-textarea::placeholder {
  color: #999;
}
.s11-form-input:focus,
.s11-form-textarea:focus {
  border-color: #75B1FF;
}
.s11-form-input.is-invalid,
.s11-form-textarea.is-invalid {
  border-color: #FF7576;
  background: rgba(255, 117, 118, 0.08);
}

/* ===== Consent Checkbox ===== */
.s11-form-consent {
  display: flex;
  align-items: center;
  justify-content: center;
}
.s11-consent-label {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  user-select: none;
}
.s11-consent-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.s11-consent-check-icon {
  width: 24px;
  height: 24px;
  border: 2px solid #666;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
  margin-right: 8px;
}
.s11-consent-checkbox:checked + .s11-consent-check-icon {
  background: #FF7576;
  border-color: #FF7576;
}
.s11-consent-checkbox:checked + .s11-consent-check-icon::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.s11-consent-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: var(--text-secondary);
}
.s11-form-consent .s11-field-error {
  text-align: center;
}
.s11-form-consent.is-invalid .s11-consent-check-icon {
  border-color: #FF7576;
  background: rgba(255, 117, 118, 0.08);
}
.s11-form-consent.is-invalid .s11-consent-text {
  color: #8d1c1d;
}
.s11-consent-link {
  color: #00118F;
  text-decoration: none;
}
.s11-consent-link:hover {
  text-decoration: underline;
}

.s11-form-note {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  line-height: 1.8;
  color: #666;
}
.s11-form-note a {
  color: #00118F;
  text-decoration: none;
}
.s11-form-note a:hover {
  text-decoration: underline;
}

/* ===== Submit Button ===== */
.s11-form-submit {
  display: flex;
  justify-content: center;
}
.s11-submit-btn {
  background: #FF7576;
  color: #fff;
  border: none;
  padding: 10px 80px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 32px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  border-radius: 4px;
}
.s11-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 6px 24px 0px rgba(249, 214, 222, 0.6);
}
.s11-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.s11-submit-btn.is-submitting {
  opacity: 0.75;
  pointer-events: none;
}

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

  body { overflow-x: hidden; }

  /* ===== FV ===== */
  .s11-fv {
    height: auto; overflow: hidden;
    display: flex; flex-direction: column;
  }
  .s11-fv-deco { display: none; }
  .s11-fv-content {
    position: relative; left: auto; top: auto;
    padding: 72px 12px 24px; gap: 24px;
    width: 100%; box-sizing: border-box; order: 1;
  }
  .s11-fv-en { font-size: 48px; line-height: 1.1; letter-spacing: 0; }
  .s11-fv-title-group { gap: 0; }
  .s11-fv-title-text { font-size: 20px; }
  .s11-fv-desc { font-size: 15px; white-space: normal; }
  .s11-fv-image {
    position: relative; right: auto; top: auto;
    width: calc(100% - 24px); height: 184px;
    margin: 0 12px; border-radius: 16px;
    opacity: 1; transform: none; animation: none; order: 2;
  }
  .s11-section-icon { width: 48px; height: 66px; }

  /* ===== Form Section ===== */
  .s11-form-section {
    padding: 44px 12px 60px;
  }
  .s11-form-wrapper {
    max-width: 100%;
  }
  .s11-form {
    gap: 20px;
  }
  .s11-form-status {
    margin-bottom: 20px;
    padding: 14px 16px;
  }
  .s11-form-helper { font-size: 12px; }
  .s11-required-mark { font-size: 11px; }
  .s11-field-error { font-size: 11px; }
  .s11-form-label { font-size: 14px; }
  .s11-form-input { height: 48px; font-size: 14px; }
  .s11-form-textarea { height: 180px; font-size: 14px; }
  .s11-consent-text { font-size: 14px; }
  .s11-form-note { font-size: 11px; }
  .s11-submit-btn { font-size: 16px; padding: 10px 60px; }

}
