* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #dfeaf4;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #102655;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic Medium", "Noto Sans JP", sans-serif;
  background:
    linear-gradient(90deg, rgba(12, 39, 83, 0.08), transparent 18%, transparent 82%, rgba(12, 39, 83, 0.08)),
    #e8f2fb;
}

button,
input,
textarea {
  font: inherit;
}

.lp {
  width: min(100%, 430px);
  margin: 0 auto;
  background: #f4f9ff;
  box-shadow: 0 0 42px rgba(16, 38, 85, 0.2);
  overflow: hidden;
  padding-bottom: 74px;
}

.slice {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  background: #f4f9ff;
}

.slice-hero {
  overflow: hidden;
}

.slice-hero > img {
  transform: scale(1.015);
  transform-origin: center center;
}

.slice img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border: 0;
  border-radius: 999px;
  color: transparent;
  background: rgba(255, 255, 255, 0.01);
  cursor: pointer;
}

.logo-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9.5%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 2;
  pointer-events: none;
}

.slice img.logo-overlay {
  width: auto;
  height: 75%;
  max-width: 80%;
  display: block;
}

.hotspot:focus-visible {
  outline: 3px solid #ff7a59;
  outline-offset: 3px;
}

.contact-form {
  position: absolute;
  inset: 0;
}

.field {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  line-height: 1;
}

.field input,
.field textarea {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
  color: #0e2859;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.35;
  -webkit-appearance: none;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid #ff7a59;
  outline-offset: 2px;
}

.field input {
  padding: 0 8px;
}

.field textarea {
  padding: 6px 8px;
  resize: none;
}

.form-submit {
  background: rgba(16, 50, 112, 0.01);
}

.company-info {
  padding: 32px 24px 28px;
  background: #fff;
  border-top: 1px solid rgba(16, 38, 85, 0.08);
  line-height: 1.6;
}

.company-info h2 {
  margin: 0 0 18px;
  color: #102655;
  font-size: 20px;
  text-align: center;
}

.company-info h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 8px auto 0;
  background: #ffb547;
  border-radius: 2px;
}

.company-info__list {
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.company-info__row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(16, 38, 85, 0.14);
}

.company-info__row:last-child {
  border-bottom: 0;
}

.company-info__row dt {
  color: #43516b;
  font-weight: 700;
}

.company-info__row dd {
  margin: 0;
  color: #102655;
}

.fixed-cta {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(390px, calc(100% - 32px));
  min-height: 56px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff7a59, #ef5737);
  box-shadow: 0 14px 28px rgba(227, 75, 43, 0.32);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.fixed-cta:focus-visible {
  outline: 3px solid #183d84;
  outline-offset: 3px;
}

.modal {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 23, 51, 0.56);
}

.modal[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(100%, 360px);
  padding: 28px 24px 24px;
  border-radius: 8px;
  color: #102655;
  background: #fff;
  box-shadow: 0 22px 52px rgba(5, 23, 57, 0.24);
}

.modal-kicker {
  margin: 0 0 8px;
  color: #ef5737;
  font-size: 13px;
  font-weight: 800;
}

.modal-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.modal-panel p {
  margin: 0 0 18px;
  color: #43516b;
  font-size: 14px;
  line-height: 1.8;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #102655;
  background: #edf3f9;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-primary {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #173b80;
  font-weight: 800;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 360px) {
  .field input,
  .field textarea {
    font-size: 11px;
  }

  .fixed-cta {
    min-height: 52px;
    font-size: 16px;
  }
}
