@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');

/***********************************************************************

------------------------------------------------------------------------
アクセス時のアニメーション
***********************************************************************/

body {
	overflow-x: hidden;
}
.top-op::after,
.top-op::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	margin: 0 auto;
	width: 100%;
	height: 120vh;
}

.top-op::after {
	z-index: 9999998;
	background: #0c4da2;
	animation-duration: 0.8s;
	animation-delay:0.8s;
	animation-fill-mode: forwards;
	animation-name: top-op;
}
.top-op::before {
	z-index: 9999999;
	background:#3f5bb1;
	animation-duration: 0.7s;
	animation-delay: 0.6s;
	animation-fill-mode: forwards;
	animation-name: top-op2;
} 

@keyframes top-op{
	0% {
		width: 100%;
		left:0;
	}
	50% {
		width: 100%;
	}
	100% {
		width: 0%;
		left: 100%;
	}
}
@keyframes top-op2{
	0% {
		width: 100%;
		left:0;
	}
	50% {
		width: 100%;
	}
	100% {
		width: 0%;
		left: 100%;
	}
}

/*******************************************

-------------------------------------------
ヘッダー
********************************************/

body:has(header.hoge) {
	padding-top: 120px;
}
@media only screen and (max-width: 767px) {
	body:has(header.hoge) {
		padding-top: 50px;
	}
}

header {
	z-index: 9990;
	width: 100%;
}
header.hoge {
	position: fixed;
	top: 0;
	background: #fff;
}
header .h-wrap {
	display: flex;
	justify-content: space-between;
	position: relative;
	padding: 25px 30px;
}
header .h-wrap .h-logo {
	width: 200px;
}
@media only screen and (max-width: 767px) {
	header {
		padding: 0;
		z-index: 9990q;
	}
	header.hoge .h-wrap {
		width: 100%;
	}
	header .h-wrap {
		display: block;
		padding: 15px;
		position: absolute;
		top: 0;
	}
	header:has(.active) {
		position: relative;
	}
	header .h-wrap:has(.active) {
		position: fixed;
		background: #fff;
		width: 100%;
	}
	header .h-wrap .h-logo {
		width: 120px;
		padding-top: 0;
	}
}

/* ---------------------------
ナビゲーション
----------------------------- */

header .h-wrap nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
@media only screen and (max-width: 767px) {
	header .h-wrap nav {
		display: none;
		background: #EEEEEF;
		position: fixed;
		width: 100%;
		height: calc(100vh - 68px);
		left: 0;
		top: 0;
		overflow-x: scroll;
		padding-bottom: 30px;
		margin-top: 68px;
	}
}

/* ---------------------------
スマホナビボタン
----------------------------- */

header .h-wrap .nav-sp-btn {
	background:url(../img/common/ic_nav.svg) no-repeat center #1C294F;
	background-size: 25px;
	width: 50px;
	height: 50px;
	position: fixed;
	right: 5px;
	top: 5px;
	border-radius: 5px;
	z-index: 10;
}
header .h-wrap .nav-sp-btn.active {
	background:url(../img/common/ic_nav_close.svg) no-repeat center;
	background-size: 25px;
}

/* ---------------------------
グローバルメニュー
----------------------------- */

header .h-wrap nav ul.gnav {
	display: flex;
	align-items: center;
	gap: 35px;
}
header .h-wrap nav ul.gnav > li {
	line-height: 1;
	align-items: center;
}
header .h-wrap nav ul.gnav > li > a {
	font-weight: 700;
	display: block;
	position: relative;
	padding:16px 0;
}
@media only screen and (max-width: 767px) {
	header .h-wrap nav ul.gnav {
		display: block;
		width: 90%;
		margin: 15px auto 0;
		background: #fff;
	}
	header .h-wrap nav ul.gnav li {
		border-top: 1px solid #aaa;
		position: relative;
		font-size: 18px;
		height: inherit;
		display: block;
	}
	header .h-wrap nav ul.gnav > li a {
		padding: 1em;
		width: 100%;
		display: flex;
		align-items: center;
		text-align: left;
		position: relative;
		color: #000;
		background: #fff;
		font-size: 14px;
		height: 50px;
	}
	header .h-wrap nav ul.gnav > li a[href]::after {
		background: none;
		content: "";
		width: 8px;
		height: 8px;
		border-right: 2px solid #1C294F;
		border-top: 2px solid #1C294F;
		display: block;
		transform: rotate(45deg);
		position: absolute;
		right: 1.5em;
		top: 50%;
		margin-top: -4px;
	}
}

/* ---------------------------
ドロップダウン（スマホ版ではトグルに内蔵）
----------------------------- */

@media only screen and (min-width: 768px) {
	header .h-wrap nav ul.gnav li:has(.gnav-dd) > a {
		background: url(../img/common/ic_arr_cir_btm_navy.svg)no-repeat right;
		padding-right: 2em;
	}
	header .h-wrap nav ul.gnav > li .gnav-dd {
		position: absolute;
		z-index: 10;
		transform: scaleY(0);
		transform-origin: center top;
		transition: all .3s;
	}
	header .h-wrap nav ul.gnav > li:hover .gnav-dd {
		transform: scaleY(1);
	}
	header .h-wrap nav ul.gnav > li .gnav-dd .gnav-sub {
		color: #fff;
	}
	/* サムネイルの隣の横向きリンク */
header .h-wrap nav ul.gnav > li .gnav-dd .gnav-sub ul {
	box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.16);
}
header .h-wrap nav ul.gnav > li .gnav-dd .gnav-sub ul li a {
	display: block;
	padding: 1.5em 3em 1.5em 1.5em;
	color: #1C294F;
	background: #fff;
}
header .h-wrap nav ul.gnav > li .gnav-dd .gnav-sub ul li a[href] {
	background: #fff url(../img/common/ic_arr_cir_r_navy.svg) no-repeat center right 1em;
	background-size: 16px;
}
header .h-wrap nav ul.gnav > li .gnav-dd .gnav-sub ul li a:hover {
	color: #ccc;
	background: #1c294f;
	opacity: 1;
}
header .h-wrap nav ul.gnav > li .gnav-dd .gnav-sub ul li a[href]:hover {
	background: #1C294F url(../img/common/ic_arr_cir_r_wh.svg) no-repeat center right 1em;
	background-size: 16px;
}
}

@media only screen and (max-width: 767px) {
	/* スマホ版ではトグルに内蔵 */
	header .h-wrap nav ul.gnav > li .gnav-dd {
		position: relative;
		display: none;
		padding: 10px;
		background: #1C294F2a;
		width: 100%;
	}
	header .h-wrap nav ul.gnav > li:has(.active) > a {
		background: #1C294F2a;
	}
	header .h-wrap nav ul.gnav > li .gnav-dd .gnav-sub {
		width: 100%;
		display: block;
	}

	/* スマホ用のトグルボタン */
	header .h-wrap nav ul.gnav > li span.js-spnav-toggle {
		width: 50px;
		height: 50px;
		display: block;
		background: url(../img/common/ic_toggle_plus.svg)no-repeat center center #1C294F2a;
		cursor: pointer;
	}
	header .h-wrap nav ul.gnav > li span.js-spnav-toggle.active {
		background-image: url(../img/common/ic_toggle_min.svg);
		background-color: #1C294F52;
	}
	header .h-wrap nav ul.gnav > li:has(span.js-spnav-toggle) {
		display: flex;
		flex-wrap: wrap;
	}
	header .h-wrap nav ul.gnav > li:has(span.js-spnav-toggle) > a {
		width: calc(100% - 50px);
	}
}



@media only screen and (max-width: 767px) {
	header .h-wrap nav ul.gnav > li .gnav-dd .gnav-sub ul {
		display: block;
		height: inherit;
	}
	header .h-wrap nav ul.gnav > li .gnav-dd .gnav-sub ul > li a {
		padding: 1em;
		width: 100%;
		text-align: left;
		position: relative;
		color: #000;
		background: #fff;
		font-size: 14px;
	}
}

/*ナビゲーション右側（お問い合わせと関電工ロゴ）
========================================== */

header .h-wrap nav ul.gnav-right {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-left: 40px;
}
header .h-wrap nav ul.gnav-right li {
	display: flex;
	line-height: 1;
}
header .h-wrap nav ul.gnav-right li a {
	display: inline-block;
	box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.16);
	text-align: center;
	border-radius: 30px;
	padding: 1em 3em 1em 2em;
	line-height: 1;
	color: #fff;
}
header .h-wrap nav ul.gnav-right li .gnav-btn-ctc {
	background: #D4442A url(../img/common/ic_arr_cir_r_wh.svg) no-repeat right 1em center;
	background-size: 16px;
}
header .h-wrap nav ul.gnav-right li .gnav-btn-living {
	background: #302AD4 url(../img/common/ic_arr_cir_r_wh.svg) no-repeat right 1em center;
	background-size: 16px;
}

@media only screen and (max-width: 767px) {
	header .h-wrap nav ul.gnav-right {
		display: block;
		margin-top: 30px;
		margin-left: 0;
	}
	header .h-wrap nav ul.gnav-right li {
		text-align: center;
		justify-content: center;
	}
	header .h-wrap nav ul.gnav-right li + li {
		margin-top: 30px;
	}
	header .h-wrap nav ul.gnav-right li .gnav-btn-ctc,
	header .h-wrap nav ul.gnav-right li .gnav-btn-living {
		width: 80%;
		margin-left: auto;
		margin-right: auto;
		padding: 1em;
	}
}

/* ぱんくずナビ
========================================== */

.l-pnav {
	background: #fff;
	padding: 35px 0;
	border-top: #C3C9DB 1px solid;
}
.l-pnav ul {
	display: flex;
	flex-wrap: wrap;
}
.l-pnav ul li {
	font-size: 14px;
	padding-right: 2em;
	position: relative;
}
.l-pnav ul li::after {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 2px solid #aaa;
	border-right: 2px solid #aaa;
	display: block;
	transform: rotate(45deg);
	right: .8em;
	top: 50%;
	margin-top: -5px;
	position: absolute;
}
.l-pnav ul li:last-of-type::after {
	display: none;
}
@media only screen and (max-width: 767px) {
	.l-pnav {
		padding: 20px 0;
	}
}

/* フッター
========================================== */

footer {
	background: url(../img/common/bg_pt01.png);
	padding-bottom: 40px;
}

/* ---------------------------
フッター問い合わせ
----------------------------- */

footer .f-cnt {
	background: #28384B;
	padding: 47px 0 65px;
}
footer .f-cnt .f-cnt-tit {
	display: flex;
	gap: 40px;
	color: #fff;
	align-items: flex-end;
}
footer .f-cnt .f-cnt-tit h2 {
	font-size: 45px;
	line-height: 1;
}
footer .f-cnt .f-cnt-tit em {
	font-size: 18px;
	display: block;
	line-height: 1;
	margin-top: 1em;
}
footer .f-cnt .f-cnt-tit p {
	font-size: 16px;
	font-weight: bold;
}
@media only screen and (max-width: 767px) {
	footer .f-cnt .f-cnt-tit {
		flex-wrap: wrap;
	}
	footer .f-cnt .f-cnt-tit h2 {
		font-size: 36px;
	}
	footer .f-cnt .f-cnt-tit p {
		font-size: 14px;
	}
}

footer .f-cnt .f-cnt-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 40px;
	padding-bottom: 40px;
}
footer .f-cnt .f-cnt-flex > dl {
	background: #fff;
	max-width: 580px;
	width: 100%;
	padding: 40px;
}
footer .f-cnt .f-cnt-flex > dl dt {
	font-size: 18px;
	text-align: center;
	max-width: 350px;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	padding-bottom: 1em;
	border-bottom: #1C294F 1px solid;
}
footer .f-cnt .f-cnt-flex > dl dd {
	text-align: center;
	padding-top: 25px;
}
@media only screen and (max-width: 767px) {
	footer .f-cnt .f-cnt-flex > dl + dl {
		margin-top: 30px;
	}
	footer .f-cnt .f-cnt-flex > dl {
		width: 100%;
		padding: 20px 30px;
	}
	footer .f-cnt .f-cnt-flex > dl dt {
		font-size: 16px;
	}
}

footer .f-cnt .f-cnt-btn {
	display: inline-block;
	background: #D4442A url(../img/common/ic_arr_cir_r_wh.svg) no-repeat right 1em center;
	border-radius: 38px;
	text-align: center;
	color: #fff;
	line-height: 1;
	padding: 16px;
	width: 280px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
footer .f-cnt .f-cnt-btn::after {
	content: "";
	width: 25px;
	height: 20px;
	display: block;
	background: url(../img/common/ic_mail_wh.svg) no-repeat;
	background-size: cover;
	position: absolute;
	left: 2em;
	margin-top: -10px;
	top: 50%;
}
footer .f-cnt a.tel-link {
	display: inline-block;
	background: url(../img/common/ic_tel_navy.svg) no-repeat;
	background-size: 32px;
	font-size: 36px;
	padding-left: 42px;
	font-weight: bold;
	line-height: 1;
	font-family: "Oswald", sans-serif;
}
@media only screen and (max-width: 767px) {
	footer .f-cnt .f-cnt-btn {
		width: 100%;
	}
	footer .f-cnt a.tel-link {
		font-size: 30px;
		background-size: 30px;
	}
}

/* ---------------------------
フッター内容
----------------------------- */

footer .f-wrap {
	padding: 78px 30px 0;
	display: flex;
	justify-content: space-between;
}

/* ---------------------------
フッター会社情報
----------------------------- */

footer .f-wrap .f-content {
	display: flex;
	justify-content: space-between;
}
@media only screen and (max-width: 767px) {
	footer .f-wrap {
		padding:15px 15px 30px;
		display: block;
		width: 100%;
	}
	footer .f-wrap .f-content {
		width: 100%;
		padding: 0;
		text-align: center;
		display: flex;
		justify-content: center;
		margin-top: 40px;
	}
}

/* ---------------------------
フッター会社情報：詳細
----------------------------- */

footer .f-wrap .f-company {
}
footer .f-wrap .f-company-logo {
}
footer .f-wrap .f-company-data {
	line-height: 2;
	font-size: 14px;
	margin-top: 30px;
}
@media only screen and (max-width: 767px) {
	footer .f-wrap .f-company-data {
		margin-top: 20px;
	}
}

/* ---------------------------
フッター：サイトマップ
----------------------------- */

footer .f-wrap .f-sitemap {
	display: flex;
	gap: 40px;
}
@media only screen and (max-width: 767px) {
	footer .f-wrap .f-sitemap {
		display: block;
		flex-wrap: wrap;
		margin-top: 30px;
	}
}

/* ---------------------------
フッター：サイトマップ：リンク
----------------------------- */

footer .f-wrap .f-sitemap .f-sitemap-item {
	min-width: 170px;
}
footer .f-wrap .f-sitemap .f-sitemap-item > a {
	font-size: 18px;
	color: #1C294F;
	display: block;
	font-weight: 700;
}
footer .f-wrap .f-sitemap .f-sitemap-item > a + a {
	margin-top: 1em;
}
footer .f-wrap .f-sitemap .f-sitemap-item ul {
	margin-top: 10px;
}
footer .f-wrap .f-sitemap .f-sitemap-item ul li + li {
	margin-top: 0.3em;
}
footer .f-wrap .f-sitemap .f-sitemap-item ul li a:hover {
	color: #3f5bb1;
}
footer .f-wrap .f-sitemap .f-sitemap-item ul li a {
	color: #1C294F;
}
@media only screen and (max-width: 767px) {
	footer .f-wrap .f-sitemap .f-sitemap-item {
		width: 100%;
		padding-bottom: 0.5em;
	}
	footer .f-wrap .f-sitemap .f-sitemap-item > a {
		padding: .5em 1em;
	}
	footer .f-wrap .f-sitemap .f-sitemap-item > a + a {
		margin-top: 0;
	}
	footer .f-wrap .f-sitemap .f-sitemap-item ul li {
		border-bottom: 1px solid #ccc;
	}
	footer .f-wrap .f-sitemap .f-sitemap-item ul li {
		padding: .5em 1em;
	}
	footer .f-wrap .f-sitemap .f-sitemap-item ul li:has(a) {
		padding: 0;
	}
	footer .f-wrap .f-sitemap .f-sitemap-item ul li a {
		display: block;
		padding: .5em 1em;
	}
	footer .f-wrap .f-sitemap-linkmain + .f-wrap .f-sitemap-linkmain {
		margin-top: 0;
	}
}

/* ---------------------------
下部リンクとコピーライト
----------------------------- */

footer .f-link {
	padding: 13px 0;
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #1C294F;
	margin-top: 50px;
}
footer .f-link ul {
	display: flex;
	align-items: center;
}
footer .f-link ul li {
	line-height: 1;
}
footer .f-link ul li + li {
	border-left: 1px solid #fff;
}
@media only screen and (max-width: 767px) {
	footer .f-link {
		display: block;
	}
	footer .f-link ul {
		display: block;
	}
	footer .f-link ul li {
		padding: 0;
		border-bottom: 1px solid #fff;
	}
	footer .f-link ul li + li {
		border-left: none;
	}
	footer .f-link ul li a {
		display: block;
		padding: 1em;
	}
}

/* コピーライト
========================================== */

footer .f-link .copyright {
	font-size: 12px;
}
@media only screen and (max-width: 767px) {
	footer .f-link .copyright {
		display: block;
		text-align: center;
		margin-top: 30px;
	}
}

