@charset "UTF-8";

/* CSS Document */

/*----------------------------------------
PC用レイアウト(768px以上スクリーン)
----------------------------------------*/

/* body全体の初期スタイル調整 */

html,
body {
    width: 100%;
}

body {
    font-size: 62.5%;
    /*emの計算をしやすくするための定番設定*/
    font-family: "YuGothic", "Yu Gothic medium", "Hiragino Sans", "Meiryo", "sans-serif";
    font-weight: normal;
    color: #000;
}

@media only screen and (max-width:768px) {

    body {
        width: 100%;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}


@media only screen and (max-width:768px) {

    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

}

/*----------------------------------------
全体レイアウト/背景設定(PC)
----------------------------------------*/

/* 全体エリア(全体背景を設定するにはここ) */

#main {
    width: 100%;
    margin: 0 auto;
}

@media only screen and (max-width:768px) {

    #main {
        width: 100%;
        margin: 0%;
    }

}

#main-contents {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;

}

@media only screen and (max-width:768px) {
    #main-contents {
        width: 100vw;
        margin: 0 auto;
    }
}


/*----------------------------------------
FV
----------------------------------------*/

.fv {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/*----------------------------------------
CVエリア
----------------------------------------*/

.cv_area {
    position: relative;
    margin: 0 auto;
    text-align: center;

}

.cv-btn {
    position: absolute;
    bottom: -1%;
    width: 50%;
    left: 25%;
}

@media only screen and (max-width:768px) {
    
    .cv-btn {
        position: absolute;
        bottom: 0.8%;
        width: 90%;
        left: 5%;
    }

}

.cv-btn img {
    transition-duration: .4s;

}

.cv-btn:hover {
    transform: scale(1.1);
    opacity: 0.6;
}

.cv-btn.anim-box {
    animation: fuwafuwa 1s ease 0s infinite alternate;
    transform-origin: center;
}

@keyframes fuwafuwa {
    from {
        transform: scale(0.9, 0.9);
    }

    to {
        transform: scale(1, 1);
    }
}

/*----------------------------------------
sec01_お悩み
----------------------------------------*/

.trouble_contents01{
    margin-top: -1px;
}

/*----------------------------------------
sec04_日本語↔︎英語相互変換の仕組み
----------------------------------------*/
#change {
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.carousel_wrap {
    position: absolute;
    top: 20%;
}

.c-carousel {
    position: relative;
    width: 62%;
    margin: 0 auto;
}

@media only screen and (max-width:768px) {

    .carousel_wrap {
        position: absolute;
        top: 15%;
    }

    .c-carousel {
        position: relative;
        width: 90%;
        margin: 0 auto;
    }

}

.c-carousel__activator-main {
    position: absolute;
    z-index: -1;
    opacity: 0;
    position: fixed;
}

.c-carousel__main {
    overflow: hidden;
    position: relative;
}

.c-carousel__main-track {
    display: flex;
    white-space: nowrap;
    transition: transform 0.3s ease-out;
}

.c-carousel__main-item {
    flex-shrink: 0;
    width: 100%;
}

.c-carousel__main-image {
    display: block;
    width: 100%;
}

.c-carousel__main-control-item {
    display: none;
}

.c-carousel__btn-prev-main,
.c-carousel__btn-next-main {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5%;
    transform: translateY(-50%);
    transition: opacity 0.3s;
    cursor: pointer;
}

.c-carousel__btn-prev-main:hover {
    opacity: 0.6;
}

.c-carousel__btn-next-main:hover {
    opacity: 0.6;
}

@media only screen and (max-width:768px) {

    .c-carousel__btn-prev-main,
    .c-carousel__btn-next-main {
        position: absolute;
        top: 50%;
        right: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 9%;
        transform: translateY(-50%);
        transition: opacity 0.3s;
        cursor: pointer;
    }

    .c-carousel__btn-prev-main:hover {
        opacity: 0.6;
    }

    .c-carousel__btn-next-main:hover {
        opacity: 0.6;
    }

}

.c-carousel__btn-prev-main {
    right: auto;
    left: 0;
}

.c-carousel__activator-main:nth-child(1):checked~.c-carousel__main .c-carousel__main-control-item:nth-child(1) {
    display: block;
}

.c-carousel__activator-main:nth-child(2):checked~.c-carousel__main .c-carousel__main-control-item:nth-child(2) {
    display: block;
}

.c-carousel__activator-main:nth-child(3):checked~.c-carousel__main .c-carousel__main-control-item:nth-child(3) {
    display: block;
}

.c-carousel__activator-main:nth-child(1):checked~.c-carousel__main .c-carousel__main-track {
    transform: translateX(calc(-100% * 0));
}

.c-carousel__activator-main:nth-child(2):checked~.c-carousel__main .c-carousel__main-track {
    transform: translateX(calc(-100% * 1));
}

.c-carousel__activator-main:nth-child(3):checked~.c-carousel__main .c-carousel__main-track {
    transform: translateX(calc(-100% * 2));
}

/*----------------------------------------
sec06_受講生の声
----------------------------------------*/

.voice{
    margin-top: -1px;
}

/*----------------------------------------
sec10_よくあるご質問
----------------------------------------*/

#faq {
    background-image: url(../images/sec10_faq_tit_pc.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
}

.accordion_wrap {
    padding: 30% 2% 5% 2%;
    width: 66.5%;
    margin: 0 auto;
}

@media only screen and (max-width:768px) {

    #faq {
        background-image: url(../images/sec10_faq_tit_sp.jpg);
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .accordion_wrap {
        padding: 70% 2% 5% 2%;
        width: 96%;
        margin: 0 auto;
    }

}

.accordion {
    margin-bottom: 3%;
    position: relative;
}

.accordion__btn {
    cursor: pointer;
    position: relative;
}

.accordion__btn::before {
    content: '';
    display: inline-block;
    border-radius: 10%;
    width: 2.5%;
    height: 3px;
    background-color: #d45226;
    position: absolute;
    right: 3.97%;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 1s;
}

.accordion__btn::after {
    content: '';
    display: inline-block;
    border-radius: 10%;
    width: 2.5%;
    height: 3px;
    background-color: #d45226;
    position: absolute;
    right: 3.97%;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 1s;
}

@media only screen and (max-width:768px) {

    .accordion__btn::before {
        content: '';
        display: inline-block;
        border-radius: 10%;
        width: 4.5%;
        height: 3px;
        background-color: #d45226;
        position: absolute;
        right: 3.97%;
        top: 50%;
        transform: translateY(-50%);
        transition: opacity 1s;
    }
    
    .accordion__btn::after {
        content: '';
        display: inline-block;
        border-radius: 10%;
        width: 4.5%;
        height: 3px;
        background-color: #d45226;
        position: absolute;
        right: 3.97%;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        transition: transform 1s;
    }
        
}

.accordion__btn.show::before {
    opacity: 0;
}

.accordion__btn.show::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion__content {
    display: none;
}

/*----------------------------------------
footer
----------------------------------------*/

.footer {
    background-color: #f1f1ea;
    padding: 2.5em 0em;
    text-align: center;
    font-size: 1.4em;
    color: #272727;

}

footer ul {
    display: flex;
    justify-content: center;
}

footer ul li {
    padding: 0 1.5%;
}

li+li {
    border-left: 1px solid #272727;
}

.footer a {
    color: #272727;
}

.footer a1 {
    color: #FF3300;
    font-weight: bold;
}

.footer a:hover {
    color: #d45226;
}

@media only screen and (max-width:768px) {

    .footer {
        background-color: #f1f1ea;
        padding: 1.5em 0.5em 1em ;
        text-align: center;
        font-size: 1.6em;
        color: #272727;
    }

    footer ul {
        display: flex;
        justify-content: center;
    }

    footer ul li {
        padding: 0 3%;
    }    

}