:root {
	--etoffe-color: #6a3906;
	--green-color: #cad1af;
	--red-color: #f4dddb;
	--beige-color: #eedcb3;
	--brue-color: #b0d2d7;
	--pc-height: 130px;
	--sp-height:  68px;
	--font-marugothic: 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', Meiryo, 'メイリオ', arial, sans-serif;
	--font-mincho: 'A1 Mincho', 'Hiragino Mincho ProN', '游明朝', 'ＭＳ Ｐ明朝', serif;
}

/****************************
  header PC
****************************/

* {
	margin:  0;
	padding: 0;
	line-height: 1;
	box-sizing: border-box;
}

body {
	margin:  0;
	padding: 0;
	background-color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, 'メイリオ', arial, sans-serif;
	color: #000;
	-webkit-text-size-adjust: 100%; /* for iPhone */
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: unset;
}

html, body {
	font-size: 14px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx) {
	body {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
}

ul, ol { list-style: none; }
fieldset, img { border: none; }
table { border-collapse: collapse; }
a, a:focus, *:focus { outline: none; }

a:link, 
a:visited {
	text-decoration: none;
	color: var(--etoffe-color);
}

a:hover, 
a:active {
	text-decoration: underline;
}

.clearfix:before {
	display: table;
	content: '';
}

.clearfix:after {
	display: table;
	content: '';
	clear: both;
}

/****************************
  header
****************************/

.header {
	position: fixed;
	z-index: 7000;
	width: 100%;
	height: var(--pc-height);
	margin:  0;
	padding: 0;
	background-color: #fffff9;
	background-image: url(../images/line_dashed.svg), url(../images/bg.jpg);
	background-repeat: repeat-x, repeat;
	background-position: center bottom 9px, center top;
	background-size: 10px 2px, 80px 46px;
	transition: all 0.5s;
}

.header.hide {
	transform: translateY(-100%);
}

.header > div {
	width: 1300px;
	height: 100%;
	margin: 0 auto;
	padding: 0;
	position: relative;
}

#header_copy {
	margin:  0;
	padding: 10px 0 0;
	text-align: left;
	font-weight: normal;
	font-size: 13px;
	line-height: 1;
	color: var(--etoffe-color);
}

#logo {
	margin:  0;
	padding: 8px 0 0;
}

#logo > a {
	display: inline-block;
	text-decoration: none;
}

#logo > a > img {
	width: 276px;
	height: 65px;
	margin:  0;
	padding: 0;
	vertical-align: bottom;
}

h1#h1_header {
	margin:  0;
	padding: 5px 0 0;
	font-family: var(--font-marugothic);
	font-weight: bold;
	font-size: 23px;
	line-height: 1;
	color: #000;
	letter-spacing: 10px;
}

#header_nav_mail {
	position: absolute;
	z-index: 2;
	top: -10px;
	right: 0px;
	margin:  0;
	padding: 0;
}

#header_nav_mail > a {
	display: block;
	width: 234px;
	height: 72px;
	margin:  0;
	padding: 10px 0 0;
	border-right:  1px solid var(--etoffe-color);
	border-bottom: 1px solid var(--etoffe-color);
	border-left:   1px solid var(--etoffe-color);
	background-color: #fff;
	background-image: url(../images/button_contact_over.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 232px 60px;
	text-align: center;
	line-height: 1;
	text-decoration: none;
	box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.15);
	transition: all 0.3s;
}

#header_nav_mail > a:hover, 
#header_nav_mail > a:active {
	background-color: var(--etoffe-color);
	text-decoration: none;
}

#header_nav_mail > a > img {
	width: 232px;
	height: 60px;
	margin:  0;
	padding: 0;
	vertical-align: bottom;
}

#header_nav_mail > a:hover > img {
	visibility: hidden;
}

/****************************
  global_nav PC
****************************/

#global_nav {
	position: absolute;
	z-index: 1;
	bottom: 28px;
	right:   0px;
	margin:  0;
	padding: 0;
}

#global_nav > ul {
	margin:  0;
	padding: 0;
}

#global_nav > ul > li {
	display: inline-block;
	height: 100%;
	margin:  0;
	padding: 0 0 0 60px;
	text-align: right;
}

#global_nav > ul > li > a {
	display: block;
	margin:  0;
	padding: 0;
	font-size: 16px;
	color: var(--etoffe-color);
	text-decoration: none;
}

#global_nav > ul > li > a:hover, 
#global_nav > ul > li > a.active {
	background: linear-gradient(transparent 30%, #faee00 30%);
	text-decoration: none;
}

@media (max-width: 1300px) {
	.header > div {
		width: 1100px;
	}

	#global_nav > ul > li {
		padding-left: 20px;
	}
	
}

#nav-toggle {
	display: none;
}

/****************************
  footer
****************************/

#footer {
	width: 100%;
	margin:  0;
	padding: 50px 0;
	background-color: #fffff9;
	background-image: url(../images/line_dashed.svg), url(../images/bg.jpg);
	background-repeat: repeat-x, repeat;
	background-position: center top 9px, center top;
	background-size: 10px 2px, 80px 46px;
	text-align: center;
}

#footer > div {
	width: 1000px;
	margin:  0 auto;
	padding: 0;
	text-align: center;
	position: relative;
}

.footer_logo {
	width: 276px;
	margin:  0 auto;
	padding: 0;
	text-align: center;
}

.footer_logo > a {
	margin:  0;
	padding: 0;
}

.footer_logo > a > img {
	width: 100%;
	height: initial;
	margin:  0;
	padding: 0;
	vertical-align: bottom;
}

ul.ul_footer {
	margin:  0;
	padding: 25px 0 0;
	text-align: center;
}

ul.ul_footer > li {
	display: inline-block;
	margin:  0;
	padding: 0 2px;
	text-align: center;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
}

ul.ul_footer > li::before {
	content: '／';
	padding: 0 0 0 2px;
}

ul.ul_footer > li:first-child::before {
	content: '';
	padding: 0;
}

ul.ul_footer > li > a {
	color: var(--etoffe-color);
}

.copy {
	margin:  0;
	padding: 12px 0 0;
	font-size: 13px;
	line-height: 1;
	color: #000;
}

.copy a {
	padding: 0 4px;
	color: #000;
}

#footer > div ul.ul_footer_sns {
	position: absolute;
	bottom: 0px;
	right:  0px;
	margin:  0;
	padding: 0;
	text-align: left;
}

#footer > div ul.ul_footer_sns > li {
	display: inline-block;
	margin:  0;
	padding: 0 0 0 20px;
}

#footer > div ul.ul_footer_sns > li > a:hover {
	opacity: 0.8;
}

/****************************
  fix footer
****************************/

body, 
#wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#footer {
	margin-top: auto;
}

/****************************
  misc
****************************/

#main {
	margin: var(--pc-height) 0 0;
	padding: 0;
}

/****************************
  SP
****************************/

#global_nav_sp {
	display: none;
}

#footer_nav_mail {
	display: none;
}

@media (max-width: 768px) {
	#header_copy {
		display: none;
	}

	#header_nav_mail {
		display: none;
	}

	#global_nav {
		display: none;
	}

	.header {
		height: var(--sp-height);
		border: none;
	}

	.header > div {
		width: 100%;
	}

	#logo {
		position: fixed;
		z-index: 300;
		width: calc(100% - 68px);
		height: var(--sp-height);
		padding: 8px 0 0 10px;
		background-color: #fffff9;
		background-image: url(../images/bg.jpg);
		background-repeat: repeat;
		background-position: center top;
		background-size: 80px 46px;
	}

	#logo > a > img {
		height: 50px;
		width: auto;
	}

	h1#h1_header {
		padding: 2px 0 0 2px;
		font-size: 17px;
		letter-spacing: 3px;
	}

	#nav-toggle {
		display: block;
		position: fixed;
		z-index: 400;
		top: 0;
		right: 0;
		width:  68px;
		height: var(--sp-height);
		background-color: var(--etoffe-color);
		cursor: pointer;
		text-decoration: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	#nav-toggle div {
		width:  34px;
		height: 36px;
		margin:  19px 0 0 16px;
		padding: 0;
		position: relative;
	}
	
	#nav-toggle span {
		display: block;
		position: absolute;
		width: 100%;
		height: 3px;
		background-color: #fff;
		left: 0;
		transition: 0.2s;
	}
	
	#nav-toggle span:nth-child(1) {
		top: 0;
	}
	#nav-toggle span:nth-child(2) {
		top: 11px;
	}
	#nav-toggle span:nth-child(3) {
		top: 22px;
	}
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		transform: rotate(-45deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		transform: rotate(45deg);
	}

	#global_nav_sp {
		display: block;
		position: fixed;
		z-index: 100;
		transform: translateY(-100%);
		top: 0;
		right: 0;
		left: 0;
		display: block;
		width: 100%;
		margin:  0;
		padding: 15px 0;
		background-color: var(--etoffe-color);
		text-align: left;
		transition: 0.4s ease-in-out;
	}

	#global_nav_sp > div {
		display: table;
		width: 100%;
		margin:  0;
		padding: 0;
	}

	#global_nav_sp ul {
		display: block;
		width: 100%;
		margin:  0;
		padding: 0;
		text-align: left;
	}

	#global_nav_sp ul > li {
		display: block;
		width: 100%;
		margin:  0;
		padding: 0 15px;
	}

	#global_nav_sp ul > li > a {
		display: block;
		width: 100%;
		margin:  0;
		padding: 15px 0 15px 0;
		background-image: url(../images/icon_read_detail_hover.svg);
		background-repeat: no-repeat;
		background-position: right 15px center;
		background-size: 19px 19px;
		text-align: left;
		font-weight: normal;
		font-size: 16px;
		line-height: 1.2;
		color: #fff;
		text-decoration: none;
	}

	.open #global_nav_sp {
		top: var(--sp-height);
		bottom: 0;
		overflow-y: auto;
		transform: translateY(0px);
	}

	#global_nav_sp ul.global_nav_sp_foot > li > a {
		background: none;
	}

	#global_nav_sp ul.global_nav_sp_foot > li:first-child > a {
		margin-top:  15px;
		padding-top: 30px;
		border-top: 1px solid #fff;
	}

	.global_nav_sp_copy {
		display: block;
		width: 100%;
		margin:  0;
		padding: 15px;
		text-align: left;
		font-size: 16px;
		line-height: 1;
		color: #fff;
	}

	.global_nav_sp_copy > a {
		color: #fff;
		text-decoration: none;
	}

	#footer > div {
		width: 100%;
		padding: 0 0 50px;
	}

	ul.ul_footer > li {
		display: block;
		padding: 12px 0;
	}
	
	ul.ul_footer > li::before {
		content: '';
		padding: 0;
	}
	
	ul.ul_footer > li:first-child::before {
		padding: 0;
	}

	#footer > div ul.ul_footer_sns {
		position: static;
		bottom: auto;
		right:  auto;
		margin:  0;
		padding: 30px 0 0;
		text-align: center;
	}

	#main {
		margin-top: var(--sp-height);
	}

	.footer_logo > a > img {
		height: 50px;
		width: auto;
	}

	#footer_nav_mail {
		display: block;
		position: fixed;
		z-index: 1;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
	}

	#footer_nav_mail > a {
		display: block;
		width: 234px;
		margin: 0 auto;
		padding: 0;
		border-top:    1px solid var(--etoffe-color);
		border-right:  1px solid var(--etoffe-color);
		border-left:   1px solid var(--etoffe-color);
		background-color: #fff;
		text-align: center;
		line-height: 1;
		text-decoration: none;
		box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.15);
	}

	#footer_nav_mail > a > img {
		width: 232px;
		height: 60px;
		margin:  0;
		padding: 0;
		vertical-align: bottom;
	}
}
