@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: 400;
	-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の余白*/
}

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

/*アクセントカラーのボタン（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;	/*ボタンの高さ*/
	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 {
	width: 100%;
	position: relative;
}

/*写真*/
.mainimg .slide img {
	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;
	gap: 1rem;	/*見出し、文章、ボタンの間に空けるスペース*/
	text-align: center;
	margin: 0 var(--content-space-l);	/*余白。上下は0、左右にはtheme.cssのcontent-space-lのサイズを読み込みます。*/
}

/*白い文字にする場合（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);	/*文字の影。0,0,0は黒の事で、0.6は色が60%出た状態。*/
}

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

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

/*h2（大きな文字）*/
.mainimg .text h2 {
	display: flex;
	flex-direction: column-reverse;	/*spanの英字を上に表示*/
	font-weight: 900;	/*太字*/
	font-size: clamp(1.8rem, 4.6vw, 4.4rem);	/*文字サイズ。画面幅に合わせて変わります。*/
	line-height: 1.35;
	letter-spacing: 0.02em;
}

/*h2内のspan（英字）*/
.mainimg .text h2 span {
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-weight: 500;
	font-size: clamp(0.75rem, 0.25em, 1rem);	/*文字サイズ*/
	letter-spacing: 0.25em;	/*文字間隔を広く*/
	margin-bottom: 0.5rem;	/*英字と見出しの間に空けるスペース*/
}

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

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

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

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

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

	/*キャッチコピーの下の説明文は非表示にする*/
	.mainimg .text h2 + p {
		display: none;
	}

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


/*gate（メイン画像の下の「2つの入口」と道路。トップページで使用）
---------------------------------------------------------------------------*/
.gate * {margin: 0;padding: 0;}

/*道路（ブロック全体）*/
.gate {
	position: relative;
	background: #2a2e33;	/*道路の色*/
	color: #fff;			/*文字色*/
	padding-top: 0;
	padding-bottom: 80px;	/*下の余白。センターラインが入る場所です。*/
}

/*センターライン（白い破線がゆっくり左へ流れます）*/
.gate::after {
	content: "";
	position: absolute;
	left: 0;right: 0;
	bottom: 35px;	/*下からの配置場所*/
	height: 6px;	/*線の太さ*/
	background: linear-gradient(90deg, #fff 50%, transparent 50%) 0 0 / 120px 100% repeat-x;	/*白い線60px＋すき間60pxを、120pxごとにくり返します*/
	animation: road 3s linear infinite;	/*3秒で破線1本分（120px）進みます*/
}
@keyframes road {
	100% {background-position: -120px 0;}	/*上の120pxと同じ数字にします*/
}

/*カード2枚を並べるブロック*/
.gate .list-wrap {
	position: relative;z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;	/*2列*/
	gap: 3vw;	/*カード同士の間に空けるスペース*/
	top: -90px;		/*メイン画像の上に90pxだけ重ねます*/
	margin-bottom: -90px;	/*上にずらした分、下のすき間を詰めます。上のtopと同じ数字にします。*/
}

/*カード１個あたり（中身ごとリンクにしています）*/
.gate .list a {
	display: grid;
	grid-template-columns: 38% 1fr;	/*左に写真（38%）、右に文章*/
	height: 100%;
	text-decoration: none;
	border-radius: 10px;	/*角を丸くする*/
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.25);	/*影。0,0,0は黒の事で、0.25は色が25%出た状態。*/
	background: var(--bg-color);		/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);		/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}

/*アクセントカラーのカード（listにaccentを追加）*/
.gate .list.accent a {
	background: var(--accent-color);		/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);		/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}

/*写真*/
.gate .list .image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;	/*カードの高さに合わせて写真を切り取ります*/
}

/*文章ブロック*/
.gate .list .text {
	position: relative;
	padding: 1.8rem 2rem 5rem;	/*上に1.8文字分、左右に2文字分、下に5文字分（矢印の場所）の余白*/
}

/*英字*/
.gate .list .en {
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-weight: 500;
	font-size: 0.8rem;
	letter-spacing: 0.15em;
}

/*見出し*/
.gate .list h3 {
	font-size: clamp(1.2rem, 1.9vw, 1.6rem);	/*文字サイズ。画面幅に合わせて変わります。*/
	line-height: 1.4;
	margin: 0.3rem 0 0.8rem;
}

/*説明文*/
.gate .list p:not(.en) {
	font-size: 0.9rem;
	line-height: 1.8;
}

/*タグ（未経験OKなど）*/
.gate .list .tag {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 1rem;
}
.gate .list .tag span {
	font-size: 0.75rem;
	font-weight: 700;
	border: 1px solid currentColor;	/*枠線の幅、線種、色。色は文字と同じ。*/
	border-radius: 100px;
	padding: 0 0.8rem;
}

/*丸い矢印*/
.gate .list .text::after {
	content: "\f061";	/*Font Awesomeの右矢印*/
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	right: 1.5rem;		/*右からの配置場所*/
	bottom: 1.5rem;		/*下からの配置場所*/
	width: 2.8rem;
	line-height: 2.8rem;
	text-align: center;
	border-radius: 50%;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	transition: transform 0.3s;
}
.gate .list.accent .text::after {
	background: var(--accent-inverse-color);	/*背景色。theme.cssのaccent-inverse-colorを読み込みます。*/
	color: var(--accent-color);					/*文字色。theme.cssのaccent-colorを読み込みます。*/
}

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

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

	/*カードを縦に並べる*/
	.gate .list-wrap {
		grid-template-columns: 1fr;
		gap: 1rem;
		top: -40px;
		margin-bottom: -40px;
	}

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

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

	.gate .list a {
		grid-template-columns: 32% 1fr;
	}
	.gate .list .text {
		padding: 1.2rem 1.2rem 4.5rem;
	}

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


/*ボタン
---------------------------------------------------------------------------*/
.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(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*背景がprimary-colorのブロックでは、英字をaccent-colorに*/
.bg1-primary-parts main h2 span,
main .bg1-primary-parts h2 span {
	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（「安全への取り組み」で使用）
---------------------------------------------------------------------------*/
.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を読み込みます。*/
}


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

/*カード全体をリンクにする場合（中身ごとaで囲みます）*/
.list1 .list > a {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 100%;
	text-decoration: none;
}

/*写真*/
.list1 .list figure {
	overflow: hidden;
}
.list1 .list figure img {
	display: block;
	width: 100%;
	transition: transform 0.5s;
}

/*マウスオン時は写真を少し拡大*/
.list1 .list a:hover figure img {
	transform: scale(1.05);
}

/*テキストボックス*/
.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を読み込みます。*/
}


/*voice1（「先輩スタッフの声」で使用）
---------------------------------------------------------------------------*/
.voice1 * {margin: 0;padding: 0;}

/*見出し（h3。「先輩スタッフの声」で使用）*/
.voice-title {
	margin: 5rem 0 2rem;	/*上に5文字分、下に2文字分の余白*/
	font-size: 1.3rem;	/*文字サイズ130%*/
}

/*ボックス全体*/
.voice1 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));	/*ボックス１個あたりの最低幅が280pxで自動改行*/
	gap: 2rem;	/*ボックス同士の余白。2文字分。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*ボックス１個あたり*/
.voice1 .list {
	background: #fff;	/*背景色を白に*/
	color: #333;	/*文字色*/
	border-radius: 16px;	/*角を丸くする*/
	padding: 1.5rem;	/*ボックス内の余白。1.5文字分。*/
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);	/*ボックスの影。右へ、下へ、ぼかす量。0,0,0は黒のことで0.05は色が5%出た状態。*/
	display: flex;
	flex-direction: column;
	gap: 1rem;	/*要素同士の余白。1文字分。*/
	position: relative;
}

/*引用符マーク（装飾）*/
.voice1 .list::before {
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	content: "\201C";	/*左ダブル引用符*/
	font-size: 4rem;	/*文字サイズ4倍*/
	line-height: 1;	/*行間を詰める*/
	color: #333;	/*文字色*/
	opacity: 0.15;	/*透明度。色が15%出た状態。*/
	position: absolute;
	top: 0.5rem;	/*上から0.5文字分の位置*/
	right: 1.2rem;	/*右から1.2文字分の位置*/
}

/*コメント本文*/
.voice1 .list .comment {
	font-size: 0.9rem;	/*文字サイズ90%*/
	line-height: 1.8;	/*行間*/
	flex: 1;
}

/*投稿者情報（下部）*/
.voice1 .list .user {
	display: flex;
	align-items: center;
	gap: 0.8rem;	/*写真と名前の余白。0.8文字分。*/
	padding-top: 0.8rem;	/*上に0.8文字分の余白。*/
	border-top: 1px dashed #ccc;	/*上に点線の区切り。*/
}

/*投稿者のアイコン画像*/
.voice1 .list .user figure {
	width: 56px;	/*写真の幅*/
	height: 56px;	/*写真の高さ*/
	border-radius: 50%;	/*円形にする*/
	overflow: hidden;
	flex-shrink: 0;	/*写真が縮まないようにする*/
}
.voice1 .list .user figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;	/*円いっぱいに写真を広げ、はみ出した部分は切り取ります*/
}

/*投稿者の名前・属性*/
.voice1 .list .user .name {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;	/*名前と属性の余白。0.1文字分。*/
}
.voice1 .list .user .name strong {
	font-size: 0.95rem;	/*文字サイズ95%*/
	line-height: 1.4;	/*行間*/
}
.voice1 .list .user .name span {
	font-size: 0.75rem;	/*文字サイズ75%*/
	opacity: 0.6;	/*透明度。色が60%出た状態。*/
}

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

	/*ボックス全体*/
	.voice1 {
		grid-template-columns: 1fr;	/*1列にする*/
		gap: 1.5rem;	/*ボックス同士の余白。1.5文字分。*/
	}

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


/*flow1（「ご依頼の流れ」「出発までの流れ」「ドライバーの1日」で使用）
---------------------------------------------------------------------------*/
.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(--primary-color);	/*文字色。theme.cssのprimary-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;	/*行間*/
}


/*flex1内の見出し（h3。「仕事内容」で使用）*/
.flex1 .text h3 {
	font-size: 1.5rem;	/*文字サイズ150%*/
	margin: 0 0 1.5rem;
}

/*flex1が2つ続く場合に間を空ける*/
.flex1 + .flex1 {
	margin-top: 5rem;	/*上に5文字分のスペース*/
}


/*openclose1（よくある質問。「よくある質問」で使用）
---------------------------------------------------------------------------*/
.openclose1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.openclose1 {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;	/*質問ボックス同士の余白。0.8文字分。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*質問ボックス１個あたり*/
.openclose1 .faq-item {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	border-radius: 10px;	/*角を丸くする*/
	overflow: hidden;
}

/*質問部分（クリックで開閉するボタン）*/
.openclose1 .question {
	display: flex;
	align-items: center;
	gap: 1rem;	/*Q印とテキストの余白。1文字分。*/
	padding: 1rem 1.5rem;	/*上下に1文字分、左右に1.5文字分の余白。*/
	cursor: pointer;	/*マウスカーソルを指マークに*/
	transition: background 0.2s;	/*背景色の変化を0.2秒かけて*/
	user-select: none;	/*テキスト選択を無効にする*/
}

/*質問部分のマウスオン時*/
.openclose1 .question:hover {
	background: var(--light-color);	/*背景色。theme.cssのlight-colorを読み込みます。*/
}

/*Qマーク（質問の左側アイコン）*/
.openclose1 .question .q-mark {
	flex-shrink: 0;	/*Qマークが縮まないようにする*/
	width: 36px;	/*幅*/
	height: 36px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-size: 1rem;	/*文字サイズ*/
	font-weight: bold;	/*太字*/
}

/*質問テキスト*/
.openclose1 .question .q-text {
	flex: 1;
	font-size: 0.95rem;	/*文字サイズ95%*/
	font-weight: bold;	/*太字*/
	line-height: 1.6;	/*行間*/
}

/*開閉アイコン（右端の矢印）*/
.openclose1 .question .toggle-icon {
	flex-shrink: 0;	/*アイコンが縮まないようにする*/
	width: 24px;	/*幅*/
	height: 24px;	/*高さ*/
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;	/*アイコンサイズ80%*/
	color: var(--primary-color);	/*アイコン色。theme.cssのprimary-colorを読み込みます。*/
	transition: transform 0.3s;	/*回転を0.3秒かけて*/
}

/*開いている時の矢印回転*/
.openclose1 .faq-item.open .toggle-icon {
	transform: rotate(180deg);	/*180度回転*/
}

/*回答部分（初期状態は非表示）*/
.openclose1 .answer {
	display: none;	/*初期状態は非表示。JSで開閉する。*/
	padding: 0 1.5rem 1.2rem;	/*上は0、左右に1.5文字分、下に1.2文字分の余白。*/
}

/*回答の中身*/
.openclose1 .answer .a-inner {
	display: flex;
	align-items: flex-start;
	gap: 1rem;	/*Aマークとテキストの余白。1文字分。*/
	padding-top: 1rem;	/*上に1文字分の余白。*/
	border-top: 1px dashed var(--bg-border-color);	/*上に点線の区切り。色はtheme.cssのbg-border-colorを読み込みます。*/
}

/*Aマーク（回答の左側アイコン）*/
.openclose1 .answer .a-mark {
	flex-shrink: 0;	/*Aマークが縮まないようにする*/
	width: 36px;	/*幅*/
	height: 36px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-size: 1rem;	/*文字サイズ*/
	font-weight: bold;	/*太字*/
}

/*回答テキスト*/
.openclose1 .answer .a-text {
	flex: 1;
	font-size: 0.9rem;	/*文字サイズ90%*/
	line-height: 1.8;	/*行間*/
	padding-top: 0.3rem;	/*Aマークの中心に合わせる微調整。0.3文字分。*/
}

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

	/*質問部分の余白を狭く*/
	.openclose1 .question {
		padding: 0.8rem 1rem;	/*上下に0.8文字分、左右に1文字分の余白。*/
		gap: 0.8rem;	/*Q印とテキストの余白。0.8文字分。*/
	}

	/*Qマーク・Aマークを小さく*/
	.openclose1 .question .q-mark,
	.openclose1 .answer .a-mark {
		width: 30px;	/*幅を小さく*/
		height: 30px;	/*高さを小さく*/
		font-size: 0.85rem;	/*文字サイズ85%*/
	}

	/*回答部分の余白を狭く*/
	.openclose1 .answer {
		padding: 0 1rem 1rem;	/*上は0、左右に1文字分、下に1文字分の余白。*/
	}

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


/*見出しのすぐ下の文章は、見出しとの間を少し詰める
---------------------------------------------------------------------------*/
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;}
