@charset "UTF-8";

/* input
***********************/
input {
  font: inherit;
  vertical-align: middle;
}

input[type=text] {
  appearance: none;
  background: #fff;
  border: 2px solid #cfcfcf;
  border-radius: 0;
  font-size: 1.8rem;
  width: 100%;
  height: 50px;
  padding: 0 1em;
}
@media screen and (max-width: 767px) {
  input[type=text] {
    height: 55px;
  }
}
@media screen and (max-width: 767px) and (max-height: 750px) {
  input[type=text] {
    font-size: 1.7rem;
    height: 45px;
  }
}

input[type=text].is-active {
  background: #edf8f9;
  border-color: #00b2b3;
  color: #00b2b3;
  font-weight: 700;
}

input[type=text].is-error {
  background: #ffe6e7;
  border-color: #db0000;
  color: #db0000;
  font-weight: 700;
}

input[type=text]:focus {
  background: #edf8f9;
  border: 2px solid #cfcfcf;
  color: #000;
  font-weight: 400;
  outline: 0;
}

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

/* banner
***********************/
.entry-header__banner {
  padding: 20px 0;
  text-align: center;
  width: 1000px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .entry-header__banner {
    padding: 0;
    text-align: center;
    width: auto;
  }
}

.entry-header__banner img {
  width: 100%;
}

/* form
***********************/
#main {
  margin: 50px auto;
}
@media screen and (max-width: 767px) {
  #main {
    margin: 25px auto;
  }
}

.slider-container {
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
}

.entry-main-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
@media screen and (max-width: 767px) {
  .entry-main-section {
    gap: 40px;
    padding: 0 10px;
    width: 100%;
  }
}

.section-item {
  font-size: 1.5rem;
  margin: 0 auto;
  width: 1000px;
}
@media screen and (max-width: 767px) {
  .section-item {
    width: 100%;
  }
}

.field-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
@media screen and (max-width: 767px) {
  .field-title {
    font-size: 1.6rem;
    line-height: 1.4;
  }
}

.field-title .required-icon {
  background: #ffa337;
  color: #fff;
  font-size: 14px;
  margin-right: 5px;
  margin-bottom: 6px;
  padding: 2px 4px 1px;
}

@media screen and (max-width: 767px) {
  .field-body {
    margin: 0 auto;
    width: 85%;
  }
}

.field-note {
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 10px 0 0;
}
@media screen and (max-width: 767px) {
  .field-note {
    font-size: 1.2rem;
    margin: 5px 0 0;
  }
}

.form-btn-wrap {
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .form-btn-wrap {
    width: 95%;
  }
}

.btn-next,
.btn-submit {
  border: none;
  border-radius: 15px;
  background: #aaa;
  color: #fff;
  cursor: no-drop;
  display: block;
  font: inherit;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto;
  outline: 0;
  position: relative;
  width: 500px;
  height: 70px;
}
@media screen and (max-width: 767px) {
  .btn-next,
  .btn-submit {
    border-radius: 10px;
    width: 100%;
    height: 65px;
  }
}

.btn-next::after,
.btn-submit::after {
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  content: '';
  cursor: pointer;
  display: inline-block;
  position: absolute;
  right: 30px;
  top: 45%;
  width: 15px;
  height: 15px;
  margin-left: 20px;
  transform: translateY(-20%) rotate(135deg);
  vertical-align: middle;
}
@media screen and (max-width: 767px) {
  .btn-next::after,
  .btn-submit::after {
    width: 10px;
    height: 10px;
  }
}

.btn-next.is-active {
  background: #00b2b3;
  cursor: pointer;
}

.btn-submit.is-active {
  background: #ff7b38;
  cursor: pointer;
}

.btn-submit.is-active:hover {
  opacity: 0.75;
}

.ef-error {
  color: #db0000;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 5px 0 0;
  width: 100%;
}

.ef-error:empty {
  display: none;
}

/* 入力メールアドレス表示 */
.email-confirm {
  color: #00b2b3;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0;
  padding: 0 10px;
  word-break: break-all;
}
@media screen and (max-width: 767px) {
  .email-confirm {
    font-size: 2.2rem;
  }
}

.email-confirm:empty {
  display: none;
}

/* ラジオボタン形式の選択項目 */
.radio-group {
  display: flex;
  gap: 20px;
}
@media screen and (max-width: 767px) {
  .radio-group  {
    flex-direction: column;
    gap: 10px;
  }
}

.radio-group > label {
  flex: 1;
}
@media screen and (max-width: 767px) {
  .radio-group > label {
    width: 100%;
  }
}

.radio-label {
  background-color: #fff;
  border: 2px solid #cfcfcf;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 25px 0;
  transition: all .4s ease;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .radio-label {
    border-radius: 0;
    padding: 15px 15px 15px 50px;
    position: relative;
    text-align: left;
  }

  .radio-label::after,
  .radio-label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
  }

  .radio-label::before {
    background: #fff;
    border: 2px solid #cfcfcf;
    border-radius: 50%;
    width: 18px;
    height: 18px;
  }

  .radio-label::after {
    background: #00b2b3;
    border-left: 3px solid #00b2b3;
    border-bottom: 3px solid #00b2b3;
    border-radius: 50%;
    opacity: 0;
    top: 40%;
    left: 19px;
    width: 10px;
    height: 10px;
  }
}

.radio-label:has(input:checked) {
  background: #edf8f9;
  border-color: #00b2b3;
  color: #00b2b3;
}

@media screen and (max-width: 767px) {
  .radio-label:has(input:checked)::before {
    border: none;
  }

  .radio-label:has(input:checked)::after {
    opacity: 1;
    transform: rotate(-45deg) translateY(0);
  }
}

.radio-label:has(input.is-error) {
  background: #ffe6e7;
  border-color: #db0000;
  color: #db0000;
}

/* 同意する */
.agree-link {
  margin-bottom: 10px;
  text-align: center;
}

.agree-link a, .agree-link a:visited {
  color: #00b2b3;
  text-decoration: none;
}

.agree-checkbox {
  margin: 10px auto 20px;
  text-align: center;
}

.agree-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.agree-checkbox label::before {
  background: #fff;
  border: 1px solid silver;
  border-radius: 3px;
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
}

.agree-checkbox label:has(input[type=checkbox]:checked)::before {
  background: #00b2b3;
  border-color: #00b2b3;
}

.agree-checkbox label:has(input[type=checkbox]:checked)::after {
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
  position: absolute;
  width: 8px;
  height: 5px;
  left: 4px;
  top: 40%;
  transform: translateY(-50%) rotate(-45deg);
}

/* overlay
***********************/
body:has(.overlay.is-show) {
  overflow: hidden;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  visibility: hidden;
  z-index: 1000;
}

.overlay.is-show {
  opacity: 1;
  visibility: visible;
}

/* loader
***********************/
.loader {
  animation: spin 1.2s linear infinite;
  border: 10px solid #edf8f9;
  border-top: 10px solid #00b2b3;
  border-radius: 50%;
  position: absolute;
  height: 100px;
  width: 100px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* modal guidance
***********************/
.modal-content {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px #7f7f7f;
  color: inherit;
  font-size: 1.7rem;
  max-height: 100dvh;
  min-height: 500px;
  overflow-y: auto;
  padding: 40px 50px;
  position: relative;
  text-align: center;
  width: 500px;
}
@media screen and (max-width: 767px) {
  .modal-content {
    border-radius: 0;
    padding: 40px;
    height: 100%;
    width: 100%;
  }
}
@media screen and (max-height: 600px) {
  .modal-content {
    min-height: 100dvh;
  }
}

.close-btn__top {
  appearance: none;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 40px;
  line-height: 1;
  outline: none;
  position: absolute;
  top: 8px;
  right: 8px;
}

.guidance-check-mark {
  margin-bottom: 8px;
}

.guidance-title {
  color: #00b2b3;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-all;
}
@media screen and (max-width: 767px) {
  .guidance-title {
    font-size: 2.2rem;
  }
}
@media screen and (max-width: 767px) and (max-height: 750px) {
  .guidance-title {
    font-size: 2rem;
  }
}

.guidance-message {
  display: flex;
  flex-direction: column;
  gap: 15px;
  line-height: 1.4;
  margin: 25px 0;
  text-align: left;
}

.guidance-message .highlight {
  color: #fd8737;
  font-weight: 700;
}

.guidance-link::before {
  content: "＞";
  font-weight: 700;
}

.guidance-link a {
  color: #00b2b3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.outlined-link {
  margin: 20px auto;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .outlined-link {
    width: 85%;
  }
}

.outlined-link > a {
  border: 2px solid #00b2b3;
  border-radius: 50px;
  color: #00b2b3;
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  padding: 10px 80px;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 400px;
}
@media screen and (max-width: 767px) {
  .outlined-link > a {
    font-size: 16px;
    padding: 10px 40px;
    width: 100%;
  }
}

.outlined-link > a::before,
.outlined-link > a::after {
  background: #00b2b3;
  content: '';
  position: absolute;
  height: 2px;
  width: 9px;
  top: 50%;
  right: 15px;
  transform-origin: right;
}

.outlined-link > a::before {
  transform: translateY(-50%) rotate(-35deg);
}

.outlined-link > a::after {
  transform: translateY(-50%) rotate(35deg);
}

.close-btn__bottom {
  appearance: none;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
}