/* ---------------------------------------------------------------------- */
/* 汎用 */
/* ---------------------------------------------------------------------- */

/* 共通変数 */
:root {
	/* カラー */
	--bk: #333;
	--bl: #02038b;
	--bl-lt: #a0aeda;
	--gd: #a7971b;
	--gr: #008e2f;
	--gy: #efefef;
	--gy-dk: #a5a5a5;
	--gy-ln: #ccc;
	--pk: #fddcdc;
	--pp: #5f60d6;
	--rd: #a3193c;
	--sd: rgba(0, 0, 0, 0.25);
	--wh: #fff;

	/* 影 */
	--sh-l: 0 0 20px 0 var(--sd);
	--sh-s: 0 0 10px 0 var(--sd);

	/* 角丸 */
	--r-lg: 16px;
	--r-md: 8px;
	--r-pill: 32px;
	--r-sm: 6px;

	/* レイアウト */
	--content-w: 960px;
	--header-h: 69px;
	--header-h-pc: 150px;

	/* 行間 */
	--lh: 210%;
	--lh-s: 160%;

	/* トランジション */
	--tr: .3s;
}

/* 全体 */
body {
	color: var(--bk);
	font-family: "A P-OTF UD Shin Go Pr6N", "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: inherit;
}

/* テキスト太さ */
.w600 {
	font-weight: 600;
}

.w700 {
	font-weight: 700;
}

/* ---------------------------------------------------------------------- */
/* ヘッダ */
/* ---------------------------------------------------------------------- */

/* ヘッダ全体 */
header {
	align-items: center;
	background-color: var(--bl);
	height: var(--header-h);
	justify-content: space-between;
	padding: 13px 15px;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
}

/* サイトタイトル */
.site-title img {
	height: auto;
	width: 124px;
}

@media (min-width: 769px) { /* PC用記述 */

	/* ヘッダ全体 */
	header {
		height: var(--header-h-pc);
		padding: 0 60px;
	}

	/* サイトタイトル */
	.site-title img {
		width: 270px;
	}
	.site-title a {
		opacity: 1;
		transition: var(--tr);
	}
	.site-title a:hover {
		opacity: 0.7;
		transition: var(--tr);
	}

}

/* ---------------------------------------------------------------------- */
/* ナビゲーション */
/* ---------------------------------------------------------------------- */

/* ハンバーガー */
.h-button {
	cursor: pointer;
	height: 20px;
	position: fixed;
	right: 15px;
	top: calc( var(--header-h) / 2 );
	transform: translateY(-50%);
	width: 30px;
	z-index: 100;
}

.h-line {
	background-color: var(--wh);
	border-radius: 2px;
	display: block;
	height: 2px;
	position: absolute;
	transition: var(--tr);
	width: 30px;
}

.h-line:nth-child(1) {
	top: 0;
	transform: translate(0, 0);
}

.h-line:nth-child(2) {
	top: 50%;
	transform: translate(0, -50%);
}

.h-line:nth-child(3) {
	bottom: 0;
	transform: translate(0, 0);
}

/* ハンバーガー動作 */
.is-active .h-line:nth-child(1) {
	background-color: var(--bl);
	top: 50%;
	transform: translate(0, -50%) rotate(45deg);
	transition: var(--tr);
}

.is-active .h-line:nth-child(2) {
	opacity: 0;
	transition: var(--tr);
}

.is-active .h-line:nth-child(3) {
	background-color: var(--bl);
	bottom: 50%;
	transform: translate(0, 50%) rotate(-45deg);
	transition: var(--tr);
}

/* ナビゲーション */
.gnav {
	background-color: var(--wh);
	flex-direction: column-reverse;
	height: 100svh;
	overflow-x: hidden;
	position: fixed;
	right: 0;
	top: 0;
	transition: var(--tr);
	width: 0;
	z-index: 99;
}

.gnav h3 {
	background-color: var(--bl);
	color: var(--wh);
	font-size: 20px;
	line-height: var(--lh);
	padding: 33px 55px;
}

.gnav ul {
	margin: auto;
}

.gnav ul li.pc-only-nav {
	display: none;
}

body.is-nav-open {
	overflow: hidden;
}

/* ナビゲーション動作 */
.gnav.is-active {
	box-shadow: 0 4px 4px 0 var(--sd);
	transition: var(--tr);
	width: 80vw;
}

@media (min-width: 769px) { /* PC用記述 */

	/* PC版ハンバーガーメニューは削除 */
	.h-button {
		display: none;
	}

	/* ナビゲーション */
	.gnav {
		background-color: transparent;
		display: flex;
		flex-direction: row;
		height: auto;
		overflow:hidden;
		position: static;
		width: 100%;
	}

	.gnav h3 {
		display: none;
	}

	.gnav .main-nav {
		display: flex;
		gap: 30px;
		justify-content: flex-end;
		margin-right: 0;
	}

	.gnav .main-nav li img {
		display: none;
	}

	.gnav .main-nav li span.sr, .gnav ul li.pc-only-nav {
		align-items: center;
		clip-path: inherit;
		color: var(--wh);
		display: flex;
		font-size: 14px;
		font-weight: 500;
		height: auto;
		justify-content: center;
		line-height: var(--lh);
		overflow: visible;
		position: static;
		width: auto;
	}
	.gnav ul li.pc-only-nav {
		display: block;
	}

}

@media (min-width: 1001px) { /* PC用記述 */

	/* ナビゲーション */
	.gnav .main-nav li span.sr, .gnav ul li.pc-only-nav {
		font-size: 16px;
	}

}

@media (min-width: 1201px) { /* PC用記述 */

	/* ナビゲーション */
	.gnav .main-nav li span.sr, .gnav ul li.pc-only-nav {
		font-size: 18px;
	}

}

/* ---------------------------------------------------------------------- */
/* メイン */
/* ---------------------------------------------------------------------- */

/* ベース */
main {
	margin-top: var(--header-h);
}

.main {
	container-name: main;
	container-type: inline-size;
}

/* ボタン */
.bl-button {
	align-items: center;
	border: 2px solid var(--bl);
	background-color: var(--bl);
	border-radius: var(--r-pill);
	color: var(--wh);
	display: flex;
	font-size: 16px;
	font-weight: 500;
	height: 48px;
	justify-content: center;
	transition: var(--tr);
	margin: auto;
	max-width: 320px;
	padding: 5px 20px;
}

.bl-button:hover {
	background-color: var(--wh);
	border:2px solid var(--bl);
	box-sizing: border-box;
	color: var(--bl);
	transition: var(--tr);
}

@media (min-width: 769px) {

	/* ベース */
	main {
		margin-top: var(--header-h-pc);
	}

}

@container (min-width: 769px) {

	/* ボタン */
	.bl-button {
		font-size: 18px;
		height: 52px;
		max-width: 420px;
	}

}

/* ---------------------------------------------------------------------- */
/* フッタ */
/* ---------------------------------------------------------------------- */

/* フッタ全体 */
footer {
	background-color: var(--bl);
	color: var(--wh);
	padding: 57px 20px 115px 20px;
	width: 100%;
}

/* フッタコンテンツ */
.f-site-title {
	margin-bottom: 18px;
	display: none; /* ご要望によりフッター部のタイトルを非表示 */
}

.footer-content {
	margin-bottom: 20px;
}

.footer-content h2 {
	font-size: 18px;
	line-height: 180%;
	margin-bottom: 21px;
}

.footer-content h2 img {
	height: auto;
	max-width: 180px;
	width: 100%;
}

.footer-content address,
.footer-content .tel,
.footer-content .fax {
	line-height: 150%;
}

.f-map {
	margin: 10px 0 7px 0;
}

.f-map a {
	align-items: center;
	border: 2px solid var(--wh);
	border-radius: 25px;
	gap: 7px;
	height: 44px;
	justify-content: center;
	width: 150px;
}

/* フッタナビ */
.f-nav ul {
	gap: 5px;
}

.f-nav ul li {
	font-size: 18px;
	line-height: var(--lh);
}

.f-nav ul li a.flex {
	align-items: center;
	gap: 20px;
}

.f-nav ul li a.flex .icon {
	align-items: center;
}

.f-nav ul li a.flex .icon img {
	height: 18px;
	width: 18px;
}

@media (min-width: 769px) { /* PC用記述 */

	/* フッタ全体 */
	footer {
		display: flex;
		gap: 50px;
		justify-content: center;
		padding: 139px 5vw 249px 5vw;
	}

	/* フッタコンテンツ */
	.f-site-title {
		margin-bottom: 0;
	}

	.f-site-title img {
		height: auto;
		max-width: 269px;
		width: 100%;
	}

	.footer-content h2 {
		font-size: 28px;
		margin-bottom: 62px;
	}

	.footer-content address,
	.footer-content .tel,
	.footer-content .fax {
		font-size: 20px;
	}

	/* フッタナビ */
	.f-nav ul {
		padding-top: 100px;
	}

}