/* ヘッダ及びフッタに関する装飾、調整用スタイルシートです。 */
/* TOPに戻るボタン */
.topBtn {
	display: none; /*非表示*/
	position: fixed;
  	background-color: #00913a;
	right: 5%;
	font-size: 50px;
	padding: 15px;
	border-radius: 5px;
	opacity: 0.3; /*ボタンそのものを透明化*/
	z-index: 20; /*お問い合わせはこちらの下に来ないように設定*/
	transition: opacity 0.5s; /*スクロールするときのCSSアニメーション*/
	will-change: transform; /*cssアニメーション時のチラつく対策*/
}
.topBtn:hover{
	opacity: 1;
}
/* ヘッダ */
ul{
	list-style: none;
	padding-inline-start: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}
.header1{
	margin-top: 20px;
	height: 185px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header1_left{
	font-size: 22px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.header1_left a{
	margin-top: 20px;
}
.header1_right{
	display: flex;
	align-items: center;
}
.header_tell{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-left: 30px;
}
#menu{
	display: none;
}
.header_tell span:nth-child(1){
	font-size: 35px;
}
.header_tell span:nth-child(2){
	font-size: 50px;
	color: #eb6100;
}
.header_tell span:nth-child(3){
	font-size: 24px;
}
.menutex{
	line-height: 1em;
}
#menu{
	width: 190px;
	box-sizing: border-box;
	align-items: center;
	height: 55px;
	background-color: #eb6100;
	margin-left: 10px;
    justify-content: center;
}
#menumoji{
	font-size: 40px;
}
#menu .humberger{
	display: block;
	width: 35px;
	height: 30px;
	position: relative;
    margin-right: 10px;
}
#menu>.humberger>span {
	display: block;
	height: 5px;
	background: #fff;
	position: absolute;
	z-index: 1;
	width: 35px;
	left: 0;
	transition: 0.5s ease-in-out;
}
#menu span:nth-child(1) {
	top: 0px;
}
#menu span:nth-child(2) {
	top: 15px;
}
#menu span:nth-child(3) {
	top: 30px;
}
.open#menu>.humberger>span:nth-child(1) {
	top: 15px;
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	transform: rotate(135deg);
}
.open#menu>.humberger>span:nth-child(2) {
	width: 0;
	left: 50%;
}
.open#menu>.humberger>span:nth-child(3) {
	top: 15px;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
/* グローバルナビ */
.headnav{
	height: 110px;
	display: flex;
  justify-content: center;
}
.headnav > ul{
	display: flex;
	height: 100%;
	align-items: center;
}
.headnav > ul > li{
	padding: 15px 35px;
	height: 35px;
	border-left: solid #eb6100 2px;
	position: relative;
}
.headnav > ul > li:last-child{
	border-right: solid #eb6100 2px;
}
.headnav > ul > li > a{
	padding: 5px;
	line-height: 31px;
	font-size: 30px;
	display: block;
	border-radius: 10px;
	transition: background-color 0.5s;
}
.headnav > ul > li > a:hover{
	background-color: #ff9;
}
.headnav a{
	text-decoration: none;
	color: #333;
}
.dropdown{
	display: none;
	position: absolute;
	z-index: 2;
	top: 65px;
	left: 0;
	width: 100%;
}
.dropdown li{
  width: 100%;
	height: 95px;
	border-bottom: 2px solid #fff;
}

.dropdown li a{
	box-sizing: border-box;
	font-size: 22px;
  display: flex;
	width: 100%;
	height: 100%;
	line-height: 95px;
	background-color: #eb6100;
	color: #fff;
	padding: 0 40px;
	justify-content: space-between;
	transition: color 0.5s, background-color 0.5s;
}
.dropdown li a:after{
	content: "\03e";
}
.dropdown li a:hover{
	background-color: #ff9;
	color: #eb6100;
}
/* フッタ */
footer{
	background-color : #eb6100;
	color: #fff;
	padding-top: 40px;
	padding-bottom: 150px;
	font-size: 30px;
	text-align: center;
	margin-top: 80px;
}

/* IEのみ */
@media all and (-ms-high-contrast: none){
	.headnav{
		height: 180px;
	}
	.dropdown{
		left: -40px;
	}
	footer li{
		margin-left: -45px;
	}
}
.footnav ul{
	display: flex;
	justify-content: space-around;
}
.footnav a{
	color: #fff;
	text-decoration: none;
}
.footContent{
	margin-top: 70px;
}
.footContent a{
	color: #fff;
}
footer .responsiveBr{
	display: none;
}
footer .responsiveBr2{
	display: none;
}
.underHover {
	height: 28px;
	position: relative;
	display: inline-block;
	z-index: 0;
}
.underHover::after {
	position: absolute;
	bottom: -17px;
	left: 0;
	content: '';
	z-index: -1;
	width: 100%;
	height: 3px;
	background: #fff;
	transform: scale(0,1);
	transform-origin: right top;
	transition: transform .3s;
}
.underHover:hover::after {
    transform-origin: left top;
    transform: scale(1,1);
}
.footContent p {
	margin-bottom: 0;
	line-height: 1.5em;
}
@media(max-width: 1820px){
	.headnav > ul > li > a{
		font-size: 22px;
	}
	.dropdown li a{
		padding: 0 25px;
	}
}
@media(max-width: 1496px){
	.header1{
		height: 110px;
	}
	.header1_left{
		font-size: 18px;
	}
	.header1_right img{
		height: 100px;
	}
	.header_tell span:nth-child(1){
		font-size: 25px;
	}
	.header_tell span:nth-child(2){
		font-size: 40px;
		color: #eb6100;
	}
	.header_tell span:nth-child(3){
		font-size: 17px;
	}
	/* グローバルナビゲーション */
	.headnav > ul > li{
		padding: 15px;
	}
	.dropdown li{
		height: 75px;
	}
	.dropdown li a{
		padding: 0 15px;
		font-size: 19px;
		line-height: 75px;
	}
}
@media(max-width: 1220px){
	.header1_left {
		font-size: 15px;
	}
	.header1_left a {
		margin-top: 10px;
	}
	.header1_left img{
		height: 80px;
	}
	.header1_right img{
		height: 80px;
	}
	.header_tell{
		margin-left: 15px;
	}
	.header_tell span:nth-child(2){
		font-size: 35px;
	}
	.headnav > ul > li{
		padding: 10px;
	}
	.headnav > ul > li > a{
		padding: 0;
		font-size: 20px;
	}
	.dropdown{
		top: 55px;
	}
	.dropdown li a{
		padding: 0 10px;
		font-size: 16px;
	}

	/* フッター */
	footer{
		font-size: 20px;
	}
	.footContent {
		margin-top: 50px;
	}
}
@media(max-width: 1095px) {
	/* ページトップに戻るボタン */
	.topBtn {
		font-size: 30px;
	}
}

/* ここからタブレット */
@media(max-width: 1000px){
	#menu{
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}
	.header1_left span{
		display: none;
	}
	.header_tell{
		display: none;
	}
	.headnav{
		display: none;
	}
}
@media(max-width: 890px) {
	/* フッター */
	footer {
		padding-bottom: 165px;
	}
}
@media(max-width: 710px){
	.header1_left img {
		height: 60px;
	}
	.header1_right img {
		height: 65px;
	}
}
@media(max-width: 675px){
	.header1_left img {
		height: 60px;
	}
	.header1_right img {
    height: 60px;
	}
	#menu{
		width: 150px;
	}
	#menumoji{
		font-size: 25px;
	}

	/* フッター */
	.footnav ul{
		display: none; /*非表示*/
	}
	.footnav li{
		margin-bottom: 30px;
	}
	.footnav li:last-child{
		margin-bottom: 0;
	}
	.footContent {
		margin-top: 0;
	}
}
@media(max-width: 565px){
	.header1_left img {
		height: 50px;
	}
	.header1_right img {
		height: 50px;
	}

	/* フッター */
	footer {
    	font-size: 18px;
		padding-top: 30px;
		padding-bottom: 145px;
	}
}
@media(max-width: 520px){
	.header1 {
    height: 90px;
    margin-top: 0px;
	}
	.header1_left img {
		height: 40px;
	}
	.header1_right img {
    height: 40px;
	}

	/* フッター */
	footer .responsiveBr2{
		display: inline;
	}
	footer {
		font-size: 16px;
	}
}

@media(max-width: 430px){
	/* お問い合わせはこちら */
	footer {
        padding-bottom: 130px;
    }
}

@media(max-width: 420px){
	#menu{
		flex-direction: column;
		height: 75px;
		width: 70px;
	}
	#menu .humberger{
		margin-right: 0;
		margin-bottom: 10px;
	}
	#menumoji{
		font-size: 15px;
	}
}

@media(max-width: 402px){
	/* フッター */
	footer {
		padding-top: 20px;
    	padding-bottom: 120px;
	}
}