@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: var(--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);	/*theme.cssの値を読み込みます。前半2つは上下への余白。-vがない場合は-lを読み込みます。最後の1つは左右への余白。*/
}

/*mainの最後のsectionは、下のCopyright（footer small の -2rem）が中身に重ならないよう、下の余白を2rem分増やす。*/
main > section:last-child {
	margin-bottom: calc(var(--content-space-v, var(--content-space-l)) + 2rem);
}

/*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;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダー*/
header {
    display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	height: 70px;	/*ヘッダーの高さ。お好みで。*/
	padding-inline: var(--content-space-s);	/*左右の余白。theme.cssのcontent-space-sを読み込みます*/
	position: fixed;	/*スクロールしても画面の上部に貼り付ける指定*/
	top: 0;left: 0;
	z-index: 100;	/*開閉メニューのオーバーレイ(99)より上にする為。中の#menubarはこの数字の中での重なり順になります。*/
	width: 100%;
	transition: background 0.4s;	/*背景色が変わる時のアニメーション*/
}

/*少しスクロールしたら背景を付ける（JSがis-scrolledを付けます）*/
header.is-scrolled {
	background: rgba(16,13,26,0.5);	/*背景色。16,13,26は黒に近い色の事で0.5は色が50%出た状態。*/
}

/*ヘッダーの背景をぼかす指定（ヘッダー本体ではなく疑似要素にかけています。ヘッダー本体にかけると、中に入っている開閉メニューが画面いっぱいの高さにならなくなる為）*/
header.is-scrolled::before {
	content: "";
	position: absolute;
	top: 0;left: 0;
	width: 100%;height: 100%;
	z-index: -1;
	backdrop-filter: blur(6px);	/*ぼかす量。効かないブラウザでは上の背景色だけになります。*/
}

/*トップページ以外は、ヘッダーの高さ分だけコンテンツを下げる*/
body:not(.home) #contents {
	padding-top: 70px;	/*上のヘッダーの高さと同じ数値にして下さい。*/
}

/*ロゴ画像*/
header .logo {margin: 0;flex-shrink: 0;}
header .logo img {
	display: block;
	width: 180px;	/*ロゴの幅。お好みで。*/
}


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

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


/*大きな端末で見たメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar {
	font-size: 0.9rem;	/*文字サイズ90%*/
}
.large-screen #menubar > nav > ul {
	display: flex;
	align-items: center;
	gap: 1.5rem;	/*メニュー同士に空けるスペース。1.5文字分。*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li a {
	display: block;text-decoration: none;
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
.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 {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒のことで0.8は色が80%出た状態。*/
	color: #fff;			/*文字色*/
	padding: 0.2rem 1rem;	/*上下に0.2文字分、左右に1文字分の余白*/
	border-radius: 3px;		/*角を少しだけ丸く。*/
	margin-top: 3px;		/*メニュー同士の間に空けるスペース*/
}

/*マウスオン時の背景色*/
.large-screen #menubar ul ul a:hover {
	background: rgba(0,0,0,0.5);	/*背景色*/
}


/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.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(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-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;
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下に１文字分、左右に２文字分。*/
	border-radius: 5px;		/*角を少し丸くする*/
	background: rgba(255,255,255,0.08);	/*背景色。255,255,255は白の事で0.08は色が8%出た状態。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}

/*ボタンのテキストの太さを標準に*/
.small-screen #menubar .btn a {
	font-weight: normal;
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	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: 70px;	/*ボタンの幅*/
	height: 70px;	/*ボタンの高さ*/
	border-bottom-left-radius: 10px;	/*左下の角だけ丸くする*/
}

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

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
}
#menubar_hdr.ham span {
	background: var(--accent-inverse-color);	/*線の色。theme.cssのaccent-inverse-colorを読み込みます。*/
}

/*以下変更不要*/
#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;
}


/*mainimg（スクロールに連動して動く動画ブロック）
---------------------------------------------------------------------------*/
/*全体を囲むボックス（高さは中のコンテンツの分だけ自動で伸びます）*/
.mainimg {
	position: relative;
	background: var(--mainimg-bg-color);	/*背景色。theme.cssのmainimg-bg-colorを読み込みます。*/
}

/*背景に固定される映像のブロック*/
.mainimg-image {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100lvh;	/*スマホでアドレスバーが隠れた時の高さ。画面の下に隙間ができないようにする指定です。*/
	overflow: hidden;
}

/*動画が表示される場所（コマ画像はJSがここに描画します）*/
.mainimg-image canvas {
	display: block;
	width: 100%;
	height: 100%;
}

/*動画の上に重ねる暗幕（文字を読みやすくする為の指定）*/
.mainimg-image::after {
	content: "";
	position: absolute;
	top: 0;left: 0;
	width: 100%;height: 100%;
	background: linear-gradient(transparent, var(--mainimg-veil-color));	/*上は透明、下は暗幕の色。theme.cssのmainimg-veil-colorを読み込みます。*/
	pointer-events: none;
}


/*映像の上を流れるコンテンツ
---------------------------------------------------------------------------*/
/*コンテンツ全体（映像の上に重ねる為に、映像の高さ分だけ上に引き上げています）*/
.mainimg-contents {
	position: relative;
	z-index: 1;
	margin-top: -100vh;
	margin-top: -100lvh;	/*上の映像ブロックと同じ高さにして下さい。*/
	padding-bottom: 0;	/*最後のブロックを画面に残したままスクロールを終わらせる為に0にしています。100lvhにすると、最後のブロックを見送ってから映像が上へ抜けます。*/
}

/*ブロック１個あたり（画面１つ分の高さ。ブロックはいくつでも増やせます。中央ぞろえがデフォルトです。）*/
.mainimg-box {
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;	/*section共通の上下マージンを打ち消す指定*/
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3rem;	/*ブロック内の要素同士の間に空けるスペース。3文字分。*/
	padding: 15vh var(--content-space-l);	/*ブロック内の余白。上下に画面の高さの15%、左右はtheme.cssのcontent-space-lを読み込みます。*/
	text-align: center;
	color: #fff;	/*文字色*/
	text-shadow: 0 2px 20px rgba(0,0,0,0.5);	/*文字を少しだけ浮き立たせる影*/
}

/*ブロックを左に寄せたい場合（class="mainimg-box left"）*/
.mainimg-box.left {
	align-items: flex-start;
	text-align: left;
}

/*ブロックを右に寄せたい場合（class="mainimg-box right"）*/
.mainimg-box.right {
	align-items: flex-end;
	text-align: right;
}



/*メイン画像の上のキャッチコピー
---------------------------------------------------------------------------*/
.mainimg-box > h2.catch {
	display: block;	/*main h2 の縦並びの指定を打ち消して、英語・日本語の順で表示します*/
	margin: 0;
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: clamp(2.6rem, 8vw, 6rem);	/*画面幅に合わせて変化する文字サイズ*/
	font-weight: 300;	/*文字の太さ*/
	line-height: 1.2;	/*行間*/
	letter-spacing: 0.15em;	/*文字間隔*/
}

/*キャッチコピーに添える日本語（小さな文字）*/
.mainimg-box > h2.catch span {
	display: block;
	margin-top: 1.5rem;	/*上に空けるスペース。1.5文字分。*/
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	font-size: max(1rem, 0.28em);	/*上の英語に対して28%の文字サイズ。小さな画面でも本文の文字サイズより小さくならないようにしています。*/
	letter-spacing: 0.3em;	/*文字間隔を広めに*/
}


/*縦書きのキャッチコピー（class="tate"）
---------------------------------------------------------------------------*/
.mainimg-box > h2.catch.tate {
	writing-mode: vertical-rl;	/*縦書きにする指定*/
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	font-size: clamp(3.5rem, 13vw, 8rem);	/*画面幅に合わせて変化する文字サイズ*/
	font-weight: 400;	/*文字の太さ*/
	line-height: 1;		/*行間（縦書きなので、文字列同士の左右の間隔になります）*/
	letter-spacing: 0.25em;	/*文字間隔*/
	padding-bottom: 0.25em;	/*上の文字間隔のぶん、最後の文字の下に余白が出るので、その調整*/
}

/*縦書きのキャッチコピーの下に添えるテキスト（小さな文字）*/
.mainimg-box > p.sub {
	margin: 0;	/*上下の余白は、ブロックのgapで空けています*/
	font-size: 0.9rem;	/*文字サイズ90%*/
	letter-spacing: 0.4em;	/*文字間隔を広めに*/
}


/*メイン画像の上のメッセージ
---------------------------------------------------------------------------*/
/*大きな一文*/
.mainimg-box > h3.title {
	width: 100%;
	max-width: 46rem;	/*最大幅。46文字分。途中で折り返す場合は、この数字を大きくして下さい。*/
	margin: 0;	/*上下の余白は、ブロックのgapで空けています*/
	font-size: clamp(1.4rem, 3.6vw, 2.2rem);	/*画面幅に合わせて変化する文字サイズ*/
	line-height: 1.8;	/*行間*/
	letter-spacing: 0.2em;	/*文字間隔*/
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
	text-wrap: balance;	/*折り返す時に、行の長さが均等になるようにする指定。効かないブラウザでは今まで通りの折り返しになります。*/
}

/*説明の文章*/
.mainimg-box > p {
	max-width: 34rem;	/*最大幅。34文字分。*/
	margin: 0;
	line-height: 2.4;	/*行間*/
	letter-spacing: 0.1em;	/*文字間隔*/
}


/*list1（メイン画像の上に置く3カラムのカードブロック）
---------------------------------------------------------------------------*/
/*カード全体*/
.mainimg-box > .list1 {
	width: 100%;
	max-width: 68rem;	/*最大幅。68文字分。*/
	display: grid;
	grid-template-columns: repeat(3, 1fr);	/*3カラム。数字を変えるとカラム数が変わります。*/
	gap: 1.5rem;	/*カード同士の間に空けるスペース。1.5文字分。*/
}

/*カード１枚あたり*/
.mainimg-box > .list1 .list {
	padding: 3rem 2rem;	/*カード内の余白。上下に3文字分、左右に2文字分。*/
	background: rgba(0,0,0,0.35);	/*背景色*/
	border: 1px solid rgba(255,255,255,0.18);	/*枠線の幅、線種、色*/
	border-radius: 3px;	/*角を少しだけ丸く*/
	backdrop-filter: blur(4px);	/*カードの後ろの映像を少しぼかす指定。効かないブラウザでは上の背景色だけになります。*/
}

/*カードの見出し*/
.mainimg-box > .list1 .list h4 {
	margin: 0 0 1rem;	/*下に1文字分のスペースを空ける*/
	font-size: 1.1rem;	/*文字サイズ110%*/
	letter-spacing: 0.15em;	/*文字間隔*/
}

/*カードの文章*/
.mainimg-box > .list1 .list p {
	margin: 0;
	font-size: 0.9rem;	/*文字サイズ90%*/
	line-height: 2;		/*行間*/
	opacity: 0.85;	/*透明度（色が85%出た状態）*/
}

/*カードの上に置く見出し（下の余白はブロックのgapで空けています）*/
.mainimg-box > h2 {
	margin-bottom: 0;
}


/*動画ブロックの最初に出るスクロールの案内
---------------------------------------------------------------------------*/
.mainimg-hint {
	position: absolute;
	bottom: 7rem;	/*下から7文字分の場所に配置*/
	left: 0;
	width: 100%;
	z-index: 1;
	text-align: center;
	color: #fff;	/*文字色*/
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.8rem;	/*文字サイズ80%*/
	letter-spacing: 0.3em;	/*文字間隔*/
	animation: mainimg-hint 2.5s ease-in-out infinite;	/*2.5秒かけて上下に動く動きを繰り返す*/
	transition: opacity 0.5s;	/*消える時のアニメーション*/
}

/*スクロールが始まったら消す*/
.mainimg-hint.is-hidden {
	opacity: 0;
}

/*キーフレーム（上下に動くアニメーション）設定*/
@keyframes mainimg-hint {
0%,100% {transform: translateY(0);}
50% {transform: translateY(8px);}
}


/*読み込み中の表示
---------------------------------------------------------------------------*/
.mainimg-loading {
	position: absolute;
	top: 0;left: 0;
	width: 100%;height: 100%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--mainimg-bg-color);	/*背景色。theme.cssのmainimg-bg-colorを読み込みます。*/
	color: #fff;	/*文字色*/
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
	letter-spacing: 0.3em;	/*文字間隔*/
	transition: opacity 0.8s;	/*消える時のアニメーション*/
}

/*読み込みが終わったら消す*/
.mainimg-loading.is-done {
	opacity: 0;
	visibility: hidden;
}

/*読み込み中は、映像の上のコンテンツを隠しておく*/
.mainimg.is-loading .mainimg-contents {
	opacity: 0;
}
.mainimg-contents {
	transition: opacity 0.8s;	/*表示される時のアニメーション*/
}


/*進捗バー
---------------------------------------------------------------------------*/
.mainimg-progress {
	position: fixed;	/*画面の下に固定する指定*/
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;	/*バーの太さ*/
	z-index: 97;	/*ヘッダー(100)の下、コンテンツの上*/
	background: rgba(255,255,255,0.2);	/*バーのベース色。255,255,255は白の事で0.2は色が20%出た状態。*/
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;	/*表示切替のアニメーション*/
}
.mainimg-progress.is-visible {
	opacity: 1;
	visibility: visible;
}
.mainimg-progress-bar {
	height: 100%;
	width: 0%;
	background: rgba(255,255,255,0.9);	/*バーの色*/
	transition: width 0.05s linear;		/*幅の変化を滑らかに*/
}

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

	/*ブロック１個あたり*/
	.mainimg-box {
		gap: 2rem;	/*ブロック内の要素同士の間に空けるスペース。2文字分。*/
		padding: 12vh var(--content-space-s);	/*ブロック内の余白*/
	}

	/*カード全体*/
	.mainimg-box > .list1 {
		grid-template-columns: 1fr;	/*1カラムに*/
	}

	/*カード１枚あたり*/
	.mainimg-box > .list1 .list {
		padding: 1.5rem;	/*カード内の余白。1.5文字分。*/
	}

	/*スクロールの案内*/
	.mainimg-hint {
		bottom: 8rem;	/*スキップボタンと重ならないよう上にずらす*/
	}
	
	}/*追加指定ここまで*/


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


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

/*h2（英語の小見出し＋日本語の見出し）*/
main h2 {
	margin-bottom: 3rem;	/*下に空けるスペース。3文字分。*/
	font-size: 1.4rem;	/*文字サイズ140%*/
	font-weight: normal;	/*文字の太さ*/
	line-height: 1.6;	/*行間*/
	letter-spacing: 0.2em;	/*文字間隔*/
}

/*h2内のspan（上に出る英語の小見出し）*/
main h2 span {
	display: block;
	margin-bottom: 0.8rem;	/*下に空けるスペース。0.8文字分。*/
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.7rem;	/*文字サイズ70%*/
	letter-spacing: 0.3em;	/*文字間隔*/
	opacity: 0.7;	/*透明度（色が70%出た状態）*/
}

/*h3（sectionの中で、h2の下に置く小見出し）*/
main h3 {
	font-size: 1.1rem;	/*文字サイズ110%*/
	font-weight: normal;	/*文字の太さ*/
	line-height: 1.6;	/*行間*/
	letter-spacing: 0.2em;	/*文字間隔*/
}

/*センタリングしたい場合は、htmlの見出しに class="c" を追加して下さい。左寄せがデフォルトです。*/

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


/*free1（色々なレイアウト用）
---------------------------------------------------------------------------*/
/*ボックス内のh4*/
.free1 h4{
	margin: 0;
	font-size: 1.1rem;
}

/*画像の影をつける場合*/
.shadow {
	box-shadow: 4vw 4vw rgba(255,255,255,0.16);	/*右へ、下へ、255,255,255は白のことで0.16は16%だけ色が出た状態。このテンプレートでは背景の映像が暗い為、白い影を16%で入れています。ご利用になる背景に合わせて、色と数字を調整して下さい。*/
}

/*画像と文字を囲むブロック*/
.free1 .list {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr)); /* 12等分 */
	gap: 5vw; /*要素間の隙間。画面幅100% = 100vwです。お好みで。*/
	margin-bottom: 5vw;	/*下に空けるスペース。お好みで。*/
	grid-auto-flow: dense;
}
.free1 .list:last-child {
  margin-bottom: 0;	/*最後のブロックの下マージンをなくす*/
}

/*imageとtextの設定*/
.free1 .image,
.free1 .text {
	align-self: center;
	position: relative;
}

/*画像をグリッド幅いっぱいに広げる*/
.free1 img {
	max-width: 100%;
	width: 100%;
	height: auto;
	display: block;
}

/*imageのみの設定*/
.free1 .image {
	grid-column: 1 / -1;
}

/*textのみの設定*/
.free1 .text {
	grid-column: 1 / -1;
}

/*image-wide（横長で使う場合）*/
.free1 .image-wide {
	grid-column: 1 / -1;
}

/*image-01*/
.free1 .image-01 {
	grid-column: 8 / -1;
}
/*.text-01*/
.free1 .text-01 {
	grid-column: 1 / 8;
}
/*image-01（左右入れ替え用）*/
.free1 .list.reverse .image-01 {
	grid-column: 1 / 6;
}
/*text-01（左右入れ替え用）*/
.free1 .list.reverse .text-01 {
	grid-column: 6 / -1;
}

/*image-02*/
.free1 .image-02 {
	grid-column: 1 / 10;
}
/*text-02*/
.free1 .text-02 {
	grid-column: 1 / 10;
}
/*image-02（左右入れ替え用）*/
.free1 .list.reverse .image-02 {
	grid-column: 4 / -1;
}
/*text-02（左右入れ替え用）*/
.free1 .list.reverse .text-02 {
	grid-column: 4 / -1;
}

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

	/*画像と文字を囲むブロック*/
	.free1 .list {
		display: block;
		margin-bottom: 3rem;
	}
	
	}/*追加指定ここまで*/


/*movie1（画面内に入るとループ再生する動画）
---------------------------------------------------------------------------*/
/*動画本体（画面の幅いっぱいに広げます。高さは動画の比率のままです。）*/
.movie1 video {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;	/*videoタグ全般の指定を打ち消す為*/
}


/*テーブル（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を読み込みます。*/
}

/*テーブルブロック設定*/
.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: clamp(8rem, 22vw, 13rem);	/*幅。8文字分〜13文字分の間で、画面幅に応じて自動調整。真ん中の22vwは画面幅の22%。*/
	text-align: left;	/*左よせにする*/
}


/*ボタン
---------------------------------------------------------------------------*/
.btn a,
.btn button {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	font-family: inherit;	/*buttonの既定フォントを打ち消す*/
	font-size: inherit;		/*buttonの既定の文字サイズを打ち消す*/
	line-height: inherit;	/*buttonの既定の行間を打ち消す*/
	cursor: pointer;		/*buttonでも指のカーソルにする*/
	font-weight: bold;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、var以降は色の指定で、theme.cssのprimary-colorを読み込みます。*/
	padding: 0.4rem 2rem;	/*上下に0.4文字分、左右に2文字分の余白*/
	border-radius: 999px;	/*カプセル型にする*/
}

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

/*アクセントカラー版*/
.btn.accent a,
.btn.accent button {
	background: var(--accent-color);		/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);		/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border: 1px solid var(--accent-color);	/*枠線の幅、線種、var以降は色の指定で、theme.cssのaccent-colorを読み込みます。*/
}

/*アイコンサイズを1.2倍に*/
.btn i {
	transform: scale(1.2);
	transition: 0.3s;
}
/*マウスオン時にアイコンを右へ*/
.btn a:hover i,
.btn button:hover i {
	transform: scale(1.2) translateX(4px);	/*右へ4px移動*/
}


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

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

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

	dl.news {
		display: grid;
		grid-template-columns: max-content minmax(0, 1fr);	/*日付幅は最大の文字数幅に自動調整し、右側テキストは残り一杯使う。*/
		gap: 0 2rem;	/*2remが、日付とテキストとの間に空けるスペース。お好みで。*/
		align-items: start;
	}

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


/*SNSアイコン
---------------------------------------------------------------------------*/
.sns {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;		/*アイコン同士のマージン的な要素。１文字分。*/
}
.sns i {
	font-size: 1.5rem;	/*アイコンサイズ*/
}


/*フッター（Copyright）
---------------------------------------------------------------------------*/
footer small {
	width: 100%;
	display: block;
	text-align: center;
	font-size: 0.8rem;	/*文字サイズ80%*/
	margin-top: -2rem;	/*上に２文字分移動させる*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	position: relative;z-index: 1;
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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(255,255,255,0.15);	/*背景色。255,255,255は白の事で0.15は色が15%出た状態。*/
	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));		/*ボックス内の上に空ける余白。theme.cssのcontent-space-vを読み込みます。*/
	padding-bottom: var(--content-space-v, var(--content-space-l));	/*ボックス内の下に空ける余白。theme.cssのcontent-space-vを読み込みます。*/
}


/*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: #ff4d4d !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: 2px 10px;background: rgba(0,0,0,0.7);color: #fff;border: 1px solid rgba(255,255,255,0.35);border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.85em;}
.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;}

