@charset "UTF-8";

/*
記述内容：
・全ページ共通スタイル
・ヘッダー
・フッター
*/


/* =============================================================
　全ページ共通スタイル
============================================================= */
html{
	font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Verdana, sans-serif;
	font-size: 62.5%; /* 10px=1rem */
	font-weight: 500;
}
body{
	font-size: 14px;/* opera用 */
	font-size: 1.4rem; /* =14px */
	-webkit-text-size-adjust: 100%;
	line-height: 1.8;
	color: #363e42;
}
table,th,td,ul,ol,li,dl,dt,dd {
	font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Verdana, sans-serif;
	font-size: 14px;/* opera用 */
	font-size: 1.4rem; /* =14px */
	padding: 0;
	margin: 0;
}
li {list-style-type: none;}

/*リンクスタイル*/

a {
	text-decoration: none;
	color: #335CB1;

}
a:hover {
	text-decoration: underline;
}

/*clearfix*/
.cf       {clear: both;}
.cf:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}

/*margin*/
.mgb1  {margin-bottom: 1rem;}
.mgb2  {margin-bottom: 2rem;}
.mgb3  {margin-bottom: 3rem;}
.mgb4  {margin-bottom: 4rem;}
.mgb5  {margin-bottom: 5rem;}
.mgb6  {margin-bottom: 6rem;}
.mgb7  {margin-bottom: 7rem;}
.mgb8  {margin-bottom: 8rem;}
.mgb9  {margin-bottom: 9rem;}
.mgb10 {margin-bottom: 10rem;}

/*display*/
.inline       {display: inline;}
.block        {display: block;}
.inline-block {display: inline-block;}

h1 {margin: 0; padding: 0;}
h2,h3,h4,h5 {margin-top: 0;}

/*PCスタイル*/
@media screen and (min-width: 769px){
	.sponly {
		display: none;
	}
	img {
		display: block;
		margin: 0 auto;
		max-width: 100%;
	}
}
/*SPスタイル*/
@media screen and (max-width: 768px){
	.pconly {
		display: none;
	}
	img {
		display: block;
		max-width: 100%;
	}
}

/*その他詳細スタイル*/
/*テキスト*/
span.notice {color: #da2c2c;}
p.bold {font-weight: 800;}


/* =============================================================
　ヘッダー　#header
============================================================= */
/*ＰＣ用*/
@media only screen and (min-width: 768px) {
	#header {
		z-index: 100;
		position: fixed;
		top: 0;
		width: 100%;
		min-width:1150px;
		height: 70px;
		font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
		border-bottom: 1px solid #822629;
		background: #fff;
	}
	#header .header-inner {
		min-width: 1200px;
	}
	#header .logo {
		float: left;
		margin-left: 20px;
		padding-top: 10px;
		padding-right: 10px;
	}

	.middlearea {
		display: table-cell;
		vertical-align: middle;
		float: right;
		font-size: 1.3rem;
		text-align: center;
		background: #822629;
	}

	.middlearea #btn_hamburger {
		display: none;
	}

	.middlearea > ul {
		list-style: none;
		position: relative;
	}

	.middlearea > ul > li ul {
		position: absolute;
		top: 71px;
		width: 200px;
		/*width:300px;*/
		visibility: hidden;
		opacity: 0;
		-webkit-transition: all .2s ease;
		transition: all .2s ease;
		z-index: 1;
		background-color: #fff;
		list-style-type: none;
		letter-spacing: 0.5px;
	}

	.middlearea > ul > li ul li {
		font-size: 14px;
	}

	.middlearea > ul > li ul li .active {
		background-image: none;
	}

	.middlearea > ul > li ul li a {
		display: block;
		padding-left: 0px;
		padding-right: 0px;
		padding: 15px 20px;
		color: #fff;
		position: relative;
		background: #822629;
	}

	.middlearea > ul > li ul li a:hover {
		text-decoration: none;
		color: #fff;
		opacity: 0.7;
		-webkit-transition: all .4s;
		transition: all .4s;
	}

	.middlearea > ul > li:hover ul {
		visibility: visible;
		opacity: 1;
	}

	.middlearea > ul > li {
		float: left;
		width: auto;
		text-align: center;
		position: relative;
	}
	.middlearea > ul > li.first:before {
		position: absolute;
		left: -42px;
		top: 0px;
		content: "";
		background-image: url(../img/common/gnav_background.svg);
		background-repeat: no-repeat;
		background-position: left top;
		background-size: contain;
		height: 70px;
		width: 42px;
	}

	.middlearea > ul > li > a {
		display: block;
		position: relative;
		height: 50px;
		margin: 0 35px;
		padding: 18px 0 2px;
		line-height: 1.5;
		letter-spacing: 1.5px;
		color: #fff;
	}

	.middlearea > ul > li > a:hover {
		text-decoration: none;
		color: #fff;
		opacity: 0.7;
		-webkit-transition: all .4s;
		transition: all .4s;
	}

	.middlearea > ul > li > a > span{
		font-size: 0.9rem;
		font-weight: 300;
		color: #fff;
	}

	#header #header_nav {
		float: right;
		font-size: 1.3rem;
		text-align: center;
		background: #822629;
	}
	#header #header_nav nav {
		margin-right: 20px;
	}

	#header #header_nav li span {
		font-size: 0.9rem;
		font-weight: 300;
		color: #fff;
	}

	.menu-button {
		background: none;
		border: none;
	}
	.menu-button .touch-button .navicon,
	.menu-button .touch-button,
	.flexnav span.touch-button {
		display: none;
	}
}


/*スマホ〜タブレット用*/
@media only screen and (max-width: 767px) {
	.menu-button,
	.flexnav li a {
		color: #fff;
		background: #822629;
	}
	#header .logo {
		/* width: 40%; */
		margin-left: 20px;
		/* padding-top: 10px;
		padding-bottom: 10px; */
		height: 40px;
		aspect-ratio: 4 / 1 auto;
	}
	#header .logo picture {
		display: block;
		position: relative;
		top: -8px;
		height: 60px;
	}

	.middlearea {
	display: block;
	}

	.middlearea > ul {
	position: absolute;
	z-index: 100;
	left: 0;
	top: 60px;
	width: 100%;
	background: #fff;
	display: none;
	}

	.middlearea > ul > li:first-child {
	display: block;
	border-top: 1px solid rgba(0, 0, 0, 0.3);
	}

	.middlearea > ul > li {
	float: none;
	width: 100%;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	background: #822629;
	position: relative;
	text-align: left;
	}

	.middlearea > ul > li a {
	padding: 10px 0 10px 15px;
	color: #fff;
	display: block;
	}
	.middlearea > ul > li > a > span {
	display: none;

	}
	.middlearea > ul > li > ul {
	position: relative;
	top: 0;
	background: #822629;
	z-index: 200;
	width: 100%;
	display: block;
	visibility: visible;
	opacity: 1;
	}

	.middlearea > ul > li > ul > li {
	background: #964648;
	border-bottom: none;
	border-left: none;
	border-right: none;
	}

	.middlearea > ul > li > ul > li > a {
	display: block;
	color: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	padding: 10px 0 10px 40px;
	}

	.middlearea > ul > li > ul > li:first-child a {
	border-top:1px solid rgba(0, 0, 0, 0.3);
	}

	.middlearea > ul > li > ul > li:last-child a {
	border-bottom: none;
	}

	#btn_hamburger {
	display: block;
	margin: 0 auto 2em !important;
	width: 36px;
	position: absolute;
	right: 20px;
	top: 14px;
	}

	#btn_hamburger a {
	position: relative;
	display: block;
	height: 30px;
	-webkit-transition: all .4s;
	transition: all .4s;
	box-sizing: border-box;
	}

	#btn_hamburger span {
	position: absolute;
	display: inline-block;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #fff;
	border-radius: 2px;
	-webkit-transition: all .4s;
	transition: all .4s;
	box-sizing: border-box;
	}

	#btn_hamburger span:nth-of-type(1) {
	top: 0;
	}

	#btn_hamburger span:nth-of-type(2) {
	top: 14px;}

	#btn_hamburger span:nth-of-type(2):after {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background-color: #fff;
	border-radius: 2px;
	-webkit-transition: all .4s;
	transition: all .4s;
	}

	#btn_hamburger span:nth-of-type(3) {
	bottom: 0;
	}


	#btn_hamburger .active span:nth-of-type(2) {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	}

	#btn_hamburger .active span:nth-of-type(2):after {
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	}

	#btn_hamburger .active span:nth-of-type(1) {
	-webkit-transform: translateY(20px) scale(0);
	-ms-transform: translateY(20px) scale(0);
	transform: translateY(20px) scale(0);
	}

	#btn_hamburger .active span:nth-of-type(3) {
	-webkit-transform: translateY(-20px) scale(0);
	-ms-transform: translateY(-20px) scale(0);
	transform: translateY(-20px) scale(0);
	}

	#header {
		position: fixed;
		top: 0;
		z-index: 9999;
		width: 100%;
		height: 60px;
		background: #822629;
	}
	#header_nav {
		margin: 0 auto;
		width: 90%;
	}
	#header #header_nav li span {
		display: none;
	}
	.menu-button {
		position: absolute;
		top: 0;
		right: 15px;
		width: 20px;
		height: 20px;
		border: none;
		padding: 20px;
	}
	.menu-button .touch-button {
		position: absolute;
		top: 5px;
		width: 20px;
		height: 20px;
	}
	.menu-button .touch-button .navicon {
		display: none;
	}
	.menu-button .touch-button .navicon {
		display: block;
		position: absolute;
		width: 20px;
		height: auto;
		content: url(../img/common/sp_menu-button.svg);
	}
}



/* =============================================================
　フッター　#footer
============================================================= */
#footer {
	padding: 20px 0;
}
#footer a {
	margin: 0 10px;
	font-size: 1.2rem;
	text-align: center;
	text-decoration: none;
	color: #000;
}
#footer a:hover {
	color: #000;
	opacity: 0.4;
}

#footer #footer-nav {
	display: flex;
	justify-content: left;
	width: 1070px;
	margin: 0 auto 10px;
}
#footer p.copy {
	margin: 0;
	padding: 0;
	font-size: 1rem;
	text-align: center;
	letter-spacing: 2px;
}
#footer p.txt-reg {
	margin: 2em 0 1em 0;
	padding: 0;
	font-size: 1.2rem;
	text-align: center;
}
.footer-inner--bottom {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
	width: 1070px;
	margin: 0 auto;
}

/*スマホ〜タブレット用*/
@media only screen and (max-width: 767px) {
	#footer {
		padding: 0;
	}
	#footer #footer-nav {
		display: block;
		margin: 0 auto;
		width: 100%;
	}
	#footer #footer-nav a {
		display: block;
		width: 100%;
		margin: 0;
		padding: 3.5% 0;
		color: #fff;
		background: #4C4B4B;
		border-top: 1px solid #A5A5A5;
	}
	#footer p.copy {
		padding: 10px 0;
	}
	#footer p.txt-reg {
		margin: 0;
	}
	.footer-inner--bottom {
		display: block;
		width: auto;
		margin: 0;
	}
}
