@charset "utf-8";


/*cssファイルの読み込み
---------------------------------------------------------------------------*/


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@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(12px, 0.585vw + 9.80px, 18px);	/*画面幅375px〜1400pxの間で、12px〜18pxに可変。下で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) url("../images/bg1.webp") no-repeat left top / 40vw;	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	line-height: 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
---------------------------------------------------------------------------*/
section {
	padding: var(--content-space-v, var(--content-space-l)) var(--content-space-l);	/*上下、左右へのsection内の余白。上下はtheme.cssのcontent-space-v（無い場合はcontent-space-l）、左右はcontent-space-lを読み込みます。上下のセクションが隣り合うと、2つ分の余白になります。*/
}

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

/*見出しの上のマージンもリセット（ブロックの中に入っていてもsectionの余白が変わらないようにする為）*/
main h2 {margin-top: 0;}


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

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
	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;
}


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


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

main h2 span {
	font-size: 0.7rem;
	opacity: 0.6;
	display: block;
}


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


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#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;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	padding: 1rem 80px 1rem var(--content-space-l);	/*上に1文字分、右に80px、下に1文字分、左にtheme.cssのcontent-space-lを読み込みます。*/
    display: flex;	/*中身を横並びに*/
    justify-content: space-between;
    align-items: center;
    gap: 2rem;	/*中のコンテンツ同士に空けるマージン的な余白。2文字分。*/
}

/*ロゴ画像*/
#logo {margin: 0;flex-shrink: 0;}
#logo img {
	display: block;
	width: calc(var(--logo-width) * var(--logo-scale, 1));	/*ロゴの幅。theme.cssの--logo-widthに、管理画面「ロゴの大きさ」の倍率を掛けます。*/
	max-width: 85vw;	/*小さい端末で画面からはみ出さない為の上限。*/
}

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


/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
	text-shadow: none;
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 50%;
	height: 100%;
	padding: 100px var(--content-space-l) 50px;	/*上下に100px、左右にtheme.cssのcontent-space-lで指定しているサイズ、下に50pxの余白*/
	background: var(--primary-color);			/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);		/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

.small-screen #menubar {display: none;}

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

	.small-screen #menubar {
		width: 100%;		/*ブロックの幅*/
	}

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


/*メニュー１個あたり*/
.small-screen #menubar a {
	display: block;text-decoration: none;
	color: inherit;
	border: 1px solid var(--primary-inverse-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのprimary-inverse-colorを読み込みます。。*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下に１文字分、左右に２文字分。*/
	border-radius: 5px;		/*角を少し丸くする*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	margin-left: 2rem;	/*左に２文字分のスペースを空ける*/
	padding: 0.5rem 1.5rem;	/*メニュー内の余白。上下に0.5文字分、左右に1.5文字分。*/
}

/*ドロップダウンのアイコン*/
a.ddmenu::before {
	content: "";
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	vertical-align: middle;
	margin-right: 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.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></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.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
}

/*ドロップダウン共通（デフォルトで非表示。チラつかないよう念の為。）
---------------------------------------------------------------------------*/
#menubar ul ul {display: none;}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: none; /* デフォルトは非表示 */
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	right: 0px;	/*右からの配置場所*/
	top: 0px;	/*上からの配置場所*/
	width: 70px;	/*ボタンの幅*/
	height: 70px;	/*ボタンの高さ*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	border-bottom-left-radius: 10px;	/*左下の角だけ少し丸く*/
}

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

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #ff0000;	/*背景色*/
}
#menubar_hdr.ham span {
	background: #fff;	/*線の色*/
}

/*以下変更不要*/
#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
	display: flex;
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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 {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: 900;
	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-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内で画面両サイドいっぱいまで広げる場合（marginのみでもいいが安定版に）
---------------------------------------------------------------------------*/
.bleed-x-parts {
	--bleed-x: var(--content-space-l);	/*エイリアスに*/
	width: calc(100% + (var(--bleed-x) * 2));	/*section内容の幅＋両サイドpadding（対象要素の幅）*/
	margin-left: calc(var(--bleed-x) * -1);
	margin-right: calc(var(--bleed-x) * -1);
	max-width: none;
}


/*左右によせる専用
---------------------------------------------------------------------------*/
.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;}
.bg1-accent-parts .color-check, .color-check a {color: #fef500 !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;}
.padding-x {padding: 0 var(--content-space-l);}
.mt0 {margin-top: 0px !important;}
.mt1rem {margin-top: 1rem !important;}
.mt3rem {margin-top: 3rem !important;}
.mb0 {margin-bottom: 0px !important;}	/*sectionの上下の余白はpaddingで作っているので、sectionには効きません。*/
.mb1rem {margin-bottom: 1rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; color: #888; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; 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;}



/*メイン画像
---------------------------------------------------------------------------*/
.mainimg * {margin: 0;padding: 0;}
.mainimg {width: 100%;position: relative;}
.mainimg img {display: block;width: 100%;height: 100%;}
.mainimg .slide {display: block;width: 100%;height: 100%;}
.mainimg .slide img {width: 100%;height: 100%;object-fit: cover;object-position: center;}

/*スライドショータイプ・動画タイプ（管理画面「メイン画像のタイプ」で選んだとき）
---------------------------------------------------------------------------
このフレームの標準は静止画1枚です。枠の高さは .mainimg の aspect-ratio が決めているので、
スライドは全部を重ねてしまって大丈夫です（静止画のときは何も変わりません）。*/
.mainimg.mv-slideshow .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s;	/*ここの1s（＝1秒）でフェードの速さが変わります。１枚が表示される時間はJSで決まります*/
	pointer-events: none;	/*表示中のスライドだけクリックできるようにします*/
}
/*JSが動く前でも1枚目は見えるようにしておきます（JSが止まっても真っ白にならない保険）*/
.mainimg.mv-slideshow .slide:first-child {
	opacity: 1;
}
.mainimg.mv-slideshow .slide.active {
	opacity: 1;
	pointer-events: auto;
}

/*現在表示中（インジケーター）のボタン*/
.mainimg .slide-indicators {
	text-align: center;
	position: absolute;
	z-index: 3;
	width: 100%;
	bottom: 1.2rem;	/*ボタンの配置場所*/
	left: 0;
}
.mainimg .indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: #fff;	/*未アクティブ時のボタン色*/
	opacity: 0.7;
	border-radius: 50%;
	margin: 0 5px;
	cursor: pointer;
	box-shadow: 0 0 4px rgba(0,0,0,0.6);	/*明るい写真の上でも消えないように、薄い影を付けています*/
}
.mainimg .indicator.active {
	opacity: 1;
	box-shadow: 0 0 5px rgba(0,0,0,0.7);
}

/*動画（正方形の枠に合わせて切り抜きます）*/
.mainimg.mv-video video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/*テキストと画像全体を囲むブロック*/
.mainimg-container {
	margin-inline: var(--content-space-l);	/*ブロックの左右にスペースを空ける。theme.cssのcontent-space-lを読み込みます。*/
	position: relative;
}

/*メイン画像*/
.mainimg {
	border-radius: 3vw;	/*角丸のサイズ。お好みで。*/
	overflow: hidden;
	aspect-ratio: 1;	/*正方形にする。画像の比率そのままがよければこの１行を削除。*/
}

	/*画面幅700px以上の追加指定*/
	@media (min-width:700px) {

	/*メイン画像*/
	.mainimg {
		margin-left: auto;	/*右によせる*/
		width: 50%;			/*画像の幅50%。お好みで。*/
	}

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


	/*画面幅700px以上の追加指定*/
	@media (min-width:700px) {

	/*テキストブロック*/
	.mainimg-container .text {
		position: absolute;
		z-index: 1;
		top: 50%;
		left: 0px;
		transform: translateY(-50%);
		width: 48%;	/*幅。お好みで。大きくするほど画像と重なります。*/
	}

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

/*h2見出し*/
.mainimg-container h2 {
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-weight: 300;	/*文字の太さ。100〜900で指定可能。*/
	font-size: 5vw;	/*文字サイズ。画面幅100% = 100vwです。*/
	letter-spacing: 0.1em;	/*文字間隔を少し広く*/
	margin-bottom: 0;
	line-height: 1.5;
	width: fit-content;
}

	/*画面幅700px以上の追加指定*/
	@media (min-width:700px) {

	/*h2見出し*/
	.mainimg-container h2 {
		margin-inline: 0;
	}

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

/*文章に白いフチをつける*/
.mainimg-container p:not(.btn) {
	-webkit-text-stroke: 5px #fff;	/*5pxがフチの太さ。お好みで。*/
	paint-order: stroke fill;
}

/*メイン画像テキストの文字サイズ（管理画面の大中小。既定＝大＝上のベース）*/
.mainimg-container .text.mv-size-md h2 {font-size: 4vw;}	/*中*/
.mainimg-container .text.mv-size-sm h2 {font-size: 3.2vw;}	/*小*/
.mainimg-container .text.mv-size-md p:not(.btn) {font-size: 0.9rem;}	/*中*/
.mainimg-container .text.mv-size-sm p:not(.btn) {font-size: 0.8rem;}	/*小*/


/*ボタン枠（2個並べた時の配置）*/
.mainimg-container .btn-container {
    display: flex;
    flex-direction: column;	/*縦積み*/
    gap: 1rem;			/*ボタン同士の間に空けるスペース。１文字分。*/
	font-size: 1.1rem;	/*文字サイズ。*/
	margin-top: 1rem;	/*上に空けるスペース。１文字分。*/
	text-align: center;	/*文字をセンタリング*/
}

	/*画面幅700px以上の追加指定*/
	@media (min-width:700px) {

	/*ボタン枠*/
	.mainimg-container .btn-container {
		flex-direction: row;	/*ボタンを横並びにする*/
	}

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

.mainimg-container .btn-container .btn {flex: 1;}	/*2個並んだ時に等幅にする*/

/*ボタン（塗りつぶし・既定）*/
.mainimg-container .btn a {
	display: block;text-decoration: none;
	background: linear-gradient(120deg, var(--accent-color), #ebbd7b) left center / 200% 200%;/*背景グラデーション。120degは角度。varと#はグラデに使う色。グラデの表示範囲を左半分に。最後が縦横サイズ。*/
	color: #fff;	/*ボタンの文字色。*/
	text-shadow: 2px 2px 3px rgba(0,0,0,0.2);	/*テキストの影。*/
	box-shadow: 0.4rem 0.4rem rgba(0,0,0,0.1);		/*ボタンの影。*/
	padding: 0.5rem 1rem;	/*ボタン内の余白。上下に0.5文字分、左右に1文字分。*/
	border-radius: 10px;	/*角を丸くする*/
}

/*枠線のみ（管理画面で「枠線」を選んだ時）*/
.mainimg-container .btn.inverse a {
	background: var(--accent-inverse-color);	/*背景色。theme.cssのaccent-inverse-colorを読み込みます。*/
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
	border: 1px solid var(--accent-color);	/*枠線。*/
	text-shadow: none;
}

/*マウスオン時に押した感じにする*/
.mainimg-container .btn a:hover {
	position: relative;
	bottom: -1px;
	box-shadow: none;
}
