@charset "utf-8";


/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("theme.css");
@import url("inview.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;		/*行間*/
	overflow-x: hidden;
}

/*背景の方眼（20pxごとに小さな点を並べます。不要な場合はこのブロックごと削除して下さい）*/
body {
	background-image: radial-gradient(circle, rgba(61,73,85,0.15) 1px, transparent 1.5px);	/*点の色と大きさ。61,73,85はメインカラーと同じグレーで、0.15は色が15%出た状態。*/
	background-size: 20px 20px;	/*点の間隔*/
}

/*リセット*/
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: 90px;	/*ヘッダーの高さ。お好みで。*/
	padding: 1rem var(--content-space-l);	/*上下に1文字分、左右にtheme.cssのcontent-space-lの余白*/
}

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

	/*ヘッダー。ハンバーガーアイコンが出るのでその分の余白を確保。*/
	header {
		min-height: 70px;
		padding-right: calc(var(--content-space-l) + 60px);
	}

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

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

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

	header .logo img {
		width: 180px;	/*ロゴの幅*/
	}

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


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#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 2rem;	/*メニュー同士に空けるスペース。上下0.5文字分、左右2文字分。*/
	font-size: 0.85rem;		/*文字サイズ85%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	position: relative;
}
.large-screen #menubar li a {
	display: block;text-decoration: none;
	position: relative;
	padding: 0.3rem 0;	/*上下に0.3文字分の余白*/
}

/*下線（マウスオンで左から右へすっと伸びます）*/
.large-screen #menubar > nav > ul > li:not(.btn) > 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;	/*左から右へ伸ばす*/
}

/*ボタン（liにbtnを付けたメニュー）*/
.large-screen #menubar li.btn a {
	padding: 0.9rem 1.8rem;	/*上下に0.9文字分、左右に1.8文字分の余白*/
}
/*ボタンのアイコン*/
#menubar li.btn i {
	margin-right: 0.8em;	/*アイコンとテキストの間に空けるスペース*/
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	left: -1.2rem;
	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.6rem 1.2rem;	/*上下に0.6文字分、左右に1.2文字分の余白*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線の幅、線種、最後は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	white-space: nowrap;	/*折り返さない*/
}

.large-screen #menubar ul ul li:first-child a {
	border-top: 1px solid var(--bg-border-color);	/*一番上の線。theme.cssのbg-border-colorを読み込みます。*/
}

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


/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.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を読み込みます。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

.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.5rem;	/*メニュー内の余白。上下に１文字分、左右に0.5文字分。*/
	border-bottom: 1px solid var(--primary-border-color);	/*下の線の幅、線種、var以降は色の指定でtheme.cssのprimary-border-colorを読み込みます。*/
}

/*現在表示中のメニュー（current）*/
.small-screen #menubar li.current > a {
	text-decoration: underline;	/*下線を付ける*/
	text-underline-offset: 0.5em;	/*文字と下線の間のスペース*/
}

/*ボタン（liにbtnを付けたメニュー）*/
.small-screen #menubar li.btn a {
	margin-top: 2rem;
	border: 1px solid var(--primary-inverse-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのprimary-inverse-colorを読み込みます。*/
	text-align: center;
}

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

/*ドロップダウンのアイコン*/
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;
}

/*大きな端末ではアイコンを出さない*/
.large-screen a.ddmenu::before {
	display: none;
}

/*メニューの下の小さな文字（小さな端末でのみ表示）*/
.small-screen #menubar .sh {
	margin-top: 2rem;
	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: 0px;	/*上からの配置場所*/
	width: 70px;	/*ボタンの幅*/
	height: 70px;	/*ボタンの高さ*/
	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: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
}
#menubar_hdr.ham span {
	background: var(--primary-inverse-color);	/*線の色。theme.cssのprimary-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 * {margin: 0;padding: 0;}
.mainimg .slide picture {display: block;}
.mainimg .slide img {display: block;width: 100%;}

/*メイン画像全体を囲むブロック*/
.mainimg {
	width: 100%;
	position: relative;
	padding: 3vw var(--content-space-l) 6vw;	/*上に3vw、左右にtheme.cssのcontent-space-l、下に6vwの余白*/
}

/*文章と写真を横に並べるブロック*/
.mainimg .slide {
	display: flex;
	align-items: center;
	gap: 5vw;	/*文章と写真の間に空けるスペース*/
}


/*メイン画像のテキスト
---------------------------------------------------------------------------*/
/*テキストブロック（左に配置がデフォルト）*/
.mainimg .slide .text {
	flex: 5;	/*文章と写真の幅の比率。文章5：写真7。*/
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

/*文字色を白にしたい場合（.textに.inverseを追加。背景を濃い色にした時用）*/
.mainimg .slide .text.inverse {
	color: #fff;
	text-shadow: 0 0 10px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.5);	/*文字の影*/
}

/*テキストブロックを右に配置させたい場合（写真が左になります）*/
.mainimg .slide .text.right {
	order: 2;
}

/*テキストブロックの中身を中央揃えにしたい場合*/
.mainimg .slide .text.center {
	align-items: center;
	text-align: center;
}

/*寸法線（両端に目盛りの付いた線。中に短い文字を入れます）*/
.mainimg .dim {
	display: flex;
	align-items: center;
	gap: 0.8em;		/*文字と線の間に空けるスペース*/
	align-self: stretch;	/*テキストブロックの幅いっぱいに*/
	border-left: 1px solid currentColor;	/*左の目盛り*/
	border-right: 1px solid currentColor;	/*右の目盛り*/
	padding: 0.2rem 0;
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.8rem;		/*文字サイズ80%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	color: var(--primary-color);	/*線と文字の色。theme.cssのprimary-colorを読み込みます。*/
}
.mainimg .dim::before,
.mainimg .dim::after {
	content: "";
	flex: 1;
	height: 1px;	/*線の太さ*/
	background: currentColor;	/*線の色。文字と同じ色。*/
}

/*h2（大きな文字）*/
.mainimg .text h2 {
	display: flex;
	flex-direction: column-reverse;	/*spanの英字を上に表示*/
	margin: 1.5rem 0;	/*上下に1.5文字分の余白*/
	font-weight: 900;	/*太字*/
	font-size: clamp(2rem, 4vw, 3.4rem);	/*文字サイズ。画面幅に合わせて2〜3.4文字分。*/
	line-height: 1.35;
}

/*h2内のspan（英字）*/
.mainimg .text h2 span {
	margin-bottom: 0.8rem;
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-weight: 400;
	font-size: 0.85rem;		/*文字サイズ85%*/
	letter-spacing: 0.15em;	/*文字間隔を広く*/
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
}

/*p（説明テキスト部分）*/
.mainimg .text p:not(.dim) {
	margin-bottom: 2rem;	/*下に2文字分の余白*/
}

/*ボタンブロック（ボタンが１つの場合も、このブロックで囲みます）*/
.mainimg .btn-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;	/*2個以上ボタンを並べた場合の、間に空けるスペース。*/
	text-shadow: none;	/*ボタンには文字の影を付けない*/
}


/*メイン画像の写真（縦の寸法線と、右下の表を重ねます）
---------------------------------------------------------------------------*/
/*写真ブロック*/
.mainimg .slide .image {
	flex: 7;	/*文章と写真の幅の比率。文章5：写真7。*/
	position: relative;
	display: flex;
	gap: 1rem;	/*写真と縦の寸法線の間に空けるスペース*/
}
.mainimg .slide .image picture {
	flex: 1;
	border: 1px solid var(--primary-color);	/*写真の枠線。theme.cssのprimary-colorを読み込みます。*/
	padding: 6px;	/*枠線と写真の間のすき間*/
}

/*縦の寸法線（上下に目盛り）*/
.mainimg .dim.tate {
	writing-mode: vertical-rl;	/*縦書き*/
	border: none;
	border-top: 1px solid currentColor;		/*上の目盛り*/
	border-bottom: 1px solid currentColor;	/*下の目盛り*/
	padding: 0 0.2rem;
}
.mainimg .dim.tate::before,
.mainimg .dim.tate::after {
	width: 1px;	/*線の太さ*/
	height: auto;
}

/*写真の右下に重ねる表（図面の表題欄のイメージ）*/
.mainimg dl.spec {
	position: absolute;
	right: 3rem;
	bottom: -1.5rem;
	display: grid;
	grid-template-columns: auto auto;	/*左に項目名、右に内容*/
	background: var(--bg-color);		/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);		/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	border: 1px solid var(--primary-color);	/*枠線。theme.cssのprimary-colorを読み込みます。*/
	font-size: 0.75rem;	/*文字サイズ75%*/
	line-height: 1.6;
}
.mainimg dl.spec dt,
.mainimg dl.spec dd {
	padding: 0.3rem 0.8rem;
	border-bottom: 1px solid var(--bg-border-color);	/*下の線。theme.cssのbg-border-colorを読み込みます。*/
}
.mainimg dl.spec dt {
	border-right: 1px solid var(--bg-border-color);	/*右の線。theme.cssのbg-border-colorを読み込みます。*/
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	letter-spacing: 0.05em;
}
.mainimg dl.spec dd {
	font-weight: bold;
}
.mainimg dl.spec dt:last-of-type,
.mainimg dl.spec dd:last-of-type {
	border-bottom: none;	/*一番下の行は線なし*/
}

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

	/*文章と写真を縦に並べる（写真が上）*/
	.mainimg .slide {
		flex-direction: column;
		align-items: stretch;
		gap: 3rem;
	}
	.mainimg .slide .text.right {
		order: 0;
	}
	.mainimg .slide .image {
		order: -1;
	}

	/*縦の寸法線は非表示*/
	.mainimg .dim.tate {
		display: none;
	}

	/*右下の表は、写真の下に*/
	.mainimg dl.spec {
		position: static;
		align-self: flex-end;
		margin: -2rem 1rem 0 0;
	}
	.mainimg .slide .image {
		flex-direction: column;
	}

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


/*キャッチを大きく上に、写真を下に横いっぱいに並べる場合（mainimgにstackを追加）
---------------------------------------------------------------------------*/
/*縦に並べる*/
.mainimg.stack .slide {
	flex-direction: column;
	align-items: stretch;
	gap: 3rem;	/*文章と写真の間に空けるスペース*/
}

/*テキストブロック（左に大きなキャッチ、右下に説明文とボタン）*/
.mainimg.stack .slide .text {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);	/*右の説明文の列は最大24文字分*/
	align-items: end;
	gap: 0 4vw;
}
.mainimg.stack .dim {
	grid-column: 1 / -1;	/*寸法線は横いっぱいに*/
}
.mainimg.stack .text h2 {
	grid-row: span 2;
	margin-bottom: 0;
	font-size: clamp(2.4rem, 7vw, 6.5rem);	/*文字サイズ。画面幅に合わせて2.4〜6.5文字分。*/
	line-height: 1.2;
	text-wrap: balance;	/*各行の長さをそろえて、1〜2文字だけの行ができにくくします（対応していないブラウザでは通常の折り返し）*/
}
.mainimg.stack .text p:not(.dim) {
	margin-bottom: 1.5rem;
}

/*写真（高さを抑えて横いっぱいに。写真の上下は切り取られます）*/
.mainimg.stack .slide .image img {
	height: clamp(260px, 40vw, 600px);	/*写真の高さ。画面幅に合わせて260px〜600px。*/
	object-fit: cover;
}

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

	/*文章を1列に、写真は文章の下のまま*/
	.mainimg.stack .slide .text {
		grid-template-columns: minmax(0, 1fr);
	}
	.mainimg.stack .text h2 {
		grid-row: auto;
		margin-bottom: 1.5rem;
	}
	.mainimg.stack .slide .image {
		order: 0;
	}

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


/*ボタン
---------------------------------------------------------------------------*/
.btn a {
	display: inline-flex;		/*文字と矢印を横並びにする*/
	align-items: center;		/*縦位置を中央に揃える*/
	gap: 1.5rem;		/*文字と矢印の間に空けるスペース*/
	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.9rem 2rem;	/*上下に0.9文字分、左右に2文字分の余白*/
	font-size: 0.85rem;		/*文字サイズ85%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*細い矢印*/
.btn a::after {
	content: "";
	width: 2rem;	/*矢印の長さ*/
	height: 7px;
	background: currentColor;	/*矢印の色。文字と同じ色。*/
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 7' preserveAspectRatio='none'><path d='M0 6.5h31L25 0.5' fill='none' stroke='black' stroke-width='1'/></svg>") no-repeat center / 100% 100%;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 7' preserveAspectRatio='none'><path d='M0 6.5h31L25 0.5' fill='none' stroke='black' stroke-width='1'/></svg>") no-repeat center / 100% 100%;
	transition: transform 0.3s;
}

/*マウスオン時は矢印が少し右へ*/
.btn a:hover::after {
	transform: translateX(5px);
}

/*メニュー内のボタンには矢印を付けない*/
#menubar .btn a::after {
	display: none;
}

/*背景が白いタイプのボタン*/
.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 {
	display: flex;
	flex-direction: column-reverse;	/*spanの英字を上に表示*/
	align-items: flex-start;
	margin: 0 0 3rem;	/*下に3文字分の余白*/
	font-weight: 900;	/*太字*/
	font-size: 2rem;	/*文字サイズ200%*/
	letter-spacing: 0.05em;	/*文字間隔を少しだけ広く*/
	line-height: 1.5;
}

/*h2内のspan（英字）*/
main h2 span {
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-weight: 400;
	font-size: 0.55em;	/*文字サイズ。h2の55%。*/
	letter-spacing: 0.1em;
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
}

/*英字の横に細い線を入れる場合（h2にlineを追加）*/
main h2.line span::after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 4rem;		/*線の長さ*/
	margin-left: 1rem;	/*英字と線の間のスペース*/
	border-top: 1px solid currentColor;	/*線の太さ、線種、色。色は英字と同じ。*/
}

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

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


/*ボタンを並べるブロック（ボタンが１つの場合も、このブロックで囲みます）*/
.btn-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;	/*2個以上ボタンを並べた場合の、間に空けるスペース。*/
}


/*link（文字＋細い矢印のリンク）
---------------------------------------------------------------------------*/
.link a,
.more {
	display: inline-flex;
	align-items: center;
	gap: 1rem;		/*文字と矢印の間に空けるスペース*/
	text-decoration: none;
	font-size: 0.85rem;		/*文字サイズ85%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*細い矢印*/
.link a::after,
.more::after {
	content: "";
	width: 2rem;	/*矢印の長さ*/
	height: 7px;
	background: currentColor;	/*矢印の色。文字と同じ色。*/
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 7' preserveAspectRatio='none'><path d='M0 6.5h31L25 0.5' fill='none' stroke='black' stroke-width='1'/></svg>") no-repeat center / 100% 100%;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 7' preserveAspectRatio='none'><path d='M0 6.5h31L25 0.5' fill='none' stroke='black' stroke-width='1'/></svg>") no-repeat center / 100% 100%;
	transition: transform 0.3s;
}

/*マウスオン時は矢印が少し右へ*/
.link a:hover::after,
a:hover .more::after {
	transform: translateX(5px);
}




/*flex1（文章と、画面の端まで広がる写真のブロック。「私たちについて」「採用情報」で使用）
---------------------------------------------------------------------------*/
/*ブロック全体（左に文章、右に画面の端まで広がる写真）*/
.flex1 {
	display: flex;
	align-items: center;
	gap: 5vw;	/*文章と写真の間に空けるスペース*/
}

/*テキストブロック*/
.flex1 .text {
	flex: 1;
	min-width: 0;
}
.flex1 .text p {
	margin: 0 0 1.5rem;
}
.flex1 .text > :last-child {
	margin-bottom: 0;
}

/*画像ブロック*/
.flex1 .image {
	width: 55%;	/*写真の幅。お好みで。*/
	margin-right: calc(-1 * var(--content-space-l));	/*右は画面の端まで広げる。theme.cssのcontent-space-lを読み込みます。*/
}
.flex1 .image img {
	display: block;
	width: 100%;
}

/*写真を左にしたい場合（flex1にreverseを追加）*/
.flex1.reverse {
	flex-direction: row-reverse;
}
.flex1.reverse .image {
	width: 45%;
	margin-right: 0;
	margin-left: calc(-1 * var(--content-space-l));	/*左は画面の端まで広げる。theme.cssのcontent-space-lを読み込みます。*/
}

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

	/*縦積みにする（写真が下）*/
	.flex1,
	.flex1.reverse {
		flex-direction: column;
		align-items: stretch;
		gap: 2.5rem;
	}
	.flex1 .image,
	.flex1.reverse .image {
		width: auto;
		margin-left: 0;
	}

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


/*grid1（「選ばれる3つの理由」で使用）
---------------------------------------------------------------------------*/
.grid1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.grid1 {
	display: grid;
	grid-template-columns: 20% minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);	/*左（見出し）が20%、残りの3ブロックは均等に。*/
	gap: 1rem;		/*ボックス同士の間に空けるスペース。1文字分。*/
}

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

	/*ボックス全体*/
	.grid1 {
		grid-template-columns: repeat(3, minmax(0, 1fr));	/*3列に*/
	}

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


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

	/*ボックス全体*/
	.grid1 {
		grid-template-columns: minmax(0, 1fr);	/*1列に*/
	}

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


/*h2見出し*/
.grid1 h2 {
	margin: 0;
	align-items: center;
	text-align: center;	/*テキストをセンタリング*/
	align-self: center;
}

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

	/*h2見出しの幅を100%にする（見出しの下に3カラム並ぶ形にする）*/
	.grid1 h2 {
		grid-column: 1 / -1;
	}
	
	/*見出しの改行をなくす*/
	.grid1 h2 br {
		display: none;
	}

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


/*3つのボックス１個あたり*/
.grid1 .list {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	padding: 1.5rem;	/*ボックス内の余白。1.5文字分。*/
	display: flex;	/*横並び*/
	gap: 1rem;		/*３つのボックスの間に空けるスペース。1文字分。*/
	align-items: center;
}

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

	/*3つのボックス１個あたり*/
	.grid1 .list {
		flex-direction: column;	/*縦積みに*/
		text-align: center;
	}

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


/*3つのボックス内のテキストブロック*/
.grid1 .list .text {
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*3つのボックス内のアイコンブロック*/
.grid1 .list .image {
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	text-align: center;
	border-radius: 50%;	/*円形に*/
	flex-shrink: 0;		/*縮まないように*/
	font-size: 1.6rem;	/*アイコンサイズ160%。*/
}
/*アクセントカラーのアイコン*/
.grid1 .list .image.accent {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}

/*見出し（h4）*/
.grid1 .list h4 {
	font-size: 1.1rem;	/*文字サイズ110%*/
	margin-bottom: 0.3rem;
}


/*counter1（「数字で見る」で使用）
---------------------------------------------------------------------------*/
.counter1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.counter1 {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;		/*ボックス同士の余白。2文字分。*/
	text-align: center;	/*テキストをセンタリング*/
}

/*ボックス１個あたり*/
.counter1 .list {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	padding: 1.5rem 0.5rem;
}

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

	/*ボックス１個あたり*/
	.counter1 .list {
		flex: 0 0 calc(50% - 1rem);	/*2列に。1remは、上の.counter1の2remを半分にした数値。*/
	}

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


/*アイコン*/
.counter1 .list i {
	font-size: 2rem;	/*アイコンサイズ*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
	margin-bottom: 0.3rem;
}

/*数字*/
.counter1 .list .num {
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-size: 3rem;	/*文字サイズ3倍*/
	font-weight: bold;	/*太字*/
	line-height: 1.2;	/*行間を狭く*/
	letter-spacing: -0.02em;	/*文字間隔をほんの少し狭く*/
}

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

	/*数字*/
	.counter1 .list .num {
		font-size: 2.2rem;	/*文字サイズ2.2倍*/
	}

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


/*単位（数字の後ろにつく「件」「%」など）*/
.counter1 .list .num .unit {
	font-size: 1rem;		/*文字サイズを標準に戻す*/
	font-weight: normal;	/*太字を標準に戻す*/
	margin-left: 0.1em;		/*左に空けるスペース。数字との間の距離です。*/
}

/*説明テキスト*/
.counter1 .list p:last-child {
	font-size: 0.85rem;	/*文字サイズ85%*/
	opacity: 0.8;		/*透明度。色が80%出た状態。*/
}

/*bg-parts上のアイコン色調整（暗い背景向け）*/
.bg1-parts .counter1 .list i,
.bg1-primary-parts .counter1 .list i,
.bg1-accent-parts .counter1 .list i {
	color: inherit;
	opacity: 0.7;	/*透明度。色が70%出た状態。*/
}

/*lightカラー上のアイコン色*/
.bg1-light-parts .counter1 .list i {
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*説明テキストを、寸法線（両端に目盛りの付いた線）の中に入れる*/
.counter1 .list p:last-child {
	display: flex;
	align-items: center;
	gap: 0.8em;		/*文字と線の間に空けるスペース*/
	align-self: stretch;	/*ボックスの幅いっぱいに*/
	margin-top: 0.5rem;
	border-left: 1px solid currentColor;	/*左の目盛り*/
	border-right: 1px solid currentColor;	/*右の目盛り*/
}
.counter1 .list p:last-child::before,
.counter1 .list p:last-child::after {
	content: "";
	flex: 1;
	height: 1px;	/*線の太さ*/
	background: currentColor;	/*線の色。文字と同じ色。*/
}


/*list1（「加工事例」で使用）
---------------------------------------------------------------------------*/
.list1 * {margin: 0;padding: 0;}

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

	/*@container対応ブラウザでは、コンテナ幅(この場合はmain)が899px以下で2カラム*/
	@container (max-width: 899px) {
		.list1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	}


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

/*テキストボックス*/
.list1 .list .text {
	flex: 1;
}

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

/*ボタン*/
.list1 .btn a {
	display: block;text-decoration: none;
	text-align: center;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	padding: 0.2rem 0.5rem;	/*ボタン内の余白。上下に0.2文字分、左右に0.5文字分。*/
}
/*bg1-primary-parts背景色の上で使ったボタンのみ上書き（背景とボタンが同化しないように）*/
.bg1-primary-parts .list1 .btn a {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}


/*.list1用のアイコン
---------------------------------------------------------------------------*/
/*アイコン共通*/
.list1 .icon1,
.list1 .icon2,
.list1 .icon3 {
	display: block;
	pointer-events: none;
	font-size: 0.7rem;	/*文字サイズ70%*/
	text-align: center;
	position: absolute;
}

/*list1内のアイコン用の色変数*/
.list1 {
	--icon-bg-color: var(--accent-color);			/*icon-bg-colorに、theme.cssのaccent-colorを読み込みます。*/
	--icon-text-color: var(--accent-inverse-color);	/*icon-text-bg-colorに、theme.cssのaccent-inverse-colorを読み込みます。*/
}

/*背景がbg1-accent-partsの場合のみ、アイコン色を変更する*/
.bg1-accent-parts .list1 {
	--icon-bg-color: var(--accent-inverse-color);	/*icon-bg-colorに、theme.cssのaccent-inverse-colorを読み込みます。*/
	--icon-text-color: var(--accent-color);			/*icon-text-colorに、theme.cssのaccent-colorを読み込みます。*/
}

/*icon1*/
.list1 .icon1 {
	left: 5px;	/*ボックスの左からの配置*/
	top: 5px;	/*ボックスの上からの配置*/
	padding: 0 0.5rem;	/*アイコン内の余白。上下は0、左右に0.5文字分。*/
	background: var(--icon-bg-color);	/*背景色。list1内のicon-bg-colorを読み込みます。*/
	color: var(--icon-text-color);		/*文字色。list1内のicon-text-colorを読み込みます。*/
}

/*icon2*/
.list1 .icon2 {
	overflow: hidden;
	left: -6px;	/*ボックスの左からの配置*/
	top: -6px;	/*ボックスの上からの配置*/
	width: 40px;
	line-height: 40px;
	border-radius: 50%;
	background: var(--icon-bg-color);	/*背景色。list1内のicon-bg-colorを読み込みます。*/
	color: var(--icon-text-color);		/*文字色。list1内のicon-text-colorを読み込みます。*/
}

/*icon3（帯を入れているボックス。背景色をつけてみると、意味がわかって調整しやすいです。）*/
.list1 .icon3 {
	left: -20px;	/*場所を変えたい場合は、ここを変更。下のtopと合わせる。*/
	top: -20px;		/*場所を変えたい場合は、ここを変更。上のleftと合わせる。*/
	width: 100px;
	height: 100px;
	z-index: 2;
}
/*icon3（帯）*/
.list1 .icon3 > span {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 160px;	/*帯の幅。ここだけ変更しても変化しないので、上の帯を入れているボックスの方で調整して下さい。*/
	transform: translate(-50%, -50%) rotate(-45deg);
	white-space: nowrap;
	background: var(--icon-bg-color);	/*背景色。list1内のicon-bg-colorを読み込みます。*/
	color: var(--icon-text-color);		/*文字色。list1内のicon-text-colorを読み込みます。*/
}


/*flow1（「ご依頼の流れ」で使用）
---------------------------------------------------------------------------*/
.flow1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.flow1 {
	margin-left: 0;margin-right: 0;padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));	/*4列*/
}

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

	.flow1 {
		grid-template-columns: 1fr;	/*縦積みに*/
		gap: 2rem;	/*ボックス同士の間に空けるスペース。2文字分。*/
	}

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

/*ボックス１個あたり*/
.flow1 li {
	padding: 0 2rem;	/*左右に2文字分の余白*/
	border-left: 1px solid var(--bg-border-color);	/*左の線。theme.cssのbg-border-colorを読み込みます。*/
}
.flow1 li:first-child {
	padding-left: 0;
	border-left: none;	/*1個目は線なし*/
}

/*bg1-light-parts上の線色*/
.bg1-light-parts .flow1 li {
	border-color: var(--light-border-color);	/*theme.cssのlight-border-colorを読み込みます。*/
}

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

	.flow1 li {
		padding: 0;
		border-left: none;
	}

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

/*番号*/
.flow1 .num {
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-size: 1.6rem;	/*文字サイズ160%*/
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
	line-height: 1;
}

/*見出し*/
.flow1 h4 {
	font-weight: bold;
	font-size: 1.2rem;	/*文字サイズ120%*/
	margin: 0.5rem 0 1rem;
}

/*見出しの下の短い線*/
.flow1 h4::after {
	content: "";
	display: block;
	width: 1.5rem;		/*線の長さ*/
	height: 1px;		/*線の太さ*/
	margin-top: 1rem;	/*見出しと線の間のスペース*/
	background: currentColor;	/*線の色。文字と同じ色。*/
}

/*説明文*/
.flow1 p {
	font-size: 0.85rem;	/*文字サイズ85%*/
	line-height: 1.8;	/*行間*/
}


/*見出しのすぐ下の文章は、見出しとの間を少し詰める*/
main h2 + p {
	margin-top: -1.5rem;
}

/*その文章の下にカードや表などのブロックが続く場合は、間を空ける*/
main h2 + p + div:not(.btn-container),
main h2 + p + ol,
main h2 + p + table {
	margin-top: 3rem;
}


/*センタリングしたブロック（cを付けたブロック）の中のボタンを中央に
---------------------------------------------------------------------------*/
.c .btn-container {
	justify-content: center;
}


/*ta1（「会社概要」「募集要項」の表）
---------------------------------------------------------------------------*/
/*テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid var(--bg-border-color);	/*テーブルの一番上の線。幅、線種、varは色の設定でtheme.cssのbg-border-colorを読み込みます。*/
	width: 100%;
}

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

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

/*th（左側）のみの設定*/
.ta1 th {
	width: clamp(7rem, 20vw, 12rem);	/*幅。7文字分〜12文字分の間で、画面幅に応じて自動調整。真ん中の20vwは画面幅の20%。*/
	text-align: left;	/*左よせにする*/
	font-weight: 500;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}


/*地図（「アクセス」ブロック）
---------------------------------------------------------------------------*/
#access iframe {
	display: block;
	height: 450px;	/*地図の高さ*/
	margin-bottom: 1.5rem;
}


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

/*テーブルブロック設定*/
.ta2 {
	table-layout: fixed;
	width: 100%;
	font-size: 0.9rem;	/*文字サイズ90%*/
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
}

/*th、tdの共通設定*/
.ta2 th, .ta2 td {
	padding: 0.5rem 1rem;	/*ボックス内の余白。上下に0.5文字分、左右に1文字分。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	text-align: left;	/*テキストを左寄せ*/
}

/*１行目のth*/
.ta2 tr:first-child th {
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*偶数行の背景色*/
.ta2 tbody tr:nth-child(even) {
	background: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}


/*狭い幅（中央に配置）
---------------------------------------------------------------------------*/
.narrow {
	max-width: 900px;	/*最大幅。お好みで。*/
	margin-inline: auto;	/*中央に配置*/
}


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

/*ブロック全体*/
dl.news {
	border-top: 1px solid var(--bg-border-color);	/*一番上の線。theme.cssのbg-border-colorを読み込みます。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*日付*/
dl.news dt {
	padding-top: 1.5rem;	/*上の余白*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	font-variant-numeric: tabular-nums;	/*数字をすべて同じ幅にする（日付の幅がそろい、横のカテゴリーの位置がずれません）*/
}

/*カテゴリー（日付の横の小さな文字）*/
dl.news dt span {
	display: inline-block;
	margin-left: 1rem;
	padding: 0 0.8rem;
	border: 1px solid var(--bg-inverse-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのbg-inverse-colorを読み込みます。*/
	font-size: 0.75rem;		/*文字サイズ75%*/
	letter-spacing: 0.05em;
	line-height: 2;
}

/*目立たせたいカテゴリー*/
dl.news dt span.accent-color {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border-color: var(--accent-color);	/*枠線の色。theme.cssのaccent-colorを読み込みます。*/
}

/*本文*/
dl.news dd {
	padding: 0.3rem 0 1.5rem;	/*上に0.3文字分、下に1.5文字分の余白*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線。theme.cssのbg-border-colorを読み込みます。*/
}

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

	/*日付と本文を横並びに*/
	dl.news {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);	/*左（日付とカテゴリー）は一番長いものに合わせた幅、右（本文）は残り一杯。*/
	}

	dl.news dt {
		padding: 1.5rem 2rem 1.5rem 0;	/*右に2文字分の余白*/
		border-bottom: 1px solid var(--bg-border-color);	/*下の線。theme.cssのbg-border-colorを読み込みます。*/
		white-space: nowrap;	/*カテゴリーが長くても折り返さない*/
	}
	dl.news dd {
		padding: 1.5rem 0;
	}

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

/*カテゴリーの幅を、一番長いカテゴリーに合わせてそろえる（subgridに対応したブラウザのみ。対応していない古いブラウザでは、文字数に合わせた幅のまま表示されます）*/
@supports (grid-template-columns: subgrid) {

	/*日付・カテゴリー・本文の3列に*/
	dl.news {
		display: grid;
		grid-template-columns: auto auto minmax(0, 1fr);
	}

	/*日付とカテゴリーは、上の3列のうち左の2列を使う*/
	dl.news dt {
		display: grid;
		grid-column: span 2;
		grid-template-columns: subgrid;
		align-items: center;
		align-content: start;
	}

	/*カテゴリーの文字は中央に*/
	dl.news dt span {
		text-align: center;
	}

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

		/*日付とカテゴリーの下に、本文を1行使って表示*/
		dl.news dt {
			grid-column: 1 / 3;
		}
		dl.news dd {
			grid-column: 1 / -1;
		}

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

}/*subgrid対応ブラウザの指定ここまで*/


/*フッター
---------------------------------------------------------------------------*/
footer ul {list-style: none;}
footer p {margin: 0;}

/*フッターボックス全体*/
footer {
	display: flex;	/*横並びにする*/
	align-items: flex-end;	/*下揃え*/
	flex-wrap: wrap;
	gap: 2rem;	/*左右のボックスの間に空けるスペース。２文字分。*/
	font-size: 0.85rem;	/*文字サイズ85%*/
	letter-spacing: 0.05em;
	padding: 4rem var(--content-space-l) 1rem;	/*ボックス内の余白。上は4文字分、左右はtheme.cssのcontent-space-lを読み込み、下は1文字分の余白。*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*ロゴの幅。お好みで。*/
footer .logo {
	width: 220px;
}

/*ロゴと住所が入ったブロック*/
footer > div:first-child {
	flex: 1;	/*残りの幅を全部使う*/
	display: flex;
	flex-direction: column;	/*縦積み*/
	gap: 1.5rem;	/*要素間に空けるスペース。1.5文字分。*/
	min-width: 250px;
}

/*フッターメニュー*/
footer .menu {
	display: flex;	/*横並びにする*/
	flex-wrap: wrap;
	gap: 0.5rem 2rem;	/*メニュー同士の間に空けるスペース。上下0.5文字分、左右2文字分。*/
	margin: 0;padding: 0;
}
footer .menu a {
	text-decoration: none;
}

/*Copyright部分*/
footer small {
	display: block;
	width: 100%;	/*幅を100%に*/
	margin-top: 1rem;
	border-top: 1px solid var(--primary-border-color);	/*上の線の幅、線種、var以降は色の指定でtheme.cssのprimary-border-colorを読み込みます。*/
	padding-top: 1rem;	/*テキストと上の線との間に空ける余白。1文字分。*/
	font-size: 0.75rem;
	opacity: 0.8;	/*色を80%だけ出す。*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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(0,0,0,0.3);	/*背景色。0,0,0は黒の事で0.3は色が30%出た状態。*/
	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;}
.pt0 {padding-top: 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;}
