/* 共通部分始まり */
* {
    margin: 0 auto;
    padding: 0;
}
img {
    width: 100%;
    vertical-align: bottom;
}
li {
    list-style: none;
}
ul {
    padding-left: 0;
}
a {
    text-decoration: none;
}
.wrapper {
    max-width: 800px;
    padding: 0 35px;
}
.section_title {
    font-size: 35px;
    margin-bottom: 45px;
    border-bottom: 1px solid #CCCCCC;
    display: inline-block;
}
.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:1.5s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeUpAnime{
      from {
        opacity: 0;
        transform: translateY(100px);
      }
    
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
body {
    background-color: #050507;
    color: #FFFFFF;
}
/* 共通部分終わり */

/* ヘッダー始まり */
.logo {
    width: 140px;
    position: fixed;
    left: 35px;
    z-index: 999;
}
.openbtn{
	position:fixed;
    z-index: 999;/*ボタンを最前面に*/
	top:10px;
	right: 35px;
	cursor: pointer;
    width: 50px;
    height:50px;
}

.menu {
    display: flex;
    justify-content: space-between;
}

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 998;
    /*ナビのスタート位置と形状*/
	top:-120%;
    left:0;
	width:100%;
	background:#050507;
    /*動き*/
	transition: all 0.6s;
    padding: 80px 0 30px 0;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 50%;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    margin-top: 30px;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
  	width: 35px;
  }

.openbtn span:nth-of-type(1) {
	top:20px;	
}

.openbtn span:nth-of-type(2) {
	top:28px;
}

.openbtn span:nth-of-type(3) {
	top:36px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 35px;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 35px;
}
.main_visual {
    display: flex;
    margin: 0;
}
.main_visual img {
    width: 33.3%;
    height: 100vh;
    object-fit: cover;
    margin: 0;
}
.header_text {
    text-align: center;
    font-size: 40px;
}
/* ヘッダー終わり */

/* information　始まり */
#information {
    text-align: center;
    margin-top: 100px;
}
#information h3 {
    font-size: 15px;
}
#information p {
    font-size: 15px;
}
.sub_title {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}
/* information　終わり */

/* サイドボタン　始まり */
/*
サイドボタン
初期状態は「translateY(60px);」で画面の右側に隠しておく
Galleryのタイトルが画面下にきたタイミングで、jQueryでCSSを変更してボタンをスライドしながら表示する
Accessのタイトルが画面下にきたタイミングで、jQueryでCSSを変更してボタンをスライドしながら非表示にする
※main.jsの「サイドボタンを表示」を参照
*/
#side-btn {
    border: solid 1px #fff;
    position: fixed;
    right: -144px;
    bottom: 200px;
    transform: rotate(-90deg) translateY(60px);
    transition: 0.6s;
    z-index: 30;
    text-align: center;
  }
  #side-btn a {
    width: 165px;
    color: #fff;
    font-size: 0.875rem;
    display: inline-block;
    letter-spacing: 0.1em;
    padding: 15px 0;
    transition: 0.3s;
  }
  #side-btn a:last-of-type {
    border-left: solid 1px #fff;
  }
  #side-btn a:hover {
    opacity: 0.7;
  }
  
  
/* サイドボタン　終わり */

/* gallery 始まり */
#gallery {
    text-align: center;
    margin-top: 140px;
}
.gallery_item img {
    width: 48%;
    height: auto;
}
.gallery_item {
    margin-top: 60px;
}
.gallery_item:first-child {
    margin-top: 0;
}
/* 奇数のliタグは左寄せ */
.gallery_item:nth-child(odd) {
    text-align: left;
  }
  /* 偶数のliタグは右寄せ */
.gallery_item:nth-child(even) {
    text-align: right;
  }
/* gallery 終わり */

/* access 始まり */
#access{
    margin-top: 480px;
    position: relative;
    z-index: 20;
    text-align: center;
    color: #050507;
}
.access_title {
    margin-bottom: 20px;
}
.tel {
    margin-top: 20px;
}
.bg {
    background-image: url(../image/access.jpg);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 10;
  }
 #access .button {
    border: solid 1px #050507;
    padding: 15px 82px;
    color: #050507;
    display: inline-block;
    margin-top: 30px;
  }

/*
フェード表示
InformationとGalleryの画像を下からふわっと表示させるためのクラス
「transform: translate(0, 50%);」で下にさげた状態で、
「opacity: 0;」で非表示にしておく
*/
.fadein {
    opacity: 0;
    transform: translate(0, 50%);
    transition: 2s;
  }
  /*
  fadeinクラスの要素が画面下にきたタイミングで、jQueryのinviewにてshowクラスを追加して
  「transform: translate(0, 0);」と「opacity: 1;」で表示させる
  ※main.jsの「フェード表示」を参照
  */
  .fadein.show {
    transform: translate(0, 0);
    opacity: 1;
  }
/* access 終わり */

/* contact 始まり */
#contact {
    margin-top: 480px;
    margin-bottom: 200px;
    position: relative;
    z-index: 20;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  #contact .button {
    width: 400px;
    border: solid 1px #fff;
    padding: 30px 0;
    margin-top: 20px;
    color: #fff;
    position: relative;
    transition: 0.3s;
  }
  #contact .button::before,
  #contact .button::after {
    content: "";
  position: absolute;
  right: -40px;
  height: 1px;
  background-color: #fff;
  transition: 0.3s;
  }
  #contact .button::before {
    width: 120px;
  top: 48px;
  }
  #contact .button::after {
    width: 15px;
  top: 45px;
  transform: rotate(25deg);
  }
  #contact .button:hover {
    opacity: 0.7;
  }
  #contact .button:hover::before,
  #contact .button:hover::after {
    right: -50px;
  }

/* contact 終わり */

/* フッター始まり */
footer {
    padding: 80px 40px;
    border-top: 1px solid#fff;
    font-size: 12px;
}
.footer_items {
    display: flex;
     justify-content: space-between;
     margin-top: 30px;
}
.footer_sns {
    display: flex;
    margin: 0;
}
.footer_sns li {
    margin-right: 15px;
}
.footer_cpy {
    display: flex;
    align-items: flex-end;
    margin: 0;
}
.footer_cpy li {
    margin-right: 30px;
}
.footer_cpy li:last-child {
    margin-right: 0;
}
/* フッター終わり */

/* レスポンシブデザイン（タブレット）始まり */
@media (max-width: 900px) {

}
/* レスポンシブデザイン（タブレット）終わり */

/* レスポンシブデザイン（スマホ）始まり */
@media (max-width: 600px) {
    .main_visual {
        justify-content: center;
        overflow-x: hidden;
    }
.main_visual img {
    width: 100%;
    object-fit: contain;
}
.header_text  {
    font-size: 18px;
}
.gallery_item img {
    width: 100%;
}
.gallery_item:nth-child(odd) {
    text-align: center;
}
.gallery_item:nth-child(even) {
    text-align: center;
}
#side-btn {
    display: none;
}
#access {
    margin-top: 280px;
}
#contact .button  {
    width: 100%;
}
#contact {
    margin-top: 280px;
}
#contact .button::before,
  #contact .button::after {
    display: none;
  }

  .footer_items {
    flex-direction: column;
  }
  .footer_sns li {
    margin-left: 0;
  }
  .footer_cpy {
    margin-top: 30px;
  }
  .footer_cpy li {
    margin-left: 0;
  }
}
/* レスポンシブデザイン（スマホ）終わり */