@charset "UTF-8";
::placeholder {
  color: var(--gray-300);
}

.mw_wp_form .horizontal-item + .horizontal-item{
    margin-left: 0px !important;
}
.mw_wp_form input[type=number]{
    width: 6rem;
}
.checkbox-items{
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.mwform-checkbox-field{
    width: calc(50% - 0.25rem);
    display: block;
}

.mwform-checkbox-field input[type="checkbox"],
.mwform-radio-field input[type="radio"]{
    display: none;
}
.mwform-checkbox-field input[type="checkbox"] + .mwform-checkbox-field-text,
.mwform-radio-field input[type="radio"] + .mwform-radio-field-text{
    background-color: var(--gray-100);
    padding: 1.2rem;
    width: 100%;
    display: block;
    color: var(--gray-400);
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}
.mwform-checkbox-field input[type="checkbox"] + .mwform-checkbox-field-text:hover,{
    cursor: pointer;
    background-color:var(--gray-200);
}
.mwform-checkbox-field input[type="checkbox"] + .mwform-checkbox-field-text::before,
.mwform-radio-field input[type="radio"] + .mwform-radio-field-text::before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
    background: var(--white);
}
.mwform-checkbox-field input[type="checkbox"] + .mwform-checkbox-field-text::before{
    border-radius: 0.2rem;
}
.mwform-radio-field input[type="radio"] + .mwform-radio-field-text::before{ 
    border-radius: 100%;
}
.mwform-checkbox-field input[type="checkbox"]:checked + .mwform-checkbox-field-text,
.mwform-radio-field input[type="radio"]:checked + .mwform-radio-field-text{
  color: teal;
  background-color:var(--black);
  color: var(--white);
}
.mwform-checkbox-field input[type="checkbox"]:checked + .mwform-checkbox-field-text::before{
  content: "";
}
.mwform-radio-field input[type="radio"]:checked + .mwform-radio-field-text::before{
    content: "";
    offset-path: var(--white) solid 1rem;
    border: 4px solid #ffffff;
    background: var(--black);
}
.mwform-checkbox-field input[type="checkbox"]:checked + .mwform-checkbox-field-text::after{
    content: "";
    display: inline-block;
    position: absolute;
    border-bottom: 3px solid var(--black);
    border-left: 3px solid var(--black);
    height: 9px;
    width: 14px;
    top: 50%;
    left: 2.1rem;
    transform: rotate(-45deg) translateY(-100%);
}

.agree-checkbox-group .mwform-checkbox-field{
    width: 100%;    
}
.agree-checkbox-group .mwform-checkbox-field input[type="checkbox"] + .mwform-checkbox-field-text{
    background-color: unset;
}
.agree-checkbox-group .mwform-checkbox-field:first-child input[type="checkbox"] + .mwform-checkbox-field-text{
    margin-top: -1.2rem;
}
.agree-checkbox-group .mwform-checkbox-field input[type="checkbox"] + .mwform-checkbox-field-text::before{
    border: 1px solid var(--gray-400);
}
.agree-checkbox-group .mwform-checkbox-field input[type="checkbox"]:checked + .mwform-checkbox-field-text{
    color: initial;
}
.page-table + .btn-area .back{
    float: left;
    margin-top: 2rem;
}
.page-table + .btn-area .btn{
    margin-inline: auto;
    display: block;
}
@media screen and (max-width: 768px) {
    .mwform-checkbox-fields{
        flex-direction: column;
    }
    .mwform-checkbox-field{
        width: 100%;
    }
    .agree-checkbox-group .mwform-checkbox-field input[type="checkbox"] + .mwform-checkbox-field-text{  
        padding-left: 0;
    }
    .mwform-checkbox-field input[type="checkbox"]:checked + .mwform-checkbox-field-text::after{
        left: 1rem;
    }
}

/* privacy policy */
.privacy-policy {
    height: 35rem;
    padding: 1.5rem 2rem 2rem;
    overflow-y: scroll;
    border: 1px solid var(--gray-400);
    border-radius: 0.2rem;
    margin-left: 1.2rem; 
    margin-bottom: 2rem;
}
.privacy-policy__box {
    margin-top: 30px;
}
.privacy-policy__box:first-child {
    margin-top: 0px;
}

.privacy-policy__head {
    font-size: 1.2em;
    font-weight: 700;
}

.privacy-policy__detail {
    margin-top: .5em;
}
@media screen and (max-width: 1000px) {
  .wrapper {
    margin-right: 5%;
    margin-left: 5%;
  }
}
@media screen and (max-width: 768px) {
  .privacy-policy{
    margin-left: 0;
  }
}

/* 確認画面 */
.page-table.confirm .table-header{
    background-color: var(--gray-100);
    padding-left: 2.4rem;
}
.mw_wp_form_confirm .agree-checkbox-group .table-data br{
    display: block;
}
.mw_wp_form_confirm .privacy-policy{
  display: none;
}
@media screen and (max-width: 768px) {
    .page-table.confirm .table-header{
        padding: 0.5rem 1rem;
    }
    .page-table.confirm + .btn-area{
        display: flex;
        flex-direction: column-reverse;
    }
    .page-table + .btn-area .back{
        margin-top: 0;
    }
}

/* thanks */
.thanks .ttl{
    font-size: clamp(1.8rem,4vw,2.4rem);
    font-weight: bold;
}