@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を読み込みます。*/
	-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);	/*上下、左右への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;
	padding: 0.8rem var(--content-space-l);
	border-top: 5px solid var(--primary-color);
}
/*トップページ以外は、ヘッダーの下に線*/
body:not(.home) header {border-bottom: 1px solid var(--bg-border-color);}	/*theme.cssのbg-border-colorを読み込みます。*/

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

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

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

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

/*ロゴがテキストの場合*/
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に、管理画面「ロゴの大きさ」の倍率を掛けます。*/
}

/*電話番号と受付時間（管理画面「サイト基本設定」の電話番号・受付時間）*/
header .tel {
	display: flex;
	flex-direction: column;
	text-align: center;
}
header .tel .tel-number {
	font-weight: bold;
	font-size: 1.5rem;
	color: var(--primary-color);
}
header .tel .tel-hours {
	font-size: 0.75rem;
	opacity: 0.6;
}


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

/*メニュー
---------------------------------------------------------------------------*/
/*メニューのサブ表記（管理画面「メニュー」の「サブ表記」）*/
#menubar .nav-sub {
	display: block;
	font-size: 0.7em;
	opacity: 0.5;
}
/*currentの文字色*/
#menubar > nav > ul > li.current > a {
	color: var(--primary-color);	/*theme.cssのprimary-colorを読み込みます。*/
}


/*大きな端末で見たメニュー（横の列＝#sub の一番上に縦に並ぶ）
---------------------------------------------------------------------------*/
.large-screen #menubar {
	margin-bottom: 3rem;	/*下のサイドバーのパーツとの間隔*/
}
.large-screen #menubar ul {
	list-style: none;
	margin: 0;padding: 0;
}

/*メニュー１個あたりの設定*/
.large-screen #menubar > nav > ul > li {
	border-bottom: 1px solid var(--bg-border-color);	/*下線。theme.cssのbg-border-colorを読み込みます。*/
}
.large-screen #menubar li a {
	display: block;text-decoration: none;
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	padding: 0.8rem 0.3rem;
	font-size: 0.9rem;
	transition: color 0.2s;
}
.large-screen #menubar li a:hover {
	color: var(--primary-color);	/*マウスオン時の文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*ボタン（管理画面「メニュー」の「ボタン風に表示」）*/
.large-screen #menubar .btn {
	margin-top: 1.5rem;
	border-bottom: none;
}
.large-screen #menubar .btn a,
.large-screen #menubar .btn a:hover {
	text-align: center;
	border-radius: 5px;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*子メニュー（常に開いておく）*/
.large-screen #menubar ul ul {
	display: block !important;	/*JSが付ける display:none を上書き*/
	margin-bottom: 0.6rem;
}
.large-screen #menubar ul ul a {
	padding: 0.35rem 0.3rem 0.35rem 1.2rem;	/*左に1.2文字分下げる*/
	font-size: 0.85rem;
}
.large-screen #menubar a.ddmenu::before {
	display: none;	/*▼は出さない*/
}

/*見出し（管理画面「メニュー」の「見出し（リンクなし）」）*/
.large-screen #menubar .menu-heading {
	border-bottom: none;
}
.large-screen #menubar .menu-heading > span {
	position: relative;
	display: block;
	opacity: 1;
	font-family: var(--heading-font);	/*フォント指定。theme.cssのheading-fontを読み込みます。*/
	font-weight: 500;
	font-size: 0.9rem;
	padding: 0 0 0.6rem;
	border-bottom: 1px solid var(--bg-border-color);
}
.large-screen #menubar .menu-heading > span::after {
	content: "";
	position: absolute;
	left: 0;bottom: -1px;
	width: 2rem;height: 2px;
	background: var(--primary-color);	/*下線の左端だけメインカラー。theme.cssのprimary-colorを読み込みます。*/
}
.large-screen #menubar li + .menu-heading {
	margin-top: 2rem;	/*見出しの上の間隔*/
}


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

/*ボタン*/
.small-screen #menubar .btn a {
	border: none;
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}
/*ボタンのアイコン*/
.small-screen #menubar .btn i {
	margin-right: 1em;	/*アイコンとテキストの間に空けるスペース*/
}

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

/*ドロップダウンのアイコン*/
a.ddmenu::before {
	content: "";
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	vertical-align: middle;
	margin-right: 1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
}


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


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

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

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

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

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


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

/*メイン画像全体を囲むブロック*/
.mainimg {
	width: 100%;
	position: relative;
	overflow: hidden;
}

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

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

/*画像全般（変更不要）*/
.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: 0 1px 4px rgba(0,0,0,0.55), 0 2px 12px rgba(0,0,0,0.35);	/*文字の影。写真の上でも読みやすくします。*/
}

/*テキストブロックを中央に配置させたい場合*/
.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;
}

/*h2（大きな文字）*/
.mainimg .text h2 {
	margin: 0;padding: 0;
	font-family: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-weight: 400;
	font-size: max(18px, 3.4vw);
	line-height: 1.5;
}

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

/*メイン画像の文字サイズ（管理画面「文字サイズ」大中小）。既定＝中(mv-size-md)。*/
.mainimg .text.mv-size-sm h2 { font-size: max(16px, 2.8vw); }	/*小*/
.mainimg .text.mv-size-sm p  { font-size: 0.8rem; }
.mainimg .text.mv-size-md h2 { font-size: max(18px, 3.4vw); }	/*中（既定）*/
.mainimg .text.mv-size-md p  { font-size: 0.9rem; }
.mainimg .text.mv-size-lg h2 { font-size: max(21px, 4.2vw); }	/*大*/
.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 .btn 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を読み込みます。*/
}
/*背景が白いタイプのボタン（管理画面でinverseを選んだ時）*/
.mainimg .btn.inverse a {
	background: var(--accent-inverse-color);	/*背景色。theme.cssのaccent-inverse-colorを読み込みます。*/
	color: var(--accent-color);				/*文字色。theme.cssのaccent-colorを読み込みます。*/
}


/*現在表示されているスライドのみをクリック可能にする設定（変更不要）
---------------------------------------------------------------------------*/
.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: 1vw;	/*ボタンの配置場所*/
	left: 0px;
}
/*１個あたり*/
.mainimg .indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: rgba(255,255,255,0.5);	/*未アクティブ時のボタン色。255,255,255は白のことで0.5は色が50%出た状態。*/
	box-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 1px 4px rgba(0,0,0,0.4);	/*細いフチ線と影。白っぽい画像の上でも見えるように。*/
	border-radius: 5px;	/*円形にする（高さの半分）*/
	margin: 0 5px;
	cursor: pointer;	/*マウスカーソルを指マークに*/
	transition: 0.3s;
}
.mainimg .indicator.active {
	width: 24px;	/*アクティブ時は横長にする（背景の色に関係なく区別できるように）*/
	background: #fff;	/*アクティブ時のボタン色*/
}


/*ボタン
---------------------------------------------------------------------------*/
.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.4rem 1.5rem;	/*上下に0.4文字分、左右に1.5文字分の余白*/
	font-weight: bold;		/*太字に*/
	border-radius: 5px;		/*角を少し丸くする*/
}

/*背景が白いタイプのボタン*/
.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;
}

/*h2*/
main h2 {
	line-height: 1.5;	/*行間*/
	display: flex;
	flex-direction: column-reverse;
	gap: 0.8rem;
	margin-top: 0;
}

/*上のライン*/
main h2::before {
	content: "";
	display: block;
	width: 3rem;	/*幅。3文字分。お好みで。*/
	height: 3px;	/*高さ。お好みで。*/
	background: var(--primary-color);	/*線の色。theme.cssのprimary-colorを読み込みます。*/
}

/*ライン無しにしたい場合*/
main h2.no-border::before {
	display: none;
}

/*センタリング時*/
main h2.c {
	width: fit-content;
	margin-inline: auto;
	text-align: center;
}

/*センタリング時のライン*/
main h2.c::before {
	margin-inline: auto;
}
main .ui-tools-grid2-parts .head-parts h2::before {margin-inline: auto;}	/*「選ばれる理由」のパーツの左の見出し（中央寄せ）も線を真ん中に*/

/*h2内のspan*/
main h2 span {
	display: block;
	font-size: 0.7rem;	/*文字サイズ70%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*h2内のspan（背景色つきセクションの上）。その面の「対」の色に切り替えて、背景と同化しないようにします。*/
main .bg1-parts h2 span {
	color: var(--bg-color);	/*文字色。theme.cssのbg-colorを読み込みます。*/
}
main .bg1-primary-parts h2 span {
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}
main .bg1-accent-parts h2 span {
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}

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


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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内で画面両サイドいっぱいまで広げる場合（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;}
.padding-x {padding: 0 var(--content-space-l);}
.mt0 {margin-top: 0px !important;}
.mt1rem {margin-top: 1rem !important;}
.mt3rem {margin-top: 3rem !important;}
.mb0 {margin-bottom: 0px !important;}	/*sectionの上下の余白はpaddingで作っているので、sectionには効きません。*/
.mb1rem {margin-bottom: 1rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: rgba(0,0,0,0.7);color: #fff; 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;}


/*見出しのフォント（このフレームは明朝体）
---------------------------------------------------------------------------*/
main h2, main h3, main h4,
.mainimg .text h2 {
	font-family: var(--heading-font);	/*フォント指定。theme.cssのheading-fontを読み込みます。*/
	font-weight: 500;
}
main h2 span {
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.9rem;
}


/*２カラム（横の列＝メニュー＋サイドバー）
---------------------------------------------------------------------------*/
#contents.c2 {
	display: flex;	/*横並びにする*/
	flex-direction: row-reverse;	/*サイドバーを左に*/
}

/*サイドバーを右にしたとき（管理画面「デザイン」の「サイドバーの位置」）*/
.side-right #contents.c2 {
	flex-direction: row;
}

/*本文*/
#contents.c2 main {
	flex: 1;		/*残りの幅を全部使う*/
	min-width: 0;	/*中身が大きくてもはみ出さないように*/
}

/*サイドバー*/
#contents.c2 #sub {
	width: clamp(180px, 23%, 260px);	/*最小180px、基本は23%、最大260px*/
	flex-shrink: 0;	/*縮ませない*/
	padding: var(--content-space-s) 1.2rem;	/*上下はtheme.cssのcontent-space-s、左右は1.2文字分*/
	border-right: 1px solid var(--bg-border-color);	/*本文との境目の線。theme.cssのbg-border-colorを読み込みます。*/
}
.side-right #contents.c2 #sub {
	border-right: none;
	border-left: 1px solid var(--bg-border-color);
}

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

	#contents.c2,
	.side-right #contents.c2 {
		flex-direction: column;	/*縦積みに（サイドバーは本文の下）*/
	}
	#contents.c2 #sub,
	.side-right #contents.c2 #sub {
		width: auto;
		padding: 0;	/*メニューは開閉式になるので、余白と線はサイドバーのパーツ側に付ける（下の#sub .cms-side）*/
		border-left: none;
		border-right: none;
	}

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


/*サイドバーの中身（管理画面「サイドバー」で入れたパーツ）
---------------------------------------------------------------------------*/
#sub .cms-side {
	margin-top: 0;
	font-size: 0.85rem;	/*文字サイズ85%*/
}
#sub .cms-side section {
	margin-bottom: 2.5rem;	/*ブロック同士の間隔*/
}

	/*画面幅900px未満の追加指定（ブロックを横に並べ、入りきらない分は折り返す）*/
	@media (max-width:899px) {

	#sub .cms-side {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 2.5rem 2rem;
		align-items: start;
		padding: var(--content-space-v, var(--content-space-l)) var(--content-space-l);	/*本文のsectionと同じ余白*/
		border-top: 1px solid var(--bg-border-color);	/*縦積み時は上に横線*/
	}
	#sub .cms-side section {
		margin-bottom: 0;
	}

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

/*見出し*/
#sub .cms-side h2 {
	position: relative;
	display: flex;
	flex-direction: column;	/*縦積みに*/
	gap: 0;
	font-family: var(--heading-font);	/*フォント指定。theme.cssのheading-fontを読み込みます。*/
	font-weight: 500;
	font-size: 0.9rem;	/*文字サイズ90%*/
	line-height: 1.5;
	padding-bottom: 0.6rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--bg-border-color);	/*下に薄い区切り線。theme.cssのbg-border-colorを読み込みます。*/
}
#sub .cms-side h2::before {
	display: none;	/*本文の見出しの上のラインは出さない*/
}

/*見出しの下線の左端だけメインカラーに*/
#sub .cms-side h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 2rem;
	height: 2px;
	background: var(--primary-color);	/*線の色。theme.cssのprimary-colorを読み込みます。*/
}

/*見出し内の英語（パーツの「装飾テキスト」）*/
#sub .cms-side h2 span {
	order: -1;
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 1.7rem;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.05em;
	opacity: 1;
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*画像（リンク付きの画像は、マウスオンで少しだけ拡大）*/
#sub .cms-side .cms-figure {
	overflow: hidden;
	border-radius: 4px;
}
#sub .cms-side .cms-figure img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.6s;
}
#sub .cms-side .cms-figure a:hover img {
	transform: scale(1.05);
}

/*お知らせ一覧*/
#sub .cms-side .news-list-date {
	font-family: var(--accent-font);
	font-size: 0.95rem;
	color: var(--primary-color);
	opacity: 1;
}
#sub .cms-side .news-list-title {
	font-weight: 400;
}

/*背景色つきのパーツ（相談ボックスなど）*/
#sub .cms-side section.bg-parts {
	padding: 1.5rem 1.2rem;
	border-radius: 4px;
}
