@charset "utf-8";


/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("theme.css");
@import url("inview.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.293vw + 10.9px, 15px);	/*画面幅約375px〜1400pxの間で、12px〜15pxに可変*/
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	-webkit-text-size-adjust: none;
	background-color: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	background-image: url('../images/bg1.png');	/*背景画像の読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 1000px;	/*背景画像のサイズ*/
	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 {
	margin: var(--content-space-m) 0;	/*上下、左右へのsectionの外側にとるマージン。上下については、theme.cssの--content-space-mを読み込みます。*/
	padding: 0 var(--content-space-l);	/*上下、左右へのsection内の余白。左右については、theme.cssの--content-space-lを読み込みます。*/
}

/*2カラム時はsectionの左右paddingリセット*/
#contents .contents-layout section {
	padding-inline: 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;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダー*/
header {
    display: flex;
	flex-direction: column-reverse;	/*SNSアイコンとロゴの行の上下を入れ替えSNSが上にくるように*/
	padding-inline: var(--content-space-l);	/*左右の余白。theme.cssのcontent-space-lを読み込みます*/
}

/*ロゴとメニューが入っているブロック*/
header .inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem 0;	/*上下に2文字分の余白。左右は0。*/
}

/*ロゴ*/
#logo {margin: 0;flex-shrink: 0;}
#logo img {
	display: block;
	width: 160px;	/*ロゴの幅。*/
}


/*headerの最上部にあるソーシャルメディアアイコン入りブロック
---------------------------------------------------------------------------*/
/*ブロック全体*/
#header-top {
	display: flex;
	justify-content: flex-end;	/*ボックス全体を右寄せ*/
	align-items: center;
	margin: 0 calc(-1 * var(--content-space-l));
	padding-inline: var(--content-space-l);
	background: #000;	/*背景色。*/
	height: 50px;		/*高さ*/
}

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

	#header-top {
		padding-right: calc(50px + var(--content-space-l));
	}

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

/*アイコンブロック*/
#header-top ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	align-items: center;
	gap: 1rem;	/*アイコン同士のマージン的なスペース。1文字分。*/
}

/*アイコン一個あたり*/
#header-top .icons i {
	font-size: 20px;	/*Font Awesomeのアイコンサイズ*/
}


/*大きな端末で見たメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
	display: flex;
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li a {
	display: block;text-decoration: none;
	border-radius: 100px;	/*角を丸くする指定。適当に大きければOKです。*/
	padding: 0.2rem 1rem;	/*メニュー内の余白。上下に0.2文字分、左右に1文字分。*/
}

/*マウスオン時*/
.large-screen #menubar li a:hover {
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
.large-screen #menubar ul ul {
	text-shadow: none;
	position: absolute;z-index: 100;
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}

/*メニュー１個あたり*/
.large-screen #menubar ul ul a {
	margin-top: 0.4rem;	/*上に空けるスペース。0.4文字分。メニュー同士の隙間です。*/
	background: rgba(0,0,0,0.6);	/*メニューの背景色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	color: #fff;	/*文字色*/
}


/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
	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;}

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

	.small-screen #menubar {
		width: 100%;	/*幅を100%に*/
	}

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


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

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

/*ドロップダウンのアイコン*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";		/*このアイコンを使う*/
	margin-right: 1em;		/*アイコンとメニューテキストとの間に空けるスペース。1文字分。*/
	font-size: 0.7em;		/*アイコンサイズ。70%*/
	vertical-align: middle;
	display: inline-block;
	line-height: 1;
}

/*ドロップダウン共通（デフォルトで非表示。チラつかないよう念の為。）
---------------------------------------------------------------------------*/
#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: 50px;	/*ボタンの幅*/
	height: 50px;	/*ボタンの高さ*/
}

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

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

/*以下変更不要*/
#menubar_hdr span:nth-of-type(1) {
	top: 14px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 34px;
}
#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;
}


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

/* 各エリア（念のため） */
#contents .main { grid-area: main; min-width: 0; }
#contents .side { grid-area: side; min-width: 0; }

/* ベース：1カラム（〜599px） */
#contents .contents-layout {
	padding: 2rem var(--content-space-l);	/*上下に2文字分、左右は、theme.cssの--content-space-lを読み込みます。*/
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas:
		"main"
		"side";
	gap: 2rem;	/*左右のブロックの間に空けるスペース。2文字分。*/
	align-items: start;
}

	/*画面幅600px以上の追加指定。2カラムに（side + main）*/
	@media (min-width: 600px) {

	#contents .contents-layout {
		grid-template-areas: "side main";

		/* 左：150〜220 の範囲でじわっと変動（画面幅基準） */
		grid-template-columns: clamp(150px, 20vw, 220px) minmax(0, 1fr);
	}

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


/*2カラムで使う場合のsectionの１つ目の上の余白が大きく感じる（サイドメニューとの落差）ので、少し狭く*/
#contents .contents-layout main section:first-child {
	margin-top: calc(var(--content-space-m) / 2);
}


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

/*h2見出し*/
main h2 {
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	margin-top: 0;
	line-height: 1.5;
	font-weight: 500;	/*文字の太さ*/
	font-size: 2rem;	/*文字サイズ200%*/
	letter-spacing: 0.05em;	/*文字間隔を少しだけ広く*/
}

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


/*side（サイド設定）
---------------------------------------------------------------------------*/
/*h3見出し*/
.side h3,.side2 h3 {
	font-weight: 500;	/*文字の太さ*/
	font-size: 1rem;
	background: rgba(0,0,0,0.05);	/*背景色。0,0,0は黒の事で0.05は色が5%出た状態。*/
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	text-align: center;		/*テキストをセンタリング*/
	border-radius: 5px 5px 0px 0px;	/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	margin-bottom: 0;		/*下のマージンをなくす*/
}


/*sidemenu（サイドメニュー設定）
---------------------------------------------------------------------------*/
.sidemenu {padding: 0;margin: 0;list-style: none;}

/*メニュー１個あたり*/
.sidemenu > li {
	border: 1px solid var(--bg-border-color);	/*線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	border-top: none;		/*上の線だけなくす*/
}
.sidemenu a {
	display: block;text-decoration: none;
	padding: 0.2rem 1rem;	/*上下に0.2文字分、左右に1文字分の余白*/
}

/*子メニュー*/
.sidemenu li li a {
	padding-left: 2rem;	/*左に2文字分の余白を空ける*/
}


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


/*フッター
---------------------------------------------------------------------------*/
/*フッター全体を囲むブロック*/
footer {
	text-align: center;	/*テキストを中央に*/
	display: flex;
	flex-direction: column;	/*縦積み*/
	gap: 0.5rem;	/*ブロック同士の間に空けるスペース。0.5文字分。*/
}

/*フッターメニュー*/
footer ul.footermenu {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;	/*メニューを横並びに*/
	gap: 0 1rem;	/*メニュー同士の間に空けるスペース。2文字分。*/
	flex-wrap: wrap;
	justify-content: center;
}

/*Copyright部分*/
footer small {
	display: block;
	margin-bottom: 1rem;	/*下に1文字分のスペース*/
}


/*クーポンボタン（トップページ右側の縦書きボタン）
---------------------------------------------------------------------------*/
#message a {
	text-decoration: none;display: block;
	writing-mode: vertical-rl;
	text-orientation: upright;
	background: var(--accent-color);		/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color:  var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	position: fixed;	/*スクロールしてもボタンが移動しないようにする指定。移動させたいならfixedをabsoluteにして下さい。*/
	z-index: 2;
	right: 0px;			/*ボタンの右からの配置場所指定*/
	top: 170px;			/*ボタンの上からの配置場所指定*/
	padding: 1rem 0.6rem;	/*ボタン内の余白。上下、左右。*/
	border-radius: 5px 0px 0px 5px;	/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	letter-spacing: 0.2rem;	/*文字間隔を少しだけ広く*/
	font-size: 0.8rem;	/*文字サイズを80%*/
}

/*ふきだしアイコン*/
#message i {
	transform: scale(1.3);	/*1.3倍に*/
	margin-bottom: 10px;	/*下に空ける余白*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;display: block;
	background: rgba(0,0,0,0.5);
	color: #ccc;
	text-align: right;
	font-size: 0.8rem;
	padding: 0.5rem;
}
.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: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);		/*背景色。theme.cssのbg-colorを読み込みます。*/
}

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


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


/*bg1-accent
---------------------------------------------------------------------------*/
.bg1-accent-parts {
	background: 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-m);		/*ボックス内の上に空ける余白。theme.cssのcontent-space-mを読み込みます。*/
	padding-bottom: var(--content-space-m);	/*ボックス内の下に空ける余白。theme.cssのcontent-space-mを読み込みます。*/
}

/*背景色が続く場合に隙間を空けない*/
.bg-parts + .bg-parts {
	margin-top: calc(-1 * var(--content-space-m)) !important;
}


/*section内で画面両サイドいっぱいまで広げる場合（marginのみでもいいが安定版に）
---------------------------------------------------------------------------*/
.bleed-x {
	--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 {
	width: calc(100% + var(--content-space-l));
	margin-left: calc(-1 * var(--content-space-l));
}
.bleed-right {
	width: calc(100% + var(--content-space-l));
	margin-right: calc(-1 * var(--content-space-l));
}


/*メイン画像
---------------------------------------------------------------------------*/
.mainimg * {margin: 0;padding: 0;}
.mainimg {width: 100%;position: relative;}
.mainimg video {display: block;width: 100%;}

.mainimg + #contents > .contents-layout.bg-parts:first-child {
	margin-top: var(--content-space-m) !important;
}

/*メイン画像全体を囲むブロック*/
.mainimg {
	width: calc(100% - (var(--content-space-l) * 2));
	margin-inline: auto;
	position: relative;
	overflow: hidden;
}


/*メイン画像上のテキスト
---------------------------------------------------------------------------*/
/*テキストブロックの基本設定（中央配置がデフォルト）*/
.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 3vw;	/*上下、左右への余白*/
	color: #fff;	/*文字色*/
	text-shadow: 1px 1px 3px rgba(0,0,0,0.3);	/*テキストの影。右へ、下へ、ぼかす量。0,0,0は黒のことで0.3は色が30%出た状態。*/
}

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

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

/*h2（大きな文字）*/
.mainimg .slide .text h2 {
	line-height: 1.5;
	font-weight: 400;	/*テキストの太さ*/
	font-size: 4vw;		/*文字サイズ。１文字あたり画面幅の約4%。*/
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

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


/*現在表示されているスライドのみをクリック可能にする設定（変更不要）
---------------------------------------------------------------------------*/
.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: 2vw;	/*ボタンの配置場所*/
	left: 0px;
}
/*１個あたり*/
.mainimg .indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;	/*未アクティブ時のボタン色*/
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}
.mainimg .indicator.active {
    background: #d00000;	/*アクティブ時のボタン色*/
}


/*ボタン（btnと、btn-border-radius）
---------------------------------------------------------------------------*/
/*ボタン共通*/
.btn a,
.btn-border-radius a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--primary-color) !important;	/*背景色。theme.cssで指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color) !important;	/*文字色。theme.cssで指定しているprimary-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;	/*上に空けるスペース*/
}

/*btn-border-radiusの上書き*/
.btn-border-radius a {
	display: inline-block;
	padding: 0.5rem 2rem !important;	/*ボタン内の余白*/
	border-radius: 100px;	/*角丸の指定。適当に大きければOK。*/
}


/*list-grid1（カラムブロック）
---------------------------------------------------------------------------*/
.list-grid1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.list-grid1 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));	/*3列*/
	gap: 3rem;			/*ボックス同士の間に空けるスペース。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

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

	.list-grid1 {
		gap: 1rem;
	}

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


/*2カラムで使う場合のみ、ボックス同士の隙間を小さくする*/
.contents-layout .list-grid1 {
	gap: 1rem;
}

/*ボックス１個あたり*/
.list-grid1 .list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/*画像*/
.list-grid1 .list figure {
	overflow: hidden;
	position: relative;
}

/*画像の下に重ねているタイトル*/
.list-grid1 .list .name {
	position: absolute;
	left: 0px;
	bottom: 0px;
	width: 100%;
	background: rgba(0,0,0,0.7);	/*背景色。0,0,0は黒のことで0.7は色が70%出た状態。*/
	color: #fff;	/*文字色*/
	text-align: center;	/*テキストをセンタリング*/
}

/*テキストボックス*/
.list-grid1 .list .text {
	flex: 1;
	text-align: center;	/*テキストをセンタリング*/
}

/*説明だけ小さめにする*/
.list-grid1 .list p {
	font-size: 0.9em;	/*文字サイズ*/
	line-height: 1.5;	/*行間*/
}


/*hoverで静止画→動画に切り替わるブロック
   ※.image-container クラスを付けたブロックのみ動画切替対応
   ※スマホはhoverが無いため動画が読み込まれず、通信量がカットされる
---------------------------------------------------------------------------*/
.list-grid1 .list.image-container figure {
	position: relative;	/*中の動画を絶対配置するための基準*/
}
.list-grid1 .list.image-container figure video {
	display: none;		/*デフォルトは非表示。hover時だけJSで表示する*/
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}


/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*スライドショー全体を囲むブロック*/
.slideimg {
	overflow-x: hidden;
}

/*スライドショーが２段続く場合に、上下間に1文字分のスペースを空ける。*/
.slideimg + .slideimg {
	margin-top: 1rem;
}

/*画像たちを囲むブロック*/
.slideimg .img {
	display: flex;
	overflow: hidden;
}

/*画像1個あたり*/
.slideimg .img > div {
	padding: 0 0.5rem;	/*左右で合計1remぶんの見た目余白*/
}

/*右から左へ、左から右へ、のアニメーション*/
.slideimg .rtl, .slideimg .ltr {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.slideimg .rtl {animation-name: slide-rtl;}
.slideimg .ltr {animation-name: slide-ltr;}

@keyframes slide-rtl {
0% {transform: translateX(0);}
100% {transform: translateX(-50%);}
}

@keyframes slide-ltr {
0% {transform: translateX(-50%);}
100% {transform: translateX(0);}
}


/*thumbnail-changer（詳細ページ向けのサムネイル切り替えブロック）
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view1 {
	max-width: 1000px;
	margin: 0 auto 1rem;
}

/*サムネイル全体を囲むブロック*/
.thumbnail-changer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	max-width: 1000px;
	margin: 0 auto 2rem;
}

/*サムネイル画像*/
.thumbnail-changer img {
	width: 100px;
	cursor: pointer;
	transition: 0.3s;
	display: block;
}

/*動画サムネ用ラッパ（videoはJSでここに入る）*/
.thumbnail-changer .thumb-wrap {
	position: relative;
	display: block;
	width: 100px;
	cursor: pointer;
	transition: 0.3s;
	background: #000;
}

/*サムネイル動画*/
.thumbnail-changer .thumb-wrap > video {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
	background: #000;
}

.thumbnail-changer img:hover,
.thumbnail-changer .thumb-wrap:hover {
	opacity: 0.8;
}

/*動画サムネの上の「再生」アイコン*/
.thumbnail-changer .thumb-play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	pointer-events: none;
	opacity: 0.9;
	text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.thumbnail-changer .thumb-play i {
	background: #ff0000;
	color: #fff;
	border-radius: 9999px;
	padding: 6px 8px;
	font-size: 12px;
	line-height: 1;
}

/*大きな表示の中身（画像・動画）*/
.thumbnail-view1 img,
.thumbnail-view1 video {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}


/*news（お知らせ）
---------------------------------------------------------------------------*/
dl.news1 * {margin: 0;padding: 0;}

/*日付*/
dl.news1 dt {
	display: flex;
}

/*アイコン*/
dl.news1 dt span {
	display: inline-block;
	width: 6rem;	/*幅*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	text-align: center;
	transform: scale(0.8);	/*サイズを80%に*/
	border-radius: 3px;		/*角を少し丸く*/
}

/*アイコンを目立たせる場合（accent-color）*/
dl.news1 dt span.accent-color {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}

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

	dl.news1 {
		display: grid;
		grid-template-columns: max-content minmax(0, 1fr);	/*日付幅は最大の文字数幅に自動調整し、右側テキストは残り一杯使う。*/
		align-items: start;
	}

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


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白。上下に0.2文字分、左右に1文字分。*/
	margin-bottom: 1rem;	/*下に空けるスペース。１文字分。*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	border-radius: 5px;	/*角を丸くする*/
}

/*テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid var(--bg-border-color);	/*テーブルの一番上の線。幅、線種、varは色の設定でtheme.cssのborder-colorを読み込みます。。*/
	width: 100%;
	margin-bottom: 2rem;	/*テーブルの下に空けるスペース。２文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid var(--bg-border-color);	/*テーブルの下線。幅、線種、varは色の設定でtheme.cssのborder-colorを読み込みます。。*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;		/*ボックス内の余白。１文字分。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 13rem;		/*幅。13文字分。*/
	text-align: left;	/*左よせにする*/
}


/*その他
---------------------------------------------------------------------------*/
.color-check, .color-check a {color: #ff0000 !important;}
.bg1-accent .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;}
.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.6);color: #fff; 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;}
