@charset "UTF-8";

:root {
	--color-navy: #0c2340;
	--color-navy-dark: #002244;
	--color-navy-light: #0a4a7a;
	--color-text: #222;
	--color-background: #fff;
	--color-gray: #f5f5f5;
	--content-width: 1200px;
	--side-padding: 40px;
	--header-height: 100px;
	--color-drawer: #0d3548;
	--font-ja: "Noto Sans JP", sans-serif;
	--font-en: "LINE Seed JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-base: "LINE Seed JP", "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
}

body {
	margin: 0;
	padding-top: var(--header-height);
	color: var(--color-text);
	background: var(--color-background);
	font-family: var(--font-base);
	font-size: 1.6rem;
	line-height: 1.8;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	cursor: pointer;
}

.inner {
	width: min(
		calc(100% - var(--side-padding) * 2),
		var(--content-width)
	);
	margin-inline: auto;
}

.u-pc-only {
	display: block;
}

.u-sp-only {
	display: none;
}

.top-page-shield {
	display: none;
}

/* ヘッダー */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 500;
	width: 100%;
	background: #fff;
}

@media screen and (min-width: 768px) {

	body.is-top-page .site-header::before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		z-index: -1;
		width: min(300px, 26vw);
		height: var(--header-height);
		background: #fff;
		pointer-events: none;
		transform: translateZ(0);
	}

	body.is-top-page.is-menu-open .site-header::before {
		background: color-mix(
			in srgb,
			#fff calc(var(--drawer-header-reveal, 0) * 100%),
			var(--color-drawer)
		);
	}
}

body.is-drawer-animating .site-header,
body.is-drawer-animating .site-header::before,
body.is-drawer-animating .site-header__logo-image,
body.is-drawer-animating .menu-button,
body.is-drawer-animating .menu-button__icon span {
	transition: none;
}

body.is-menu-open .site-header {
	background: color-mix(
		in srgb,
		#fff calc(var(--drawer-header-reveal, 0) * 100%),
		transparent
	);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 502;
	width: min(calc(100% - 80px), 1400px);
	min-height: var(--header-height);
	margin-inline: auto;
}

.site-header__logo {
	position: relative;
	z-index: 501;
}

.site-header__logo a {
	display: block;
	position: relative;
	width: 220px;
	height: 40px;
}

.site-header__logo-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 220px;
	height: 40px;
	object-fit: contain;
	object-position: left center;
}

.site-header__logo-image--drawer {
	opacity: 0;
	pointer-events: none;
}

body.is-menu-open .site-header__logo-image--default {
	opacity: var(--drawer-header-reveal, 0);
}

body.is-menu-open .site-header__logo-image--drawer {
	opacity: calc(1 - var(--drawer-header-reveal, 0));
}

.menu-button {
	position: relative;
	z-index: 501;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-width: 132px;
	min-height: 48px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	background: var(--color-navy);
	transition: opacity 0.2s ease;
}

.menu-button:hover {
	opacity: 0.85;
}

body.is-menu-open .menu-button {
	color: color-mix(
		in srgb,
		#fff calc(var(--drawer-header-reveal, 0) * 100%),
		var(--color-drawer)
	);
	background: color-mix(
		in srgb,
		var(--color-navy) calc(var(--drawer-header-reveal, 0) * 100%),
		#fff
	);
}

.menu-button__label {
	font-family: var(--font-en);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.menu-button__icon {
	position: relative;
	display: block;
	flex-shrink: 0;
	width: 36px;
	height: 12px;
	overflow: visible;
}

.menu-button__icon span {
	position: absolute;
	left: 0;
	display: block;
	width: 36px;
	height: 2px;
	background: #fff;
	transform-origin: center center;
	transition:
		transform 0.3s ease,
		top 0.3s ease;
}

.menu-button__icon span:first-child {
	top: 2px;
}

.menu-button__icon span:last-child {
	top: 8px;
}

body.is-menu-open .menu-button__icon span {
	background: color-mix(
		in srgb,
		#fff calc(var(--drawer-header-reveal, 0) * 100%),
		var(--color-drawer)
	);
}

body.is-drawer-animating .menu-button__icon span {
	transition: none;
}

body.is-menu-open .menu-button__icon span:first-child,
body.is-menu-open .menu-button__icon span:last-child {
	top: 5px;
	width: 36px;
}

body.is-menu-open .menu-button__icon span:first-child {
	transform: rotate(35deg);
}

body.is-menu-open .menu-button__icon span:last-child {
	transform: rotate(-35deg);
}

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

/* フッター */

.site-footer {
	padding: 64px 0 32px;
	color: #fff;
	background: var(--color-navy-dark);
}

.site-footer__inner {
	width: min(calc(100% - 80px), 1400px);
	margin-inline: auto;
}

.site-footer__main {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 48px 80px;
	align-items: start;
}

.footer-nav__columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 48px;
}

.footer-nav__heading {
	margin: 0 0 16px;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.footer-nav__links {
	display: grid;
	gap: 10px;
}

.footer-nav__links a {
	font-size: 1.3rem;
	line-height: 1.6;
	opacity: 0.9;
	transition: opacity 0.2s;
}

.footer-nav__links a:hover {
	opacity: 0.65;
}

.site-footer__info {
	display: grid;
	gap: 20px;
	justify-items: end;
	text-align: right;
}

.site-footer__logo img {
	width: auto;
	height: 44px;
}

.site-footer__address {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.9;
}

.site-footer__address a:hover {
	opacity: 0.7;
}

.site-footer__instagram img {
	width: 28px;
	height: 28px;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__copyright {
	margin: 0;
}

.site-footer__copyright small {
	font-size: 1.2rem;
	letter-spacing: 0.04em;
}

.page-top {
	display: grid;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	place-items: center;
	transition: background 0.2s;
}

.page-top:hover {
	background: rgba(255, 255, 255, 0.1);
}

.page-top span {
	display: block;
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: translateY(2px) rotate(45deg);
}

/* スマートフォン */

@media screen and (max-width: 767px) {

	:root {
		--side-padding: 20px;
		--header-height: 70px;
	}

	.u-pc-only {
		display: none !important;
	}

	.u-sp-only {
		display: block !important;
	}

	.site-header__inner {
		width: calc(100% - 40px);
	}

	.site-header__logo a {
		width: 154px;
		height: 28px;
	}

	.site-header__logo-image {
		width: 154px;
		height: 28px;
	}

	.menu-button {
		min-width: 112px;
		min-height: 44px;
		padding: 10px 18px;
		gap: 10px;
	}

	.menu-button__label {
		font-size: 1.2rem;
	}

	.menu-button__icon {
		width: 30px;
		height: 10px;
	}

	.menu-button__icon span {
		width: 30px;
	}

	.menu-button__icon span:first-child {
		top: 1px;
	}

	.menu-button__icon span:last-child {
		top: 7px;
	}

	body.is-menu-open .menu-button__icon span:first-child,
	body.is-menu-open .menu-button__icon span:last-child {
		top: 4px;
		width: 30px;
	}

	.site-footer {
		padding: 48px 0 24px;
	}

	.site-footer__inner {
		width: calc(100% - 40px);
	}

	.site-footer__main {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-nav__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.site-footer__info {
		justify-items: start;
		text-align: left;
	}

	.site-footer__bottom {
		margin-top: 32px;
	}
}
