:root {
  --bg: white;
  --panel: white;
  --line: #2b3243;
  --line-soft: #22293a;
  --text: black;
  --sub: #9aa3bd;
  --muted: #0a0b0e;
  --accent: #f4f6ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mt2{
  margin-top: 1.5% !important;
  @media screen and (min-width: 769px) {
    margin-top: 2% !important;
  }
}
.mt5{
  margin-top: 3% !important;
  @media screen and (min-width: 769px) {
    margin-top: 5% !important;
  }
}
.mt10{
  margin-top: 5% !important;
  @media screen and (min-width: 769px) {
    margin-top: 10% !important;
  }
}
.mt15{
  margin-top: 10% !important;
  @media screen and (min-width: 769px) {
    margin-top: 15% !important;
  }
}
.mt20{
  margin-top: 10% !important;
  @media screen and (min-width: 769px) {
    margin-top: 20% !important;
  }
}
.mt30{
  margin-top: 15% !important;
  @media screen and (min-width: 769px) {
    margin-top: 30% !important;
  }
}
.mt40{
  margin-top: 20% !important;
  @media screen and (min-width: 769px) {
    margin-top: 40% !important;
  }
}
.mt50{
  margin-top: 25% !important;
  @media screen and (min-width: 769px) {
    margin-top: 50% !important;
  }
}

.sp{
  display: block;
  @media screen and (min-width: 769px) {
    display: none;
  }
}
.pc{
  display: none;
  @media screen and (min-width: 769px) {
    display: block;
  }
}

body {
scroll-behavior: smooth;
  font-optical-sizing: auto;
  font-size: clamp(14px, 0.2vw + 13.24px, 16px);
    position: relative;
    background-color: #fffff8;
    @media screen and (min-width: 1200px) {
      font-size: 1.6rem;
    }
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  padding: 1rem;
  border-radius: 5px;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select{
  background-color:#f5f5f5;
  min-height: 5rem;
  margin-top: .5rem;
  margin-bottom: .5rem;
}
textarea{
  margin-top: .5rem;
  background-color:#f5f5f5;
  border-radius: 5px;
}

.required{
  color: red;
  font-size: 1.2rem;
  @media screen and (min-width: 769px) {
    font-size: 1.4rem;
  }
}
.optional{
  color: #9aa3bd;
  font-size: 1.2rem;
  @media screen and (min-width: 769px) {
    font-size: 1.4rem;
  }
}

.container {
  max-width:1024px;
  margin: 0 auto;
}

.logo-pill {
  text-align: center;
  padding: 2rem 0;
  img{
    width: 100%;
    max-width: 70px;
    object-fit: contain;
    margin: 0 auto;
  }
}

.hero-image {
  width:100%;
  margin: 0 auto 5rem;
  aspect-ratio: 16 / 6;
  max-width: 1280px;
  img{
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.85s ease-in-out;
  z-index: 0;
}

.hero-slider__img.is-active {
  opacity: 1;
  z-index: 1;
}
.vi{
  position: relative;
  .vi-logo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 325px;
    height: 100%;
    object-fit: contain;
            z-index: 9999;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__img {
    transition-duration: 0.01ms;
  }
}

.intro {
  text-align: center;
  margin-bottom: 16px;
  
  .intro-inner{
background: url(../img/bg_tel.webp) no-repeat center center;
  background-size: cover;
  padding: 2rem;
  aspect-ratio: 980 / 280;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin-bottom: 5rem;
  }
}

.intro h1 {
  margin: 0;
  font-size: clamp(20px, 3.2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.intro p {
  margin: 8px 0 14px;
}

.phone-number {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 700;
  margin-bottom: 6px;
  background-color: #ff4c00;
  padding: 1rem;
  border-radius: 50px;
  letter-spacing: .2rem;
}

.intro small {
  display: block;
  margin: 0 auto;
  width: min(760px, 95%);
}

.form-card {
  margin: 20px auto 0;
  width: min(1024px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 2rem;
}

.fieldset {
  border: 1px solid black;
  padding: 2rem;
  margin: 0 0 2rem;
  border-radius: 5px;
}

.fieldset legend {
  padding: 0 8px;
}

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

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

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

.field input,
.field select,
.field textarea {
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.full {
  grid-column: 1 / -1;
}

.radio-grid,
.check-grid {
  gap: 0;
}

.choice {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.choice:nth-child(3n) {
  border-right: 0;
}

.radio-grid .choice:nth-child(2n) {
  border-right: 0;
}

.choice input {
  accent-color: #6f8bff;
}

.course-item {
  display: grid;
  grid-template-columns: 35% 1fr 70px;
  align-items: flex-start;
  gap: 24px;
  border-bottom: 1px dotted black;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  &:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .notes{
    font-size: clamp(11px, 1.5vw, 13px);
    color: #9aa3bd;
    margin-top: .5rem;
  }
}
.course-select{
  text-align: center;
  border-radius: 5px;
}

.thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.course-text h3 {
  margin: 0 0 .05rem;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
}

.course-text p {
  margin: 0;
  margin-bottom: .5rem;
}
.course-text small{
  font-size: clamp(11px, 1.5vw, 13px);
padding: 1rem;
    background-color: #f7f7f7;
    border-radius: 5px;
    display: inline-block;
    width: 100%;
    line-height: 1.8;
}
.course-price{
  font-size: clamp(16px, 1.5vw, 18px);
  strong{
    font-size: clamp(20px, 1.5vw, 24px);
  }
  
}

.single-check {
  display: block;
  margin: 2px 0 14px;
}

.submit {
  display: block;
  margin: 16px auto 4px;
  border: 0;
  border-radius: 999px;
  padding: 10px 26px;
  background: linear-gradient(180deg, #f4f4f7 0%, #d9dde8 100%);
  color: #212734;
  
  font-weight: 700;
}

.submit-secondary {
  background: #f0f0f0;
}

.form-error {
  color: #b30000;
  font-weight: 700;
  margin-top: 8px;
  min-height: 1.5em;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.step-card h2 {
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 0.5rem;
}

.step-note {
  margin-bottom: 1rem;
}

.confirm-list {
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  padding: 1rem;
}

.confirm-list > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  border-bottom: 1px solid #e4e4e4;
  padding: 0.65rem 0;
}

.confirm-list > div:last-child {
  border-bottom: none;
}

.confirm-list dt {
  font-weight: 700;
}

.step-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.is-hidden {
  display: none;
}

@media (max-width: 760px) {
  .confirm-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .step-actions {
    flex-direction: column-reverse;
    align-items: center;
  }
}
