@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Baloo+2&family=Comfortaa&family=M+PLUS+Rounded+1c:wght@300&family=Noto+Sans+JP:wght@400;700&display=swap");

html,
body,
header,
footer,
main,
section,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --form-main-color:rgb(122 134 210);
  --form-text-color: #0071bc;
  --color-primary: hsl(231.89deg 31.09% 53.33%);
  --color-secondary: hsl(225 59 60);
}
*::selection {
  color: #fff;
  background-color: hsl(225 59 60);
}

html {
  scroll-behavior: smooth;
}

/* body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  max-width: 470px;
  margin: 0 auto;
} */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  /* PC用の背景画像 */
  background: url("https://.../bc-pc.webp") no-repeat center top / cover fixed;
}
@media (width >= 767px) {
  body {
    max-width: 470px;
    margin: 0 auto;
  }
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
}

@media screen and (max-width: 767px) {
  .wrapper {
    max-width: 100%;
  }

  body {
    background: #fff;
  }
}

img,
a {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  transition: 0.5s ease;
}

/* マウスでhoverできる端末だけで有効 */
@media (hover: hover) and (pointer: fine) {
  a:where(:not(article a)):hover {
    transform: scale(1.03);
  }
}

a:hover img {
  opacity: 1;
}

.sponly {
  display: none;

  @media (width < 470px) {
    display: block;
  }
}
h1{
  display: none;
}
/* header */
.header {
  display: flex;
  padding: 10px 0;
  justify-content: space-between;
  align-items: center;
  box-shadow: 6px 11px 10px -7px rgba(0, 0, 0, 0.3);
  /* position: fixed; */
  z-index: 100;
  background: #fff;
  width: 100%;
  max-width: 470px;
  margin: auto;
}

.header img[src*="logo"] {
  width: 50%;
  max-width: 350px;
  height: fit-content;
  aspect-ratio: 191 / 22;
  object-fit: contain;
}

.header a {
  width: 50%;
  max-width: 100px;
  height: fit-content;
}

/* bg */
.bg {
  background-image: url(./img/bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* fv */
.fv {
  position: relative;
}

.fv a,
.fv #startBtn {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 85%;
  max-width: 400px;
  transform: translateX(-50%);
  display: block;
}

.fv a:hover,
.fv #startBtn:hover {
  opacity: 0.7;
}

@media screen and (min-width: 768px) {
  .fv a {
    display: none;
  }
}

/* swiper */
.swiper {
  width: 100%;
  overflow: hidden;
  height: 100px;
  touch-action: none;
  pointer-events: none;
  background-color: #fff;
  /* @media(769px > width >= 470px){
        max-height: 85px;
    }
    @media(width <= 768px){
        max-height: 100px;
    } */
}

.swiper-slide {
  height: 100%;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (width <=470px) {
    width: 125px;
  }
}

.swiper-slide img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.swiper-wrapper {
  transition-timing-function: linear !important;
  transform: translateZ(0);
  will-change: transform;
}

.company_caution {
  background-color: #fff;
  text-align: center;
  color: #1C2E6B;
  font-size: 0.6rem;
  padding-bottom: 10px;
  font-weight: 600;
}
/* bar */
.bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10% auto 20px;
    width: 70%;
  div{
    width: 15px;
    aspect-ratio: 1/1;
    border-radius: 999px;
    background-color: #ccc;
  }
  div.active {
    position: relative;
    background-color: var(--form-main-color);
  }
}
.bar::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 3px;
  background-color: #ccc;
}
/* modal */
button {
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

button:focus {
  outline: none;
}

#startBtn {
    animation: bigger 1.8s infinite;
    padding: 0;
    max-width: 70px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 10px;
    right: calc(50% - (470px / 2));
    z-index: 9999;
    @media(width <= 470px) {
      right: 10px;
    }
}

/* modal本体 */
#modal {
  width: 100%;
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 1000;

  .modal_width {
    position: relative;
    width: 95%;
    max-width: 470px;
    background-color: #FFF;
    background-image: url(./img/bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* margin: auto; */
    border-radius: 20px;

    @media(width <=470px) {
      width: 85%;
      max-height: 90dvh;
      overflow: hidden;
    }

    .modal_container {

      .modal_box {
        margin: auto;
        padding: 30px 1.5%;
        position: relative;
        max-height: 90dvh;
        background-image: url(https://event.meetscompany.jp/wp-content/themes/ncwhite/tenshoku-explanation/img/ham_bg.webp);
        background-size: cover;
        background-position: center;
        border: 5px solid rgb(68 54 158);
        text-align: center;
        ul{
          li{
            margin: 20px 0;
            a{
              max-width: none;
              width: 100%;
              color: rgb(71 29 113);
              font-weight: 700;
              font-size: 1.2rem;
              text-decoration: none;
              span{
                margin-left: 15px;
                transition: 0.3s ease-in-out;
                display: inline-block;
              }
            }
            a:hover{
              text-decoration: none;
              transform: scale(1.0);
            }
            a:hover span{
              transform: translateX(5px);
            }
          }
        }
      }
    }
  }
      .stepform__step_formarea_input {
          text-align: center;
          margin: 32px 0;
          justify-content: center;
          display: block;

          @media(width <=470px) {
            margin: 10px 0;
          }

          label {

            input[type="radio"],
            input[type="checkbox"] {
              display: none;
            }

            input[type="radio"]+span,
            input[type="checkbox"]+span {
              transition: transform .15s ease, filter .15s ease;
            }

            input[type="radio"]:active+span,
            input[type="checkbox"]:active+span {
              transform: scale(.98);
              filter: brightness(.96);
            }

            span {
              position: relative;
              display: inline-block;
              margin: 5px 0;
              width: 100%;
              /* height: 56px; */
              line-height: 56px;
              text-align: center;
              font-size: 1.1rem;
              cursor: pointer;
              border-radius: 10px;
              transition: .3s;
              color: #1c306d;
              background-color: #FFF;
              font-weight: 600;

              @media(width <=470px) {
                font-size: 0.9rem;
                line-height: 45px;
              }
            }

            @media (width <=470px) {
              input[name="Q2"][value="B"]+span {
                font-size: 0.8rem;
              }
            }

            span::before {
              content: "";
              position: absolute;
              inset: 0;
              border-radius: inherit;
              padding: 2px;
              background: linear-gradient(215deg,
                  hsl(320, 40%, 63%),
                  hsl(290, 35%, 65%) 25%,
                  hsl(205, 70%, 54%)50%,
                  hsl(245, 35%, 65%) 75%,
                  hsl(245, 30%, 55%));
              opacity: 0;
              transition: opacity .25s ease;
              pointer-events: none;

              -webkit-mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
              -webkit-mask-composite: xor;
              mask-composite: exclude;
            }

            span:hover::before {
              opacity: 0.6;
            }

            input[type="radio"]:checked+span,
            input[type="checkbox"]:checked+span {
              color: #fff;
              background: hsl(230 50% 70% / 1);
            }

            input[type="radio"]:checked+span::before,
            input[type="checkbox"]:checked+span::before {
              filter: brightness(.96);
              opacity: 1;
              background: hsl(230 50% 70% / 1);
            }

            input[type="radio"]:checked+span:hover::before,
            input[type="checkbox"]:checked+span:hover::before {
              opacity: 1;
            }
          }
        }
      #more_btn:disabled {
          opacity: 0.5;
          pointer-events: none;
        }
      }
    .modal .is-open{
      display: block;
    }
/* ios制御 */
* {
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  touch-action: manipulation;
}

input[type="radio"],
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  /* iOS独自UIをリセット */
  outline: none;
}

label span {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

label span,
input[type="radio"]+span,
label span,
input[type="checkbox"]+span {
  -webkit-tap-highlight-color: transparent;
}

/* 結果画面 */
.result {
  /* background-color: #FFF; */
  border-radius: 15px;
  width: 90%;
  margin: auto;
  padding: 10px;
  display: none;

  .result_box {
    padding: 10px 0 3%;
    max-height: 85dvh;

    .modal-close {
      right: 3%;

      @media(width <=470px) {
        top: 2%;
      }
    }

    h2 {
      text-align: center;
      font-size: 1.5rem;
      margin: 10px 0;
      color: var(--form-text-color);

      @media(width <=470px) {
        font-size: 1.1rem;
      }

      br {
        display: none;
        /* @media(width <= 470px) {
            display: block;
          } */
      }
    }

    .result_img {
      margin: auto;
      width: 87.5%;

      @media(width <=470px) {
        width: 82.5%;
      }
    }

    .result_cta {
      margin-top: 3%;
      animation: bigger 1.8s infinite;
    }
  }
}

#modal.is-open {
  display: flex;
}

.modal-close {
  top: 3%;
  position: absolute;
  right: 0;
  border: none;
  background-color: unset;
  color: var(--form-text-color);
  font-size: 1.5rem;
  font-weight: 900;
}

/* result cta animation */
@keyframes bigger {

  0%,
  100% {
    transform: scale(0.95);
  }

  50% {
    transform: scale(1);
  }
}

/* footer */
footer {
  padding: 25px 0;
  background:  rgb(77 46 114);
  color: #FFF;
  text-align: center;
  border-bottom: none;

  img {
    width: 80%;
    max-width: 500px;
    margin: 10px auto;
  }
}
.cta{
    padding: 0;
    z-index: 99;
    position: fixed;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    max-width: 350px;
    transition: opacity 0.3s ease-in-out;
    @media(width <= 470px) {
      width: 90%;
    }
  }
.cta a{
  animation: pukapuka 1.8s infinite;
}
@keyframes pukapuka {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}
/* form */
.bg article.form {
  padding-bottom: 40px;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  background: unset;
  border: none;

  .content_header {
    margin: 40px auto 0;
    width: 100%;

    .form_content_header {
      background-color: #7A86D2;
      height: 20px;
      border-radius: 20px 20px 0 0;
      width: 90%;
      margin: 0 5%;
    }

    .form_content {
      width: 90%;
      max-width: 500px;
      margin: 0 auto;
      padding: 0;
      background-color: #FFF;
      border-radius: 0 0 20px 20px;
      box-shadow: 2px 10px 10px #aaa;

      .step_form_iframe {
        width: 100%;
        max-width: 100%;
      }
    }
  }
}

#steps-container {
  position: relative;
  overflow: hidden;
}

.stepform,
.wpcf7-steps {
  position: relative;
  overflow: hidden;
}

.wpcf7-step {
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  margin: 0 auto 5%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.wpcf7-step.is-current {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.wpcf7-list-item {
  margin: 0;
}

#steps-container {
  position: relative;
  overflow: hidden;
}

.stepform__title {
  background-color: var(--form-main-color);
  display: flex;
  justify-content: space-evenly;
  color: #fff;
  font-size: 20px;
  font-weight: 550;
  padding: 20px 0;
  width: 90%;
  max-width: 500px;
  margin: auto;
  border-radius: 20px 20px 0 0;
}

.flex-step {
  padding: 10% 0 0;
  text-align: left;
  font-weight: 700;
  font-size: 1.2rem;

  @media(width <=470px) {
    font-size: 1rem;
    margin-bottom: 10px;
    padding: 15% 0 0;
    color: #555;
  }

  p {
    font-size: 0.9rem;
  }

  p:nth-of-type(2) {
    font-weight: 500;
    /* font-size: 0.6rem; */
  }
}
.flex-step:first-of-type {
  padding-top: 0%;
}
.flex-step .required {
  font-size: 0.7rem;
  color: #e01616;
  font-weight: 600;
  margin-left: 6px;
}

.flex-step .step-child {
  margin-bottom: 7px;
}

.error-info {
  color: rgb(224, 22, 22);
  text-align: left;
  margin: 5px 0 20px;
}

.resetflex {
  display: flex;
  justify-content: space-evenly;
  margin: 60px 10px 20px;
  gap:20px;

  .reset-step,
  .next-step,
  .send-step {
    background-color: #fcee21;
    color: #555555;
    width: 25%;
    border-radius: 10px;
    padding: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
  }

  .send-step {
    background-color: hsl(252.18deg 100% 73.92%);
    color: #FFF;
    width: 100%;
    padding: 25px;
    transition: 0.5s ease-in-out;
  }

  .send-step:hover {
    transform: translateY(3px);
  }
}

/* アニメ用クラス */
/* 速さだけでなく“透明化”をやめる */
.step-enter-right {
  animation: enterFromRight .32s cubic-bezier(.2, .8, .2, 1) forwards;
  z-index: 2;
}

.step-exit-left {
  animation: exitToLeft .32s cubic-bezier(.2, .8, .2, 1) forwards;
  z-index: 1;
}

.step-enter-left {
  animation: enterFromLeft .32s cubic-bezier(.2, .8, .2, 1) forwards;
  z-index: 2;
}

.step-exit-right {
  animation: exitToRight .32s cubic-bezier(.2, .8, .2, 1) forwards;
  z-index: 1;
}

/* 透明化しない keyframes（transform のみ） */
@keyframes enterFromRight {
  from {
    transform: translate3d(30px, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes exitToLeft {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-30px, 0, 0);
  }
}

@keyframes enterFromLeft {
  from {
    transform: translate3d(-30px, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes exitToRight {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(30px, 0, 0);
  }
}

/* GPUヒント＆チラつき防止 */
.wpcf7-step {
  will-change: transform;
  backface-visibility: hidden;
}

/* 容器側の再描画を小さく */
#steps-container {
  contain: layout paint;
}


@keyframes enterFromRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes exitToLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(-30px);
    opacity: 0;
  }
}

@keyframes enterFromLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes exitToRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(30px);
    opacity: 0;
  }
}

.wpcf7-step.is-current {
  position: relative;
}


/* 確認画面 */
#step4 .stepform__step_title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5%;
  color: #555;
  padding: 5% 0 0;
}

.stepform__step_formarea {
  dl {
    width: 95%;
    margin: 0 auto 9%;
    text-align: left;
    color: #555;

    dt {
      margin-bottom: 5px;
      font-weight: 700;
      font-size: 1.1rem;
    }

    dd {
      padding: 3px;
      border-bottom: 1px solid #555;
      font-size: 0.97rem;

      @media(width <=470px) {
        padding: 10px 0;
      }
    }
  }
}

#trigger-confirmation,
#place-confirmation {
  line-height: 2;
}
.stepform__step_graph_send{
  width: 100%;
}
#step5 .resetflex {
  flex-direction: column;
  gap: 50px;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

/* input radio */
details summary {
  position: relative;
  list-style: none;
  margin: 20px 0 10px;
  text-align: left;
  padding: 14px 14px 2px;
  font-size: 1rem;
  font-weight: 600;
  color: #1C2E6B;
  border-bottom: 2px solid #1C2E6B;
}

details summary:last-of-type {
  margin-top: 10px;
}

details summary p {
  display: flex;
}

details summary p span {
  display: inline-block;
  /* color: #7A86D2; */
  margin-left: auto;
  transition: 0.3s ease-in-out;
}

details[open] summary p span {
  transform: rotate(180deg);
}

details:last-of-type p {
  margin-top: 20px;
}

details img {
  width: 90%;
  margin: 20px auto 50px;
}

.wpcf7-radio {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr 1fr;
}
.wpcf7-radio:has(input[name*="radio-place"]) {
  grid-template-columns: repeat(6, 1fr);
}
.wpcf7-radio:has(input[name*="radio-place"]) .wpcf7-list-item.first{
  grid-column: 2 / 4;
}
.wpcf7-radio:has(input[name*="radio-place"]) .wpcf7-list-item.last{
  grid-column: 4 / 6;
}
.wpcf7-list-item:has(input[type*="radio"]) {
  display: inline-block;
  width: 100%;
  position: relative;
  /* margin: 0;
      padding: 10px 5%;
      display: inline-block;
      text-align: center;
      font-size: 1.1rem;
      border-radius: 10px;
      transition: .3s;
      color: var(--form-text-color);
      background-color: #FFF;
      font-weight: 600; */
}

.wpcf7-list-item:has(input[type*="radio"])::before {
  /* content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
      215deg,
      hsl(320, 40%, 63%),
      hsl(290, 35%, 65%) 25%,
      hsl(205, 70%, 54%)50%,
      hsl(245, 35%, 65%) 75%,
      hsl(245, 30%, 55%));
    transition: opacity .25s ease;
    pointer-events: none;

    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude; */
}

.wpcf7-list-item:has(input[type*="radio"]) .wpcf7-list-item-label {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  background: #fff;
  color: var(--form-text-color);
  font-weight: 600;
  transition: .3s;
}

.wpcf7-list-item:has(input[type*="radio"]) .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  /* background: linear-gradient(215deg,
      hsl(320, 40%, 63%),
      hsl(290, 35%, 65%) 25%,
      hsl(205, 70%, 54%)50%,
      hsl(245, 35%, 65%) 75%,
      hsl(245, 30%, 55%)); */
  background: var(--form-main-color);
  transition: opacity .25s ease;
  pointer-events: none;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.wpcf7-list-item:has(input[type*="radio"]) .wpcf7-list-item-label:hover::before,
.wpcf7-list-item:has(input[type*="radio"]) .wpcf7-list-item-label:hover {
  opacity: 0.6;
}

.wpcf7-list-item:has(input[type*="radio"]:checked) .wpcf7-list-item-label {
  color: #FFF;
  background-color: hsl(230 50% 70% / 1);
}

.wpcf7-list-item:has(input[type*="radio"]:checked) .wpcf7-list-item-label::before {
  opacity: 1;
  background: hsl(230 50% 70% / 1);
}

.wpcf7-list-item:has(input[type*="radio"]:checked) .wpcf7-list-item-label:hover {
  opacity: 1;
}

/* input checkbox */
#place1,
#place2 {
  display: flex;
  flex-direction: column;
}
.wpcf7-list-item:has(input[type*="checkbox"]) {
  display: block;
}
.wpcf7-list-item>label:has(input[type="checkbox"]) {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  position: relative;
  font-size: 14px;
  width: 100%;
}

/* inputは隠す */
.wpcf7-list-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* テキスト側 */
label:has(input[type="checkbox"]) .wpcf7-list-item-label {
  position: relative;
  padding-left: 32px;
  line-height: 1.5;
  font-size: 1.1rem;
  text-align: left;
  margin: 10px 0;

}

#step1 label:has(input[type="checkbox"]) .wpcf7-list-item-label {
  user-select: none;
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+ */
  flex: 1;
}

@media (width < 470px) {
  #step1 label:has(input[type="checkbox"]) .wpcf7-list-item-label {
    background-size: clamp(285px, -50.5263px + 89.4737vw, 370px);
    min-height: clamp(120px, 26.0526px + 21.0526vw, 125px);
    background-position: top right;
  }

}
/* チェックボックス枠 */
label:has(input[type="checkbox"]) .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: #EEE;
  border-radius: 5px;
  transition: .2s;
  margin-top: 4px;
}

/* ✓マーク */
label:has(input[type="checkbox"]) .wpcf7-list-item-label::after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 0;
  font-size: 18px;
  font-weight: 900;
  color: hsl(231.89deg 31.09% 53.33%);
  transform: scale(0);
  transition: .2s;
}

/* checked時 */
.wpcf7-list-item input[type="checkbox"]:checked+.wpcf7-list-item-label::before {
  background: #E9EBFF;
}

.wpcf7-list-item input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
  transform: scale(1);
}

/* trigger */
.wpcf7-checkbox.trigger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* agree */
.stepform__step_agreement {
  margin-top: 10%;

  p {
    margin-bottom: 1rem;
  }

  a {
    display: inline;
  }
}

/* select box */
select:-internal-list-box option:checked {
  background-color: var(--form-main-color);
  color: #fff;
}
.wpcf7-form-control.wpcf7-select{
    color: var(--form-text-color);
    width: 100%;
    border: 3px solid var(--form-main-color);
    border-radius: 5px;
    padding: 5px;
  option{
      font-weight: 500;
      margin: 0 5px;
      padding: 5px;
      border-bottom: 1px solid var(--form-text-color);
    }
    option:last-of-type{
      border-bottom: none;
    }
}

/* input text */
.wpcf7-step.stepform span:has(input[type="text"]),
.wpcf7-step.stepform span:has(input[type="tel"]),
.wpcf7-step.stepform span:has(input[type="email"]) {
  width: 90%;
  margin: 0;
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  border-radius: 10px;
  transition: .3s;
}

.wpcf7-step.stepform span input[type="text"],
.wpcf7-step.stepform span input[type="tel"],
.wpcf7-step.stepform span input[type="email"] {
  width: 98%;
  padding: 10px 5%;
  border-radius: inherit;
  font-size: 1.1rem;
  color: #555;
  background: #fff;
  position: relative;
  z-index: 0;
  height: 30px;
  border: 1px solid #7A86D2;
  margin-left: 5px;
}

.wpcf7-step.stepform span input[type="text"]:focus,
.wpcf7-step.stepform span input[type="tel"]:focus,
.wpcf7-step.stepform span input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px #7A86D2;
}
/* youtube */
.youtube{
  padding: 30px 15px;
  .youtube_wrapper{
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin:20px auto;

    iframe{
      width: 100%;
      height: auto;
      aspect-ratio: 560 / 315;
      object-fit: contain;
    }
  }
}


/* thanks page */
#thanks {
  background: url(./img/ham_bg.webp) no-repeat center;
  background-size: cover;
  background-color: unset;

  h1 {
    color: #1C2E6B;
    margin: 40px 0;
  }

  .box {
    .content {
      p {
        a {
          display: inline;
        }
      }
    }
  }

  .box .content {
    background-color: #fff;
    border: 1px solid #7A86D2;
    width: 100%;
    border-radius: 20px;
  }

  .box .content h2 {
    font-size: 2rem;
  }

  .box .content h2,
  .box .content h3 {
    color: #7A86D2;
  }

  img.sponsor1 {
    width: 85%;
  }
}
#thanks .box{
  background-color: transparent;
}
#thanks img.sponsor1{
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.copyright{
  margin-top: 40px;
  padding: 15px;
  background-color: #7A86D2;
}
.visually-hidden{
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}