@charset "UTF-8";

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

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

/* ヘッダー */
.header-details{
	font-size: 13px;
	line-height: 1.5;
}
/* ヘッダー2 */
.header-details2{
	font-size: 13px;
	line-height: 1.5;
	color:#FFF;
	background-color: var(--main-color);
	text-align: center;
	border-radius: 10px;	/*背景の角を丸くする*/
}

.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;
    }

    /*JSを使いfixedクラスが付与された際の設定*/
    #site-inner.fixed{
        position: fixed;/*fixedを設定して固定*/
        z-index: 100;/*最前面へ*/
        top:0;/*位置指定*/
        left:0;/*位置指定*/
        padding-left: 10px;
		padding-bottom: 5px;
		background:#ffffffe3;
    }
    #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(--accent-color1);
	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: var(--accent-color2);
	font-size: 10px;
	text-align: center;
	font-weight: normal;
	letter-spacing: 0.2em;
	font-family: "Sawarabi Gothic", "M PLUS 1p", sans-serif;
}

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

/* 会社住所・TEL */
.company{
	text-align: right;
}
.tel_ico{
	/* Font Awesomeを使う時*/
	color: var(--accent-color2);
	font-size: 26px;
	padding-right: 5px;
	font-weight: bold;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

	/*SVGアイコンを使う時*/
	/*display: inline-block;
    width: 50px;
    height: 28.5px;
    vertical-align: sub;
    margin: 0 5px 0 5px;*/
}
.tel_ico2{

	/*SVGアイコンを使う時*/
	display: inline-block;
    width: 50px;
    height: 35px;
    vertical-align: sub;
    margin: 0 5px 0 5px;
}
@media (max-width: 568px) {
	.tel_ico2{
		width: 30px;
		height: 25px;
		margin: 0 0px 0 0px;
	}
}
.tel{
	color: #444;
	font-size: 33px;
	font-weight: bold;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, 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: #71ab69f0;
		transition: transform 0.3s;
	}

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

	.open body {
		position: fixed;
		overflow: hidden;
	}

	.nav ul {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100%;
		gap: 40px;
		color: #ffffff;
	}
}

/* ナビゲーションメニュー：PC */
@media (min-width: 569px) {
	.nav ul {
		display: flex;
		gap: 7%;
		color: #454545;
		justify-content: center;
		align-items: center;
		list-style: none;
		height: 50px;
		background-color: var(--base-color);
		z-index: 10;
		padding-bottom: 5px;
		position: relative;
		box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.3);
	}
	.nav a:hover{
		color: #707070;
		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(--main-color);
	}
}