.contact-page {
  padding: 0;
  background: transparent;
}

.contact-section {
  width: 100%;
}

.contact-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: calc(100vh - 120px);
}

.contact-left {
  background: #eaf2fb;
}

.contact-right {
  background: #ffffff;
}

.contact-left__inner {
  max-width: 520px;
  margin-left: auto;
  padding: 56px 48px 56px 56px;
}

.contact-main-title {
  margin: 0 0 28px;
  color: #16395d;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.contact-main-title span {
  display: block;
  font-size: 52px;
  white-space: nowrap;
}

.contact-lead-text {
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.8;
  color: #31506f;
}

.contact-guide {
  margin-bottom: 34px;
}

.contact-guide__title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #9eb6d1;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #16395d;
}

.contact-guide__list {
  margin: 0 0 18px;
  padding-left: 1.2em;
}

.contact-guide__list li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #16395d;
}

.contact-guide__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #4d6480;
}

.contact-guide__note a {
  color: #2b66b1;
  text-decoration: underline;
}

.contact-side-box {
  background: #ffffff;
  padding: 26px 24px 22px;
}

.contact-achievement {
  margin-bottom: 20px;
  text-align: center;
}

.contact-achievement__title {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: #16395d;
}

.contact-achievement__sub {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  color: #16395d;
}

.contact-logo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
}

.contact-logo-list span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #7a8797;
  text-align: center;
}

.contact-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-links li {
  border-top: 1px solid #d8e2ef;
}

.contact-links li:last-child {
  border-bottom: 1px solid #d8e2ef;
}

.contact-links a {
  position: relative;
  display: block;
  padding: 12px 18px 12px 18px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
  color: #1e5ca8;
  text-decoration: underline;
}

.contact-links a::before {
  content: "●";
  margin-right: 8px;
  font-size: 10px;
  vertical-align: middle;
}

.contact-form-area {
  max-width: 760px;
  padding: 56px 56px 56px 48px;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #edf1f5;
}

.form-label {
  padding-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
  color: #1e2f45;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid #d98ca1;
  background: #fff4f7;
  font-size: 11px;
  line-height: 1.4;
  color: #c55272;
  vertical-align: middle;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #91afd1;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  color: #23364d;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  appearance: none;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #5d88bc;
}

.form-field--name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.name-col {
  width: 100%;
}

.form-help {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #6c7b8e;
}

.form-small-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #7d8794;
}

.form-error {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 700;
  color: #d63a54;
}

.form-error--top {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #e7a3b1;
  background: #fff5f7;
}

.is-error {
  border-color: #d63a54 !important;
  background: #fffafb !important;
}

.form-row--notice .form-label,
.form-row--recaptcha .form-label,
.form-row--agree .form-label {
  padding-top: 0;
}

.agree-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #23364d;
  cursor: pointer;
}

.agree-check input {
  margin-top: 5px;
}

.agree-check a {
  color: #2b66b1;
  text-decoration: underline;
}

.form-submit {
  padding-top: 28px;
  text-align: center;
}

.form-submit button {
  min-width: 270px;
  min-height: 54px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: #c8cfd8;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.form-submit button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.g-recaptcha {
  transform-origin: left top;
}

@media screen and (max-width: 1200px) {
  .contact-main-title span {
    font-size: 44px;
  }

  .contact-left__inner {
    padding: 48px 32px 48px 40px;
  }

  .contact-form-area {
    padding: 48px 40px 48px 32px;
  }
}

@media screen and (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-left__inner,
  .contact-form-area {
    max-width: 100%;
    padding: 32px 20px;
  }

  .contact-main-title span {
    font-size: 34px;
    white-space: normal;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-label {
    padding-top: 0;
  }

  .form-field--name {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-logo-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-submit button {
    width: 100%;
    min-width: 0;
  }

  .g-recaptcha {
    transform: scale(0.92);
  }
}
