@charset "utf-8";

/*

総合サイト用
サイト全体で使用するフォント・カラー・スタイルはここに記述してください。
ページ用のスタイルは記述しないでください。

*/

:root {
	--white: #fff;
	--lucia-orange: #E4B261;
	--mens-green: #002D04;
	--gray: #CACDCD;
	--gray-2: #727171;
	--beige: #FDF7EE;
	--red: #EC6D4E;
	--blue: #7AB6D5;
	--border-gray: 1px var(--gray) solid;
	--filter-orange: brightness(0) saturate(100%) invert(77%) sepia(30%) saturate(600%) hue-rotate(348deg) brightness(90%) contrast(100%);
}

/* ベースサイズ設定 */
@media (min-width: 769px) {
	:root {
		--common-size: 16rem;
		--size-0804: 8rem;
		--size-1005: 10rem;
		--size-1006: -10rem;
		--size-1210: 12rem;
		--size-1412: 14rem;
		--size-1608: 16rem;
		--size-1816: 18rem;
		--size-2016: 20rem;
		--size-2018: 20rem;
		--size-2416: 24rem;
		--size-2418: 24rem;
		--size-3216: 32rem;
		--size-3224: 32rem;
		--size-4024: 40rem;
		--size-4032: 40rem;
		--size-4832: 48rem;
		--size-8064: 80rem;
		--size-12080: 120rem;
	}
	html {
		--pc-view: calc((100vw / ( 1440 / 1 )));
		font-size: min(var(--pc-view), 1px);
	}
}
@media (max-width: 768px) {
	:root {
		--common-size: 14rem;
		--size-0804: 4rem;
		--size-1005: 5rem;
		--size-1006: -6rem;
		--size-1210: 10rem;
		--size-1412: 12rem;
		--size-1608: 8rem;
		--size-1816: 16rem;
		--size-2016: 16rem;
		--size-2018: 18rem;
		--size-2416: 16rem;
		--size-2418: 18rem;
		--size-3216: 16rem;
		--size-3224: 24rem;
		--size-4024: 24rem;
		--size-4032: 32rem;
		--size-4832: 32rem;
		--size-8064: 64rem;
		--size-12080: 80rem;
	}
	html {
		font-size: calc(100vw / ( 450 / 1 ));
	}
}

body {
	color: var(--gray-2);
	font-size: var(--common-size);
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	letter-spacing: .05em;
	line-height: 1.8;
}

#main_content {
	overflow-x: clip;
}

/* フォント */
.en {
	font-family: "Figtree", sans-serif;
}
/* 文字色 */
.fc_wht {
	color: var(--white);
}
.fc_gray {
	color: var(--gray);
}
.fc_gray2 {
	color: var(--gray-2);
}
.fc_beg {
	color: var(--beige);
}
.fc_ora {
	color: var(--lucia-orange);
}
.fc_red {
	color: var(--red);
}
.fc_blue {
	color: var(--blue);
}
.fc_gre {
	color: var(--mens-green);
}
/* 背景 */
.bg_wht {
	background-color: var(--white);
}
.bg_gray {
	background-color: var(--gray);
}
.bg_gray2 {
	background-color: var(--gray-2);
}
.bg_beg {
	background-color: var(--beige);
}
.bg_ora {
	background-color: var(--lucia-orange);
}
.bg_red {
	background-color: var(--red);
}
.bg_blue {
	background-color: var(--blue);
}
.bg_gre {
	background-color: var(--mens-green);
}
/* 文字揃え */
.ta_center {
	text-align: center;
}
.ta_right {
	text-align: right;
}
/* テキスト行間 */
.txt {
	line-height: 2;

	& p + p {
		margin-top: 2em;
	}
	& a {
		text-decoration: underline;
	}
}
/* 袋文字 */
.outline {
	paint-order: stroke;
}
/* 丸 */
.round {
	border-radius: 100vmax;
}
/* 角丸 */
.round_5 {
	border-radius: 5rem;
}
.round_10 {
	border-radius: 10rem;
}
/* 正方形 */
.square {
	aspect-ratio: 1 / 1;
}
/* 1px枠線 */
.border {
	border: 1px var(--gray-2) solid;
}
.border_wht {
	border: 1px var(--white) solid;
}
.border_gra {
	border: var(--border-gray);
}
.border_ora {
	border: 1px var(--lucia-orange) solid;
}
.border_gre {
	border: 1px var(--mens-green) solid;
}
.border_blue {
	border: 1px var(--blue) solid;
}
.border_red {
	border: 1px var(--red) solid;
}
/* フキダシ */
.tail_t,
.tail_b,
.tail_l,
.tail_r {
	position: relative;

	&::before {
		content: '';
		position: absolute;
	}

	&.bg_wht::before {
		background-color: var(--white);
	}
}
.tail_t::before,
.tail_b::before {
	margin-inline: auto;
	inset: auto 0;
}
.tail_t::before {
	clip-path: polygon(0 100%, 50% 0, 100% 100%);
	bottom: calc(100% - 1px);
}
.tail_b::before {
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	top: calc(100% - 1px);
}
.tail_l::before,
.tail_r::before {
	margin-block: auto;
	inset: 0 auto;
}
.tail_l::before {
	clip-path: polygon(0 50%, 100% 0, 100% 100%);
	right: calc(100% - 1px);
}
.tail_r::before {
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	left: calc(100% - 1px);
}

/* アイコン色変え */
.icon_gray {
	filter: brightness(0) saturate(100%) invert(47%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(96%) contrast(88%);
}
.icon_ora {
	filter: var(--filter-orange);
}

/* 注釈リスト */
.notice li {
	display: flex;

	&::before {
		content: '※';
	}
	& a {
		text-decoration: underline;
	}
}
/* ドット付きリスト */
.dot_list li {
	display: flex;
	gap: 4rem;

	&::before {
		content: '・';
	}
}
/* 番号付きリスト */
.num_list {
	counter-reset: mun_list;

	& > li {
		counter-increment: mun_list;
	}
	& .ttl {
		font-weight: 500;
		display: flex;

		&::before {
			content: '0'counter(mun_list)'.';
			flex-shrink: 0;
		}
	}
}
/* 罫線付きリスト */
.border_list {
	& li {
		border-bottom: var(--border-gray);
	}
	& .icon {
		justify-content: space-between;
	}
	& .in {
		flex-grow: 1;
	}
}

/* 見出し */
/* 縦積み・中央寄せ */
.ttl_01 {
	text-align: center;

	& .ttl {
		font-size: var(--size-1412);
		margin-top: var(--size-1006);
	}
	& .en {
		font-size: var(--size-4832);
		display: block;
	}
}
/* 日本語のみ */
.ttl_02 {
	font-size: var(--size-2418);
	font-weight: 500;

	&.line_gray {
		padding-bottom: 16rem;
		border-bottom: var(--border-gray);
	}
	&.line_wht {
		padding-bottom: 16rem;
		border-bottom: 1px var(--white) solid;
	}
}
/* 並列 */
.ttl_03 {
	display: flex;
	align-items: center;
	gap: var(--size-2416);

	& .ttl {
		font-size: var(--size-1412);
	}
	& .en {
		font-size: var(--size-4832);
	}
}
/* 日本語のみ */
.ttl_04 {
	font-size: var(--size-2016);
	font-weight: 500;

	/* 背景付き角丸見出し */
	&.round_5 {
		line-height: 56rem;
		padding-left: var(--size-2416);
	}
	/* 下線 */
	&.line_gray {
		padding-bottom: 16rem;
		border-bottom: var(--border-gray);
	}
}
/* 日本語のみ_中央寄せ */
.ttl_05 {
	font-weight: 500;
	line-height: 2;

	@media (min-width: 769px) {
		font-size: 32rem;
	}
	@media (max-width: 768px) {
		font-size: 20rem;
	}
}
/* ボックス上付き英字 */
.en_over {
	font-family: "Figtree", sans-serif;
	font-weight: 400;
	text-align: center;
	position: absolute;
	inset: auto 0;

	@media (min-width: 769px) {
		font-size: 96rem;
		top: -118rem;
	}
	@media (max-width: 768px) {
		font-size: 56rem;
		top: -70rem;
	}
}
*:has( > .en_over) {
	position: relative;
}
/* あしらい付き見出し */
.slash {
	display: inline-block;
	position: relative;

	&::before,
	&::after {
		content: '';
		width: 1px;
		margin-block: auto;
		position: absolute;
		inset: 0 auto;
	}
	&::before {
		left: 0;
		rotate: -24deg;
	}
	&::after {
		right: 0;
		rotate: 24deg;
	}
}

/* アイコン付き */
.icon {
	display: flex;
	align-items: center;

	& img,
	&::before,
	&::after {
		flex-shrink: 0;
	}

	/* 別の場所に影響が出るので統合しないでください */
	&.mail::before {
		content: '';
		mask: url('/images/icon/mail.svg') no-repeat center / 100% auto;
	}
	&.phone::before {
		content: '';
		mask: url('/images/icon/phone.svg') no-repeat center / 100% auto;
	}
	&.ping::before {
		content: '';
		mask: url('/images/icon/ping.svg') no-repeat center / 100% auto;
	}
	&.caution::before {
		content: '';
		mask: url('/images/icon/caution.svg') no-repeat center / 100% auto;
	}
	&.beginner::before {
		content: '';
		mask: url('/images/icon/beginner.svg') no-repeat center / 100% auto;
	}
}

/* ボタン */
.btn {
	display: grid;
	place-content: center;

	&[class*="arrow"],
	&[target="_blank"] {
		position: relative;

		&::after {
			margin-block: auto;
			position: absolute;
			inset: 0 auto;
		}
	}
	&[class*="arrow"] {
		&.btn_01::after,
		&.round::after {
			right: 12rem;
		}
		@media (min-width: 769px) {
			&.round_5::after {
				right: 24rem;
			}
		}
		@media (max-width: 768px) {
			&.round_5::after {
				right: 8rem;
			}
		}
	}
	&[target="_blank"]::after {
		content: '';
		width: 24rem;
		height: 24rem;
		background-color: var(--white);
		mask: url('/images/icon/blank.svg') no-repeat center / 100% auto;
		right: var(--size-0804);
	}

	/* 角丸ボタン */
	main & {
		height: 48rem;
		font-size: 12rem;
		font-weight: 500;
		margin-inline: auto;
	}

	/* ページリンク用ボタン */
	&.btn_01 {
		width: 216rem;
		border-radius: 100vmax;

		&.bg_ora,
		&.fc_ora {
			border: 1px var(--lucia-orange) solid;
		}
		&.bg_gre {
			border: 1px var(--mens-green) solid;
		}
		&.bg_wht {
			border: 1px var(--white) solid;
		}
		&.arrow_g {
			border: 1px var(--gray-2) solid;
		}
	}

	/* 戻るボタン */
	&.back::after {
		inset-inline: 12rem auto;
		scale: -1 1;
	}
}

/* リンク矢印 */
[class*="arrow"]::after {
	content: '';
	width: 6rem;
	height: 10rem;
	mask: url('/images/icon/arrow.svg') no-repeat center / 100% auto;
}
.arrow_o::after {
	background-color: var(--lucia-orange);
}
.arrow_g::after {
	background-color: var(--gray-2);
}
.arrow_w::after {
	background-color: var(--white);
}
.arrow_b::after {
	background-color: var(--blue);
}

/* 別窓リンクアイコン */
a[target="_blank"] .icon::after {
	content: '';
	width: 24rem;
	height: 24rem;
	background-color: var(--lucia-orange);
	mask: url('/images/icon/blank.svg') no-repeat center / 100% auto;
}

/* アコーディオン */
.acc-trigger {
	position: relative;
	cursor: pointer;

	&::before,
	&::after {
		content: '';
		width: 20rem;
		height: 1px;
		background-color: var(--lucia-orange);
		margin-block: auto;
		position: absolute;
		inset: 0 auto;
		right: 0;
	}
	&::before {
		rotate: -90deg;
	}
	&.open::before {
		background-color: transparent;
		rotate: 0deg;
	}
	button& {
		width: 100%;
	}
}
.acc-content {
	display: none;
}

/* ホバードロップダウン */
*:has(> .hov-content) {
	display: inline-grid;
	position: relative;

	&:hover .hov-content {
		opacity: 1;
		visibility: visible;
	}
}
.hov-content {
	width: max-content;
	justify-self: center;
	position: absolute;
	top: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
	z-index: 100;
}

/* タブ切り替え */
.tab_list {
	display: flex;

	& .tab_wrap {
		text-align: center;
		flex: 1;
	}
	& input[type="radio"] {
		display: none;
	}
	& label {
		font-weight: 500;
		display: block;

		@media (min-width: 769px) {
			font-size: 20rem;
			padding-bottom: 20rem;
		}
		@media (max-width: 768px) {
			font-size: 14rem;
			padding-bottom: 8rem;
		}
	}
}
.tab_content {
	display: none;
}
.tab_list:has([data-tabtype="tab1"]:checked) ~ [data-tabcont="tab1"],
.tab_list:has([data-tabtype="tab2"]:checked) ~ [data-tabcont="tab2"],
.tab_list:has([data-tabtype="tab3"]:checked) ~ [data-tabcont="tab3"],
.tab_list:has([data-tabtype="tab4"]:checked) ~ [data-tabcont="tab4"] {
	display: block;
}
.tab_wrap {
	border-bottom: 1px transparent solid;

	&:has(input[type="radio"]:checked) {
		color: var(--lucia-orange);
		border-color: var(--lucia-orange);
	}

	&:not(:has(input[type="radio"]:checked)) {
		color: var(--gray);
		border-color: var(--gray);
	}
}

/* ページ内リンク */
.anchor_list {
	gap: var(--size-1608);

	@media (min-width: 769px) {
		grid-template-columns: repeat(4, 1fr);
	}
	@media (max-width: 768px) {
		&:has(li:nth-child(n+5)) {
			grid-template-columns: repeat(3, 1fr);
		}
		&:not(:has(li:nth-child(n+5))),
		&:has(li:nth-child(n+8)) {
			grid-template-columns: repeat(2, 1fr);
		}
	}

	& a {
		display: flex;
		justify-content: space-between;
		align-items: center;

		@media (min-width: 769px) {
			height: 56rem;
			padding-inline: 16rem 8rem;
		}
		@media (max-width: 768px) {
			height: 48rem;
			padding-inline: 8rem;
		}

		&::after {
			rotate: 90deg;
		}
	}
}

/* 動画埋め込み */
.movie_wrap {
	aspect-ratio: 16 / 9;

	& iframe {
		width: 100%;
		height: 100%;
	}
}

/* 全面背景 */
.full_bg {
	position: relative;

	& .wide_bg_in {
		position: relative;
		z-index: 1;
	}

	& .bg {
		position: absolute;
		inset: 0;
		overflow: hidden;

		& img {
			object-fit: cover;

			@media (min-width: 769px) {
				translate: 0 -20rem;
			}
			@media (max-width: 768px) {
				translate: 0 -30rem;
			}
		}
	}
}

/* マージン相殺 */
main .mb_0 {
	@media (min-width: 769px) {
		margin-bottom: -240rem;
	}
	@media (max-width: 768px) {
		margin-bottom: -144rem;
	}

	&.bg_beg {
		@media (min-width: 769px) {
			padding-bottom: 240rem;
		}
		@media (max-width: 768px) {
			padding-bottom: 144rem;
		}
	}
}

/* PCボックス幅 */
*[class*="box"] {
	margin-inline: auto;
}
@media (min-width: 769px) {
	.box_wide {
		max-width: 1280rem;
	}
	.box_mid {
		max-width: 1080rem;
	}
	.box_slim {
		max-width: 880rem;
	}
}
@media (max-width: 768px) {
	.box_wide,
	.box_mid,
	.box_slim {
		width: 402rem;
	}
}

/* ナビゲーション */
.page_nav_list {
	& li {
		line-height: 2;

		& a {
			justify-content: space-between;
		}
		& button.category {
			display: block;
		}
	}
}

/* PC_サイドバー */
@media (min-width: 769px) {
	.has_sidebar {
		display: flex;
		align-items: flex-start;
		gap: 80rem;

		& .wrapper {
			flex: 1;
			min-width: 0;
		}
	}
	.sidebar {
		flex-shrink: 0;
		position: sticky;
	}
	.sidebar_in {
		padding-right: 8rem;
		scrollbar-color: var(--gray) transparent;
		scrollbar-width: thin;
	}
}

/* SP_画面に固定 */
@media (max-width: 768px) {
	.has_sidebar {
		position: relative;
		z-index: 10;
	}
	.sidebar_ttl {
		height: 60rem;
		display: grid;
		place-content: center;
		position: relative;

		&::after {
			content: '';
			margin-block: auto;
			position: absolute;
			inset: 0 auto;
			right: 32rem;
		}
		& span {
			font-size: 12rem;
			font-weight: 500;
		}
	}
	.sidebar_in {
		position: absolute;
		opacity: 0;
		visibility: hidden;

		&.open {
			opacity: 1;
			visibility: visible;
		}
	}

	/* 下部固定 */
	.sp_page_btm {
		position: fixed;
		inset: auto 0 60rem;
		opacity: 0;
		visibility: hidden;

		&.visible {
			opacity: 1;
			visibility: visible;
		}

		& .sidebar_ttl {
			width: 100%;
			background-color: var(--beige);

			&::after {
				width: 6rem;
				height: 14rem;
				background: url('/images/icon/open.svg') no-repeat center / 100% auto;
			}
		}
		& .sidebar_in {
			inset: auto 0 0;
			translate: 0 100vh;

			&.open {
				translate: 0 0;
			}
		}
		& .page_nav_list {
			background-color: var(--beige);
			border-radius: 5rem 5rem 0 0;
			padding: 40rem 24rem;
			overflow-y: scroll;

			& a,
			& span {
				padding-block: 4rem;
			}
		}
	}
}


/* PCのみ横並び */
.layout_flex {
	@media (min-width: 769px) {
		display: flex;

		&.center {
			justify-content: center;
		}
		&.between {
			justify-content: space-between;
		}
	}
	@media (max-width: 768px) {
		display: grid;
	}
}
/* グリッド */
.layout_grid {
	display: grid;
}

/* ループ */
.loop_wrap {
	overflow: hidden;

	& span {
		white-space: nowrap;
	}
	& .loop_track {
		width: max-content;
		display: flex;
		gap: 0;
		animation-name: ani-loop;
		animation-timing-function: linear;
		animation-iteration-count: infinite;
		will-change: transform;
		backface-visibility: hidden;
		perspective: 1000;
		transform: translateZ(0);
		transform-style: preserve-3d;
		backface-visibility: hidden;
	}
	& .loop_in {
		display: flex;
		flex-shrink: 0;
	}
}
/* PC_アニメーションスピード */
@media (min-width: 769px) {
	.loop_track {
		animation-duration: 35s;
	}
}
/* SP_アニメーションスピード */
@media (max-width: 768px) {
	.loop_track {
		animation-duration: 30s;
	}
}
@keyframes ani-loop {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

/* 色変え */
.bg-change,
.bg-change * {
	transition: all .3s ease-out;
}

/* 背景をオレンジに変更 */
.is-color-change .bg-change.orange {
	background-color: var(--lucia-orange);

	/* 中身のテキストを白に変更 */
	& span,
	& p,
	& a,
	& .txt {
		color: var(--white);
	}
	/* パンくずリストを白に変更 */
	& .breadcrumb_list li {
		color: var(--white);

		&::after {
			background-color: var(--white);
		}
	}
	/* ヘッダー内の画像を白に変更 */
	& img {
		filter: brightness(0) invert(1);
	}
	/* ヘッダーのカーブを透明に変更 */
	@media (min-width: 769px) {
		& .page_header::after {
			background-color: transparent;
			transition: all .3s ease-out;
		}
	}
	@media (max-width: 768px) {
		& .page_header::before,
		& .page_header::after {
			display: none;
		}
	}
}

/* 色変え時ヘッダー挙動 */
.is-color-change #header {
	& .logo img {
		filter: brightness(0) invert(1);
	}

	/* PC */
	@media (min-width: 769px) {
		background-color: transparent;

		& .nav_ttl,
		& button {
			color: var(--white);

			&::after,
			& .icon::after {
				background-color: var(--white);
			}
		}
		& .btn {
			background-color: var(--white);
			color: var(--lucia-orange);

			& .icon::before {
				background-color: var(--lucia-orange);
			}

			&:hover {
				background-color: var(--lucia-orange);
				color: var(--white);
				border-color: var(--white);

				& .icon::before {
					background-color: var(--white);
				}
			}
		}
	}
}

/* ホバーアニメーション付き角丸画像 */
.hov_img {
	display: block;
	overflow: hidden;
}

/* ホバーアニメーション（PCのみ） */
@media (any-hover: hover) {

	/* ボタン */
	/* オレンジベタ → オレンジ線 */
	a.btn.bg_ora:hover {
		background-color: var(--white);
		color: var(--lucia-orange);

		& .icon::before,
		&::after {
			background-color: var(--lucia-orange);
		}
	}

	/* 白ベタ → 白線 */
	a.btn.bg_wht:hover {
		background-color: transparent;
		color: var(--white);

		& .icon::before,
		&::after {
			background-color: var(--white);
		}
	}

	/* グレーベタ → グレー線 */
	a.btn.bg_gre:hover {
		background-color: var(--white);
		color: var(--mens-green);

		& .icon::before,
		&::after {
			background-color: var(--mens-green);
		}
	}

	/* ブルーベタ → ブルー線 */
	a.btn.bg_blue:hover {
		background-color: var(--white);
		color: var(--blue);

		& .icon::before,
		&::after {
			background-color: var(--blue);
		}
	}

	/* 線ボタン → オレンジベタ */
	a.btn.hov_bg_ora:hover {
		background-color: var(--lucia-orange);
		color: var(--white);
		border-color: var(--lucia-orange);

		& .icon::before,
		&::after {
			background-color: var(--white);
		}
	}

	/* 線ボタン → 線オレンジ */
	a.btn.hov_bor_ora:hover {
		border-color: var(--lucia-orange);
		color: var(--lucia-orange);

		& .icon::before,
		&::after {
			background-color: var(--lucia-orange);
		}
	}

	/* hover時画像拡大 */
	a:hover .hov_img img {
		scale: 106% 106%;
	}

	/* アイコン色変え */
	a:hover .icon_gray {
		filter: var(--filter-orange);
	}
}