@charset "utf-8";
/* reset *************************************/
div#mfp_loading {
  display: none;
}
div#mfp_loading_screen {
  display: none;
}
div#mfp_overlay_background {
  display: none;
}
div#mfp_hidden {
  display: none !important;
}
div#mfp_OperationCheck {
  display: none !important;
}

/* form ***********************************/
.mailform input[type="tel"],
.mailform input[type="email"],
.mailform input[type="text"],
.mailform input[type="date"],
.mailform select {
  width: 100%;
  padding: 12px 6px;
  box-sizing: border-box;
  color: #000;
  border: solid 1px #ababab;
  border-radius: 5px;
  font-family: "游ゴシック", "Lucida Sans Unicode", "Lucida Grande", "Arial",
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック",
    sans-serif;
}
/* checkbox */
input[type="checkbox"] {
  display: none;
}
.formCbox {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  color: #1a1a1a;
  border: 1px solid #706450;
  border-radius: 12px;
  line-height: 1.5;
  margin: 0 5px 5px;
  padding: 2px 12px;
  box-sizing: border-box;
  font-size: 0.9em;
  background-color: #fff;
}

input[type="checkbox"]:checked + label {
  background: #3890ab;
  color: #ffffff;
}
/* textarea */
.mailform textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  max-height: 300px;
  min-height: 150px;
  height: 250px;
  padding: 12px 6px;
  box-sizing: border-box;
  color: #000;
  border: solid 1px #ababab;
  border-radius: 5px;
  font-family: "游ゴシック", "Lucida Sans Unicode", "Lucida Grande", "Arial",
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック",
    sans-serif;
}
/* button */
.mailform input[type="submit"] {
  font-size: 1.2em;
  color: #fff;
  background: #44a385;
  border: none;
  border-radius: 30px;
  font-family: "Zen Maru Gothic", serif;
  padding: 10px 75px;
  text-align: center;
  cursor: pointer;
}
.mailform input[type="submit"]:hover {
  opacity: 0.8;
  transition: 0.3s;
}
/* radio */
.radio-001 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 1em;
  border: none;
  margin: 0 0 1.5em;
}

.radio-001 label {
  display: flex;
  align-items: center;
  gap: 0 0.25em;
  position: relative;
  cursor: pointer;
}

.radio-001 label::before,
.radio-001 label:has(:checked)::after {
  border-radius: 50%;
  content: "";
  position: absolute;
}

.radio-001 label::before {
  width: 12px;
  height: 12px;
  background-color: #e6edf3;
  border: solid 1px #ccc;
  left: 0;
}

.radio-001 label:has(:checked)::after {
  position: absolute;
  top: 50%;
  left: 7px;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #2589d0;
  animation: anim-radio-001 0.3s linear;
}

@keyframes anim-radio-001 {
  0% {
    box-shadow: 0 0 0 1px transparent;
  }
  50% {
    box-shadow: 0 0 0 10px #2589d033;
  }
  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}

.radio-001 input {
  display: none;
}

/* button */
button {
  width: 250px;
  max-width: 95%;
  height: 45px;
  line-height: 45px;
  font-family: "游ゴシック", "Lucida Sans Unicode", "Lucida Grande", "Arial",
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック",
    sans-serif;
  padding: 0 12px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: #00a2d6;
  font-size: 1em;
}
button:hover {
  transition: 0.5s;
  opacity: 0.8;
}
/* input size */
.text_l {
  width: 75% !important;
}
.text_m {
  width: 60% !important;
}

/* error */
.mfp_err {
  color: red;
  font-size: 0.85em;
  margin: 2px 0 5px;
}
@media screen and (max-width: 768px) {
  /* form ***********************************/
  /* checkbox */
  input[type="checkbox"] {
    display: none;
  }
  .formCbox {
    border-radius: 15px;
    padding: 5px 15px;
  }
  /* textarea */
  .mailform textarea {
    max-height: 350px;
    min-height: 200px;
    height: 250px;
  }
  /* button */
  .formBtn {
    margin: 50px auto 0;
  }
  /* error */
  .mfp_err {
    color: red;
    font-size: 0.85em;
    margin: 2px 0 5px;
  }
  /* input size */
  .text_l {
    width: 100% !important;
  }
  .text_m {
    width: 100% !important;
  }
  /* button */
  button {
    width: 100%;
    max-width: 100%;
  }
  /* radio */
  .radio-001 label::before {
    top: 50%;
    transform: translateY(-50%);
  }
}
