:root {
  --blue: #181751ff;
  --blue-dark: #0d0c34;
  --blue-light: #ecebfd;
  --sky: #8d8af2;
  --orange: #f8b62d;
  --ink: #171629;
  --muted: #69677f;
  --line: #deddf0;
  --bg: #f6f5ff;
  --white: #fff;
  --shadow: 0 18px 50px rgba(24, 23, 81, .16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(24, 23, 81, .12);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #4a48a8);
  font-family: Abel, sans-serif;
  font-size: 24px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 14px;
}

.tel-link {
  color: var(--blue);
  font-family: Abel, sans-serif;
  font-size: 22px;
  letter-spacing: 0;
}

.hero {
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 720px;
  padding: 64px clamp(20px, 6vw, 84px) 112px;
  background:
    linear-gradient(54deg, rgba(42, 41, 123, .86), rgba(24, 23, 81, .94) 38%, rgba(13, 12, 52, .97) 82%, rgba(68, 65, 150, .9)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .42), transparent 34%);
}

.hero-inner {
  width: 100%;
  max-width: 1040px;
  color: var(--white);
  text-align: center;
}

.hero-logo {
  display: block;
  width: 680px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 44px;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-family: Abel, sans-serif;
  font-size: 20px;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.18;
}

.hero h1 span {
  display: block;
}

.lead {
  max-width: 680px;
  margin: 26px auto 18px;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.9;
}

.hero-copy {
  display: grid;
  gap: 4px;
  margin: 0 0 22px;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.hero-notes {
  display: grid;
  gap: 6px;
  max-width: 980px;
  margin: 0 auto 34px;
  padding: 0;
}

.hero-notes li {
  position: relative;
  list-style: none;
  padding-left: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.7;
}

.hero-notes li::before {
  content: "※";
}

.hero-button,
.form-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 32px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 0;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(157, 101, 0, .2);
}

.hero-button:hover,
.form-footer button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.form-section {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: -78px auto 96px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  border-bottom: 3px solid var(--blue-light);
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
}

.request-form {
  display: grid;
  gap: 34px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 34px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 900;
}

.step {
  color: var(--blue);
  font-family: Abel, sans-serif;
  font-size: 28px;
  font-weight: 400;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.upload-title {
  font-weight: 700;
}

em {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  color: var(--white);
  background: var(--blue);
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--ink);
  background: #f8fcfd;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 23, 81, .14);
}

input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  height: 20px;
  padding: 0;
  accent-color: var(--blue);
  appearance: auto;
  flex: 0 0 auto;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.choice-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: #f8fcfd;
  border: 2px solid var(--line);
  cursor: pointer;
}

.choice-card.active {
  background: linear-gradient(180deg, #fff, #f2f1ff);
  border-color: var(--blue);
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-title {
  font-size: 18px;
  font-weight: 900;
}

.choice-copy,
.note,
.upload-help,
.site-footer small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.material-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.material-panel .note {
  grid-column: 1 / -1;
  margin: -6px 0 0;
}

.upload-box {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 170px;
  padding: 24px;
  text-align: center;
  background: var(--blue-light);
  border: 2px dashed rgba(24, 23, 81, .45);
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.upload-box strong {
  max-width: 100%;
  color: var(--blue-dark);
  font-size: 13px;
  overflow-wrap: anywhere;
}



.legal-section {
  display: grid;
  gap: 18px;
}

.policy-box {
  max-height: 220px;
  overflow-y: auto;
  padding: 18px;
  background: #f7f7fc;
  border: 1px solid var(--line);
  color: var(--muted);
}

.policy-box:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(24, 23, 81, .14);
}

.policy-box h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.policy-box p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.8;
}

.policy-box p:last-child {
  margin-bottom: 0;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
}

.check-field span {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.7;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.form-message {
  min-height: 1.8em;
  margin: 0;
  color: #c94b00;
  font-weight: 700;
}

.form-message.success {
  color: var(--blue);
}

.site-footer {
  padding: 46px 20px;
  text-align: center;
  background: var(--blue-dark);
}

.site-footer small {
  color: rgba(255, 255, 255, .72);
}

.footer-logo {
  display: block;
  width: 360px;
  max-width: calc(100% - 40px);
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, .14);
}

@media (max-width: 840px) {
  .site-header {
    min-height: 64px;
  }

  .tel-link {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding: 44px 30px 84px;
    padding-bottom: 84px;
  }

  .form-section {
    width: calc(100% - 24px);
    max-width: 720px;
    margin-top: -56px;
    padding: 28px 18px;
  }

  .section-heading,
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .grid.two,
  .choice-row,
  .material-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 13px;
  }

  .lead {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-logo {
    width: 100%;
    margin-bottom: 24px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-notes li {
    font-size: 12px;
  }

  legend {
    font-size: 18px;
  }
}


.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(54deg, rgba(42, 41, 123, .86), rgba(24, 23, 81, .94) 38%, rgba(13, 12, 52, .97) 82%, rgba(68, 65, 150, .9)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .34), transparent 34%);
}

.thanks-main {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px 20px;
}

.thanks-section {
  width: 100%;
  max-width: 760px;
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.thanks-logo {
  display: block;
  width: min(460px, 100%);
  height: auto;
  margin: 0 auto 28px;
  border: 1px solid rgba(24, 23, 81, .18);
}

.thanks-section h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.35;
}

.thanks-lead {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}

.thanks-note {
  margin: 0 auto 30px;
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
