@charset "utf-8";
/* CSS Document */

*:focus {
outline: none;
}

html, body {
  height: 100%;
}

body {
	background-color: #FFFFFF;
	font-family:  'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, 'MS PGothic', arial, helvetica, sans-serif;
   margin: 0;
}

header{
   position: fixed;
   top: 0;
   display: block;
   width: 100%;
   height: 80px;
   background-color: #000000;
   z-index: 999;
}
header h1{
   display: none;
}
header a{
   display: flex;
   justify-content: center;
   width: 100%;
   max-width: 100%;
   height: 60px;
   margin: 0;
   padding: 10px 0;
}
header img{
   display: inline-block;
   margin: 5px;
   height: calc(100% - 10px);
   flex-grow: 0;
   flex-shrink: 0;
}
.ttl_books__grade{
   margin-left: 20px;
   /* 以下、画像サイズによって調整 */
   max-width: 210px;
}
.ttl_books a img:nth-of-type(2){
   /* 以下、画像サイズによって調整 */
   max-width: calc(100% - 250px);
}
nav{
   position: fixed;
   width: 100%;
   padding-top: 80px;
   background-color: #cccccc;
   z-index: 998;
}
main{
   display: block;
   padding-top: 170px;
}
footer{
   width: 100%;
   height: 60px;
   background-color: #fff;
}
.index_navi-1{
   position: relative;
   display: flex;
   flex-wrap: wrap;
   max-width: 1200px;
   margin: auto;
}
.index_navi-1 .navi_cat{
   position: absolute;
   left: 0;
   top: 0;
   display: block;
   width: 70px;
   height: 70px;
   margin-right: 15px;
   background-color: #4d4d4d;
}
.index_navi-1 .navi_cat:after{
   content: "";
   position: absolute;
   right: -10px;
   border-top: 35px solid transparent;
   border-bottom: 35px solid transparent;
   border-left: 10px solid #4d4d4d;
}
.index_navi-1 .navi_cat img{
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   margin: auto;
   max-width: 50px;
}
.index_navi-1 .navi_select{
   position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
   width:100%;
   min-height: 90px;
}
.index_navi-1 a:hover{
   opacity: 0.7;
}
.index_navi-1 .navi_select a{
   display: block;
   width: 80px;
   max-width: 15vw;
   max-height: 15vw;
   margin: 5px;
}
.index_navi-1 a img{
   display: block;
   width: 100%;
   height: 100%;
}
.index_navi-1 a.navi_catlink{
   position: absolute;
   right: 0;
   top: 0;
   display: block;
   width: 70px;
   height: 70px;
   margin: 0 0 0 15px;
   background-color: #b3b3b3;
}
.index_navi-1 a.navi_catlink img{
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   margin: auto;
   max-width: 50px;
   height: auto;
}
.index_wrap{
   max-width: 1200px;
   margin: 0 auto;
   margin-top: -170px;
   padding: 170px 0 15px;
}
.index_wrap a:hover section{
   opacity: 0.7;
}
.ttl_cat{
   display: block;
   margin: 0 0 15px;
   padding: 5px 0;
   background-color: #808080;
   text-align: center;
}
.ttl_cat img{
   height: 40px;
   vertical-align: top;
}
.index_link_area{
   position: relative;
   display: block;
   width: calc(100% - 10px);
   margin: 0 auto 10px;
}
.index_link_area h3{
   display: none;
}
.index_text{
   display: block;
   padding: 20px 130px 20px 130px;
}
.index_page{
   position: absolute;
   top: 0;
   left: 0;
   width: 100px;
   height: 100%;
   border-top-left-radius: 10px;
   border-bottom-left-radius: 10px;
   background-color: #000;
}
.index_page:after{
   content: "";
   position: absolute;
   top: calc(50% + 19px);
   left: 0;
   right: 0;
   margin: auto;
   width: 50px;
   height: 20px;
   background: url("img/txt_page.svg") center no-repeat;
   background-size: contain;
}
.index_page img{
   position: absolute;
   top: calc(50% - 17px);
   left: 0;
   right: 0;
   width: 100%;
   height: 34px;
   margin: 0 auto;
}
.index_icn{
   position: absolute;
   right: 0;
   top: 0;
   width: 100px;
   height: 100%;
}
.index_icn img{
   width: calc(100% - 20px);
   margin: 0 10px;
   height: 100%;
}
.footer_wrap{
   display: flex;
   justify-content: space-between;
   padding: 0 10px;
}
.footer_wrap img:first-of-type{
   width: calc(100% - 90px);
   max-width: 400px;
   height: 60px;
}
.footer_wrap img:last-of-type{
   width: 80px;
   height: 60px;
}
.page_back{
   position: fixed;
   top: 5px;
   left: 5px;
   width: 35px;
   height: 35px;
   z-index: 9999;
}
.page_back img{
   width: 100%;
   height: 100%;
}
.page_movie_wrap{
   position: relative;
   display: block;
   width: 100%;
   height: 100%;
   text-align: center;
   background-color: #000;
   box-sizing: border-box;
}
.page_movie_wrap>video{
   position: absolute;
   right: 0;
   bottom: 50px;
   left: 0;
   top: 0;
   width: calc(100% - 20px);
   max-height: calc(100% - 80px);
   margin: auto;
}
.page_movie_wrap>a{
   position: absolute;
   bottom: 25px;
   right: 0;
   left: 0;
   width: 104px;
   height: 35px;
   margin: auto;
}
.page_photo_wrap{
   position: relative;
   display: block;
   width: 100%;
   height: 100%;
   text-align: center;
   background-color: #000;
   box-sizing: border-box;
}
.page_photo_wrap .page_photo{
   position: absolute;
   right: 0;
   bottom: 0;
   left: 0;
   top: 0;
   width: 100%;
   max-height: calc(100% - 80px);
   margin: 0 auto;
}
.page_photo_wrap .page_photo img{
   position: absolute;
   right: 0;
   bottom: 0;
   left: 0;
   top: 0;
   max-width: 100%;
   max-height: 100%;
   margin: auto;
}
.page_photo_wrap>a{
   position: absolute;
   bottom: 25px;
   right: 0;
   left: 0;
   width: 104px;
   height: 35px;
   margin: auto;
}
.page_audio_wrap{
   position: relative;
   display: block;
   width: 100%;
   height: 100%;
   text-align: center;
   background-color: #000;
   box-sizing: border-box;
}
.page_audio_wrap .page_audio{
   position: absolute;
   right: 0;
   bottom: 0;
   left: 0;
   top: 0;
   width: 100%;
   max-height: calc(100% - 80px);
   margin: 0 auto;
}
.page_audio_wrap .page_audio img{
   position: absolute;
   right: 0;
   bottom: 30%;
   left: 0;
   top: 0;
   max-width: 90%;
   max-height: 70%;
   margin: auto;
   margin-bottom: 20px;
}
.page_audio_wrap .page_audio audio{
   position: absolute;
   right: 0;
   bottom: 0;
   left: 0;
   top: 70%;
   width: 60%;
   min-width: 320px;
   max-width: 100%;
   max-height: 30%;
   margin: auto;
   margin-top: 20px;
}
.page_audio_wrap>a{
   position: absolute;
   bottom: 25px;
   right: 0;
   left: 0;
   width: 104px;
   height: 35px;
   margin: auto;
}

/* color customize */


nav{
   background-color: #dfe0e0;
}

.header--c1{
   background-color: #6fb16b;
}
.header--c2{
   background-color: #f6ae6a;
}

.ttl_cat.ttl_cat--c1{
   background-color: #6fb16b;
}
.ttl_cat.ttl_cat--c2{
   background-color: #f19ca6;
}
.ttl_cat.ttl_cat--c3{
   background-color: #38acb5;
}
.ttl_cat.ttl_cat--c4{
   background-color: #f6ae6a;
}
.ttl_cat.ttl_cat--c5{
   background-color: #8b9bce;
}
.ttl_cat.ttl_cat--c6{
   background-color: #c490bf;
}



/* MODAL CSS */
#open-movie01,
#open-autio01 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
}
.close_overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    text-indent: -9999px;
    background: #000;
    opacity: 0.64;
		z-index: 1000;
}
.modal_window {
   position: absolute;
   display: table;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   width: 100%;
   max-width: 600px;
   margin: auto;
   z-index: 1020;
   color: #fff;
   border-radius: 4px;

}
/*.modal_window video {
		width: 100%;
		height: calc(100% - 80px);
      margin-top: 20px;
}*/
.modal_window audio{
   width: 100%;
   margin: 10px auto;
}
.modal_window .modal_close_area {
   z-index: 1010;
   width: 104px;
   height: 35px;
   margin: auto;
}
.modal_window a.modal_close {
   display: block;
   width: 60px;
   height: 60px;
   background-color: #fff;
   margin-left: calc(100% - 60px);
}
.modal_window a.modal_close img {
   width: 100%;
   height: 100%;
}
/* CSS3 ModalWindow SET
-------------------------- */
@-webkit-keyframes modalFadeIn {
    0% {opacity:0;display:block;}
    100% {opacity:1;}
}
div#modal div:target {
    -webkit-animation-name: modalFadeIn;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: 1;
    opacity: 1;
    display:block;
    position: fixed;
    z-index: 1000;
}
/* CSS3 ModalWindow END */

/* PC only */
@media all and (min-width: 769px) {
   
.footer_wrap {
   position: relative;
   justify-content: flex-end;
}
.footer_wrap img:first-of-type {
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   margin: auto;
}
   
}

/* tablet */
@media all and (max-width: 768px) {
header{    
   box-sizing: border-box;
   height: 60px;
   padding: 0 5px;
}
header a{
   height: 40px;
}
.ttl_books__grade{
   margin-left: 20px;
   /* 以下、画像サイズによって調整 */
   max-width: 80px;
}
.ttl_books a img:nth-of-type(2){
   /* 以下、画像サイズによって調整 */
   max-width: calc(100% - 120px);
}

nav{
   padding-top: 60px;
}

main{
   padding-top: 130px;
}
.index_navi-1 .navi_select a{
   width: 60px;
}
.index_navi-1 .navi_select{
   min-height: 70px;
}
.ttl_cat {
   height: 20px;
   padding: 5px 0;
}
.ttl_cat img{
   max-width: 100%;
   height: 20px;
   vertical-align: top;
}
.index_wrap{
   margin-top: -150px;
   padding: 150px 0 15px;
}
.modal_window a.modal_close {
   width: 50px;
   height: 50px;
}

}

/* sp */
@media all and (max-width: 480px) {

   
.ttl_books a img:nth-of-type(2){
   height: auto;
}
.ttl_books__grade{
   height: auto;
   margin-left: 5px;
}
.index_navi-1 .navi_cat{
   width: 40px;
}
.index_navi-1 a.navi_catlink{
   width: 40px;
}
.page_movie_wrap>video{
   bottom: 100px;
}
.page_movie_wrap>a{
   bottom: 75px;
}
.page_photo_wrap .page_photo{
   max-height: calc(100% - 130px);
}
.page_photo_wrap>a{
   bottom: 75px;
}
.page_audio_wrap .page_audio{
   max-height: calc(100% - 130px);
}
.page_audio_wrap>a{
   bottom: 75px;
}
   
}
