/*
Theme Name: 蟷螂山 2025
Theme URI: https://tourouyama.jp
Description: 蟷螂山サイトのテーマ2025
Version: 1
Author: Yumi Asakura
Author URI: http://yumiasakura.com
*/

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

/****************************************
		Base
*****************************************/
html {
	scroll-behavior: smooth;
	scroll-padding-top: 10vh;
}
/* 全体のリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {	
    padding-right: 80px;
	font-size: 12pt; 		
	font-family: ten-mincho, serif;
	font-weight: 400;
	font-style: normal;
	line-height: 1.9em; 
	letter-spacing:0.03em;
	color: #3B311C;
	background:url(img/bk2.jpg) #fff;
	background-size:250px 250px;
	width:100%; height:100vh;
	animation: loading 1s;
}
@keyframes loading {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
a {color:#3B311C; text-decoration:none;}
a:hover {color:#3B311C; -webkit-transition: all 0.3s;-moz-transition: all 0.3s;transition: all 0.3s; text-decoration:none; opacity:0.7;}

.en {font-family: "Bodoni Moda", serif;}
.gothic {font-family: "yu-gothic-pr6n", sans-serif;}
.caption {font-size: 80%;}
/* 飾り画像 */
.title {
	position: relative;
	text-align: center;
	margin-bottom: 1em;
	letter-spacing:0.05em;
	padding: 0 3em;
    background: url(img/dia.png) center left / 15% no-repeat, url(img/dia.png) center right / 15% no-repeat;
}
h1 rt, h2 rt {
    font-weight: normal;
    font-size: 40%;
}
@media screen and (max-width: 768px) {
	body {
		font-size: 16px;
		padding-right: 0;
	}
}


/* 各種フェードイン */
.fadeInUpTrigger, .fadeInLeftTrigger, .fadeInRightTrigger{
	opacity: 0;
	transition: 1s;
}

/****************************************
		グローバルメニュー
*****************************************/
/* 固定メニューボタン */
.menu-button {
  position: fixed;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  padding: 220px 1.7em 45px 1.7em;
  border-left: 1px solid #DBCB9B;
  cursor: pointer;
  z-index: 102;
  transition: background-color 0.3s;
  writing-mode: vertical-rl;
	display: flex;
  background-color: #fff;  
}
.menu-button::before {
  content: '';
  position: absolute;
  left: 42%;
  top: 500px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  transition: background-image 0.3s ease;
  
  /* PC用デフォルト（閉じる前） */
  width: 7px;
  height: 15px;
  background-image: url('img/icon-open.png');
}
.menu-button.active	{
  border-left: none;
}
.menu-button.active::before {
	left: 45%;
  background-image: url('img/icon-close.png');
}
.menu-logo {
    background: url(img/logo-tate.png) center top / 26px 130px no-repeat;
    display: block;
    width: 26px;
    height: 130px;
    margin-bottom: 80px;
    text-indent: -9999px;
    overflow: hidden;
}

/* サイドメニュー - PC */
.side-menu {
  position: fixed;
  top: 0;
  right: -572px;
  width: 572px;
  height: 100vh;
  border-left: 1px solid #DBCB9B;
  background-color: white;
  transition: right 0.3s ease-in-out;
  z-index: 101;
  padding: 70px 0;
    display: flex;
    flex-direction: column; 
}
.side-menu-inner {
    border-right: 1px solid #DBCB9B;
    margin: 0 80px;
    padding: 60px 0;
    height: 100%;
}
.sns-link {
    margin: 0 0 3em 0;
    text-align: center;
    width: calc(100% - 80px);
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sns-link img {
    height: 16px;
    margin-right: 1em;
    margin-top: 12px;
}
/* メニューリスト */
.side-menu ul {   
    writing-mode: vertical-rl;
    list-style: none;
    padding-right: 5em;
    height: 50vh;
	width: auto;
    margin: 0 auto;
}
.side-menu li {
    margin: 0 1em;
    font-size: 130%;
    letter-spacing:0.3em;
}
.side-menu a {
  text-decoration: none;
  color: #3B311C;
}
.english-link {
    display: block;
    text-align: center;
    padding-right: 80px;
    font-style: italic;
}
/* メニューが開いた状態 */
.side-menu.active {
  right: 0;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 99;
}

/* オーバーレイ表示 */
.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* --- スマホ用メニュー --- */
@media screen and (max-width: 768px) {
	/* 固定メニューボタン */
	 .menu-button {
    top: 0;
    left: 0;
    right: 0;
    height: 10vh;
    width: 100%;
    padding: 0;
    background-color: rgba(255,255,255,.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: none;
	transition: opacity 0.4s ease, transform 0.4s ease;
	opacity: 1;
  }
	.menu-button::before {
    width: 25px;
    height: 12px;
    background-image: url('img/icon-open-sp.png');
    right: 10%;
	top: 5vh;
  }
  .menu-button.active::before {
    background-image: url('img/icon-close-sp.png');
  }
	.menu-button.hidden {
  	opacity: 0;
 	 transform: translateY(-20px);
  	pointer-events: none;
	}
  .menu-logo {
    background: url(img/logo-yoko.png) no-repeat center;
    background-size: 100%;
    width: 35%;
    height: 100%;
    margin: 0;
  }
  .menu-button {
    font-size: 0;
    color: transparent;
  }
  /* メニューを全画面化 */
  .side-menu {
    right: 0;
	top: 0;
    width: 100%;
	 height: 70vh;
    inset: 0;
	  border-left: none;
    background-color: rgba(255, 255, 255, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
	  padding: 3em 1em 1em 1em;
  }
  /* メニュー表示時 */
  .side-menu.active {
    opacity: 1;
    visibility: visible;
  	right: 0;
	top: 9.9vh;
  }
	.side-menu-inner {
    border-right: none;
    margin: 0;
    padding: 0;
	}
	 /* メニューリスト */
	.sns-link {   
    width: 100%;
	    margin: 0 0 2em 0;
	}
	.side-menu ul {   
    	padding-right: 0;
		width: auto;
    	height: auto;
		margin: 0 auto;
	}
	.side-menu li {
    font-size: 100%;
	}
	.english-link {
    padding-right: 0;    
    position: absolute;
    bottom: 3em;
        left: 44%;
        font-size: 80%;
	}	
}


/****************************************
		フッター
*****************************************/


/* フッター */
footer {
margin-top: 200px;
  background: url(img/footer-bk.png) top left / 100% 100% no-repeat;
    padding: 3em 3em 2.5em 3em;
}
.footer-inner {
	display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.footer-left {
    font-size: 70%;
    font-family: "yu-gothic-pr6n", sans-serif;
	text-align: center;
}
.footer-left img {
    width: 60%;
}
.footer-right {
  width: 13em;
}
.footer-right ul {   
    writing-mode: vertical-rl;
    height: 50vh;
    margin-top: 1em;
	text-align: justify;
}
.footer-right li {
    margin: 0 0 0 .7em;
    letter-spacing:0.3em;
}
.footer-right a {
  text-decoration: none;
  color: #3B311C;
}
.footer-sns {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.footer-sns a {
    display: inline-block;
    margin: 0 0 0 1em;
}
.footer-sns img {
    height: 15px;
    margin-top: 12px;
}
.footer-sns a:first-child {
    font-size: 90%;
    margin-right: 3em;
	font-style: italic;
}
@media screen and (max-width: 768px) {
	.bnr-shop {
		height: 50vw;
		background: url(img/bnr-shop-sp.png) center / 100% no-repeat;  
	}
	footer {
		margin-top: 100px;
	 	background: none;
		display: inherit;
		padding: 0;
	}
	.footer-top {
		background: url(img/footer-bk-sp.png) top left / 100vw no-repeat;
		width: 100%;
		height: 17vw;
	}
	.footer-inner {
		background: url(img/footer-bk-sp2.jpg) top left / 100% repeat;
        padding: 10% 10% 8% 10%;
        flex-direction: column-reverse;
        align-items: center;
	}
	.footer-right {
    	width: 100%;
		margin-bottom: 6em;
	}
	.footer-right ul {
    height: auto;
    margin: 3em auto;
	}
	.footer-sns {
    padding-right: 0.5em;
		    justify-content: center;
	}
	.footer-sns a:first-child {
    font-size: 80%;
    margin-right: 1em;    
	}
}


/****************************************
		404.php
*****************************************/
.not-found-page {
	text-align: center;
	margin: 10vh 0;
}
.not-found-page p {
	margin-bottom: 3em;
}