@charset "UTF-8";

/* *******************************************************************************************
*
*   タブ
*
******************************************************************************************* */

.tab {
    display: block;
    width: 100%;
    max-width: 950px;
    height: auto;
    margin: 0 auto;
    padding: 0 0 60px;
}

.tab_inr ul {
    width: 100%;
    margin: 0 auto;
    font-size: 0;
    text-align: center;
    float: left;
}

.tab_inr ul li {
    display: inline-block;
    width: 45%;
    height: 60px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.tab_inr ul li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-weight: bold;
    line-height: 3;
    letter-spacing: 0.1em;
    color: #c8c8c8;
    background: #ffffff;
    border: 2px solid #ecf1f4;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    border-radius: 20px 20px 0 0;
}

.tab_inr ul li a.active {
    color: #595757;
    background: #ecf1f4;

}

.tab_inr ul li a:hover {
    color: #595757;
    opacity: 1;
}

.tab_inr ul li a.active:hover {
    color: #c8c8c8;
}

/******************/
.tab02 {
    display: block;
    width: 100%;
    max-width: 950px;
    height: auto;
    margin: 0 auto;
    padding: 0 0 50px;
}

.tab_inr02 ul {
    width: 100%;
    margin: 0 auto;
    font-size: 0;
    text-align: center;
    float: left;
}

.tab_inr02 ul li {
    display: inline-block;
    width: 33.3%;
    height: 50px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.tab_inr02 ul li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 15px;
    font-weight: bold;
    line-height: 3;
    letter-spacing: 0.1em;
    color: #c8c8c8;
    background: #ffffff;
    border: 2px solid #ecf1f4;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 20px 20px 0 0;
    -moz-border-radius: 20px 20px 0 0;
    border-radius: 20px 20px 0 0;
}

.tab_inr02 ul li a.active {
    color: #595757;
    background: #ecf1f4;

}

.tab_inr02 ul li a:hover {
    color: #595757;
    opacity: 1;
}

.tab_inr02 ul li a.active:hover {
    color: #c8c8c8;
}

/***************************************/


@media screen and (max-width : 750px) {

    .tab {
        max-width: 750px;
        padding: 0 0 65px;
    }

    .tab_inr ul li {
        height: 65px;
    }

    .tab_inr ul li a {
        padding: 8px 0;
        font-size: calc(0.9375rem + ((1vw - 3.21px) * 0.6993));
        line-height: 1.5;
        letter-spacing: 0;
    }

}

@media screen and (max-width : 320px) {
    .tab_inr ul li a {
        font-size: 13px;
    }
}

/*********************************************************/

@media screen and (max-width : 750px) {

    .tab02 {
        max-width: 750px;
        padding: 0 0 65px;
    }

    .tab_inr02 ul li {
        height: 65px;
    }

    .tab_inr02 ul li a {
        padding: 8px 0;
        font-size: calc(0.75rem + ((1.2vw - 5px) * 0.6993));
        line-height: 1.5;
        letter-spacing: 0;
    }

}

@media screen and (max-width : 320px) {
    .tab_inr02 ul li a {
        font-size: 13px;
    }
}

/* *******************************************************************************************
*
*   アコーディオン
*
******************************************************************************************* */

.ac-box ul {
    height: auto;
    margin: 0 auto;
}

.ac-box ul li {
    width: 100%;
    margin: 0 auto 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.ac-box ul li:last-of-type {
    margin: 0 auto;
}

.ac-box ul li .q {
    display: inline-block;
    width: 100%;
    height: auto;
    min-height: 50px;
    padding: 16px 20px;
    color: #ffffff;
    font-size: 19px;
    font-weight: bold;
    text-align: left;
    background: #8f8e8e;
    -webkit-border-radius: 10px 10px 10px 10px / 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px / 10px 10px 10px 10px;
    box-sizing: border-box;
    position: relative;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}

.ac-box ul li .q.active {
    -webkit-border-radius: 10px 10px 0 0 / 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0 / 10px 10px 0 0;

}

.ac-box ul li .q:after {
    display: block;
    content: "";
    /*よこ線*/
    width: 15px;
    height: 3px;
    background: #fff;
    transition: all .2s ease-in-out;
    position: absolute;
    right: 20px;
    bottom: 50%;
}

.ac-box ul li .q:before {
    display: block;
    content: "";
    /*たて線*/
    width: 15px;
    height: 3px;
    transform: rotate(90deg);
    background: #fff;
    transition: all .3s ease-in-out;
    position: absolute;
    right: 20px;
    bottom: 50%;
}

.ac-box ul li .q.active:before {
    display: none;
}

.ac-box ul .ac_inner {
    display: none;
}

.ac-box ul .ac_inner .answer {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
    line-height: 1.5;
    background: #ffffff;
    -webkit-border-radius: 0 0 10px 10px / 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px / 0 0 10px 10px;
    box-sizing: border-box;
}

@media screen and (max-width : 750px) {

    .ac-box ul li {
        width: 100%;
    }

    .ac-box ul li .q {
        padding: 10px 38px 10px 15px;
        /* font-size: 5vw; */
        font-size: calc(1.15625rem + ((1vw - 3.2px) * 0.3488));
        line-height: 1.8;
    }

    .ac-box ul .ac_inner .answer {
        padding: 15px;
        font-size: 3.75vw;
        line-height: 1.8;
    }
}