/* ==========================================================================
   お問い合わせページ
   ========================================================================== */

/* --------------------------------------------------------------------------
   ヒーロー：装飾の番号（01 / PRODUCT）は表示しない
   -------------------------------------------------------------------------- */
.hero-editorial .editorial-head {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 520px) {
  .hero-editorial .editorial-head {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   ヒーロー：見出し下のラベル
   -------------------------------------------------------------------------- */
.hero-editorial .product-under-title {
  color: #aacbd7;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: clamp(10px, 1.15vw, 16px);
  letter-spacing: .52em;
  line-height: 1.3;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   ヒーロー：ラベルの色
   -------------------------------------------------------------------------- */
.hero-editorial .eyebrow,
.hero-editorial .product-under-title {
  color: #0092cb;
}

.hero-editorial .editorial-head {
  display: block;
}

.hero-editorial h1 {
  font-size: clamp(32px, 5.1vw, 70px);
  letter-spacing: -.045em;
  white-space: normal;
}

.hero-editorial .editorial-baseline {
  display: none;
}

@media (max-width: 520px) {
  .hero-editorial h1 {
    font-size: clamp(30px, 8vw, 44px);
  }
}

/* --------------------------------------------------------------------------
   ヒーロー：レイアウト
   -------------------------------------------------------------------------- */
.privacy-hero .hero-editorial-inner {
  position: relative;
  isolation: isolate;
}

.privacy-hero .editorial-head {
  display: block;
  position: relative;
  z-index: 2;
  padding-bottom: 18px;
}

.privacy-hero .editorial-title-group {
  max-width: 850px;
}

.privacy-hero h1 {
  font-size: clamp(34px, 4.75vw, 68px);
  line-height: 1.13;
  letter-spacing: -.045em;
  white-space: normal;
}

.privacy-hero .editorial-baseline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  position: relative;
  z-index: 2;
  padding-top: 18px;
}

.privacy-hero .editorial-note {
  max-width: 730px;
}

.privacy-hero .editorial-note b {
  color: #fff;
  font-size: clamp(16px, 1.3vw, 19px);
}

.privacy-hero .editorial-note span {
  color: #deecf6;
  font-size: 15px;
}

.privacy-hero .editorial-stamp {
  flex: 0 0 auto;
  margin-left: auto;
}

.privacy-hero .editorial-stamp strong {
  color: #fff;
  font-size: clamp(30px, 3vw, 45px);
}

.privacy-hero .editorial-stamp span,
.privacy-hero .editorial-stamp small {
  color: #a9d3eb;
}

.privacy-hero .privacy-symbol {
  pointer-events: none;
  position: absolute;
  right: clamp(0px, 1vw, 25px);
  top: 0;
  width: clamp(260px, 31vw, 465px);
  height: 260px;
  opacity: .78;
  z-index: -1;
}

.privacy-hero .privacy-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 950px) {
  .privacy-hero .privacy-symbol {
    width: 280px;
    opacity: .40;
    right: -10px;
    top: 5px;
  }

  .privacy-hero .editorial-stamp {
    display: none;
  }
}

@media (max-width: 600px) {
  .privacy-hero h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .privacy-hero .privacy-symbol {
    width: 205px;
    opacity: .17;
    right: -40px;
    top: 20px;
  }

  .privacy-hero .editorial-note span {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   セクション見出し
   -------------------------------------------------------------------------- */
.company-section-heading {
  margin: 0 0 30px;
}

.company-section-heading > span {
  display: block;
  color: #0092cb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  margin-bottom: 10px;
}

.company-section-heading h2 {
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.4;
  font-weight: 800;
  color: #06345e;
  margin: 0;
  padding-left: 20px;
  border-left: 4px solid #f4a400;
}

/* --------------------------------------------------------------------------
   お問い合わせフォーム
   -------------------------------------------------------------------------- */
.contact-content {
  padding: 76px 0 106px;
  background: linear-gradient(180deg, #fff, #f8fbfe);
}

.contact-main-wrap {
  max-width: var(--max);
}

.contact-heading {
  margin: 0 0 16px;
}

.contact-intro {
  font-size: 16px;
  line-height: 1.95;
  color: #4d6680;
  margin: 0 0 43px;
}

.contact-form {
  border-top: 2px solid #0c7fab;
  max-width: 1130px;
}

.form-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  padding: 24px 28px;
  border-bottom: 1px solid #d9e7ef;
  align-items: start;
  background: #fff;
}

.form-row:nth-of-type(even) {
  background: #f3f9fd;
}

.form-row > label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: #103f64;
  padding-top: 12px;
}

.required,
.optional {
  display: inline-block;
  vertical-align: middle;
  margin-left: 11px;
  font-size: 12px;
  line-height: 1.5;
  padding: 3px 9px;
  border-radius: 3px;
  font-weight: 700;
}

.required {
  color: #fff;
  background: #057db2;
}

.optional {
  color: #4d6c80;
  background: #e2edf4;
}

.form-field {
  min-width: 0;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  border: 1px solid #b8ccda;
  border-radius: 5px;
  background: #fff;
  color: #173b59;
  padding: 13px 16px;
  line-height: 1.7;
  transition: border-color .15s, box-shadow .15s;
}

.form-field select {
  cursor: pointer;
  min-height: 54px;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8397a8;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #008ec6;
  outline: 2px solid #008ec633;
  outline-offset: 1px;
}

.form-bottom {
  padding: 28px 0 0;
  text-align: center;
}

.privacy-caption {
  font-size: 15px;
  line-height: 1.9;
  color: #4c6680;
  margin: 0 0 28px;
}

.privacy-caption a {
  color: #006fa8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  min-width: 295px;
  padding: 17px 28px;
  border: 0;
  border-radius: 50px;
  background: #007db4;
  color: white;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s;
}

.contact-submit:hover {
  background: #005e8a;
}

.contact-submit svg {
  width: 18px;
  height: 18px;
  color: #ffbc2e;
  flex: none;
}

.submit-note {
  font-size: 14px;
  color: #667f93;
  line-height: 1.75;
  margin: 17px 0 0;
}

.form-honeypot {
  position: absolute;
  left: -99999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-hero .privacy-symbol {
  opacity: .78;
}

@media (max-width: 800px) {
  .form-row {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 620px) {
  .contact-content {
    padding: 49px 0 74px;
  }

  .contact-intro {
    margin-bottom: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 17px 12px;
  }

  .form-row > label {
    padding-top: 0;
  }

  .required,
  .optional {
    margin-left: 8px;
  }

  .contact-submit {
    min-width: min(100%, 295px);
  }

  .contact-hero .privacy-symbol {
    opacity: .18;
  }
}

/* --------------------------------------------------------------------------
   送信エラー
   ページ内リンク（#contact-error）で移動したとき、固定ヘッダーに隠れないよう
   ほかのページと同じ余白を空ける。
   -------------------------------------------------------------------------- */
.contact-error {
  max-width: 1130px;
  margin: 0 0 30px;
  padding: 20px 24px;
  border: 1px solid #efc4c4;
  border-left: 4px solid #c8373b;
  background: #fff6f6;
  color: #8a2328;
  font-size: 16px;
  line-height: 1.8;
  scroll-margin-top: 105px;
}

.contact-error:focus {
  outline: none;
}

.contact-error p {
  margin: 0 0 6px;
  font-weight: 700;
}

.contact-error ul {
  margin: 0;
  padding-left: 1.4em;
}

@media (max-width: 700px) {
  .contact-error {
    padding: 16px 18px;
    scroll-margin-top: 150px;
  }
}
