@charset "UTF-8";

/*=======================================================*/
/*      		ヘッダー、ナビのCSS   			  		  */
/*======================================================*/

/* ヘッダー */
.header {
	/*height: 112px;*/	/*テンプレ初期値*/
	background-color: var(--base-color);
	padding-bottom: 5px;
}

/* ヘッダー */
.header-details{
	font-size: 13px;
	line-height: 1.5;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100px;
}
@media (max-width: 568px) {
	.header-container {
		margin-top: 20px;
		height: 100%;
		/*margin-bottom: 10px;*/ /*logoロゴ下の余白*/
	}
}
/*========= スマホヘッダー上部固定させるためのCSS ===============*/
@media (max-width: 568px) {
    #site-inner{
        width:100%;/*横幅指定*/
        /*以下はレイアウトのためのCSS*/
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #ffffffe3;	/*白*/
        /*background: #000000e3;*/	/*黒*/
        text-align: center;
    }

    /*JSを使いfixedクラスが付与された際の設定*/
    #site-inner.fixed{
        position: fixed;/*fixedを設定して固定*/
        z-index: 100;/*最前面へ*/
        top:0;/*位置指定*/
        left:0;/*位置指定*/
        padding-left: 10px;
padding-bottom: 5px;
padding-top: 5px;
    }
    #navbtn-inner{
        /*以下はレイアウトのためのCSS*/
        display: flex;
    }
    /*JSを使いfixedクラスが付与された際の設定*/
    #navbtn-inner.fixed{
        position: fixed;/*fixedを設定して固定*/
        z-index: 110;/*最前面へ*/
        top:10px;/*位置指定*/
        right:15px;/*位置指定*/
    }
}
body.fixed {
    width: 100%;
    height: 100%;
    position: fixed;
}
/*========= スマホヘッダー上部固定させるためのCSS ここまで ===============*/

/* ナビゲーションボタン */
#navbtn {
	padding: 0;
	outline: none;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--main-color);
	font-size: 30px;
}

.open #navbtn {
	z-index: 110;
	color: #ffffff;
}

#navbtn .fa-bars {
	display: revert;
}
.open #navbtn .fa-bars {
	display: none;
}

#navbtn .fa-times {
	display: none;
}
.open #navbtn .fa-times {
	display: revert;
}

@media (min-width: 569px) {
	#navbtn {
		display: none;
	}
}

/*メニュー副題*/
nav.nav ul li::before {
	content: attr(data-en);
	display: block;
	color: #5f8dca;
	font-size: 10px;
	text-align: center;
	font-weight: normal;
	/*letter-spacing: 0.2em;*/	/*文字数が多いので*/
	letter-spacing: 0.07em;
	font-family: "Sawarabi Gothic", "M PLUS 1p", sans-serif;
	padding-top: 3px;/*今回のみ*/
}
/*副題の色を別々に設定　今回のみ*/
nav.nav ul li:nth-child(1)::after {

}
nav.nav ul li:nth-child(2)::after {

}
nav.nav ul li:nth-child(3)::after {

}
nav.nav ul li:nth-child(4)::after {

}
nav.nav ul li:nth-child(5)::after {

}

/*ロゴ*/
img.logo{
	width: 290px;
}
@media (max-width: 680px) {
	img.logo{
		width: 270px;
	}
}
@media (max-width: 372px) {
	img.logo{
		width: 250px;
	}
}

/* 会社住所・TEL */
.company{
	text-align: right;
}
.tel_ico{
	color: var(--txt-color);
	font-size: 25px;
	padding-right: 5px;
	font-weight: bold;
	margin-bottom: 2px;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.tel{
	color: var(--txt-color);
	font-size: 33px;
	font-weight: 400;
	/*font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;*/
	font-family: Century Gothic, Arial, "Sawarabi Gothic", "M PLUS 1p", sans-serif;
}

@media (max-width: 569px) {
	.company {
		display: none;
	}
}

/* ナビゲーションメニュー：モバイル */
@media (max-width: 568px) {
	.nav {
		position: fixed;
		inset: 0 -100% 0 100%;
		z-index: 100;
		background-color: #373737e2;
		transition: transform 0.3s;
	}

	.open .nav {
		transform: translate(-100%, 0);
	}

	.open body {
		position: fixed;
		overflow: hidden;
	}
	.nav a:hover{
		color: #ccc;
		border-bottom: 1px solid var(--accent-color2);
	}
	.nav ul {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100%;
		gap: 30px;
		color: #ffffff;
		text-align: center;
	}
}

/* ナビゲーションメニュー：PC */
@media (min-width: 569px) {
	.nav ul {
		display: flex;
		gap: 6%;
		color: #454545;
		justify-content: center;
		align-items: center;
		list-style: none;
		height: 60px;
		background-color: var(--base-color);
		z-index: 10;
		position: relative;
		box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.3);
		text-align: center;
		/*padding-bottom: 5px;*/
	}
	.nav a:hover{
		border-bottom: 2px solid var(--main-color);
	}
	.nav ul li{
		font-weight: 400;
	}
	.nav li.current,nav li.current a:hover{
		border-bottom: 2px solid var(--accent-color2);
	}
}