html{
    font-size: 62.5%;
    background-color:#f1f1f1;
}
body{
    font-size: 2.0rem;
    background-color: #f0e2d9;
    width:95%;
    min-height: 100%;
    margin: 0 auto;
}

h1{
    position:sticky;
    top:0px;
    z-index:100;
    padding:1.6rem 3rem 1.5rem;
    width:auto;
    border-top:.5rem solid #b3424a;

    font-size:1.8rem;
    font-weight:900;
    background-color:#fbf0ff;
    line-height:1.8rem;
    opacity:.8;
    box-shadow: 0px 0px 4.4px 1.2px #cccccc;

    user-select:none;
}

h2{
    width: fit-content;
    margin: 0 auto 10px;
    /* padding: 10px 20px; */
    font-size: 2.0rem;
}

.main-container h2 {
    width: fit-content;
    margin: 0 10px 0px 10px;
    /* padding: 10px 20px; */
    font-size: 2.0rem;  
}

h3{
    margin: 0 2rem;
    font-size: 3.5rem;
    width: 40rem;
    text-align: center;
    background-color: skyblue;
}

a {
    display: block;
}
footer {
    display:flex;
    position: fixed;
    flex-wrap:wrap-reverse;
    flex-direction:row;
    justify-content: space-between;
    width: 100%;

    font-weight:200;
    font-size:.75rem;

    bottom: 0;
    left: 50%;
    transform: translate(-50%,0);
    
    color:#3e3e3e;
    background-color:#f1f1f1;
    box-shadow: 0px 0px 4.4px 1.2px #cccccc;

    user-select:none;
}
footer>span:last-child{
    padding-right:.8rem;
}

.flex{
    display: flex;
}
.flex-warp{
    display: flex;
    flex-wrap: wrap;
}
.flex-between{
    justify-content: space-between;
}

.invisivle{
    visibility: hidden;
}

.center{
    text-align: center;
    justify-content: center;
}

.m-20{
    margin: 20px;
}

p{
    margin: 1px;
    font-size: 2.0rem;
}
.color-red{
    color: red;
}
.color-blue{
    color: blue;
}
.color-green{
    color: green;
}
.color-gray{
    color: gray;
}
.small-font{
    font-size: 2.3rem;
}
.link-font{
    color:#498fcf;
    font-size: 3rem;
}

.bold{
    font-weight: bold;
}

.youtube{
    width: 100%;
    height: auto;
    text-align: center;
}
.youtube iframe{
    width: 56.0vw;
    height: 31.5vw;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ボタン */
button{
    background-color: #498fcf;
    border: none;
    color: #fff;
}
button:hover{
    cursor: pointer;
    scale: 0.9;
    background-color: #396b9b;
}

.location-menu{
    /* position: fixed; */
    bottom: 1rem;
    left: 0;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}
.location-menu button{
    font-size: 2.5rem;
    width: 14rem;
    height: 5rem;
    margin: 1rem;
}

/* main-container */
.main-container {
    /* width: 100%; */
    margin: 10px 40px;
    padding: 20px;
    border-radius: 10px;
}

/* beside（横並びにする） */
.beside {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.beside>* {
    width: 50%;
}

/* movie-area（youtube再生エリア） */
.movie-area-gs, .movie-area-pp {
    width: 47%;
    padding: 10px;
    text-align: center;
    position: relative;
}

.movie-area {
    width: fit-content;
    padding: 10px;
    text-align: center;
}

.iframe {
    position: relative;
}

.movie-area iframe {
    width: 530px;
    height: 297px;
}

.movie-area-gs iframe, .movie-area-pp iframe, .iframe{
    width: 560px;
    height: 315px;
    margin: 0 auto;
}

.movie8-hide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 560px;
    height: 315px;
    background-color: #cccccc;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0px;
    display: none;
}

/* .movie8-hide::before {
    content: "";
    background-image: url(../img/icon_exclamationy.svg);
    display: inline-block;
    background-size: 30px;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 40px;
    height: 32px;
    position: absolute;
    left: 85px;
}

.movie8-hide::after {
    content: "";
    background-image: url(../img/icon_exclamationy.svg);
    display: inline-block;
    background-size: 30px;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 40px;
    height: 32px;
    position: absolute;
    right: 80px;
} */



/* movie-btn-container */
.main-container .movie-btn-container {
    width: 50%;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 15px;   
    margin: 0;
}

.movie-btn-container {
 background-color: #ffffff;
 border: 5px solid #b3424a;
 border-radius: 10px;
 padding: 10px 15px;
 margin: 20px 40px;
 width: auto;
}

/* movie-btn */
.movie-btn {
    color: #000;
    background-color: #f0e2d9;
    height: 100%;
    padding: 10px 10px 10px 47px;
    margin: 5px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    height: auto;
    min-height: 60px;
    width: calc((100% - 268px) / 4);
    display: flex;
    align-items: center;
}

.main-container .movie-btn {
    padding: 10px 10px 10px 47px;
    margin: 5px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    height: fit-content;
    min-height: 0px;
    width: auto;
}

.movie-btn.active, .movie-btn:hover {
    background-color: #b3424a;
    color: #ffffff;
}

.movie-btn.active::before {
    content: "";
    background-image: url(../img/icon_movieplay.svg);
    display: inline-block;
    background-size: 30px;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 40px;
    height: 32px;
    position: absolute;
    left: 10px;
}


/* googleスライド用の設定 */
.main-container.googleslide {
    background-color: #fff2cc;
}

.googleslide .movie-btn-container {
    border: 5px solid #ffc000;
   }   

.googleslide .movie-btn-container .movie-btn:hover,
.googleslide .movie-btn-container a:hover,
.googleslide .movie-btn-container .movie-btn.active,
.googleslide .movie-btn-container .movie-btn.active a {
    background-color: #ffc000;
    color: #ffffff;
}

.googleslide .movie-btn-container .movie-btn {
    background-color: #fff2cc;
}

/* PowerPoint用の設定 */
.main-container.powerpoint {
    background-color: #fbe5d6;
}

.powerpoint .movie-btn-container {
    border: 5px solid #ed7d31;
   }   

.powerpoint .movie-btn-container .movie-btn:hover,
.powerpoint .movie-btn-container a:hover,
.powerpoint .movie-btn-container .movie-btn.active,
.powerpoint .movie-btn-container .movie-btn.active a {
    background-color: #ed7d31;
    color: #ffffff;
}

.powerpoint .movie-btn-container .movie-btn {
    background-color: #fbe5d6;
}

/* タブレット */
@media screen and (max-width: 1025px) {
    .movie-area-gs iframe, .movie-area-pp iframe, .iframe, .movie8-hide {
        width: 460px;
        height: 270px;
    }
    .movie-btn {
        width: calc((100% - 134px) / 2);
    }

    .movie-area iframe {
        width: 430px;
        height: 260px;
    }

    .main-container .movie-btn-container {
        width: 40%;
    }

    .main-container .movie-btn-container .beside>div {
        width: 100%;
    }
}


@media screen and (max-width: 769px) {
    .movie-area-gs, .movie-area-pp {
        width: 100%;
    }

    .main-container .movie-btn-container {
        width: 100%;
    }
    .main-container .movie-btn-container .beside>div {
        width: 100%;
    }

    .movie-btn-container .beside>div {
        width: 39%;
    }

}

@media screen and (max-width: 426px) {
    .beside> * {
        width: 100%;
    }

    .movie-area-gs iframe, .movie-area-pp iframe, .iframe, .movie8-hide {
        width: 370px;
        height: 215px;
    }

    .main-container {
        margin: 10px;
    }

    .movie-area iframe {
        width: 344px;
        height: 200px;
    }
    .movie-btn-container .beside>div {
        width: 100%;
    }

}

@media screen and (max-width: 376px) {
    .movie-area-gs iframe, .movie-area-pp iframe, .iframe, .movie8-hide {
        width: 330px;
        height: 190px;
    }
}

@media screen and (max-width: 321px) {
    .movie-area-gs iframe, .movie-area-pp iframe, .iframe, .movie8-hide {
        width: 280px;
        height: 160px;
    }

    .movie-area iframe {
        width: 243px;
        height: 140px;
    }

}