@charset "utf-8";



/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');


/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("slide.css");
@import url("inview.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
	--text-color: #333;				/*テキストカラー*/

	--primary-color: #59d5e0;		/*テンプレートのメインまたはアクセントカラー*/
	--primary-inverse-color: #fff;		/*上のprimary-colorの対となる色*/
	
	--global-space: 5vw;			/*サイト内の左右へとる余白を一括管理しています。画面幅100%＝100vwです。*/
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*fadeInのキーフレーム設定（テキストのフェードインに使用）
---------------------------------------------------------------------------*/
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.8);}
	100% {opacity: 1;transform: scale(1);}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html,body {
	height: 100%;
	font-size: 13px;	/*基準となるフォントサイズ。*/
}

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

		html, body {
			font-size: 16px;	/*基準となるフォントサイズ。*/
		}

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


body {
	margin: 0;padding:0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;	/*フォント種類（ゴシック）*/
	font-optical-sizing: auto;
	/*font-weight: 300;*/
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: var(--text-color);	/*文字色。css冒頭で指定しているtext-colorを読み込みます*/
	line-height: 2;		/*行間*/
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}
section li {margin-left: 1rem;}

/*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 {
	margin-top: 3rem;
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: var(--text-color);	/*文字色。css冒頭で指定しているtext-colorを読み込みます*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	text-decoration: none;	/*下線を消す*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
body:not(.home) #container {
    height: 100%;
    display: flex;
    flex-direction: column;	/*子要素を縦並びにする*/
    justify-content: space-between;	/*並びかたの種類の指定*/
    /*text-align: center;*/
}


/*コンテンツ（フッター関連「以外」を囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	padding: var(--global-space);	/*コンテンツ内の余白。css冒頭で指定しているglobal-spaceを読み込みます。*/
}

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

	#contents {
		padding-top: 80px;	/*コンテンツ内の上の余白だけ上書き*/
	}

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


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	display: flex;					/*flexボックスを使う指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	justify-content: space-between;
	height: 70px;					/*ヘッダーの高さ*/
	padding: 1vw 3vw;				/*ヘッダー内の余白。上下、左右への順番。*/
	font-family: "Reddit Sans", "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
    position: absolute;
    z-index: 1;
    width: 100%;
	background-color: rgba(89, 213, 224, 0.8);
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	
	/*ヘッダーブロック*/
	header {
		position: fixed;	/*スクロールしても動かないようにする指定。*/
	}
	
	}

/*ロゴ（※画像にする場合）*/
#logo img {
	display: block;
	width: 260px;	/*ロゴ画像の幅*/
	margin-top: 2rem;  /*少し下にずらす*/
}

#logo2 img {
	display: block;
	width: 17%;	/*ロゴ画像の幅*/
	/*margin-top: 2rem;  /*少し下にずらす*/
	margin: 0rem auto 2rem;
}

/* 画面幅が900px以下の場合に適用するスタイル */
@media screen and (max-width: 900px) {
	#logo img {
		width: 150px; /* 900px以下の場合に適用したい新しい幅を指定 */
		margin-top: 0; /* マージンをリセットして元の配置に戻す */
	}
}

/*ロゴ（テキストにする場合）*/
#logo a {
	display: block;text-decoration: none;
	font-size: 1.2rem;	/*文字サイズを120%に*/
	font-weight: 800;	/*文字の太さ*/
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}

/*ドロップダウンの親メニューのカーソル表示を変更*/
a.ddmenu {cursor: default;}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";	/*Font Awesomeを使う指示*/
	content: "\f078";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
	display: flex;		/*横並びにする*/
	font-size: 0.85rem;	/*文字サイズ。85%。*/
	gap: 0.5rem;		/*メニュー同士の間に空けるマージン的な要素*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li a {
	border-radius: 100px;	/*角を丸くする指定。適当に大きければOKです。*/
	padding: 0.2rem 1rem;	/*上下、左右へのメニュー内の余白*/
}

/*マウスオン時*/
.large-screen #menubar li a:hover {
	background: #fff;		/*背景色*/
}


/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
}

/*メニュー１個あたり*/
.large-screen #menubar ul ul a {
	margin-top: 0.4rem;	/*上に空けるスペース。メニュー同士の隙間です。*/
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 90px;
	background: rgba(0,0,0,0.9);		/*背景色*/
	animation: animation1 0.2s both;	/*animation1を実行する。0.2sは0.2秒の事。*/
}

/*メニュー１個あたりの設定*/
.small-screen #menubar nav ul li {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
	padding: 0 2rem;		/*メニュー内の余白。上下、左右へ。*/
}
.small-screen #menubar a {
	padding: 1rem;	/*メニュー内の余白*/
}

/*文字色*/
.small-screen #menubar, .small-screen #menubar a {
	color: #fff;
}

/*900px以下でのみ表示させるブロック*/
#menubar .sh {
	font-weight: normal;		/*文字の太さを標準にする*/
	padding: 1rem 2rem 2rem;	/*上、左右、下へのブロック内の余白*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0s 0.2s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 3vw;			/*右からの配置場所指定*/
	top: 1vw;				/*上からの配置場所指定*/
	padding: 16px 14px;		/*上下、左右への余白*/
	width: 46px;			/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;			/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）部分。flexはデフォルトで横並びになるので、それを縦並びに変更。*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 1.5px solid #333;	/*線の幅、線種、色*/
}

/*×印が出ている状態の3本バーの背景色*/
#menubar_hdr.ham {
	background: #ff0000;
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
	width: 20px;						/*バーの幅*/
	border-color: #fff;					/*線の色だけ上書き*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(3.8px, 5px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(3.8px, -5px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;	/*２本目は使わないので非表示にする*/
}


/*main
---------------------------------------------------------------------------*/
/*h2(見出し)要素*/
main h2 {
	font-family: "Reddit Sans", "Noto Sans JP", sans-serif;
	font-size: 3rem;		/*文字サイズ。基準の3倍の大きさに。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}

/*bg1背景の上でのh2*/
.bg1 h2 {
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
}

/*h2内の小文字部分*/
main h2 .hosoku {
	display: block;font-weight: normal;
	font-size: 0.3em;	/*親要素の40%のサイズに*/
}

/*h3(見出し)要素*/
main h3 {
	display: inline-block;
	border-bottom: 3px solid var(--text-color);	/*下線の幅、線種、varは色のことで、css冒頭で指定しているtext-colorを読み込みます*/
}


/*2カラム
---------------------------------------------------------------------------*/
.main-contents {
	margin-bottom: 5rem;	/*ボックスの下に空けるスペース。subとの間の余白です。5文字分。*/
}

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

	/*カラムで使う為の指定*/
	main.column {
		display: flex;					/*横並びにする*/
		justify-content: space-between;	/*並びかたの種類の指定*/
		gap: 2rem;						/*main-contentsとsub-contentsの間のマージン的な隙間*/
	}
	
	/*main-contentsブロック*/
	.main-contents {
		margin-bottom: 0;
		order: 2;		/*並び順。数字の小さい順番に表示されます。*/
		flex: 1;
	}
	
	/*sub-contentsブロック共通*/
	.sub-contents {
		width: 230px;	/*幅*/
	}
	
	/*1つ目のsub-contents*/
	.sub-contents:nth-child(2) {
		order: 1;	/*並び順。数字の小さい順番に表示されます。*/
	}
	
	/*2つ目のsub-contents*/
	.sub-contents:nth-child(3) {
		order: 3;	/*並び順。数字の小さい順番に表示されます。３番目という意味なので一番右側に表示されます。*/
	}
	
	}/*追加指定ここまで*/


/*サブコンテンツ設定
---------------------------------------------------------------------------*/
/*サブコンテンツ内のh3要素(見出し)*/
.sub-contents h3 {
	display: block;
	margin: 0;
	text-align: center;	/*テキストをセンタリング*/
	border-radius: 5px 5px 0px 0px;	/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	border: 1px solid #ccc;			/*下線の幅、線種、色*/
	background: linear-gradient(transparent, rgba(0,0,0,0.03));/*背景グラデーション。transparentは透明の事。0,0,0は黒の事で0.03は色が3%出た状態。*/
	padding: 0.5rem 0;	/*上下、左右への見出し内の余白*/
}


/*サブメニュー設定
---------------------------------------------------------------------------*/
/*サブメニューブロック全体*/
.submenu {
	padding: 0;
	margin: 0 0 1rem;	/*上、左右、下へのマージン*/
}

/*メニュー１個あたり*/
.submenu a {
	display: block;text-decoration: none;
	padding: 0.2rem 1rem;	/*上下、左右へのメニュー内の余白*/
}

/*メニュー１個あたり（子メニュー以外）*/
.submenu > li {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-top: none;		/*上の線だけなくす*/
}

/*子メニュー*/
.submenu li li a {
	padding-left: 2rem;	/*左に余白を空ける*/
}

/*h3見出しの下にサブメニューが続く場合にメニューの上の線をなくす*/
.sub-contents h3 + nav .submenu {
	border-top: none;
}


/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#footermenu {
	margin: 0 !important;
	padding: 20px;		/*ブロック内の余白*/
	text-align: center;	/*テキストを中央に*/
	font-size: 1.0rem;	/*文字サイズ。bodyのfont-sizeの80%です。*/
}

/*メニュー１個あたり*/
#footermenu li {
	display: inline-block;	/*簡易的に横並びにする*/
	padding: 0 20px;		/*上下、左右への余白*/
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
    font-size: 0.7rem;		/*内容をセンタリング*/
    padding: 20px;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/* 初期状態でテキストを非表示にする */
.fade-in-text {
    visibility: hidden;
}

/* アニメーションを適用するクラス。
animationの行の「0.05s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.2」で調整できます。*/
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.05s linear both;
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/

.new dd {
	padding-bottom: 1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	width: 8rem;			/*幅。６文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #fff;		/*背景色*/
	color:#777;				/*文字色*/
	border: 1px solid #333;
}

/*icon-bg1*/
.new .icon-bg1 {
	background: #333;	/*背景色*/
	color: #fff;		/*文字色*/
}

/*icon-bg2*/
.new .icon-bg2 {
	background: #ff0000;	/*背景色*/
	color: #fff;			/*文字色*/
}

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

	/*ブロック全体*/
	.new {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
		margin: 0rem 10rem;
	}

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


/*list-grid1
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック*/
.list-grid1 {
	display: grid;
	color: var(--text-color);	/*文字色。css冒頭で指定しているtext-colorを読み込みます*/
}

/*ボックス１個あたり*/
.list-grid1 .list {
    display: grid;
}

/*list内の全ての要素のmarginとpaddingを一旦リセット*/
.list-grid1 .list * {
	margin: 0;padding: 0;
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
}

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

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		grid-template-columns: repeat(2, 1fr);	/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


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

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		grid-template-columns: repeat(3, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

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


/*ボックス１個あたり*/
.list-grid1 .list {
	padding: 1rem;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
    grid-template-rows: auto 1fr;	/*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure img {
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}


/*ボタン（btnと、btn-border-radius）
---------------------------------------------------------------------------*/
/*ボタン共通*/
.btn a,
.btn-border-radius a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--primary-color) !important;	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color) !important;	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;
}

/*ボタン共通（マウスオン時に少し明るくする）*/
.btn a:hover,
.btn-border-radius a:hover {
	filter: brightness(1.2);
}

/*btn-border-radiusの上書き*/
.btn-border-radius a {
	display: inline-block;
	padding: 0.5rem 2rem !important;	/*ボタン内の余白*/
	border-radius: 100px;	/*角丸の指定。適当に大きければOK。*/
	background: #e12000 !important;
	color: #fff !important;
}


/*bg1背景色がついたブロック
---------------------------------------------------------------------------*/
.bg1 {
	position: relative;
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding-top: 5vw;		/*ボックス内の上に空ける余白。お好みで調整して下さい。*/
	padding-bottom: 5vw;	/*ボックス内の下に空ける余白。お好みで調整して下さい。*/
	margin-top: 10vw;		/*ボックス外の上に空ける余白。お好みで調整して下さい。*/
	margin-bottom: 10vw;	/*ボックス外の下に空ける余白。お好みで調整して下さい。*/
	
	/*以下は変更不要*/
	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
	padding-left: var(--global-space);
	padding-right: var(--global-space);
}
.bg1 a {
	color: inherit;
}

/*以下のheightの行が傾斜の角度です。vwという単位は画面幅に対してで、画面幅100%＝100vwになります。
つまり、画面幅に対して常に同じ傾斜具合になります。1pxの数字は時々隙間が発生するのでそれを防ぐ為の措置です。
傾斜（height）を変更したい場合は、下にある「.bg1::before」のtopと「.bg1::after」のbottomの数字も変更。*/
.bg1::before, .bg1::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: calc(5vw + 1px);
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
}

.bg1::before {
	top: -5vw;	/*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
	clip-path: polygon(0 100%, 100% 0, 100% 100%);	/*三角形の形を作っています*/
}

.bg1::after {
	bottom: -5vw;	/*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
	clip-path: polygon(0 0, 100% 0, 0 100%);	/*三角形の形を作っています*/
}

/*bg3背景色がついたブロック もっと角度をつけたもの
---------------------------------------------------------------------------*/
.bg3 {
	position: relative;
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding-top: 0vw;		/*ボックス内の上に空ける余白。お好みで調整して下さい。*/
	padding-bottom: 0vw;	/*ボックス内の下に空ける余白。お好みで調整して下さい。*/
	margin-top: 0vw;		/*ボックス外の上に空ける余白。お好みで調整して下さい。*/
	margin-bottom: 0vw;	/*ボックス外の下に空ける余白。お好みで調整して下さい。*/
	
	
	/*以下は変更不要*/
	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
	padding-left: var(--global-space);
	padding-right: var(--global-space);
}

/* 内側の余白を自由にコントロール */
.bg3-inner {
    padding-top: 0;     /* 内部の上余白 */
    padding-bottom: 1vw;  /* ★ここを自由に調整（下余白） */
	margin-bottom: 10vh;
}

.bg3 a {
	color: inherit;
}

/*以下のheightの行が傾斜の角度です。vwという単位は画面幅に対してで、画面幅100%＝100vwになります。
つまり、画面幅に対して常に同じ傾斜具合になります。1pxの数字は時々隙間が発生するのでそれを防ぐ為の措置です。
傾斜（height）を変更したい場合は、下にある「.bg1::before」のtopと「.bg1::after」のbottomの数字も変更。*/
.bg3::before, .bg3::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: calc(10vw + 1px);
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
}

.bg3::before {
	top: -10vw;	/*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
	clip-path: polygon(0 100%, 100% 0, 100% 100%);	/*三角形の形を作っています*/
}

.bg3::after {
	bottom: -10vw;	/*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
	clip-path: polygon(0 0, 100% 0, 0 100%);	/*三角形の形を作っています*/
}

.bg3 h2 {
	color: #fff;
}

/* 新しく追加するCSS */
.bg3 h2 .colored-text {
    /* 目的の色を指定 */
	color: var(--primary-color); 
}

/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view-parts {
	max-width: 1000px;		/*最大幅*/
	margin: 0 auto 1rem;	/*ブロック要素を中央に配置。下に1文字分のマージンをとる。*/
	text-align: center;		/*画像が小さい場合でもセンタリングされるように*/
}

/*サムネイル全体を囲むブロック*/
.thumbnail-parts {
	display: flex;				/*flexを使う指定*/
	justify-content: center;	/*並びかたの種類の指定。これはセンタリングする指定。*/
	margin-bottom: 2rem;		/*下に空けるスペース。２文字分。*/
}

/*サムネイル画像*/
.thumbnail-parts img {
	width: 100px;		/*サムネイルの幅*/
	margin: 2px;		/*サムネイル間のスペース*/
	cursor: pointer;	/*リンクタグではないが、クリックできる事をわかりやすくする為にリンクと同じポインターにしておきます。*/
	transition: 0.3s;	/*マウスオンまでにかける時間。3秒。*/
}
.thumbnail-parts img:hover {
	opacity: 0.8;	/*マウスオン時に80%だけ色を出す。つまり薄くなります。*/
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.5rem 1rem;	/*ボックス内の余白*/
	background: #333;		/*背景色*/
	color: #fff;			/*文字色*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid #333;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;				/*幅*/
	margin-bottom: 5rem;		/*テーブルの下に空けるスペース。5文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #333;	/*テーブルの下線。幅、線種、色*/
}

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

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: #eee;	/*背景色*/
}

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

		/*th（左側）のみの設定*/
		.ta1 th {
			width: 20%;		/*幅*/
		}

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


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	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%;	/*円形にする*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.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: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;color: #333;border: 1px solid #ccc; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

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

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

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



/*別途追加CSS
----------------------------------------------------------------------*/
/*2カラムブロック（※900px未満では１カラム）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.list-half-parts .list-parts {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	margin-bottom: 2rem;	/*ボックスの下に2文字分のスペースを空ける*/
}

/*ブロック内のh4見出し*/
.list-half-parts .list-parts h4 {
	font-size: 1.8rem;	/*文字サイズを1.4倍*/
	font-weight: 500;
	margin-bottom: -2rem;
}

/*ブロック内のh4見出し*/
.list-half-parts .list-parts h4 span{
	font-size: 1.4rem;	/*文字サイズを1.4倍*/
	font-weight: 400;
}

/*画像ブロック共通*/
.list-half-parts .image-l-parts img, .list-half-parts .image-r-parts img {
	border-radius: 30px;	/*角を丸くする指定。*/
	/*box-shadow: 10px 10px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

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

		/*２カラムを囲むブロック*/
		.list-half-parts .list-parts {
			flex-direction: row;			/*子要素を横並びにする*/
			justify-content: space-between;	/*並びかたの種類の指定*/
			align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
			align-items: flex-start;
			
			
		}
		
		/*画像ブロック共通*/
		.list-half-parts .image-l-parts, .list-half-parts .image-r-parts {
			width: 50%;			/*画像の幅*/
		}
		
		/*画像を右に配置する場合*/
		.list-half-parts .image-r-parts {
			margin-left: 2rem;	/*画像の左側に空けるスペース*/
		}
		
		/*画像を左に配置する場合*/
		.list-half-parts .image-l-parts {
			order: -1;
			margin-right: 2rem;	/*画像の右側に空けるスペース*/
		}

		/*テキストブロック*/
		.list-half-parts .text-parts {
			flex: 1;
		}

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


/*以前のCSSを移植------------------------------------------------------------*/
/*list-grid7（実績ほか数字カウント部分）
---------------------------------------------------------------------------*/
.list-grid7 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid7 .list {
    display: grid;
	position: relative;
	border-radius: 5px;		/*角を少しだけ丸く*/
	background: #fff;	/*背景色*/
	color: #555;			/*文字色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 2rem;			/*ボックス内の余白。２文字分。*/
	box-shadow: 2px 5px 5px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒のことで0.1は色が10%出た状態。*/
	margin-bottom: 2rem;	/*ボックスの下に空けるスペース。2文字分。*/
}

/*ボックス内のh4見出し*/
.list-grid7 .list h4 {
	text-align: center;		/*テキストをセンタリング*/
	font-size: 2rem;		/*文字サイズ130%*/
	margin-bottom: 1rem;	/*下に0.5文字分の余白を空ける*/
	line-height: 2rem;
	color: var(--primary-color);	/*文字色。css冒頭のprimary-colorを読み込みます。*/
}

/*h4内のspan（小さな装飾文字）*/
.list-grid7 .list h4 span {
	display: block;
	font-weight: normal;	/*デフォルトだと太字なので標準に*/
	font-size: 0.5em;		/*文字サイズを70%*/
}

/*ボックス内のp要素*/
.list-grid7 .list p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
}


/*ボックス内のfigure画像*/
.list-grid7 .list figure.icon {
	margin: 0 auto;
	width: 100px;		/*画像サイズ*/
	margin-top: -30px;	/*本来の場所より上にずらす*/
	background: #fff;
	border-radius: 100px;		/*角を少しだけ丸く*/
}
.list-grid7 .list figure.icon img {
margin-top: 20px;
}

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

	/*ボックス内のfigure画像*/
	.list-grid7 .list figure.icon {
		width: 150px;		/*画像サイズ*/
		margin-top: -80px;	/*本来の場所より上にずらす*/
	}
	}
    /*　画面サイズが500pxから898pxまではここを読み込む　*/
	@media screen and (min-width:600px) and ( max-width:998px) {
	.list-grid7 {
		display: grid;
		grid-template-columns: repeat(2, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 2rem	/*ブロックの間に空けるマージン的な指定。２文字分。*/
	}
}
	@media screen and (min-width:1000px) {
	.list-grid7 {
		display: grid;
		grid-template-columns: repeat(4, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 2rem	/*ブロックの間に空けるマージン的な指定。２文字分。*/
	}
	}
	

	
/*list-grid3（サービス紹介ブロック ３カラム）
---------------------------------------------------------------------------*/
.list-grid3 .list * {
    margin: 0;
    padding: 0;
    align-items: flex-start;
    text-align: center;
    /*color: #5A5E37;*/
}

/*ボックス１個あたり*/
.list-grid3 .list {
    display: grid;
	position: relative;
	border-radius: 5px;		/*角を少しだけ丸く*/
	background: #fff;	/*背景色*/
	color: #555;			/*文字色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 2rem;			/*ボックス内の余白。２文字分。*/
	box-shadow: 2px 5px 5px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒のことで0.1は色が10%出た状態。*/
	margin-bottom: 2rem;	/*ボックスの下に空けるスペース。2文字分。*/
}

.list-grid3 .list figure {max-width: 200px;
margin: auto;}


/*ボックス内のh4見出し*/
.list-grid3 .list h4 {
	text-align: center;		/*テキストをセンタリング*/
	font-size: 2rem;		/*文字サイズ130%*/
	margin-bottom: 0.5rem;	/*下に0.5文字分の余白を空ける*/
	color: var(--primary-color);	/*文字色。css冒頭のprimary-colorを読み込みます。*/
}

/*h4内のspan（小さな装飾文字）*/
.list-grid3 .list h4 span {
	display: block;
	font-weight: normal;	/*デフォルトだと太字なので標準に*/
	font-size: 0.5em;		/*文字サイズを70%*/
margin-top:-1rem;
}

/*ボックス内のp要素*/
.list-grid3 .list p {
	/*font-size: 0.85rem;	/*文字サイズを85%に*/
}


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

	/*ブロック全体を囲むブロック*/
	.list-grid3 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 2rem	/*ブロックの間に空けるマージン的な指定。２文字分。*/
	}

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

/* カウント文字装飾 追加CSS*/
.box {
  text-align: center;
  /*display: flex;             /* 子要素 (.box-item) を横並びにする */
  /*justify-content: center;   /* 子要素全体を中央に配置する */
}
.box p{font-size: 1.2em;}

.box-item {
  /*margin-top: 2rem;*/
}
.js-countUp {
  font-size: 2rem;
  font-weight: bold;
  line-height: 4rem;
margin: 0;
padding: 0;
/* ↓↓↓ ここに幅を広げる設定を追加 ↓↓↓ */
    /*flex-basis: 50%; /* 2つのアイテムで幅を均等に分ける */
    /*max-width: 50%; /* 念のため最大幅も指定 */
}

.number {
  font-size: 4.5rem;
  color: #FF0000;
}



/*ウェーブナニメーション　別途--------------------------------------------*/
/*波のアニメーション
---------------------------------------------------------------------------*/
/*波を囲む全体のブロック*/
.wave1-section-parts {
	position: relative;
	padding: calc(80px - 1px) 0px;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw; /* 画面幅いっぱい */
}

/*波の色（２つとも揃えておけばOK）*/
.wave1-section-parts .text-parts {
	background: #59d5e0;
		padding: 1rem 5vw; 
}
.wave1-section-parts .text-parts h2 {color: #FFF;}

.wave1-section-parts .wave-wrap-parts use {
	fill: #59d5e0;
}

/*上下の波（共通）*/
.wave1-section-parts .wave-parts {
	position: absolute;
	left: 0;
	width: 100%;
	height: 80px;	/*波の高さ。ここを変更する場合は上の.wave1-section-partsのpaddingの行にある80の数字も合わせて変更して下さい。*/
}
.wave1-section-parts .wave-parts svg {
	display: block;
	width: 100%;
	height: 100%;
}
.wave1-section-parts .wave-parts .wave-wrap-parts {
	transform-box: fill-box;
	transform-origin: 0 0;
	animation: move-wave 3s linear infinite;	/*ここの10の数字で速度調整できます*/
}

@keyframes move-wave {
0% { transform: translateX(0); }
100%   { transform: translateX(-50%); }
}

/*上の波*/
.wave1-section-parts .wave-top-parts {
	top: 0;
}
/*下の波*/
.wave1-section-parts .wave-bottom-parts {
	bottom: 0;
	transform: rotate(180deg);
}

/*背景色 真っ直ぐな背景
---------------------------------------------------------------------------*/
.background1-parts {
	background: #59d5e0;	/*背景色*/
	color: #555;		/*文字色*/
    left: 50%;
    right: 50%;
    margin-left: -5vw;
    margin-right: -5vw;
    width: 100vw; /* 画面幅いっぱい */
}

/*２カラム　写真ははじまでCSSを追加　--------------------------------------------*/
/*2カラムブロック（※900px未満では１カラム）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.c5 {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
}

/*c2内のh2見出し*/
.c5 h2 {
	font-size: 2em;
}

/*小さい端末で見た場合（１カラムになった際）に、画像を常に先頭に持ってくる*/
.c5 .image {
	order: -1;
}

/*2カラムブロック
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.c5 {
	flex-direction: row;			/*子要素を横並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	
	margin-left: -6%;
	margin-right: -6%;
}
/*画像ブロック*/
.c5 .image {
	width: 60%;
}

/*テキストブロック*/
.c5 .text {
	width: 40%;
	padding: 0 3%;
}

/*最初(左)に配置*/
.c5 .l {
	order: -1;
}

/*画像を右側に配置する場合の設定*/
.c5 .image.r {
	overflow: hidden;
	/*margin-right: -6%;	画像を画面枠ギリギリまで移動する*/
	border-radius: 100px 0px 0px 100px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}

/*画像を左側に配置する場合の設定*/
.c5 .image.l {
	overflow: hidden;
	/*margin-left: -6%;	画像を画面枠ギリギリまで移動する*/
	border-radius: 0px 100px 100px 0px;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}

@media screen and (max-width: 900px) {
.c5 { display: block;
}
.c5 .text,
.c5 .image{width: 100%;}

}


/*btnの設定
---------------------------------------------------------------------------*/
a.btn1, a.btn2 {
	display: inline-block;text-decoration: none;
	letter-spacing: 0.1em;
	border-radius: 3px;
	padding: 5px 30px;
	font-size: 1.2em;
	box-shadow: 1px 2px 3px rgba(0,0,0,0.2);
}
a.btn1 {
	background: #59d5e0;
	color: #fff;
}
a.btn2 {
	background: #2b5796;
	color: #fff;
}
.radius {
	border-radius: 100px !important;
}
a.btn1 i, a.btn2 i {
	margin-left: 20px;
}
a:hover.btn1, a:hover.btn2 {
	transform: scale(1.03);
	filter: brightness(1.1);
}

/*　テーブル用　*/
/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1-parts caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白*/
	margin-bottom: 15px;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
}

/*テーブルブロック設定*/
.ta1-parts {
	table-layout: fixed;
	width: 100%;
	margin-bottom: 2rem;
	background: #fff;
	color: #555;
	border-collapse: collapse; 
}

/*tr（１行分）タグ設定*/
.ta1-parts tr {
	/* ここは特に指定不要 */
}

/*th（左側）、td（右側）の共通設定*/
.ta1-parts th, .ta1-parts td {
	padding: 1rem;
	text-align: left;
	font-size: 0.9rem;
	line-height: 1.8;
	word-break: break-all;
	border-bottom: 1px solid #999;  /* 行下の線 */
	border-top: none;               /* 基本は上線なし */
}

/* ★テーブルの最上段だけ上線を付ける */
.ta1-parts tr:first-child th,
.ta1-parts tr:first-child td {
	border-top: 1px solid #999;
}

/* 2列目の幅と線の設定 (HTML側で .col-center を付与) */
.ta1-parts .col-center {
	width: 5%;        /* 必要に応じて調整 */
	border-top: none;     /* 2列目は上下線なし（基本） */
	border-bottom: none;
}

/* ★追加：2列目の最上段セルだけ上線を復活 */
.ta1-parts tr:first-child .col-center {
	border-top: 0px solid #999 !important;
}

/*th（左側）のみの設定*/
.ta1-parts th {
	font-weight: normal;
	text-align: left;
	background: #fff;
}

.ta1-parts a {
    text-decoration: none;   /* 下線を消す */
    color: inherit;          /* 元の文字色を継承（青を消す） */
}

* ==================================================== */
/*テーブル会社概要用　テンプレートパーティ　パーツ
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2-parts caption {
	font-weight: bold;		/*太字に*/
	font-size: 2.8rem;      /*サイズアップ*/
	text-align-last: left;  /*左合わせで*/
	padding: 0.2rem 1rem;	/*ボックス内の余白*/
	margin-bottom: 15px;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
	background: #fff;		/*背景色*/
	color: #555;			/*文字色*/
}

/*テーブルブロック設定*/
.ta2-parts {
	table-layout: fixed;
	/* === 修正: セルの境界線を単一線にする === */
	border-collapse: collapse;
	/* ================================== */
	border-top: 1px solid #999;	/*テーブルの一番上の線。幅、線種、色。*/
	width: 80%;
	margin-bottom: 2rem;		/*テーブルの下に空けるスペース。２文字分。*/
	background: #fff;		/*テーブル全体の背景色*/
	color: #555;			/*テーブル全体の文字色*/
	/* === 追加する設定: 左右の余白を自動にし、中央配置にする === */
	margin-left: auto;
	margin-right: auto;
    /* ==================================================== */
}

/*tr（１行分）タグ設定*/
.ta2-parts tr {
	border-bottom: 1px solid #999;	/*テーブルの下線。幅、線種、色。*/
}

/* 1列目（th）だけ均等配置にする */
.ta2-parts th {
    width: 24%;
    text-align: justify;        /* ★ 均等揃え */
    text-align-last: justify;   /* ★ 最終行も均等揃え */
    vertical-align: top;
    background: #fff;
    padding-left: 3rem !important; /* ▼ ここで左右の空きを指定する（例：左右1.5rem） */
    padding-right: 3rem !important;
}

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

/*th（左側）のみの設定*/
.ta2-parts th {
	width: 25%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: #fff;	/*背景色*/
	/* === 追加する設定 === */
	vertical-align: top; /* テキストを上合わせにする */
    text-align: left;
}

/* ================================
   スマホ・タブレット用 レスポンシブ
   ================================ */
@media screen and (max-width: 700px) {

    /* テーブル全体を縦型レイアウトへ変更 */
    .ta2-parts,
    .ta2-parts tr,
    .ta2-parts th,
    .ta2-parts td {
        display: block;
        width: 100%;
    }

    /* 1列目（th） */
    .ta2-parts th {
        text-align: left !important;      /* ← 重要 */
        text-align-last: left !important; /* ← justify の残りを無効化 */
        padding-left: 0.5rem !important;   /* 左の空き（通常程度） */
        padding-right: 0;
        margin-top: 1rem;        /* 各項目の上に空きを作る */
        background: #fff;
    }

    /* 2列目（td） → 左に1文字分の空き */
    .ta2-parts td:nth-of-type(1) {
        text-align: left;
        padding-left: 1rem !important;     /* 1文字分の空き */
        padding-right: 0;
    }

    /* 3列目（td） → 左に3文字分の空き */
    .ta2-parts td:nth-of-type(2) {
        text-align: left;
        padding-left: 3rem !important;     /* 3文字分の空き */
        padding-right: 0;
    }
}

/* ==================================================== */
/*CSS Stock　企業紹介　上部　リンクタブ用
---------------------------------------------------------------------------*/
.tab-3 {
    display: flex;
    flex-wrap: wrap;
    max-width: 95%;
	margin: 0 auto;
}

.tab-3 > label {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: .7em 1em .5em;
    background-color: #888;
    color: #fff;
    font-weight: 300;
    font-size: 1em;
    text-align: center;
    cursor: pointer;
}

.tab-3 > label:hover {
    opacity: .8;
}

.tab-3 input {
    display: none;
}

.tab-3 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    /*background-color: #59d5e0;*/
}

.tab-3 label:has(:checked) {
    border-bottom: 2px solid #59d5e0;
	background-color: #59d5e0;
    color: #555;
}

.tab-3 label:has(:checked) + div {
    display: block;
}

/* スマホ対応: 600px以下でタブを2列に折り返す */
@media screen and (max-width: 700px) {

    .tab-3 {
        /* max-widthを画面幅いっぱいに使うように調整 */
        width: 100% !important;
        max-width: 100% !important;
        /* 中央揃えを有効にするために justify-content を使用（省略可）*/
        margin: 0 auto;
    }

    .tab-3 > label {
        /*
         * 1行に2つの要素（2列）を表示させる設定です。
         * 幅を 50% に固定し、flex-wrap: wrap; で自動的に折り返させます。
         */
        flex: 0 0 50%; /* 伸び縮みせず、常に幅を50%に固定 */
        min-width: unset; /* min-widthを解除 */
        
        /* 境界線を少し調整して、2列になったときの見栄えを整える */
        /* 例: 2列表示時に左右の余白を少し調整したい場合に追加 */
        /* padding: .7em 0.5em .5em; */
    }

    /* 2列にした場合、チェックされているタブの下線が50%幅になる */
    .tab-3 label:has(:checked) {
        border-bottom: 2px solid #2b5796;
    }
}

/*-------------------------------------------------------------------------*/
/*背景画像が少しずつ上に移動する 「　新社屋背景利用用　」
---------------------------------------------------------------------------*/
/*共通設定*/
.bg-slideup {
    background-repeat: no-repeat;
    background-size: cover;
	width: 100%;
}

/*slideup1画像*/
.slideup1 {
    background-image: url("../images/bg-slideup1.jpg");	/*背景画像の読み込み*/
	color: #fff;
	border-radius: 10vw 10vw 0 0;
}

/*slideup2画像*/
.slideup2 {
    background-image: url("../images/bg-slideup2.jpg");	/*背景画像の読み込み*/
	position: relative;
}

/*slideup2の上部にグラデーションをかけて、「よく頂く質問」ブロックとの境界をなめらかにする*/
.slideup2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 20vh;	/*高さ。画面の高さの20%。お好みで。*/
	/*background: linear-gradient(var(--secondary-color), transparent);/*背景グラデーション。css冒頭の--secondary-colorから透明(transparent)になるグラデ。*/
	background: linear-gradient(#fff, transparent);/*背景グラデーション。白から透明(transparent)になるグラデに変更。*/
}

/*フッターの上のボックス内にあるボタン（ここにない設定は、すぐ上の「btn共通設定」にあります。）
---------------------------------------------------------------------------*/
/*ボタンに使用しているアイコン*/
.btn-box .btn i {
	margin-right: 2rem;		/*アイコンの右側に２文字分のスペースを空ける*/
	transform: scale(1.4);	/*アイコンサイズを140%に。*/
}

/*ボタンブロック*/
.btn-box .btn {
	list-style: none;margin:0;padding:0;
	display: flex;
	flex-direction: column;	/*縦並びに*/
	justify-content: center;
	align-items: center;
	gap: 2rem;			/*ボタン同士に空けるスペース。２文字分。*/
	height: 80vh;		/*ブロックの高さ。画面の高さの80%。お好みで。*/
	font-size: 1.5rem;	/*文字サイズを150%に*/
}

/*ボタン１個あたり*/
.btn-box .btn li {
	width: 80vw;	/*幅。画面幅の80%*/
}
.btn-box .btn a {
	border-radius: 10px;	/*角を丸くする指定*/
	padding: 1rem 2rem;		/*ボタン内の余白。上下、左右へ。*/
}

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

	/*ボタンブロック*/
	.btn-box .btn {
		flex-direction: row;	/*横並びに変更*/
	}
	
	/*ボタン１個あたり*/
	.btn-box .btn li {
		width: 40vw;	/*幅。画面幅の40%*/
	}

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

/*リクルートバナー用----------------------------------------------------------*/
/*全面画像　左右余白あり*/
	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {

.img_all{
margin: 0 7%;
}


	}
	
/*全面画像　画像横並び*/
	
.img_all .imgflex img {
width: 100%;
flex-direction: column;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mb50 {
  /* 影の指定: 下に4pxずらし、8pxぼかした、黒の20%透明度の影 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* 影を付けるために必要に応じて背景色を追加することを検討してください
     例: background-color: #fff; */
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
.img_all .imgflex {
flex-wrap: wrap;
column-gap: 10px;
		display: grid;
		grid-template-columns: repeat(2, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
}

.img_all .imgflex img {
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}}

/*全面画像　画像横並び*/
	
.img_all .imgflex img {
width: 100%;
flex-direction: column;}


	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
.img_all .imgflex {
flex-wrap: wrap;
column-gap: 10px;
		display: grid;
		grid-template-columns: repeat(2, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
}

.img_all .imgflex img {
  box-sizing: border-box;
}}

/*ビデオ再生　スライダーを見せない　　*/
/*--------------------------------------------------------------*/
.video-bg-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
     /*height: 100vh; 画面全体に背景動画を敷きたい場合 */
	margin-bottom: 20px;
	
}

.video-bg {
    position: relative;

    width: auto;
	
    height: 40%;
    pointer-events: none; /* クリック不能 → UIも絶対に出ない */
}

/*　パンくずリスト　　*/
/*-------------------------------------------------------------*/
.breadcrumb-005 {
    display: flex;
    gap: 0 20px;
    list-style: none;
    padding: 0;
    font-size: .9em;
}

.breadcrumb-005 li {
    display: flex;
    align-items: center;
}

.breadcrumb-005 li:first-child::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%23333333'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}

.breadcrumb-005 li:not(:last-child)::after {
    display: inline-block;
    width: .3em;
    height: .6em;
    margin-left: 12px;
    background-color: #333333;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    content: '';
}

.breadcrumb-005 a {
    color: #333333;
    text-decoration: none;
}