@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(13px, 0.2vw + 12.2px, 15px);	/*画面幅に合わせて13px〜15pxに可変。下でrem管理しているものも連動します。*/
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	-webkit-text-size-adjust: none;
	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（白い角丸の箱。背景はメインカラー）
---------------------------------------------------------------------------*/
body {background: var(--primary-color);}	/*ページの背景。theme.cssのprimary-colorを読み込みます。*/
main > section {
	margin: 0 3% 30px;	/*上、左右、下の外側の余白*/
	padding: max(2rem, 3vw) max(1.5rem, 3vw);	/*箱の中の余白。上下、左右。*/
	border-radius: 30px;	/*角丸のサイズ*/
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	overflow: hidden;
}
	@media (max-width:600px) {
	main > section {border-radius: 20px;}
	}
section {
	padding: var(--content-space-v, var(--content-space-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つ目の数字)秒かけてフェードイン*/
	max-width: 1400px;	/*最大幅*/
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}


/*header（ロゴ。トップページではメイン画像の左上に重ねます）
---------------------------------------------------------------------------*/
header {
	position: relative;
	padding: 20px;
	text-align: center;
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

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

/*ロゴがテキストの場合*/
header .logo a {
	display: inline-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 {padding: 0;}
body.home header .logo {
	position: absolute;z-index: 3;
	left: 13%;top: 20px;	/*配置場所。左から、上から。*/
}
body.home header .logo img {
	width: calc(var(--logo-hero-width) * var(--logo-scale, 1));	/*ロゴの幅。theme.cssの--logo-hero-widthに、管理画面「ロゴの大きさ」の倍率を掛けます。*/
}
	/*小さな画面では、ロゴを写真の上（重ねずに）に*/
	@media (max-width:600px) {
	body.home header .logo {position: static;padding: 10px 70px 0;}
	body.home header .logo img {width: calc(var(--logo-hero-width) * 1.6 * var(--logo-scale, 1));}
	}


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#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 {
	margin: 1rem 0 2rem;
	text-align: center;
	font-size: 1.15rem;
	line-height: 2;
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}
.large-screen #menubar ul {list-style: none;margin: 0;padding: 0;}
.large-screen #menubar > nav > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.3rem 10px;
}
.large-screen #menubar li {position: relative;}
.large-screen #menubar li a {
	display: block;text-decoration: none;
	padding: 0 20px;
	border-radius: 100px;	/*角丸。大きめなら丸くなります。*/
	color: inherit;
}
.large-screen #menubar > nav > ul > li.current > a,
.large-screen #menubar li a:hover {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}
.large-screen #menubar .nav-sub {display: none;}

/*ボタン（管理画面のメニューで「ボタン」にした項目）*/
.large-screen #menubar > nav > ul > li.btn > a {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border: none;
	min-width: 0;
	padding: 0 20px;
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	left: 50%;top: 100%;
	transform: translateX(-50%);
	min-width: 100%;
	padding-top: 6px;
	animation: opa1 0.5s 0.1s both;
}
.large-screen #menubar ul ul a {
	margin-bottom: 4px;
	padding: 0.2rem 1.2rem;
	background: var(--bg-color);
	color: var(--bg-inverse-color);
	font-size: 0.85em;
	white-space: nowrap;
}


/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
.small-screen #menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 80px 8% 50px;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	text-align: center;
}

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

/*メニュー１個あたり（白い角丸）*/
.small-screen #menubar a {
	display: block;text-decoration: none;
	margin-bottom: 10px;
	padding: 0.8rem 1rem;
	border-radius: 100px;
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}
.small-screen #menubar ul ul a {
	margin-left: 2rem;
	padding: 0.5rem 1rem;
	font-size: 0.9em;
}
.small-screen #menubar .nav-sub {display: block;font-size: 0.7em;opacity: 0.7;}

/*ドロップダウンのアイコン*/
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: 10px;top: 10px;	/*配置場所*/
	width: 50px;	/*ボタンの幅*/
	height: 50px;	/*ボタンの高さ*/
	border-radius: 50%;
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 15px;
	width: 20px;
	height: 2px;		/*線の高さ*/
	border-radius: 2px;
	background: var(--primary-color);	/*線の色。theme.cssのprimary-colorを読み込みます。*/
}
#menubar_hdr span:nth-of-type(1) {top: 18px;}
#menubar_hdr span:nth-of-type(2) {top: 24px;}
#menubar_hdr span:nth-of-type(3) {top: 30px;}
#menubar_hdr.ham span:nth-of-type(1) {transform: translateY(6px) rotate(-45deg);}
#menubar_hdr.ham span:nth-of-type(2) {opacity: 0;}
#menubar_hdr.ham span:nth-of-type(3) {transform: translateY(-6px) rotate(45deg);}

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


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

/*メイン画像全体を囲むブロック（ふんわりした形に切り抜き、まわりに点線の枠を2本ずらして重ねます）*/
.mainimg {
	width: 100%;
	position: relative;
}
.mainimg .mv-shape {
	position: relative;
	clip-path: url(#mvClip);	/*形はmainimg.htmlの中のSVG（#mvClip）で決めています*/
}
/*点線の枠（色は「メインカラーの対の色」から作る白っぽい色）*/
.mainimg .mv-dots {
	position: absolute;z-index: 2;
	inset: 0;
	width: 100%;height: 100%;
	pointer-events: none;
	overflow: visible;
}
.mainimg .mv-dots path {
	fill: none;
	stroke: var(--bg-color);	/*点線の色。theme.cssのbg-colorを読み込みます。*/
	stroke-width: 2;
	stroke-dasharray: 2 6;	/*点の長さ、すき間*/
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
}

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

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

/*写真の縦横比（横20：縦11）*/
.mainimg:not(.mv-video) .img1 {aspect-ratio: 20 / 11;}
.mainimg.mv-video video {aspect-ratio: 20 / 11;object-fit: cover;}

/*写真の上の文字は、形の内側に収まるよう少し内側に*/
body .mainimg .slide .text {margin: 0 20%;}
	@media (max-width:600px) {
	body .mainimg .slide .text {margin: 0 12%;}
	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.3rem;}
	.mainimg .btn a {min-width: 0;padding: 0.2rem 1rem;font-size: 0.8rem;}
	}

/*画像全般（変更不要）*/
.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: 12%;	/*ボタンの配置場所（形の内側）*/
	left: 0px;
}
/*１個あたり*/
.mainimg .indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: rgba(255,255,255,0.6);	/*未アクティブ時のボタン色*/
	box-shadow: 0px 0px 10px rgba(0,0,0,0.5);	/*ドットの影。白い画像上で消えないようにするため。*/
	border-radius: 50%;
	margin: 0 5px;
	cursor: pointer;
}
.mainimg .indicator.active {
	background: #fff;	/*アクティブ時のボタン色*/
}


/*ボタン（角の丸いボタン）
---------------------------------------------------------------------------*/
.btn a {
	display: inline-flex;		/*文字とアイコンを横並びにする*/
	align-items: center;		/*縦位置を中央に揃える*/
	justify-content: center;
	gap: 0.5em;
	text-decoration: none;
	min-width: 12em;
	padding: 0.5rem 2rem;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	border: 2px solid var(--primary-color);
	border-radius: 100px;	/*角丸。大きめなら丸くなります。*/
	transition: 0.3s;
}
.btn a:hover {
	background: var(--bg-color);
	color: var(--bg-inverse-color);
}

/*背景が白いタイプのボタン*/
.btn.inverse a {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-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見出し（中央。文字の下に点線）
---------------------------------------------------------------------------*/
main h2 {
	margin: 0 0 2rem;	/*見出しの上のマージンはリセット（余白はsectionのpaddingで管理する為）*/
	font-size: 1.6rem;	/*文字サイズ160%*/
	letter-spacing: 0.1em;
	line-height: 1.6;
}
main h2.inview {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
/*見出しの文字の下の点線（js/main.js が文字を span.h2line で包みます）*/
main h2 .h2line {
	display: inline-block;
	padding: 0 30px 0.4rem;	/*文字の両側の分だけ、点線が長く出ます*/
	border-bottom: 2px dotted currentColor;
	border-bottom-color: color-mix(in srgb, currentColor 45%, transparent);	/*文字色を45%だけ出した色*/
}

/*h2内のspan（管理画面の「装飾テキスト」）*/
main h2 > span:not(.h2line) {
	display: block;
	font-size: 0.55em;
	letter-spacing: 0.15em;
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
}
main :is(.bg1-parts, .bg1-primary-parts, .bg1-accent-parts) h2 > span:not(.h2line) {color: inherit;}

/*h3見出し*/
main h3 {
	font-size: 1.2rem;
	text-align: center;
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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（白い角丸の箱。背景はメインカラー）
---------------------------------------------------------------------------*/
body {background: var(--primary-color);}	/*ページの背景。theme.cssのprimary-colorを読み込みます。*/
main > section {
	margin: 0 3% 30px;	/*上、左右、下の外側の余白*/
	padding: max(2rem, 3vw) max(1.5rem, 3vw);	/*箱の中の余白。上下、左右。*/
	border-radius: 30px;	/*角丸のサイズ*/
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	overflow: hidden;
}
	@media (max-width:600px) {
	main > section {border-radius: 20px;}
	}
section {
	padding: var(--content-space-v, var(--content-space-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;}


/*お知らせ一覧へのリンク（メインカラーが背景と近いので、文字色にそろえて下線をつけます）
---------------------------------------------------------------------------*/
body .news-list-more-link {color: inherit;text-decoration: underline;text-underline-offset: 0.3em;}
