@charset "UTF-8";

/* ===== Variables ===== */
:root {
  --brand-dark:   #1A3C6E;
  --brand-mid:    #1A6FAA;
  --accent:       #2B7FE0;
  --accent-light: #EBF4FF;
  --text-dark:    #0f172a;
  --text-body:    #334155;
  --text-muted:   #94a3b8;
  --border:       #e2e8f0;
  --bg:           #f8fafc;
  --white:        #ffffff;
  --error:        #ef4444;
  --success:      #10b981;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ===== Page ===== */
#_content {
  min-height: calc(100vh - 60px);
  background: var(--bg);
  display: flex;
  align-items: stretch;
}

/* ===== Outer Wrapper ===== */
#_contact-wrap {
  display: flex;
  width: 100%;
  min-height: 100%;
}

/* =====================
   LEFT PANEL
===================== */
#_left-panel {
  position: relative;
  width: 42%;
  flex-shrink: 0;
  background: var(--brand-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Dot grid overlay */
._grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(91, 155, 213, 0.25) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Diagonal light strip */
#_left-panel::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: linear-gradient(135deg, rgba(43, 127, 224, 0.12) 0%, transparent 60%);
  transform: skewX(-8deg);
  pointer-events: none;
}

._left-inner {
  position: relative;
  z-index: 1;
  padding: 64px 48px;
}

._badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 4px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(43, 127, 224, 0.15);
  border: 1px solid rgba(43, 127, 224, 0.35);
  border-radius: 100px;
}

#_left-panel h1 {
  margin: 0 0 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
  letter-spacing: 0.02em;
}

._lead {
  margin: 0 0 40px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
}

._features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

._features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

._icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(43, 127, 224, 0.2);
  border: 1px solid rgba(43, 127, 224, 0.4);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #7ab8f5;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* =====================
   RIGHT PANEL
===================== */
#_right-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 40px;
  background: var(--bg);
}

#_contact {
  width: 100%;
  max-width: 460px;
}

/* ===== Form Inner ===== */
._form-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== Field ===== */
._field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

._field label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

._optional {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  background: var(--border);
  padding: 1px 7px;
  border-radius: 4px;
}

._field input[type=text],
._field input[type=email],
._field textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

._field input[type=text]:focus,
._field input[type=email]:focus,
._field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 127, 224, 0.12);
}

._field input::placeholder,
._field textarea::placeholder {
  color: var(--text-muted);
}

._field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

/* ===== Consent ===== */
._consent {
  padding: 16px;
  background: var(--accent-light);
  border-radius: 8px;
  border: 1px solid rgba(43, 127, 224, 0.2);
}

._consent-text {
  margin: 0 0 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.7;
}

._consent-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

._consent-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  user-select: none;
}

._consent-label input[type=checkbox] {
  display: none;
}

._checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: var(--white);
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s;
}

._consent-label input[type=checkbox]:checked + ._checkbox-custom {
  background: var(--accent);
}

._consent-label input[type=checkbox]:checked + ._checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* ===== Error ===== */
._error {
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: var(--error);
  text-align: center;
}

/* ===== Submit Button ===== */
._submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(43, 127, 224, 0.35);
  letter-spacing: 0.02em;
}

._submit-btn:hover {
  background: #1a6fd4;
  box-shadow: 0 6px 20px rgba(43, 127, 224, 0.45);
  transform: translateY(-1px);
}

._submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(43, 127, 224, 0.3);
}

/* ===== Send Complete ===== */
#_send {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}

._send-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--success);
  color: var(--success);
}

._send-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

._send-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
}

/* =====================
   RESPONSIVE
===================== */
@media screen and (max-width: 900px) {
  #_contact-wrap {
    flex-direction: column;
  }

  #_left-panel {
    width: 100%;
  }

  ._left-inner {
    padding: 48px 32px;
  }

  #_left-panel h1 {
    font-size: 24px;
  }

  #_right-panel {
    padding: 48px 24px;
  }
}

@media screen and (max-width: 500px) {
  ._left-inner {
    padding: 36px 20px;
  }

  #_right-panel {
    padding: 36px 20px;
  }

  #_left-panel h1 {
    font-size: 22px;
  }
}