/* =========================
   company fv
========================= */

.company-main {
  overflow: hidden;
  background: #ffffff;
}

.company-fv {
  position: relative;
  display: grid;
  min-height: 460px;
  padding: 140px 0 110px;
  place-items: center start;
  overflow: hidden;
  background: #f5f9ff;
}

.company-fv::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.86) 38%,
      rgba(255, 255, 255, 0.48) 68%,
      rgba(255, 255, 255, 0.18) 100%
    ),
    url("../images/company-fv-bg.png") no-repeat center center / cover;
  pointer-events: none;
}

.company-fv-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.company-fv-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.company-fv-title::after {
  display: block;
  width: 86px;
  height: 4px;
  margin-top: 28px;
  content: "";
  background: linear-gradient(90deg, #0253fd, #82b2ff);
  border-radius: 999px;
}

/* =========================
   company info
========================= */

.company-info-section {
  padding: 110px 0 120px;
  background: #ffffff;
}

.company-info-inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.company-info-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.06em;
}

.company-info-table {
  margin-top: 56px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(130, 178, 255, 0.34);
  border-radius: 14px;
  box-shadow: 0 22px 56px rgba(0, 49, 120, 0.07);
}

.company-info-table dl {
  margin: 0;
}

.company-info-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 76px;
  border-bottom: 1px solid rgba(130, 178, 255, 0.28);
}

.company-info-table div:last-child {
  border-bottom: 0;
}

.company-info-table dt,
.company-info-table dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 22px 28px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.company-info-table dt {
  font-weight: 900;
  background: #f5f9ff;
  border-right: 1px solid rgba(130, 178, 255, 0.28);
}

.company-info-table dd {
  font-weight: 700;
}

/* =========================
   contact
========================= */

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0 72px;
  background:
    radial-gradient(circle at 18% 20%, rgba(130, 178, 255, 0.22), transparent 28%),
    radial-gradient(circle at 92% 72%, rgba(2, 83, 253, 0.075), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.contact-section::before {
  position: absolute;
  top: 80px;
  left: -180px;
  width: 520px;
  height: 520px;
  content: "";
  background: rgba(130, 178, 255, 0.12);
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}


.contact-inner {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.contact-form-wrap {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
}

.contact-heading {
  text-align: center;
}

.contact-label {
  margin: 0 0 18px;
  color: var(--blue-2);
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.32em;
}

.contact-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.contact-lead {
  margin: 48px 0 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 2.15;
  letter-spacing: 0.05em;
}

.contact-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 62px;
}

.contact-note {
  min-height: 176px;
  padding: 36px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(130, 178, 255, 0.42);
  border-radius: 28px;
  box-shadow: 0 22px 56px rgba(0, 49, 120, 0.06);
  backdrop-filter: blur(8px);
}

.contact-note-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 22px;
  place-items: center;
  color: var(--blue-2);
}

.contact-note-icon svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-note p {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 2;
  letter-spacing: 0.05em;
}

/* form */

.contact-form-section {
  position: relative;
  overflow: hidden;
  padding: 0 0 140px;
  background:
    radial-gradient(circle at 92% 0%, rgba(2, 83, 253, 0.075), transparent 34%),
    radial-gradient(circle at 80% 68%, rgba(130, 178, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.contact-form-section::before {
  position: absolute;
  left: 8%;
  bottom: 90px;
  width: 180px;
  height: 180px;
  content: "";
  background:
    linear-gradient(135deg, rgba(2, 83, 253, 0.05) 25%, transparent 25%) 0 0 / 24px 24px;
  opacity: 0.7;
  pointer-events: none;
}

.contact-form {
  padding: 56px 58px 48px;
  background: #ffffff;
  border: 1px solid rgba(130, 178, 255, 0.18);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0, 49, 120, 0.08);
}

.contact-form-field + .contact-form-field {
  margin-top: 28px;
}

.contact-form-field label {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.contact-form-field label span {
  margin-left: 4px;
  color: var(--blue-2);
  font-size: 12px;
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  padding: 18px 20px;
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid rgba(130, 178, 255, 0.45);
  border-radius: 12px;
  outline: none;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: rgba(8, 37, 82, 0.34);
}

.contact-form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form-privacy {
  margin-top: 34px;
  padding: 20px 22px;
  background: #f7faff;
  border: 1px solid rgba(130, 178, 255, 0.34);
  border-radius: 12px;
}

.contact-form-privacy label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.contact-form-privacy input {
  margin-top: 0.45em;
}

.contact-form-privacy a {
  color: var(--blue-2);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-submit {
  margin-top: 32px;
  text-align: center;
}

.contact-form-submit button {
  display: inline-grid;
  width: 220px;
  min-height: 58px;
  place-items: center;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: linear-gradient(90deg, #0253fd 0%, #2d73ff 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(2, 83, 253, 0.22);
}

.contact-form-message {
  display: none;
  margin: 28px 0 0;
  color: var(--blue-2);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.04em;
}

.contact-form-message.is-show {
  display: block;
}

@media (max-width: 640px) {
  .company-fv {
    min-height: 340px;
    padding: 96px 0 72px;
  }

  .company-fv::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.86) 48%,
        rgba(255, 255, 255, 0.56) 100%
      ),
      url("../images/company-fv-bg.png") no-repeat center center / cover;
  }

  .company-fv-inner {
    width: min(100% - 28px, 1180px);
  }

  .company-fv-title {
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: 0.06em;
  }

  .company-fv-title::after {
    width: 64px;
    margin-top: 20px;
  }

    .company-info-section {
    padding: 82px 0 90px;
  }

  .company-info-inner {
    width: min(100% - 28px, 920px);
  }

  .company-info-title {
    font-size: 30px;
  }

  .company-info-table {
    margin-top: 42px;
    border-radius: 12px;
  }

  .company-info-table div {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .company-info-table dt,
  .company-info-table dd {
    padding: 16px 18px;
    font-size: 14px;
  }

  .company-info-table dt {
    border-right: 0;
    border-bottom: 1px solid rgba(130, 178, 255, 0.22);
  }
  .contact-section {
    padding: 82px 0 48px;
  }

  .contact-inner,
  .contact-form-wrap {
    width: min(100% - 28px, 1080px);
  }

  .contact-label {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .contact-title {
    font-size: 36px;
  }

  .contact-lead {
    margin-top: 34px;
    font-size: 14px;
    line-height: 2;
  }

  .contact-lead br {
    display: none;
  }

  .contact-notes {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 42px;
  }

  .contact-note p {
    font-size: 14.5px;
  }

  .contact-form-section {
    padding-bottom: 92px;
  }

  .contact-form {
    padding: 32px 22px;
    border-radius: 24px;
  }

  .contact-form-field + .contact-form-field {
    margin-top: 24px;
  }

  .contact-form-field input,
  .contact-form-field textarea {
    padding: 16px;
    font-size: 14px;
  }

  .contact-form-field textarea {
    min-height: 150px;
  }

  .contact-form-privacy {
    padding: 16px;
  }

  .contact-form-privacy label {
    font-size: 12px;
  }

  .contact-form-submit button {
    width: 100%;
    min-height: 56px;
  }
}