@charset "utf-8";
/* /////////////////// トップページ  //////////////////////////// */

/* /////////////////////////////////////////
レイアウト
////////////////////////////////////////// */

#home, #facility-map, #event, #note, #instagram, #onlineshop, #peakstudio{
    margin-top:100px;
    margin-bottom:100px;
}

#home{
    margin-top:60px;
}

#home h2{
    text-align:center;
    margin-bottom:70px;
}

@media screen and ( max-width:1160px )
{
    br.hp{
        display:none;
    }
}

@media screen and ( max-width:760px )
{
    #home, #facility-map, #event, #note, #instagram, #onlineshop, #peakstudio{
        margin-top:40px;
        margin-bottom:40px;
    }

    #home h2{
        margin-bottom:35px;
    }
}

/* /////////////////////////////////////////
メイン
////////////////////////////////////////// */

.home-main{
    margin-top:150px;/* style.css headerのmargin-top:150; top:-150pxの相殺 */
    width:100%;
    height:40%;
}

.home-main img{
    width: 100%;
    object-fit: cover;
    object-position:center top;
}

#home .concept{
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-top:80px;
    margin-bottom:-70px;
}

#home .concept h2{
    width:180px;
    padding:0;
}

#home .concept h2 img{
    max-width:180px;
    width:30vw;
}

#home .concept p{
    width:calc(85% - 180px);
font-size:1.1rem;
    line-height:2.6;
}

/* -- スライド -- */
/* 高さ（height）をそろえる */
#home-slide {
    width: 1000px;
    height: 450px;
    overflow: hidden;
    font-weight: 800;
    text-align: center;
    position: relative;
    background: center center no-repeat;
    background-size: cover;
}

#home-slide .carousel-wrapper > div {
    height: 450px !important;
}

#carousel li {
    height: 450px;
    position: relative;
    overflow: hidden;
    float: left;
}

/* 前へ＆次へ */
#home-slide .prev,
#home-slide .next {
    width: 50px;
    height: 100%;
    position: absolute;
    top: 15px;
    background: center center no-repeat;
    z-index: 1;
    cursor: pointer;
}

#home-slide .prev {
    left: 0;
    background-image: url("../images/kv_prev.png");
}
#home-slide .next {
    right: 0;
    background-image: url("../images/kv_next.png");
}

/*-- ページャー --*/
.slide-pager {
    text-align: center;
    padding: 10px;
    position: absolute;
    left: 0;
    bottom: 0px;
    width:100%;
    z-index: 2;
}
.slide-pager a {
    border: 3px solid #fff;
    background-color: #fff;
    border-radius: 5px;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 20px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.slide-pager a:first-child {
    margin-left: 0;
}
.slide-pager a:hover,
.slide-pager a.selected {
    border-color: #666;
    background-color: #666;
}
.slide-pager a span {
    display: none;
}


@media screen and ( max-width:760px )
{
    .home-main{
        margin-top:100px;/* style.css headerのmargin-top:150; top:-150pxの相殺 */
        width: 100%; 
        height: 300px;
        overflow: hidden; 
    }

    .home-main img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position:right top;
    }
    
    #home{
        margin-top:0px;
    }

    #home .concept{
        margin-top:30px;
        margin-bottom:-30px;
    }
    
    #home .concept h2{
        width:100%;
        margin-bottom:20px;
        text-align:left;
    }
    
    #home .concept h2 img{
        width:200px;
    }
    
    #home .concept p{
        width:100%;
        font-size:1rem;
        line-height:2;
    }

    /* -- スライド -- */
    #home-slide {
    width:100%;
    height: 280px;
    padding:0;
    }

    #home-slide .carousel-wrapper > div {
    height: 280px !important;
    padding:0;
    }

    #carousel li {
    height: 280px;
    padding:0;
    }

    /*-- ページャー --*/
    .slide-pager {
        bottom: -5px;
    }

    /* 前へ＆次へ */
    #home-slide .prev,
    #home-slide .next {
    width: 30px;
    }
}


/* /////////////////////////////////////////
MAP
////////////////////////////////////////// */
#facility-map .map_area{
    width: 100%;
    position: relative;
    margin:90px auto 0;
}

#facility-map .map_area .map {
    overflow: hidden;
}

#facility-map .map_area .map img{
	width: 100%;
	position: relative;
    z-index:1;
    object-fit: cover;
    height:100%;
}

#facility-map .map_area h2{
    position:absolute;
    top:10vw;
    left:12vw;
    z-index: 2;
}

#facility-map .map_area h2 img{
    width:188px;
}

.facility-list{
    position:absolute;
    top:28vw;
    left:12vw;
    z-index: 2;
    background:rgba(255,255,255, 0.7);
    padding:2vw;
    color:#007f41;
    font-family: toppan-bunkyu-midashi-go-std, sans-serif;
}

.facility-list li{
    font-size:1.1vw;
    display: flex; /* フレックスボックスのコンテナを設定 */
    align-items: center; /* 垂直方向の中央に揃える */
}

.facility-list li span{
    display: flex; /* フレックスボックスを使用 */
    align-items: center; /* 垂直方向の中央に揃える */
    justify-content: center; /* 水平方向の中央に揃える */
    width: 1.6vw; /* 円の幅 */
    height: 1.6vw; /* 円の高さ */
    background-color: #007f41; /* 背景色を黒に設定 */
    color: #fff; /* テキストの色を白に設定 */
    border-radius: 50%; /* 丸くするためにボーダーを50%に設定 */
    font-size: 0.8vw; /* フォントサイズを適切に設定 */
    margin-right: 0.5vw; /* 円とテキストの間にスペースを設定 */
}


#facility-map .map_area .map_link a{
    display: block;
    position: absolute;
    width: 140px;
    z-index:10;    
}

#facility-map .map_area .map_link a.map_link01{left: 50vw; top: 19vw;}
#facility-map .map_area .map_link a.map_link02{left: 62vw; top: 22vw;}
#facility-map .map_area .map_link a.map_link03{left: 56vw;top:31vw;}
#facility-map .map_area .map_link a.map_link04{left: 52vw;top:35vw;}
#facility-map .map_area .map_link a.map_link05{left: 56vw; top: 38vw;}
#facility-map .map_area .map_link a.map_link06{left: 60vw; top: 36.5vw;}
#facility-map .map_area .map_link a.map_link07{left: 70vw; top: 47vw;}
#facility-map .map_area .map_link a.map_link08{left: 80vw; top: 45vw;}
#facility-map .map_area .map_link a.map_link09{left: 19vw; top: 63vw;}
#facility-map .map_area .map_link a.map_link10{left: 32vw; top: 62vw;}
#facility-map .map_area .map_link a.map_link102{left: 34vw; top: 28vw;}
#facility-map .map_area .map_link a.map_link11{left: 90vw; top: 45vw;}


@media screen and ( max-width: 1080px ) {
    #facility-map .map_area h2{
        left:30px;
    }

    #facility-map .map_area h2 img{
        width:15vw;
    }

    .facility-list{
        position:absolute;
        top:25vw;
        left:30px;
    }
}
@media screen and ( max-width: 820px ) {
    .facility-list li{
        font-size:1.3vw;
    }
}

@media screen and ( max-width: 760px ) {

    #facility-map .map_area{
        padding:0;
        margin:0;
    }

    #facility-map .map_area .map{
        width:100%;
        height:auto;
    }

    #facility-map .map_area h2{
        left:7vw;
    }

    #facility-map .map_area h2 img{
        width:22vw;
    }

    .facility-list{
        position:static;
        padding:20px;
        -bottom:140px;
    }

    .facility-list ul{
        overflow: hidden;
    }

    .facility-list li{
        font-size:0.8rem;
        width:50%;
        float:left;
    }

    .facility-list li span{
        width: 16px; /* 円の幅 */
        height: 16px; /* 円の高さ */
        font-size:0.6rem;
    }
    #facility-map .map_area .map_link a.map_link03{left: 56vw;top:30vw;}
    #facility-map .map_area .map_link a.map_link04{left: 50vw;top:35vw;}
    #facility-map .map_area .map_link a.map_link05{left: 56vw; top: 39vw;}
    #facility-map .map_area .map_link a.map_link06{left: 61vw; top: 35.5vw;}
    #facility-map .map_area .map_link a.map_link08{left: 80vw; top: 42vw;}
    #facility-map .map_area .map_link a.map_link09{left: 19vw; top: 60vw;}
    #facility-map .map_area .map_link a.map_link10{left: 32vw; top: 59vw;}
}

#facility-map .map_area .flip-container {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -o-perspective: 1000;
    perspective: 1000;
    display:block;
    width:140px;
    bottom:156px;
}

#facility-map .map_area .flip-container:hover {
    filter: alpha(opacity=100);
    -moz-opacity:1;
    opacity:1;
}

/* flip the pane when hovered */

#facility-map .map_area .flip-container:hover .flipper, 
#facility-map .map_area .flip-container.hover .flipper {
        -webkit-transform: rotateY(180deg);
        -moz-transform: rotateY(180deg);
        -o-transform: rotateY(180deg);
        transform: rotateY(180deg);
}

.flip-container{
    position:relative;
}

.flip-container span{
    position:absolute;
    top: 50%; /* 上から50% */
    left: 50%; /* 左から50% */
    transform: translate(-50%, -50%); /* 自身の幅と高さの半分だけ逆方向に移動させて中央に配置 */
    z-index:2;
    font-family: toppan-bunkyu-midashi-go-std, sans-serif;
    color:#fff;
    font-size:1vw;
    line-height:1;
}

#facility-map .map_area .flip-container, .front, .back {
	width: 140px;
	height: 156px;
	background-size:cover;
}
.flipper .front{
	background-image:url(../images/map_icon.png) ;
	}
.flipper .back{
	background-image:url(../images/map_icon_af.png) ;
	}

/* flip speed goes here */
.flipper {
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;

	-moz-transition: 0.6s;
	-moz-transform-style: preserve-3d;

	-o-transition: 0.6s;
	-o-transform-style: preserve-3d;

	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
}

/* back, initially hidden pane */
.back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

#facility-map .map_area .map_link a{
    width: 2vw; /* ラベルのサイズ */
    height:2vw;
}
#facility-map .map_area .flip-container, .front, .back {
	width: 2vw;/* ラベルのサイズ */
	height: 2vw;
}

.modal{
    display: none;
    min-height: 100vh;
    height:auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    width: 100%;
    z-index:99999;
    background: rgba(0,0,0,0.2);
}

.facility-info {
    background: #fff;
    padding: 30px;
    position: relative;
    margin:50px auto;
    width: 80%;
    max-width:800px;
    border-radius:5px;
}

.facility-info h4 {
    position: relative;
    margin:10px auto 0;
    text-align:center;
    display: inline-block;
    font-family: toppan-bunkyu-midashi-go-std, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    left: 50%;
    width:100%;
transform: translateX(-50%);
}

.facility-info img{
    object-fit: cover;
    width:100%;
    height:500px;
}

.facility-info .js-modal-close {
    display: block;
    position: absolute;
    z-index:10;
    right: 10px;
    top:10px;
    width: 70px;
    height: 70px;
    background:url(../images/close_btn.png);
    background-size:cover;
}
.facility-info .prev_btn {
    display: block;
    position: absolute;
    z-index:10;
    left: -40px;
    top:250px;
    width: 70px;
    height: 70px;
    background:url(../images/map_prev_btn.png);
    background-size:cover;

}
.facility-info .next_btn {
    display: block;
    position: absolute;
    z-index:10;
    right: -40px;
    top:250px;
    width: 70px;
    height: 70px;
    background:url(../images/map_next_btn.png);
    background-size:cover;
}

@media screen and ( max-width: 760px ) {

    .facility-info {
        position: relative;
        padding: 20px;
        margin:130px auto 40px;
        width: 85%;
        border-radius:15px;
    }

    .facility-info h4 {
        font-size: 1.2rem;
    }
    .facility-info img{
        width:100%;
        height:250px;
    }

    .flip-container span{
        font-size:2.8vw;
    }

    #facility-map .map_area .map_link a{
        width: 6vw; /* ラベルのサイズ */
        height:6vw;
    }

    #facility-map .map_area .flip-container, .front, .back {
        width: 6vw;/* ラベルのサイズ */
        height: 6vw;
    }

    /* 回転させない */
    #facility-map .map_area .flip-container:hover .flipper, 
    #facility-map .map_area .flip-container.hover .flipper {
            -webkit-transform:none;
            -moz-transform: none;
            -o-transform: none;
            transform: none;
    }

    .facility-info .js-modal-close {right: -10px;top:-10px;width: 41px;height: 41px;}
    .facility-info .prev_btn {left: -20px; top:130px;width: 41px;height: 41px;}
    .facility-info .next_btn {right: -20px;top:130px;width: 41px;height: 41px;}

    img {
        width: 100%;
        vertical-align: bottom;
        -ms-interpolation-mode: bicubic;
            interpolation-mode: bicubic;
        -webkit-backface-visibility: hidden;
        image-rendering: crisp-edges;
        -webkit-image-rendering: crisp-edges;
    }
}

/* /////////////////////////////////////////
EVENT NOTE　の横スクロール
////////////////////////////////////////// */
/*===========
.scroll-box
===========*/
.scroll-box {
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
  
/*===========
scrollbar
===========*/
/*スクロールバー全体の高さ*/
.scroll-box::-webkit-scrollbar {
  height: 4px;
}
/*スクロールバー全体の背景*/
.scroll-box::-webkit-scrollbar-track {
  background: #eee;
}
/*スクロールバーの動く部分*/
.scroll-box::-webkit-scrollbar-thumb {
  background: #aaa;
  border: none;
}
/*スクロールバーの動く部分のホバー（マウスオーバー）*/
.scroll-box::-webkit-scrollbar-thumb:hover {
  background: #999;
}
  
/*===========
ul
===========*/
.scroll-box ul {
  display: flex;
  justify-content: center;
}
.scroll-box ul li {
  width: 33.333%;
}
.scroll-box ul li a {
  display: block;
  overflow: hidden;
  backface-visibility: hidden;
}
.scroll-box ul li a img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
  transform: scale(1);
  transition: .5s;
}

@media screen and (max-width: 1024px) {
  .scroll-box {
    overflow-x: auto;
  }
  .scroll-box ul {
    justify-content: flex-start;
    overflow-x: scroll;
    padding: 0 0 15px;
  }
  .scroll-box ul li {
    flex: 0 0 45%;
  }
}
@media screen and (max-width: 767px) {
  .scroll-box ul li {
    flex: 0 0 80%;
  }
}

/* /////////////////////////////////////////
EVENT
////////////////////////////////////////// */

#event h2 img{
    max-width:500px;
    width:50vw;
}

#event .event-list li{
    margin-left:42.5px;
    width:325px;
    max-width:325px !important;
}

#event .event-list li:nth-child(1){
    margin-left:0;
}

#event .event-list a img{
    display:block;
    object-fit: cover;
    object-position:top;
    width:100%;
    height:325px;
    border:1px solid #ddd;
}

#event .event-list a:hover img{
    opacity:1;
}

#event .event-list a div{
    color:#fff;
    padding:20px 25px;
    font-family: toppan-bunkyu-midashi-go-std, sans-serif;
    font-size:1.3rem;
    line-height:1.6;
}

#event .event-green{
    background:#007f41;
}

#event .event-pink{
    background:#ef857d;

}

#event .event-yellow{
    background:#fedc50;
}

@media screen and ( max-width:760px )
{
    #event .event-list li{
        margin-left:15px;
        width:100%;
    }

    #event .event-list li{
        margin-left:15px;
        width:250px;
        max-width:250px !important;
    }

    #event .event-list a img{
        height:250px;
    }

    #event .event-list a div{
        padding:15px 20px;
        font-size:0.9rem;
    }
}

/* /////////////////////////////////////////
NOTE
////////////////////////////////////////// */
#note{
    padding:100px 0;
}

#note h2 img{
    max-width:423px;
    width:46.5vw;
}

#note .note-list li{
    margin-left:42.5px;
    width:325px;
    max-width:325px !important;
    background:#fff;
}

#note .note-list li:nth-child(1){
    margin-left:0;
}

#note .note-list a img{
    display:block;
    object-fit: cover;
    width:100%;
    height:325px;
}

#note .note-list a div{
    color:#007f41;
    padding:20px 25px;
    font-family: toppan-bunkyu-midashi-go-std, sans-serif;
    font-size:1.3rem;
    line-height:1.6;
}

#note .note-list2 li{
    display:flex;
}

#note .note-list2 .note-date{
    color:#444444;
    font-size:0.8rem;
    margin-right:1rem;
    white-space: nowrap;
    padding-top:0.3rem;
    display:inline-block;
}

#note .note-list2 .note-comment{
    display:inline-block;
}



@media screen and ( max-width:760px )
{
    #note{
        padding:40px 0 40px;
    }

    #note .note-list li{
        margin-left:15px;
    }

    #note .note-list a img{
        height:250px;
    }

    #note .note-list a div{
        padding:15px 20px;
        font-size:0.9rem;
    }
    #note .note-list2 li{
        display:block;
    }

    #note .note-list2 .note-date{
        display:block;
        line-height:140%;
        margin-bottom:3px;
    }
    #note .note-list2 .note-comment{
        display:block;
        line-height:140%;
        text-align:left;
        margin-bottom:7px;
    }
}

/* /////////////////////////////////////////
SHOP
////////////////////////////////////////// */

#onlineshop h2 img{
    max-width:446px;
    width:49vw;
}

#onlineshop .onlineshop-image{
    width:50%;
}

#onlineshop .onlineshop-messgage{
    width:50%;
    position:relative;
    background:#007f41;
    padding:45px;
    color:#fff;
}


#onlineshop .view-all{
    position:absolute;
    bottom:30px;
    right:30px;
}

#onlineshop .view-all a{
    font-family: toppan-bunkyu-midashi-go-std, sans-serif;
    font-weight:500;
    font-size:1.2rem;
    color:#fff;
    letter-spacing:0.2rem;
    position:relative;
    padding-right:25px;
}

#onlineshop .view-all a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 12px; /* 三角形の大きさ調整 */
    border-color: transparent transparent transparent #fff; /* 三角形の色 */
}

@media screen and ( max-width:760px )
{
    #onlineshop .onlineshop-image{
        width:100%;
        object-fit: cover;
        height:200px;
    }
    
    #onlineshop .onlineshop-messgage{
        width:100%;
        height:200px;
        padding:25px;
    }

    #onlineshop .view-all{
        bottom:15px;
        right:15px;
    }
    

    #onlineshop .view-all a{
        font-size:0.9rem;
        padding-right:20px;
    }

    #onlineshop .view-all a::after {
        border-width: 7px 0 7px 10px; /* 三角形の大きさ調整 */
    }
}

/* /////////////////////////////////////////
INSTAGRAM
////////////////////////////////////////// */

#instagram h2 img{
    max-width:417px;
    width:45.8vw;
}

.instagram-gallery {
        width:100%;
        margin: auto;
}
.instagram-gallery__list {
    display: flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}
.instagram-gallery__item {
    min-width: 22.6%;
    width: 22.6%;
    height:0;/* 高さを0に設定し、padding-bottomを使用してアスペクト比を設定 */
    padding-bottom:22.6%; /* 幅と同じアスペクト比を設定 */
    position:relative;
    margin-right:3.2%;
    margin-bottom:34px;
}

.instagram-gallery__item:nth-child(4n+4) {
    margin-right:0;
}

.instagram-gallery__item img{
    position: absolute; /* 絶対位置に設定し、親要素に対して相対配置 */
    width: 100%; /* 幅を100%に設定 */
    height: 100%; /* 高さを100%に設定 */
    object-fit: cover; /* 画像を親要素に合わせてカバーする */
}

@media screen and ( max-width:760px )
{
    .instagram-gallery__item {
        min-width: 48%;
        width: 48%;
        height:0;/* 高さを0に設定し、padding-bottomを使用してアスペクト比を設定 */
        padding-bottom:48%; /* 幅と同じアスペクト比を設定 */
        margin-right:4%;
        margin-bottom:4%;
    }

    .instagram-gallery__item:nth-child(2n+2){
        margin-right:0;
    }


    .instagram-gallery__item:nth-last-child(2) ,
    .instagram-gallery__item:nth-last-child(1) {
        display:none;
        padding-bottom:0;
    }
}


/* /////////////////////////////////////////
about PeakStudio
////////////////////////////////////////// */

#peakstudio{
    text-align:center;
}

#peakstudio img{
    max-width:444px;
    width:49vw;
}

@media screen and ( max-width:760px )
{

    #peakstudio img{
        width:70%;
    }
}