@charset "utf-8";

/* ------------------------------------------------------
GENERAL
------------------------------------------------------ */
:root {
  --color-blk: #122343;
  --color-red: #FE5052;
  --color-white: #fff;
  --color-blu: #1146BE;
  --gradation-01: linear-gradient(#1146be 0%, #8846d1 50%, #fe5052 100%);
  --gradation-01-left: linear-gradient(to left,#1146be 0%, #8846d1 50%, #fe5052 100%);
}
.grecaptcha-badge {
    bottom: 84px !important;
    z-index: 1000;
}


/* チェックボックス */
.checkbox--style2 label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.checkbox--style2 input {
  position: absolute;
}
.checkbox--style2 > * + * {
  margin-top: 1.2em;
  margin-left: 0 !important;
  display: block;
}
.checkbox--style2 .mwform-checkbox-field-text {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.checkbox--style2 .mwform-checkbox-field-text:before {
  content: "";
  width: 1.7647em;
  height: 1.7647em; 
  border: 1px solid #BCD5FA; 
  border-radius: 0.35vw;
  background-color: #fff;
  position: relative;
  margin-right: 1.7em;
  transition: all 0.3s;
}
.checkbox--style2 .mwform-checkbox-field-text:after {
  content: "";
  position: absolute;
  left: calc(1.7647em / 2);
  left: -webkit-calc(1.7647em / 2);
  top: 20%;
  width: 1em;
  height: 1em;
  transform: translateX(-50%);
  background: url("../img/common/ico_cheked.png") no-repeat center/contain;
  opacity: 0;
  transition: opacity 0.3s;
}
.checkbox--style2 input:checked + .mwform-checkbox-field-text:after {
  opacity: 1; /* 選択時に表示 */
}
@media screen and (max-width: 820px) {
  .checkbox--style2 label {font-size: 1.13em}
  .checkbox--style2 .mwform-checkbox-field-text:before { border-radius: 1.33vmin }
}


.form__privacy .checkbox--style2 {
    display: flex;
    justify-content: center;
}

.mw_wp_form_preview .form__privacy,
.mw_wp_form_preview .form__link {
    display: none;
}

form .error {
  margin-top: .8em !important;
  font-size: min(1.18vw, 1.7rem) !important;
  color: var(--color-red) !important;
  font-weight: bold !important;
}
@media screen and (max-width: 820px) {
  form .error { font-size: 3.73vmin !important;}
  
}
