@charset "utf-8";

html {
	/* 色指定をoklchに変更したいね */
	--background-body: oklch(96% 0 0);
	--background-header: oklch(28% 0 0);
	--background-nav: oklch(99.9% 0 0);
	--header-menu: oklch(96% 0 0);
	--header-text: oklch(99.9% 0 0);
	--nav-border: oklch(75% 0 0);
	--text-color: oklch(5% 0 0);
	--text-color-back: oklch(96% 0 0);
	--top-menu: oklch(99.9% 0 0);
	--shadow-color: oklch(35% 0 0 / 40%);
	--link-normal: oklch(55% 0.13 238);
	--link-visited: oklch(65% 0.20 318);

	--primary-color-main: oklch(55% 0.1029 149.84);
	--accent-color-main: oklch(88.82% 0.1455 99.53);
}


	html.Dark {
		--background-body: oklch(17% 0.015 149.84);
		--background-header: oklch(20% 0 0);
		--background-nav: oklch(30% 0 0);
		--header-menu: oklch(45% 0 0);
		--header-text: oklch(99.9% 0 0);
		--nav-border: oklch(75% 0 0);
		--text-color: oklch(96% 0 0);
		--text-color-back: oklch(15% 0 0);
		--top-menu: oklch(30% 0 0);
		--shadow-color: oklch(5% 0 0 / 70%);

		--link-normal: oklch(77% 0.13 238);
		--link-visited: oklch(77% 0.2 318);
		--primary-color-main: oklch(55% 0.1029 149.84);
		--accent-color-main: oklch(88.82% 0.1455 99.53);
	}


/* reset */
* {
	vertical-align: bottom;
	box-sizing: border-box;
	margin: 0;
	border: none;
	padding: 0;
	max-width: 100%;
	color: var(--text-color);
	font-weight: normal;
	font-family:
		"PT Sans",
		"Hiragino Kaku Gothic ProN", "Hiragino Sans",
		"BIZ UDPGothic",
		sans-serif;
	word-break: break-word;
}

.pt_narrow {
	font-family: "PT Sans Narrow", sans-serif !important;
	letter-spacing: 0px;
}

img, picture {
	display: inline-block;
}

a {
	display: inline-block;
	text-decoration: none;
}

a:hover {
	opacity: 0.6;
}

li {
	list-style: none;
}

h1,
h2,
h3,
h4 {
	color: var(--text-color);
	font-weight: bold;
	font-feature-settings: "palt";
	letter-spacing: 1px;
}

p {
	text-align: justify;
}

body {
	background-color: var(--background-body);
	scroll-behavior: smooth;
	line-height: 1.5;
}


.clear {
	clear: both;
}

/* ヘッダー */
header {
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0px 2px 4px 0px var(--shadow-color);
	background: var(--background-header);
	height: 40px;
	color: var(--header-text);
}

.headermenu summary {
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	background: var(--header-menu);
	padding-right: 10px;
	width: 90px;
	height: 40px;
	font-size: 14px;
	line-height: 1;
}

.headermenu[open] summary {
	opacity: 0.6;
}

.headermenu summary::after {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	border-width: 0px 0px 40px 15px;
	border-style: solid;
	border-color: transparent transparent var(--background-header) transparent;
	width: 0;
	height: 0;
	content: "";
}

.headermenu nav {
	display: block;
	position: absolute;
	top: 40px;
	left: 0;
	z-index: 10;
	box-shadow: 4px 4px 4px -2px var(--shadow-color);
	background-color: var(--background-nav);
	width: 200px;
	height: fit-content;
}

.headernav li {
	border-bottom: solid 1px var(--nav-border);
}

.headernav a {
	display: block;
	position: relative;
	padding: 15px 10px;
	font-size: 15px;
	line-height: 1;
}

.snslink {
	display: flex;
	justify-content: space-between;
	gap: 5px;
	padding: 15px 30px 0;
}

.snslink a {
	padding: 5px;
}

.headermenu[open] summary+* {}

.headermenu[open] summary::before {
	position: fixed;
	cursor: auto;
	inset: 0;
	content: '';
}


.maintitle {
	align-self: center;
	padding-right: 90px;
	width: 100%;
	color: var(--header-text);
	font-size: 16px;
	text-align: center;
}

/* topページ */
.toppage {
	background-color: var(--background-body);
	min-height: calc(100vh - 40px);
}

.topintro {
	background-color: var(--primary-color-main);
	padding: 50px 0;
}

.topintro h1 {
	color: var(--accent-color-main);
	font-weight: bold;
	font-size: 28px;
}

.topintro p {
	color: var(--text-color);
}

.topintro>* {
	margin: 0 auto 0;
	max-width: 1010px;
}

.topmenu {
	margin: 50px auto 50px;
	padding: 15px;
	max-width: 1010px;
}

.topmenu ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}

.topmenu li {
	box-shadow: 0px 5px 10px 0px var(--shadow-color);
	border-radius: 8px;
	background: var(--top-menu);

}

.topmenu a {
	display: flex;
	position: relative;
	flex-direction: column;
	gap: 5px;
	padding-bottom: 10px;
	height: 100%;
}

.topmenu a::after {
	display: block;
	position: absolute;
	top: 160px;
	left: 0;
	border-width: 0px 300px 20px 0px;
	border-style: solid;
	border-color: transparent transparent var(--top-menu) transparent;
	width: 0;
	height: 0;
	content: "";
}

.topmenu a img {
	border-radius: 8px 8px 0 0;
	width: 100%;
	height: 180px;
	object-fit: cover;
	object-position: top;
}


.topmenu a h2,
.topmenu a p {
	padding: 0 10px;
}

.topmenu a h2 {
	font-weight: bold;
	font-size: 20px;
}

.topmenu a p {
	font-size: 14px;
}

/* ダークモード関連 */
.ModeButton button {
	cursor: pointer;
	margin: 15px;
	box-shadow: 0px 2px 4px 0px var(--shadow-color);
	border-radius: 6px;
	background-color: var(--background-header);
	padding: 10px 0;
	width: calc(100% - 30px);
	color: var(--header-text);
}


/* ライトモードにするボタン：ライトモード時非表示 */
.ModeButton .ModeButton--light {
	display: none;
}

/* ライトモードにするボタン：ダークモード時表示 */
html.Dark .ModeButton .ModeButton--light {
	display: block;
	background-color: var(--header-text);
	color: var(--background-header);
}

/* ダークモードにするボタン：ライトモード時表示 */
.ModeButton .ModeButton--dark {
	display: block;
}

/* ダークモードにするボタン：ダークモード時非表示 */
html.Dark .ModeButton .ModeButton--dark {
	display: none;
}


/* 無色透名祭用CSS */

.mushoku {
	margin: 30px auto 0;
	padding: 0 15px;
	width: 700px;
	text-align: center;
}

.btn_mushoku {
	display: inline-block;
	margin-top: 20px;
	box-shadow: 0px 10px 12px -5px #777777;
	padding: 10px 0;
	width: 500px;
	max-width: 90%;
	font-weight: bold;
	font-size: 1.6em;
	text-align: center;
}


/* クリックしたら波紋が広がる */
.gradient1 {
	/*ボタンの形状*/
	display: inline-block;
	/*アニメーションの指定*/
	transition: all 0.3s ease-out;
	outline: none;
	border-radius: 30px;
	/*背景の色と形状*/
	background: linear-gradient(270deg, #0083c1 0%, #1029a4 25%, #7e0aaa 51%, #c4064b 100%);
	background-position: 99% 55%;
	background-size: 200% auto;
	padding: 18px 0px;
	color: #fff;
	text-decoration: none;
}

/*hoverした際の、背景の場所とテキスト色の変更*/
.gradient1:hover {
	background-position: 1% 50%;
	color: #fff;
}

.mushoku_mada {
	background: linear-gradient(270deg, #484848 0%, #bbb 25%, #939393 51%, #404040 100%);
	pointer-events: none;
}

.btn_mushoku-mini {
	padding: 5px 0;
	width: 500px;
	max-width: 90%;
	font-size: 1.2em;
}

/* 超検索howto */
.search_howto {
	margin: 40px auto;
	width: 1000px;
}

.search_howto a {
	color: var(--link-normal);
}


.search_howto h2 {
	margin-top: 30px;
	font-size: 24px;
}

#rireki~p {
	margin-top: 10px;
}



/* TOPへ */
#page-top {
	position: fixed;
	right: 8px;
	bottom: 8px;
	opacity: 0.7;
	z-index: 10;
	border-radius: 50%;
	background-color: #505168;
	width: 40px;
	height: 40px;
}

.page-top-icon {
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #ffffff;
	font-size: 16px;

	fill: #ffffff;
}

#sp_menu_btn {
	display: none;
}

/* AJAX等のローディングすべて */
.loader,
.loader:after {
	border-radius: 50%;
	width: 10em;
	height: 10em;
}

.loader {
	position: relative;
	transform: translateZ(0);
	animation: load8 1.1s infinite linear;
	margin: 60px auto;
	border-top: 1.1em solid rgba(24, 68, 36, 0.2);
	border-right: 1.1em solid rgba(24, 68, 36, 0.2);
	border-bottom: 1.1em solid rgba(24, 68, 36, 0.2);
	border-left: 1.1em solid #184424;
	font-size: 10px;
	text-indent: -9999em;
}

@-webkit-keyframes load8 {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes load8 {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}


.marT10 {
	margin-top: 10px !important;
}

.marT20 {
	margin-top: 20px !important;
}

.marT30 {
	margin-top: 30px !important;
}

.marT40 {
	margin-top: 40px !important;
}




@media screen and (max-width: 640px) {
	body {
		font-size: 0.9em;
	}

	.spnone {
		display: none;
	}

	.topintro {
		padding: 20px 15px;
	}

	.topmenu {
		margin: 15px auto 50px;
	}

	.topmenu ul {
		gap: 15px;
	}

	.topmenu a {
		display: grid;
		grid-column-gap: 10px;
		grid-row-gap: 2px;
		grid-template-columns: 120px auto;
		padding-bottom: 0;
	}

	.topmenu a img {
		grid-area: 1 / 1 / 3 / 2;
		border-radius: 8px 0 0 8px;
		width: 120px;
		height: 100%;
		min-height: 90px;
	}

	.topmenu a h2 {
		grid-area: 1 / 2 / 2 / 3;
		align-self: end;
		padding: 10px 10px 0 0;
		font-size: 18px;
		line-height: 1.4;
	}

	.topmenu a p {
		grid-area: 2 / 2 / 3 / 3;
		padding: 0 10px 10px 0;
		font-size: 13px;
	}

	.topmenu a::after {
		display: none;
	}

	.marT10 {
		margin-top: 5px !important;
	}

	.marT20 {
		margin-top: 10px !important;
	}

	.marT30 {
		margin-top: 15px !important;
	}

	.marT40 {
		margin-top: 20px !important;
	}

	.search_howto {
		margin: 40px 0;
		padding: 0 15px;
		width: 100%;
	}

	.search_howto h2 {
		margin-top: 20px;
		font-size: 20px;
	}
}