@charset "UTF-8";
/* =============================================================
   トキホーム 下層ページ用 共通ヘッダー（index-test1 トップページのヘッダーを移植）
   - index-test1/common/css/common.css のヘッダー部分を rem(html:100px基準)→px に換算
   - 下層ページ(style.css / html:62.5%基準)と干渉しないよう .toki-header にスコープ限定
   ============================================================= */

/*=============================
ヘッダー本体
=============================*/
.toki-header {
	width: 100%;
	z-index: 90;
	position: fixed;
	top: 0;
	left: 0;
	padding-top: 26px;
	padding-bottom: 26px;
	box-sizing: border-box;
}
@media screen and (max-width: 767px) {
	.toki-header {
		padding-top: 18px;
		padding-bottom: 18px;
	}
}
.toki-header.fixed {
	background: #FFF;
}

/* ロゴ（下層ページでは h1 の二重使用を避けるため div にしている） */
.toki-header .header-logo {
	margin: 0 0 0 40px;
}
.toki-header .header-logo a {
	display: inline-block;
	line-height: 0;
}
.toki-header .header-logo img {
	height: 41px;
	width: auto;
	display: block;
}
@media screen and (max-width: 1152px) {
	.toki-header .header-logo {
		margin-left: 20px;
	}
}
@media screen and (max-width: 900px) {
	.toki-header .header-logo {
		margin: auto;
		text-align: center;
	}
}
@media screen and (max-width: 767px) {
	.toki-header .header-logo {
		margin-left: 10px;
		text-align: left;
		z-index: 9;
		position: relative;
	}
	.toki-header .header-logo img {
		height: 32px;
	}
}

/*=============================
ナビゲーション
=============================*/
.toki-header ul {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media screen and (max-width: 1152px) {
	.toki-header ul {
		right: 20px;
	}
}
@media screen and (min-width: 768px) {
	.toki-header nav {
		display: block !important;
	}
}
@media screen and (max-width: 900px) {
	.toki-header ul {
		position: relative;
		top: inherit;
		right: inherit;
		margin: auto;
		text-align: center;
		padding-top: 20px;
	}
}
@media screen and (max-width: 767px) {
	.toki-header nav {
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		z-index: 3;
		background-color: rgba(30, 34, 44, 0.95);
		box-sizing: border-box;
		display: none;
	}
	body.menu_open .toki-header nav {
		display: block;
	}
	.toki-header ul {
		width: 100%;
		padding-top: 24%;
		transform: translateY(0%);
	}
}

.toki-header ul li {
	display: inline-block;
	font-weight: 700;
	letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
	.toki-header ul li {
		display: block;
		line-height: 3;
	}
	.toki-header ul li.active a {
		border-bottom: 2px solid #086608;
	}
}
.toki-header ul li::after {
	content: "/";
	font-weight: 100;
	color: #FFF;
	padding-left: 14px;
	padding-right: 10px;
}
.toki-header.fixed ul li::after {
	color: #000;
}
@media screen and (max-width: 1152px) {
	.toki-header ul li::after {
		padding-left: 6px;
		padding-right: 4px;
	}
}
@media screen and (max-width: 767px) {
	.toki-header ul li::after {
		display: none;
		padding: 0;
	}
}
.toki-header ul li.no_slash {
	padding-right: 20px;
}
@media screen and (max-width: 767px) {
	.toki-header ul li.no_slash {
		padding-right: 0;
	}
}
.toki-header ul li a {
	color: #FFF;
	text-decoration: none;
	font-size: 16px;
	padding-bottom: 6px;
	position: relative;
	display: inline-block;
}
.toki-header ul li a::before {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0%;
	height: 2px;
	background: #fff;
	transition: all 0.3s ease;
}
.toki-header.fixed ul li a::before {
	background: #086608;
}
.toki-header ul li a:hover::before,
.toki-header.fixed ul li a:hover::before {
	width: 100%;
}
.toki-header.fixed ul li a {
	color: #000;
}
body.menu_open .toki-header ul li a {
	color: #FFF;
}
@media screen and (max-width: 767px) {
	.toki-header ul li a {
		font-size: 18px;
	}
}

/* お問い合わせボタン（最後のli） */
.toki-header ul li:last-child a {
	border: 1px solid #FFF;
	padding: 10px 50px;
	font-size: 14px;
	border-radius: 20px;
	background-image: url("../../index-test1/common/img/link_arrow_white.png");
	background-position: 90% center;
	background-repeat: no-repeat;
	background-size: 6px;
}
.toki-header ul li:last-child a::before {
	display: none;
}
.toki-header.fixed ul li:last-child a {
	border: 1px solid #000;
	background-image: url("../../index-test1/common/img/link_arrow_black.png");
}
@media screen and (max-width: 1152px) {
	.toki-header ul li:last-child a {
		padding-left: 30px;
		padding-right: 30px;
	}
}
@media screen and (max-width: 767px) {
	.toki-header ul li:last-child a {
		border: 0;
		padding: 0 0 6px 0;
		font-size: 18px;
		background-image: none;
	}
	.toki-header.fixed ul li:last-child a {
		border: none;
	}
}
.toki-header ul li:last-child a:hover {
	background-color: #FFF;
	color: #111;
	background-image: url("../../index-test1/common/img/link_arrow_black.png");
}
.toki-header.fixed ul li:last-child a:hover {
	background-color: #111;
	color: #FFF;
	background-image: url("../../index-test1/common/img/link_arrow_white.png");
}
.toki-header ul li.no_slash::after,
.toki-header ul li:last-child::after {
	display: none;
}

/* スマホ表示切替 */
.toki-header .sp_only {
	display: none;
}
@media screen and (max-width: 767px) {
	.toki-header .sp_only {
		display: block;
	}
}

/* スマホ時の閉じるボタン */
.toki-header #sp_menu_close {
	position: absolute;
	bottom: 10%;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}
.toki-header #sp_menu_close a {
	font-size: 18px;
	font-weight: 700;
	color: #FFF;
	cursor: pointer;
	display: inline-block;
	background-image: url("../../index-test1/common/img/sp_menu_close_btn.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 14px;
	padding-left: 24px;
}

/*=========================
スマホナビ 開閉ボタン
=========================*/
.toki-header #SPnaviBtn {
	display: none;
}
@media screen and (max-width: 767px) {
	.toki-header #SPnaviBtn {
		position: absolute;
		top: 20px;
		right: 10px;
		width: 50px;
		height: 30px;
		border-radius: 4px;
		color: #0A7F0A;
		text-align: center;
		display: block;
		z-index: 10;
	}
}
.toki-header .menu-trigger,
.toki-header .menu-trigger span {
	display: inline-block;
	transition: all 0.4s;
	box-sizing: border-box;
}
.toki-header #SPmenuBars {
	position: absolute;
	left: 50%;
	width: 50%;
	height: 70%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.toki-header .menu-trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #FFF;
}
.toki-header.fixed .menu-trigger span {
	background-color: #000;
}
body.menu_open .toki-header .menu-trigger span {
	background-color: #FFF;
}
.toki-header .menu-trigger span:nth-of-type(1) {
	top: 0;
}
.toki-header .menu-trigger span:nth-of-type(2) {
	top: 49%;
}
.toki-header .menu-trigger span:nth-of-type(3) {
	bottom: 0;
}
.toki-header .menu-trigger.active span:nth-of-type(1) {
	transform: rotate(-45deg);
	top: 50%;
}
.toki-header .menu-trigger.active span:nth-of-type(2) {
	opacity: 0;
}
.toki-header .menu-trigger.active span:nth-of-type(3) {
	transform: rotate(45deg);
	bottom: 50%;
}
@media screen and (max-width: 340px) {
	.toki-header .menu-trigger.active span:nth-of-type(3) {
		bottom: 45%;
	}
}

/* メニュー展開中は背面スクロールを固定（スマホ） */
@media screen and (max-width: 767px) {
	body.menu_open {
		overflow: hidden;
	}
}
