.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8); /* 半透明の黒 */
	z-index: 7777; /* メニュー本体（z-index:8888）の一つ下 */
	opacity: 0;
	pointer-events: none;
	transition: 0.3s;
}

/* メニューが開いているときだけ表示 */
body.menu-open .menu-overlay {
	opacity: 1;
}

.full-screen-menu {
	width: 96%;
	height: 96vh;
	min-height: 680px;
	background-color: var(--main);
	color: #fff;
	padding: 40px 28px;
	border-radius: 12px;
	top: 2%;
	left: 2%;
	margin: auto;
	z-index: 8888;
	position: fixed;
	opacity: 0;
	pointer-events: none;
	transition: 0.3s;
	overflow-y: auto; /* メニューが長ければスクロール可 */
}

body.menu-open .full-screen-menu {
	pointer-events: auto;
	opacity: 1;
}

/* ヘッダーグローバルナビ------------------------------------------ */
.header {
	position: relative;
	width: 100%;
	height: auto;
}

.header__bar {
	height: 80px;
}

.site-rogo {
	width: auto;
	height: 80px;
	margin-inline-start: 8px;
}

.header__rogo a {
	color: var(--dark);
}
.menu-button {
	display: block;
	width: 70px;
	height: 100px;
	background-color: var(--dark);
	position: fixed;
	top: 0;
	right: 10px;
	z-index: 9999;
}
.menu-button span {
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50%;
	height: 1px;
	background-color: #fff;
	transition: 0.3s ease-in-out;
}
.menu-button span:nth-child(1) {
	top: 40%;
}
.menu-button span:nth-child(2) {
	top: 50%;
}
.menu-button span:nth-child(3) {
	top: 60%;
}
body.menu-open .menu-button span:nth-child(1) {
	top: 50%;
	opacity: 0;
}
body.menu-open .menu-button span:nth-child(2) {
	top: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
}
body.menu-open .menu-button span:nth-child(3) {
	top: 50%;
	opacity: 0;
}

.full-screen-menu a {
	color: #fff;
	text-decoration: none;
}

.gnav__title {
	font-size: 1.1em;
	font-weight: 500;
	border-bottom: 1px solid var(--silver);
	padding-bottom: 8px;
	margin-bottom: 8px;
	display: block;
	line-height: 1.6;
}
.gnav__title::before {
	content: attr(data-title);
	font-size: 1.5em;
	font-family: var(--en-font);
	display: block;
	line-height: 1;
	text-transform: uppercase;
}

.header-nav__wrapper {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.header-nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
.header__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
}
.header__footer-info {
	width: 100%;
}
.header__footer-rogo {
	width: 98%;
	aspect-ratio: 37 / 7;
}
.header__footer-address {
	border-top: 1px solid;
	padding-top: 8px;
	margin-top: 8px;
	width: 100%;
	line-height: 1.6;
}
.header__footer-img video {
	width: 100%;
	height: 100%;
	max-width: 250px;
	aspect-ratio: 11 / 16;
	object-fit: cover;
	border-radius: 500px 500px 0 0;
}
@media screen and (min-width: 700px) {
	.header-nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 40px 24px;
	}
}
@media screen and (min-width: 980px) {
	.header-nav__wrapper {
		display: flex;
		flex-direction: row;
		align-items: center;
		height: 100%;
	}
	.header-nav {
		flex: 1 1 auto;
		display: grid;
		gap: 60px 20px;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: auto auto;
		align-content: center;
	}
	.header__footer {
		flex: 1 1 25%;
		max-width: 370px;
		height: auto;
		display: flex;
		gap: 20px;
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}
	.header__footer-img {
		flex: 0 0 auto;
		width: 100%;
		height: auto;
		border-radius: 500px 500px 0 0;
	}
	.header__footer-img video {
		max-width: none;
	}
}

/* ----------フッター---------- */
.footer {
	position: relative;
}
.footer-officials {
	width: auto;
	background-color: #fff;
	padding: 40px 18px;
}
.footer-officials__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.footer-officials__list li {
	flex: 1;
}
.footer-officials__anker {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100px;
	background-color: var(--main);
	color: #fff;
	text-decoration: none;
	padding: 0 24px;
	position: relative;
}
.footer-officials__anker::after {
	content: '\f138';
	font-weight: 900;
	font-family: var(--awesome);
	position: absolute;
	top: 50%;
	right: 24px;
	transform: translateY(-50%);
}
.footer-officials__anker span {
	display: block;
	font-size: 0.8em;
}
@media screen and (min-width: 900px) {
	.footer-officials {
		padding: 80px;
		margin-left: calc(50% - 50vw + 8px);
		margin-right: calc(50% - 50vw + 8px);
	}
	.footer-officials__list {
		flex-direction: row;
		gap: 40px;
	}
	.footer-officials__anker {
		height: 160px;
	}
}

.footer__wrapper {
	background-color: var(--main);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 40px 20px;
	margin-top: 150px;
}
.footer__wrapper a {
	color: #fff;
	text-decoration: none;
}
.footer__nav-wrapper {
}
.footer-nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}
.header-nav .menu-item,
.footer-nav .menu-item {
	font-size: 1.4rem;
	line-height: 1.8;
	line-height: clamp(1.8, calc(1.8 + 1vh / 100), 2);
}
.header-nav .menu-item a,
.footer-nav .menu-item a {
	text-decoration: none;
}
.header-nav .menu-item a:hover,
.footer-nav .menu-item a:hover {
	color: var(--yellow);
}
.header-nav .menu-item a::before,
.footer-nav .menu-item a::before {
	content: '\f0da';
	font-family: var(--awesome);
	font-weight: 900;
	margin-right: 0.3em;
	display: inline-block;
}
.footer-info {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.footer-info__rogo {
	width: 100%;
	height: auto;
	aspect-ratio: 37 / 7;
}
.footer-info__address {
	line-height: 2;
}
.footer-info__nav {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media screen and (min-width: 600px) {
	.footer-nav {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		grid-template-rows: 1fr;
		gap: 40px 20px;
		color: #fff;
	}
}

@media screen and (min-width: 900px) {
	.footer__wrapper {
		display: grid;
		grid-template-columns: minmax(300px, auto) 1fr;
		padding: 80px;
		margin-top: 150px;
	}
	.footer__nav-wrapper {
		grid-column: 2 / 3;
		grid-row: 1 / 2;
		gap: 40px;
		container-type: inline-size;
	}
	.footer-info {
		grid-column: 1 / 2;
		grid-row: 1 / 2;
		border-right: 1px solid #fff;
		padding-right: 40px;
		text-align: left;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
	.footer-info__nav {
		align-items: flex-start;
	}
	.footer__item--baner {
		width: 100%;
	}
	.footer__item--baner img {
		width: 250px;
		max-width: 100%;
	}
}

.back-to-top {
	position: absolute;
	top: -80px;
	right: 20px;
	width: 100px;
	height: 80px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	color: white;
	text-decoration: none;
	font-weight: bold;
	z-index: 99;
}

.footer__copy {
	display: block;
	padding: 8px;
	color: #fff;
	background-color: var(--dark);
}

.midway-nav__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}
.midway-nav__list > li {
	width: auto;
}
.midway-nav__list > li a {
	background: var(--main);
	color: #fff;
	text-decoration: none;
	font-size: 1.5rem;
	line-height: 1.4;
	padding: 5%;
	width: 100%;
	height: 100%;
	display: block;
	transition: 0.3s;
}
.midway-nav__list > li a:hover {
	opacity: 0.8;
}
.midway-nav__list > li a::before {
	content: attr(data-en);
	display: block;
	font-family: var(--en-font);
	text-transform: uppercase;
	font-size: 2.4rem;
}
.midway-nav__list > li a::after {
	content: '\f138';
	font-family: var(--awesome);
	font-weight: 900;
	display: inline-block;
	margin-left: 0.3em;
}
