@charset "utf-8";
/* お問い合わせフォーム・確認・完了画面
 * 編集先の案内: ../CSS_MAINTENANCE.md
 * 各章の順序はカスケードを維持するため固定。日付・改修番号のCSSを追加しない。
 */

/* ===== SECTION 01 | 移行元: contact.css ===== */
:root {
  color-scheme: light;
  --contact-blue: #01508f;
  --contact-ink: #17384b
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: #fff;
  color: var(--contact-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.85
}

a {
  color: var(--contact-blue);
  text-underline-offset: 4px
}

button,
input,
textarea {
  font: inherit
}

button,
a,
input,
textarea,
summary {
  touch-action: manipulation
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #397caf;
  outline-offset: 4px
}

[hidden] {
  display: none !important
}

.contact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4%;
  border-bottom: 1px solid #e4ebef
}

.contact-header img {
  display: block;
  width: 280px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(23%) sepia(78%) saturate(1546%) hue-rotate(175deg) brightness(90%) contrast(104%)
}

.contact-header > a:last-child {
  text-decoration: none;
  white-space: nowrap
}

.contact-main {
  max-width: 900px;
  margin: 48px auto 72px;
  padding-inline: 24px
}

.contact-main h1 {
  font-size: 36px;
  line-height: 1.6;
  margin: 24px 0
}

.contact-main h2 {
  font-size: 27px;
  line-height: 1.65;
  margin: 0 0 22px
}

.contact-lead {
  font-size: 19px;
  line-height: 1.9
}

.contact-preview-notice {
  background: #f0f5f8;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.8
}

.contact-skip,
.contact-other-faq {
  text-align: right;
  font-size: 16px;
  margin: 24px 0
}

.contact-faq {
  background: #f5f9fc;
  border-radius: 10px;
  padding: 28px 30px
}

.contact-faq dl {
  margin: 0
}

.contact-faq dl > div + div {
  border-top: 1px solid #dce6ed;
  padding-top: 22px;
  margin-top: 22px
}

.contact-faq dt {
  position: relative;
  font-weight: 700;
  padding-left: 35px;
  line-height: 1.8
}

.contact-faq dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  color: var(--contact-blue);
  font-size: 20px
}

.contact-faq dd {
  margin: 10px 0 0 35px;
  line-height: 1.9
}

.contact-other-faq {
  margin-bottom: 44px
}

.contact-progress {
  display: flex;
  justify-content: center;
  gap: 38px;
  list-style: none;
  padding: 0;
  margin: 24px 0 38px;
  font-weight: 700;
  color: #7d8b9d
}

.contact-progress li {
  position: relative
}

.contact-progress li + li::before {
  content: "›";
  position: absolute;
  left: -25px;
  color: #8495a5
}

.contact-progress [aria-current] {
  color: var(--contact-blue)
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0
}

.contact-field {
  margin: 0 0 30px
}

.contact-field > label,
.contact-field > legend {
  display: block;
  font-weight: 700;
  margin-bottom: 12px
}

.required {
  display: inline-block;
  background: #fff0de;
  color: #914800;
  font-size: 13px;
  line-height: 1.8;
  padding: 2px 12px;
  border-radius: 5px;
  margin-left: 10px;
  vertical-align: middle
}

.contact-field input:not([type=radio]),
textarea {
  display: block;
  width: 100%;
  border: 1px solid #b7c8d5;
  border-radius: 6px;
  background: #fff;
  color: #17384b;
  padding: 13px 16px;
  min-height: 54px;
  font-size: 17px
}

.contact-field ::placeholder {
  color: #7a8e9f;
  opacity: 1
}

textarea {
  resize: vertical;
  min-height: 170px
}

.contact-category label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 400;
  margin: 8px 0;
  cursor: pointer
}

.contact-category input,
.contact-consent input {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  accent-color: #01508f
}

.contact-privacy {
  margin-top: 6px;
  font-size: 16px
}

.contact-privacy summary {
  color: #01508f;
  text-decoration: underline;
  cursor: pointer
}

.contact-privacy p {
  font-size: 14px;
  background: #f5f9fc;
  padding: 14px
}

.contact-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin: 18px 0 26px
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  width: 100%;
  border: 1px solid var(--contact-blue);
  border-radius: 6px;
  background: var(--contact-blue);
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.6
}

.contact-button:hover {
  background: #003b6b
}

.contact-button:disabled {
  opacity: .55;
  cursor: not-allowed
}

.contact-button.secondary {
  background: #fff;
  color: var(--contact-blue)
}

.contact-button.secondary:hover {
  background: #f1f7fb
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  margin-top: 32px
}

.contact-summary {
  margin: 30px 0
}

.contact-summary > div {
  padding: 22px 0;
  border-bottom: 1px solid #dbe5ec
}

.contact-summary dt {
  font-weight: 700;
  margin-bottom: 10px
}

.contact-summary dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

.contact-member {
  text-align: center;
  font-size: 14px;
  margin-top: 24px
}

.contact-status,
.field-error {
  font-size: 15px;
  line-height: 1.8;
  color: #9b2f16;
  margin: 10px 0
}

.contact-field [aria-invalid=true] {
  border-color: #b34b2a
}

.contact-footer {
  text-align: center;
  border-top: 1px solid #e4ebef;
  padding: 28px 24px;
  font-size: 14px
}

.contact-footer a {
  display: inline-block;
  margin: 0 12px
}

.contact-complete {
  text-align: center
}

.contact-complete .contact-button {
  max-width: 480px;
  margin: 36px auto 24px
}

.contact-success-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf5fc;
  color: #01508f;
  width: 82px;
  height: 82px;
  font-size: 46px;
  margin: 42px auto 28px
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap
}

@media(max-width:600px) {
  body {
    font-size: 17px
  }

  .contact-header {
    gap: 16px;
    padding: 18px 20px
  }

  .contact-header img {
    width: 180px
  }

  .contact-header > a:last-child {
    font-size: 14px;
    white-space: normal;
    text-align: right
  }

  .contact-main {
    margin-top: 28px;
    padding-inline: 22px
  }

  .contact-main h1 {
    font-size: 27px
  }

  .contact-main h2 {
    font-size: 23px
  }

  .contact-lead {
    font-size: 18px
  }

  .contact-faq {
    padding: 24px 18px
  }

  .contact-faq dt {
    padding-left: 27px
  }

  .contact-faq dd {
    margin-left: 27px
  }

  .contact-progress {
    gap: 25px;
    font-size: 14px
  }

  .contact-progress li + li::before {
    left: -17px
  }

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .contact-actions .secondary {
    order: 2
  }

  .contact-field {
    margin-bottom: 27px
  }

  .contact-skip,
  .contact-other-faq {
    font-size: 15px
  }

  .contact-preview-notice {
    font-size: 14px
  }

  .contact-consent {
    align-items: flex-start
  }

  .contact-consent input {
    margin-top: 5px
  }

  .contact-category label {
    align-items: flex-start
  }

  .contact-category input {
    margin-top: 4px
  }

  .contact-button {
    font-size: 18px
  }
}

.contact-main h1 {
  text-wrap: balance
}


/* ===== SECTION 02 | 移行元: contact-20261026c.css ===== */
/* サービス紹介と同じヘッダー。リンクはTOPの各セクションへ。 */
.contact-page .smart-header .brand-tagline {
  font-family: "Noto Sans JP", sans-serif;
}

.contact-page #contactTitle {
  text-align: center;
  margin: 0 0 36px;
  scroll-margin-top: 130px;
}

.contact-page #contactFormTitle {
  display: table;
  width: auto;
  max-width: 100%;
  margin: 44px auto 24px;
  padding: 8px 24px;
  background: #edf3f6;
  border-radius: 5px;
  text-align: center;
  scroll-margin-top: 130px;
}

.contact-page #contactFormTitle[hidden] {
  display: none;
}

.contact-page .contact-main {
  margin-top: 48px;
}

@media(max-width:760px) {
  .contact-page .contact-main {
    margin-top: 32px;
  }

  .contact-page #contactTitle {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .contact-page #contactFormTitle {
    font-size: 23px;
    padding: 8px 20px;
  }
}