@charset "utf-8";

/* * * Reset * * */
body, div, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ul, ol, li, blockquote, pre, table, th, td, form, figure, fieldset, input, textarea {
    margin: 0;
    padding: 0;
}
img {
    vertical-align: baseline;
}
a img {
    border: none;
}
ol, ul {
    list-style: none;
    list-style-type: none;
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* * * Setting * * */
body {
    background: #FFF;
    font-family: Century Gothic, "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
    /*
	font-family: "YuGothic", "Yu Gothic", "游ゴシック", "游ゴシック体", "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Arial, verdana, sans-serif;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "ＭＳ 明朝", serif;
*/
    font-size: 100%;
    color: #333;
    text-align: center;
　　text-size-adjust: 100%;
　　-webkit-text-size-adjust: 100%;/*Chrome,Safari*/
　　-ms-text-size-adjust: 100%;/*EgdeMobile*/
　　-moz-text-size-adjust: 100%;/*firefox*/
    margin-top: 60px;
}
.PC {
    display: none;
}



/* * * general * * */
body {
    font-size: 100%;
}
#container, .inner{
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}
img {
    max-width: 100%;
    height: auto;
}


/** 背景変更用**/
.wrapper1{
    background-color: #ac0202;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ac0202+0,da1b1b+55,ffffff+100 */
    background: #ac0202; /* Old browsers */
    background: -moz-linear-gradient(top,  #ac0202 0%, #da1b1b 70%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ac0202 0%,#da1b1b 70%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ac0202 0%,#da1b1b 70%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ac0202', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
.wrapper1 .wrap_in{
    background-image: url("../img/wagara01.png");
    background-size: 10%;
}

.wrapper2{/*manga*/
    background: url("../img/bg_manga.jpg");
    background-repeat: repeat-y;
    background-position: center center;
    background-color: #FFF;
    background-size: 100%;
}




/*** header***/
#header {

}

#logo_gakken{
    position: absolute;
    right:10px;
    top:10px;
}
#logo_gakken img{
    width:50%;
}


/** menu **/
#menu{
    padding: 1em 10px;
}
#menu ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#menu li{
    width:25%;
}
#menu li a img:hover{
    opacity: 0.9;
    filter: alpha(opacity=90);
    -ms-filter: "alpha( opacity=90 )";
    transition: all 0.5s; 
}







/*** blocks ***/
.blocks {

}
.blocks p {
    line-height: 1.8em;
}




/***modal***/
.modaal-inner-wrapper{
    padding: 0 !important;
}

/*modalwin　通常用*/
.modalwin{
	display: none;/*初期設定*/
}

/*modaal-video　動画用*/
.modaal-video{
	display: none;/*初期設定*/
}
.modaal-video-wrap{
    margin: auto 0px !important;/*上書き*/
}

/*fadeInUp*/
.fadeInUp {
  opacity : 0;
  transform: translateY(20px);
  transition: 1s;
}



/*youtube*/
.mov{
  position:relative;
  width:100%;
  padding-top:56.25%;
}
.mov iframe{
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}



.btn{
    text-align: center;
}

/*mov*/
.mov{
  position:relative;
  width:100%;
  padding-top:56.25%;
}
.mov iframe{
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}

/** page_buy **/
#page_buy {
    width: auto;
    height: 80px;
    position: fixed;
    bottom: 5px;
    left: 0;
}
#page_buy a {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    opacity: 0.6;
}
#page_buy a img{
    height: 80px;
}
#page_buy a:hover {
    opacity: inherit;
}
@media screen and (max-width: 750px) and (orientation: landscape) { /*横向きの際に適用*/
    body {
        margin-top: 88px;
    }
    .page_buy {
        width: 8%;
    }
}


/** page_top **/
#page_top {
    width: auto;
    height: 60px;
    position: fixed;
    bottom: 5px;
    right: 0;
}
#page_top a {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    opacity: 0.6;
}
#page_top a img{
    height: 60px;
}
#page_top a:hover {
    opacity: inherit;
}

/*
#page_top {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 0;
    right: 0;
}
#page_top a {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    text-decoration: none;
    background: gray;
    opacity: 0.6;
}
#page_top a:hover {
    background: #08b9d4;
    opacity: inherit;
}
#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    content: "\f106";
    font-weight: 900;
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}
*/

@media screen and (max-width: 750px) and (orientation: landscape) { /*横向きの際に適用*/
    body {
        margin-top: 88px;
    }
    .page_top {
        width: 8%;
    }
}



/*** footer***/
#footer {
    clear: both;
    padding-bottom: 2em;
}
#footer #copy {

}



/*** class ***/
.none {
    display: none;
}
.t1em {
    margin-top: 1em;
}
.t2em {
    margin-top: 2em;
}
.t3em {
    margin-top: 3em;
}
.b1em {
    margin-bottom: 1em;
}
.b2em {
    margin-bottom: 2em;
}
.b3em {
    margin-bottom: 3em;
}

.flex_wrap {
    display: flex;
}

.txt_center{
    text-align: center;
}

a.hover80:hover img {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
    transition: all 0.5s;
}



/*** ul_type ***/
.ul_type01 li {
    text-indent: -1em;
    padding-left: 1em;
}







/*------------------------------------------------------
	mediaQuery
*-------------------------------------------------------*/
@media screen and (min-width: 640px) {
    .SP {
        display: none;
    }
    .PC {
        display: block;
    }
    body{
        font-size: 130%;
        margin-top: 88px;
    }
    
    /** container **/
    #container {
    }

    /**menu**/
    #menu li{
        padding: 0 1%;
    }
#menu ul{
    display: flex;
    flex-wrap: nowrap;
}
#menu li{
    width:25%;
}


    /** page_buy **/
    #page_buy {
        height: 126px;
    }
    #page_buy a img{
        height: 126px;
    }
    /** page_top **/
    #page_top {
        height: 80px;
    }
    #page_top a img{
        height: 80px;
    }

}