@charset "utf-8";


/* ================================================================== */
/*      フッターフェードインメニュー
/* ================================================================== */
.fi_menu {
	position: fixed;
	z-index: 99999989;
	bottom: 0px;
	left: 0px;
	width: 100%;
	background-color: rgba(229,0,18,0.9);
}
.fi_menu01 {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}
.fi_menu01 li {
	box-sizing: border-box;
	flex: 0 0 50%;
}
.fi_menu01 li:not(:last-child) {
	border-right: 1px solid #F28089;
}
.fi_menu01 li a,
.fi_menu01 li span {
	display: block;
	cursor: pointer;
	padding: 14px 0 12px;
	text-align: center;
}
.fi_menu01 li img {
	max-width: 86px;
	width: 80%;
	height: auto;
}

/* =====================================================================
    メニュー開閉ボタン
======================================================================*/
.menu-btn{
	position: relative;
	z-index: 99999998;
}
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn {
	position: relative;
	background-color: rgba(255,0,0,.66);
	cursor: pointer;
    width: 60px;
    height: 60px;
}
@media screen and (min-width: 641px) {
	.openbtn {
	    width: 70px;
	    height: 70px;
	}
}
/*ボタン内側*/
.openbtn span{
	display: inline-block;
	transition: all .4s;/*アニメーションの設定*/
	position: absolute;
	left: 14px;
	height: 2px;
	border-radius: 5px;
	background: #FFF;
	width: 55%;
}
.openbtn span:nth-of-type(1) {
	top: 27px;	
}
.openbtn span:nth-of-type(2) {
	top: 35px;
}
.openbtn span:nth-of-type(3) {
	top: 43px;
}
.openbtn span:nth-of-type(1)::after {
	content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
	position: absolute;
	top: -18px;
	left: 1px;
	color: #FFF;
	font-size: 10px;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active {
	background-color: #000;
}
.openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}
.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}
.openbtn.active span:nth-of-type(3){
    top: 40px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}
.openbtn.active span:nth-of-type(1)::after {
	content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(45deg);
	top: -20px;
	left: 6px;
}
@media screen and (min-width: 641px) {
	.openbtn span:nth-of-type(1) {
		top: 32px;	
	}
	.openbtn span:nth-of-type(2) {
		top: 42px;
	}
	.openbtn span:nth-of-type(3) {
		top: 52px;
	}
	.openbtn span:nth-of-type(1)::after {
		top: -22px;
		font-size: 12px;
	}
	.openbtn.active span:nth-of-type(1) {
		top: 36px;
		width: 45%;
	}
	.openbtn.active span:nth-of-type(3){
		top: 48px;
		width: 45%;
	}
	.openbtn.active span:nth-of-type(1)::after {
		top: -24px;
		left: 12px;
	}
}

/* =====================================================================
    ハンバーガーメニュー
======================================================================*/
.menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 100vw;
	max-height: 100%;
	overflow-y: auto;
	background-color: rgba(0,0,0,0.8);
	z-index: 99999995;
}

/* アニメーション前のメニューの状態 */
.menu{
  transform-origin: top right;
  transform: rotateZ(90deg);
  transition: all .3s ease;
}
/* アニメーション後のメニューの状態 */
.menu.is-active{
  transform: rotateZ(0deg);
}

/*ハンバーガーメニュー内のデザイン*/
.menu > dl {
	box-sizing: border-box;
	padding: 3rem 1rem 0;
}
.menu > dl > dt {
	text-align: center;
	margin-bottom: 2.5rem;
}
.menu > dl > dt img {
	width:124px;
}
@media screen and (min-width:641px) {
	.menu > dl > dt img {
		width:160px;
	}
}
.menu > dl > dd > ul {
}
.menu > dl > dd > ul > li {
	margin-bottom: 1.5rem;
	text-align: center;
	font-family: "M PLUS 1p", serif;
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
.menu > dl > dd > ul > li a {
	text-decoration: none;
	color: #FFF;
}
.menu > dl > dd > ul > li span {
	color: #666;
}
@media screen and (min-width:440px) {
	.menu > dl > dd > ul {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-around;
		max-width: 980px;
		margin: 0 auto;
	}
	.menu > dl > dd > ul > li {
		flex: 0 0 40%;
	}
}
@media screen and (min-width:641px) {
	.menu > dl > dd > ul > li {
		flex: 0 0 25.5%;
	}
}

@media screen and (max-width:1023px) {
	.side_menu {
		display: none;
	}
}
@media screen and (min-width:1024px) {
	.side_menu {
		position: fixed;
		z-index: 99999989;
		top: 188px;
		right: 0;
		padding: 0 10px;
		border-radius: 16px 0 0 16px;
		background-color: #C9A063;
	}
	.side_menu > li {
		padding: 13px 0;
	}
	.side_menu > li:not(:first-child) {
		border-top: 1px solid #FFF;
	}
}
