@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Staatliches&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* =================================== */
/* root設定 */
/* =================================== */
:root {
	--main: #00608D;
	--moji: #013852;
	--line: #C8C8C8;
	--white: #ffffff;
	--btn: linear-gradient(0.25turn, rgba(194, 123, 37, 1), rgba(214, 177, 58, 1));
	--zen: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	--noto: "Noto Sans JP", sans-serif;
	--sta: "Staatliches", sans-serif;
}

/* =================================== */
/* 共通CSS */
/* =================================== */

.flex {
	display: flex;
	align-items: center;
	justify-items: center;
}
.sp-only {
	display: inherit;
}
.pc-only {
	display: none;
}
.disable {
	display: none;
}
.fade {
	opacity: 0;
	transition: all 2s;
	transform: translateY(20%);
}
.material-symbols-outlined {
	font-variation-settings:
	'FILL' 0,
	'wght' 200,
	'GRAD' 0,
	'opsz' 24
}
p.title {
	font-family: var(--zen);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}
p.text {
	font-family: var(--zen);
	font-size: 14px;
	line-height: 2;
}
img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

@media screen and (min-width: 801px) {
	.pc-only {
		display: inherit;
	}
	.sp-only {
		display: none;
	}
	p.title {
		font-size: 24px;
	}
	p.text {
		font-size: 16px;
	}
}

/* =================================== */
/* header */
/* =================================== */

.header {
	z-index: 100000001;
	position: sticky;
	top: 16px;
}

.logo {
	padding-left: 14px;
}

.logo a {
	width: 100px;
	height: 50px;

}

.header-wrapper {
	height: 66px;
	width: 95%;
	border-radius: 50px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	z-index: 1001;
}

.header .hamburger-menu {
	width: 50px;
	height: 50px;
	border: none;
	background: transparent;
	appearance: none;
	padding: 0;
	cursor: pointer;
}

.hamburger-menu__bar-wrapper {
	position: relative;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--main);
}

.hamburger-menu__bar {
	display: inline-block;
	width: 44%;
	height: 1.5px;
	background: var(--white);
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	transition: .25s;
}

.hamburger-menu__bar:first-child {
	top: 12px;
}

.hamburger-menu__bar:nth-child(2) {
	top: 19px;
}

.hamburger-menu__bar:last-child {
	top: 26px;
}

.hamburger-menu--open .hamburger-menu__bar {
	top: 50%;
}

.hamburger-menu--open .hamburger-menu__bar:first-child {
	transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.hamburger-menu--open .hamburger-menu__bar:last-child {
	transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
	display: none;
}

.navigation {
	background: #012738;
	position: fixed;
	top: -100%;
	right: 50%;
	width: 100%;
	height: 100%;
	z-index: 1000;
	transition: all .3s linear;
	opacity: 0;
	transform: translateX(50%);
}

.navigation__list {
	width: 90%;
	margin: 0 auto;
	margin-top: 100px;
	display: flex;
	flex-flow: column;
}

.navigation__list-item {
	border-bottom: solid 1px #9FABBA;
	display: flex;
	height: auto;
	width: 100%;
}

.navigation__list-item a {
	width: 100%;
}

.navigation__link {
	font-weight: 700;
	text-decoration: none;
	display: flex;
	height: 10vh;
	transition: .5s;
	color: #fff;
	align-items: center;
}

.navigation__list-item:last-child {
	border-bottom: none;
	border-radius: 40px;
	background: var(--btn);
	color: var(--white);
	margin-top: 48px;
	justify-items: center;
	& a {
		width: 100%;
		justify-content: center;
	}
	& .wrapper {
		gap: 4px;
	}
}
.navigation__list-item:last-child a {
	position: relative;
}
.navigation.header--open {
	top: 0;
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
.navigation__list-item:not(:last-child):hover {
	transition: all 0.5s;
	background: #13506b;
}
}

@media screen and (min-width: 801px) {
.header {
	height: 100px;
	top: 28px;
}
.logo {
	padding-left: 18px;
}
.logo a {
	width: inherit;
	height: inherit;
}
.logo h1 {
	width: inherit;
	height: inherit;
}
.logo img {
	height: 52px;
	margin-left: 18px;
}
.header-wrapper {
	height: 100%;
	box-shadow: 0 4px 13.5px 0 rgba(0, 0, 0, 0.25);
}
.header .hamburger-menu {
	pointer-events: none;
	display: none;
}
.hamburger-menu__bar {
	display: none;
}
.hamburger-menu__bar-wrapper {
	display: none;
}
.navigation {
	display: flex;
	width: auto;
	max-width: 2400px;
	top: 28px;
	right: 5%;
	height: inherit;
	background: inherit;
	z-index: 1002;
	opacity: 1;
	transform: inherit;
}
.navigation.header--open {
	top: inherit;
}
.navigation__list {
	display: flex;
	flex-flow: row;
	justify-content: end;
	align-items: center;
	width: auto;
	height: 100%;
	margin-top: 0;
}
.navigation__list-item {
	width: 100px;
	height: 100%;
	border-bottom: none;
}
.navigation__list-item:last-child {
	margin-top: 0;
	width: 200px;
	height: 64px;
	color: var(--white);
	margin-left: 12px;
}
.navigation__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--moji);
}
.navigation__list-item:last-child .navigation__link {
	color: var(--white);
}
.navigation__list-item:not(:last-child):hover {
	background: #f5f5f5;
}
}



/* =================================== */
/* body設定 */
/* =================================== */

body {
	font-family: var(--zen);
	line-height: 1;
	letter-spacing: 0.12em;
	font-size: 16px;
	overflow-wrap: break-word;
	font-weight: 500;
	background-color: #F5F5F5;
	min-width: 375px;
	color: var(--moji);
	max-width: 2400px;
	margin: 0 auto;
}


/* =================================== */
/* main設定 */
/* =================================== */

main {
	margin: 0 auto;
}


/* =================================== */
/* section設定 */
/* =================================== */

section {
	margin: 0 auto;
}

.section-wrapper {
	width: 90%;
	margin: 0 auto;
}

@media screen and (min-width: 801px) {
	.section-wrapper {
		width: 70%;
	}
}



/* =================================== */
/* footer */
/* =================================== */

.footer-wrapper:first-child {
	background: var(--main);
	color: var(--white);
	height: 200px;
}

.footer-top {
	height: 200px;
	color: var(--white);
	background-color: var(--main);
	mix-blend-mode: multiply;
	position: relative;
}
.footer-top::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	transition-duration: 0.3s;
	background-image: url("../img/common/footer-top.jpg");
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: 50% 35%;
	opacity: 0;
}
.footer-top:hover::after {
	opacity: 0.4;
}

.footer-top-wrapper {
	width: 90%;
	margin: 0 auto;
	justify-content: space-between;
	z-index: 2;
}

.footer-top .kuwashiku span {
	border: 1px solid var(--white);
	color: var(--white);
}

.footer-bottom {
	background: #012738;
	color: var(--white);
}

.footer-bottom-wrapper {
	width: 90%;
	margin: 0 auto;
	flex-flow: column;
}

.footer-bottom-wrapper > div {
	width: 100%;
}

.footer-bottom-wrapper {
	& img {
		width: 100%;
		height: 160px;
		margin-top: 40px;
		margin-bottom: 32px;
	}
	& > .flex {
		flex-flow: column;
	}
	& ul {
		width: 100%;
		flex-wrap: wrap;
		gap: 30px 0;
		margin-bottom: 32px;
	}
	& ul li {
		width: 50%;
	}
	& address {
		margin: 32px 0;
	}
	& small {
		font-size: 12px;
		color: #B2C6D6;
		margin-bottom: 16px;
	}
	& > div:last-of-type {
		border-top: 1px solid var(--line);
	}
}

@media screen and (min-width: 801px) {
.footer-top {
	height: 240px;
}
.footer-top-wrapper {
	width: 70%;
	justify-content: start;
	gap: 36px;
	& .kuwashiku span {
		width: 80px;
		height: 80px;
		font-size: 36px;
	}
}
.footer-bottom-wrapper {
	width: 70%;
	& img {
		width: 240px;
		height: 92px;
	}
	& > .flex {
		flex-flow: row;
		justify-content: space-between;
	}
	& ul {
		width: auto;
		gap: 20px 80px;
		margin-left: 20px;
	}
	& ul li {
		width: auto;
	}
	& ul li:hover {
		text-decoration: underline;
	}
	& > div:last-of-type {
		border-top: none;
	}
}
}


/* =================================== */
/* その他共通パーツ */
/* =================================== */

.midashi {
	flex-flow: column;
	align-items: start;
	gap: 8px 0;
	position: relative;
	z-index: 1;
	& img {
		width: 16px;
		height: auto;
		z-index: 1;
	}
	& p {
		font-family: var(--sta);
		font-size: 14px;
		color: var(--main);
		margin-left: 8px;
		margin-top: 1px;
	}
	& h2 {
		color: var(--moji);
		font-size: 24px;
		font-weight: 500;
	}
}

.midashi.white {
	& img {
		filter: brightness(0) invert(1);
	}
	& p {
		color: var(--white);
	}
	& h2 {
		color: var(--white);
		font-weight: 500;
		line-height: 1.5;
	}
}

.kuwashiku {
	& p {
		font-family: var(--noto);
		font-size: 14px;
		font-weight: 500;
	}
	& span {
		margin-left: 8px;
		color: #4278C5;
		justify-content: center;
		width: 50px;
		height: 50px;
		border-radius: 50%;
		border: 1px solid #3C88BB;
	}
}

.breadcrumb {
	margin-top: 28px;
	margin-bottom: 20px;
	& ul {
		gap: 8px;
	}
	& ul li:not(:last-child)::after {
		position: absolute;
		content: "/";
	}
	& ul li a {
		display: inline-block;
		position: relative;
		padding-right: 15px;
	}
	& ul li:not(:first-child) a {
		padding: 0 15px;
	}
	& ul li:not(:last-child) a:hover {
		text-decoration: underline;
	}
}

.page-top {
	margin: 0 auto;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
	& .page-top-wrapper {
		width: 90%;
		margin: 0 auto;
	}
}

@media screen and (min-width: 801px) {
.page-top {
	margin-bottom: 60px;
	padding-top: 40px;
	padding-bottom: 28px;
	& .page-top-wrapper {
		width: 70%;
	}
	& .page-top-wrapper .midashi h2 {
		font-size: 40px;
	}
}
.midashi.white {
	& h2 {
		font-size: 32px;
		line-height: 1.5;
	}
}
.kuwashiku {
	font-size: 16px;
}
}


