@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* @font-face {
	font-family: "Yu Gothic M";
	src: local("Yu Gothic Medium");
} */

/* @font-face {
	font-family: "Yu Gothic M";
	src: local("Yu Gothic Bold");
	font-weight: bold;
} */

/* ---------------------------------------------
	変数
---------------------------------------------*/
:root {
	--my-color: firebrick;
	/* メインの文字色 */
	--my-text-color: #4d362e;
	--my-text-color-75: color-mix(in srgb, var(--my-text-color) 75%, transparent);
	--color-1: dimgray;
	--color-2: gray;
	--color-3: darkgray;
	--color-4: silver;
	/* --color-5: lightgray; */
	/* --color-6: gainsboro; */
	--light-bg-color: whitesmoke;

	/* メインフォント + アクセント用フォント1 + アクセント用フォント2*/
	/* --my-fonts: -apple-system, BlinkMacSystemFont, "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "Helvetica Neue", HelveticaNeue, Helvetica, Arial, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif; */
	--my-fonts: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Segoe UI", "Meiryo", sans-serif;
	--my-sub-fonts: "Jost";
	--my-sub-fonts2: "Montserrat Alternates";

	--whiteback-padding: 2.0rem 2.5rem;
	--whiteback-br: 0.5rem;

	/* 汎用ライン */
	--my-line: url(../img/line.png);
	--my-line2: url(../img/line2.png);
	--my-line3: url(../img/line3.png);

	/* 幅・高さ */
	--footer-height: 240px;
	--header-height2: 64px;
	--footer-height2: 192px;
	--logo-width: 288px;
	--logo-height: 128px;
	--logo-size: var(--percent100);

	--aspect-1-1: 1 / 1;
	--aspect-3-1: 3 / 1;
	--aspect-4-1: 4 / 1;
	--aspect-5-1: 5 / 1;
	--aspect-7-2: 7 / 2;
	--aspect-16-9: 16 / 9;

	/* メインの文字色・アクセントカラーを薄くしたバリエーション（自動作成されるので変更不要です） */
	--text-color-10: color-mix(in srgb, var(--my-text-color) 10%, transparent);
	--text-color-20: color-mix(in srgb, var(--my-text-color) 20%, transparent);
	--text-color-30: color-mix(in srgb, var(--my-text-color) 30%, transparent);
	--text-color-50: color-mix(in srgb, var(--my-text-color) 50%, transparent);
	--text-color-70: color-mix(in srgb, var(--my-text-color) 70%, transparent);

	--accent1: color-mix(in srgb, var(--my-color) 30%, transparent);
	--accent2: color-mix(in srgb, var(--my-color) 20%, var(--sub-bg-color));

	/* レイアウトボックスのドロップシャドウ */
	--shadow: drop-shadow(0 0 0.15rem var(--text-color-70));
	/* --shadow: -moz-drop-shadow(0 0 0.15rem var(--text-color-70)); */
	/* --shadow: -webkit-drop-shadow(0 0 0.15rem var(--text-color-70)); */

}


/* 初期化
---------------------------------------------*/

html {
	font-size: var(--percent100);
}

body {
	font-family: var(--my-sub-fonts), var(--my-fonts);
	color: var(--my-text-color-75);
}

ul,
ul li,
ul li a,
ul li figure {
	position: relative;
}

ul li img,
ul li a img {
	display: block;
	width: var(--percent100);
	height: var(--percent100);
	object-fit: cover;
	object-position: 50% 50%;
	transition: .2s linear;
}

figure {
	margin: auto;
	padding: 0;
}

.row {
	width: var(--percent100);
}

/* .subfonts {
	font-family: var(--my-sub-fonts);
} */

.adana {
	display: block;
	margin: 0 auto 0 0;
}

.kyoukai {
	border: 1px solid var(--my-black);
}

.space {
	width: var(--percent100);
	margin: auto;
	padding: 2.5rem 0;
}

.gizagiza {
	width: 100%;
	height: 100%;
	background: var(--my-line3) repeat-y center top;
}

.gizagiza hr {
	height: 0;
	background-color: transparent;
	border: none;
}

.break {
	margin: 3.0rem 0;
	padding: 0;
	color: transparent;
	/* height: 3.0rem; */
	background-color: transparent;
	border-top: 1px dashed var(--my-black);
	border-bottom: none;
	border-right: none;
	border-left: none;
	opacity: 1.0;
}

.yohaku hr {
	margin: 0;
	padding: 0;
	height: 0;
	/* background: linear-gradient(-180deg, var(--my-black), var(--color-1)); */
	border: 1px solid var(--color-1);
}

/* .st0 {
	fill: var(--color-7);
	fill-opacity: 1.0;
} */

/* 左に注意アイコン*/

.exclamation {
	/* display: inline-block; */
	width: auto;
	margin: 0;
	padding: 0 0.1rem;
	text-indent: 1rem;
	font-size: 0.8rem;
}

.exclamation::before {
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f071";
	margin: 0 0.2rem 0 0;
	color: var(--my-text-color);
}

/* Twemoji */

.emoji {
	height: 1em;
	width: 1em;
	margin: 0 .05em 0 .1em;
	vertical-align: -0.1em;
}

/* ---------------------------------------------
   アンカー（リンク装飾）
--------------------------------------------- */

a {
	color: var(--my-color);
}

a:hover,
a:active {
	color: var(--my-black);
}

.opacity-half img {
	transition: opacity 0.2s ease-in-out;
}

.opacity-half:hover img {
	opacity: 0.5;
}

/* ハイライト
---------------------------------------------*/

::selection {
	color: var(--my-black);
	background-color: var(--my-color);
}

/* 非表示
---------------------------------------------*/

#pageTop {
	text-indent: var(--percent100);
	white-space: nowrap;
	overflow: hidden;
	margin: 0 auto;
}

/* 強調
---------------------------------------------*/

em {
	font-style: normal;
}

strong {
	font-weight: bold;
	/* border-bottom: 4px solid var(--color-1); */
}

/* 半透明 */

.color50 {
	color: var(--text-color-50);
}

mark {
	font-weight: bold;
	margin: 0 0.2em;
	padding: 0 0.2em;
	background-color: transparent;
	background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, var(--accent1) 50%);
}


/* ---------------------------------------------
    見出し
--------------------------------------------- */

/* h2 */
h2 {
	margin: 3.0rem auto;
	padding: 0;
	background-color: transparent;

	img {
		display: block;
		width: auto;
		height: auto;
		margin: 0 auto;
		padding: 0;
		object-fit: contain;
	}
}

/* h2:first-letter {
	color: var(--my-black);
} */

.notext {
	/* テキスト非表示 */
	text-indent: var(--percent100);
	white-space: nowrap;
	overflow: hidden;
}

/* h3 */

h3 {
	display: block;
	position: relative;
	width: var(--percent100);
	margin: 1.5rem 0 1.5rem -0.15rem;
	padding: 0;
	font-size: clamp(1.2rem, 2.4cqw, 1.5rem);
	font-weight: 500;
	line-height: 1.8;
	color: var(--my-text-color);
	font-family: var(--my-sub-fonts2), var(--my-fonts);
	letter-spacing: 0;
}

h3:first-child {
	margin: 0 0 1.5rem -0.15rem;
}

/* h4（参考：https://pote-chil.com/css-stock/ja/heading#33） */
h4 {
	/* position: relative; */
	width: var(--percent100);
	max-width: var(--percent100);
	margin: 1.0rem auto 1.0rem;
	padding: 0;
	font-size: 1.2rem;
	color: var(--my-white);
	text-align: left;
	display: block;
	background: transparent;
}

h4::after {
	display: none;
}

h4 {
	border-bottom: 3px solid transparent;
}

h4 span {
	display: inline-block;
	position: relative;
	padding: 0 .4em .2em;
	color: var(--my-text-color);
}

h4 span::before {
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--my-color);
	content: '';
}

/* ---------------------------------------------
    ヘッダー
--------------------------------------------- */

header {
	margin: 0 auto;
	/* background-image: url("../img/st.gif"); */
	/* background-color: var(--my-black); */
	z-index: 1;
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
	font-size: 0.8rem;
	color: var(--my-white);

	.sitetoplogo {
		width: 360px;
		height: 100px;
		margin: 0 auto;

		img {
			display: block;
			width: 100%;
			height: 100%;
			object-fit: contain;
			/* margin: 0 auto; */
			transition: 0.2s ease-in-out;
		}

		img:hover {
			opacity: 0.5;
		}
	}

	a {
		color: var(--my-white);
	}

	a:hover,
	a:active {
		color: var(--my-color);
	}

	/* ホバーfigureエフェクト（参考：https://www.nxworld.net/tips/css-image-hover-effects.html）*/

	figure {
		width: 980px;
		background-color: var(--color-1);

		img {
			width: var(--percent100);
			max-height: 560px;
			object-fit: cover;
			object-position: 50% 50%;
			opacity: 1;
			transition: 0.2s ease-in-out;
		}

	}

	figure:hover img {
		opacity: 0.5;
	}
}

/* ---------------------------------------------
    コンテナ
--------------------------------------------- */

.container,
.container .row {
	max-width: var(--percent100);
	z-index: 0;
	margin: 0 auto;
	container-type: inline-size;
}

.whiteback {
	height: var(--percent100);
	margin: 0 auto;
	padding: var(--whiteback-padding);
	border-radius: var(--whiteback-br);
	background-color: var(--my-white);
	color: var(--my-text-color-75);
	filter: var(--shadow);
	/* background-image: url(../img/background/paper-01.png); */
}

/* ---------------------------------------------
    フッター(参考：https://www.tipdip.jp/tips_posts/production/2213/)
--------------------------------------------- */

footer {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	/* height: var(--footer-height); */
	font-size: 0.8rem;
	/* color: var(--my-white); */
	/* background-color: var(--my-black); */

	figure:hover img {
		opacity: 0.7;
	}

	a {
		color: var(--my-white);
	}

	a:hover,
	a:active {
		color: var(--my-color);
	}
}

/* footer .row {
	justify-content: center;
	align-items: center;
	align-self: center;
} */

/* footer div {
	flex-shrink: 0;
} */

/* .sitelogo {
	display: block;
	text-indent: var(--percent100);
	white-space: nowrap;
	overflow: hidden;
	margin: 0 auto;
	padding: 0;
	width: var(--logo-width);
	height: var(--logo-height);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: var(--logo-size);
	background-image: url(../img/logo_off.png);
	
} */

/* .sitelogo:active,
.sitelogo:hover {
	background-image: url(../img/logo_on.png);
} */

/* .sub footer .sitetoplogo {
	width: 500px;
height: 100px;
} */

/* ---------------------------------------------
   メインページ用
--------------------------------------------- */

.main {
	header {
		background-color: var(--my-white);

		img {
			width: var(--percent100);
			height: 144px;
			margin: 0 auto;
			object-fit: cover;
			object-position: 50% 50%
		}
	}
}

/* ---------------------------------------------
	サブページ用
--------------------------------------------- */

.sub {

	background-color: var(--light-bg-color);

	main,
	.container {
		margin: 0 auto;
		padding: 5vw 0;
	}

	footer {
		height: var(--footer-height);
		color: var(--my-white);
		background-color: var(--my-black);

		.sitetoplogo {
			margin: 0 auto;

			img {
				display: block;
				width: 240px;
				height: 100px;
				object-fit: contain;
				margin: 0 auto;
				transition: 0.2s ease-in-out;
			}

			img:hover {
				opacity: 0.5;
			}
		}
	}
}

/* ---------------------------------------------
   子(iframe)ページ用
--------------------------------------------- */

/* .iframe {
	padding-bottom: 0;
}

.iframe .container {
	width: 100vw;
	min-height: 100vh;
} */

/* ---------------------------------------------
   キャラクター＆ギャラリーページ用
--------------------------------------------- */

.gallery header {
	position: fixed;
	top: 0;
	left: 0;
	height: var(--header-height2);
	padding: 0 1.5rem;
	color: var(--color-1);
	background: rgb(255, 255, 255, 0.5);
	z-index: 2;
}

.gallery header h2 {
	margin: 0;
	padding: 0;
	height: var(--percent100);
	color: var(--color-1);
	background: none;
	line-height: var(--header-height2);
	font-family: var(--my-sub-fonts);
	font-size: 2.0rem;
}

.gallery footer {
	bottom: 0;
	height: var(--footer-height2);
	background-color: var(--my-white);
	z-index: 1;
}

.gallery footer a {
	color: var(--color-1);
}

.gallery .container {
	position: relative;
	top: 0;
	width: var(--percent100);
	max-width: var(--percent100);
	/* margin: 0 auto; */
	/* padding: 0; */
	text-align: center;
	background-color: var(--my-white);
	z-index: 1;
}

.gallery .container img {
	display: block;
	width: auto;
	height: auto;
	max-width: var(--percent100);
	max-height: var(--percent100);
	margin: 5.0rem auto;
	object-fit: contain;
}

/*
   スピナー（SpinKit：https://tobiasahlin.com/spinkit/）
--------------------------------------------- */

.loading {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--percent100);
	height: var(--percent100);
	background-color: rgb(255, 255, 255, 0.5);
	z-index: 9999;
}

.spinner {
	margin: auto;
	width: 60px;
	height: 40px;
	text-align: center;
	font-size: 10px;
}

.spinner>div {
	background-color: var(--color-1);
	height: var(--percent100);
	width: 6px;
	display: inline-block;
	margin: 0 0.1rem;
	animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
	animation-delay: -1.1s;
}

.spinner .rect3 {
	animation-delay: -1.0s;
}

.spinner .rect4 {
	animation-delay: -0.9s;
}

.spinner .rect5 {
	animation-delay: -0.8s;
}

@keyframes sk-stretchdelay {

	0%,
	40%,
	100% {
		transform: scaleY(0.4);
	}

	20% {
		transform: scaleY(1.0);
	}
}

/* ---------------------------------------------
   ページトップボタン
--------------------------------------------- */

#pageTop {
	width: 96px;
	height: 96px;
	position: fixed;
	z-index: 1000;
	bottom: 60px;
	right: 30px;
}

#pageTop a {
	background-image: url("../img/pagetop_off.png");
}

#pageTop a:hover,
#pageTop a:active {
	background-image: url("../img/pagetop_on.png");
}

#pageTop a,
#pageTop a:hover,
#pageTop a:active {
	display: block;
	z-index: 999;
	width: var(--percent100);
	height: var(--percent100);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: var(--percent100);
}

/* ---------------------------------------------
   タブ切り替え・アコーディオン（https://www.omakase.net/blog/2020/10/css-tab20201023.html）
--------------------------------------------- */
/*ベース*/
section.typeC .tabLabel {
	/*タブ*/
	margin-bottom: -1px;
	padding: 5px 10px;
	display: block;
	color: #444;
	background: rgba(0, 0, 0, .3);
	cursor: pointer;
	transition: .3s;
}

section.typeC .tabLabel::before {
	margin-right: .5em;
	font-weight: 700;
	font-family: 'Font Awesome 6 Free';
	content: "\f105";
}

section.typeC input {
	/* ラジオボタン非表示 */
	display: none;
}

section.typeC .content {
	/*本文*/
	height: 0;
	padding: 0 15px;
	overflow: hidden;
	opacity: 0;
	transition: .3s;
	position: relative;
}

section.typeC .content a img {
	/*image*/
	max-width: 50%;
	object-fit: contain;
}

/*アクティブ設定*/
section.typeC input:checked+.tabLabel {
	color: #fff;
	background: rgba(0, 0, 0, .7);
}

section.typeC input:checked+.tabLabel::before {
	margin-right: .5em;
	font-weight: 700;
	font-family: 'Font Awesome 6 Free';
	content: "\f107";
}

section.typeC input:checked+.tabLabel+.content {
	height: auto;
	margin-bottom: -1px;
	padding: 1.5rem;
	overflow: auto;
	/* border: 1px solid var(--color-4); */
	opacity: 1;
}


/* ---------------------------------------------
   ：デスクトップ
--------------------------------------------- */

@media (max-width: 992px) {

	:root {
		--logo-width: 192px;
		/* --logo-height: 96px; */
		/* --logo-size: 75%; */
	}

	header figure {
		width: var(--percent100);
		padding: 0;
	}

}

/* ---------------------------------------------
   ：タブレット
--------------------------------------------- */

@media (max-width: 736px) {

	:root {
		/* --logo-width: 288px; */
		--logo-height: 96px;
		/* --logo-size: 50%; */
		--whiteback-padding: 1.0rem 1.5rem;
	}

	/* footer {
		justify-content: flex-start;
	} */

	footer p {
		text-align: center;
	}

	#pageTop {
		width: 64px;
		height: 64px;
		bottom: 30px;
		right: 15px;
	}

	header figure img {
		width: var(--percent100);
		max-width: var(--percent100);
		padding: 0;
	}

	/* .container .row {
		justify-content: space-around;
	} */

	section.typeC .content a img {
		/*image*/
		max-width: 75%;
	}
}

/* ---------------------------------------------
   ：横モバイルサイズ
--------------------------------------------- */

@media (max-width: 576px) {

	:root {
		--footer-height: 312px;
		--footer-height2: 240px;
	}

	.adana {
		display: none;
	}

	header {
		.sitetoplogo {
		width: 75%;
		/* height: 100px; */
	}
	}

	.sub {

		background-color: var(--light-bg-color);

		main,
		.container {
			margin: 0 auto;
			padding: 5vw 0;
		}

		footer {
			.sitetoplogo {
				margin: 0 auto;

				img {
					width: 180px;
					/* height: 100px; */
				}
			}
		}
	}

	h2 img {
		object-fit: scale-down;
		/* display: inline-block; */
		/* width: var(--percent100); */
		max-width: calc(var(--percent100) - 10%);
	}

	#pageTop {
		position: absolute;
		width: 64px;
		height: 64px;
		bottom: 1.5rem;
		right: 50%;
		left: 50%;
		transform: translate(-50%, 0);
	}

	#pageTop img {
		width: var(--percent100);
	}

	section.typeC .content a img {
		/*image*/
		max-width: var(--percent100);
	}

	.gallery .container img {
		min-width: 100px;
		max-width: 100%;
		flex-shrink: 0;
	}
}