.g-header {
	background: var(--g-color-white);
	border-bottom: 1px solid transparent;
}

.g-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	width: 90%;
	margin-inline: auto;
	padding-block: 0.75rem;
}

.g-header__brand {
	margin: 0;
	justify-self: start;
}

.g-header__logo {
	display: inline-flex;
	text-decoration: none;
}

.g-header__logo-img {
	display: block;
	width: auto;
	height: auto;
}

.g-header__nav {
	justify-self: center;
}

.g-header__menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-header__menu a {
	font-family: var(--g-font-latin);
	font-size: 1.1rem;
	font-optical-sizing: auto;
	letter-spacing: 0.08em;
	text-decoration: none;
}

.g-header__cta {
	justify-self: end;
}

.g-button--trial-reservation {
	gap: 0.65rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--g-color-red);
	font-family: var(--g-font-mincho);
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 43.44px;
	letter-spacing: 0.1em;
	text-align: center;
	vertical-align: middle;
	transition: transform 0.25s ease;
}

.g-button--trial-reservation:hover {
	transform: translateX(0.35rem);
}

.g-button--trial-reservation .g-button__arrow {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.5rem;
	border-radius: 50%;
	background: var(--g-color-red);
	color: var(--g-color-white);
	font-size: 0.9rem;
	line-height: 1;
}

.g-button__text--sp {
	display: none;
}

.g-header__toggle {
	display: none;
	border: 1px solid var(--g-color-border);
	background: transparent;
	padding: 0.5rem 0.75rem;
	cursor: pointer;
}

@media (max-width: 899px) {
	.g-header__inner {
		grid-template-columns: 1fr auto;
	}

	.g-header__toggle {
		display: inline-flex;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}

	.g-header__cta {
		position: fixed;
		right: 1rem;
		bottom: 1.25rem;
		z-index: 300;
		justify-self: auto;
	}

	.g-button--trial-reservation {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.25rem;
		width: 6.75rem;
		height: 6.75rem;
		padding: 0.65rem;
		border-radius: 50%;
		background: #941618;
		box-shadow: 0 8px 22px rgba(148, 22, 24, 0.35);
		color: #ffffff;
		font-size: 0.95rem;
		font-weight: 600;
		line-height: 1.2;
		letter-spacing: 0.04em;
		text-align: center;
	}

	.g-button--trial-reservation:hover {
		transform: translateY(-0.15rem);
	}

	.g-button--trial-reservation .g-button__text--pc {
		display: none;
	}

	.g-button--trial-reservation .g-button__text--sp {
		display: block;
		color: #ffffff;
		font-size: 0.95rem;
		line-height: 1.2;
		letter-spacing: 0.04em;
		white-space: nowrap;
	}

	.g-button--trial-reservation .g-button__arrow {
		display: block;
		width: auto;
		height: auto;
		padding: 0;
		border-radius: 0;
		background: transparent;
		color: #ffffff;
		font-size: 1.15rem;
		line-height: 1;
	}

	.g-header__nav {
		display: none;
		grid-column: 1 / -1;
		justify-self: stretch;
	}

	.g-header__nav.is-open {
		display: block;
	}

	.g-header__menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.85rem;
		padding-block: 0.75rem 0.25rem;
	}
}

@media (max-width: 599px) {
	.g-header__logo-img {
		height: auto;
	}

	.g-header__cta {
		right: 0.85rem;
		bottom: 1rem;
	}
}
