@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;
}

/*リセット*/
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の余白*/
}

/*トップページのヘッダー（メイン画像の上に重ねます）*/
.home header {
	position: absolute;z-index: 10;
	left: 0;top: 0;
	width: 100%;
	z-index: 100;	/*開閉メニューが、メニューオーバーレイ（#menubar-overlay）より上に出るようにします*/
	color: var(--primary-inverse-color);	/*文字色。メイン画像（primary-color）の上に乗るので、theme.cssのprimary-inverse-colorを読み込みます。*/
	animation: opa1 1s 2.4s both;	/*メイン画像のアニメーションの後に、ふわっと表示*/
}

	/*画面幅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文字分の余白*/
}

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

/*ボタン（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;
}

/*アクセントカラーのボタン（liにbtn accentを付けたメニュー）*/
.small-screen #menubar li.btn.accent a {
	border-color: var(--accent-color);	/*枠線の色。theme.cssのaccent-colorを読み込みます。*/
}

/*子メニュー（ドロップダウンメニュー）*/
.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;	/*ボタンの高さ*/
	border-bottom-left-radius: 10px;	/*左下の角だけ丸くする*/
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;		/*線の高さ*/
	background: var(--accent-inverse-color);	/*線の色。theme.cssのaccent-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 * {margin: 0;padding: 0;}

/*メイン画像全体を囲むブロック*/
.mainimg {
	width: 100%;
	height: 100vh;			/*画面の高さいっぱい*/
	min-height: 560px;		/*最低限の高さ*/
	position: relative;
	overflow: hidden;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}
.mainimg .slide {
	position: relative;
	height: 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のサイズを読み込みます。*/
}
.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.left {
	align-items: flex-start;
	text-align: left;
}

/*テキストブロックを右に配置させたい場合*/
.mainimg .slide .text.right {
	align-items: flex-end;
	text-align: right;
}

/*テキストブロックを中央に配置させたい場合（デフォルトを左や右に変えたテンプレで使います）*/
.mainimg .slide .text.center {
	align-items: center;
	text-align: center;
}

/*h2（大きな文字）*/
.mainimg .text h2 {
	margin: 0.4em 0 0.5em;padding: 0;
	font-weight: 900;
	font-size: max(34px, 6.5vw);	/*文字サイズ。画面幅の6.5%（小さな画面でも34px以上）。*/
	line-height: 1.3;
}

/*p（説明テキスト部分）*/
.mainimg .text p {
	font-size: 1rem;
}

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

/*背景を流れる英字（飾り）*/
.mainimg .marquee {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	overflow: hidden;
	pointer-events: none;
}
.mainimg .marquee p {
	display: flex;
	width: max-content;
	white-space: nowrap;
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-weight: 700;
	font-size: max(80px, 12vw);
	line-height: 1;
	color: rgba(255,255,255,0.07);	/*文字色。255,255,255は白の事で0.07は色が7%出た状態。*/
}
/*フォントの読み込みが終わってから流し始める（途中で文字幅が変わってカクッとしないように。is-readyはjsが付けます）*/
.mainimg .marquee.is-ready p {
	animation: opa1 2s both, marquee 40s linear infinite;
}
/*逆向きに流す行*/
.mainimg .marquee.is-ready p.reverse {
	animation-direction: normal, reverse;
}

/*h2の上の小さな英字*/
.mainimg .text .label {
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-weight: 600;
	letter-spacing: 0.2em;
	display: inline-block;
	padding: 0 1em;
	background: var(--accent-color);		/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	animation: opa1 0.6s 0.3s both;
}

/*h2の1行ずつ*/
.mainimg .text h2 .line {
	display: block;
	position: relative;
	width: fit-content;
	animation: lineShow 1s both;
}

/*1行ずつ横切る帯*/
.mainimg .text h2 .line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--accent-color);	/*帯の色。theme.cssのaccent-colorを読み込みます。*/
	transform: scaleX(0);
	animation: barWipe 1s 0.5s both;
}
.mainimg .text h2 .line:nth-child(2)::after {
	animation-delay: 0.9s;
}
.mainimg .text h2 .line:nth-child(1) {
	animation-delay: 0.5s;
}
.mainimg .text h2 .line:nth-child(2) {
	animation-delay: 0.9s;
}

/*文字の下に引く太い線*/
.mainimg .text h2 .marker {
	background: linear-gradient(transparent 86%, #ffe14d 86%, #ffe14d 96%, transparent 96%) no-repeat;	/*下線タイプのマーカー。色は#ffe14dの2か所で変更できます。*/
	animation: marker 0.8s 2s both;
}

/*蛍光ペンタイプのマーカー（class="marker fill"）*/
.mainimg .text h2 .marker.fill {
	background-image: linear-gradient(transparent 8%, #ffe14d 8%, #ffe14d 96%, transparent 96%);	/*色は#ffe14dの2か所で変更できます。*/
	color: #222;	/*マーカー部分の文字色*/
	padding: 0 0.1em;
	animation: marker 0.8s 2s both, markerText 0.4s 2.3s both;
}

/*説明文とボタン*/
.mainimg .text h2 + p {
	animation: fadeUp 1s 2.2s both;
}
.mainimg .text .btn-container {
	margin-top: 2rem;
	animation: fadeUp 1s 2.5s both;
}

/*写真（右から1枚ずつスライドイン）*/
.mainimg .photos figure {
	position: absolute;
	animation: photoIn 1.2s cubic-bezier(0.2,0.8,0.2,1) both;	/*右からスライドイン*/
	transform: rotate(var(--tilt));
}
.mainimg .photos img {
	display: block;
	width: 100%;
	border: 6px solid #fff;	/*写真の白い枠*/
	box-shadow: 14px 14px 0 var(--accent-color);	/*ずらした影。theme.cssのaccent-colorを読み込みます。*/
}

/*1枚目*/
.mainimg .photos .photo1 {
	--tilt: 3deg;	/*傾き*/
	right: 6vw;		/*右からの位置*/
	top: 14%;		/*上からの位置*/
	width: 22vw;	/*写真の幅*/
	animation-delay: 1.2s;	/*出てくるまでの待ち時間*/
}

/*2枚目*/
.mainimg .photos .photo2 {
	--tilt: -3deg;	/*傾き*/
	right: 20vw;	/*右からの位置*/
	top: 50%;		/*上からの位置*/
	width: 24vw;	/*写真の幅*/
	animation-delay: 1.7s;	/*出てくるまでの待ち時間*/
}

	/*画面幅900px以下で、縦向きの画面の追加指定（写真を下に並べます）。横向きのスマホなどは大きな画面と同じ配置です。*/
	@media (max-width:900px) and (orientation: portrait) {

	/*文字を上に寄せる*/
	.mainimg .slide .text {
		justify-content: flex-start;
		padding-top: 110px;
	}

	/*SCROLLは写真と重なるので非表示*/
	.mainimg .scroll {
		display: none;
	}

	/*1枚目*/
	.mainimg .photos .photo1 {
		top: auto;
		right: 6vw;
		bottom: 6vh;
		width: 40vw;
	}

	/*2枚目*/
	.mainimg .photos .photo2 {
		top: auto;
		right: 44vw;
		bottom: 13vh;
		width: 46vw;
	}

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

@keyframes photoIn {
	0% {opacity: 0; transform: translateX(120px) rotate(var(--tilt));}
	100% {opacity: 1; transform: translateX(0) rotate(var(--tilt));}
}

@keyframes marquee {
	0% {transform: translateX(0);}
	100% {transform: translateX(-50%);}
}
@keyframes lineShow {
	0%, 49% {color: transparent;}
	50%, 100% {color: inherit;}
}
@keyframes barWipe {
	0% {transform: scaleX(0); transform-origin: left;}
	50% {transform: scaleX(1); transform-origin: left;}
	51% {transform: scaleX(1); transform-origin: right;}
	100% {transform: scaleX(0); transform-origin: right;}
}
@keyframes marker {
	0% {background-size: 0 100%;}
	100% {background-size: 100% 100%;}
}
@keyframes markerText {
	0% {color: inherit;}
	100% {color: #222;}
}
@keyframes fadeUp {
	0% {opacity: 0; transform: translateY(20px);}
	100% {opacity: 1; transform: translateY(0);}
}


/*SCROLLの表示*/
.mainimg .scroll {
	position: absolute;z-index: 2;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.7rem;
	letter-spacing: 0.3em;
	padding-bottom: 50px;
	animation: opa1 1s 3s both;
}
.mainimg .scroll::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 1px;
	height: 40px;
	background: linear-gradient(var(--accent-color), transparent);
	animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
	0% {transform: scaleY(0); transform-origin: top;}
	50% {transform: scaleY(1); transform-origin: top;}
	51% {transform: scaleY(1); transform-origin: bottom;}
	100% {transform: scaleY(0); transform-origin: bottom;}
}

/*動きを減らす設定の人には、アニメーションを止めて最初から表示*/
@media (prefers-reduced-motion: reduce) {
	header,
	.mainimg *,
	.mainimg *::before,
	.mainimg *::after {
		animation: none !important;
	}
}


/*ボタン
---------------------------------------------------------------------------*/
.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内の見出し（英字を上に大きく、日本語を下に小さく表示します）*/
main h2 {
	display: flex;
	flex-direction: column-reverse;	/*<span>の英字を上に、日本語を下に*/
	align-items: flex-start;
	margin: 0 0 2rem;
	font-size: 1.25rem;		/*日本語の文字サイズ125%*/
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.6;
}
main h2 span {
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-size: 3rem;		/*英字の文字サイズ。3文字分。*/
	letter-spacing: 0;
	line-height: 1.1;
}
/*英字と日本語の間の短い線*/
main h2 span::after {
	content: "";
	display: block;
	width: 40px;
	height: 5px;
	margin: 0.8rem 0 0.4rem;
	background: var(--accent-color);	/*線の色。theme.cssのaccent-colorを読み込みます。*/
}

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

	main h2 span {
		font-size: 2.4rem;
	}

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

/*見出しを中央に（h2にclass="c"を付けます）*/
main h2.c {
	align-items: center;
}
main h2.c span::after {
	margin-left: auto;
	margin-right: auto;
}

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


/*grid-icon1（トップページの、写真とアイコンのカード）
---------------------------------------------------------------------------*/
.grid-icon1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.grid-icon1 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));	/*4列*/
	gap: 1.5rem;		/*ボックス同士の間に空けるスペース。1.5文字分。*/
}

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

	.grid-icon1 {
		grid-template-columns: repeat(2, minmax(0, 1fr));	/*2列*/
	}

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


/*ボックス１個あたり*/
.grid-icon1 .list {
	display: flex;
	flex-direction: column;
	position: relative;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);	/*ボックスの影。右へ0、下へ0、ぼかす量は5px。0,0,0は黒のことで0.2は20%色が出た状態。*/
	background: #fff;		/*背景色*/
	color: #333;			/*文字色*/
	border-radius: 10px;	/*角を丸くする*/
	overflow: hidden;
}

/*画像ブロック*/
.grid-icon1 .image {
	position: relative;
}
.grid-icon1 .image a img {
		transition: 0.5s;	/*マウスオンにかける時間。0.5秒。*/
}
.grid-icon1 .image a:hover img {
	transform: scale(1.05);	/*マウスオン時の拡大率。105%。*/
}

/*テキストボックス*/
.grid-icon1 .list .text {
	flex: 1;
	min-width: 0;
	padding: 1rem;	/*ボックス内の余白。1文字分。*/
	display: flex;
	flex-direction: column;
	gap: 0.5rem;	/*画像とテキストブロックの間にとる余白。0.5文字分。*/
}

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

/*アイコン*/
.grid-icon1 .icon {
	display: block;
	pointer-events: none;
	text-align: center;
	border-radius: 50%;	/*円形に*/
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	width: 60px;		/*幅。*/
	line-height: 60px;	/*高さ。*/
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -30px;		/*本来の場所より下にずらす*/
	font-size: 24px;	/*アイコンサイズ*/
}

.grid-icon1 .mt20 {
	margin-top: 20px;
}


/*yoko-scroll1（トップページの、横に流れる写真）
---------------------------------------------------------------------------*/
/*全体を囲むボックス*/
.yoko-scroll1 {
	position: relative;
	height: 300vh;		/*縦スクロール量（この高さ分スクロールすると横が端まで動く）*/
}

/*横スクロールブロック*/
.yoko-scroll1 .hscroll1-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}
.yoko-scroll1 .hscroll1-track {
	display: flex;
	height: 100%;
	will-change: transform;
}

/*各画像*/
.yoko-scroll1 .hscroll1-track > div {
	flex-shrink: 0;
	width: 45vw;	/*1枚あたりの幅（画面幅の45%）*/
	height: 100%;
	padding-inline: 0.5rem;	/*左右に0.5文字分の余白*/
}
.yoko-scroll1 .hscroll1-track > div img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 5px;	/*角を丸区する指定。*/
}

/*スキップボタン*/
.yoko-scroll1 button[aria-label="skip gallery"] {
	position: absolute;
	bottom: 2rem;	/*下からの2文字分の場所に配置*/
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	background: var(--bg-inverse-color);	/*背景色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);	/*文字色。theme.cssのbg-colorを読み込みます。*/
	border: none;
	padding: 0.5rem 1.5rem;	/*上下に0.5文字分、左右に1.5文字分の余白*/
	font-size: 0.8rem;	/*文字サイズ80%*/
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;	/*表示切替のアニメーション*/
}
.yoko-scroll1 button[aria-label="skip gallery"].is-visible {
	opacity: 1;
	visibility: visible;
}
/*下矢印のアイコン（Font Awesome）*/
.yoko-scroll1 button[aria-label="skip gallery"] i {
	margin-left: 0.3em;	/*テキストとアイコンとの間に空けるスペース。0.3文字分。*/
	font-size: 0.7rem;	/*アイコンサイズ70%*/
}

/*進捗バー*/
.yoko-scroll1 .hscroll1-progress {
	position: absolute;
	bottom: max(16px, env(safe-area-inset-bottom));	/*下からの配置場所*/
	left: 0;
	width: 100%;
	height: 3px;	/*バーの太さ*/
	z-index: 2;
	background: var(--bg-border-color);	/*バーのベース色。theme.cssのborder-colorを読み込みます。*/
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;	/*表示切替のアニメーション*/
}
.yoko-scroll1 .hscroll1-progress.is-visible {
	opacity: 1;
	visibility: visible;
}
.yoko-scroll1 .hscroll1-progress-bar {
	height: 100%;
	width: 0%;
	background: var(--primary-color);	/*バーの色をtheme.cssのprimary-colorにする*/
	transition: width 0.05s linear;		/*幅の変化を滑らかに*/
}

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

	/*各画像*/
	.yoko-scroll1 .hscroll1-track > div {
		width: 80vw;	/*1枚あたりの幅の変更*/
	}
	
	}/*追加指定ここまで*/


/*pricing1（トップページの「料金プラン」）
---------------------------------------------------------------------------*/
.pricing1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.pricing1 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));	/*ボックス１個あたりの最低幅が220pxで自動改行*/
	gap: 2rem;		/*ボックス同士の余白。2文字分。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
	align-items: start;	/*ボックスの高さを揃えず上寄せ*/
}

/*プランボックス１個あたり*/
.pricing1 .plan {
	display: flex;
	flex-direction: column;
	align-items: center;	/*テキストをセンタリング*/
	text-align: center;	/*テキストをセンタリング*/
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	border: 1px solid var(--bg-border-color);	/*枠線。色はtheme.cssのbg-border-colorを読み込みます。*/
	border-radius: 5px;	/*角丸*/
	padding: 2rem 1.5rem;
	position: relative;	/*おすすめアイコンの基準位置*/
}

/*bg1-light-parts上の線色*/
.bg1-light-parts .pricing1 .plan {
	border-color: var(--light-border-color);
}
/*bg1-parts上の線色*/
.bg1-parts .pricing1 .plan {
	border-color: var(--bg-inverse-border-color);
}
/*bg1-primary-parts上の線色*/
.bg1-primary-parts .pricing1 .plan {
	border-color: var(--primary-border-color);
}
/*bg1-accent-parts上の線色*/
.bg1-accent-parts .pricing1 .plan {
	border-color: var(--accent-border-color);
}

/*おすすめプラン*/
.pricing1 .plan.recommend {
	border-color: var(--primary-color);	/*枠線の色。theme.cssのprimary-colorを読み込みます。*/
	border-width: 2px;	/*枠線の太さ*/
	transform: scale(1.05);	/*少し拡大して目立たせる*/
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかす量。0,0,0は黒のことで0.1は色が10%出た状態。*/
	z-index: 1;
}

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

	/*おすすめプラン*/
	.pricing1 .plan.recommend {
		transform: scale(1);	/*小画面では拡大を解除*/
	}

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


/*おすすめアイコン（ボックス上部に被さるピル型バッジ）*/
.pricing1 .plan .icon1 {
	position: absolute;
	top: -12px;	/*本来の場所より上にずらす。*/
	left: 50%;
	transform: translateX(-50%);
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	font-size: 0.75rem;	/*文字サイズ75%*/
	padding: 0.2rem 1.2rem;	/*アイコン内の余白。上下に0.2文字分、左右に1.2文字分。*/
	border-radius: 20px;	/*角を丸くする*/
	white-space: nowrap;	/*テキストを折り返さない*/
}

/*プラン名（h4）*/
.pricing1 .plan h4 {
	font-size: 1.1rem;	/*文字サイズ1.1倍*/
	margin-bottom: 0.5rem;
}

/*価格*/
.pricing1 .plan .price {
	margin-bottom: 1.5rem;	/*下に1.5文字分のスペースを空ける*/
	line-height: 1.3;		/*行間を狭く*/
}
.pricing1 .plan .price span {
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-size: 2.8rem;	/*文字サイズ2.8倍*/
	font-weight: bold;	/*太字*/
	letter-spacing: -0.02em;	/*文字間隔を少し詰める*/
}

/*機能リスト全体*/
.pricing1 .plan ul {
	list-style: none;
	width: 100%;
	margin-bottom: 1.5rem;	/*下に空けるスペース。「申し込み」ボタンとの間のスペースです。*/
}
/*機能リスト１個あたり*/
.pricing1 .plan ul li {
	padding: 0.5rem 0;	/*上下に0.5文字分の余白、左右はゼロ。*/
	border-bottom: 1px solid var(--bg-border-color);	/*下線。色はtheme.cssのbg-border-colorを読み込みます。*/
	font-size: 0.85rem;	/*文字サイズ85%*/
}
.pricing1 .plan ul li:last-child {
	border-bottom: none;	/*最後の項目は下線なし*/
}

/*無効な機能（打ち消し線＋薄く表示）*/
.pricing1 .plan ul li.disabled {
	opacity: 0.35;	/*透明度。色が35%出た状態。*/
	text-decoration: line-through;	/*打ち消し線*/
}

/*ボタン*/
.pricing1 .btn {
	margin-top: auto;	/*ボックス下部に押し下げる*/
	width: 100%;
}
.pricing1 .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.6rem 1rem;	/*ボタン内の余白。上下に0.6文字分、左右に1文字分*/
	border-radius: 3px;	/*角丸*/
}


/*slidetext1（流れる英字の帯。トップページと採用情報のページの下）
---------------------------------------------------------------------------*/
.slidetext1 {
	overflow-x: hidden;
}

.slidetext1 div {
	display: flex;
	white-space: nowrap;
	font-size: 15vw;	/*文字サイズ*/
	line-height: 1.1;
	opacity: 0.15;	/*透明度。色が15%出た状態。*/
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-weight: 700;	/*テキストの太さ。100(細い)〜900(太い)まで設定できます。*/
}

.slidetext1 span {
	padding: 0 20px;
}


/*cta1（お問い合わせへの誘導。トップページと採用情報のページの下）
---------------------------------------------------------------------------*/
/*ボックス全体*/
.cta1 {
	text-align: center;	/*テキストをセンタリング*/
	padding: 1rem 0;	/*上下に1文字分、左右はゼロ*/
}

/*見出し*/
.cta1 h3 {
	font-size: 2rem;	/*文字サイズ2倍*/
	margin-bottom: 0.5rem;	/*下に空けるスペース。0.5文字分。*/
	line-height: 1.6;	/*行間*/
}

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

	/*見出し*/
	.cta1 h3 {
		font-size: 1.4rem;	/*文字サイズ1.4倍*/
	}

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


/*説明テキスト*/
.cta1 p {
	margin-bottom: 1rem;	/*下に空けるスペース。1文字分。*/
	font-size: 0.95rem;		/*文字サイズ95%*/
}

/*ボタン*/
.cta1 .btn {
	margin-bottom: 0;
}
.cta1 .btn a {
	display: inline-block;text-decoration: none;
	text-align: center;		/*テキストをセンタリング*/
	padding: 0.8rem 3rem;	/*左右の余白を広めにとる*/
	font-size: 1rem;
	font-weight: bold;	/*太字*/
}

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

	/*ボタン*/
	.cta1 .btn a {
		padding: 0.7rem 2rem;	/*ボタン内の余白。上下に0.7文字分、左右に2文字分。*/
	}

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


/*Font Awesomeアイコンの余白*/
.cta1 .btn a i {
	margin-right: 0.5em;	/*アイコンとテキストの間に空けるスペース。0.5文字分。*/
}


/*yoko1（文章と写真の横並び）
---------------------------------------------------------------------------*/
.yoko1 * {margin: 0;padding: 0;}

/*ブロック全体*/
.yoko1 {
	display: flex;
	align-items: center;
	gap: 5vw;	/*ブロック同士の間に空けるスペース。5%。*/
}

/*左右を入れ替える場合（yoko1にreverseを追加します）*/
.yoko1.reverse {
	flex-direction: row-reverse;
}

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

	/*ブロック全体*/
	.yoko1,
	.yoko1.reverse {
		flex-direction: column;
	}

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


/*テキストブロック*/
.yoko1 .text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/*画像ブロック*/
.yoko1 .image {
	width: 50%;	/*幅。お好みで。*/
}

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

	/*画像ブロック*/
	.yoko1 .image {
		width: 100%;	/*幅を100%に*/
	}

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


/*ボタン*/
.yoko1 .btn a {
	display: inline-block;
	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.2rem;	/*上下に0.4文字分、左右に1.2文字分の余白*/
	border-radius: 3px;		/*角を少しだけ丸く*/
	font-weight: 500;		/*文字の太さ*/
}
/*矢印アイコン*/
.yoko1 .btn a i {
	margin-left: 0.5em;	/*テキストとの間に空けるスペース。0.5文字分*/
	transition: 0.3s;
}
.yoko1 .btn a:hover i {
	transform: translateX(3px);	/*マウスオン時に、アイコンを少しだけ右に移動する。*/
}


/*list-icon1（アイコンのボックス）
---------------------------------------------------------------------------*/
.list-icon1 * {margin: 0;padding: 0;}

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

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

	/*ボックス全体*/
	.list-icon1 {
		grid-template-columns: 1fr;	/*縦積みに*/
	}

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


/*ボックス１個あたり*/
.list-icon1 .list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	position: relative;
	background: #fff;	/*背景色*/
	color: #333;	/*文字色*/
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのborder-colorを読み込みます。*/
	padding: 2rem;		/*ボックス内の余白。2文字分。*/
	border-radius: 5px;	/*角を少しだけ丸く*/
}

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

/*h4見出し*/
.list-icon1 .list h4 {
	font-size: 1.1rem;	/*文字サイズ110%*/
	text-align: center;	/*テキストをセンタリング*/
}

/*説明文*/
.list-icon1 .list p {
	font-size: 0.85rem;	/*文字サイズ85%*/
}

/*アイコン（Font Awesome）*/
.list-icon1 .list i {
	display: block;
	margin: 0 auto;
	font-size: 2rem;	/*アイコンの大きさ*/
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border-radius: 50%;	/*円形にする*/
	width: 5rem;		/*幅。5文字分。*/
	line-height: 5rem;	/*高さ。5文字分。*/
	text-align: center;
}

/*icon1で使うボタン*/
.list-icon1 .list .btn a {
	text-decoration: none;
	display: block;
	text-align: center;	/*テキストをセンタリング*/
	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.2rem;	/*上下に0.4文字分、左右に1.2文字分の余白*/
	border-radius: 3px;		/*角を少しだけ丸く*/
	font-weight: 500;		/*文字の太さ*/
}


/*step1（流れのブロック）
---------------------------------------------------------------------------*/
.step1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.step1 {
	margin: 0;padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));	/*4列*/
	gap: 1.5rem;		/*ボックス同士の間に空けるスペース。1.5文字分。*/
}

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

	/*ボックス全体*/
	.step1 {
		grid-template-columns: 1fr;	/*縦積みに*/
	}

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


/*ボックス１個あたり*/
.step1 li {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	position: relative;
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	padding: 1rem;	/*ボックス内の余白。1文字分。*/
	border-radius: 5px;	/*角を少しだけ丸く*/
}

/*最後のリスト以外に「＞」アイコンを入れる*/
.step1 li:not(:last-child)::after {
	font-family: "Font Awesome 6 Free";
	content: "\f054";	/*Font Awesomeのこのマークを表示させます*/
	font-weight: 900;
	position: absolute;
	right: -1.5rem;
	top: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.5;	/*色を50%だけ出す*/
	line-height: 1;
}

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

	.step1 li:not(:last-child)::after {
		top: auto;right: auto;
		bottom: -1.3rem;
		left: 50%;
		transform: translateX(-50%) rotate(90deg);
	}

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


/*アイコン*/
.step1 i {
	display: block;
	margin: 1rem auto;
	font-size: 4rem;	/*アイコンのサイズ*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*h4見出し*/
.step1 h4 {
	font-size: 1.1rem;	/*文字サイズ110%*/
	text-align: center;	/*テキストをセンタリング*/
}

/*説明文*/
.step1 p {
	font-size: 0.85rem;	/*文字サイズ85%*/
}

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

	/*説明文*/
	.step1 p {
		text-align: center;	/*テキストをセンタリング*/
	}

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


/*ナンバー*/
.step1 .num {
	position: absolute;
	left: -0.5rem;	/*左からの配置場所。マイナスがついているので本来の向きと逆に。*/
	top: -0.5rem;	/*上からの配置場所。マイナスがついているので本来の向きと逆に。*/
	width: 3rem;	/*幅*/
	line-height: 3rem;	/*高さ*/
	text-align: center;
	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を読み込みます。*/
	border-radius: 50%;
}


/*grid1（縦線で区切ったカード）
---------------------------------------------------------------------------*/
.grid1 * {margin: 0;padding: 0;}

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

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

	.grid1 {
		grid-template-columns: repeat(2, minmax(0, 1fr));	/*2列*/
	}

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


/*3カラム用*/
.grid1.c3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));	/*3列*/
}

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

	.grid1.c3 {
		grid-template-columns: minmax(0, 1fr);	/*1列*/
	}

	/*.c3（1カラム化）：全要素が「行の最後」扱いなので全部に右罫線*/
	.grid1.c3 .list {
		border-right: 1px solid var(--bg-border-color);
	}

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


/*ボックス１個あたり*/
.grid1 .list {
	padding: 2rem;	/*ボックス内の余白。2文字分。*/
	margin-bottom: 1rem;	/*ボックスの下に空けるスペース。1文字分。*/
	display: flex;
	flex-direction: column;
	gap: 1rem;	/*ボックス直下の要素同士に空けるスペース。1文字分。*/
	text-align: center;	/*テキストをセンタリング。*/
}

/*ボックス両サイドの1px罫線（カラム数に応じて行末を判定）*/
.grid1 .list {
	border-left: 1px solid var(--bg-border-color);	/*全ボックスの左に罫線。隣のボックスの左罫線が「右側」として見えるので仕切りも兼ねる*/
}
.grid1:not(.c3) .list:nth-child(4n) {
	border-right: 1px solid var(--bg-border-color);	/*4カラム時の行末（4個目）に右罫線*/
}
.grid1.c3 .list:nth-child(3n) {
	border-right: 1px solid var(--bg-border-color);	/*3カラム時の行末（3個目）に右罫線*/
}
.grid1 .list:last-child {
	border-right: 1px solid var(--bg-border-color);	/*最後のボックスにも右罫線（最終行が中途半端な場合の保険）*/
}

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

	/*ボックス１個あたり*/
	.grid1 .list {
		padding: 0.5rem;	/*ボックス内の余白。0.5文字分。*/
	}

	/*default .grid1（2カラムに変化）の罫線を再調整*/
	.grid1:not(.c3) .list:nth-child(4n) {
		border-right: none;	/*4n位置の右罫線を解除*/
	}
	.grid1:not(.c3) .list:nth-child(2n) {
		border-right: 1px solid var(--bg-border-color);	/*2n位置に右罫線を付与*/
	}

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


/*背景色にあった線色に上書き*/
.bg1-light-parts .grid1 {
	--bg-border-color: var(--light-border-color);
}

/*画像ブロック*/
.grid1 .image {
	border-radius: 5px;	/*角を少しだけ丸く*/
	overflow: hidden;
}
.grid1 .image a img {
		transition: 0.5s;	/*マウスオンにかける時間。0.5秒。*/
}
.grid1 .image a:hover img {
	transform: scale(1.05);	/*マウスオン時の拡大率。105%。*/
}

/*テキストボックス*/
.grid1 .list .text {
	flex: 1;
	min-width: 0;
	line-height: 1.8;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/*説明だけ小さめにする*/
.grid1 .list p {
	font-size: 0.8em;	/*文字サイズ。80%。*/
}

/*上の装飾画像の下のナンバー（数字）*/
.grid1 .list .no {
	font-size: 2rem;	/*文字サイズ2倍*/
	line-height: 1;
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*ボタン
---------------------------------------------------------------------------*/
.grid1 .btn a {
	display: inline-block;
	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 2rem !important;	/*上下に0.4文字分、左右に2文字分の余白*/
	border-radius: 999px;	/*ボタンをカプセル状にする。大きければ適当でOK。*/
}

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

/*アクセントカラー版*/
.grid1 .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を読み込みます。*/
}


/*free1（写真と文章を自由に並べるブロック）
---------------------------------------------------------------------------*/
/*ボックス内のh4*/
.free1 h4{
	margin: 0;
	font-size: 1.1rem;
}

/*画像の影をつける場合*/
.shadow {
	box-shadow: 4vw 4vw rgba(0,0,0,0.05);	/*右へ、下へ、0,0,0は黒のことで0.05は5%だけ色が出た状態。*/
}

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

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

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

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

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

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

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

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

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

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


/*ta1（左に項目名、右に内容の表）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白。上下に0.2文字分、左右に1文字分。*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*テーブルブロック設定*/
.ta1 {
	border-collapse: separate;
	border-spacing: 0 1rem;	/*要素間の隙間。*/
	table-layout: fixed;
	width: 100%;
	margin-bottom: 2rem;	/*テーブルの下に空けるスペース。２文字分。*/
}

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

/*th（左側）のみの設定*/
.ta1 th {
	width: clamp(8rem, 22vw, 13rem);	/*幅。8文字分〜13文字分の間で、画面幅に応じて自動調整。真ん中の22vwは画面幅の22%。*/
	background: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
	border-radius: 5px;		/*角を丸くする指定*/
}


/*ta2（見出し付きの表。採用情報のページで使用）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2 caption {
	font-weight: bold;		/*キャプション太字*/
	padding: 0.5rem 1rem;		/*ボックス内の余白。上下に0.5文字分、左右に1文字分。*/
	background: var(--bg-inverse-color);	/*背景色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);	/*文字色。theme.cssのbg-colorを読み込みます。*/
	margin-bottom: 1rem;
}

/*テーブルブロック設定*/
.ta2 {
	width: 100%;
	margin-bottom: 2rem;	/*テーブルの下に空けるスペース。２文字分。*/
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta2 th,
.ta2 td {
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのborder-colorを読み込みます。*/
	text-align: left;	/*左寄せ*/
	padding: 1rem;		/*ボックス内の余白。１文字分。*/
}

/*th（左側）のみの設定*/
.ta2 th {
	background: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
	width: 13rem;			/*幅。13文字分。*/
}

	/*画面幅600px以下の追加指定（カード型に変更）*/
	@media (max-width:600px) {

	.ta2,
	.ta2 caption,
	.ta2 tbody,
	.ta2 tr,
	.ta2 th,
	.ta2 td {
		display: block;
		width: 100%;
	}
	.ta2 tr {
		margin-bottom: 1rem;	/*ブロック同士の間に空けるスペース。1文字分。*/
	}
	.ta2 th {
		border-bottom: none;	/*下の線を消す。入れた方がいいならこの設定を削除。*/
	}
	.ta2 td {
		border-top: none;	/*上の線を消す。*/
	}

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


/*狭い幅（お問い合わせページのフォームで使用）
---------------------------------------------------------------------------*/
.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.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;}
.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;}
.pt0 {padding-top: 0px !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;}
