@charset "utf-8";

/* ---------------------------------------------------------
	リセット
--------------------------------------------------------- */
:root {
	--hover_color: #da0000;
	--hover_color: #0090b2;
}
*{
	box-sizing: border-box;
	text-decoration-skip-ink: none!important;
}
ol, ul {
	list-style: none;
	margin-block: 0;
	margin-inline: 0;
	padding-block: 0;
	padding-inline: 0;
}
table{
	border-collapse: collapse;
	border-spacing: 0;
}
dt, th, b, strong{
	font-weight: normal;
}
body{
	margin: 0 auto;
	padding: 0;
	font-family: YakuHanJP_Narrow, 'Helvetica Neue', 'Helvetica', 'Arial', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #000;
	background: #FFF;
}
a:link{
	color: #000;
	text-decoration: none;
	transition: .3s all linear;
}
a:hover{
	color: var(--hover_color);
	text-decoration: underline;
}
a:visited{
	color: #303030;
	text-decoration: none;
}
a img{
	transition: .3s all linear;
}
img{
	vertical-align: middle;
	width: 100%;
}
#wrap,
#wrap #contents{
	position: relative;
	width: 100%;
	overflow: hidden;
}
#wrap #contents #main{
	position: relative;
	margin: 0 auto;
	max-width: 1200px;
}
header,
footer{
	text-align: center;
}

/* ---------------------------------------------------------
	ページ
--------------------------------------------------------- */
.mincho{
	font-family: 'Noto Serif JP', "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", 'Times New Roman', serif;
}
.flexbox{
	display: flex;
	flex-wrap: wrap;
}
article#contents section{
	width: 100%;
	margin-top: 8.25em;
}
.brtab,
.spbr{
	display: none;
}
article#contents aside{
	margin: 10.75em auto 7.75em;
	max-width: 1200px;
	width: 100%;
}
aside a{
	display: block;
}
aside a:hover{
	opacity: 0.6;
}
@media screen and (max-width: 1180px){
	article#contents{
		padding-left: 2%;
		padding-right: 2%;
	}
}
@media screen and (max-width: 820px){
	br.brtab{
		display: block;
	}
}
@media screen and (max-width: 428px){
	article#contents{
		padding-left: 4%;
		padding-right: 4%;
	}
	article#contents section{
		margin-top: 3.75em;
	}
	article#contents section:first-of-type{
		margin-top: 2.5em;
	}
	.spbr{
		display: block;
	}
	article#contents aside{
		margin: 3.5em auto 3em;
	}
}

/* ---------------------------------------------------------
	ヘッダー
--------------------------------------------------------- */
header{
	position: relative;
	width: 100%;
	height: 135px;
	margin-bottom: 10px;
	align-items: center;
}
header h1{
	position: absolute;
	top: 20px;
	left: 5%;
	width: 195px;
	height: 95px;
}
header h1 a{
	display: block;
}
header h1 a:hover{
	opacity: 0.6;
}
header #sp_nav_btn{
	display: none;
}
header nav#menu{
	max-width: 1200px;
	margin: 0 auto;
}
nav#menu ul{
	gap: 0;
	font-size: clamp(0.875rem, 0.761rem + 0.485vw, 1.125rem);
}
nav#menu > ul > li{
	position: relative;
	border-right: 1px solid #000;
}
nav#menu > ul > li:first-of-type{
	border-left: 1px solid #000;
}
nav#menu > ul > li > a{
	display: block;
	margin: 0 20px;
	transition:all .3s;
}
nav#menu li.has-child ul{
	position: absolute;
	z-index: 4;
	top: 30px;
	left: 0;
	width: auto;
	padding: 10px 20px 10px 0;
	font-size: clamp(0.938rem, 0.909rem + 0.121vw, 1rem);
	white-space: nowrap;
	text-align: left;
	visibility: hidden;
	opacity: 0;
	transition: all .3s;
	background: rgba(255,255,255,0.6);
}
nav#menu li.has-child:hover > ul{
	visibility: visible;
	opacity: 1;
}
nav#menu li.has-child > ul li{
	margin-top: 0.3em;
}
nav#menu li.has-child > ul li a{
	position: relative;
	padding-left: calc(20px + 1em);
	border-bottom: none;
}
nav#menu li.has-child ul li a::before,
nav#menu li.has-child ul li a::after{
	content: '';
	position: absolute;
}
nav#menu li.has-child ul li a::before{
	left: 22px;
	width: 8px;
	height: 1px;
	background: #000;
	top: 50%;
	transform: translateY(-50%);
}
nav#menu li.has-child ul li a::after{
	left: 22px;
	width: 8px;
	height: 8px;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 1180px){
	header{
		padding: 0 2%;
		height: 125px;
	}
	header h1{
		left: 2%;
		width: 15vw;
		height: auto;
	}
}
@media screen and (max-width: 1024px){
	header{
		height: 115px;
	}
	header h1{
		position: relative;
		top: 0;
		left: 0;
	}
}
@media screen and (max-width: 820px){
	header{
		padding: 15px 2%;
		height: auto;
	}
	nav#menu ul li a{
		margin: 0 15px;
	}
}
@media screen and (max-width: 428px){
	header{
		position: relative;
		height: 75px;
		padding: 10px 4%;
		justify-content: space-between;
	}
	header h1{
		width: 30vw;
	}
	header #sp_nav_btn{
		position: relative;
		top: 5px;
		right: 5px;
		display: flex;
		z-index: 10;
		justify-content: center;
		align-content: center;
		flex-wrap: wrap;
		max-width: 48px;
		min-width: 32px;
	}
	header #sp_nav_btn:hover{
		cursor: pointer;
	}
	#sp_nav_btn span.menu_text{
		display: block;
		margin-top: 3px;
		font-size: clamp(0.5rem, -0.384rem + 3.774vw, 0.625rem);
	}
	#sp_nav_btn .nav_btn_bar{
		width: 100%;
	}
	#sp_nav_btn .nav_btn_bar span{
		display: block;
		height: 1px;
		background: #666;
		width: 100%;
		transition: .3s all linear;
	}
	#sp_nav_btn .nav_btn_bar span:not(:last-child){
		margin-bottom: 8px;
	}
	#sp_nav_btn.close{
		position: fixed;
		top: 28px;
		right: 20px;
	}
	#sp_nav_btn.close span.menu_text{
		display: none;
	}
	#sp_nav_btn.close .nav_btn_bar span:nth-child(2){
		display: none;
	}
	#sp_nav_btn.close .nav_btn_bar span:first-child{
		transform: rotate(45deg);
		margin-top: 12px;
		margin-bottom: 6px;
	}
	#sp_nav_btn.close .nav_btn_bar span:last-child{
		transform: rotate(-45deg);
		margin-top: -7px;
	}
	header nav#menu{
		position: fixed;
		top: 0;
		right: -75vw;
		width: 60vw;
		height: 100vh;
		margin: auto;
		z-index: 1;
		background: #FFF;
		border-radius: 50px 0 0 50px;
		box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.15);
		transition: .3s all linear;
	}
	header nav#menu.show{
		position: fixed;
		z-index: 3;
		right: -1%;
		overflow-x: hidden;
		overflow-y: scroll;
		transition: .3s all linear;
	}
	nav#menu > ul{
		display: block;
		margin-top: 75px;
		padding: 0 10px;
		font-size: clamp(1rem, 0.116rem + 3.774vw, 1.125rem);
		text-align: left;
	}
	nav#menu > ul > li{
		border-right: none;
		margin: 20px 0;
	}
	nav#menu > ul > li a{
		display: block;
		position: relative;
		margin: 0;
		padding-left: 35px;
		border-bottom: 1px dotted #707070;
	}
	nav#menu ul li:first-of-type{
		border-left: none;
	}
	nav#menu ul li a::before,
	nav#menu ul li a::after{
		content: '';
		position: absolute;
	}
	nav#menu ul li a::before{
		left: 10px;
		width: 15px;
		height: 1px;
		background: #707070;
		top: 50%;
		transform: translateY(-50%);
	}
	nav#menu ul li a::after{
		left: 15px;
		width: 8px;
		height: 8px;
		border-top: 1px solid #707070;
		border-right: 1px solid #707070;
		top: 50%;
		transform: translateY(-50%) rotate(45deg);
	}
	nav#menu li.has-child ul{
		visibility: visible;
		opacity: 1;
		position: relative;
		top: 0;
		margin-bottom: 20px;
		white-space: normal;
	}
	nav#menu li.has-child > ul li{
		margin-top: 0.6em;
	}
	nav#menu li.has-child ul li a::before,
	nav#menu li.has-child ul li a::after{
		top: 10px;
	}
}

/* ---------------------------------------------------------
	フッター
--------------------------------------------------------- */
footer{
	position: relative;
	width: 100%;
	margin: 0;
	padding: 70px 0 0;
	background: rgb(255,255,255);
	border-top: 1px solid #BABABA;
}
footer .foot_inner{
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}
.foot_inner > p{
	font-size: clamp(0.875rem, 0.818rem + 0.242vw, 1rem);
}
.foot_inner dl#foot_nav{
	position: relative;
	margin-top: 40px;
	align-items: end;
}
dl#foot_nav dt{
	width: 185px;
}
dl#foot_nav dt a{
	display: block;
}
dl#foot_nav dd{
	text-align: left;
}
dl#foot_nav dd{
	width: max-content;
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	font-size: clamp(0.75rem, 0.693rem + 0.242vw, 0.875rem);
}
dl#foot_nav dd ul li{
	border-right: 1px solid #000;
}
dl#foot_nav dd ul li a{
	display: block;
	margin: 0 20px;
}
dl#foot_nav dd ul li:first-of-type{
	border-left: 1px solid #000;
}
dl#foot_nav dd p{
	/*
	margin-top: 20px;
	*/
	margin: 20px auto 0;
	font-size: 0.75rem;
	text-align: center;
	font-size: 0.75rem;
}
footer small{
	display: block;
	width: 100%;
	margin-top: 20px;
	padding: 20px 0;
	font-size: clamp(0.688rem, 0.659rem + 0.121vw, 0.75rem);
	text-align: right;
	color: #FFF;
	background: #81B20A;
}
@media screen and (max-width: 1180px){
	footer{
		padding-top: 6vw;
	}
	footer .foot_inner dl#foot_nav{
		justify-content: start;
		width: 90vw;
		margin: 3.5vw auto 0;
	}
	dl#foot_nav dt{
		width: 15vw;
	}
	dl#foot_nav dd{
		top: auto;
	}
	dl#foot_nav dd ul{
		top: 0;
	}
	footer small{
		padding-right: 2%;
	}
}
@media screen and (max-width: 820px){
	footer .foot_inner{
		padding: 0 2vw;
	}
	dl#foot_nav dd p{
		margin-top: 1.5vw;
		line-height: 1.2;
	}
	dl#foot_nav dd ul li a{
		margin: 0 1.2vw;
	}
	footer small{
		padding: 15px 2% 25px 0;
	}
}
@media screen and (max-width: 428px){
	footer{
		padding-top: 4.5vw;
	}
	.foot_inner dl#foot_nav{
		display: block;
		margin-top: 20px;
	}
	dl#foot_nav dt{
		width: 30%;
		margin: 0 auto;
	}
	dl#foot_nav dd{
		display: none;
	}
	footer small{
		text-align: center;
		padding: 3.5vw 0 5.5vw 0;
	}
}

/* ---------------------------------------------------------
	フォームパーツ
--------------------------------------------------------- */