/* お問い合わせ追加用。既存セクションのスタイルは変更しません。 */
.contact-section {
  position: relative;
  padding-block: 100px;
  color: #102044;
  background: linear-gradient(135deg, #f4f7fd 0%, #fff 62%, #eef3fc 100%);
  border-top: 1px solid #e0e7f2;
  scroll-margin-top: calc(var(--header, 78px) + 20px);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.contact-intro { padding-top: 14px; }
.contact-eyebrow {
  margin: 0 0 18px;
  color: var(--sbi, #073a96);
  font-family: var(--display, sans-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2em;
}
.contact-intro h2 {
  margin: 0 0 25px;
  font-size: clamp(29px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.contact-lead { margin: 0 0 14px; font-size: 16px; line-height: 1.95; }
.contact-note { margin: 0; color: #5c6b83; font-size: 14px; line-height: 1.9; }
.contact-email {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #d5dfed;
}
.contact-email > span { display: block; margin-bottom: 6px; font-size: 13px; color: #5c6b83; }
.contact-email a {
  color: var(--sbi, #073a96);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.contact-form {
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  background: #fff;
  border: 1px solid #e0e7f2;
  border-radius: 16px;
  box-shadow: 0 12px 45px #0c36770a;
}
.contact-required-note { margin: 0 0 26px; color: #5c6b83; font-size: 13px; }
.contact-fields { display: grid; gap: 24px; }
.contact-field { min-width: 0; }
.contact-field > label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: #102044;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.contact-required {
  padding: 2px 7px;
  color: #073a96;
  background: #eef3fc;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  color: #102044;
  background: #fafbfd;
  border: 1px solid #b9c6d9;
  border-radius: 5px;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color .15s, box-shadow .15s;
}
.contact-field select { padding-right: 30px; cursor: pointer; }
.contact-field textarea { min-height: 180px; resize: vertical; }
.contact-field small { display: block; margin-top: 7px; color: #5c6b83; font-size: 12px; line-height: 1.7; }
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid #073a96;
  outline-offset: 3px;
  border-color: #073a96;
}
.contact-section a:focus-visible,
.contact-submit:focus-visible {
  outline: 3px solid #377dda;
  outline-offset: 4px;
}
.contact-form [aria-invalid="true"] { border-color: #b32635; }
.contact-field-error { display: block; margin-top: 7px; color: #a51b2b; font-size: 12px; line-height: 1.7; }
.contact-data-use { margin-top: 27px; padding: 20px; background: #f5f7fb; border-radius: 5px; }
.contact-data-use > p { margin: 0 0 12px; color: #475772; font-size: 13px; line-height: 1.8; }
.contact-consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; line-height: 1.8; }
.contact-consent input {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: var(--sbi, #073a96);
  cursor: pointer;
}
.contact-trap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  min-height: 58px;
  margin-top: 26px;
  padding: 14px 20px;
  color: #fff;
  background: var(--sbi, #073a96);
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.contact-submit:hover:not(:disabled) { background: #052d76; box-shadow: 0 5px 18px #073a9620; }
.contact-submit:disabled { background: #536b94; cursor: default; }
.contact-submit-arrow { font-size: 22px; line-height: 1; }
.contact-status {
  margin-top: 22px;
  padding: 15px 17px;
  color: #244366;
  background: #edf3fa;
  border-left: 3px solid #6083ad;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.contact-status[data-state="error"] { color: #78212d; background: #fff3f4; border-color: #b32635; }
.contact-status[data-state="success"] { color: #17543c; background: #edf8f1; border-color: #2c825c; }
.contact-status:focus { outline: 2px solid #377dda; outline-offset: 3px; }
.contact-status-reference { display: block; margin-top: 6px; font-size: 12px; }
.contact-status a { display: inline-block; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact-noscript { margin: 18px 0 0; color: #78212d; font-size: 14px; line-height: 1.8; }
.contact-section [hidden] { display: none !important; }

/* 新しいお問い合わせリンクを含めてもナビゲーションを収める。 */
@media (min-width: 761px) {
  .site-header { gap: 24px; }
  .site-header .global-nav { min-width: 0; gap: clamp(12px, 1.45vw, 24px); }
}
@media (min-width: 761px) and (max-width: 1200px) {
  .site-header { gap: 18px; }
  .site-header .global-nav { flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
  .site-header .global-nav > a { font-size: 12px; line-height: 1.6; }
  .site-header .global-nav .language-control select { padding-block: 5px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .site-header { gap: 14px; }
  .site-header .global-nav { column-gap: 13px; }
  .site-header .global-nav > a { font-size: 11px; }
}
@media (min-width: 761px) and (max-width: 767px) {
  .site-header > .sp { display: none !important; }
  .site-header .global-nav .language-control.pc { display: block; }
}
@media (max-width: 980px) {
  .contact-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 30px; }
  .contact-section { padding-block: 76px; }
}
@media (max-width: 760px) {
  /* 言語選択の表示重複を省き、スマートフォンでメニューボタンを画面内に収める。 */
  .site-header > .sp .language-control { gap: 0; }
  .site-header > .sp .language-control__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .site-header .menu-button { flex-shrink: 0; }
  .contact-section { padding-block: 64px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .contact-intro { padding-top: 0; }
  .contact-eyebrow { margin-bottom: 12px; font-size: 16px; }
  .contact-intro h2 { margin-bottom: 18px; font-size: 30px; }
  .contact-lead { font-size: 15px; }
  .contact-email { margin-top: 22px; padding-top: 18px; }
  .contact-form { padding: 24px 18px; border-radius: 12px; }
  .contact-fields { gap: 22px; }
  .contact-field > label { font-size: 14px; }
  .contact-data-use { padding: 16px; }
}
@media (max-width: 374px) {
  .site-header .brand { width: 110px; }
  .site-header > .sp .language-control select { min-width: 0; width: 122px; padding-inline: 9px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-form input, .contact-form select, .contact-form textarea, .contact-submit { transition: none; }
}

/* 電話でのお問い合わせ。既存フォームのスタイルはそのまま維持。 */
.contact-phone {
  margin-top: 28px;
  padding: 24px;
  background: #eaf0fb;
  border-radius: 10px;
}
.contact-phone-lead {
  margin: 0;
  color: #102044;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}
.contact-phone-number {
  margin: 12px 0 4px;
  color: var(--sbi, #073a96);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .025em;
  white-space: nowrap;
}
.contact-phone-hours {
  margin: 0 0 16px;
  color: #53617a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}
.contact-phone-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  color: #fff;
  background: var(--sbi, #073a96);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}
.contact-phone-button svg { flex: 0 0 20px; }
.contact-phone-button:hover { color: #fff; background: #052d76; }
@media (max-width: 760px) {
  .contact-phone { margin-top: 24px; padding: 20px; }
}
