.inq-page {
  --inq-navy: #0c1424;
  --inq-cobalt: #174bc5;
  color: #182638;
  background: #f9fafc;
}
.inq-layout {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  gap: clamp(34px, 5.5vw, 86px);
  max-width: 1512px;
  padding-block: clamp(40px, 5.6vw, 86px) clamp(52px, 6.8vw, 100px);
  align-items: start;
}
.inq-lead, .inq-content { min-width: 0; }
.inq-lead h1 {
  font-size: clamp(2.5rem, 4.5vw, 5.2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.inq-lead h1 span { display: block; }
.inq-lead h1 span:last-child { color: var(--inq-cobalt); }
html:lang(en) .inq-lead h1 { font-family: var(--font-en); font-size: clamp(3.3rem, 6vw, 6.7rem); letter-spacing: -.025em; line-height: 1.01; }
html:is(:lang(ja), :lang(zh)) .inq-lead h1 { letter-spacing: -.035em; }
.inq-lead > p {
  max-width: 38em;
  margin-top: clamp(17px, 1.8vw, 27px);
  color: #3f4d61;
  font-size: clamp(1.06rem, 1.3vw, 1.27rem);
  line-height: 1.68;
}
.inq-photo { margin-top: clamp(25px, 3.1vw, 48px); }
.inq-photo img {
  width: 100%; height: auto; aspect-ratio: 1.48;
  object-fit: cover; object-position: 50% 52%;
  background: var(--inq-navy);
}
.inq-photo figcaption { margin-top: 10px; color: #536078; font-size: .91rem; }
.inq-content { border-top: 3px solid var(--inq-navy); }
.inq-form { padding-top: clamp(18px, 2.4vw, 34px); }
.inq-form[hidden], .inq-output[hidden] { display: none; }
.inq-form h2, .inq-direct h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  line-height: 1.24;
  letter-spacing: -.03em;
  color: var(--inq-navy);
}
.inq-help, .inq-send-note, .inq-direct p, .inq-status { color: #46566e; font-size: 1rem; line-height: 1.55; }
.inq-help { margin-top: 9px; }
.inq-form fieldset { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.inq-form legend {
  width: 100%; margin-bottom: 13px; padding: 0 0 9px;
  border-bottom: 1px solid #c6cfdf; color: #18458e; font-weight: 750; font-size: 1.05rem;
}
.inq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.inq-wide { grid-column: 1 / -1; }
.inq-field { min-width: 0; }
.inq-field label { display: block; margin-bottom: 5px; font-size: .97rem; font-weight: 650; }
.inq-required { color: var(--inq-cobalt); }
.inq-field :is(input, select, textarea), .inq-output {
  width: 100%; min-width: 0; min-height: 46px;
  border: 1px solid #8d9aaf; border-radius: 3px; background: #fff; color: #16273e;
  font: inherit; font-size: 1rem; line-height: 1.45; padding: .64em .77em;
}
.inq-field select {
  appearance: none; padding-inline-end: 32px;
  background-image: linear-gradient(45deg, transparent 50%, #4b5d75 50%), linear-gradient(135deg, #4b5d75 50%, transparent 50%);
  background-position: calc(100% - 17px) 51%, calc(100% - 12px) 51%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.inq-field textarea, .inq-output { display: block; resize: vertical; }
.inq-field ::placeholder { color: #626f80; opacity: 1; }
.inq-send-note { margin-top: 20px; }
.inq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; }
.inq-actions button {
  min-height: 46px; font: inherit; font-weight: 700; border-radius: 3px; line-height: 1.35; text-align: center;
}
.inq-action { border: 1px solid var(--inq-cobalt); background: var(--inq-cobalt); color: #fff; padding: 10px 21px; }
.inq-action:hover { background: #103da7; }
.inq-copy { border: 0; background: transparent; color: #204e97; padding: 7px 0; text-decoration: underline; text-underline-offset: 4px; }
.inq-status:not(:empty) { margin-top: 12px; color: #244672; }
.inq-output:not([hidden]) { margin-top: 10px; }
.inq-direct { border-top: 1px solid #c6cfdf; margin-top: 32px; padding-top: 23px; }
.inq-form[hidden] + .inq-direct { margin: 0; border: 0; }
.inq-direct h2 { font-size: clamp(1.22rem, 1.55vw, 1.55rem); }
.inq-direct p { margin-top: 7px; }
.inq-email, .inq-online { display: block; width: fit-content; overflow-wrap: anywhere; }
.inq-email { margin-top: 9px; color: var(--inq-cobalt); font-size: clamp(1.2rem, 1.5vw, 1.5rem); font-weight: 750; }
.inq-online { margin-top: 6px; padding-block: 5px; color: #435675; text-decoration: underline; text-underline-offset: 3px; font-size: .94rem; }
.inq-page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #2467bf; outline-offset: 3px; }
@media (max-width: 820px) {
  .inq-layout { grid-template-columns: 1fr; gap: 26px; }
  .inq-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); column-gap: 22px; align-items: start; }
  .inq-lead h1 { font-size: clamp(2.2rem, 4.8vw, 3.25rem); }
  .inq-lead > p { margin-top: 12px; }
  .inq-photo { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .inq-photo img { aspect-ratio: 1.65; }
}
@media (max-width: 560px) {
  .inq-layout { padding-top: 28px; }
  .inq-lead { display: block; }
  .inq-lead > p { font-size: 1rem; }
  .inq-photo { margin-top: 18px; }
  .inq-photo img { max-height: 170px; aspect-ratio: 2.65; }
  .inq-photo figcaption { margin-top: 5px; }
  .inq-fields { grid-template-columns: 1fr; }
  .inq-form fieldset { margin-top: 20px; }
}
@media (forced-colors: active) {
  .inq-field select { appearance: auto; }
  .inq-actions button { border: 1px solid ButtonText; }
}
