@charset "utf-8";
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
	background:#28141e;
    background-repeat: repeat;
}
#header{
	height: 50px;
	width:100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background:#ffffff;
	color:#fff;
	text-align: center;
	padding: 0px;
}
#header img{
    padding:5px;
}

.open_btn {
	position: fixed;
    z-index:999;
    top: 0;
    right:0;
	background: #000000;
	cursor: pointer;
    width: 50px;
    height:50px;
}
.open_btn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
	background: #ffffff;
  	width: 45%;
}
.open_btn span:nth-of-type(1) {
	top:13px;	
}
.open_btn span:nth-of-type(2) {
	top:19px;
}
.open_btn span:nth-of-type(3) {
	top:25px;
}
.open_btn span:nth-of-type(3)::after {
	content:"MENU";
	position: absolute;
	top:5px;
	left:-2px;
	color: #ffffff;
	font-size: 0.6rem;
	text-transform: uppercase;
}
.open_btn.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
.open_btn.active span:nth-of-type(2) {
	opacity: 0;
}
.open_btn.active span:nth-of-type(3) {
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
.open_btn.active span:nth-of-type(3)::after {
	content:"CLOSE";
    transform: translateY(0) rotate(-45deg);
	top:5px;
	left:4px;
}
#g-nav{
    position:fixed;
    display: none;
	z-index: -99;
	opacity: 0;
	top:0;
	width:100%;
    height: 100vh;
	background:#0080d9;
	transition: all 0.3s;
}
#g-nav.panelactive{
    display: block;
	opacity: 1;
	z-index:999;
}
#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#g-nav ul {
    display: none;
    position: absolute;
    z-index: 999;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#g-nav.panelactive ul {
    display: block;
}
#g-nav li{
    list-style-type: square;
    text-align: center; 
}
#g-nav.panelactive li {
    display: block;
}
#g-nav li a {
	color: #222222;
	text-decoration: none;
    font-size: 1.4rem;
	padding:10px;
	display: block;
	letter-spacing: 0.1em;
	font-weight: bold;
}
section{
    position: relative;
}
.area-image {
    width: initial;
    position: relative;
    line-height:1;
    margin: 0;
    padding: 0; 
    }
.area-image img{
    display:block;
    width: 100%;
}
.area-image .head_menu {
    position: absolute;
    bottom: 3%;
    right: 2%;
    width: 28%;
}
.area-image .head_menu div {
    margin: 5px 0;
    padding: 0;
}
.area-image .head_menu a:hover img {
    opacity: 0.7;
}
.wrap{
    overflow-x: hidden;
}
#container{
    max-width: 1000px;
    margin:0 auto;
    background-color:#ffff00;
}
.co_space{
    height: 20px;
}
.co_top {
    margin: 0;
    padding: 0;
    text-align: center;
}
.co_top > img {
    vertical-align: middle;
    width: 100%;
}
.co_main {
    text-align: center;
}
.splide__slide {
    opacity: 0.4;
    transition: opacity .3s ease;
}
.splide__slide.is-active {
    opacity: 1;
}
.splide__slide img {
    height: auto;
    width: 100%;
}
.chara_back_01 {
    background-image: url(../img/chara_back_01.png);
    background-size: contain;
    background-position: center;
    width: 100%;
}
.chara_head_01 {
    max-width: 100%;
}
.chara_head_01 > img {
    width: 100%;
}
.chara_back_02 {
    background-image: url(../img/chara_back_02.png);
    background-size: contain;
    background-position: center;
    width: 100%;
}
.chara_head_02 {
    max-width: 100%;
}
.chara_head_02 > img {
    width: 100%;
}
.chara_button {
    display: grid;
    margin: 2% 15%;
    grid-template-columns: repeat(8, 1fr);
    justify-items: center;
    gap: 0px;
}
.chara_btn {
    width: 90%;
    height: 90%;
    margin: 5%;
    cursor: pointer;
    opacity: 0.6;
}
.chara_btn.is-active {
    opacity: 1;
}
.chara_btn > img {
    width: 100%;
}
.grid_01{
    grid-column: 1 / 2;
}
.grid_02{
    grid-column: 2 / 3;
}
.grid_03{
    grid-column: 3 / 4;
}
.grid_04{
    grid-column: 4 / 5;
}
.grid_05{
    grid-column: 5 / 6;
}
.grid_06{
    grid-column: 6 / 7;
}
.grid_07{
    grid-column: 7 / 8;
}
.grid_08{
    grid-column: 8 / 9;
}
.gal_back_01 {
    background-image: url(../img/gallery_back.png);
    background-size: cover;
    background-position: center;
    width: 100%;
}
.gal_main .splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.gal_main .splide__slide img {
    align-self: center;
    max-height: 100%;
    max-width: 100%;
    width: auto;
}
.gal_main .splide__pagination {
    counter-reset: pagination-num;
}
.gal_main .splide__pagination__page:before {
    counter-increment: pagination-num;
    content: counter( pagination-num );
}
.gal_main .splide__track--fade>.splide__list>.splide__slide {
	height: 0 !important;
}
.gal_main .splide__track--fade>.splide__list>.splide__slide.is-active {
	height: auto !important;
}
.gal_slide_no {
    background-color: #333;
    color: #fff;
    height: 25px;
    margin-left: 6px;
    margin-right: 6px;
    width: 25px;
  }
.gal_slide_no.is-active {
    background-color: #fff;
    color: #333;
  }
.pv_add{
    margin: 10px;
}
.book_com {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.book_com div {
    margin: 2%;
}
.book_com img {
    width: 100%;
}
#copy_footer {
    max-width: 1000px;
    margin:0 auto;
    background-color: #ffff00;
    text-align: center;
    font-size: 0.6rem;
}
@media screen and (max-width: 900px) {
    .area-image .head_menu {
        position: absolute;
        bottom: 16%;
        right: 2%;
        width: 48%;
    }
    .co_space {
        height: 10px;
    }
}
@media screen and (max-width: 1199px){
    .co_story {
        display: block;
    }
    .co_story img {
        display:block;
        width: 100%;
    }
}
@media screen and (min-width: 1200px) {
    .story_main{
        margin: 0 calc(50% - 50vw);
        padding: 0 calc(50vw - 50%);
        width: 100vw;
    }
    .co_story {
        display: grid;
        justify-content: center;
        max-width: 1500px;
    }
    .co_story > picture {
       width: 100%;
    }
}