@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: absolute;
	top: 0;
	right: 0;
}
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn {
	position: relative;
    width: 60px;
    height: 48px;
	cursor: pointer;
}
@media screen and (min-width: 768px) {
	.openbtn {
    	width: 100px;
	    height: 56px;
	}
	.openbtn:hover {
	}
}
/*ボタン内側*/
.openbtn span{
	display: inline-block;
	transition: all .4s;/*アニメーションの設定*/
	position: absolute;
	left: 14px;
	height: 2px;
	border-radius: 5px;
	background: #007FFF;
	width: 55%;
}
.openbtn span:nth-of-type(1) {
	top: 16px;	
}
.openbtn span:nth-of-type(2) {
	top: 23px;
}
.openbtn span:nth-of-type(3) {
	top: 30px;
}
.openbtn span:nth-of-type(1)::after {
	content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
	position: absolute;
	top: -14px;
	left: 1px;
	color: #007FFF;
	font-size: 10px;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active {
	background-color: rgba(255,255,255,0.5);
}
@media screen and (min-width: 768px) {
	.openbtn.active:hover {
		background-color: rgba(255,255,255,0.5);
	}
}
.openbtn.active span:nth-of-type(1) {
    top: 18px;
    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: 30px;
    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: -16px;
	left: 6px;
}
@media screen and (min-width: 768px) {
	.openbtn span{
		left: 36px;
		width: 30%;
	}
	.openbtn span:nth-of-type(1) {
		top: 16px;	
	}
	.openbtn span:nth-of-type(2) {
		top: 24px;
	}
	.openbtn span:nth-of-type(3) {
		top: 32px;
	}
	.openbtn span:nth-of-type(1)::after {
		top: 22px;
		left: -4px;
		color: #007FFF;
		font-size: 12px;
	}
	.openbtn.active span:nth-of-type(1) {
		top: 24px;
    	left: 36px;
    	width: 28%;
	}
	.openbtn.active span:nth-of-type(3){
		top: 36px;
	    left: 36px;
    	width: 28%;
	}
	.openbtn.active span:nth-of-type(1)::after {
		top: 8px;
		left: -24px;
	}
}

/* =====================================================================
    ハンバーガーメニュー
======================================================================*/
.menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 100vw;
	max-height: 100%;
	overflow-y: auto;
	background-color: rgba(255,255,255,0.9);
	z-index: 99999995;
}

/* アニメーション前のメニューの状態 */
.menu{
  transform: translateY(-2000px);
  transition: all 1s ease;
}
/* アニメーション後のメニューの状態 */
.menu.is-active{
  transform: translateY(0px);
}

/*ハンバーガーメニュー内のデザイン*/
.menu > ul {
	box-sizing: border-box;
	padding: 112px 32px 0;
}
.menu > ul > li {
	margin-bottom: 24px;
}
@media screen and (max-width:767px) {
	.menu > ul {
		max-width: 400px;
		margin: 0 auto;
	}
}
@media screen and (min-width:768px) {
	.menu > ul {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-around;
		max-width: 1200px;
		margin: 0 auto;
		padding: 144px 1.5rem 1rem;
	}
	.menu > ul > li {
		flex: 0 0 40%;
	}
}
@media screen and (min-width:1024px) {
	.menu > ul > li {
		flex: 0 0 25.5%;
	}
}
.menu > ul > li:last-child img {
	max-width: 274px;
	width: 80%;
	height: auto;
}
.menu > ul > li > dl > dt {
	margin-bottom: 12px;
	font-weight: bold;
	text-align: center;
}
.menu > ul > li > dl > dt strong {
	display: block;
	border-bottom: 3px solid #333;
	font-size: 18px;
	line-height: 26px;
}
.menu > ul > li > dl > dt span {
	display: block;
	font-size: 12px;
	line-height: 20px;
}
.menu > ul > li > dl > dd,
.menu > ul > li > dl > dd > ul > li {
	font-size: 16px;
	line-height: 30px;
}
.menu > ul > li > dl > dd a {
	text-decoration: none;
	color: #333;
}
.menu01_01,
.menu01_02,
.menu01_03 {
	padding: 0 20px;
}
.menu01_02 {
	float: left;
}
.menu01_03 {
	clear: both;
}
.menu01_04 > ul {
	overflow: hidden;
}
.menu01_05,
.menu01_06 {
	float: left;
	padding: 0 20px;
	background-repeat: no-repeat;
	background-position: left center;
}
.menu01_05 {
	background-image: url(../img/common/menu03.png);
}
.menu01_06 {
	background-image: url(../img/common/menu04.png);
}

@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;
	}
}
