@charset "utf-8";
/* all
-------------------------------------------------------------------*/
html,
body{
	background: #FFFFFF;
	color: #282828;
	font-family:'Noto Sans JP',"游ゴシック","Yu Gothic Medium" ,"游ゴシック体", "Yu Gothic", YuGothic , 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-size:16px;
	line-height:1.4;
	font-weight: 400;
}
html .lato{
  font-family: "Lato", sans-serif;
}
body {
	width: 100%;
	font-size: 100%;
	text-align: center;
	min-width:1200px;
}
main{
	width:100%;
}
.sitewrap {
	width: 1200px;
	min-width: 1200px;
	margin: 0 auto;
	text-align: left;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
@media screen and (max-width:1240px) {
	body,
	.sitewrap {
		width: 100%;
		min-width:0;
	}	
	.sitewrap > *{
		padding-left:2%;
		padding-right:2%;
	}
}
@media screen and (max-width:767px) {
	html {
		font-size:14px;
	}
	main{
		margin-top: 0;
	}
	.sitewrap > *{
		padding-left:15px;
		padding-right:15px;
	}
}

/* header
-------------------------------------------------------------------*/
header#fix_menu{
	position: fixed;
	z-index:999;
	inset: 0 0 auto; 
	transition:filter .3s , background 0.3s;
	background: #fff;
}
.home header#fix_menu:not(.fixedMenu){
	background: none;
}
header#fix_menu.fixedMenu{
	filter: drop-shadow(3px 5px 5px rgba(0, 0, 0, 0.05));
}
.menu_top {
   	position:relative;
}
.menu_top #site_ttl {
	float:left;
	padding: 1.25em 2em;
}
.home header#fix_menu:not(.fixedMenu) .menu_top #site_ttl a{
	display:block;
	background-image: url(../img/common/logo.svg);
	background-repeat: no-repeat;
	width: 300px;
	height: 43px;
	transition: opacity 0.3s;
}
.home header#fix_menu:not(.fixedMenu) .menu_top #site_ttl a img{
	opacity: 0;
}
@media (any-hover: hover){
	.home header#fix_menu .menu_top #site_ttl a:hover{
		opacity: 0.8;
	}
}
.menu_fix{
	float: right;
}
.drop_menu #NavWrap ul{
	max-width: 800px;
	width: auto;
	display: flex;
	padding: 1em;
	margin-bottom: 0;
}
.drop_menu #NavWrap ul::after{
	display:none;
}
.drop_menu #NavWrap li a{
	padding: 1em 1em;
	margin-inline: 0.8em;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
	text-align:center;
	transition:background 0.3s, color 0.3s;
	position: relative;
	z-index: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.2em;
	color: unset;
}
.home header#fix_menu:not(.fixedMenu) .drop_menu #NavWrap li a{
	color: #fff;
}
.drop_menu #NavWrap li:not(.head_btn) a::after{
	position: absolute;
	z-index: 0;
	content: "";
	display:inline-block;
	inset: auto .5em 0.5em;
	width: calc(100% - 1em);
	height: 1px;
	background: #c8161d;
	transition: all .3s;
	transform: scale(0, 1);
	transform-origin: center top;
}
.drop_menu #NavWrap li.head_btn a{
	background: #c8161d;
	color: #fff;
	border-radius: 3em;
	padding: 0.75em 1em;
	margin-block: 0.25em;
	min-width: 180px;
	border: 1px solid #c8161d;
}
@media (any-hover: hover) {
	.drop_menu #NavWrap li:not(.head_btn):hover ::after{
	    transform: scale(1, 1);
	}
	.drop_menu #NavWrap li.head_btn a:hover{
		background: #ffffff;
		color: #c8161d !important;
	}
}


#fix_menu #switch {
	position: absolute;
	display: none;
	opacity: 0;
}
@media screen and (max-width:1200px) {
	.menu_top #site_ttl {
		padding: 1em;
	}
	.drop_menu #NavWrap li a{
		padding-inline: 0.5em;
	}
	.drop_menu #NavWrap ul{
		padding: 1em 0;
	}
}
@media screen and (max-width:975px) {
	body{
		padding-top:60px;
	}
	header#fix_menu,
	header#fix_menu.fixedMenu{
		position: fixed;
		transition: none;
		top: 0;
		background: #fff !important;
	}
	header .menu_top{
		padding:0;
		min-height: 60px;
		z-index: 700;
	}
	header .menu_top #site_ttl{
		padding: 16px 15px 5px;
	}
	header .menu_top #site_ttl a img{
		max-width: 188px;
	}
	.menu_fix{
		text-align: right;
		margin-left: 0;
	}
	#fix_menu #switch + .menu_top label[for="switch"] {
		display: block;
		cursor: pointer;
		position: fixed;
		top:0;
		right:0;
		z-index:900;
		transition: 0.5s transform, right 0.2s;
		padding: 12px;
		width: 62px;
		height: 60px;
		box-sizing:border-box;
		background: #fff;
		text-align:center;
	}
	#fix_menu #switch + .menu_top label[for="switch"] b{
		width:100%;
		display:block;
		margin-bottom: 0;
	}
	#fix_menu #switch + .menu_top label[for="switch"] span{
		cursor: -webkit-grabbing;
		display:block;
		width: 20px;
		height: 2px;
		background: #282828;
		-webkit-transition: 0.2s transform, 0.5s background;
		transition: 0.2s transform, 0.5s background;
		position:absolute;
		top: 30px;
		left:0;
		right:0;
		margin:auto;
	}
	#fix_menu #switch + .menu_top label[for="switch"] span::before,
	#fix_menu #switch + .menu_top label[for="switch"] span::after{
		content:"";
		display:block;
		width: 20px;
		height: 2px;
		background: #282828;
		position:absolute;
		margin-top:0;
	}
	#fix_menu #switch + .menu_top label[for="switch"] span::before{
		top: -8px;
	}
	#fix_menu #switch + .menu_top label[for="switch"] span::after{
		top: 8px;
	}
	#fix_menu #switch:checked + .menu_top label[for="switch"] span{
		-webkit-transform:rotate(-45deg) ;
		transform:rotate(-45deg) ;
	}
	#fix_menu #switch:checked + .menu_top label[for="switch"] span::before{
		top:0;
	}
	#fix_menu #switch:checked + .menu_top label[for="switch"] span::after{
		-webkit-transform:rotate(270deg);
		transform:rotate(270deg);
		top:0;
		margin-top:0;
	}
	.drop_menu #NavWrap{
		position: fixed;
		top: -100%;
		width:100%;
		z-index: 800;
		height:100%;
		overflow: auto;
		visibility: hidden;
		padding: 10px 15px 85px;
		box-sizing: border-box;
		transition:all 0.25s;
		flex-direction: column-reverse;
		left: 0;
		right: 0;
		justify-content: flex-end;
		background: #fff;
	}
	.drop_menu #NavWrap::-webkit-scrollbar {
		height:10px;
		width:10px;
	}
	.drop_menu #NavWrap::-webkit-scrollbar-track {
		border-radius: 10px;
		background: #b3b3b3;
	}
	.drop_menu #NavWrap::-webkit-scrollbar-thumb {
		border-radius: 10px;
	}
	#fix_menu #switch:checked + .menu_top label+#NavWrap{
		visibility:visible;
		height: 100vh;
		top: 60px;
	}
	.drop_menu #NavWrap > ul {
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		flex-direction: column;
		padding-inline: 0;
		margin-bottom: 0;
	}
	.drop_menu #NavWrap ul li {
		display:block;
		padding:0;
		border-bottom:solid 1px #fff;
	}
	.drop_menu #NavWrap li:nth-child(3){
		padding-right: 0;
	}	
	.drop_menu #NavWrap li a,
	.drop_menu #NavWrap li p{
		font-size: 1.125rem;
		text-align: left;
		width: auto;
		padding: 0;
		text-decoration: none;
		background:none;
		border:none;
		border-bottom: 1px solid #282828;
		width: 100%;
		margin-left: 0;
		color: #282828 !important;
	}
	.drop_menu #NavWrap li:not(.head_btn) a::after{
		position:absolute;
		display:inline-block;
		content:"";
		width:8px;
		height:8px;
		border-top:1px solid #282828;
		border-right:1px solid #282828;
		inset: 0 1em 0 auto;
		margin:auto;
		transform:rotate(45deg);
		background: none;
	}
	.drop_menu #NavWrap li:not(.head_btn) a span{
		display:block;
		padding: 16px 5px;
		border-left:none;
		white-space: normal;
		background:none;
		line-height: 1.4;
		margin: 0;
		width: 100%;
	}
	.home header#fix_menu:not(.fixedMenu) .menu_top #site_ttl a{
		background-image: none;
		width: unset;
		height: unset;
	}
	.home header#fix_menu:not(.fixedMenu) .menu_top #site_ttl a img{
		opacity: 1;
	}
	.drop_menu #NavWrap li.head_btn a{
		padding: 1em 1em;
		margin: 2em auto;
		max-width: 260px;
		color: #fff !important;
		text-align: center;
	}
	.drop_menu #NavWrap li.head_btn a::after{
		display: none;
	}
}

/* footer
-------------------------------------------------------------------*/
#pageTop {
	position: fixed;
	z-index: 100;
	bottom: 4em;
	right: 2%;
	width: 70px;
	border-radius: 50%;
	border: 1px solid #c8161d;
	aspect-ratio: 1/1;
	background:  #ffffff;
	font-size: 1.125rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c8161d;
	text-decoration: none;
}
@media (any-hover: hover) {
	#pageTop:hover{
		opacity: .7;
	}
}
footer{
	background: #000;
	padding-block: 6em 3em;
	color: #fff;
}
footer a{
	text-decoration:none;
}
footer .footer_main{
	display: flex;
	justify-content: space-between;
	gap: 5%;
	margin-bottom: 0em;
}
footer .footer_main .footer_left .footer_logo{
	margin-bottom: 2em;
	transition: all 0.3s;
}
@media (any-hover: hover){
	footer .footer_main .footer_left .footer_logo:hover{
		opacity: 0.7;
	}
}
footer .footer_main .footer_left .footer_detail{
	line-height: 2;
	margin-bottom: 0;
}
footer .footer_main .footer_left .footer_detail a{
	pointer-events: none;
}
footer .footer_main .footer_right{
	width: fit-content;
}
footer .footer_main .footer_right .footer_links{
	display: flex;
	justify-content: flex-start;
	margin-block: 2em 3em;
	margin-right: -1.5em;
	flex-wrap: wrap;
	gap: 1em 0;
}
footer .footer_main .footer_right .footer_links .foot_link{
	margin: 0;
}
footer .footer_main .footer_right .footer_links a{
	margin-inline: 1.7em;
	text-decoration: none;
	line-height: 1;
	transition:background 0.3s, color 0.3s;
	position: relative;
	z-index: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	color: unset;
}
footer .footer_main .footer_right .footer_links a::after{
	position: absolute;
	z-index: 0;
	content: "";
	display:inline-block;
	inset: auto 0em -0.5em;
	width: 100%;
	height: 1px;
	background: #ffffff;
	transition: all .3s;
	transform: scale(0, 1);
	transform-origin: center top;
}
@media (any-hover: hover) {
	footer .footer_main .footer_right .footer_links a:hover::after{
	    transform: scale(1, 1);
	}
}
footer .footer_sub{
	display: flex;
	justify-content: space-between;
	align-items: end;
}
footer .footer_sub .footer_sublinks{
	display: flex;
}
footer .footer_sub .footer_logo02{
	margin-bottom: 0.5em;
}
footer .footer_sub .footer_logo02 a{
	transition: all .3s;
}
footer .footer_sub .footer_sublinks li a{
	position: relative;
	z-index: 0;
	font-size: 0.875rem;
	margin-right: 1.5em;
	text-decoration: none;
}
footer .footer_sub .footer_sublinks li a span{
	transition: opacity .3s;
}
footer .footer_sub .footer_sublinks li:not(:first-child) a::before{
	display: block;
	content: "";
	margin: auto;
	position: absolute;
	z-index: 0;
	background: #fff;
	height: 1em;
	width: 1px;
	inset: 0 auto 0 -0.75em;
}
@media (any-hover: hover){
	footer .footer_sub .footer_sublinks li a:hover span,
	footer .footer_sub .footer_logo02 a:hover{
		opacity: 0.7;
	}
}
footer .footer_sub small{
	font-size: 0.875rem;
	display: inline-block;
	margin-top: 1em;
}
@media screen and (max-width: 1310px){
	footer .footer_sub{
		padding-right: 4em;
	}
	footer .footer_main .footer_right .footer_links{
		margin-right: 0;
	}
	footer .footer_main .footer_right .footer_links a{
		margin-inline: 1em;
	}
}
@media screen and (max-width: 1000px){
	footer .footer_main .footer_right .footer_links{
		max-width: 290px;
	}
}
@media screen and (max-width:767px) {
	#pageTop {
		bottom: 1em;
		width: 60px;
	}
	footer{
		background: #000;
		padding-block: 3em;
	}
	footer .footer_main{
		display: block;
		margin-bottom: 2em; 
		text-align: center;
	}
	footer .footer_main .footer_left .footer_logo{
		width: 240px;
		margin-inline: auto;
	}
	footer .footer_main .footer_right{
		display: none;
	}
	footer .footer_sub{
		flex-direction: column;
		align-items: center;
		padding: 0;
	} 
	footer .footer_sub .footer_sublinks{
		flex-direction: column;
		gap: 0.5em;
		align-items: center;
		margin-bottom: 2em;
	}
	footer .footer_sub .footer_sublinks li a{
		margin-right: 0;
	}
	footer .footer_sub .footer_sublinks li:not(:first-child) a::before{
		content: none;
	}
	footer .footer_sub .footer_logo02{
		width: 160px;
		margin-inline: auto;
		margin-bottom: 1em;
	}
	footer .footer_sub small{
		text-align: center;
	}
}
