@charset "utf-8";


/*animation1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {right: -200px;}
	100% {right: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html {
	font-size: clamp(15px, 0.2vw + 14.2px, 17px);	/*画面幅に合わせて15px〜17pxに可変。下でrem管理しているものも連動します。*/
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	-webkit-text-size-adjust: none;
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	line-height: 2.2;		/*行間*/
	overflow-x: hidden;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}


/*section
---------------------------------------------------------------------------*/
/*左は開閉ボタンの列の分（--side-l）を空けます*/
section {
	padding: var(--content-space-v) var(--content-space-l) var(--content-space-v) var(--side-l);
}
:root {--side-l: 120px;}
	@media (max-width:700px) {
	:root {--side-l: var(--content-space-l);}
	}

/*section内の最初と最後の要素のマージンはリセット（余白はsectionのpaddingで管理する為）*/
section > :first-child {margin-top: 0;}
section > :last-child {margin-bottom: 0;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	opacity: 0.8;	/*少しだけ薄くする*/
	text-decoration: none;
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	animation: opa1 0.2s 0.2s both;  /*0.2(2つ目の数字)秒待機後、0.2(1つ目の数字)秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}


/*header（ロゴ。トップページではロゴとメイン画像を横に並べます）
---------------------------------------------------------------------------*/
header {
	padding: 30px var(--content-space-l) 30px var(--side-l);
}

/*ロゴ*/
header .logo {margin: 0;line-height: 1.4;}
header .logo img {
	display: block;
	width: calc(var(--logo-width) * var(--logo-scale, 1));	/*ロゴの幅。theme.cssの--logo-widthに、管理画面「ロゴの大きさ」の倍率を掛けます。*/
	max-width: 100%;
}

/*ロゴがテキストの場合*/
header .logo a {
	display: block;text-decoration: none;
	font-size: calc(var(--logo-font-size) * var(--logo-scale, 1));	/*文字サイズ。theme.cssの--logo-font-sizeに、管理画面「ロゴの大きさ」の倍率を掛けます。*/
	letter-spacing: 0.1em;
	color: inherit;
}

/*トップページ：左にロゴ、右にメイン画像*/
body.home header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 80px 0 80px 100px;	/*上、右、下、左の余白*/
}
body.home header .logo {
	flex: 1;
	display: flex;
	justify-content: center;
}
body.home header .mainimg {
	width: 70vw;	/*メイン画像の幅。画面の70%。*/
	flex-shrink: 0;
}

/*トップページのロゴ（縦長のロゴが合います。管理画面「サイト基本設定」の「メイン画像の上用ロゴ」）*/
body.home header .logo img {
	width: calc(var(--logo-hero-width) * var(--logo-scale, 1));	/*ロゴの幅。theme.cssの--logo-hero-widthに、管理画面「ロゴの大きさ」の倍率を掛けます。*/
}

/*トップページで、ロゴが文字（サイト名）のときは縦書きに*/
body.home header .logo a:not(:has(img)) {
	writing-mode: vertical-rl;	/*縦書き*/
	letter-spacing: 0.3em;
	font-size: calc(var(--logo-font-size) * 1.4 * var(--logo-scale, 1));
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {
	body.home header {
		padding: 80px 0 60px 0;
		gap: 1rem;
	}
	body.home header .mainimg {width: 75vw;}
	body.home header .logo img {	/*縦長のロゴが、メイン画像（幅75vw・4:3）より長くならないように*/
		width: auto;
		max-width: calc(var(--logo-hero-width) * var(--logo-scale, 1));
		max-height: 56vw;	/*メイン画像の高さ（75vw×3/4）*/
	}
	body:not(.home) header {padding: 18px var(--content-space-l) 18px 76px;}	/*左は開閉ボタンの分*/

	/*メイン画像を少し縦長に（4:3）し、文字を小さく*/
	.mainimg:not(.mv-video) .img1 {aspect-ratio: 4 / 3;}
	body .mainimg .text.mv-size-sm h2 {font-size: 16px;}	/*写真が小さいので、文字サイズ（小中大）も小さめに*/
	body .mainimg .text.mv-size-md h2 {font-size: 18px;}
	body .mainimg .text.mv-size-lg h2 {font-size: 20px;}
	.mainimg .text p:not(.btn) {display: none;}
	.mainimg .btn-container {margin-top: 0.5rem;}
	.mainimg .btn a {padding: 0.2em 1.2em;font-size: 0.8rem;}
	}

/*トップページのロゴの後ろの飾り（形がゆっくり変わる円。色は薄いカラーと背景色から作ります）*/
.kazari1, .kazari2 {
	position: absolute;z-index: -1;
	pointer-events: none;
}
.kazari1 {
	animation: kazari 15s linear infinite;	/*15秒で一回り*/
	width: 40vw;height: 40vw;
	top: 18vh;left: -10vw;	/*配置場所。上から、左から。*/
	background: var(--light-color);	/*背景色。theme.cssのlight-colorを読み込みます。*/
	opacity: 0.6;
}
.kazari2 {
	animation: kazari 150s linear reverse infinite;	/*150秒で一回り（逆回転）*/
	width: 22vw;height: 22vw;
	top: -1vh;left: 20vw;	/*配置場所。上から、左から。*/
	background: var(--light-color);	/*下の行に対応していない古いブラウザ用*/
	background: color-mix(in srgb, var(--light-color), var(--light-inverse-color) 12%);	/*薄いカラーを少し濃く*/
	opacity: 0.5;
	overflow: hidden;
}
/*和柄（麻の葉）の線。形は images/pattern1.svg、色は背景色*/
.kazari2::before {
	content: "";
	position: absolute;inset: 0;
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	-webkit-mask: url("../images/pattern1.svg") center center / 100px;
	        mask: url("../images/pattern1.svg") center center / 100px;
}
@keyframes kazari {
	0% {
		border-radius: 61% 39% 65% 35% / 57% 62% 38% 43%;
		transform: scale(1) rotate(0deg);
	}
	50% {
		border-radius: 41% 59% 38% 62% / 62% 41% 59% 38%;
		transform: scale(1.3) rotate(180deg);
	}
	100% {
		border-radius: 61% 39% 65% 35% / 57% 62% 38% 43%;
		transform: scale(1) rotate(360deg);
	}
}
#container {isolation: isolate;}	/*飾りを背景色より上、本文より下に*/
body:not(.home) .kazari1, body:not(.home) .kazari2 {display: none;}


/*文字サイズの設定（「小」「大」ボタンで切り替え）
もしデフォルトを「大」にしたい場合は、jsフォルダのmain.jsを開き「デフォルト設定」のコメントを読んで下さい。
---------------------------------------------------------------------------*/
	/*画面幅700px以上の追加指定（ボタンが出ている画面幅だけ大きくします）*/
	@media (min-width:701px) {

	/*「大」ボタンを押した時の文字サイズ。通常の約1.5倍。rem指定の部分がまとめて大きくなります。*/
	html.f-large {
		font-size: calc(clamp(15px, 0.2vw + 14.2px, 17px) * 1.5);
	}

	}/*追加指定ここまで*/


/*文字サイズ変更ボタン（右上）
---------------------------------------------------------------------------*/
#f-size {
	position: absolute;z-index: 10;
	right: 3%;top: 0px;
	display: flex;
	align-items: center;
	padding: 10px 15px;
	background: var(--light-color);	/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
	border-radius: 0 0 5px 5px;	/*角丸。左上、右上、右下、左下の順番。*/
	box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
	line-height: 1;
}

/*小さな画面では非表示*/
	@media (max-width:700px) {
	#f-size {display: none;}
	}

/*「文字サイズ」のテキスト*/
#f-size p {
	margin: 0 10px 0 0;
	font-size: 15px;	/*文字サイズ。大小を切り替えても変わらないようにpxで指定。*/
}

/*「小」「大」を囲むブロック*/
#f-size ul {
	list-style: none;margin: 0;padding: 0;
	display: flex;
	align-items: center;
	gap: 5px;	/*「小」と「大」の間の隙間*/
}

/*「小」「大」ボタン*/
#f-size li {cursor: pointer;}
#f-size li::before {
	display: block;
	text-align: center;
	border-radius: 3px;
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}
#f-size li#f-small::before {
	content: "小";
	font-size: 16px;
	width: 40px;line-height: 40px;
}
#f-size li#f-large::before {
	content: "大";
	font-size: 28px;
	width: 50px;line-height: 50px;
}

/*選択中のボタン*/
#f-size li.current::before {
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}


/*左に縦書きで出るボタン（管理画面のメニューで「ボタン」にした項目を、js/main.js がここに並べます）
---------------------------------------------------------------------------*/
.side-btns ul {
	list-style: none;margin: 0;padding: 0;
	position: fixed;z-index: 50;
	left: 0px;top: 100px;	/*配置場所。左から、上から。*/
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.side-btns a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100px;	/*幅（左上の開閉ボタンと同じ）*/
	padding: 2.5rem 0;
	text-decoration: none;
	writing-mode: vertical-rl;	/*縦書き*/
	text-orientation: upright;	/*文字の向き*/
	letter-spacing: 0.4em;
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}
.side-btns .btn a {	/*普通のボタンの形・色を打ち消します*/
	border: none;
	border-radius: 0;
	padding: 2.5rem 0;
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}
.side-btns a:hover {filter: brightness(1.1);}
.side-btns .nav-sub {display: none;}
	/*小さな画面では非表示（ボタンは開閉メニューの中に出ます）*/
	@media (max-width:700px) {
	.side-btns {display: none;}
	}

/*メニューのボタンにした項目は、広い画面ではメニューの中には出しません（左のボタンと重複するため）*/
	@media (min-width:701px) {
	#menubar li.btn {display: none;}
	}


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#menubar-overlay {
	display: none;
	position: fixed;
	z-index: 99;	/*#menubar(100)の下、ページの上*/
	top: 0;left: 0;
	width: 100%;height: 100%;
	background: rgba(0,0,0,0.3);	/*半透明の黒。お好みで濃さを調整。*/
}

/*noscroll（メニュー表示中のスクロール禁止用）*/
body.noscroll {
	overflow: hidden;
}


/*開閉メニュー（左上のボタンで開く。どの画面幅でも開閉式です）
---------------------------------------------------------------------------*/
/*メニューブロック共通（画面いっぱいに広がる）*/
#menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 140px var(--content-space-l) 40px var(--side-l);
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}
	@media (max-width:700px) {
	#menubar {padding-top: 90px;}
	}

#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*メニュー全体の幅（1列で、画面の真ん中に）*/
#menubar nav {
	max-width: 480px;
	margin: 0 auto;
}
#menubar nav > ul > li {
	border-bottom: 1px solid var(--bg-border-color);	/*区切り線。theme.cssのbg-border-colorを読み込みます。*/
}

/*メニュー１個あたり（マウスオンで下線が左から伸びます）*/
#menubar a {
	display: block;text-decoration: none;
	position: relative;
	padding: 1rem 0.5rem;
	color: inherit;
	font-size: 1.1rem;
}
#menubar a::after {
	content: "";
	position: absolute;bottom: 0;left: 0;
	width: 100%;height: 2px;
	background: var(--primary-color);	/*下線の色。theme.cssのprimary-colorを読み込みます。*/
	transition: 0.3s;
	transform: scaleX(0);
	transform-origin: left top;
}
#menubar a:hover::after {transform: scaleX(1);}

/*メニューの小さな文字（管理画面「メニュー」の「サブ表記」）*/
#menubar .nav-sub {
	display: block;
	font-size: 0.6em;
	opacity: 0.6;
	line-height: 1.4;
}

/*子メニュー（常に開いた状態で、少し右に）*/
#menubar ul ul {
	display: block !important;
	padding-left: 1.5rem;
}
#menubar ul ul a {padding-block: 0.6rem;font-size: 0.95rem;}
#menubar a.ddmenu::before {display: none;}

/*見出し（管理画面のメニューで「見出し」にした項目）*/
#menubar .menu-heading > span {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--primary-color);
	font-weight: 500;
}

/*ボタンにした項目（小さな画面）*/
#menubar nav > ul > li.btn {border-bottom: none;margin-top: 2rem;text-align: center;}
#menubar li.btn a {
	display: inline-block;
	padding: 0.6em 3em;
	border-radius: 100px;
	background: var(--accent-color);
	color: var(--accent-inverse-color);
}
#menubar li.btn a::after {display: none;}


/*３本バー（ハンバーガー）アイコン設定（左上の四角いボタン。どの画面幅でも出します）
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: block;
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	left: 0px;		/*左からの配置場所*/
	top: 0px;		/*上からの配置場所*/
	width: 100px;	/*ボタンの幅*/
	height: 100px;	/*ボタンの高さ*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
}
	@media (max-width:700px) {
	#menubar_hdr {width: 60px;height: 60px;}
	}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 30%;
	width: 40%;
	height: 1.5px;		/*線の高さ*/
	background: var(--primary-inverse-color);	/*線の色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*以下変更不要*/
#menubar_hdr span:nth-of-type(1) {top: 36%;}
#menubar_hdr span:nth-of-type(2) {top: 50%;}
#menubar_hdr span:nth-of-type(3) {top: 64%;}
#menubar_hdr.ham span:nth-of-type(1) {top: 50%;transform: rotate(-45deg);}
#menubar_hdr.ham span:nth-of-type(2) {opacity: 0;}
#menubar_hdr.ham span:nth-of-type(3) {top: 50%;transform: rotate(45deg);}


/*メイン画像
---------------------------------------------------------------------------*/
.mainimg .slide picture {display: block;width: 100%;height: 100%;}

/*メイン画像全体を囲むブロック*/
.mainimg {
	width: 100%;
	position: relative;
	overflow: hidden;
}

/*３枚の画像の共通設定*/
.mainimg .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s;	/*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。１枚が表示される時間はjsで指定できます。*/
	overflow: hidden;
}

/*１枚目画像（変更不要）*/
.mainimg .img1 {
	position: relative;width: 100%;height: auto;
}

/*写真の左側を大きな角丸に（削除すれば四角になります）*/
.mainimg .slide {
	border-radius: 10vw 0 0 10vw;
}
.mainimg {overflow: visible;}

/*画像全般（変更不要）*/
.mainimg .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;			/*画像をコンテナのサイズに合わせてクリップ*/
    object-position: center;	/*画像の中心を基準に*/
}


/*静止画タイプ・動画タイプ（管理画面「メイン画像のタイプ」で選んだとき）
---------------------------------------------------------------------------
標準はスライドショーなので .slide は重ねて隠す設定になっています。
1枚だけ／動画1本のときは重ねる必要がないので、その打ち消しです。*/
.mainimg.mv-static .slide,
.mainimg.mv-video .slide {
	position: relative;
	opacity: 1;
	pointer-events: auto;
}

/*動画（そのままの縦横比で表示します）*/
.mainimg.mv-video video {
	display: block;
	width: 100%;
}


/*メイン画像上のテキスト
---------------------------------------------------------------------------*/
/*テキストブロックの基本設定（中央配置がデフォルト）*/
.mainimg .slide .text {
	position: absolute;z-index: 1;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 0 var(--content-space-l);	/*余白。上下は0、左右にはtheme.cssのcontent-space-lのサイズを読み込みます。*/
	color: #fff;	/*文字色*/
	text-shadow: 1px 1px rgba(0,0,0,0.5);	/*テキストの影。右へ、下へ。rgbaは影の色。*/
}

/*テキストブロックを中央に配置させたい場合*/
.mainimg .slide .text.center-parts {
	align-items: center;
	text-align: center;
}

/*テキストブロックを左に配置させたい場合*/
.mainimg .slide .text.left-parts {
	align-items: flex-start;
	text-align: left;
}

/*テキストブロックを右に配置させたい場合*/
.mainimg .slide .text.right-parts {
	align-items: flex-end;
	text-align: right;
}

/*キャッチの背景（管理画面「メイン画像」→「文字の背景」で選んだとき）。角丸のボックスにします。*/
.mainimg {
	--mv-textbg-dark: rgba(0,0,0,0.5);	/*「暗い背景」の色。0,0,0は黒の事で0.5は色が50%出た状態。*/
	--mv-textbg-padding: 2vw 3vw;		/*ボックス内の余白。上下、左右。*/
}
.mainimg .text .mv-textbg-light,
.mainimg .text .mv-textbg-dark {
	gap: 1rem;
	border-radius: 5px;	/*角を少し丸くする*/
	width: 60vw;		/*幅。画面幅100% = 100vwです。*/
}

	/*画面幅600px以下の追加指定*/
	@media (max-width:600px) {

	.mainimg .text .mv-textbg-light,
	.mainimg .text .mv-textbg-dark {
		width: 100%;
	}

	}/*追加指定ここまで*/

/*h2（大きな文字）*/
.mainimg .text h2 {
	margin: 0;padding: 0;
	font-weight: 500;	/*テキストの太さ。100〜900まで指定可能。*/
	font-size: max(22px, 4vw);	/*文字サイズ。１文字あたり画面幅の約4%。*/
	line-height: 1.5;
}

/*p（説明テキスト部分）*/
.mainimg .text p {
	margin: 0;
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*メイン画像の文字サイズ（管理画面「文字サイズ」大中小）。既定＝中(mv-size-md)。*/
.mainimg .text.mv-size-sm h2 { font-size: max(18px, 3.2vw); }	/*小*/
.mainimg .text.mv-size-sm p  { font-size: 0.8rem; }
.mainimg .text.mv-size-md h2 { font-size: max(22px, 4vw); }	/*中（既定）*/
.mainimg .text.mv-size-md p  { font-size: 0.9rem; }
.mainimg .text.mv-size-lg h2 { font-size: max(26px, 5vw); }	/*大*/
.mainimg .text.mv-size-lg p  { font-size: 1rem; }

/*メイン画像のボタン（ボタンの見た目は下の「ボタン」の設定を使います）*/
.mainimg .btn-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;	/*2個並べた場合の、間に空けるスペース*/
	margin-top: 1rem;
	text-shadow: none;
}


/*現在表示されているスライドのみをクリック可能にする設定（変更不要）
---------------------------------------------------------------------------*/
.mainimg .slide {
	pointer-events: none; /* デフォルトでクリックを無効にする */
}

.mainimg .slide.active {
    pointer-events: auto; /* 表示中のスライドのみクリックを有効にする */
}


/*現在表示中（インジケーター）のボタン
---------------------------------------------------------------------------*/
/*全体*/
.mainimg .slide-indicators {
    text-align: center;
	position: absolute;
	z-index: 3;
	width: 100%;
	bottom: -30px;	/*ボタンの配置場所（写真の下）*/
	left: 0px;
}
/*１個あたり*/
.mainimg .indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--bg-border-color);	/*未アクティブ時のボタン色。theme.cssのbg-border-colorを読み込みます。*/
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
}
.mainimg .indicator.active {
    background: var(--primary-color);	/*アクティブ時のボタン色。theme.cssのprimary-colorを読み込みます。*/
}


/*ボタン（角の丸いボタン）
---------------------------------------------------------------------------*/
.btn a {
	display: inline-flex;		/*文字とアイコンを横並びにする*/
	align-items: center;		/*縦位置を中央に揃える*/
	justify-content: center;
	gap: 0.5em;
	text-decoration: none;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	border: 2px solid var(--primary-color);	/*枠線の幅、線種、色。theme.cssのprimary-colorを読み込みます。*/
	border-radius: 100px;	/*角丸のサイズ。適当に大きければOK。*/
	padding: 0.3em 3em;
	transition: 0.3s;
}
.btn a:hover {
	background: var(--primary-inverse-color);	/*マウスオン時は反転*/
	color: var(--primary-color);
}

/*背景が白いタイプのボタン*/
.btn.inverse a {
	background: var(--primary-inverse-color);	/*背景色。theme.cssのprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*文字色。theme.cssのprimary-colorを読み込みます。*/
}
.btn.inverse a:hover {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
}

/*アクセントカラーのボタン*/
.btn.accent a {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border-color: var(--accent-color);
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	min-height: 0;
}


/*main
---------------------------------------------------------------------------*/
main {
	container-type: inline-size;
}

/*main内で使用するul,ol要素（リストタグ）*/
main ul,main ol {
	margin-left: 2rem;
	margin-right: 2rem;
}


/*h2見出し（文字が1文字ずつふわっと出ます。js/main.js）
---------------------------------------------------------------------------*/
main h2 {
	margin: 0 0 2rem;	/*見出しの上のマージンはリセット（余白はsectionのpaddingで管理する為）*/
	font-size: 2.2rem;	/*文字サイズ220%*/
	font-weight: 500;
	line-height: 1.5;
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}
	@media (max-width:700px) {
	main h2 {font-size: 1.7rem;}
	}

/*背景色が濃いブロックでは、文字色はブロックに合わせます*/
main :is(.bg1-parts, .bg1-primary-parts, .bg1-accent-parts) h2 {
	color: inherit;
}

/*h2内のspan（見出しの上の小さな英語。管理画面の「装飾テキスト」）*/
main h2 > span:not(.h2char) {
	display: block;
	font-size: 0.4em;
	opacity: 0.6;
}

/*1文字ずつ出す演出（js/main.js が1文字ずつ span.h2char で包みます）*/
main h2 .h2char {
	display: inline-block;
	opacity: 0;
}
main h2.is-show .h2char {
	animation: h2char 0.5s linear both;
}
@keyframes h2char {
	0% {opacity: 0;transform: scale(0.8);}
	100% {opacity: 1;transform: scale(1);}
}

/*h3見出し*/
main h3 {
	font-size: 1.4rem;
	font-weight: 500;
}

/*背景色のあるブロック（上下が波の形）
形は images/wave-top.svg・wave-bottom.svg（点線も入っています）。色はブロックの背景色のまま。
---------------------------------------------------------------------------*/
main section.bg-parts {
	position: relative;
	margin: 50px 0;	/*上下の波の分*/
}
main section.bg-parts::before,
main section.bg-parts::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 50px;	/*波の高さ*/
	background: inherit;	/*ブロックと同じ背景*/
	-webkit-mask: var(--wave) no-repeat center / 100% 100%;
	        mask: var(--wave) no-repeat center / 100% 100%;
	pointer-events: none;
}
main section.bg-parts::before {
	bottom: 100%;
	--wave: url("../images/wave-top.svg");
}
main section.bg-parts::after {
	top: 100%;
	--wave: url("../images/wave-bottom.svg");
}
/*背景色のあるブロックが続くときは、間を詰めます*/
main section.bg-parts + section.bg-parts {margin-top: 100px;}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;display: block;
	background: rgba(0,0,0,0.5);
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.pr a::before {
	content: "";
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	vertical-align: -0.1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6'/><path d='M11 13l9-9'/><path d='M15 4h5v5'/></svg>") no-repeat center / contain;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6'/><path d='M11 13l9-9'/><path d='M15 4h5v5'/></svg>") no-repeat center / contain;
	margin-right: 0.5em;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*bg1-border-parts
---------------------------------------------------------------------------*/
.bg1-border-parts {
	border-top: 1px solid var(--bg-border-color);		/*上の線の幅、線種、var以降は色の事でtheme.cssのbg-border-colorを読み込みます。*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線の幅、線種、var以降は色の事でtheme.cssのbg-border-colorを読み込みます。*/
}


/*bg1-parts
---------------------------------------------------------------------------*/
.bg1-parts {
	background-color: var(--bg-inverse-color);	/*背景色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);		/*文字色。theme.cssのbg-colorを読み込みます。*/
}


/*bg1-primary
---------------------------------------------------------------------------*/
.bg1-primary-parts {
	background-color: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}


/*bg1-light
---------------------------------------------------------------------------*/
.bg1-light-parts {
	background-color: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}


/*bg1-accent
---------------------------------------------------------------------------*/
.bg1-accent-parts {
	background-color: var(--accent-color);		/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}


/*bg-parts（bg1-primary-parts、bg1-light-parts、bg1-accent-partsとセットで使います）
---------------------------------------------------------------------------*/
.bg-parts {
	padding-top: var(--content-space-v, var(--content-space-l));		/*ボックス内の上に空ける余白。sectionと同じ値。*/
	padding-bottom: var(--content-space-v, var(--content-space-l));	/*ボックス内の下に空ける余白。sectionと同じ値。*/
}


/*section
---------------------------------------------------------------------------*/
/*左は開閉ボタンの列の分（--side-l）を空けます*/
section {
	padding: var(--content-space-v) var(--content-space-l) var(--content-space-v) var(--side-l);
}
:root {--side-l: 120px;}
	@media (max-width:700px) {
	:root {--side-l: var(--content-space-l);}
	}

/*section内の最初と最後の要素のマージンはリセット（余白はsectionのpaddingで管理する為）*/
section > :first-child {margin-top: 0;}
section > :last-child {margin-bottom: 0;}


/*左右によせる専用
---------------------------------------------------------------------------*/
.bleed-left-parts {
	width: calc(100% + var(--content-space-l));
	margin-left: calc(-1 * var(--content-space-l));
}
.bleed-right-parts {
	width: calc(100% + var(--content-space-l));
	margin-right: calc(-1 * var(--content-space-l));
}


/*その他
---------------------------------------------------------------------------*/
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 100%;display: block;}
.wl {width: 100%;display: block;}
.mt0 {margin-top: 0px !important;}
.mb0 {margin-bottom: 0px !important;}
.mb1rem {margin-bottom: 1rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: rgba(0,0,0,0.7);color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.look .color-check {color: #ffe14d !important;}
.small {font-size: 0.8em;}
.large {font-size: 1.6em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.is-clip {overflow: hidden;}

/*大きな画面の場合*/
.large-screen .ws {width: 50%;}
.large-screen .sh {display: none;}
.large-screen .pc {display: block;}
