@charset "utf-8";


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


/*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(13px, 0.29vw + 11.9px, 16px);	/*画面幅375px〜1400pxの間で、13px〜16pxに可変。下でrem管理しているものも連動します。*/
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	font-weight: 300;
	-webkit-text-size-adjust: none;
	background: var(--bg-color);	/*背景色。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	line-height: 2;		/*行間*/
	letter-spacing: 0.08em;	/*文字間隔を少しだけ広く*/
	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;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
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-wrap: wrap;	/*メニューが横に収まらない時は、ロゴの下に回り込ませる*/
	justify-content: space-between;
	align-items: center;
	gap: 1rem 3rem;		/*上下に1文字分、ロゴとメニューブロックの間に3文字分のスペース*/
	min-height: 100px;	/*ヘッダーの高さ。お好みで。*/
	padding: 1rem 0;	/*上下の余白*/
	margin-inline: var(--content-space-l);	/*左右の余白。theme.cssのcontent-space-lを読み込みます*/
}

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

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

	header .logo img {
		width: calc(var(--logo-width) * 0.8 * var(--logo-scale, 1));	/*ロゴの幅（少し小さく）*/
	}

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

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

/*小さな端末では、開閉ボタンと重ならないように右に余白をとる*/
.small-screen header {
	padding-right: 50px;
}


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


/*大きな端末で見たメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
	display: flex;
	flex-wrap: wrap;	/*横に収まらない時は折り返す*/
	align-items: center;
	gap: 0.5rem 3rem;	/*メニュー同士に空けるスペース。上下0.5文字分、左右3文字分。*/
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.85rem;		/*文字サイズ85%*/
	letter-spacing: 0.2em;	/*文字間隔を広く*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li a {
	display: block;text-decoration: none;
	position: relative;
	padding-bottom: 0.2rem;	/*文字と下線の間のスペース*/
}

/*下線（マウスオンで左から右へすっと伸びます）*/
.large-screen #menubar > nav > ul > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;		/*線の太さ*/
	background: currentColor;	/*線の色。文字と同じ色。*/
	transform: scaleX(0);		/*最初は長さ0で見えない状態*/
	transform-origin: right;	/*マウスが離れた時は、右へ縮んで消えます*/
	transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);	/*線が伸びる時間。0.4秒。*/
}

/*マウスオン時と、現在表示中のメニュー（current）は線を表示*/
.large-screen #menubar > nav > ul > li > a:hover::after,
.large-screen #menubar > nav > ul > li.current > a::after {
	transform: scaleX(1);
	transform-origin: left;	/*左から右へ伸ばす*/
}


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

/*ボタン（管理画面「メニュー」で「ボタンにする」を選んだ項目）。線で囲みます。*/
.large-screen #menubar > nav > ul > li.btn > a {
	border: 1px solid currentColor;
	padding: 0.4rem 1.2rem;
}
.large-screen #menubar > nav > ul > li.btn > a::after {display: none;}


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

/*メニュー１個あたり*/
.large-screen #menubar ul ul a {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	padding: 0.3rem 1.2rem;	/*上下に0.3文字分、左右に1.2文字分の余白*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線の幅、線種、最後は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	white-space: nowrap;	/*折り返さない*/
}


/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.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(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	letter-spacing: 0.2em;	/*文字間隔を広く*/
}

.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;
	padding: 1rem 0;	/*メニュー内の余白。上下に１文字分。*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線。theme.cssのbg-border-colorを読み込みます。*/
}

/*現在表示中のメニュー（current）。ボタンにしたメニューは除きます（ボタンの色のままにするため）*/
.small-screen #menubar li.current:not(.btn) > a {
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
	text-decoration: underline;	/*色を変えても分かるように下線も*/
	text-underline-offset: 0.4em;
}

/*ボタンにしたメニュー（小さな端末）*/
.small-screen #menubar li.btn > a {
	padding: 1rem 1.2rem;	/*箱の中の左右に余白*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	padding: 0.7rem 0 0.7rem 2rem;	/*メニュー内の余白。上下に0.7文字分、左に2文字分。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

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

/*メニューの下の小さな文字（小さな端末でのみ表示）*/
.small-screen #menubar .sh {
	margin-top: 2rem;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	font-size: 0.8rem;	/*文字サイズ80%*/
}


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

/*ハンバーガーアイコンの線*/
#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 span:nth-of-type(1) {
	top: 26px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 42px;
}
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(8px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-8px) rotate(45deg);
}

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


/*メイン画像（余白の中に、作品を１点だけ飾るタイプ）
---------------------------------------------------------------------------*/
.mainimg * {margin: 0;padding: 0;}

/*メイン画像全体を囲むブロック*/
.mainimg {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));	/*横を12等分したマス目にして、文章と写真を置きます*/
	align-items: end;
	min-height: calc(100vh - 100px);	/*画面の高さからheaderの高さ（100px）を引いたサイズ。下の行に対応していない古いブラウザ用。*/
	min-height: calc(100svh - 100px);	/*スマホのアドレスバーを除いた画面の高さから、headerの高さを引いたサイズ。*/
	padding: 3rem var(--content-space-l) 5rem;	/*上に3文字分、左右にtheme.cssのcontent-space-l、下に5文字分の余白*/
}

/*テキストブロック（管理画面のテキストの位置「左」＝標準）*/
.mainimg .text {
	grid-column: 1 / 7;	/*12マスのうち、1〜6マス目に置きます*/
	grid-row: 1;
}

/*h2（大きな文字）*/
.mainimg h2 {
	display: flex;
	flex-direction: column;	/*spanの英字を上に出します*/
	gap: 1.5rem;	/*英字との間のスペース*/
	font-weight: 300;
	font-size: max(20px, 1.8vw);	/*文字サイズ。画面幅の1.8%（20pxより小さくはしません）*/
	letter-spacing: 0.25em;	/*文字間隔を広く*/
	line-height: 2.2;	/*行間*/
}

/*h2の中の英字（管理画面「デザイン」の「このフレーム専用の素材」で変更できます）*/
.mainimg h2 span {
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.75rem;		/*文字サイズ75%*/
	letter-spacing: 0.3em;	/*文字間隔を広く*/
	line-height: 1;
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
}

/*p（説明テキスト部分）*/
.mainimg .text p {
	margin-top: 2rem;	/*上に2文字分のスペース*/
	font-size: 0.85rem;	/*文字サイズ85%*/
	letter-spacing: 0.15em;	/*文字間隔を広く*/
}

/*ボタン（線のついたリンク）を2つ置いた場合*/
.mainimg .btn-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0 3rem;
}

/*作品（写真と説明）*/
.mainimg .work {
	grid-column: 9 / 12;	/*12マスのうち、9〜11マス目に置きます。写真を大きくしたい時は「8 / 12」などに。*/
	grid-row: 1;
	align-self: center;	/*上下の中央に置きます*/
	animation: opa1 1.5s 0.6s both;	/*0.6秒待ってから、1.5秒かけてふわっと表示*/
}
.mainimg .work img {
	display: block;
	width: 100%;
}

/*作品の説明（写真の下の小さな文字）*/
.mainimg .work figcaption {
	margin-top: 1.2rem;	/*写真との間のスペース*/
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.75rem;		/*文字サイズ75%*/
	letter-spacing: 0.15em;	/*文字間隔を広く*/
	line-height: 1.8;
}

/*説明の中の番号*/
.mainimg .work figcaption span {
	display: block;
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
}

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

	/*１列にして、作品を上、テキストを下に*/
	.mainimg {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 4rem;	/*作品とテキストの間のスペース*/
		min-height: 0;
		padding-top: 1rem;
	}
	.mainimg .work {
		order: -1;	/*作品を先に表示*/
		width: 60%;	/*作品の幅*/
		margin-left: auto;	/*右に寄せる*/
	}

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


/*メイン画像のレイアウト違い（管理画面「メイン画像」のテキストの位置で切り替わります）
---------------------------------------------------------------------------*/
/*テキストの位置「右」：作品を左、テキストを右に*/
.mainimg:has(.text.right-parts) .text {
	grid-column: 8 / 13;	/*12マスのうち、8〜12マス目に置きます*/
}
.mainimg:has(.text.right-parts) .work {
	grid-column: 2 / 5;		/*12マスのうち、2〜4マス目に置きます*/
}

/*テキストの位置「中央」：キャッチを縦書きにして右に、作品を左に*/
.mainimg .text.center-parts {
	grid-column: 7 / 12;	/*12マスのうち、7〜11マス目に置きます*/
	align-self: center;		/*上下の中央に置きます*/
	justify-self: end;		/*右に寄せます*/
	writing-mode: vertical-rl;	/*縦書きにします（右から左へ行が進みます）*/
	display: flex;
	flex-direction: column;
}
.mainimg .text.center-parts p {
	margin-top: 0;
	margin-right: 2.5rem;	/*キャッチとの間のスペース（縦書きでは右側が前になります）*/
}
.mainimg .text.center-parts h2 {
	max-height: max(16rem, calc(100svh - 300px));	/*キャッチが長いときは、この高さで次の行へ折り返します（画面の外へ伸びないように）*/
}
.mainimg .text.center-parts h2 span {
	letter-spacing: 0.4em;	/*英字の文字間隔*/
}
.mainimg:has(.text.center-parts) .work {
	grid-column: 2 / 5;		/*12マスのうち、2〜4マス目に置きます*/
}

/*縦書きの中のリンクだけは横書きに戻します*/
.mainimg .text.center-parts .btn-container {
	writing-mode: horizontal-tb;
	flex-direction: column;	/*ボタンが2つのときは縦に並べます（写真にかからないように）*/
	gap: 1rem;
	margin: 0 3rem 0 0;	/*右に3文字分のスペース*/
	align-self: flex-end;
}
.mainimg .text.center-parts .link {margin-top: 0;}

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

	/*小さな画面では、横書きに戻して通常の並びに*/
	.mainimg .text.center-parts {
		writing-mode: horizontal-tb;
		display: block;
		align-self: auto;
	}
	.mainimg .text.center-parts p {
		margin: 2rem 0 0;
	}
	.mainimg .text.center-parts h2 {
		max-height: none;
	}
	.mainimg .text.center-parts .btn-container {
		flex-direction: row;
		gap: 0 3rem;
		margin: 3rem 0 0;
	}

	/*作品を左に寄せる（テキストの位置「右」「中央」）*/
	.mainimg:has(.text.right-parts) .work,
	.mainimg:has(.text.center-parts) .work {
		margin-left: 0;
		margin-right: auto;
	}

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


/*ボタン
---------------------------------------------------------------------------*/
.btn a {
	display: inline-flex;		/*文字とSVG矢印を横並びにする*/
	align-items: center;		/*縦位置を中央に揃える*/
	text-decoration: none;
	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.8rem 2rem;	/*上下に0.8文字分、左右に2文字分の余白*/
	font-weight: bold;		/*太字に*/
}

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

/*アクセントカラーのボタン*/
.btn.accent a {
	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を読み込みます。*/
}


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


/*main内の見出し（h2）
---------------------------------------------------------------------------*/
main h2 {
	display: flex;
	flex-direction: column;	/*span（管理画面の「装飾テキスト」）の英字を上に出します*/
	gap: 1.2rem;	/*英字との間のスペース*/
	margin: 0 0 2.5rem;	/*下に2.5文字分のスペース*/
	font-weight: 300;
	font-size: 1.5rem;		/*文字サイズ150%*/
	letter-spacing: 0.25em;	/*文字間隔を広く*/
	line-height: 1.8;	/*行間*/
}

/*h2の中の英字（管理画面の「装飾テキスト」）*/
main h2 span {
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.75rem;		/*文字サイズ75%*/
	letter-spacing: 0.3em;	/*文字間隔を広く*/
	line-height: 1;
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
}

/*センタリング（h2.c）*/
main h2.c {
	align-items: center;
}

/*見出しの下の文章*/
main h2 + p {
	font-size: 0.9rem;	/*文字サイズ90%*/
	letter-spacing: 0.15em;	/*文字間隔を広く*/
}


/*文字の前に線が付いたリンク（View Works など）
---------------------------------------------------------------------------*/
.link {
	margin-top: 3rem;	/*上に3文字分のスペース*/
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.8rem;		/*文字サイズ80%*/
	letter-spacing: 0.25em;	/*文字間隔を広く*/
}

/*ブロック内の文章（p）の指定より優先させる*/
.mainimg .text .link {
	margin-top: 3rem;
	font-size: 0.8rem;
}

.link a {
	display: inline-flex;
	align-items: center;
	gap: 1.2rem;	/*線と文字の間のスペース*/
	text-decoration: none;
}

/*文字の前の線*/
.link a::before {
	content: "";
	width: 3rem;	/*線の長さ*/
	height: 1px;	/*線の太さ*/
	background: currentColor;	/*線の色。文字と同じ色。*/
	transition: width 0.4s;
}
.link a:hover::before {
	width: 5rem;	/*マウスオンで線を伸ばす*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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-primary-light
---------------------------------------------------------------------------*/
.bg1-primary-light-parts {
	background-color: var(--primary-light-color);		/*背景色。theme.cssのprimary-light-colorを読み込みます。*/
	color: var(--primary-light-inverse-color);	/*文字色。theme.cssのprimary-light-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;}
.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;}


/*このフレームの細かな調整
---------------------------------------------------------------------------*/

/*背景色「アクセント」のセクションでは、見出しの英字をアクセントの対の色に（同じ色で見えなくなるのを防ぐ）*/
main .bg1-accent-parts h2 span,
main .bg1-accent-parts h3 span {
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}
