/* Fixed frame of landing pages: top bar, inquiry form, footer.
   The authored body lives in a Shadow DOM and is styled by its own CSS. */
:root {
  --landing-navy: #002045;
  --landing-text: #1f2328;
  --landing-muted: #5a5f66;
  --landing-line: #e3e5e8;
  --landing-error: #ba1a1a;
}

body.landing {
  margin: 0;
  background: #fff;
  color: var(--landing-text);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

/* Header and footer follow the 国内向け LP mock (lp/…_20261125.html). */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--landing-line);
}
.landing-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.landing-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.landing-logo img { height: 26px; width: auto; }
.landing-brand-word { font-weight: 600; font-size: 16px; line-height: 1.3; letter-spacing: .1em; color: var(--landing-navy); white-space: nowrap; }
.landing-header__actions { display: flex; align-items: center; gap: 32px; }
.landing-nav { display: flex; align-items: center; gap: 32px; }
.landing-nav-link { font-size: 15px; font-weight: 700; color: var(--landing-navy); text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
.landing-nav-link:hover { color: #9c5225; }
.landing-lang { display: flex; gap: 0.25rem; font-size: 0.75rem; font-weight: 700; }
.landing-lang a { padding: 0.125rem 0.5rem; border-radius: 0.25rem; color: var(--landing-muted); text-decoration: none; }
.landing-lang a[aria-current="true"] { background: var(--landing-navy); color: #fff; }
.landing-contact-link {
  display: inline-flex;
  align-items: center;
  background: var(--landing-navy);
  color: #fff;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.landing-contact-link:hover { background: rgb(0 32 69 / 0.86); }
@media (max-width: 1100px) {
  .landing-nav { display: none; }
}
@media (max-width: 900px) {
  .landing-header__inner { height: 64px; gap: 12px; padding: 0 20px; }
  .landing-logo { gap: 8px; }
  .landing-logo img { height: 22px; }
  .landing-brand-word { font-weight: 700; font-size: 14px; letter-spacing: .04em; }
  .landing-header__actions { gap: 12px; }
  .landing-contact-link { padding: 9px 16px; font-size: 14px; letter-spacing: .04em; }
}
@media (max-width: 600px) {
  .landing-brand-word { display: none; }
  .landing-lang { display: none; }
}
@media (max-width: 374px) {
  .landing-header__inner { padding: 0 16px; }
  .landing-contact-link { padding: 8px 12px; }
}

.landing-body { display: block; }

/* Inquiry form: full-width dark band so it stands apart from any authored body. */
/* Consultation booking / document request section (landing_pages/_apply),
   ported from the 国内向け LP mock. Light DOM, under the authored body. */
.landing-apply {
  --apply-navy: var(--landing-navy);
  --apply-tint: rgb(0 32 69 / 0.08);
  --apply-tline: rgb(0 32 69 / 0.16);
  --apply-mute: #9ca1a8;
  --apply-on-dark-error: #ffb4ab;
  padding: 40px 0 64px;
  background: rgb(156 82 37 / 0.09);
  scroll-margin-top: 72px;
}
.landing-apply__box { margin: 0 40px; border-radius: 24px; background: var(--apply-navy); padding: 72px 56px 64px; }
.landing-apply__box > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.landing-apply__intro { text-align: center; margin-bottom: 32px; }
.landing-apply__intro h2 { color: #fff; font-size: 36px; line-height: 1.45; font-weight: 900; letter-spacing: .04em; margin: 0; }
.landing-apply__intro p { font-size: 15px; line-height: 1.8; color: rgb(255 255 255 / 0.82); margin: 14px 0 0; }
.landing-apply__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 680px; margin-bottom: 20px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / 0.1); }
.landing-apply__tab { display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; background: transparent; padding: 14px 16px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: rgb(255 255 255 / 0.88); cursor: pointer; }
.landing-apply__tab[aria-selected="true"] { background: #fff; color: var(--apply-navy); }
.landing-apply__tab:focus-visible { outline: 2px solid #8fb4e8; outline-offset: 2px; }
.landing-apply__icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.landing-apply__panel { background: #fff; border-radius: 16px; overflow: hidden; }
.landing-apply__panel[hidden] { display: none; }
.landing-apply__layout { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
.landing-apply__info { background: var(--apply-tint); padding: 40px 36px; }
.landing-apply__info h3 { font-size: 20px; font-weight: 900; line-height: 1.6; color: var(--apply-navy); margin: 0 0 12px; }
.landing-apply__prep { font-size: 15px; line-height: 1.9; color: var(--landing-muted); margin: 0 0 20px; }
.landing-apply__info dl { display: grid; gap: 8px; margin: 0; }
.landing-apply__term { border-radius: 8px; background: #fff; padding: 12px 16px; font-size: 15px; line-height: 1.6; }
.landing-apply__term dt { font-size: 14px; color: var(--landing-muted); }
.landing-apply__term dd { margin: 2px 0 0; font-weight: 700; color: var(--apply-navy); }
.landing-apply__note { font-size: 14px; line-height: 1.8; color: var(--landing-muted); margin: 16px 0 0; }
.landing-apply__document { margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--apply-tline); }
.landing-apply__icon--box { box-sizing: content-box; width: 24px; height: 24px; padding: 10px; border-radius: 10px; background: var(--apply-navy); color: #fff; margin-bottom: 14px; }
.landing-apply__document-title { font-size: 18px; font-weight: 900; line-height: 1.6; margin-bottom: 6px; color: var(--apply-navy); }
.landing-apply__document p { font-size: 15px; line-height: 1.9; color: var(--landing-muted); margin: 0; }
.landing-apply__contents { margin: 12px 0 0; padding: 0; list-style: none; line-height: 1.8; }
.landing-apply__contents li { position: relative; padding-left: 1em; }
.landing-apply__contents li::before { content: "・"; position: absolute; left: 0; }
.landing-apply__main { padding: 40px 44px 44px; }
.landing-apply__picker { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; padding-bottom: 32px; margin-bottom: 28px; border-bottom: 1px solid var(--landing-line); }
.landing-apply__calendar-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.landing-apply__calendar-header h3 { font-size: 19px; font-weight: 600; letter-spacing: .04em; color: var(--apply-navy); margin: 0; }
.landing-apply__month-button { width: 40px; height: 40px; background: #fff; border: 1px solid var(--landing-line); border-radius: 50%; line-height: 1; color: var(--apply-navy); font-size: 18px; cursor: pointer; }
.landing-apply__month-button:hover:not(:disabled) { border-color: var(--apply-navy); }
.landing-apply__month-button:disabled { color: var(--apply-mute); cursor: default; }
.landing-apply__week, .landing-apply__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.landing-apply__week span { text-align: center; font-size: 14px; line-height: 1.6; color: var(--landing-muted); padding: 6px 0; border-bottom: 1px solid var(--landing-line); margin-bottom: 6px; }
.landing-apply-day { width: 100%; aspect-ratio: 1; min-height: 36px; padding: 0; background: #fff; border: 1px solid var(--landing-line); border-radius: 8px; line-height: 1; font: inherit; font-size: 15px; font-weight: 600; color: var(--apply-navy); cursor: pointer; }
.landing-apply-day:disabled { border-color: transparent; background: transparent; color: var(--apply-mute); cursor: default; }
.landing-apply-day:not(:disabled):hover { border-color: var(--apply-navy); }
.landing-apply-day[aria-pressed="true"] { background: var(--apply-navy); border-color: var(--apply-navy); color: #fff; }
.landing-apply__caption { font-size: 14px; line-height: 1.7; color: var(--landing-muted); margin: 12px 0 0; }
.landing-apply__times-heading { font-size: 17px; font-weight: 700; line-height: 1.6; margin: 0 0 14px; color: var(--apply-navy); }
.landing-apply__times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.landing-apply-time { background: #fff; border: 1px solid var(--landing-line); border-radius: 999px; padding: 11px 0; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--apply-navy); cursor: pointer; }
.landing-apply-time:disabled { background: #fafaf9; color: var(--apply-mute); cursor: default; }
.landing-apply-time:not(:disabled):hover { border-color: var(--apply-navy); }
.landing-apply-time[aria-pressed="true"] { background: var(--apply-navy); border-color: var(--apply-navy); color: #fff; }
.landing-apply__selected { font-size: 14px; line-height: 1.7; color: var(--landing-muted); margin: 14px 0 0; }
.landing-apply__form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.landing-apply__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.landing-apply__field--full { grid-column: 1 / -1; }
.landing-apply__field label { display: block; font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--apply-navy); }
.landing-apply__field input { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; border: 1px solid var(--apply-tline); border-radius: 8px; padding: 13px 14px; font: inherit; font-size: 16px; background: #fff; color: var(--landing-text); }
.landing-apply__field input:focus { outline: 2px solid #8fb4e8; outline-offset: 1px; border-color: var(--apply-navy); }
.landing-apply .landing-required { color: var(--landing-error); font-size: 11px; font-weight: 400; margin-left: 4px; }
.landing-apply__error { display: block; color: var(--landing-error); font-size: 12px; line-height: 1.4; margin-top: 4px; }
.landing-apply__error:empty { display: none; }
.landing-apply__consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; font-size: 14px; line-height: 1.7; color: var(--landing-muted); }
.landing-apply__consent input { margin: 5px 0 0; }
.landing-apply__consent a { color: inherit; text-decoration: underline; }
.landing-apply__failed { margin: 16px 0 0; border-radius: 8px; background: rgb(186 26 26 / 0.06); border-left: 3px solid var(--landing-error); padding: 12px 16px; font-size: 14px; line-height: 1.7; color: var(--landing-error); }
.landing-apply__failed[hidden] { display: none; }
.landing-apply__submit { display: inline-flex; align-items: center; gap: 18px; margin-top: 26px; background: var(--apply-navy); color: #fff; border: 0; border-radius: 999px; padding: 14px 14px 14px 32px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.4; letter-spacing: .06em; cursor: pointer; }
.landing-apply__submit:hover:not(:disabled) { background: rgb(0 32 69 / 0.86); }
.landing-apply__submit:focus-visible { outline: 2px solid #8fb4e8; outline-offset: 2px; }
.landing-apply__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.landing-apply__arrow { box-sizing: content-box; width: 16px; height: 16px; padding: 8px; border-radius: 50%; background: #fff; color: var(--apply-navy); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) {
  .landing-apply__box { padding: 64px 40px 56px; }
  .landing-apply__main { padding: 36px 32px; }
  .landing-apply__info { padding: 36px 28px; }
  .landing-apply__picker { gap: 32px; }
}
@media (max-width: 900px) {
  .landing-apply { padding: 24px 0 48px; }
  .landing-apply__box { margin: 0 16px; padding: 48px 20px 24px; }
  .landing-apply__intro h2 { font-size: 28px; line-height: 1.5; }
  .landing-apply__layout { grid-template-columns: minmax(0, 1fr); }
  .landing-apply__info { padding: 28px 24px; }
  .landing-apply__main { padding: 28px 24px 32px; }
  .landing-apply__picker { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .landing-apply__times { grid-template-columns: repeat(3, 1fr); }
  .landing-apply__fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .landing-apply__tabs { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-radius: 20px; }
  .landing-apply__tab { font-size: 14px; padding: 10px 6px; gap: 6px; border-radius: 16px; }
  .landing-apply__tab .landing-apply__icon { display: none; }
  .landing-apply__info { padding: 24px 20px; }
  .landing-apply__main { padding: 24px 20px 28px; }
  .landing-apply__submit { width: 100%; justify-content: center; }
}
@media (max-width: 374px) {
  .landing-apply__intro h2 { font-size: 24px; }
  .landing-apply__box { margin: 0 12px; padding: 44px 14px 18px; }
  .landing-apply__info { padding: 22px 16px; }
  .landing-apply__main { padding: 22px 16px 26px; }
}

.landing-thanks {
  width: min(26rem, calc(100vw - 2rem));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0.375rem;
  background: #fff;
  color: var(--landing-text);
  box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 0.3);
}
.landing-thanks::backdrop { background: rgb(0 16 36 / 0.65); }
.landing-thanks__box { padding: 1.75rem 1.5rem 1.5rem; text-align: center; }
.landing-thanks__icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  padding: 0.5rem;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--landing-navy);
  color: #fff;
}
.landing-thanks h3 { color: var(--landing-navy); font-size: 1.125rem; line-height: 1.4; margin: 0 0 0.5rem; }
.landing-thanks p { color: var(--landing-muted); margin: 0 0 1.25rem; }
.landing-thanks__close {
  background: var(--landing-navy);
  color: #fff;
  border: 0;
  border-radius: 0.1875rem;
  padding: 0.5rem 2rem;
  min-width: 9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.landing-thanks__close:hover { background: #0a3365; }
.landing-thanks__close:focus-visible { outline: 2px solid #8fb4e8; outline-offset: 2px; }
.landing-preview-note { background: #fff8e1; border: 1px solid #f0d78c; padding: 0.5rem 1rem; font-size: 0.875rem; text-align: center; }

.landing-footer { background: rgb(0 32 69 / 0.10); color: var(--landing-text); padding: 56px 0 32px; font-size: 15px; }
.landing-footer__inner { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.landing-footer__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.landing-footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.landing-footer__label { font-size: 13px; font-weight: 700; color: var(--landing-muted); letter-spacing: .08em; margin-bottom: 8px; }
.landing-footer__name { font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: .1em; color: var(--landing-navy); }
.landing-footer__vm { margin: 12px 0 0; display: grid; gap: 4px; line-height: 1.8; }
.landing-footer__vm div { display: grid; grid-template-columns: 5.5em 1fr; }
.landing-footer__vm dt { color: var(--landing-muted); font-size: 14px; }
.landing-footer__vm dd { margin: 0; }
.landing-footer__address { margin: auto 0 16px; padding-top: 10px; line-height: 1.9; }
.landing-footer__link { display: inline-flex; align-items: center; gap: 10px; color: #fff; background: var(--landing-navy); text-decoration: none; border-radius: 999px; padding: 11px 22px; font-size: 15px; font-weight: 700; }
.landing-footer__link:hover { background: rgb(0 32 69 / 0.86); }
.landing-footer__arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.landing-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(0 32 69 / 0.16); font-size: 14px; color: var(--landing-muted); }
.landing-footer__bottom a { color: var(--landing-muted); text-decoration: underline; }
.landing-footer__bottom a:hover { color: var(--landing-navy); }
@media (max-width: 900px) {
  .landing-footer { padding: 48px 0 32px; }
  .landing-footer__inner { padding: 0 20px; }
}
@media (max-width: 760px) {
  .landing-footer__columns { grid-template-columns: 1fr; }
}
/* The fixed reCAPTCHA badge (70px wide, bottom right) would sit on the footer's
   bottom-right link below this width: leave room beside it. */
@media (max-width: 1280px) {
  .landing-footer__bottom { padding-right: 5.5rem; }
}
