@charset "utf-8";

/*---------------------------------navi-----------------------------------------*/


/*アクティブになったエリア*/

#g-nav.panelactive {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    height: 100vh;
}


/*丸の拡大*/

.circle-bg {
    position: fixed;
    z-index: 3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: midnightblue;
    /*丸のスタート位置と形状*/
    transform: scale(0);
    /*scaleをはじめは0に*/
    left: -50px;
    top: -50px;
    transition: all .6s;
    /*0.6秒かけてアニメ*/
}

.circle-bg.circleactive {
    transform: scale(50);
    /*クラスが付与されたらscaleを拡大*/
}


/*ナビゲーション*/

#g-nav ul {
    opacity: 0;
    /*はじめは透過0*/
    /*初期値、ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*背景出してnav表示*/

#g-nav.panelactive ul {
    opacity: 1;
}


/*リストのレイアウト設定*/

#g-nav li {
    text-align: center;
    list-style: none;
}

#g-nav li a {
    color: lightcyan;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}


/*ボタンつくるお*/

.openbtn1 {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    /*ボタンを最前面に*/
    cursor: pointer;
    width: 50px;
    height: 50px;
}


/*Xに変化*/

.openbtn1 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 45%;
}

.openbtn1 span:nth-of-type(1) {
    top: 15px;
}

.openbtn1 span:nth-of-type(2) {
    top: 23px;
}

.openbtn1 span:nth-of-type(3) {
    top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}


/*レイアウト*/

h1 {
    font-size: 1.2rem;
}

h2 {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 30px 0;
}

p {
    margin-top: 20px;
}

small {
    color: #fff;
    display: block;
    text-align: center;
}

section {
    padding: 100px 30px;
}

section:nth-child(2n) {
    background: #f3f3f3;
}


/*-------------------------------slide----------------------------*/

.slider img {
    width: 100%;
    /*スライダー内の画像を横幅、基準値100%*/
    height: auto;
}


/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin: 0 0px;
    /*スライド左右の余白調整*/
}


/*レイアウト*/

body {
    background: #eee;
}

h2,
p {
    text-align: center;
    padding: 20px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #333;
}

a:hover,
a:active {
    text-decoration: none;
}


/*------------------------title------------------------------*/

.title {
    position: absolute;
    width: 50%;
    top: 7%;
    /*上からの位置調整*/
    left: 50%;
    transform: translate(-50%, -50%);
}


/*-----------------------waves-----------------------------*/


/*レイアウト*/

#wrapper p {
    padding: 300px 0;
    text-align: center;
}


/*ギャラリーのためのcss*/


/*並び替えボタンのCSS*/

.sort-btn {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 50px 20px;
}

.sort-btn li {
    background: #eee;
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    margin: 0 10px;
}

.sort-btn li.active {
    /*ボタンに現在地＝activeというクラス名がついたら背景色を変更*/
    background: #ccc;
}


/*横幅が480px以下になった際の指定*/

@media only screen and (max-width: 480px) {
    .sort-btn {
        justify-content: space-between;
    }
    .sort-btn li {
        width: 48%;
        margin: 0 0 10px 0;
        text-align: center;
    }
}


/*＝＝＝Muuriのレイアウトのための調整 */

.grid {
    position: relative;
    /*並び替えの基準点を指定*/
}


/*各画像の横幅などの設定*/

.item {
    display: block;
    position: absolute;
    width: 33%;
    /*横並びで3つ表示*/
    z-index: 1;
}


/*内側のボックスの高さが崩れないように維持*/

.item-content {
    position: relative;
    width: 100%;
    height: 100%;
}


/*画像の横幅を100%にしてレスポンシブ化*/

.grid img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    /*画像の下にできる余白を削除*/
}


/*横幅が768px以下になった際の指定*/

@media only screen and (max-width: 768px) {
    .item {
        width: 49.5%;
        /*横並びで2つ表示*/
    }
}


/*＝＝＝fancyboxサムネイル背景と画像選択時の枠線の指定*/

.fancybox-thumbs {
    background: transparent!important;
}

.fancybox-thumbs__list a:before {
    border: 6px solid #FA999B;
}


/*========= レイアウトのためのCSS ===============*/

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #333;
}

a:hover,
a:active {
    text-decoration: none;
}

h1 {
    text-align: center;
    font-size: 6vw;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 30px 0;
}

p {
    margin: 0 10px 10px 10px;
    word-wrap: break-word;
}