﻿/* 共通 */
.for_sp{display:block;}
.for_pc{display:none;}

body{
	font: 16px/1.6 'Noto Sans JP','ヒラギノ角ゴシック', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	color: #333;
}
body.h_active {
	position: fixed;
}
a,button{
	cursor: pointer;
	color: #333;
	text-decoration: none;
}

.inner{
	width: 90%;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}
.inner_l{
	width: 90%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
}

/* main{
	padding-top: 55px;パンくず表示時に取る
}
main.top{
	padding-top: 0;パンくず表示時に取る
} */

main{
	min-height: 0%;
}


/* content_title */
.content_title{
	text-align: center;
	color: #333;
}
.content_title span{
	display: inline-block;
	margin-right: 20px;
}
.content_title .til{
	margin-bottom: 0;
	font-size: 30px;
	font-weight: normal;
	font-family: 'Roboto', 'メイリオ', sans-serif;
}
.content_title .txt{
	font-weight: normal;
	font-size: 14px;
	vertical-align: text-top;
}

/* list_link */
.list_link{
	text-align: right;
}
.list_link a,
.list_link .link{
	position: relative;
	font-size: 14px;
	margin: 0;
	padding-right: 25px;
	color: #333;
	opacity: 1;
	transition: margin .3s, opacity .3s;
}
.list_link a:after,
.list_link .link:after{
	content: "";
    display: inline-block;
    position: absolute;
    right: 0;
    top: 7px;
    width: 7px;
    height: 7px;
	border-right: 1px solid #AFAFAF;
	border-bottom: 1px solid #AFAFAF;
	transform: rotate(-45deg);
}
.list_link a:hover,
.list_link .link:hover{
	opacity: 0.7;
	margin-right: -5px;
	transition: margin .3s, opacity .3s;
}

/* __  cate_title */
.cate_title{
	/* margin: 15px 0 27px; */
	margin: 35px 0 46px;
    padding-top: 10px;
	text-align: center;
	font-weight: normal;
	font-size: 30px;
	line-height: 1.2;
	font-family: 'Roboto', 'メイリオ', sans-serif;
}
.cate_title .ruby{
	display: block;
	margin-top: 8px;
	font-size: 14px;
	font-family: 'Noto Sans JP';
}

/*bk_btn*/
.bk_btn,
.r_btn,
.w_btn{
	display: block;
	position: relative;
	max-width: 360px;
	width: 100%;
	padding: 19px 10px;
	font-size: 14px;
	color: #fff;
	background: #000;
	text-align: center;
	opacity: 1;
	transition: opacity .3s;
}
.r_btn{
	font-weight: bold;
	background: #333;
}
.w_btn{
	border: 1px solid #000;
	background: #fff;
	color: #000;
}
.bk_btn:after,
.r_btn:after,
.w_btn:after{
	content: "";
	display: inline-block;
	position: absolute;
	top: 27px;
	right: 20px;
	width: 8px;
	height: 8px;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	transform: rotate(-45deg);
	transition: right .3s;
}
.w_btn:after{
	border-color: #BEBEBE;
}
.bk_btn:hover,
.r_btn:hover,
.w_btn:hover{
	opacity: 0.7;
	transition: opacity .3s;
}
.bk_btn:hover:after,
.r_btn:hover:after,
.w_btn:hover:after{
	right: 15px;
	transition: right .3s;
}

/* fade */
.fade{
    opacity: 0;
}
.fade.fade_in{
    opacity: 1;
    transition: opacity 0.7s;
}

/* breadcrumb */
.breadcrumb{
	display: none;
}


/* wrapper */
.wrapper{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
}
/* header */
#header{
	position: fixed;
	top: 0;
	width: 100%;
	background: #fff;
	z-index: 10;
	font-family: 'Roboto', 'メイリオ', sans-serif;
}
#header .flx_box {
	position: relative;
	max-width: 1920px;
	margin: 0 auto;
	padding: 25px 75px 25px 30px;
}
#header .h_logo {
	max-width: 180px;
}
#header .h_logo a{
	display: block;
	font-size: 0;
}
.flx_box .h_menu {
	display: none;
	flex: 1 1 auto;
	margin: 0 auto;
}
.flx_box .h_menu .h_menu_in{
	max-width: 1140px;
	width: 100%;
	background: orange;
	position: absolute;
	top: 80px;
	left: 0;
	width: 100%;
	height: calc( 100vh - 80px );
	background: #fff;
}
.flx_box .h_menu ul li{
	padding: 20px 0 20px 40px;
	border-bottom: 1px solid #E7E7E7;
}
.flx_box .h_menu ul li:first-child{
	border-top: 1px solid #E7E7E7;
}
.flx_box .h_menu ul li a{
	display: block;
	padding: 6px 30px;
	line-height: 1.5;
	color: #333;
	border-left: 2px solid #333;
}
.flx_box .h_menu .h_menu_in a.oth_txt{
	padding: 30px 40px 0 0;
    color: #333;
	text-align: right;
}
/* .flx_box .language{
	display: none;
} */
.flx_box .language{
	position: relative;
	transition: top .3s;
	margin-right: 40px;
    margin-top: 10px;
    text-align: right;
}
.hd_scrl .flx_box .language{
	top: 15px;
	transition: top .3s;
}
.flx_box .language img{
	margin-right: 10px;
	vertical-align: sub;
}
.flx_box .language .lan_link{
	display: inline-block;
	position: relative;
	color: #BEBEBE;
	margin-right: 30px;
}
.flx_box .language .lan_link.ac_link{
	color: #333;
}
.flx_box .language a.lan_link:hover{
	opacity: 0.4;
}
.flx_box .language .lan_link:last-child{
	margin-right: 0;
}
.flx_box .language .lan_link:after{
	content: "";
	display: inline-block;
	position: absolute;
	top: 6px;
	right: -17px;
	height: 12px;
	width: 1px;
	background: #333;
}
.flx_box .language .lan_link:last-child:after{
	content: none;
}
.burger_menu{
	position: absolute;
	right: 30px;
	top: 0;
	bottom: 0;
	width: 30px;
	height: 20px;
	padding: 0;
	margin: auto;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.burger_menu span{
	display: inline-block;
	width: 100%;
	height: 1px;
	margin-bottom: 4px;
	background: #000;
}
.burger_menu span:before,
.burger_menu span:after{
	content: "";
	display: inline-block;
	position: absolute;
	width: 100%;
	height: 1px;
	background: #000;
	transform: rotate(0);
	transform-origin: left;
}
.burger_menu span:before{
	top: 0;
	left: 0;
	transition: transform .3s, top .3s;
}
.burger_menu span:after{
	bottom: 0;
	left: 0;
	transition: transform .3s, bottom .3s;
}
.h_active .burger_menu span{
	background: transparent;
	transition: background .3s;
}
.h_active .burger_menu span:before{
	transform: rotate(45deg);
	top: -1px;
	transition: transform .3s, top .3s;
}
.h_active .burger_menu span:after{
	transform: rotate(-45deg);
	bottom: -1px;
	transition: transform .3s, bottom .3s;
}

/* main */
main{
	margin-top: 80px;
}

/* contact */
.contact_area{
	padding: 25px 0 50px;
	text-align: center;
	background: #fff;
}
.contact_area .content_title{
	text-align: center;
	margin-bottom: 25px;
}
.contact_area .ico_m_link{
	display: inline-block;
	margin-bottom: 30px;
	opacity: 1;
	transform: scale(1);
	transition: transform 0.3s, opacity 0.3s;
}
.contact_area .ico_m_link:hover{
	opacity: 0.7;
	transform: scale(1.1);
	transition: transform 0.3s, opacity 0.3s;
}
.contact_area .main_txt{
	margin-bottom: 50px;
	line-height: 2;
}
.contact_area .al_center{
	padding: 0 30px;
}
.contact_area .al_center a{
	margin: 0 auto;
}

/* footer */
#footer{
	flex: 1 1 auto;
	margin: auto 0 0;
	padding: 50px 0;
	background: #F1F1F1;
}
#footer .flx_box{
	width: 90%;
	margin: 0 auto;
}
#footer .menu{
	display: none;
}
#footer .left_box .address{
	margin-bottom: 50px;
	font-size: 18px;
	text-align: center;
}
#footer .left_box .address span{
	display: block;
	font-size: 14px;
	vertical-align: middle;
}
#footer .left_box .address .contact_text .mail,
#footer .left_box .address .contact_text .tel_link{
	margin-top: 1em;
}


#footer .right_box .privacy{
	display: block;
	margin-bottom: 60px;
	color: #BEBEBE;
	font-size: 14px;
	opacity: 1;
	transition: opacity 0.3s;
	text-align: center;
}
#footer .right_box .privacy:hover{
	opacity: 0.7;
	transition: opacity 0.3s;
}
#footer .right_box .copy{
	font-size: 14px;
	text-align: center;
	color: #BEBEBE;
}

#page_top{
	display: none;
}

/*sec_main_img*/
.sec_main_img{
	margin: 0 auto 10px;
	text-align: center;
}

@media screen and (min-width: 640px){
	/* 共通 */
	.for_sp{display:none;}
	.for_pc{display:block;}

	/* content_title */
	.content_title {
		text-align: left;
	}
	.content_title span{
		display: inline;
	}
	.content_title .til{
		margin-bottom: 0;
		margin-right: 20px;
	}
	.breadcrumb{
		display: flex;
		max-width: 1800px;
		width: 95%;
		margin: 0 auto 20px;
		padding-top: 15px;
		font-size: 12px;
	}
	.breadcrumb li{
		position: relative;
		display: inline-block;
	}
	.breadcrumb li a{
		margin-right: 50px;
		color: #BEBEBE;
	}
	/* cate_title */
	.cate_title{
		margin: 0 0 100px;
		padding-top: 10px;
		font-size: 40px;
	}
	.cate_title .ruby {
		/* margin-top: 6px; */
		margin-top: 19px;
	}
	/* 共通 */
	#header .flx_box{
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		height: 140px;
		padding: 48px 40px 48px;
		transition: padding .3s, height .3s;
	}
	#header.hd_scrl .flx_box{
		height: 95px;
		padding: 25px 40px 25px;
		transition: padding .3s, height .3s;
	}
	#header .h_logo {
		flex: 0 0 40%;
		max-width: 265px;
		transition: max-width .3s;
	}
	.flx_box .language{
		position: absolute;
		max-width: 110px;
		top: 30px;
		right: 5%;
		text-align: left;
		margin: 0;
	}
	/* #header.hd_scrl .h_logo{
		max-width: 270px;
		transition: max-width .3s;
	} */
	.flx_box .h_menu{
		display: block !important;
		max-width: 700px;
		width: 100%;
		transition: max-width .3s;
		margin: 0 0 0 auto;
	}
	/* #header.hd_scrl .flx_box .h_menu{
		max-width: 880px;
		transition: max-width .3s;
	} */
	.flx_box .h_menu .h_menu_in{
		position: relative;
		top: auto;
		height: auto;
		padding: 0;
		background: transparent;
	}
	.flx_box .h_menu ul{
		display: flex;
		max-width: 400px;
		justify-content: space-between;
		margin-left: auto;
		padding: 0 0 0 25px;
		box-sizing: content-box;
	}
	.flx_box .h_menu ul li,
	.flx_box .h_menu ul li:first-child{
		padding: 0;
		border: 0;
	}
	/* .hd_scrl .flx_box .h_menu ul li{
		padding-bottom: 6px;
	} */
	.flx_box .h_menu ul li a{
		position: relative;
		padding: 0;
		border: 0;
		line-height: 1;
		transition: color .3s;
	}
	.flx_box .h_menu ul li a:hover,
	#footer .menu li a:hover{
		color: #858585;
		transition: color .3s;
	}
	.flx_box .h_menu ul li a:after,
	#footer .menu li a:after{
		content: "";
		display: inline-block;
		position: absolute;
		left: 0;
		bottom: -10px;
		width: 0;
		height: 2px;
		background: #333;
		transition: width .3s;
	}
	.flx_box .h_menu ul li.h_active a:after,
	.flx_box .h_menu ul li a:hover:after,
	#footer .menu li.h_active a:after,
	#footer .menu li a:hover:after{
		width: 100%;
		transition: width .3s;
	}

	.burger_menu{
		display: none;
	}
	/* main */
	main{
		margin-top: 140px;
	}
	/* contact */
	.contact_area{
		padding: 43px 0 63px;
	}
	.contact_area .content_title .til{
		display: block;
		margin-bottom: 10px;
		margin-right: 0;
	}
	.contact_area .main_txt{
		margin-bottom: 30px;
	}
	/* footer */
	#footer{
		padding: 60px 0 80px;
		font-family: 'Roboto',  'メイリオ', sans-serif;
	}
	#footer .flx_box{
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		max-width: 1680px;
	}
	#footer .menu{
		display: flex;
		justify-content: space-between;
		align-items: center;
		max-width: 520px;
		margin: 0 auto 100px;
	}
	#footer .menu li{
		padding-bottom: 6px;
	}
	#footer .menu li a{
		position: relative;
		color: #333;
		opacity: 1;
		transition: opacity 0.3s;
	}
	#footer li a:hover{
		opacity: 0.7;
		transition: opacity 0.3s;
	}
	#footer .left_box{
		/* flex: 0 0 48%; */
		flex: 0 1 auto;
	}
	#footer .left_box .address{
		/* margin-bottom: 0; */
		margin-bottom: 1em;
		text-align: left;
	}
	#footer .left_box .address .contact_address{
		display: inline-block;
		margin: 0 2em 0 5px;
	}
	#footer .left_box .address .contact_text{
		margin-top: 0;
		display: inline-block;
	}
	#footer .left_box .address .contact_text .mail,
	#footer .left_box .address .contact_text .tel_link{
		display: inline-block;
		margin-top: 0;
		margin-right: 2em;
	}
	#footer .right_box{
		/* flex: 0 0 48%; */
		flex: 0 1 auto;
		margin-left: auto;
		text-align: right;
	}
	#footer .right_box .privacy{
		display: inline-block;
		margin-bottom: 0;
		text-align: left;
	}
	#footer .right_box .copy{
		display: inline-block;
		margin-left: 50px;
		text-align: left;
	}

	/* page_top */
	#page_top{
		display: inline-block;
		position: fixed;
		right: 60px;
		bottom: 35px;
		z-index: 5;
		font-size: 0;
	}
	#page_top span{
		display: inline-block;
		position: relative;
		width: 40px;
		height: 40px;
		background: #000;
		transition: opacity .3s;
	}
	#page_top span:after{
		content: "";
		display: inline-block;
		position: absolute;
		width: 7px;
		height: 7px;
		right: 0;
		left: 0;
		top: 0;
		bottom: 0;
		margin: auto;
		border-bottom: 2px solid #fff;
		border-right: 2px solid #fff;
		transform: rotate(-135deg);
	}
	#page_top span:hover{
		opacity: 0.7;
		transition: opacity .3s;
	}
	/*sec_main_img*/
	.sec_main_img{
		margin: 0 auto 70px;
	}
}
@media screen and (min-width: 960px){
	/* #header .flx_box{
		height: 140px;
		padding: 30px 60px;
		transition: padding .3s, height .3s;
	} */
	#header .flx_box{
		padding: 48px 60px 48px;
	}
	#header.hd_scrl .flx_box{
		padding: 25px 60px;
	}
	.flx_box .language{
		right: 60px;
	}
	.flx_box .h_menu ul{
		max-width: 525px;
		padding: 0 8% 0 45px;
	}
}
