/* ====================================================================================
.l-main
==================================================================================== */
.l-main {
	@media screen and (max-width: 1024px) {
		margin-top: 60px;
	}

	@media screen and (min-width: 1025px) {
		margin-top: 112px;
	}
}

/* ====================================================================================
.l-headr
==================================================================================== */
.l-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	background: linear-gradient(to right, #013329, #004f3a);
	display: flex;
	justify-content: space-between;
	z-index: 100;

	@media screen and (max-width: 1024px) {
		position: fixed;
		inset: 0;
		height: 60px;
		filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
	}

	@media screen and (min-width: 1025px) {
		border-top: 42px solid var(--wp--preset--color--secondary);
		padding-left: 36px;
		transition: border-width 0.35s ease;

		&.is-scrolled {
			border-width: 0;
			filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));

			& .__logo-img img {
				top: 9px;
				width: 40px;
			}
		}
	}

	& .__logo {
		@media screen and (max-width: 1024px) {
			display: flex;
			align-items: center;
			gap: 15px;
			padding-left: 16px;
		}
	}

	& .__logo-img a {
		display: block;

		@media screen and (max-width: 1024px) {
			display: flex;
		}
	}

	& .__logo-img img {
		transition: 0.25s;
		vertical-align: bottom;

		@media screen and (max-width: 1024px) {
			width: 28px;
		}

		@media screen and (min-width: 1025px) {
			width: 70px;
			position: absolute;
			top: -33px;

			&:hover {
				transform: scale(110%);
			}
		}
	}

	& .__logo-txt {
		display: flex;

		@media screen and (max-width: 1024px) {
			width: 120px;
		}

		@media screen and (min-width: 1025px) {
			position: absolute;
			top: -30px;
			left: 130px;
			width: 130px;
		}
	}

	& .__logo-txt img {
		width: 100%;
	}

	& .__logo-txt-green {
		@media screen and (max-width: 1024px) {
			display: none;
		}
	}

	& .__logo-txt-yellow {
		@media screen and (min-width: 1025px) {
			display: none;
		}
	}

	& .__menu-btn {
		--size: 60px;
		--thickness: 2px;
		--gap: 7px;
		position: relative;
		margin: 0;
		padding: 0;
		border: none;
		background: transparent;
		color: inherit;
		font: inherit;
		line-height: 1;
		cursor: pointer;

		width: var(--size);
		height: var(--size);
		padding: 15px;
		background: none;
		border: none;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;

		@media screen and (min-width: 1025px) {
			display: none;
		}

		/* アクティブ時（×に変形） */
		&.is-active span:nth-child(1) {
			transform: translateY(calc(var(--gap) + var(--thickness))) rotate(45deg);
		}

		&.is-active span:nth-child(2) {
			opacity: 0;
			transform: scaleX(0.6);
		}

		&.is-active span:nth-child(3) {
			transform: translateY(calc(-1 * (var(--gap) + var(--thickness)))) rotate(-45deg);
		}

		& span {
			display: block;
			width: 100%;
			height: 2px;
			background-color: var(--wp--preset--color--white);
			border-radius: 2px;
			transform-origin: center;
			transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
				opacity 0.2s ease, width 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
			will-change: transform, opacity;

			&+span {
				margin-top: var(--gap);
			}
		}
	}

	& li a {
		color: var(--wp--preset--color--white);
	}

	& .__nav {
		@media screen and (max-width: 1024px) {
			position: fixed;
			top: 60px;
			left: 0;
			overflow-y: auto;
			z-index: 100;
			background: linear-gradient(to right, #013329, #004f3a);
			width: 100%;
			height: 100vh;
			max-height: calc(100vh - 100px);
			padding-bottom: 100px;
		}

		@media screen and (min-width: 1025px) {
			display: flex;
			align-items: center;
			gap: 30px;
		}
	}

	& .__nav-list {
		list-style: none;
		padding: 0;
		margin: 0;

		@media screen and (min-width: 1025px) {
			display: flex;
			height: 100%;
		}
	}

	& .__nav-item {
		position: relative;

		@media screen and (max-width: 1024px) {
			border-bottom: 1px solid rgba(255, 255, 255, 0.15);

			&:first-child {
				border-top: 1px solid rgba(255, 255, 255, 0.15);
			}
		}
	}

	& .__nav-item>a {
		position: relative;
		text-align: center;
		display: flex;

		@media screen and (max-width: 1024px) {
			padding: 15px calc(30 / 375 * 100vw);
		}

		@media screen and (min-width: 1025px) {
			height: 100%;
			flex-direction: column;
			justify-content: center;
			padding-inline: 30px;
			transition: none;

			&:hover {
				color: var(--wp--preset--color--secondary);

				&::after {
					background-color: var(--wp--preset--color--secondary);
				}
			}
		}

		&:not(:only-child) {
			@media screen and (max-width: 1024px) {

				&::before,
				&::after {
					content: "";
					position: absolute;
					right: calc(20 / 375 * 100vw);
					top: 50%;
					width: 14px;
					height: 1px;
					background-color: #fff;
					border-radius: 100vmax;
					transition: transform 0.3s ease;
				}

				&::before {
					transform: translateY(-50%) rotate(0deg);
				}

				&::after {
					transform: translateY(-50%) rotate(90deg);
				}
			}
		}

		&::after {
			@media screen and (min-width: 1025px) {
				content: "";
				position: absolute;
				left: 0;
				bottom: -1px;
				width: 100%;
				height: 4px;
				transition: 0.25s;
			}
		}

		&.is-active:not(:only-child)::after {
			transform: translateY(-50%) rotate(0deg);
		}

		& .__en {
			font-family: var(--wp--preset--font-family--anton);

			@media screen and (max-width: 1024px) {
				display: none;
			}

			@media screen and (min-width: 1025px) {
				display: block;
				font-size: 22px;
				line-height: 1.3;
			}
		}

		& .__ja {
			@media screen and (max-width: 1024px) {
				font-size: 16px;
			}

			@media screen and (min-width: 1025px) {
				font-weight: 700;
				display: block;
				font-size: 12px;
				line-height: 1.2;
			}
		}
	}

	& .__nav-child {
		padding: 0;
		list-style: none;

		@media screen and (max-width: 1024px) {
			background-color: rgba(255, 255, 255, 0.15);
			padding-inline: calc(30 / 375 * 100vw);
		}

		@media screen and (min-width: 1025px) {
			position: absolute;
			list-style: none;
			padding: 0;
			top: 100%;
			width: 240px;
			left: 50%;
			transform: translateX(-50%);
			z-index: 10;
		}
	}

	& .__nav-child li {
		width: 100%;

		@media screen and (max-width: 1024px) {
			font-size: 14px;

			&:not(:first-child) {
				margin-top: 10px;
			}

			&:first-of-type {
				margin-top: 20px;
			}

			&:last-of-type {
				margin-bottom: 20px;
			}
		}

		@media screen and (min-width: 1025px) {
			font-size: 15px;
			border-bottom: 1px solid var(--wp--preset--color--gray);
		}
	}

	& .__nav-child li a {
		box-sizing: border-box;

		@media screen and (min-width: 1025px) {
			display: inline-flex;
			background-color: var(--wp--preset--color--tertiary);
			width: 100%;
			padding: 10px 15px;

			&:hover {
				background-color: #19604e;
			}
		}
	}

	& .__player {
		position: relative;
		color: var(--wp--preset--color--white);
		font-weight: 700;

		@media screen and (max-width: 1024px) {
			width: 85%;
			max-width: 500px;
			display: block;
			margin-inline: auto;
			margin-top: 30px;
		}

		@media screen and (min-width: 1025px) {
			display: flex;
			height: 70px;
			align-items: center;
			padding-inline: 70px 40px;
			background-color: var(--wp--preset--color--accent-1);
			border-left: 1px solid var(--wp--preset--color--secondary);
			transition: background-color 0.35s ease, color 0.35s;

			&:hover {
				background-color: #195abc;
				color: var(--wp--preset--color--secondary);

				& .__player-txt::before {
					mask: url("../img/prayer_icon.svg") no-repeat center / contain;
					-webkit-mask: url("../img/prayer_icon.svg") no-repeat center / contain;
				}
			}
		}
	}

	& .__player-txt {
		@media screen and (max-width: 1024px) {
			display: none;
		}

		@media screen and (min-width: 1025px) {
			&::before {
				content: "";
				position: absolute;
				top: 50%;
				transform: translateY(-50%);
				left: 35px;
				width: 24px;
				height: 24px;
				background-color: currentColor;
				/* ← テキストの色を継承 */
				mask: url("../img/prayer_icon.svg") no-repeat center / contain;
				-webkit-mask: url("../img/prayer_icon.svg") no-repeat center / contain;
			}
		}
	}

	& .__player-bnr {
		vertical-align: bottom;

		@media screen and (max-width: 1024px) {
			width: 100%;
		}

		@media screen and (min-width: 1025px) {
			display: none;
		}
	}

	& .__sns {
		list-style: none;
		padding-left: 0;
		display: flex;
		align-items: center;
		margin: 0;

		@media screen and (max-width: 1024px) {
			justify-content: center;
			margin-top: 30px;
			gap: 30px;
		}

		@media screen and (min-width: 1025px) {
			gap: 20px;
			position: absolute;
			top: -36px;
			right: 40px;
		}
	}

	& .__sns.--youtube {
		@media screen and (min-width: 1025px) {
			top: -39px;
		}
	}

	& .__sns-item {
		width: 29px;
		display: flex;
		align-items: center;
		height: 100%;

		@media screen and (max-width: 1024px) {
			background-color: var(--wp--preset--color--white);
			border-radius: 100vmax;
			width: 55px;
			height: 55px;
			display: flex;
			align-items: center;
			justify-content: center;
		}

		@media screen and (min-width: 1025px) {
			transition: opacity 0.35s;

			&:hover {
				opacity: 0.6;
			}
		}
	}

	& .__sns-item.--youtube {
		color: var(--wp--preset--color--black);
		font-family: var(--wp--preset--font-family--anton);
		letter-spacing: .002em;

		@media screen and (max-width: 1024px) {
			font-size: 13px;
		}

		@media screen and (min-width: 1025px) {
			width: auto;
			border: 2.5px solid var(--wp--preset--color--black);
			border-radius: 5px;
			padding-inline: 10px;
			font-size: 13px;
			letter-spacing: .02em;
		}
	}

	& .__youtube {
		color: var(--wp--preset--color--black);
		font-family: var(--wp--preset--font-family--anton);
		transition: .35s;

		@media screen and (max-width: 1024px) {
			color: #fff;
			font-size: 23px;
			border-bottom: 2px solid #fff;
			line-height: 1.1;
		}

		@media screen and (min-width: 1025px) {
			font-size: 20px;

			&:hover {
				opacity: .7;
			}
		}
	}


	& .__sns-item img {
		max-width: 100%;
		vertical-align: bottom;

		@media screen and (max-width: 1024px) {
			width: 29px;
		}
	}

	& .__privacy {
		@media screen and (max-width: 1024px) {
			margin-top: 20px;
			margin-left: calc(30 / 375 * 100vw);
			font-size: 14px;
		}

		@media screen and (min-width: 1025px) {
			display: none;
		}
	}

	& .__privacy a {
		color: var(--wp--preset--color--white);
	}
}

/* ====================================================================================
.l-footer
==================================================================================== */
.l-footer {
	background: linear-gradient(to bottom, #013329, #004537);

	@media screen and (max-width: 1024px) {
		padding-block: 30px 30px;
	}

	@media screen and (min-width: 1025px) {
		padding: 40px 40px 60px;
	}

	& .__sns-head {
		color: var(--wp--preset--color--white);
		font-family: var(--wp--preset--font-family--anton);
		text-align: center;
		margin: 0 0 20px 0;

		@media screen and (max-width: 1024px) {
			font-size: 22px;
		}

		@media screen and (min-width: 1025px) {
			font-size: 30px;
		}
	}

	& .__sns {
		list-style: none;
		padding-left: 0;
		display: flex;
		gap: 40px;
		justify-content: center;
		align-items: center;
		margin-top: 20px;
	}

	& .__sns-item {
		background-color: var(--wp--preset--color--white);
		border-radius: 100vmax;
		width: 55px;
		height: 55px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-inline: auto;
		transition: opacity 0.35s;

		& img {
			width: 29px;
		}

		@media screen and (min-width: 1025px) {
			transition: transform 0.35s;

			&:hover {
				transform: scale(106%);
			}
		}
	}

	& .__sns-item.--youtube {
		font-family: var(--wp--preset--font-family--anton);
		font-size: 13px;
		letter-spacing: .002em;
	}

	& .__youtube {
		font-family: var(--wp--preset--font-family--anton);
		font-size: 22px;
		color: #fff;
		border-bottom: 2px solid #fff;
		line-height: 1.1;
		transition: .35s;

		&:hover {
			border-bottom: none;
			opacity: .7;
		}
	}

	& .__menu {
		border-top: 1px solid var(--wp--preset--color--tertiary);

		@media screen and (max-width: 1024px) {
			padding-top: 30px;
			margin-top: 30px;
		}

		@media screen and (min-width: 1025px) {
			display: flex;
			justify-content: center;
			gap: 100px;
			padding-top: 60px;
			margin-top: 40px;
		}
	}

	& .__logo {
		display: block;

		@media screen and (max-width: 1024px) {
			width: 60px;
			margin-left: calc(30 / 375 * 100vw);
		}

		@media screen and (min-width: 1025px) {
			width: 92px;
		}
	}

	& .__logo a {
		@media screen and (min-width: 1025px) {
			transition: transform 0.35s;

			&:hover {
				transform: scale(104%);
			}
		}
	}

	& .__logo img {
		width: 100%;
		vertical-align: bottom;
	}

	& .__nav {
		@media screen and (max-width: 1024px) {
			margin-top: 30px;
		}
	}

	& .__nav-list {
		padding: 0;
		margin: 0;

		@media screen and (min-width: 1025px) {
			display: flex;
			gap: 50px;
		}
	}

	& .__nav-item {
		list-style: none;

		@media screen and (max-width: 1024px) {
			position: relative;
			border-bottom: 1px solid rgba(255, 255, 255, 0.15);

			&:first-child {
				border-top: 1px solid rgba(255, 255, 255, 0.15);
			}
		}
	}

	& .__nav-item>a {
		position: relative;
		color: var(--wp--preset--color--white);

		@media screen and (max-width: 1024px) {
			width: 100%;
			display: block;
			box-sizing: border-box;
			padding: 15px calc(30 / 375 * 100vw);
		}

		@media screen and (min-width: 1025px) {
			transition: opacity 0.35s;

			&:hover {
				opacity: 0.7;
			}
		}

		&:not(:only-child) {
			@media screen and (max-width: 1024px) {

				&::before,
				&::after {
					content: "";
					position: absolute;
					right: calc(20 / 375 * 100vw);
					top: 50%;
					width: 14px;
					height: 1px;
					background-color: #fff;
					border-radius: 100vmax;
					transition: transform 0.3s ease;
				}

				&::before {
					transform: translateY(-50%) rotate(0deg);
				}

				&::after {
					transform: translateY(-50%) rotate(90deg);
				}
			}
		}

		&.is-active:not(:only-child)::after {
			transform: translateY(-50%) rotate(0deg);
		}
	}

	& .__nav-item .__en {
		font-family: var(--wp--preset--font-family--anton);

		@media screen and (max-width: 1024px) {
			display: none;
		}

		@media screen and (min-width: 1025px) {
			display: block;
			font-size: 20px;
		}
	}

	& .__nav-item .__ja {
		@media screen and (max-width: 1024px) {
			font-size: 16px;
		}

		@media screen and (min-width: 1025px) {
			display: none;
		}
	}

	& .__nav-child {
		list-style: none;
		padding: 0;

		@media screen and (max-width: 1024px) {
			background-color: rgba(255, 255, 255, 0.15);
		}
	}

	& .__nav-child li {
		font-size: 14px;

		@media screen and (max-width: 1024px) {
			&:first-of-type {
				margin-top: 15px;
			}

			&:last-of-type {
				margin-bottom: 15px;
			}
		}

		&+li {
			@media screen and (max-width: 1024px) {
				margin-top: 10px;
			}

			@media screen and (min-width: 1025px) {
				margin-top: 5px;
			}
		}
	}

	& .__nav-child li a {
		@media screen and (max-width: 1024px) {
			color: var(--wp--preset--color--white);
			display: block;
			padding-inline: calc(30 / 375 * 100vw);
		}

		@media screen and (min-width: 1025px) {
			color: var(--wp--preset--color--gray);
			transition: opacity 0.35s;

			&:hover {
				opacity: 0.5;
			}
		}
	}

	& .__footer {
		@media screen and (max-width: 1024px) {
			margin-top: 40px;
			padding-inline: calc(30 / 375 * 100vw);
		}

		@media screen and (min-width: 1025px) {
			margin-top: 40px;
		}
	}

	& .__player {
		display: block;
		margin-inline: auto;
		max-width: 450px;

		@media screen and (min-width: 1025px) {
			transition: transform 0.35s;

			&:hover {
				transform: scale(102%);
			}
		}
	}

	& .__player img {
		width: 100%;
	}

	& .__privacy {
		text-align: center;
		font-size: 14px;
	}

	& .__privacy a {
		color: var(--wp--preset--color--gray);
		transition: opacity 0.35s;

		&:hover {
			opacity: 0.5;
		}
	}


	& .__copyright {
		text-align: center;
		color: var(--wp--preset--color--white);

		@media screen and (max-width: 1024px) {
			font-size: 13px;
			margin-top: 30px;
		}

		@media screen and (min-width: 1025px) {
			font-size: 14px;
			margin-top: 60px;
		}
	}
}

/* ====================================================================================
.l-news-archive
==================================================================================== */
.l-news-archive {
	background-image: url(../img/bg_primary.png);
	background-size: cover;
	background-attachment: fixed;
}

/* ====================================================================================
.l-news-single
==================================================================================== */
.l-news-single {
	background-image: url(../img/bg_yellow_noise.png);
	background-size: cover;
	background-attachment: fixed;

	& .__content {
		@media screen and (max-width: 782px) {
			padding-block: var(--wp--preset--spacing--120) !important;
			padding-inline: var(--wp--preset--spacing--100) !important;
		}
	}

	& .__category {
		display: inline-flex;
		gap: 8px;
	}

	& .__category a {
		border: 1px solid var(--wp--preset--color--primary);
		padding: 0.2em 0.8em;
		line-height: 1.1;
	}

	& .__category .wp-block-post-terms__separator {
		display: none;
	}

	& .__pagination .post-navigation-link-previous a,
	& .__pagination .post-navigation-link-next a {
		position: relative;
		transition: opacity 0.35s;

		&:hover {
			opacity: 0.7;
		}
	}

	& .__pagination .post-navigation-link-previous a {
		@media screen and (max-width: 782px) {
			padding-left: 30px;
		}

		@media screen and (min-width: 783px) {
			padding-left: 50px;
		}

		&::before {
			content: "";
			position: absolute;
			inset: 0;
			/* top, right, bottom, left: 0 と同じ */
			top: 50%;
			transform: translateY(-50%);
			background-image: url("../img/icon_navigation.svg");
			background-size: cover;
			/* 画像を要素いっぱいに拡大縮小 */
			background-position: center;
			z-index: 1;

			@media screen and (max-width: 782px) {
				width: 22px;
				height: 22px;
			}

			@media screen and (min-width: 783px) {
				width: 35px;
				height: 35px;
			}
		}
	}

	& .__pagination .post-navigation-link-next a {
		@media screen and (max-width: 782px) {
			padding-right: 30px;
		}

		@media screen and (min-width: 783px) {
			padding-right: 50px;
		}

		&::after {
			content: "";
			position: absolute;
			right: 0;
			top: 50%;
			transform: translateY(-50%) rotate(180deg);
			background-image: url("../img/icon_navigation.svg");
			background-size: cover;
			/* 画像を要素いっぱいに拡大縮小 */
			background-position: center;
			z-index: 1;

			@media screen and (max-width: 782px) {
				width: 22px;
				height: 22px;
			}

			@media screen and (min-width: 783px) {
				width: 35px;
				height: 35px;
			}
		}
	}
}

/* ====================================================================================
.l-news-category
==================================================================================== */
.l-news-sidebar {
	@media screen and (min-width: 783px) {
		position: sticky;
		top: 140px;
		z-index: 1;
	}
}

.l-news-category {
	box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.2);

	@media screen and (max-width: 782px) {
		padding-inline: var(--wp--preset--spacing--130) !important;
		padding-block: var(--wp--preset--spacing--110) !important;
	}

	& .__all {
		margin-bottom: 10px;
	}

	& .__all a {
		text-decoration: none;
		width: 100%;
		color: var(--wp--preset--color--white);
	}

	& .wp-block-categories-list .cat-item,
	& .__all {
		@media screen and (max-width: 782px) {
			font-size: var(--wp--preset--font-size--sm) !important;
		}
	}

	& .__all.is-current a,
	& .wp-block-categories-list .cat-item.current-cat a {
		background-color: var(--wp--preset--color--secondary);
		border-color: var(--wp--preset--color--secondary);
		color: var(--wp--preset--color--primary);
	}

	& .wp-block-categories-list {
		padding: 0;
		margin: 0;
		list-style: none;
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	& a {
		text-decoration: none;
		color: var(--wp--preset--color--white);
		border: 1px solid var(--wp--preset--color--white);
		padding-inline: var(--wp--preset--spacing--40);
		padding-block: 0.1em;
		transition: 0.15s;

		&:hover {
			background-color: var(--wp--preset--color--secondary);
			border-color: var(--wp--preset--color--secondary);
			color: var(--wp--preset--color--primary);
		}
	}
}

/* ====================================================================================
.l-404
==================================================================================== */
.l-404 {
	background-image: url(../img/bg_green_noise.png);
	background-position: 50% 0;
	background-size: 100px;
}