* {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
}

body {
    background-color: #ECEDEF;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
}

.dele-a1 {
    line-height: 70px;
    font-size: 28px;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    color: #F2706B;
}

.title {
    line-height: 70px;
    font-size: 23px;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    /* width: 700px; */
    margin: 10px auto;
}

.title-ex1 {
    color: #E86E12;
}

.title-ex2 {
    color: #04ADEF;
}

.title-ex3 {
    color: #D1222A;
}

.title-ex4 {
    color: #3FAE49;
}

.title-ex5 {
    color: #EC018C;
}

.title-ex6 {
    color: #253E8E;
}

.button-all {
    margin: 0 auto;
    width: 700px;
    margin-top: 100px;
}

.button-all div {
    margin: 50px;
    display: flex;
}

.ex-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 20px;
    padding: 1em 2em;
    width: 300px;
    font-size: 18px;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
    border-radius: 8px;
}

.ex-button::after {
    content: '';
    width: 5px;
    height: 5px;
    transform: rotate(45deg);
}

.ex-button:hover::after {
    border-top: 3px solid #ECEDEF;
    border-right: 3px solid #ECEDEF;
}

.ex-button:hover {
    text-decoration: none;
    color: #ECEDEF;
}

.ex1 {
    color: #E86E12;
    border: #E86E12 solid 5px;
}

.ex1::after {
    border-top: 3px solid #E86E12;
    border-right: 3px solid #E86E12;
}

.ex1:hover {
    background-color: #E86E12;
}

.ex2 {
    color: #04ADEF;
    border: #04ADEF solid 5px;
}

.ex2::after {
    border-top: 3px solid #04ADEF;
    border-right: 3px solid #04ADEF;
}

.ex2:hover {
    background-color: #04ADEF;
}

.ex3 {
    color: #D1222A;
    border: #D1222A solid 5px;
}

.ex3::after {
    border-top: 3px solid #D1222A;
    border-right: 3px solid #D1222A;
}

.ex3:hover {
    background-color: #D1222A;
}

.ex4 {
    color: #3FAE49;
    border: #3FAE49 solid 5px;
}

.ex4::after {
    border-top: 3px solid #3FAE49;
    border-right: 3px solid #3FAE49;
}

.ex4:hover::after {
    border-top: 3px solid #3FAE49;
    border-right: 3px solid #3FAE49;
}

.ex4:hover {
    background-color: #3FAE49;
}

.ex5 {
    color: #EC018C;
    border: #EC018C solid 5px;
}

.ex5::after {
    border-top: 3px solid #EC018C;
    border-right: 3px solid #EC018C;
}

.ex5:hover {
    background-color: #EC018C;
}

.ex6 {
    color: #253E8E;
    border: #253E8E solid 5px;
}

.ex6::after {
    border-top: 3px solid #253E8E;
    border-right: 3px solid #253E8E;
}

.ex6:hover {
    background-color: #253E8E;
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg {
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
    display: block;
    content: "";
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform: scaleX(0);
    animation-name: PageAnime;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;

}

.splash-ex1 {
    background-color: #E86E12;
}

.splash-ex2 {
    background-color: #04ADEF;
}

.splash-ex3 {
    background-color: #D1222A;
}

.splash-ex4 {
    background-color: #3FAE49;
}

.splash-ex5 {
    background-color: #EC018C;
}

.splash-ex6 {
    background-color: #253E8E;
}

@keyframes PageAnime {
    0% {
        transform-origin: right;
        transform: scaleX(0);
    }

    50% {
        transform-origin: right;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: left;
    }

    100% {
        transform-origin: left;
        transform: scaleX(0);
    }
}

/*画面遷移の後現れるコンテンツ設定*/

#container {
    opacity: 0;
    /*はじめは透過0に*/
}

#center{
    width: 50%;
    margin: 0 auto;
    position: relative;
    top: 50vh;
    transform: translateY(-60%);
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes PageAnimeAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.back-button {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row-reverse;
    margin: 0 20px;
    padding: 1em 2em;
    width: 150px;
    font-size: 18px;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
    border-radius: 8px;
    background: #cccccc;
    color: #111111;
    position: fixed;
    bottom: 30px;
    left: 30px;
}

.back-button::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #111;
    border-right: 3px solid #111;
    transform: rotate(225deg);
}

.back-button:hover {
    background-color: #bbb;
}

.ex-button-all div {
    display: flex;
    flex-direction: column;
}

.ex-button {
    font-size: 15px;
    width: 400px;
    margin: 10px auto;
}

.ex-button::after {
    content: '';
    width: 5px;
    height: 5px;
    transform: rotate(45deg);
}

.ex-button:hover::after {
    border-top: 3px solid #ECEDEF;
    border-right: 3px solid #ECEDEF;
}

.ex-button:hover {
    text-decoration: none;
    color: #ECEDEF;
}

.pru1 {
    color: #E86E12;
    border: #E86E12 solid 5px;
}

.pru1::after {
    border-top: 3px solid #E86E12;
    border-right: 3px solid #E86E12;
}

.pru1:hover {
    background-color: #E86E12;
}

.pru2 {
    color: #04ADEF;
    border: #04ADEF solid 5px;
}

.pru2::after {
    border-top: 3px solid #04ADEF;
    border-right: 3px solid #04ADEF;
}

.pru2:hover {
    background-color: #04ADEF;
}

.pru3 {
    color: #D1222A;
    border: #D1222A solid 5px;
}

.pru3::after {
    border-top: 3px solid #D1222A;
    border-right: 3px solid #D1222A;
}

.pru3:hover {
    background-color: #D1222A;
}

.pru4 {
    color: #3FAE49;
    border: #3FAE49 solid 5px;
}

.pru4::after {
    border-top: 3px solid #3FAE49;
    border-right: 3px solid #3FAE49;
}

.pru4:hover {
    background-color: #3FAE49;
}

.pru5 {
    color: #EC018C;
    border: #EC018C solid 5px;
}

.pru5::after {
    border-top: 3px solid #EC018C;
    border-right: 3px solid #EC018C;
}

.pru5:hover {
    background-color: #EC018C;
}

.pru6 {
    color: #253E8E;
    border: #253E8E solid 5px;
}

.pru6::after {
    border-top: 3px solid #253E8E;
    border-right: 3px solid #253E8E;
}

.pru6:hover {
    background-color: #253E8E;
}

.ex1,
.ex2,
.ex3,
.ex4,
.ex5,
.ex6 {
    margin: 20px 20px;
}

.question-pdf {
    height: 80vh;
    width: 60vw;
    min-width: 50vw;
}

.q-maintitle {
    line-height: normal;
    margin: 20px auto;
}

.q-subtitle {
    line-height: normal;
    margin: 0 auto;
    width: calc(80% + 40px);
    font-size: 28px;
}

.text-iframe {
    height: 80vh;
    width: 40vw;
}

.answer-box{
    height: 80vh;
    overflow: scroll;
}

.content-box{
    display: flex;
    justify-content: center;
}

.container{
    display: block;
    position: relative;
    margin: 40px auto;
    height: auto;
    padding: 20px;
    width: 80%;
  }

  #center-question{
      width: 80vw;
      margin: 0 auto;
  }

  .txt-hide{
    display: none;
    }
    
    button.more {
    width: 120px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    font-weight: bold;
    color: #fff;
    padding:10px 15px;
    border: none;
    outline: 0;
    transition: .5s;
    -erbkit-transition: .5s;
    }
     
    button.more::after {
    content: "Check Answer";
    transition: .2s;
    -erbkit-transition: .2s;
    }
    
    button.more.on-click::after{
    content: "Close";
    }
    .answer{
        color: #E86E12;
        font-weight: bold;
        display: none;
    }

    .audio-box{
        margin-left: 30px;
    }

    figure{
        margin-top: 30px;
    }

    .ex1-c{
        color: #E86E12;
    }

    .ex2-c{
        color: #04ADEF;
    }
    .ex3-c{
        color: #D1222A;
    }
    .ex4-c{
        color: #3FAE49;
    }
    .ex5-c{
        color: #EC018C;
    }
    .ex6-c{
        color: #253E8E;
    }

    .ex1-b{
        background-color: #E86E12;
    }
    .ex2-b{
        background-color: #04ADEF;
    }
    .ex3-b{
        background-color: #D1222A;
    }
    .ex4-b{
        background-color: #3FAE49;
    }
    .ex5-b{
        background-color: #EC018C;
    }
    .ex6-b{
        background-color: #253E8E;
    }

    .title-box{
        display: flex;
        justify-content: center;
        margin-top: 0px;
        align-items: center;
        margin-left: 20px;
    }

    .not-margin{
        margin-top: 0px;
    }
  
  

@media screen and (max-width:700px) {
    .button-all {
        width: auto;
        margin-top: 20px;
    }

    .button-all div {
        margin: 0px;
        display: block;
    }

    .ex-button {
        margin: 0 auto;
        margin-top: 20px;
        width: 60vw;
    }

    h1 {
        width: auto;
        margin-left: 40px;
    }

    #center {
        width: auto;
    }
    .title-ex1{
        margin-left: 0px;
    }

    .back-button{
        left: 0px;
    }

    .content-box {
        display: block;
    }

    .question-pdf {
        height: 50vh;
        width: 80vw;
    }

    .answer-box {
        margin-top: 100px;
        margin-bottom: 100px;
    }
    input{
        height: 20px;      /* 生成ボタンサイズ */
    width: 20px;  
    }
    label {
        font-size: 25px;
        margin-right: 20px;
    }
    select{
        width: 40vw;
    }
    option{
        font-size: 15px;
    }

    button.more {
        width: 250px;
        }

        .audio-box{
            margin-bottom: 130px;
        }
        .title-box{
            display: block;
            margin-left: 0px;
        }
        .not-margin{
            margin-top: 50px;
        }
}