@media screen and (max-width:828px) {

    table th,
    table td{
        display: block;
        -webkit-box-sizing: border-box;
           -moz-box-sizing: border-box;
                box-sizing: border-box;
    }
}

.kv__image img{
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}
/* 追加点 */
@media screen and (max-width:828px) {
    .kv__image img{
        height: 220px;
        object-fit: cover;
        object-position: center;
    }
}
@media screen and (max-width:828px) {
    .kv__image img{
        height: 160px;
    }
}

/* Contact
*********************************************************/
/* 追加点 */
.l-contact_block{
    margin-bottom: 48px;
}

/* 変更点 */
@media screen and (max-width: 828px) {
    .l-contact_block{
        margin-bottom: 40px;
    }
}

/* 変更点 */
.l-contact_wrap{
    text-align: center;
    background-color: rgba(0, 183, 238, 0.05);
    margin-bottom: 120px;
    padding: 48px;
    box-sizing: border-box;
}
/* 追加点 */
@media screen and (max-width: 828px) {
    .l-contact_wrap{
        margin-bottom: 80px;
        padding: 40px 20px;
    }
}
.l-contact_wrap h3{
    font-size: 2.4rem;
    line-height: 2;
    font-weight: 500;
}
.l-contact_address{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 16px;
    font-size: 3.5rem;
    font-weight: bold;
}

/* 変更点 */
.l-contact_wrap time{
    font-size: 1.4rem;
}

/* 追加点 */
.l-contact_text{
    font-size: 4rem;
}

/* 追加点 */
.l-contact_text-add{
    font-size: 3rem;
    margin-right: 8px;
}

/* 変更点 */
.form__head{
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 24px;
}

.mw_wp_form table {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 40px;
}

.mw_wp_form table table{
    margin:0;
}

/* 変更点 */
.mw_wp_form table th,
.mw_wp_form table td {
    padding: 20px 24px;
    font-size: 1.6rem;
    vertical-align: top;
    text-align: left;
    border: solid 3px #fff;
    border-left: none;
    border-top: none;
    background: #FAFAFA;
    box-sizing: border-box;
}

.mw_wp_form table th {
    width: 250px;
    background: #aecde6;
    font-weight: 700;
}

/* 変更点 */
.mw_wp_form table td{
    padding: 14px 24px;
}

.mw_wp_form table table th,
.mw_wp_form table table td{
    background: none !important;
    border: none !important;
    padding: 2px !important;
}

.mw_wp_form table table th{
    font-weight: normal;
    width: 174px;
    vertical-align: middle;
}

/* 変更点 */
.mw_wp_form table th span {
    padding-right: 16px;
}
/* 追加点 */
@media screen and (max-width: 828px) {
    .mw_wp_form table th span {
        padding-right: 8px;
    }
}

/* 変更点 */
.mw_wp_form table th span.red {
    color: #FF0000;
    font-size: 1.3rem;
}

/* 変更点 */
.mw_wp_form table th span.gray {
    color: #999999;
    font-size: 1.3rem;
}

/* 変更点 */
.mw_wp_form table th span::before{
    content: "※";
    font-size: 1.3rem;
}

/* 変更点 */
.mw_wp_form .check-agree{
    font-size: 1.6rem;
    font-weight: 400;
}

.mw_wp_form_confirm .check-agree,
.mw_wp_form_preview .check-agree{
    display: none;
}

/* 変更点 */
.mw_wp_form .agree-wrap{
    font-size: 1.6rem;
    background:#f9f9f9;
    margin: 32px 0 64px;
    padding: 18px 24px 22px;
    box-sizing: border-box;
    font-weight: bold;
    line-height: initial;
}

/* 追加点 */
.mw_wp_form .agree-wrap .mwform-checkbox-field-text{
    font-weight: bold;
}


/* 変更点 */
.mw_wp_form input[type=text],
.mw_wp_form input[type=email],
.mw_wp_form input[type=tel] {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    box-sizing: border-box;
    border: solid 1px #E2E2E2;
}

.mw_wp_form .var01 {
    width: 10em;
}

/* 変更点 */
.mw_wp_form input[type=checkbox] {
    display: inline-block;
    margin-right: 0.5em;
    border: solid 1px #E2E2E2;
}

.mw_wp_form input[type=checkbox] + label {
    display: inline-block;
    margin-bottom: 5px;
}

.mw_wp_form input.var02 {
    width: 10em;
}

.mw_wp_form .var03 {
    width: 8em;
}

/* 変更点 */
.mw_wp_form select{
    height: 48px;
    max-width: 210px;
    width: 100%;
    text-align: center;
    border: solid 1px #E2E2E2;
}

/* 変更点 */
.mw_wp_form textarea {
    max-width: 777px;
    width: 100%;
    height: 10em;
    padding: 10px;
    box-sizing: border-box;
    border: solid 1px #E2E2E2;
}

.mw_wp_form .bg-danger {
    padding: 10px;
    margin-top: 5px;
}

.mw_wp_form .btnWrap01 {
    padding: 25px 0 0;
    overflow: hidden;
}

.mw_wp_form .btnWrap01 p {
    font-size: 1.4rem;
}

/* .mw_wp_form input[type=submit],
.mw_wp_form .btnWrap01 a,
.mw_wp_form .fm-modoru {
    appearance: none;
    border: none;
    width: 240px;
    line-height: 56px;
    color: #fff;
    border-radius: 40px;
    background: #116cb6;
    display: block;
    margin: 20px auto;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.mw_wp_form input[type=submit]:hover,
.mw_wp_form .btnWrap01 a:hover,
.mw_wp_form .fm-modoru:hover{
    opacity: 0.6;
} */

.mw_wp_form .fm-modoru{
    margin:0 auto;
    background: #666;
}

.mw_wp_form input[name=policy] {
    transform: scale(1.5);
}

.mw_wp_form label[for=policy] {
    font-size: 1.5rem;
    vertical-align: middle;
    display: inline-block;
    padding-left: 0.5em;
}

.mwform-checkbox-field input,
.mwform-radio-field input{
    cursor: pointer;
}
.mwform-checkbox-field input,
.mwform-radio-field input{
	margin-right: 21px;
}
input[type=checkbox],
input[type=radio]{
	width: 20px;
	height: 20px;
	vertical-align: -4px;
}

.ui-datepicker th,
.ui-datepicker td {
  display: table-cell;
  width: auto;
}
.ui-datepicker th {
  padding: 0;
  font-size: 1.2rem;
}
.ui-datepicker td span,
.ui-datepicker td a {
  font-size: 1.2rem;
}

.btn__wrap {
    margin: 80px auto 0;
}
.btn__wrap a{
    display: block;
    width: 240px;
    line-height: 56px;
    border-radius: 40px;
    text-align: center;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: bold;
    background-color: #116cb6;
    color: #fff;
    margin: 0 auto;
}

/* 追加点 */
.mw_wp_form .error{
    font-size: 1.5rem;
    padding: 10px;
    font-weight: 400;
    line-height: 1.6;
}
@media screen and (max-width:828px) {
    .mw_wp_form .error{
        font-size: 1.4rem;
        padding: 8px;
    }
}

/* 追加点 */
.mwform-radio-field-text, 
.mwform-checkbox-field-text{
    font-weight: 400;
    vertical-align: middle;
}
.mw_wp_form .mwform-checkbox-field, 
.mw_wp_form .mwform-radio-field{
    display: inline-block;
}

.mw_wp_form input[type=radio],
.mw_wp_form input[type=checkbox]{
    display: none;
}

/* チェックボックス */
.mw_wp_form .horizontal-item + .horizontal-item.mwform-checkbox-field{
    margin-left: 48px;
}

.mw_wp_form .agree-wrap .mwform-checkbox-field .mwform-checkbox-field-text::before {
    margin-right: 16px;
}

.mw_wp_form .mwform-checkbox-field .mwform-checkbox-field-text::before {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: url(../../images/ico_checkbox_checkoff.png) no-repeat;
    background-size: contain;
    vertical-align: sub;
    content: "";
}

.mw_wp_form .mwform-checkbox-field input[type=checkbox]:checked + .mwform-checkbox-field-text::before{
    background: url(../../images/ico_checkbox_checkon.png) no-repeat;
    background-size: contain;
}

/* ラジオボタン */
.mw_wp_form .horizontal-item + .horizontal-item.mwform-radio-field{
    margin-left: 48px;
}

.mw_wp_form .mwform-radio-field .mwform-radio-field-text::before {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: url(../../images/ico_radio_checkoff.png) no-repeat;
    background-size: contain;
    vertical-align: sub;
    content: "";
}

.mw_wp_form .mwform-radio-field input[type=radio]:checked + .mwform-radio-field-text::before{
    background: url(../../images/ico_radio_checkon.png) no-repeat;
    background-size: contain;
}

@media screen and (max-width:828px) {
    .mwform-radio-field,
    .mwform-checkbox-field{
        margin: 2px 16px !important;
        margin-left: 0px !important;
    }
    .mwform-radio-field-text, 
    .mwform-checkbox-field-text{
        line-height: 1.6;
    }
}

/* 追加点 ここまで */


/* accordion */

.accbox label.acotitle {
    display: block;
    font-weight: bold;
    cursor :pointer;
    transition: all 0.5s;
}

.accbox label.acotitle h2:before {
    content: '▶';
    padding-right: 8px;
    color:#ccc;
    font-size:1.5rem;
}

.cssacc:checked + label.acotitle h2:before {
    content: '▼';
}

.accbox input.cssacc {
    display: none;
}

.accbox .accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

.cssacc:checked + label.acotitle + .accshow {
    height: auto;
    opacity: 1;
}

.error {
    background: pink;
    padding: 10px;
    margin-top: 10px;
}

.mw_wp_form table table .error {	
    margin-bottom: 20px;	
}	

/* 変更点 */
.mw_wp_form .check-agree{
    line-height: 2;
}


@media screen and (max-width:828px) {
    .l-contact_wrap .l-contact_address{
        display: flex;
        flex-direction: column;
    }
    .mw_wp_form input[type="file"] {
        box-sizing: border-box;
        width: 100%;
    }

    .form__head{
        font-size: 2rem;
    }
    .mw_wp_form table th,
    .mw_wp_form table td {
        display: block;
        width: 100%;
        border: none;
        box-sizing: border-box;
        padding: 16px 20px;
    }
    /* 追加点 削除*/
    /* .mw_wp_form table td{
        padding: 10px 15px;
    } */
    .mw_wp_form input.var02 {
        width: 6em;
    }
    .mw_wp_form input[type=text].var01 {
        width: 100%;
        margin-bottom: 10px;
    }

    .mw_wp_form .var03 {
        width: 4em;
    }

    .mw_wp_form .var03 + br + .var01 {
        margin-top: 20px;
    }

    .btnWrap01{
        text-align: center;
    }

    .mw_wp_form .check-agree{
        text-align: left;
    }

    /* 変更点 */
    .mw_wp_form .agree-wrap{
        text-align: center;
        margin: 32px 0 48px;
        padding: 16px 20px 20px;
    }
    /* 追加点 */
    .contact .form__text br{
        display: none;
    }
}

@media screen and (max-width: 450px) {
    /* 追加点 */
    .mw_wp_form table th, 
    .mw_wp_form table td{
        font-size: 1.5rem;
    }
    /* 変更点 */
    .l-contact_wrap h3{
        font-size: 1.5rem;
        line-height: 1.6;
    }
    /* 変更点 */
    .l-contact_text-add{
        font-size: 2.4rem;
        margin-left: 6px;
    }
    /* 追加点 */
    .l-contact_wrap{
        text-align: center;
    }
    .l-contact_text{
        margin: 8px 0;
        font-size: 3rem;
    }
    .l-contact_wrap .l-contact_address{
        font-size: 2.4rem;
    }
    .l-contact_wrap time{
        font-size: 1.5rem;
    }
    .mw_wp_form input.var02{
        width: 5em;
    }
    /* 追加点 */
    .mw_wp_form table th,
    .mw_wp_form table td {
        padding: 14px 20px;
    }
}