@charset "UTF-8";

/*

◼︎CSS INDEX

カスタムプロパティ
reset css
基本設定
固定ボタン
ヘッダー
メイン
フッター
ページネーション
ローディング画面

*/


/*######################################################
カスタムプロパティ
######################################################*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&family=EB+Garamond&display=swap");

/* =====================
フォント
===================== */
:root {
	--font-family-base: "Noto Serif JP", serif;
	--font-family-en: "EB Garamond", serif;
}

/* =====================
インナー幅の設定
===================== */
:root {
	--width-inner: 1080px;
	--width-inner-s: 760px;
}

/* =====================
カラー設定
===================== */
:root {
	--color-main: #031730;
	--color-main-light: #202E43;
	--color-accent: #EFAF00;
	--color-gray: #f1f2f3;
	--color-gray-light: #fbfdff;
	--color-white: #ffffff;
	--color-black: #040C17;
	--color-body-bg: #ffffff;
	--color-body-text: #040C17;
	--color-border-gray: #cccccc;
}


/*######################################################
reset css
######################################################*/
html {
	scrollbar-gutter: stable;
	scroll-padding-top: 80px;
}

body {
	background-color: var(--color-body-bg);
	color: var(--color-body-text);
	width: 100%;

	font-family: var(--font-family-base);
	font-weight: 500;
	font-size: clamp(14px, 1.2vw, 16px);
	line-height: 1.75;
	-webkit-text-size-adjust: 100%;
	text-align: justify;

	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

* {
	font-feature-settings: "palt" 1;
	font-size: inherit;
	line-height: inherit;
	line-break: strict;
	box-sizing: border-box;
}

a {
	color: var(--color-link-txt);
	transition: opacity 0.3s ease;
}

a:hover {
	opacity: 0.8;
}

html,
body,
div,
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
iframe,
blockquote,
pre,
a,
address,
em,
img,
small,
strike,
strong,
sub,
sup,
b,
u,
i,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
ul,
ol,
li,
dl,
dt,
dd,
form,
label,
article,
aside,
canvas,
details,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	z-index: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

em {
	font-style: normal;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

th,
td {
	text-align: left;
}

ol,
ul {
	padding-left: 1.25em;
}


/*######################################################
基本設定
######################################################*/
/* =====================
フォーカスリング
マウス・タッチ操作時は非表示、キーボード操作時は表示
===================== */
*:focus:not(:focus-visible) {
	outline: none;
}

/* =====================
telリンク無効
===================== */
@media (any-hover: hover) {

	a[href^="tel:"],
	a[href^="tel:"]::after {
		pointer-events: none !important;
		content: none !important;
		text-decoration: none;
	}
}

/* =====================
スクリーンリーダー用のスキップリンク
===================== */
.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	background: #000;
	color: #fff;
	padding: 8px 16px;
	z-index: 9999;
}

.skip-link:focus {
	top: 0;
}

/* =====================
管理画面バー
===================== */
#wpadminbar {
	position: fixed
}


/*######################################################
固定ボタン PC
######################################################*/
@media (max-width:767px) {
	.fixed-pc {
		display: none;
	}
}

@media (min-width:768px) {

	body:has(> .fixed-pc) .header,
	body:has(> .fixed-pc) .main,
	body:has(> .fixed-pc) .footer {
		margin-left: clamp(80px, 7.4vw, 113px);
	}

	body:has(> .fixed-pc) .header {
		width: calc(100% - clamp(80px, 7.4vw, 113px));
	}

	body > .fixed-pc {
		position: fixed;
		left: 0;
		top: 0;
		z-index: 100;
		width: clamp(80px, 7.4vw, 113px);
		height: 100vh;
	}

	.fixed-pc__link {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 100%;
		background-color: #F7F7F8;
		text-decoration: none;
		transition: background-color 0.6s ease;
	}

	.fixed-pc__link:hover {
		background-color: #f7f7f8;
	}

	.fixed-pc__text {
		writing-mode: vertical-rl;
		display: flex;
		place-content: center;
		height: 100%;
		padding: 20px;
		font-variation-settings: 'wght' 500;
		transition: font-variation-settings 0.6s ease;
	}

	.fixed-pc__link:hover .fixed-pc__text {
		font-variation-settings: 'wght' 700;
	}

	.fixed-pc__text span {
		display: inline-block;
	}

	.fixed-pc__line {
		display: block;
		width: 1px;
		height: 100px;
		margin: 16px auto 0 auto;
		background-color: var(--color-border-gray);
	}

	.fixed-pc__button {
		background-color: var(--color-main);
		color: var(--color-white);
		padding: 15px 5px;
		height: fit-content;
		width: 100%;
		font-size: 14px;
		line-height: 1.25;
		text-align: center;
		transition: background-color 0.3s ease;
	}

	.fixed-pc__button::before {
		content: "";
		display: block;
		width: 1.4em;
		height: 1.4em;
		margin-inline: auto;
		margin-bottom: 0.75em;
		background-image: url(../img/common/icon_join.svg);
		background-size: contain;
		background-repeat: no-repeat;
	}

	.fixed-pc__button span {
		display: inline-block;
		white-space: nowrap;
	}

	.fixed-pc__link:hover .fixed-pc__button {
		background-color: var(--color-accent);
		color: var(--color-main);
	}

	.fixed-pc__link:hover .fixed-pc__button::before {
		filter: brightness(0);
	}
}

@media (min-height:750px) {
	.fixed-pc__text {
		letter-spacing: 0.5em;
	}

	.fixed-pc__text::after {
		height: 140px;
	}
}

html[lang="en-us"] {
	.fixed-pc__text {
		letter-spacing: 0.1em;
	}
}


/*######################################################
固定ボタン SP
######################################################*/
@media (min-width:768px) {
	.fixed-sp {
		display: none;
	}
}

@media (max-width:767px) {
	.fixed-sp {
		display: flex;
		position: fixed;
		left: 0;
		bottom: 0;
		z-index: 9990;
		background-color: var(--color-white);
		width: 100%;
	}

	.fixed-sp a {
		text-decoration: none;
		padding: 15px 5px;
		font-size: 14px;
	}

	.fixed-sp__member {
		text-align: center;
		width: 35%;
	}

	.fixed-sp__join {
		width: 65%;
		display: flex;
		align-items: center;
		justify-content: center;
		background-color: #F89A0F;
		color: var(--color-white);
		line-height: 1.4;
	}

	.fixed-sp__join::before {
		content: "";
		display: block;
		width: 1.4em;
		height: 1.4em;
		background-image: url(../img/common/icon_join.svg);
		background-size: contain;
		background-repeat: no-repeat;
	}
}


/*######################################################
ヘッダー
######################################################*/
.header {
	position: fixed;
	top: 0;
	z-index: 9999;
	width: 100%;
	background-color: var(--color-white);
	transition: background-color 0.2s ease;
}

body.admin-bar .header {
	top: 32px;
}

.header__content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	min-height: 40px;

	margin-inline: 16px;
	margin-block: 6px;
}

.header__title a {
	display: block;
	max-width: 174px;
	height: auto;
	aspect-ratio: 174 / 43;
	position: relative;
}

.header__title a img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left;
}


/* MV上の場合 */
.header.is-on-mv {
	background-color: transparent;
}

.header.is-on-mv .header__title a::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
	background-image: url(../img/common/logo_white.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

.header.is-on-mv .header__title a img {
	transition: opacity 0.3s ease;
}

.header.is-on-mv .header__title a img {
	opacity: 0;
}

@media (max-width:1399px) {

	/* ハンバーガーボタン出現時 */
	.header__content {
		padding-right: 40px;
	}
}


/* ==============================
ハンバーガーボタン
============================== */
@media (min-width:1400px) {
	.hum-btn {
		display: none;
	}

	.header__drawer {
		margin-left: auto;
	}
}

@media (max-width:1399px) {
	.hum-btn {
		position: fixed;
		z-index: 9999;
		top: 8px;
		right: 10px;
		cursor: pointer;
		width: 40px;
		height: 40px;
		border: none;
		background-color: transparent;

		display: grid;
		align-items: center;
		justify-content: center;
		transition: background-color 0.3s ease;
	}

	body.admin-bar .hum-btn {
		top: 40px;
	}

	.hum-btn__line,
	.hum-btn__line::before,
	.hum-btn__line::after {
		content: "";
		position: absolute;
		left: 50%;
		width: 70%;
		height: 2px;
		background-color: var(--color-main);
		border-radius: 999px;
		transform: translateX(-50%);
		transition: all .3s;
		display: block;
	}

	.hum-btn__line::before,
	.hum-btn__line::after {
		width: 100%;
	}

	.hum-btn__line {
		top: 12px;
	}

	.hum-btn__line::before {
		transform: translateX(-50%) translateY(-6px);
	}

	.hum-btn__line::after {
		transform: translateX(-50%) translateY(6px);
	}

	.hum-btn__text {
		position: absolute;
		left: 50%;
		top: 24px;
		transform: translateX(-50%);
		margin: 0;
		color: var(--color-main);
		font-size: 12px;
		line-height: 1;
		transition: opacity 0.3s;
	}


	/* MV上にある場合ヘッダーを透過 */
	.header.is-on-mv + .hum-btn {

		.hum-btn__line,
		.hum-btn__line::before,
		.hum-btn__line::after {
			background-color: var(--color-white);
			color: var(--color-white);
		}

		.hum-btn__text {
			color: var(--color-white);
		}
	}


	/* メニューオープン時 */
	.hum-btn[aria-expanded="true"] {
		.hum-btn__text {
			opacity: 0;
		}

		.hum-btn__line {
			background-color: transparent !important;
		}

		.hum-btn__line::before,
		.hum-btn__line::after {
			background-color: var(--color-white) !important;
		}

		.hum-btn__line::before {
			transform: translateY(5px) translateX(-50%) rotate(45deg);
		}

		.hum-btn__line::after {
			transform: translateY(5px) translateX(-50%) rotate(-45deg);
		}
	}
}


/**************************************************
ドロワーメニュー動き
**************************************************/

@media (max-width:1399px) {

	/* ドロワーメニューオープン時のスタイル */
	html:has(.is-drawerOpen) {
		overflow: hidden;
		width: 100%;
		height: 100%;
	}

	/* ドロワーメニューのスクロール設定 */
	.header__drawer {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* スクロールバー非表示 */
	.header__drawer {
		/*IE・Edge*/
		-ms-overflow-style: none;
		/*Firefox*/
		scrollbar-width: none;
	}

	.header__drawer::-webkit-scrollbar {
		display: none;
	}

	.header__drawer {
		position: fixed;
		top: 0;
		z-index: 9999;
		right: -120%;
		width: 100%;
		height: 100%;
		/* padding-inline: 20%; */
		background: var(--color-main);
		transition: all 0.4s;
	}

	body.is-drawerOpen .header__drawer {
		right: 0;
	}
}


/**************************************************
ドロワーメニュー中身
**************************************************/

/* 情報 */
.drawer-menu__info > * {
	margin-inline: auto;
}

.drawer-menu__info-logo {
	display: block;
	max-width: 260px;
	height: auto;
	aspect-ratio: 174 / 43;
}

.drawer-menu__info-logo img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	object-position: left;
}

.drawer-menu__info-address {
	max-width: 300px;
	color: var(--color-white);
	font-style: normal;
}

.drawer-menu__info-address {
	._address {
		font-size: 14px;
		margin-top: 3em;
	}

	._tel {
		margin-top: 2em;
	}

	._tel a {
		color: var(--color-white);
		text-decoration: none;
	}

	._fax {
		margin-top: 0.5em;
	}
}

/* メニュー */
.drawer-menu__main {
	list-style: none;
	padding-left: unset;
}

.drawer-menu__main a {
	color: var(--color-white);
	text-decoration: none;
	display: block;
	font-size: 16px;
	padding: 5px 0.5em;
	border-bottom: 1px solid transparent;
}

html[lang^="en"] .drawer-menu__main a {
	padding: 5px 1em;
}

@media (min-width:1400px) {
	.drawer-menu__content {
		display: flex;
		gap: 1em;
		padding-block: 10px;
	}

	.drawer-menu__info {
		display: none;
	}

	.drawer-menu__nav {
		display: flex;
		gap: 1em;
	}

	.drawer-menu__main {
		display: flex;
		padding-left: unset;
		list-style: none;
	}

	.drawer-menu__main a {
		color: var(--color-body-text);
	}

	/* MV上の場合 */
	.header.is-on-mv .drawer-menu__main a {
		color: var(--color-white);
	}

	.drawer-menu__main a {
		position: relative;
	}

	.drawer-menu__main a::after {
		content: "";
		display: block;
		width: 5px;
		height: 5px;
		background-color: var(--color-accent);
		border-radius: 9999px;
		position: absolute;
		left: 50%;
		bottom: 0;
		transform: translate(-50%, 0);
		opacity: 0;
		transition: opacity 0.3s ease, transform 0.3s ease;
	}

	.drawer-menu__main a:hover::after {
		opacity: 1;
	}
}

@media (max-width:1399px) {
	.drawer-menu__content {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 100vh;
		width: max-content;
		margin-inline: auto;
	}

	.drawer-menu__nav {
		border-left: solid 1px var(--color-white);
		padding-block: 10px;
		padding-left: 40px;
		margin-left: 40px;
	}
}

@media (max-width:767px) {
	.header__drawer {
		padding-inline: 10%;
	}

	.drawer-menu__content {
		display: flex;
		flex-direction: column-reverse;
		padding-bottom: 80px;
		padding-top: 40px;
	}

	.drawer-menu__nav {
		border-left: unset;
		padding-block: 10px;
		padding-left: unset;
		margin-left: unset;
	}

	.drawer-menu__info {
		border-top: solid 1px var(--color-white);
		margin-top: 40px;
		text-align: center;
		display: flex;
		flex-direction: column-reverse;
	}

	.drawer-menu__info-logo {
		margin-top: 40px;
	}
}


/**************************************************
翻訳・会員登録ボタン
**************************************************/
.header__button-menu {
	list-style: none;
	padding-left: 0;
	display: flex;
	gap: 1em;
}

/* 会員登録ボタン */
.header__button-menu a {
	display: block;
	font-size: 16px;
	text-decoration: none;
	border: 1px solid var(--color-main);
	background-color: var(--color-main);
	color: var(--color-white);
	text-align: center;
	white-space: nowrap;
	padding: 5px 8px;
	border-radius: 2px;
}


/* 翻訳ボタン */
a:has(.trp-menu-ls-label) {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	color: var(--color-main);
	width: fit-content;
	padding: 5px 8px;
	border-radius: 2px;
	background-color: transparent;
}

a:has(.trp-menu-ls-label):before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	background-image: url(../img/common/icon_lang.svg);
	filter: invert(0) brightness(1);
	background-size: contain;
	background-repeat: no-repeat;
}

a:has(.trp-menu-ls-label) img {
	display: none !important;
}

/* MV上の時 */
.header.is-on-mv .header__button {
	a:has(.trp-menu-ls-label) {
		color: var(--color-white);
		border: 1px solid var(--color-white);
		background-color: transparent;
	}

	a:has(.trp-menu-ls-label)::before {
		filter: invert(1) brightness(2);
	}
}



@media (min-width:1400px) {
	.header__drawer .header__button-menu {
		display: none;
	}
}

@media (max-width:1399px) {

	/* ハンバーガー時ドロワー内：翻訳・メンバーボタン */
	.header__drawer {
		.header__button-menu {
			flex-direction: column;
			gap: 1em;
			margin-top: 40px;
		}

		.header__button-menu a {
			border: 1px solid var(--color-white);
			background-color: var(--color-white);
			color: var(--color-main);
			width: 100%;
		}

		a:has(.trp-menu-ls-label) {
			color: var(--color-white);
			border: 1px solid var(--color-white);
			background-color: transparent;
		}

		a:has(.trp-menu-ls-label)::before {
			filter: invert(1) brightness(2);
		}
	}

}

@media (max-width:767px) {

	/* ハンバーガー時ドロワー外：翻訳・メンバーボタン */
	.header__drawer + .header__button {
		display: none;
		.header__button-menu {
			gap: 0.5em;
		}

		.header__button-menu a {
			font-size: 12px;
			padding: 5px;
		}

		a:has(.trp-menu-ls-label) {
			gap: 2px;
		}
	}

	/* 翻訳 */
	.header__drawer + .header__button a:has(.trp-menu-ls-label) .trp-ls-language-name {
		display: none;
	}

	.header__drawer + .header__button a:has(.trp-menu-ls-label)::after {
		display: inline-block;
	}

	html[lang^="ja"] .header__drawer + .header__button a:has(.trp-menu-ls-label)::after {
		content: "EN";
	}

	html[lang^="en"] .header__drawer + .header__button a:has(.trp-menu-ls-label)::after {
		content: "JP";
	}
}


/*######################################################
メイン
######################################################*/
.main {
	padding-bottom: 125px;
	min-height: calc(100vh - 500px);
}

body:not(.home) .main {
	margin-top: 55px;
}

@media (min-width:1400px) {
	body:not(.home) .main {
		margin-top: 75px;
		min-height: calc(100vh - 305px);
	}
}

@media (min-width:768px) {
	.main {
		min-height: calc(100vh - 282px);
	}
}


/*######################################################
フッター
######################################################*/
.footer {
	background-color: #234065;
	color: var(--color-white);
	padding-top: 30px;
	padding-bottom: 100px;
}

.footer__nav-list {
	list-style: none;
	padding-left: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.footer__nav-list li a {
	display: block;
	text-decoration: none;
	padding: 10px 13px;
}

.footer__logo {
	border-top: solid 1px var(--color-white);
	margin-top: 20px;
	padding-top: 20px;
	text-align: center;
}

.footer__copyright {
	padding: 20px;
	font-size: 12px;
	text-align: center;
	margin-top: 40px;
}

@media (min-width:768px) {
	.footer {
		padding-bottom: unset;
	}

	.footer__copyright {
		text-align: unset;
		margin-top: unset;
	}
}


/*######################################################
ページネーション
######################################################*/
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	list-style: none;
	padding-left: unset;
	margin-top: 80px;
}

/* ページ番号・矢印の共通スタイル */
.pagination__item .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	text-decoration: none;
	color: inherit;
	font-size: 16px;
}

/* 現在のページ */
.pagination__item .page-numbers.current {
	background-color: var(--color-main);
	color: var(--color-white);
}

/* 省略記号 */
.pagination__item .page-numbers.dots {
	width: auto;
	border-radius: 0;
}

/* 矢印の仮画像（SVGアイコン） */
.pagination__item .page-numbers.prev::before,
.pagination__item .page-numbers.next::before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.pagination__item .page-numbers.prev::before {
	background-image: url("data:image/svg+xml,%3Csvg width='11' height='7' viewBox='0 0 11 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 3.5L11 0L6.8 3.5L11 7L0 3.5Z' fill='%23040C17'/%3E%3C/svg%3E");
}

.pagination__item .page-numbers.next::before {
	background-image: url("data:image/svg+xml,%3Csvg width='11' height='7' viewBox='0 0 11 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 3.5L0 0L4.2 3.5L0 7L11 3.5Z' fill='%23040C17'/%3E%3C/svg%3E");
}

/* 1ページ目・最終ページ：矢印グレーアウト */
.pagination__item .page-numbers.prev.disabled,
.pagination__item .page-numbers.next.disabled {
	opacity: 0.3;
	pointer-events: none;
	cursor: default;
}

@media (any-hover: hover) {
	.pagination__item a.page-numbers:hover {
		opacity: 0.7;
		transition: opacity 0.3s;
	}
}


/*######################################################
ローディング画面
######################################################*/
body:has(> .loader) {
	opacity: 0;
}

.loader {
	position: fixed;
	z-index: 10000;
	inset: 0;
	background-color: var(--color-main);
	display: grid;
	place-content: center;
}

.loader__catch {
	overflow: hidden;
}

.loader__catch-img {
	aspect-ratio: 165/150;
	width: 300px;
	max-width: 70%;
	margin-inline: auto;
}

.loader__catch-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}