@charset "UTF-8";

/*=======================================================*/
/*      		ヘッダー、ナビのCSS   			  		  */
/*======================================================*/

/* ヘッダー */
#header {
	/*height: 70px;*/	/*テンプレ初期値*/
	background-color: var(--base-color);
	/*background-image: url(../img/bg_01a.png),url(../img/bg_01b.png);
	background-repeat: no-repeat,no-repeat;
	background-position: left,right;
	background-size: contain,contain;*/
}
@media (min-width: 569px) {
	#header {
		position: relative;
		z-index: 1;
	}
}
@media (max-width: 568px) {
	#header{
		position: fixed;/*fixedを設定して固定*/
		z-index: 100;/*最前面へ*/
		top:0;/*位置指定*/
		left:0;/*位置指定*/		
		padding-left: 10px;
		width: 100%;
		opacity: 0.9;
	}
}

/* ヘッダー */
.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: 5px;
        height: 100%;
        margin-bottom: 5px; /*logoロゴ下の余白*/
	}
}

/* 電話番号が2つの時 */
.header-details2 {
    font-size: 11px;
    line-height: 1.5;
    color: var(--base-color);
    background-color: var(--accent-color1);	
    text-align: center;
    border-radius: 10px;
    padding: 0.1em;
}

.company2-container {
	display: flex;
	flex-flow: column;
}

.company2-container_phone {
	display: flex;
	flex-flow: column;
}

@media not all and (min-width: 569px) and (max-width: 1023px) {
	.company2-container_phone {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		align-items: flex-end;
	}
}

@media (max-width: 569px) {
    .company2-container {
        display: none;
    }
}

/* 電話番号が2つの時（ヘッダー） */
.header-details_c2{
	line-height: 1.5;
	font-size: clamp(10px, 1.2vw, 13px);
}

.header-container_c2 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100px;
}
@media (max-width: 568px) {
	.header-container_c2 {
		margin-top: 5px;
        height: 100%;
        margin-bottom: 5px; /*logoロゴ下の余白*/
	}
}

/* 電話番号が2つの時（会社住所・TEL） */
.company_c2{
	text-align: right;
}
.tel_ico_c2{
	color: var(--accent-color1);
	font-size: 26px;
	padding-right: 5px;
	font-weight: bold;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.tel_c2{
	color: var(--accent-color1);
	font-size: clamp(28px, 2.5vw, 31px);
	font-weight: bold;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

@media (max-width: 569px) {
	.company_c2 {
		display: none;
	}
}


/*========= スマホヘッダー上部固定させるためのCSS ===============*/
@media (max-width: 568px) {
    #site-inner{
        width:100%;/*横幅指定*/
        /*以下はレイアウトのためのCSS*/
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: center;		
		padding-bottom: 12px;		/*今回のみ*/
    }

    /*JSを使いfixedクラスが付与された際の設定*/
    #site-inner.fixed{
        position: fixed;/*fixedを設定して固定*/
        z-index: 100;/*最前面へ*/
        top:0;/*位置指定*/
        left:0;/*位置指定*/
        padding-left: 10px;
		padding-top: 12px;			/*今回のみ*/	
        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-right: 10px;
	outline: none;
	border: none;
	background: transparent;
	cursor: pointer;
    color: var(--accent-color3);
	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(--main-color);
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.2em;
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 700;
    font-style: normal;
}

/*ロゴ*/
img.logo{
	width: 320px;
	border-radius: 0;
}
@media (max-width: 680px) {
	img.logo{
		width: 250px;
	}
}
@media (max-width: 372px) {
	img.logo{
		width: 200px;
	}
}

/* 会社住所・TEL */
.company{
	text-align: right;
}
.tel_ico{
    color: var(--main-color);
	font-size: 26px;
	padding-right: 5px;
	font-weight: bold;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.tel{
    color: var(--main-color);
	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: var(--accent-color3);
        opacity: 0.8;
		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;
		text-align: center;
	}

	.nav ul li {
        text-align: center;
    }

	nav.nav ul li::before {
        color: var(--accent-color2);
		padding-bottom: 6px;
	}
}


/* ナビゲーションメニュー：PC */
@media (min-width: 569px) {
	.nav {
		position: relative;
		z-index: 1;
	}
	.nav ul {
		display: flex;
		/*gap: 5%;*//*6-7基準*/
		justify-content: center;
		align-items: center;
		list-style: none;
		z-index: 10;
		height: 60px;/*通常50-60*/
		text-align: center;
	}

	.nav ul li{
		font-size: clamp(12px, 1.6vw, 16px);
		line-height: 1.5;
		color: var(--txt-color);
		flex-grow: 1;
		text-align: center;
	}

	.nav li + li {
        border-left: 1px solid var(--accent-color3);
	}

	.nav ul li a {
		padding-right: 5px;
		padding-left: 5px;
	}
	.nav ul li a:hover{
        color: var(--txt-color);
        border-bottom: 1px solid var(--main-color);
        background: linear-gradient(transparent 50%, #f0f1f150 50%);
        padding-bottom: 2px;
	}
	.nav li.current a{
		border-bottom: 1px solid var(--main-color);
		padding-bottom: 2px;
	}
	.nav li.current,nav li.current a:hover{
		border-bottom: 1px solid var(--accent-color2);
	}
}
