@charset "utf-8";

body{
    transform-origin: top left;
}

.tophead{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 20px;
    width:1300px;
    margin-left: auto;
    margin-right: auto;
}

.loginbtnsty{
    position: absolute;
    right: 5%;
    color: red;
}

.mypagelink_div{
    display: flex;
    justify-content: center;
    height: 21px;
}

.mypagelink{
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 12px;
    margin-right: 10px;
}
.mypagelink2{
    display: none;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 12px;
    margin-right: 10px;
}
@media screen and (max-width:768px){
    .mypagelink{
        display: none;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 3vw;
        margin-right: 2vw;
    }
    .mypagelink2{
        display: inline-block;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 3vw;
        margin-right: 2vw;
    }
}

.logoutbutton{
    padding: 4px 4px;
    background-color: #81C8F8;
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 12px;
    flex-shrink: 0;
    text-decoration: none;
    font-weight: bold;
}
@media screen and (max-width:768px){
    .logoutbutton{
        padding: 1vw 1vw;
        background-color: #81C8F8;
        color: white;
        border: none;
        border-radius: 4vw;
        cursor: pointer;
        font-size: 3vw;
        flex-shrink: 0;
        text-decoration: none;
        font-weight: bold;
    }
}

.logoutbutton:hover {
    background-color: #2084F7;
}

.toptitlesty a{
    text-decoration: none;
    color: inherit;
}

@media screen and (max-width:768px){
    .tophead{
        width:100%;
        height: 4vw;
        font-size: 3vw;
    }
    .toptitlesty{
        display: flex;
        align-items: center;
        position:absolute;
        height: 4vw;
        left:0;
        font-size: 3vw;
        font-weight: bold;
    }
    .loginbtnsty{
        display: flex;
        position: absolute;
        right: 0;
    }
}

.open-modal {
    display: block;
    width: 80px;
    height: 21px;
    text-align: center;
    text-decoration: none;
    padding: 4px 4px;
    font-weight: bold;
    color: #fff;
    background: #81C8F8;
    border: #81C8F8;
    border-radius: 14px;
    cursor: pointer;
    font-size: 14px;
}

.open-modal:hover{
    background-color: #2084F7; 
}

.registerbutton {
    display: block;
    width: 80px;
    height: 21px;
    text-align: center;
    text-decoration: none;
    padding: 4px 4px;
    font-weight: bold;
    color: black;
    background: #f2e370; 
    border: #f2e370;
    border-radius: 14px;
    cursor: pointer; 
    font-size: 14px;
}
@media screen and (max-width:768px){
    .open-modal {
        display: inline-block;
        width: 16vw;
        height: 4vw;
        line-height: 4vw;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        padding: 1vw 1vw;
        font-weight: bold;
        color: #fff;
        background: #81C8F8;
        border: #81C8F8;
        border-radius: 4vw;
        cursor: pointer;
        font-size: 3vw;
    }
    .registerbutton {
        display: inline-block;
        width: 16vw;
        height: 4vw;
        line-height: 4vw;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        padding: 1vw 1vw;
        font-weight: bold;
        color: black;
        background: #f2e370;
        border: #f2e370; 
        border-radius: 4vw;
        cursor: pointer;
        font-size: 3vw;
        margin-left: 2vw;
    } 
}

.registerbutton:hover{
    background-color: #bfae30; 
}
  
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    overflow: auto;
}
  
.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 290px;
    height: 200px;
    background-color: #fefefe;
    border: 1px solid #888;
    border-radius: 10px;
}
  
#closeModal {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -10%;
    right: -8%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #FFF;
    width: 40px;
    height: 40px;
    background-color: #81C8F8;
    border: #333;
    border-radius: 50%;
}

.logintitle{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5vw;
}

.logindiv{
    width: 300px;
    margin-top: -20px;
    margin-left: auto;
    margin-right: auto;
    border-style: groove;
    border-width: 4px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
}
@media screen and (max-width:480px){
    .logindiv{
        width: 90%;
        margin-top: -2vw;
        margin-left: auto;
        margin-right: auto;
        border-style: groove;
        border-width: 2vw;
        padding-left: 2vw;
        padding-right: 2vw;
        padding-bottom: 2vw;
        justify-content: center;
        align-items: center;
    } 
}

.textbox{
    margin-bottom: 2px;
    width: 250px;
}
.contacttextbox{
    margin-bottom: 2px;
    width:500px;
    height: 300px;
    padding-top: 0;
    text-align: left;
    vertical-align: top;
    resize: none;
}

@media screen and (max-width:768px){
    .contacttextbox{
        margin-bottom: 1vw;
        width: 80vw;
        /*height: 10vw;*/
        height: 40vw;
        font-size: 3vw;
        padding-top: 0;
        text-align: left;
        vertical-align: top;
        resize:none;
    }
}

@media screen and (max-width:480px){
    .textbox{
        margin-bottom: 1vw;
        width: 70vw;
        font-size: 3vw;
    }
}

.loginbuttondiv{
    width: 280px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
    text-align: center;
}
@media screen and (max-width:480px){
    .loginbuttondiv{
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10vw;
        text-align: center;
    }
}
.signbutton{
    background-color: #81C8F8;
    text-align: center;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    padding: 4px 20px;
    cursor: pointer;
    width: 200px;
}
@media screen and (max-width:480px){
    .signbutton{
        background-color: #81C8F8;
        text-align: center;
        color: white;
        border: none;
        border-radius: 4vw;
        font-size: 4vw;
        padding: 1vw 2vw;
        cursor: pointer;
        width: 60vw;
    }
}

.signbutton:hover{
    background-color: #2084F7; 
}

.submitregister{
    background-color: #f2e370;
    text-align: center;
    color: black;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    padding: 4px 20px;
    cursor: pointer;
    width: 200px;
}
@media screen and (max-width:480px){
    .submitregister{
        background-color: #f2e370;
        text-align: center;
        color: black;
        border: none;
        border-radius: 4vw;
        font-size: 4vw;
        padding: 1vw 2vw;
        cursor: pointer;
        width: 60vw;
    }
}

.submitregister:hover{
    background-color: #bfae30; 
}

.homebutton{
    background-color: #81C8F8;
    text-decoration: none;
    text-align: center;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    padding: 4px 20px;
    cursor: pointer;
    width: 200px;
}
@media screen and (max-width:480px){
    .homebutton{
        background-color: #81C8F8;
        text-decoration: none;
        text-align: center;
        color: white;
        border: none;
        border-radius: 4vw;
        font-size: 4vw;
        padding: 1vw 2vw;
        cursor: pointer;
        width: 60vw;
    }
}

.homebutton:hover{
    background-color: #2084F7; 
}

.reglinkbutton{
    margin-left: 80px;
    margin-top: 4px;
}

.regtip{
    font-size: 12px;
    color: #b6bfc5;
    margin-top: 0;
}
@media screen and (max-width:480px){
    .regtip{
        font-size: 3vw;
        color: #b6bfc5;
        margin-top: 0;
    }
}

.error_message{
    font-size: 12px;
    color: #ff0000;
    margin-top: 0;
}

.sign_error_message{
    font-size: 12px;
    color: #ff0000;
    margin-top: 0;
}

.result_message{
    color: #008000;
}
@media screen and (max-width:480px){
    .error_message{
        font-size: 3vw;
        color: #ff0000;
        margin-top: 0;
    }
    
    .sign_error_message{
        font-size: 3vw;
        color: #ff0000;
        margin-top: 0;
    }
    
    .result_message{
        color: #008000;
        font-size: 3vw;
    }
}

.menunav{
    text-align: center;
    /*border-bottom:1px solid;
    border-top:1px solid;*/
    margin-top: 10px;
    background-color: #81C8F8;
    width:100%;
}


@media screen and (max-width:768px) {
    .menunav{
        text-align: center;
        border-top:1px solid;
        border-bottom: none;
        margin-top: 4vw;
        width:100%;
    }
}
.menunav ul{
    margin: 0 ;
    padding: 0 ;
    width: 1300px;
    margin-left:auto;
    margin-right: auto;
    background-color: #81C8F8;
    /*border-bottom: 1px solid;
    border-top: 1px solid;*/
}

.menunav ul li{
    list-style: none;
    display: inline-block;
    /*width: 18%;*/
    /*min-width: 90px;*/
    padding-left: 10px;
    padding-right: 10px;
    margin-left:-4px;
    margin-right: -4px;
    border-left: 2px solid #FFF;
    border-right: 2px solid #FFF;
}
@media screen and (max-width:768px) {
    .menunav ul{
        width: auto;
    }
    .menunav ul li{
        list-style: none;
        display: inline-block;
        /*width: 18%;*/
        /*min-width: 90px;*/
        padding-top: 1.5vw;
        padding-bottom: 1.5vw;
        padding-left: 10vw;
        padding-right: 10vw;
        margin:0;
        background-color: #81C8F8;
        font-size: 3vw;
        font-weight: bold;
    }
}

.menunav ul li a{
    text-decoration: none;
    color: #333;
}
.menunav ul li.current a{
    color: #F33135;
}
.menunav ul li a:hover{
    color: #bca903;
}

.footnav{
    text-align: center;
    border-bottom:1px solid;
    border-top:1px solid;
    margin-top: 10px;
}
.footnav ul{
    margin: 0 ;
    padding: 0 ;
}
.footnav ul li{
    list-style: none;
    display: inline-block;
    /*width: 18%;*/
    /*min-width: 90px;*/
    padding-left: 10px;
    padding-right: 10px;
}

.footnav ul li a{
    color: #fff;
}
.footnav ul li.current a{
    color: #F33135;
}
.footnav ul li a:hover{
    color: #E7DA66;
}
.menu-icon {
    display: none;
    color: white;
    cursor: pointer;
  }
@media screen and (max-width:768px){
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .menu li {
        text-align: center;
        margin: 10px 0;
        border-bottom: 1px solid #9e9e9e;
        padding: 5px 0; 
    }
    
    .menu-icon {
        display: block;
        color: red;
        height: 4vw;
        transform: scaleX(2.5);
        margin-right: 2vw;
        margin-left: 4vw;
    }
      
    .menu.show {
        display: flex;
    }
}


.main-visual{
    /*position: relative;*/
    width: 100%;
    /*border-bottom: 1px solid;*/
}


.main-visual-div{
    display: flex;
    /*justify-content: center;
    align-items: center;*/
    margin-left: auto;
    margin-right: auto;
    width: 1300px;
    max-width: 100%;
    height: auto;
    /*border-bottom: 1px solid;*/
}

.main-visual-img{
    width: 575px;
    height: 213px;
    padding-left: 362px;
    padding-right: 362px;
    border-bottom: 1px solid;
}
@media screen and (max-width:768px){
    .main-visual-div{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        height: auto;
        border-bottom: 1px solid;
    }
    
    .main-visual-img{
        width: 100%;
        height: auto;
        padding:0;
        border-bottom: none;
    }
}

#nbutton {
    display: flex;
    justify-content: center; /* コンテナ内のアイテムを中央揃えに */
    gap: 20px; /* ボタン間のスペース */
    margin-top: 10px;
    margin-bottom: 20px;
}

.test-button {
    padding: 20px 20px;
    background-color: #81C8F8;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 50px;
    flex-shrink: 0; /* ボタンのサイズを維持 */
    text-decoration: none;
}

.test-button:hover {
    background-color: #2084F7;
}

@media screen and (max-width:768px){
    #nbutton{
        display: flex;
        justify-content: center;
        gap: 5vw;
        flex-wrap: wrap;
        margin-top: 2vw;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 4vw;
        width: 80%;
    }
    .test-button {
        padding: 2vw 2vw;
        background-color: #81C8F8;
        color: white;
        border: none;
        border-radius: 4vw;
        cursor: pointer;
        font-size: 10vw;
        flex-shrink: 0;
        text-decoration: none;
    }
}

/* footer */
.footer-div{
    background-color: #a2b5c3;
    width:100%;
}
.footer-001 {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 25px 10px 10px;
    background-color: #a2b5c3;
    margin-top: 10px;
    width:1300px;
    margin-left:auto;
    margin-right: auto;
}

@media screen and (max-width:768px){
    .footer-001 {
        display: flex;
        align-items: center;
        flex-direction: column;
        /*padding: 25px 10px 10px;*/
        background-color: #a2b5c3;
        margin-top: 10px;
        width:100%;
        margin-left:0;
        margin-right:0;
        padding-left: 0;
        padding-right: 0;
    }
}
@media screen and (max-width:480px){
    .footer-001 {
        display: flex;
        align-items: center;
        flex-direction: column;
        /*padding: 4vw 4vw 4vw;*/
        background-color: #a2b5c3;
        margin-top: 2vw;
        font-size: 3vw;
        width:100%;
        margin-left:0;
        margin-right:0;
        padding-left: 0;
        padding-right: 0;
    }
}

.footer-001__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 1.5em;
    list-style-type: none;
    margin: 0 0 .5em;
    padding: .5em;
}
@media screen and (max-width:768px){
    .footer-001__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0 1.5em;
        list-style-type: none;
        margin: 0 0 .5em;
        padding: .5em;
    }

}


@media screen and (max-width:480px){
    .footer-001__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0 3vw;
        list-style-type: none;
        margin: 0 0 1vw;
        padding: 4vw;
    }

}

.footer-001__link {
    color: #fff;
    font-weight: 200;
    text-decoration: none;
}

.footer-001__copyright {
    margin: 0;
    color: #ffffffb3;
    font-weight: 200;
    font-size: .8em;
}


.maincontents{
    display:flex;
    width: 1300px;
    margin-left:auto;
    margin-right:auto;
    padding-left:auto;
    padding-right: auto;
}
.mainparagraph{
    margin-left:20px;
    margin-right: 20px;
}
.leftparagraph{
    width: 300px;
}
.rightparagraph{
    width:300px
}
.SMrightparagraph{
    display: none;
}
@media screen and (max-width:768px){
    .maincontents{
        display:flex;
        width: auto;
        margin-left:auto;
        margin-right:auto;
    }
    .leftparagraph{
        display: none;
    }
    .rightparagraph{
        display: none;
    }
    .SMrightparagraph{
        display: block;
        font-family: arial;
        font-size: 3vw;
        margin: 10vw;
        width: auto;
        margin: 0 auto;
    }

    .mainparagraph{
        margin-left:auto;
        margin-right: auto;
        width: auto;
    }
}


.topparagraph{
    font-family: arial;
    font-size: 16px;
    margin: 25px;
    width: 600px;
    margin: 0 auto;
}
@media screen and (max-width:768px){
    .topparagraph{
        font-family: arial;
        font-size: 3vw;
        margin: 10vw;
        width: auto;
        margin: 0 auto;
    }
    .topint{
        font-size: 3vw;
        margin-left: auto;
        margin-right: auto;
    }
}

.startboxdiv{
    font-family: arial;
    font-size: 16px;
    width: 600px;
    margin: 0 auto; 
    border: 2px solid;
    border-color: #888;
    margin-bottom: 30px;
}
@media screen and (max-width:768px){
    .startboxdiv{
        font-family: arial;
        font-size: 3vw;
        width: 90vw;
        margin: 0 auto; 
        border: 2px solid;
        border-color: #888;
        margin-bottom: 5vw;
    }
}

.start_button {
    padding: 10px 20px;
    background-color: #81C8F8;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
    text-decoration: none;
}
@media screen and (max-width:768px){
    .start_button {
        padding: 1vw 2vw;
        background-color: #81C8F8;
        color: white;
        border: none;
        border-radius: 4vw;
        cursor: pointer;
        font-size: 4vw;
        flex-shrink: 0;
        text-decoration: none;
    }
}

.start_button:hover {
    background-color: #2084F7;
}

.startbuttonbox{
    height: 50px;
    margin-top: 20px;
}
@media screen and (max-width:768px){
    .startbuttonbox{
        height: 10vw;
        margin-top: 4vw;
    }
}


.radio_label{
    display: block;
    float: left;
}
@media screen and (max-width:768px){
    .radio_label{
        display: block;
        float: left;
        width:3vw;
        height: 3vw;
    }
}

.selectboxdiv{
    width: 200px;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    border-style: groove;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 10px;
}
@media screen and (max-width:768px){
    .selectboxdiv{
        width: 40vw;
        display: flex;
        flex-direction: column;
        /*justify-content: center;*/
        border-style: groove;
        padding-top: 1vw;
        padding-bottom: 1vw;
        margin-right: 1vw;
    }
}

.check_label{
    display: block;
    float: left;
}
@media screen and (max-width:768px){
    .check_label{
        display: block;
        float: left;
        width:3vw;
        height: 3vw;
    }
}

.checkboxdiv{
    width: 200px;
    /*display: flex;*/
    flex-direction: column;
    justify-content: center;
    border-style: groove;
    padding-top: 10px;
    padding-bottom: 10px;
}
@media screen and (max-width:768px){
    .checkboxdiv{
        width: 40vw;
        /*display: flex;*/
        flex-direction: column;
        justify-content: center;
        border-style: groove;
        padding-top: 1vw;
        padding-bottom: 1vw;
    }
}
.disabledcheckboxdiv{
    width: 200px;
    /*display: flex;*/
    color: gray;
    background-color: rgb(199, 199, 199);
    flex-direction: column;
    justify-content: center;
    border-style: groove;
    padding-top: 10px;
    padding-bottom: 10px;
}
@media screen and (max-width:768px){
    .disabledcheckboxdiv{
        width: 40vw;
        /*display: flex;*/
        color: gray;
        background-color: rgb(199, 199, 199);
        flex-direction: column;
        justify-content: center;
        border-style: groove;
        padding-top: 1vw;
        padding-bottom: 1vw;
    }
}



.commentdiv{
    margin-left: 306px;
}

@media screen and (max-width:768px){
    .commentdiv{
        margin-left: 45vw;
    }
}

.boxdiv{
    display: flex;
    justify-content: center;
    width: 500px;
    margin: 0 auto;
}
@media screen and (max-width:768px){
    .boxdiv{
        display: flex;
        justify-content: center;
        width: 80vw;
        margin: 0 auto;
    }
}

.choicediv{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 600px;
    margin-top: 40px;
}
@media screen and (max-width:768px){
    .choicediv{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        margin-top: 4vw;
    }
}

.choiceset{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
@media screen and (max-width:768px){
    .choiceset{
        display: flex;
        align-items: center;
        justify-content:flex-start;
        width:45%;
    }
}

.choicesbutton{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 36px;
    margin-right: 6px;
    font-size: 16px;
}
@media screen and (max-width:768px){
    .choicesbutton{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 6vw;
        width: 6vw;
        margin-right: 2vw;
        font-size: 4vw;
    }
}

.resultbox{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    margin: 20px auto;
}

@media screen and (max-width:768px){
    .resultbox{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 2vw auto;
    }
}

.result_text{
    text-align: center;
}

.result_p{
    margin: 4px 20px;
}
@media screen and (max-width:768px){
    .result_p{
        margin: 2vw 4vw;
    }
}


.check_img{
    width: 50px;
    height: 50px;
}

.incorrect_img{
    width: 50px;
    height: 50px;
}
@media screen and (max-width:768px){
    .check_img{
        width: 8vw;
        height: 8vw;
    }
    
    .incorrect_img{
        width: 8vw;
        height: 8vw;
    }
}

.correctunder{
    border-bottom: solid;
    border-color: #F33135;
    border-width: 4px;
}

.endboxdiv{
    display: flex;
    justify-content: center;
    align-items: center;
}

.endtext{
    text-align: center;
}

.endbuttondiv{
    text-align: center;
    margin-bottom: 30px;
}

.end_button{
    padding: 10px 20px;
    background-color: #81C8F8;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
    text-decoration: none;
}

/* mypage */
.tabcontrolclass{
    margin-bottom: 0px;
}
#tabcontrol a {
    display: inline-block;
    border-width: 1px 1px 0px 1px;
    border-style: solid;
    border-color: black;
    border-radius: 0.75em 0.75em 0 0;
    padding: 0.75em 1em;
    text-decoration: none;
    color: black;
    background-color: white;
    font-weight: bold;
    position: relative;
}

#tabcontrol a:hover {
    text-decoration: underline;
}

.tabsets{
    border: 1px solid black;
    margin-top: -1px;
    padding-top: 1em;
    padding-bottom: 0px;
    padding-right: 0px;
    padding-left: 0px;
    background-color: #e2f0dd;
    position: relative;
    z-index: 0;
}
.tabone{
    margin-top: -1px;
    background-color: #e2f0dd;
    position: relative;
    z-index: 0;

}

.tableoutline{
    display: flex;
    flex-wrap: wrap;
    width: 550px;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width:768px){
    .tableoutline{
        display: flex;
        flex-wrap: wrap;
        width: 92%;
        margin-top: 0px;
        margin-bottom: 2vw;
        margin-left: auto;
        margin-right: auto;
    } 
}

.resultelement{
    width:35px;
    height: 40px;
    margin:0px;
    border: 1px solid #000000;
    margin-left: -1px;
    margin-top: -1px;
    display: flex;
    flex-direction: column;
}
@media screen and (max-width:768px){
    .resultelement{
        width:8.2vw;
        height: 10vw;
        margin:0px;
        border: 1px solid #000000;
        margin-left: -1px;
        margin-top: -0.5px;
        display: flex;
        flex-direction: column;
    }
}

.doublebox{
    flex: 1;
    text-align: center;
    border: 1px solid #000000;
    margin-left: -1px;
    margin-bottom: -1px;
    margin-right: -1px;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width:768px){
    .doublebox{
        flex: 1;
        height: 5vw;
        text-align: center;
        border: 1px solid #000000;
        margin-left: -1px;
        margin-bottom: -1px;
        margin-right: -1px;
        justify-content: center;
        align-items: center;
    }
}

.correctbox{
    margin: 0px;
    font-size: 12px;
    font-weight: bold;
    color:#008000;
    height: 20px;
}
@media screen and (max-width:768px){
    .correctbox{
        margin: 0px;
        font-size: 3.5vw;
        font-weight: 900;
        color:#008000;
        height: 100%;
    }
}
 
.incorrectbox{
    margin: 0px;
    color: red;
    height: 20px;
}
@media screen and (max-width:768px){
    .incorrectbox{
        margin: 0px;
        color: red;
        height: 100%;
        font-size: 4vw;
    }
}

.nonebox{
    margin: 0px;
    color: #888;
    height: 20px;
}
 @media screen and (max-width:768px){
    .nonebox{
        margin: 0px;
        color: #888;
        height: 100%;
        font-size: 3.5vw;
        font-weight: 900;
    }
 }

.reviewbutton{
    background:none;
    border:none;
    text-decoration: underline;
    color: #0000FF;
    cursor: pointer;
}
@media screen and (max-width:768px){
    .reviewbutton{
        background:none;
        border:none;
        text-decoration: underline;
        color: #0000FF;
        cursor: pointer;
        font-size: 3vw;
    }
}

.reviewmypage {
    padding: 10px 20px;
    background-color: #81C8F8;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
    text-decoration: none;
}

.reviewmypage:hover {
    background-color: #2084F7;
}

.mypagecontents{
    display: flex;
    margin-bottom: 30px;
    position: relative;
    align-items: center;
}
@media screen and (max-width:768px){
    .mypagecontents{
        display: flex;
        margin-bottom: 5vw;
        position: relative;
        align-items: center;
    }
}

.mypagecontentsleft{
    float: left;
}

.mypagecontentsright{
    position: absolute;
    right: 0;
    /* text-align: right; */
    margin-right: 30px;
}
@media screen and (max-width:768px){
    .mypagecontentsright{
        position: absolute;
        right: 0;
        /* text-align: right; */
        margin-right: 5vw;
    }
}

.mypage_button {
    padding: 4px 20px;
    width: 90px;
    background-color: #81C8F8;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
    text-decoration: none;
}
@media screen and (max-width:768px){
    .mypage_button {
        padding: 1vw 2vw;
        width: 18vw;
        background-color: #81C8F8;
        color: white;
        border: none;
        border-radius: 4vw;
        cursor: pointer;
        font-size: 3vw;
        flex-shrink: 0;
        text-decoration: none;
    }
}

.mypage_button:hover {
    background-color: #2084F7;
}

.changecontents{
    width: 300px;
    margin-top: -20px;
    margin-left: auto;
    margin-right: auto;
    border-style: groove;
    border-width: 4px;
    padding-left: 8px;
    padding-bottom: 8px;
}
@media screen and (max-width:768px){
    .changecontents{
        width: 94%;
        margin-top: -1vw;
        margin-left: auto;
        margin-right: auto;
        border-style: groove;
        border-width: 1vw;
        padding-left: 1vw;
        padding-bottom: 1vw;
    } 
}

.passchange_message{
    margin-top: 20px;
    height: 20px;
    font-size: 12px;
    color: #ff0000;
}
@media screen and (max-width:768px){
    .passchange_message{
        margin-top: 2vw;
        height: 4vw;
        font-size: 3vw;
        color: #ff0000;
    }
}

#loadingscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 1900px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.spinner {
    display: none;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 10vw;
    height: 10vw;
    animation: spin 1s linear infinite;
}
@media screen and (max-width:768px){
    .spinner {
        display: block;
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-top: 4px solid #fff;
        border-radius: 50%;
        width: 10vw;
        height: 10vw;
        animation: spin 1s linear infinite;
    }
}

.spinnerdiv{
    position: fixed;
    top: 20%;
    left: 45%;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.newsul{
    width: 500px;
    margin-top: 0px;
}

.newsli{
    display: flex;
    padding:15px;
    border-bottom:1px solid #000;
}
  
.newsday{
    width: 80px;
}

.newslabel{
    width: 80px;
    text-align: center;
    background-color:blue;
    border-radius:3px;
    color:#fff;
    padding:2px 5px;
    margin:0 20px;
}

.articlelabel{
    width: 80px;
    text-align: center;
    background-color:rgb(250, 195, 94);
    border-radius:3px;
    color:#fff;
    padding:2px 5px;
    margin:0 20px;
}

@media screen and (max-width:768px){
    .newsul{
        width: 100%;
        margin-top: 0px;
        padding: 0px;
    }
    .newsli{
        display: flex;
        flex-wrap: wrap;
        padding:15px;
        border-bottom:1px solid #000;
    }
    .newsday{
        width: 100%;
    }
    .newslabel{
        width: 20vw;
        text-align: center;
        background-color:blue;
        border-radius:1vw;
        color:#fff;
        padding:0vw 2vw;
        margin-top:0vw;
        margin-bottom: 0vw;
        margin-left: 0vw;
        margin-right: 2vw;
        font-size: 4vw;
    }
    .newstext{
        font-size: 3vw;
        display: flex;
        align-items: center;
    }
    .articlelabel{
        width: 20vw;
        text-align: center;
        background-color:rgb(250, 195, 94);
        border-radius:1vw;
        color:#fff;
        padding:0vw 2vw;
        margin-top:0vw;
        margin-bottom: 0vw;
        margin-left: 0vw;
        margin-right: 2vw;
        font-size: 4vw;
    }
}

@media screen and (max-width:480px){
    .newsul{
        width: 100%;
        margin-top: 0px;
        padding: 0px;
    }
    .newsli{
        display: flex;
        flex-wrap: wrap;
        padding:2vw;
        border-bottom:1px solid #000;
    }
    .newsday{
        width: 100%;
        font-size: 4vw;
    }
    .newslabel{
        width: 20vw;
        text-align: center;
        background-color:blue;
        border-radius:1vw;
        color:#fff;
        padding:0vw 2vw;
        margin-top:0vw;
        margin-bottom: 0vw;
        margin-left: 0vw;
        margin-right: 2vw;
        font-size: 4vw;
    }
    .newstext{
        font-size: 3vw;
        display: flex;
        align-items: center;
    }
    .articlelabel{
        width: 20vw;
        text-align: center;
        background-color:rgb(250, 195, 94);
        border-radius:1vw;
        color:#fff;
        padding:0vw 2vw;
        margin-top:0vw;
        margin-bottom: 0vw;
        margin-left: 0px;
        margin-right: 2vw;
        font-size: 4vw;
    }
}




.morediv{
    text-align: right;
    margin-top: 40px;
}

.morebtn{
    margin-right: 60px;
    text-decoration: none;
    padding: 5px 10px;
    background-color: #71d892;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
}
@media screen and (max-width:768px){
    .morediv{
        text-align: right;
        margin-top: 7vw;
    }
    .morebtn{
        margin-right: 2vw;
        text-decoration: none;
        padding: 1vw 2vw;
        background-color: #71d892;
        color: white;
        border: none;
        border-radius: 5vw;
        cursor: pointer;
        font-size: 3vw;
        flex-shrink: 0;
    }
}

#newsarticletext{
    line-height: 2;
}

.no-wrap {
    white-space: nowrap;
}

.xdisp{
    height: 100px;
}

@media screen and (max-width:480px){
    .twitter-timeline{
        max-width:90% !important;
    }
}

ruby rt{
    font-weight: bold;
    font-size: 12px;
}

@media screen and (max-width:768px){
    ruby rt{
        font-weight: bold;
        font-size: 2vw;
    }
}
