@charset "UTF-8";

:root { --navy: #011133; --cream: #f9e4ba; --paper: #fffdf7; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--paper); font-family: "Noto Sans JP", sans-serif; line-height: 1.85; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d9a84c; outline-offset: 4px; }
[hidden] { display: none !important; }
.form-header { max-width: 1200px; margin: auto; padding: 28px 32px; display: flex; justify-content: flex-end; align-items: center; border-bottom: 1px solid #f9e4ba40; }
.header-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; border: 1px solid #d4b67e; border-radius: 999px; background: linear-gradient(26deg, #e9d3a7, #fff5df 50%, #dcc28d); color: var(--navy); font-size: 13px; font-weight: 500; white-space: nowrap; text-decoration: none; transition: opacity .2s; }
.header-link:hover { opacity: .8; }
.form-main { width: min(880px, calc(100% - 48px)); margin: 65px auto 100px; }
.page-title { margin: 0 0 40px; text-align: center; color: var(--cream); font-family: "Cormorant", serif; font-size: 60px; font-weight: 500; line-height: 1; }
.page-title span { display: block; margin-top: 14px; font-family: "Noto Sans JP", sans-serif; font-size: 17px; font-weight: 400; }
.steps { display: flex; padding: 0; margin: 0 auto 38px; list-style: none; max-width: 620px; }
.steps li { flex: 1; position: relative; text-align: center; color: #acb5c7; font-size: 13px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; width: calc(100% - 48px); height: 1px; background: #f9e4ba50; top: 20px; left: calc(50% + 24px); }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 9px; border: 1px solid #f9e4ba70; border-radius: 50%; font-family: "Cormorant", serif; font-size: 22px; font-weight: 500; }
.steps [aria-current="step"] { color: var(--cream); }
.steps [aria-current="step"] b { background: var(--cream); color: var(--navy); }
.intro { text-align: center; font-size: 14px; margin-bottom: 30px; }
.preview-note { padding: 12px 18px; margin: 0 0 24px; border: 1px solid #f9e4ba60; color: var(--cream); font-size: 13px; text-align: center; }
.form-card { background: var(--paper); color: var(--navy); padding: 14px 44px 40px; border-top: 3px solid var(--cream); }
.field { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid #01113326; }
.field-label { font-size: 14px; font-weight: 500; padding-top: 10px; }
.field-label-text { display: inline-flex; justify-content: space-between; width: 7em; vertical-align: middle; white-space: nowrap; }
.badge { display: inline-block; margin-left: 10px; padding: 1px 7px; background: #860002; color: white; font-size: 11px; line-height: 1.7; vertical-align: middle; }
.badge.optional { background: #536985; }
input:not([type="checkbox"]), select, textarea { display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #9ba5b4; border-radius: 3px; background: white; color: var(--navy); }
textarea { min-height: 190px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #767e89; }
.hint { margin: 8px 0 0; color: #536079; font-size: 12px; }
.privacy { margin: 28px 0; text-align: center; font-size: 14px; }
.privacy label { display: inline-flex; align-items: flex-start; gap: 10px; text-align: left; }
.privacy input { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 4px; accent-color: var(--navy); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; min-width: 240px; padding: 13px 28px; border: 1px solid #d4b67e; border-radius: 999px; background: linear-gradient(26deg, #e9d3a7, #fff5df 50%, #dcc28d); color: var(--navy); font-size: 15px; font-weight: 500; text-align: center; text-decoration: none; cursor: pointer; transition: opacity .2s; }
.button:hover { opacity: .8; }
.button.secondary { background: transparent; border-color: #536985; }
.error { color: #860002; margin: 20px 0 0; font-size: 14px; }
.error ul { padding-left: 1.5em; }
.button:disabled { opacity: .65; cursor: wait; }
.confirm-list { margin: 0; }
.confirm-list dt { padding-top: 0; }
.confirm-list dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.thanks { padding: 52px 35px; text-align: center; }
.thanks-mark { display: grid; place-items: center; width: 65px; height: 65px; border: 1px solid #bda16d; border-radius: 50%; margin: 0 auto 24px; font-size: 30px; }
.thanks h2 { font-size: 22px; font-weight: 500; }
.thanks p { font-size: 14px; }
/* トップページのフッターと同じリセット・基本設定 */
.site-footer { font-size: 16px; line-height: normal; }
.site-footer *, .site-footer *::before, .site-footer *::after { margin: 0; padding: 0; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer img { display: block; }
.site-footer .inner { width: 100%; margin: 0 auto; }
/* フッター */
.footer-info.inner.narrow a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-info {
  max-width: 100vw;
  padding: 50px 0;
  background: var(--cream);
  color: var(--navy);
}

.footer-info dl {
  width: fit-content;
  margin: 0 auto;
  display: grid;
  gap: 10px;
  text-align: left;
}

.footer-info div {
  display: grid;
  grid-template-columns: 130px 1fr;
}

.footer-info dt {
  font-weight: bold;
}

.contact-form-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-width: 240px;
  margin: 28px auto 0;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.contact-form-button:hover,
.contact-form-button:focus-visible {
  opacity: 0.82;
  transform: translateY(-2px);
}

.contact-form-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-bottom {
  display: grid;
  justify-items: center;
  gap: 30px;
  padding: 34px 20px 12px;
  background: #2a211f;
  color: #fff;
  text-align: center;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-footer__logo a {
  display: block;
  line-height: 0;
}

.site-footer__logo img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.site-footer__item {
  display: flex;
  align-items: center;
}

.site-footer__item:not(:first-child)::before {
  margin: 0 20px;
  color: #fff;
  content: "|";
}

.site-footer__link {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom small {
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .footer-info div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-bottom {
    gap: 18px;
    padding: 20px 20px;
  }

  .site-footer__logo {
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }

  .site-footer__logo a {
    flex: 1;
    min-width: 0;
  }

  .site-footer__logo img {
    height: 36px;
    max-width: 100%;
  }

  .site-footer__links {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px 0;
    font-size: 14px;
  }

  .site-footer__item {
    max-width: 100%;
  }

  .site-footer__item:not(:first-child)::before {
    display: none;
  }

  .site-footer__link {
    white-space: normal;
  }

  .footer-bottom small {
    width: 100%;
  }

  .footer-info {
    padding: 20px 20px;
  }
}
@media (max-width: 640px) {
  .form-header { padding: 20px; }
  .header-link { font-size: 12px; padding: 10px 20px; }
  .form-main { width: calc(100% - 32px); margin: 45px auto 60px; }
  .page-title { font-size: 48px; }
  .page-title span { font-size: 15px; }
  .steps { margin-bottom: 28px; }
  .steps li { font-size: 12px; }
  .form-card { padding: 6px 20px 28px; }
  .field { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 0; }
  .field-label { padding-top: 0; }
  .actions { flex-direction: column; }
  .button { min-width: 0; width: 100%; }
  .thanks { padding: 36px 20px; }
  .thanks h2 { font-size: 19px; }
}
