@charset "UTF-8";
/* 全ページ共通スタイルシート */

/* Google Material Symbols */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,0,0;48,400,0,0&icon_names=keyboard_arrow_down,link_2');

:root {
	--blue: #191079;
	--lt-blue: #211787;
	--black: #130E3E;
	--yellow: #E6D44E;
	--bg: #F7F7F7;
	--noto: "Noto Sans JP", sans-serif;
	--zen: "Zen Kaku Gothic Antique", sans-serif;
	--ggl-ico: "Material Symbols Outlined";
}

* {
	font-family: var(--noto);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.05em;
	color: var(--black);
}

/* スムーススクロール */
html {
	scroll-behavior: smooth;
}
[tabindex="-1"]:focus {
	outline: none;
}
section[id] {
	scroll-margin-top: 60px;
}
@media (prefers-reduced-motion: reduce) {
	* {
		animation-delay: 0s !important;
		animation-duration: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0s !important;
		scroll-behavior: auto !important;
	}
}

.flex {
	display: flex;
	flex-flow: row;
	justify-content: center;
	align-items: center;
}

body,
header,
footer {
	width: 100%;
	max-width: 1800px;
	min-width: 375px;
	margin: 0 auto;
}
body {
	background: var(--bg);
}
section {
	width: 100%;
	padding: 0 12px;
}
img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
a:focus-visible {
	outline-offset: 3px;
}

@media print, screen and (min-width: 764px) {
	* {
		font-size: 16px;
	}
	.section-wrapper {
		width: 80%;
		margin: 0 auto;
		padding: 0;
	}
}

/* =================================== */
/* ヘッダー */
/* =================================== */
.header {
	position: sticky;
	display: flex;
	justify-content: space-between;
	align-items: center;
	top: 0;
	padding: 8px 12px;
	background-color: #ffffff;
	z-index: 100;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}
.header a:focus-visible,
.header button:focus-visible {
	outline: 4px solid #005a9c;
	outline-offset: 2px;
}
.logo h1 {
	height: 40px;
}
.logo a {
	display: inline-block;
}
.logo a:focus-visible {
	outline: 4px solid #005a9c;
	outline-offset: 2px;
}
.logo img {
	display: block;
	height: 40px;
	width: auto;
}
.hamburger-menu {
	display: block;
	background: transparent;
	border: none;
	cursor: pointer;
	width: 44px;
	height: 44px;
	position: relative;
	z-index: 110;
}
.hamburger-menu__bar {
	display: block;
	position: absolute;
	left: 10px;
	width: 24px;
	height: 2px;
	background-color: #1D5AA9;
	transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
/* 三本線の初期位置 */
.hamburger-menu__bar:nth-child(1) { top: 14px; }
.hamburger-menu__bar:nth-child(2) { top: 28px; }
/* JSで aria-expanded="true" になった時（×変化アニメーション） */
.hamburger-menu[aria-expanded="true"] .hamburger-menu__bar:nth-child(1) {
	top: 21px;
	transform: rotate(45deg);
}
.hamburger-menu[aria-expanded="true"] .hamburger-menu__bar:nth-child(2) {
	top: 21px;
	transform: rotate(-45deg);
}
.navigation {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	height: 100vh;
	background-color: #ffffff;
	padding: 100px 24px 24px;
	transition: right 0.3s ease, visibility 0.3s ease;
	z-index: 105;
	visibility: hidden; 
}
/* メニューが開いた状態 */
.navigation.is-active {
	right: 0;
	visibility: visible;
}
.navigation__list {
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.navigation__link {
	display: block;
	padding: 12px 0;
	font-family: var(--zen);
	font-size: 1.3em;
	font-weight: 500;
	border-bottom: 1px solid #e0e0e0;
	white-space: nowrap;
}

/* ※headerのみ910pxがブレークポイント */
@media print, screen and (min-width: 910px) {
	.header {
		padding: 0;
		transition: all .3s;
	}
	.header .logo {
		margin-left: 32px;
	}
	.hamburger-menu {
		display: none;
	}
	.navigation {
		position: static;
		width: auto;
		height: auto;
		padding: 0;
		background-color: transparent;
		transition: none;
		visibility: visible;
	}
	.navigation__list {
		flex-direction: row;
		gap: 0;
	}
	.navigation__link {
		font-size: 1em;
		padding: 20px 16px;
		border-bottom: none;
		position: relative;
	}
	/* ホバー時 */
	@media (hover: hover) and (pointer: fine) {
		.navigation__link {
			background-image: linear-gradient(var(--black), var(--black));
			background-repeat: no-repeat;
			background-position: 16px calc(50% + .9em);
			background-size: 0 1px;
			transition: all 0.3s;
		}
		.navigation__link:hover {
			background-position: 16px calc(50% + .9em);
			background-size: calc(100% - 32px) 1px;
		}
		.navigation__list-item:last-child {
			transition: all .3s;
		}
		.navigation__list-item:last-child:hover a {
			background: #2B63A8;
		}
	}
	.navigation__list-item:nth-child(5) {
		padding-right: 24px;
	}
	.navigation__list-item:last-child a {
		padding: 20px 40px;
		background: var(--blue);
		color: #fff;
		transition: all .3s;
	}
	/* 【PCのみ】.is-scrolled */
	#header.is-scrolled {
		width: 95%;
		top: 8px;
		padding: 2px;
		border-radius: 34px;
		background: rgba(255, 255, 255, 0.95);
		& .navigation__list-item:last-child {
			margin-right: 1px;
		}
		& .navigation__list-item:last-child a {
			border-radius: 32px;
		}
	}
}

/* =================================== */
/* フッター */
/* =================================== */
footer .footer-contact {
	text-align: center;
	height: 148px;
	background: url('./../img/common/footer-contact.webp') no-repeat;
	background-size: cover;
	align-content: center;
	& a {
		display: inline-block;
		padding: 12px 120px;
		border: 1px solid #fff;
		font-family: var(--zen);
		color: #fff;
		transition: .3s all;
		position: relative;
	}
	& a::after {
		position: absolute;
		content: '\e313';
		width: 1em;
		height: 1em;
		font-family: var(--ggl-ico);
		top: 50%;
		right: 6px;
		transform: rotate(-90deg) translate(50%);
		transition: .3s all;
	}
}
/* ホバーアニメーション */
@media (hover: hover) and (pointer: fine) {
	footer .footer-contact {
		& a:hover {
			background: rgba(255, 255, 255, 0.2);
		}
		& a:hover::after {
			right: 2px;
		}
	}
}
footer .footer-bottom {
	position: relative;
	& > .flex {
		flex-flow: column-reverse;
		align-items: start;
	}
	& small {
		position: absolute;
		bottom: 12px;
		left: 50%;
		transform: translate(-50%);
		font-size: 10px;
		font-weight: 300;
		color: #fff;
		z-index: 2;
	}
}
footer .footer-bottom .footer-company,
footer .footer-bottom .footer-sitelink {
	width: 100%;
	& > div.wrapper {
		width: 80%;
		margin: 0 auto;
		padding: 72px 0;
	}
}
footer .footer-bottom .footer-company {
	background: var(--lt-blue);
	& p,
	& address,
	& a {
		color: #fff;
		font-family: var(--zen);
		line-height: 2;
		white-space: nowrap;
	}
	& > .wrapper {
		flex-flow: column;
		align-items: start;
		gap: 16px;
	}
	& > .wrapper p.title {
		font-weight: 700;
		font-size: 18px;
	}
	& > .wrapper div.flex {
		flex-flow: column;
		justify-content: start;
		align-items: start;
	}
}
footer .footer-bottom .footer-sitelink {
	background: var(--blue);
	position: relative;
	&::after {
		position: absolute;
		content: '';
		width: 100%;
		height: 36px;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		clip-path: polygon(100% 0, 0 0, 100% 100%);
		background: var(--blue);
	}
	& ul {
		flex-flow: column;
		align-items: start;
	}
	& ul li a {
		display: inline-block;
		padding: 6px 0;
		color: #fff;
		font-family: var(--zen);
	}
}

@media print, screen and (min-width: 764px) {
	footer .footer-contact {
		height: 240px;
	}
	footer .footer-bottom {
		& > .flex {
			flex-flow: row;
			align-items: stretch;
		}
	}
	footer .footer-bottom .footer-company,
	footer .footer-bottom .footer-sitelink {
		& > div.wrapper {
			width: 60%;
		}
		& > div.wrapper p.title {
			font-size: 28px;
		}
	}
	footer .footer-bottom .footer-company {
		width: 48%;
		background: var(--blue);
		position: relative; 
		&::after {
			position: absolute;
			content: '';
			width: 60px;
			height: 100%;
			top: 0;
			left: 100%;
			background: var(--blue);
			clip-path: polygon(0 0, 0% 100%, 100% 100%);
			z-index: 1;
		}
	}
	footer .footer-bottom .footer-sitelink {
		width: 52%;
		background: var(--lt-blue);
		&::after {
			content: none;
		}
	}
	footer .footer-bottom small {
		font-size: 12px;
	}
}

/* =================================== */
/* ページ最上部に戻るボタン */
/* =================================== */
.page-top-button {
	position: fixed;
	bottom: 12px;
	right: 12px;
	z-index: 99;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.8);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all .3s;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
	&::after {
		position: absolute;
		content: '\e313';
		top: -8%;
		left: 52%;
		font-family: var(--ggl-ico);
		font-size: 36px;
		color: var(--blue);
		transform: scale(1, -1) translateX(-50%);
	}
	&:focus-visible {
		outline: 3px solid #0073e6;
		border: 3px solid #fff;
		outline-offset: 3px;
	}
	&.is-visible {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}
@media (hover: hover) and (pointer: fine) {
	.page-top-button:hover {
		background: #fff;
	}
}
@media (prefers-reduced-motion: reduce) {
	.page-top-button {
		transition: none !important;
	}
}


/* =================================== */
/* 下層ページ共通 */
/* =================================== */
/* パンくずリスト */
div.breadcrumb {
	padding: 8px 12px;
	& ul {
		justify-content: start;
		gap: 28px;
	}
	& ul li {
		position: relative;
	}
	& ul li:not(:last-child)::after {
		position: absolute;
		content: '\e313';
		width: 1em;
		height: 1em;
		font-family: var(--ggl-ico);
		top: 50%;
		left: calc(100% + 4px);
		transform: rotate(-90deg) translate(50%);
	}
	& ul li a {
		color: var(--blue);
	}
}
/* メインビュー */
div.main-view {
	width: 100%;
	height: 100px;
	margin-bottom: 28px;
	position: relative;
	& h1,
	& span {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		font-family: var(--zen);
		color: #fff;
		text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
		z-index: 2;
	}
	& h1 {
		top: 25%;
		font-size: 18px;
		font-weight: 700;
	}
	& span {
		top: 53%;
		font-size: 12px;
	}
	& .img-wrapper {
		width: 100%;
		height: 100%;
		position: relative;
		z-index: 0;
	}
	& .img-wrapper img {
		object-fit: cover;
	}
	& .img-wrapper::before,
	& .img-wrapper::after {
		position: absolute;
		content: '';
		width: 24px;
		height: 100%;
		top: 0;
		mix-blend-mode: multiply;
		opacity: .4;
	}
	& .img-wrapper::before {
		left: 0;
		background: linear-gradient(90deg,rgba(25, 16, 121, 1) 0%, rgba(25, 16, 121, 0) 100%);
	}
	& .img-wrapper::after {
		right: 0;
		background: linear-gradient(-90deg,rgba(25, 16, 121, 1) 0%, rgba(25, 16, 121, 0) 100%);
	}
}
@media print, screen and (min-width: 764px) {
	div.breadcrumb, 
	div.main-view {
		width: 90%;
		margin: 0 auto;
	}
	div.main-view {
		height: 200px;
		margin-bottom: 52px;
		& h1 {
			top: 30%;
			font-size: 32px;
		}
		& span {
			top: 56%;
			font-size: 1em;
		}
		& .img-wrapper::before,
		& .img-wrapper::after {
			width: 120px;
		}
	}
}

/* =================================== */
/* モーダルウィンドウ */
/* =================================== */
body.is-modal-open {
	overflow: hidden;
}
div#modal {
	display: none;
	position: fixed;
	align-content: center;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	&:focus {
		outline: none;
	}
}
div#modal .modal-wrapper {
	width: 90%;
	max-width: 600px;
	margin: 0 auto;
	position: relative;
	& button.close {
		position: absolute;
		bottom: 100%;
		right: 0;
		color: #f1f1f1;
		font-size: 40px;
		font-weight: bold;
		cursor: pointer;
		background: transparent;
		border: none;
		padding: 8px;
	}
	& button.close:focus-visible {
		outline: 3px solid #0073e6;
		outline-offset: 2px;
	}
	& img.modal-content {
		border-radius: 2px;
	}
}
.js-modal-open {
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	display: block;
	width: 100%;
	&:focus-visible {
		outline: 3px solid #0073e6;
		outline-offset: 4px;
	}
}