@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 #FFF;
}
.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;
}

/* =====================================================================
    メニュー開閉ボタン
======================================================================*/

@media screen and (min-width: 1200px) {
	.menu-btn{
		display: none;
	}
}
.menu-btn{
	position: fixed;
	z-index: 99999998;
	top: 32px;
	right: 0;
}
@media screen and (min-width: 768px) {
	.menu-btn{
		top: 64px;
	}
}
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn {
	position: relative;
    width: 64px;
    height: 56px;
	background-color: rgba(0, 104, 183, 0.9);
	cursor: pointer;
}
@media screen and (min-width: 768px) {
	.openbtn {
    	width: 72px;
	    height: 64px;
	}
	.openbtn:hover {
		background-color: rgba(0, 104, 183, 1);
	}
}
/*ボタン内側*/
.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;
}
@media screen and (min-width: 768px) {
	.openbtn.active:hover {
		background-color: #999;
	}
}
.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: 10px;
}
@media screen and (min-width: 768px) {
	.openbtn span{
		left: 16px;
		width: 40%;
	}
	.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: -3px;
		color: #FFF;
		font-size: 12px;
	}
	.openbtn.active span:nth-of-type(1) {
		top: 18px;
    	left: 20px;
    	width: 32%;
	}
	.openbtn.active span:nth-of-type(3){
		top: 30px;
	    left: 20px;
    	width: 32%;
	}
	.openbtn.active span:nth-of-type(1)::after {
		top: 8px;
		left: -24px;
	}
}

/* =====================================================================
    ハンバーガーメニュー
======================================================================*/
.menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-height: 100%;
	overflow-y: auto;
	background-color: rgba(255,255,255,0.9);
	z-index: 99999995;
}

/* アニメーション前のメニューの状態 */
.menu{
  transform-origin: top right;
  transform: rotateZ(90deg);
  transition: all .3s ease;
}
/* アニメーション後のメニューの状態 */
.menu.is-active{
  transform: rotateZ(0deg);
}



/*ハンバーガーメニュー内のデザイン*/
/*.menu > ul {
	box-sizing: border-box;
	padding: 112px 32px 0;
}
@media screen and (max-width:767px) {
	.menu > ul {
		max-width: 400px;
		margin: 0 auto;
	}
}
@media screen and (min-width:768px) {
	.menu > ul {
		padding: 144px 1.5rem 1rem;
	}
	.menu > ul > li > ul {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-around;
	}
	.menu > ul > li > ul > li {
		flex: 0 0 40%;
	}
}
@media screen and (min-width:1024px) {
	.menu > ul {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-around;
		max-width: 1200px;
		margin: 0 auto;
	}
	.menu > ul > li:first-child  {
		flex: 0 0 25.2%;
	}
	.menu > ul > li:last-child  {
		flex: 0 0 58.5%;
	}
	.menu > ul > li > ul {
		justify-content: space-between;
	}
	.menu > ul > li > ul > li {
		flex: 0 0 43%;
	}
}
.menu > ul > li > ul > li > dl,
.menu > ul > li > dl {
	margin-bottom: 24px;
}
.menu > ul > li > ul > li > dl > dt,
.menu > ul > li > dl > dt {
	margin-bottom: 12px;
	font-weight: bold;
	text-align: center;
}
.menu > ul > li > ul > li > dl > dt strong,
.menu > ul > li > dl > dt strong {
	display: block;
	border-bottom: 3px solid #333;;
	font-size: 18px;
	line-height: 26px;
}
.menu > ul > li > ul > li > dl > dt span,
.menu > ul > li > dl > dt span {
	display: block;
	font-size: 12px;
	line-height: 20px;
}
.menu > ul > li > ul > li > dl > dd,
.menu > ul > li > dl > dd {
	font-size: 16px;
	line-height: 30px;
}
.menu > ul > li > ul > li > dl > dd > ul > li a,
.menu > ul > li > dl > dd > ul > li a {
	display: inline-block;
	padding: 0 5px 0 25px;
	background-image: url(/wp-content/themes/ill-ms/img/common/menu02.png);
	background-repeat: no-repeat;
	background-position: left 5px center;
	text-decoration: none;
	color: #333;
}*/

@media screen and (max-width:1023px) {
	.menu01_01 {
		display: none;
	}
}
@media screen and (min-width:1024px) {
	.menu01_03 {
		display: none;
	}
}
@media screen and (min-width:1024px) {
	.menu01_04 {
		display: none;
	}
}
@media screen and (max-width:767px) {
	.menu01_04 {
		display: none;
	}
}
@media screen and (max-width:1023px) and (min-width:768px) {
	.menu01_05 {
		display: none;
	}
}

.toggle {
	display: none;
}
@media screen and (max-width:767px) {
	.content {
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		transform: translateZ(0);
		transition: all 0.5s;
		overflow: hidden;
		max-height: 0;
	}
	.option > dt {
		position: relative;
	}
	.title::after,
	.title::before {
		content: "";
		position: absolute;
		right: 1.25em;
		top: 0.5em;
		width: 2px;
		height: 0.9em;
		background-color: #E50012;
		transition: all 0.3s;
	}
	.title::after {
		transform: rotate(90deg);
	}
	.toggle:checked + dl > dd.content {
		max-height: 1000px;
		transition: all 2s;
	}
	.toggle:checked + dl > dt> .title::before {
		transform: rotate(90deg) !important;
	}
	.toggle:checked + dl > dt> .title::after,
	.toggle:checked + dl > dt> .title::before {
		background-color: #666;
	}
}
.toggle21,
.toggle22 {
	display: none;
}
@media screen and (max-width:767px) {
	.mb_button2_04 > ul,
	.mb_button2_05 > ul {
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		transform: translateZ(0);
		transition: all 0.5s;
		overflow: hidden;
		max-height: 0;
	}
	.toggle21:checked + ul > li.mb_button2_04 > ul,
	.toggle22:checked + ul > li.mb_button2_05 > ul {
		max-height: 1000px;
		transition: all 1s;
	}
	.toggle21:checked + ul > li > label > span,
	.toggle22:checked + ul > li > label > span {
		background-color: #4F3C1E;
	}
}
.toggle31,
.toggle32 {
	display: none;
}
@media screen and (max-width:1199px) and (min-width:768px) {
	.mb_button3_04 > ul,
	.mb_button3_05 > ul {
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		transform: translateZ(0);
		transition: all 0.5s;
		overflow: hidden;
		max-height: 0;
	}
	.toggle31:checked + ul > li.mb_button3_04 > ul,
	.toggle32:checked + ul > li.mb_button3_05 > ul {
		max-height: 1000px;
		transition: all 1s;
	}
	.toggle31:checked + ul > li > label > span,
	.toggle32:checked + ul > li > label > span {
		background-color: #4F3C1E;
	}
}


@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;
	}
}
