/* 111_edu */



/* index */
.edu_header {
    border-bottom:4px solid #ff00a2;
    margin-bottom: 40px;
}

.edu_index_wrap {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.edu_index_each {
    clear: both;
    flex: 0 1 auto;
    width: 47%;
    margin-bottom: 50px;
    border: 1px solid #aaaaaa;
    padding: 10px;
    border-radius: 10px;

}

.edu_block_each_head {
    text-align:center;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.8rem;
}
.edu_index_each p {
    font-size: 1.5rem;
    line-height: 1.5;
    text-align: justify;
    margin: 0;
    padding: 0 1em;
}
.edu_index_each_link {
    display: inline-block;
    color: #818181;
    font-size: 1.3rem;
    padding: 0 1em;
}
.edu_index_each h4 {
    border: none;
    padding-bottom: 0;
}
.edu_index_each ul {
    margin: 0;
}
.edu_index_each ul li {
    font-size:1.4rem;
}



/* message */
.edu_message {
    background: rgb(235, 247, 247);
    padding: 20px 30px;
}

.edu_message dd {
	line-height:1.5;
    text-align: justify;
    margin:0 2rem 30px 2rem;
    font-size: 1.6rem;
    line-height: 1.75;
    color: #333333;
}



/* embed movies */
.embed_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
    margin-bottom: 20px;
}
.embed_wrap_each {
    flex: 0 1 auto;
    width: 47%;
    margin: 0 0 20px 0;
}
.embed_wrap_movie {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.embed_wrap_movie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}



/* arekore */
.ma_quiz {
    background: #ffffff;
    padding: 10px 10px 50px 10px;
    margin-bottom: 60px;
}
.ma_quiz_title {
    width: 100%;
    margin-bottom: 30px;
    font-family: "Kaisei Opti", serif;
	font-weight: 700;
    font-size: 2.2rem
}
.ma_quiz_title img {
    width: 220px;
    background: linear-gradient(110deg, rgb(251, 255, 27), rgb(255, 208, 22));
    padding: 0;
    border-radius: 10px;
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}
.mq_count {
   display: block;
    width: 100%;
    background: rgb(69, 139, 214);
    text-align: center;
    font-size: 1.8rem;
    padding: 14px 0;
    border-radius: 10px;
    color: #fff;
    margin-bottom: 30px;
}

.ma_qanda_area {
    position: relative;
    background-color: #e8f3ff;
    border-radius: 12px;
    padding: 15px 30px;
    margin-bottom: 40px;
}
.ma_qanda_toi {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 48px;
    height: 48px;
    background: rgb(121, 170, 222);
    border-radius: 24px;
    text-align: center;
    color: #ffffff;
    font-size: 1.8rem;
    font-family: "Kaisei Opti", serif;
	font-weight: 700;
    padding-top:12px;
}

.ma_qanda_q {
    margin: 10px 0;
    font-size: 2.4rem;
    text-align: justify;
    line-height: 2;
    padding-left:40px;
}
.ma_qanda_a  {
    font-size: 2.4rem;
    font-weight: bold;
    background: #fffcae;
    padding: 20px 10px;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}


.ma_quiz_newestbtn {
    display: block;
    width: 100%;
    background: rgb(121, 170, 222);
    text-align: center;
    font-size: 1.8rem;
    padding: 24px 0;
    border-radius: 10px;
    color: #fff;
    transition: 0.5s;
}
.ma_quiz_newestbtn a {
    color: #ffffff;
}
.ma_backnumber { 
    width: 80%;
    margin: 40px auto;
}
.ma_backnumber_each {
    margin:0 20px 20px 0;
}

.ma_quiz_btn {
    display: block;
    width: 100%;
    background: rgb(69, 139, 214);
    text-align: center;
    font-size: 1.8rem;
    padding: 14px 0;
    border-radius: 10px;
    color: #fff;
    background-image: url(/img/common/icon_menu_bottom.png);
    background-repeat: no-repeat;
    background-position:right 18px;
    background-size: 30px;
    margin-bottom: 10px;
    transition: 0.5s;
}
.ma_quiz_btn_opend {
    background-image: url(/img/common/icon_menu_top.png);
}
.ma_quiz_btn:hover {
    background-color: rgb(40, 141, 248);
    transition: 0.5s;
    cursor: pointer;
}
.ma_quiz_block {
    display: none;
    margin-bottom: 30px;
}
.ma_backnumber_each {
    background: rgb(121, 170, 222);
    display: block;
    text-align: center;
    padding: 12px 0;
    margin-bottom: 2px;
    width: 100%;
    transition: 0.5s;
    color: #ffffff;
}
.ma_backnumber_each:first-child {
    border-radius: 10px 10px 0 0;
}
.ma_backnumber_each:last-child {
    border-radius: 0 0 10px 10px;
}
.ma_backnumber_each a {
    color: #ffffff;
}

.ma_backnumber_each_date {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: bold;
}
.ma_backnumber_each_openbtn {
    display: inline-block;
    padding: 0.5em 1em;
    border: 1px solid #ffffff;
    margin: 0 4px;
    border-radius: 10px;
    transition: 0.5s;
}
.ma_backnumber_each_openbtn:hover {
    background-color: rgb(40, 141, 248);
    transition: 0.5s;
}




.ma_qanda_area td {
    background-color: #ffffff;
}
.ma_back {
    margin-top:20px;
}

#ma_qanda_a_text {
    display:none;
}
#ma_show_answer {
    font-size: 2.4rem;
    font-weight:bold;
}
.ma_qanda_next {
    margin: 0 auto 20px auto;
    font-size: 2.4rem;
}



/* pdf */

.ma_pdf {
    background-color: #ffffff;
}
.ma_pdf_title {
    margin-bottom: 1mm;
    text-align: center;
    font-size: 4.5mm;
    font-weight: bold;
}
.ma_pdf_date {
    text-align: center;
}
.ma_pdf_name {
    display: block;
    float:left;
    width: 100mm;
    height: 12mm;
    border-bottom: 1px solid #000000;
    margin-bottom: 2mm;
}
.ma_pdf_point {
    display: block;
    float:right;
    width: 40mm;
    height: 12mm;
    border-bottom: 1px solid #000000;
    position: relative;
}
.ma_pdf_point span {
    display: block;
    position: absolute;
    bottom: 1mm;
    right: 0;
}

.ma_pdf_area {
    clear: both;
    width: 100;
}
.ma_pdf_area p {
    margin-bottom: 3mm;
}
.ma_pdf_q {
    width: 70%;
    padding: 0 4mm 2mm 0;
    text-align: justify;
    line-height: 1.75;
}
.ma_pdf_q span {
    background: #444444;
    color: #ffffff;
    padding: 1mm 1.5mm 0.5mm 1.5mm;
    margin-right: 2mm;
}
.ma_pdf_a {
    width: 70%;
    
}
.ma_pdf_a p {
    height: 12mm;
    border: 1px solid #888888;
    text-align: center;
    padding-top: 3.2mm;
    font-size: 4mm;
    vertical-align: middle;
}

.ma_pdf_credit {
    text-align: right;
}







/* htbpp */
.movie_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}
.movie_each {
    flex: 0 1 auto;
    width: 48%;
    margin: 0 0 40px 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 12px 8px 12px;
}
.movie_each:first-child {
    background: #fffcae;
    border-radius: 10px;
}

.movie_each_image {
    position: relative;
    margin-bottom: 16px;
}

.movie_each_image:before{
    content: "";
    display: block;
    padding-top: 75%;
  }
.movie_each_image img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;

}
.movie_each_info {
    padding: 0;
    margin-top: 6px;
}
.movie_each_date {
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 6px;
    padding: 4px 10px 4px 0;
    color: #666666;
    display: inline-block;
    border-left: 8px solid #e8e8e8;
}
.movie_each:first-child .movie_each_date {
    border-left: 8px solid #bb0000;
}
.movie_each_title {
    font-family: "Kaisei Opti", serif;
	font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.5;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 1px dotted #cccccc;
    margin-bottom: 8px;
}
.movie_each_description {
    font-size: 1.5rem;
    line-height: 1.5;
    color: #666666;
    text-align: justify;
    margin-bottom: 10px;
}



/* scrap */
.scrap {
    position: relative;
}
.scrap .block {
    padding: 1em;
}
h2.scrap_title {
    padding: 1px 0 1px 10px!important;
    border-left: 7px solid #bbbbbb;
    background:repeating-linear-gradient(
        -45deg,
        #eee,
        #eee 12px,
        #fff 12px,
        #fff 24px
        );
}
.scrap_information {
    margin: 0 0 0 1em;
    line-height: 1.5;
}
.scrap_btn {
    padding:8px 0 7px 0!important;
}
.scrap_prebtn {
    margin-top: 10px!important;
    padding:8px 0 7px 0!important;
    background: #e8e8e8!important;
    color: #888888!important;;
}






@media screen and (max-width: 480px) {
    
   .edu_index_wrap {
        padding: 0;
        display: block;
    }
.edu_index_each {
    flex: none;
    width: 100%;
    margin-bottom: 50px;
}

    .ma_qanda_toi {
        width: 60px;
        height: 60px;
        border-radius: 30px;
        font-size: 2.4rem;
        padding-top:20px;
    }
    
    .ma_qanda_q {
        margin: 20px 0;
        font-size: 2.2rem;
        line-height: 2.0;
        text-align: justify;
        padding: 0 0;
    }
    .ma_qanda_a {
        font-size: 2.4rem;
    }
   

    .edu_message {
        background: rgb(235, 247, 247);
        padding: 0 10px;
    }

    .ma_backnumber { 
        width: 100%;
        margin: 40px auto;
        }
    .ma_backnumber_each {
        background: rgb(121, 170, 222);
        padding: 8px 0 10px 0;
        margin-bottom: 1px;
    }
    .ma_backnumber_each_date {
        display: block;
        margin-bottom: 4px;
    }
    .ma_backnumber_each_openbtn {
        display: inline-block;
        padding: 0.3em 0.5em;
        border: 1px solid #ffffff;
        margin: 0 4px;
        border-radius: 10px;
        transition: 0.5s;
    }

    /* htbpp */

    .movie_each {
        flex: none;
        width: 100%;
    }

}