@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=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');


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


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
	--base-color: #fff;
	/*テンプレートの土台となる色（主に背景カラー）*/
	--base-color-02: #f4f5f7;
	/*2つ目のベースカラー*/
	--base-inverse-color: #323232;
	/*上のbase-colorの対となる色（主にテキストカラー）*/

	--primary-color: #29bbff;
	/*テンプレートのメインまたはアクセントカラー*/
	--primary-inverse-color: #323232;
	/*上のprimary-colorの対となる色*/

	--space-large: 8vw;
	/*主に余白の一括管理用。画面幅100%＝100vwです。*/
}


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

	100% {
		opacity: 1;
	}
}


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

	100% {
		opacity: 0;
		visibility: hidden;
	}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {
	box-sizing: border-box;
}

html,
body {
	font-size: 14px;
	/*基準となるフォントサイズ（スマホ）*/
	height: 100%;
	overflow-x: hidden;
	/* 横スクロールバーを非表示に */
}

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

	html,
	body {
		font-size: 16px;
		/* タブレット・PCは標準的な16pxに */
	}

}

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

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

	html,
	body {
		font-size: 1vw;
	}

}

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


body {
	margin: 0;
	padding: 0;
	font-family: "Noto Sans JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	/*フォント種類*/
	font-optical-sizing: auto;
	font-weight: 500;
	-webkit-text-size-adjust: none;
	background: var(--base-color);
	/*varは背景色のことで冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);
	/*文字色。冒頭で指定しているbase-inverse-colorを読み込みます。*/
	line-height: 2;
	/*行間*/
}

/*リセット他*/
figure {
	margin: 0;
}

dd {
	margin: 0;
}

nav ul {
	list-style: none;
}

nav,
ul,
li,
ol {
	margin: 0;
	padding: 0;
}

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*/
input {
	font-size: 1rem;
}

/*section*/
section {
	/* overflow-x: hidden; 廃止 */
	padding: var(--space-large);
}

/* Base Headings */
h4 {
	font-size: 1.3rem;
	/* Base 14px -> 18.2px */
	margin: 0 0 1rem 0;
}

h5 {
	font-size: 1.1rem;
	/* Base 14px -> 15.4px */
	margin: 0 0 1rem 0;
}

@media screen and (min-width: 768px) {
	h4 {
		font-size: 1.3rem;
		/* Base 16px -> 20.8px (Previously 1.4rem) */
	}

	h5 {
		font-size: 1.125rem;
		/* Base 16px -> 18px */
	}
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;
	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	text-decoration: none;
	/*下線を消す*/
	opacity: 0.9;
	/*色を90%だけ出す*/
}


/*loading（ローディング）
---------------------------------------------------------------------------*/
@keyframes progress {
	0% {
		transform: scaleX(0);
	}

	100% {
		transform: scaleX(1);
	}
}

/*ロゴ画像*/
#loading img {
	width: 300px;
	/*画像の幅*/
	margin-bottom: 20px;
	/*ローディングバーとの間のスペース調整*/
}

/*ローディングブロック*/
#loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--primary-color);
	/*背景色*/
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	animation: fadeOut 1s ease 2s forwards;
}

/*プログレスバーの土台*/
.progress-container {
	width: 200px;
	/*幅。お好みで。*/
	height: 4px;
	/*高さ。お好みで。*/
	border-radius: 2px;
	/*角をほんの少し丸くする*/
	background: var(--base-color);
	/*バーのベースカラー*/
	overflow: hidden;
}

/*プログレスバー*/
.progress-bar {
	width: 100%;
	height: 100%;
	background: #000;
	/*進行中のバーの色*/
	animation: progress 2s linear;
	/*#loadingのanimation時間に合わせて2秒に設定*/
	transform-origin: left;
}


/*container（サイト全体を囲むボックス）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: absolute;
	z-index: 100;
	left: 0px;
	top: 0px;
	width: 100%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;
	/*ヘッダーの高さ*/
	backdrop-filter: blur(5px);
	background: rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

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

	header {
		height: 90px;
		/*ヘッダーの高さ*/
	}

}

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

/*ロゴ画像*/
#logo img {
	display: block;
	width: 150px;
	/*ロゴの幅*/
}

#logo {
	margin: 0;
	padding: 0;
	padding-left: 3vw;
	/*ロゴの左側に空ける余白*/
}

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

	/*ロゴ画像*/
	#logo img {
		width: 200px;
		/*ロゴの幅*/
	}

}

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


/*ヘッダー内メニュー
---------------------------------------------------------------------------*/
/*900px未満では非表示*/
header nav ul {
	display: none;
}

/*画面幅1200px以上の追加指定（イレギュラー対応：メニュー項目数が多く入りきらないため1200pxへ変更）*/
@media screen and (min-width:1200px) {

	/*メニューブロック全体の設定*/
	header>nav>ul {
		margin-right: 100px;
		/*ハンバーガーアイコンに重ならないように余白*/
		display: flex;
		/*横並びにする*/
	}

	/*メニュー１個あたりの設定*/
	header nav li a {
		display: block;
		text-decoration: none;
		font-size: 0.9rem;
		/*文字サイズ90%*/
		padding: 0.5rem 1rem;
		/*メニュー内の余白。上下、左右へ。*/
		position: relative;
		/* For hover effect */
	}

	header nav li a::after {
		content: '';
		position: absolute;
		bottom: 5px;
		left: 1rem;
		width: calc(100% - 2rem);
		/* Pre-set width */
		height: 2px;
		background-color: var(--primary-color);
		transform: scaleX(0);
		/* Start scaled down */
		transform-origin: bottom left;
		/* Expand from left */
		transition: transform 0.3s ease-out;
	}

	header nav li a:hover::after {
		transform: scaleX(1);
		/* Scale to full width */
		transform-origin: bottom left;
		/* Ensure origin stays left */
	}

	/*ドロップダウンメニュー冒頭の矢印アイコン*/
	header nav i {
		padding-right: 0.5rem;
		/*右に空ける余白*/
	}



}

/*追加設定ここまで*/


/*ヘッダー内メニュー、開閉メニュー、共通のドロップダウン設定
---------------------------------------------------------------------------*/
header nav ul ul,
#menubar ul ul {
	animation: fadeIn 0.5s 0.1s both;
	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*ヘッダー内メニューのドロップダウン
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
header nav ul ul {
	position: absolute;
	z-index: 100;
	margin-left: 1rem;
}

/*メニュー１個あたりの設定*/
header nav ul ul a {
	padding: 0.3em 1em;
	/*上下、左右へのメニュー内の余白*/
	margin-top: 4px;
	/*上に空けるスペース。ドロップダウン同士の隙間。*/
	background: var(--base-color);
	/*背景色。冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);
	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	border: 1px solid var(--base-inverse-color);
	/*枠線の幅、線種、varは色の指定で冒頭のbase-inverse-colorを読み込みます。*/
	border-radius: 3px;
	/*角を少し丸くする指定*/
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {
	display: none;
}

#menubar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menubar a {
	display: block;
	text-decoration: none;
}

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

#menubar.display-block {
	display: block;
}

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

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

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

/*メニューブロック内のロゴ画像の幅*/
#menubar .logo {
	width: 200px;
}


/*開閉メニュー
---------------------------------------------------------------------------*/
/*animation1のキーフレーム設定*/
@keyframes animation1 {
	0% {
		right: -100vw;
	}

	100% {
		right: 0px;
	}
}

/*slideOutのキーフレーム設定*/
@keyframes slideOut {
	0% {
		right: 0px;
	}

	100% {
		right: -100vw;
	}
}

/*メニューブロック設定*/
#menubar.display-block {
	position: fixed;
	overflow: auto;
	z-index: 100;
	right: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	padding: 90px 10vw 50px;
	/*ブロック内の余白。上、左右、下への順番。*/
	background: rgba(255, 255, 255, 0.8);
	/*背景色。白の透過*/
	backdrop-filter: blur(10px);
	/*背景のぼかし*/
	color: var(--base-inverse-color);
	/*文字色。黒系*/
	animation: fadeIn 0.5s both;
	/*フェードインアニメーション*/
}

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

	/* .small-screen #menubar.display-block {
		width: 400px;
		max-width: 40vw;
		padding: 90px 4% 50px;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
	} */

	#menubar .logo {
		position: static;
		/* 絶対配置を解除 */
		transform: none;
		/* 垂直方向中央寄せ解除 */
		margin: 0 0 60px 0;
		/* 下に余白 */
	}

}

#menubar.slide-out {
	animation: fadeOut 0.5s both;
}




/*メニュー１個あたりの設定*/
#menubar li {
	margin: 0;
	/*メニューの外側に空けるスペース。上下、左右への順番。*/
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	/* 下線を追加（黒の薄い透過） */
}

/* 最後のメニュー項目の下線は削除するかどうか迷うが、一般的なリストデザインとして残すか、
   ユーザー要望の「間」ならlast-childで消す。ひとまず残すが、薄くする */

#menubar a {
	padding: 1.5rem 0;
	/*メニュー内の余白。上下、左右へ。*/
	background: transparent;
	/*背景色*/
	color: var(--base-inverse-color);
	/*文字色*/
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* テキストとアイコンを左右に配置 */
	font-weight: 500;
}

#menubar a::after {
	font-family: "Font Awesome 6 Free";
	content: "\f054";
	/* 右矢印アイコン */
	font-weight: bold;
	color: var(--base-inverse-color);
}


/*子メニュー*/
#menubar ul ul a {
	background: var(--base-color);
	/*背景色。冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);
	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	border: 1px solid var(--base-inverse-color);
	/*枠線の幅、線種、varは色の指定で冒頭のbase-inverse-colorを読み込みます。*/
	margin-left: 2rem;
	/*左に空けるスペース*/
}


/* 子メニュー設定の後あたりに追加 */

/* メニュー下部のボタンエリア */
.menu-buttons {
	margin-top: 60px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* 共通ボタン設定（aタグの設定を上書き） */
#menubar .menu-buttons a {
	display: flex;
	align-items: center;
	justify-content: center;
	/* テキストを中央寄せ */
	text-decoration: none;
	padding: 15px;
	border-radius: 50px;
	font-weight: bold;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

/* サポートボタン & 新規会員登録ボタン（共通：白背景・黒文字・枠線あり） */
.btn-menu-outline,
.btn-menu-filled {
	background: var(--base-color) !important;
	color: var(--base-inverse-color) !important;
	border: 1px solid var(--base-inverse-color);
}

/* ボタン内の右矢印アイコン */
#menubar .menu-buttons a::after {
	font-family: "Font Awesome 6 Free";
	content: "\f054";
	font-weight: bold;
	position: absolute;
	right: 20px;
	font-size: 14px;
}

/* リンクテキスト部分のスタイルリセット */
#menubar .menu-buttons a::before {
	content: none;
	/* リストの横棒を消す */
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: fadeIn 0s 0.2s both;
	position: fixed;
	z-index: 101;
	cursor: pointer;
	right: 10px;
	/*右からの配置場所指定*/
	top: 5px;
	/*上からの配置場所指定*/
	padding: 18px 14px;
	/*上下、左右への余白（50pxに合わせて調整）*/
	width: 50px;
	/*幅*/
	height: 50px;
	/*高さ*/
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transform-origin: right top;
	background: var(--base-inverse-color);
	/*背景色*/
	border-radius: 0px 0px 0px 0px;
	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}

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

	.small-screen #menubar.display-block {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-top: 0;
		padding-bottom: 0;
	}

	.menubar-inner {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 1fr;
		/* 2カラム */
		gap: 80px;
		align-items: center;
		/* 中央揃え */
	}

	.small-screen #menubar .menu-buttons {
		margin-top: 0;
		/* グリッドレイアウトなのでマージン削除 */
		gap: 30px;
		/* ボタン同士の余白を広げる */
	}

	#menubar_hdr {
		top: 18px;
		/* ヘッダー高さ90pxの中央寄せ (90-54)/2 = 18 */
		right: 18px;
		/* ロゴの左余白(3vw)と合わせる -> 上余白18pxに合わせる */
		width: 54px;
		/* 60px * 0.9 = 54px */
		height: 54px;
		/* 60px * 0.9 = 54px */
		padding: 21px 16px;
		/* パディング調整 */
		box-shadow: none;
		/* ドロップシャドウ削除 */
		background: var(--base-inverse-color);
		/* 背景色を黒系に */
	}

	#menubar_hdr.ham span:nth-of-type(1),
	#menubar_hdr.ham span:nth-of-type(3) {
		position: absolute !important;
		top: 50% !important;
		left: 50% !important;
		width: 24px !important;
		/* 線の長さ */
		margin-left: -12px !important;
		/* widthの半分 */
		margin-top: -1px !important;
		/* 線の太さの半分調整 */
		transform-origin: center center !important;
		border-color: var(--base-color) !important;
		/* バツ印の色を白に（背景が黒なので） */
	}

	#menubar_hdr.ham {
		background: var(--base-inverse-color) !important;
	}

	#menubar_hdr.ham span:nth-of-type(1) {
		transform: rotate(45deg) !important;
	}

	#menubar_hdr.ham span:nth-of-type(3) {
		transform: rotate(-45deg) !important;
	}

}

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


/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	/*アニメーションにかける時間。0.3秒。*/
	border-top: 1.5px solid var(--base-color);
	/*線の幅、線種、varは色のことで冒頭のbase-colorを読み込みます。*/
}

/*×印が出ている状態の3本バーの背景色*/
#menubar_hdr.ham {
	background: var(--base-inverse-color);
	/* 背景を黒系に */
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
	/*変形の起点。センターに。*/
	/*変形の起点。センターに。*/
	border-top: 1.5px solid var(--base-color);
	/* バツ印の色を白に（背景が黒なので） */
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	margin-left: -12px;
	margin-top: -1px;
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1) {
	transform: rotate(45deg);
	/*回転45°*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3) {
	transform: rotate(-45deg);
	/*回転-45°*/
}

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



/*メイン画像
---------------------------------------------------------------------------*/
/*ブロック全体*/
#mainimg {
	background: var(--base-color) url("../images/mainimg_sh.jpg") no-repeat center center / cover;
	width: 100%;
	padding-top: 180%;
	/*アスペクト比調整 180%*/
	position: relative;
	overflow: hidden;
}

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

	#mainimg {
		background: var(--base-color) url("../images/mainimg.jpg") no-repeat center center / cover;
		padding-top: 56.25%;
		/*アスペクト比16:9（9÷16=0.5624）*/
	}

}

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

/*下層ページ用のキービジュアル高さ調整*/
.subpage #mainimg {
	padding-top: 30%;
	/*通常の半分の高さ*/
	min-height: 250px;
	/* ヘッダー(60-90px)とコンテンツの表示領域を確保 */
	background: var(--base-color);
	border-bottom: 1px solid #e5e5e5;
}

.subpage #mainimg .text,
.subpage #mainimg p {
	color: var(--base-inverse-color);
}

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

	.subpage #mainimg {
		padding-top: 18%;
		/*通常の半分の高さ（56.25%の半分）*/
	}

}

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

/*VIPページの背景画像を非表示*/
.vip-page #mainimg {
	background-image: none;
	/* background: var(--base-color) url("../images/mainimg_sh.jpg") no-repeat center center / cover; */
}

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

	.vip-page #mainimg {
		background-image: none;
		/* background: var(--base-color) url("../images/mainimg.jpg") no-repeat center center / cover; */
	}

}

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

/*ユーザーガイドページの背景画像*/
.flow-page #mainimg {
	background: var(--base-color) url("../images/flow_mainimg_sh.jpg") no-repeat center center / cover;
}

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

	.flow-page #mainimg {
		background: var(--base-color) url("../images/flow_mainimg.jpg") no-repeat center center / cover;
	}

}

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

/*サポートページの背景画像*/
.contact-page #mainimg {
	background: var(--base-color) url("../images/contact_mainimg_sh.jpg") no-repeat center center / cover;
}

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

	.contact-page #mainimg {
		background: var(--base-color) url("../images/contact_mainimg.jpg") no-repeat center center / cover;
	}

}

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

/*会社概要ページの背景画像*/
.company-page #mainimg {
	background: var(--base-color) url("../images/company_mainimg_sh.jpg") no-repeat center center / cover;
}

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

	.company-page #mainimg {
		background: var(--base-color) url("../images/company_mainimg.jpg") no-repeat center center / cover;
	}

}

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

#mainimg>div {
	position: absolute;
	top: 23vw;
	/*header分を確保*/
	left: 0;
	width: 100%;
	height: 85%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	/* align-items: center; */
	justify-content: flex-start;
	padding: 0 5%;
}

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

	#mainimg>div {
		left: 0;
		/* var(--space-large) -> 0 に変更して右寄りすぎを解消 */
		top: 0;
		height: 100%;
		align-items: flex-start;
		justify-content: center;
	}

}

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

/*テキストのブロック*/
#mainimg p {
	margin: 0;
}

#mainimg .text {
	/* font-size: 28px; */
	/*文字サイズ。*/
	/* font-weight: 800; */
	/*太字に*/
	/* line-height: 1.8; */
	/*行間*/
	text-align: left;
	/* text-align: center; */
	/*テキストをセンタリング*/
}

#mainimg h1 {
	font-size: 24px;
	font-weight: bold;
	color: var(--base-inverse-color);
	line-height: 1.4;
	margin: 0;
}

@media screen and (min-width: 900px) {
	#mainimg h1 {
		font-size: 32px;
	}
}

/* 420px未満のスマホでspanが中央寄せになるのを防ぐ */
#mainimg h2 span {
	display: block;
	text-align: left;
}

/*キャッチコピー画像*/
.catchcopy-img {
	width: 95%;
	/* スマホでのテキスト幅を広げる */
	height: auto;
}

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

	#mainimg .text {
		text-align: left;
		/*テキストを左寄せ*/
		/* font-size: 3.6vw; */
		/*文字サイズ。*/
	}

	.catchcopy-img {
		width: 45vw;
	}

}

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


/*ボタン*/
#mainimg .btn {
	font-size: 1rem;
	/*文字サイズ*/
	font-weight: 600;
	/*少し太字に*/
	margin-top: 3vw;
	/*上のテキストとボタンの間のスペース。*/
	display: flex;
	gap: 1rem;
	/*ボタン同士の余白*/
}

/*下層ページのヘッダー被り対策*/
.subpage #mainimg>div {
	top: 80px;
	height: calc(100% - 80px);
	justify-content: flex-start;
	padding: 0 5%;
}

@media screen and (min-width: 768px) {
	.subpage #mainimg>div {
		top: 110px;
		height: calc(100% - 110px);
	}
}

@media screen and (min-width: 900px) {
	.subpage #mainimg>div {
		top: 90px;
		height: calc(100% - 90px);
		justify-content: center;
	}
}

#mainimg .btn a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	padding: 1rem 3.5rem 1rem 2rem;
	/* Adjusted padding for absolute icon */
	margin-bottom: 10px;
	/*ボタン同士の隙間*/
	border-radius: 50px;
	/*角丸*/
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	/*ドロップシャドウ*/
	min-width: 150px;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	font-size: 1.1rem;
	font-weight: 600;
}

/*マウスオン時*/
#mainimg .btn a:hover {
	opacity: 1;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

	/*ボタン*/
	#mainimg .btn a {
		margin: 0;
	}

}

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


/*1つ目のボタン（お問い合わせ）の追加設定*/
#mainimg .btn p:nth-of-type(1) a {
	background: var(--primary-inverse-color);
	/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--base-color);
	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/*2つ目のボタン（資料請求）への追加設定*/
#mainimg .btn p:nth-of-type(2) a {
	background: var(--base-inverse-color);
	/*背景色。冒頭のbase-inverse-colorを読み込みます。*/
	color: var(--primary-color);
	/*文字色。冒頭のprimary-colorを読み込みます。*/
	letter-spacing: 0.1em;
	/*文字間隔を少しだけ広く*/
}

/*ボタン内のアイコン（CSS矢印）*/
/*ボタン内のアイコン（CSS矢印）改めFontAwesome */
#mainimg .btn .arrow-right,
.btn1 .arrow-right {
	display: inline-block;
	transform: translateY(-50%);
	position: absolute;
	right: 2rem;
	top: 50%;
	margin-left: 0;
	vertical-align: 0;
	/* Reset old CSS arrow styles */
	width: auto;
	height: auto;
	border: none;
}

#mainimg .btn .arrow-right::before,
.btn1 .arrow-right::before {
	font-family: "Font Awesome 6 Free";
	content: "\f054";
	font-weight: bold;
}

#faq .r {
	margin-top: 5vw;
}

@media screen and (max-width: 767px) {
	#faq .r {
		text-align: center !important;
	}
}



/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
main {
	flex: 1 0 auto;
	overflow-x: hidden;
}

/*h2見出し（共通）*/
main h2 {
	margin: 0;
	padding: 0;
	font-size: 1.8rem;
	/*文字サイズ。スマホで約25px*/
	font-weight: 700;
	/*太字に*/
	margin-bottom: 4vw;
	/*下にスペースを空ける*/
	display: flex;
	flex-direction: column-reverse;
	letter-spacing: 0.1em;
	/*文字間隔を少しだけ広く*/
	position: relative;
}

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

	main h2 {
		font-size: 2.0rem;
		/*文字サイズ。PCで32px*/
	}

}

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


/*テキストをセンタリングする場合*/
main h2.c {
	align-items: center;
}

/*h2内のspan（小文字）*/
main h2 span {
	font-size: 0.85rem;
	line-height: 0.85rem;
	color: var(--primary-color);
	font-weight: 500;
}

/*背景色が濃いエリアのh2内のspan*/
#products h2 span,
.bg-primary-color h2 span {
	color: var(--base-color);
}

/*h2内のimg画像（「そのお悩み」という手書き風のふきだしに使っています）*/
h2 img {
	width: 100px;
	/*画像の幅*/
	transform: rotate(-10deg);
	/*左に10度傾ける。そのままがいいならこの１行を削除。*/
	position: absolute;
	left: -10px;
	/*左からの配置場所*/
	top: -40px;
	/*上からの配置場所。マイナスがついているので本来とは逆の方向に移動します。*/
}

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

	h2 img {
		width: 140px;
		/*画像の幅*/
		left: 40px;
		/*左からの配置場所*/
	}

}

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


/*フッター
---------------------------------------------------------------------------*/
/*フッター
---------------------------------------------------------------------------*/
/*フッター
---------------------------------------------------------------------------*/
footer {
	background: #2a2a2a;
	color: var(--base-color);
	padding: 3rem 2rem;
}

.footer-inner {
	max-width: 95%;
	margin: 0 auto;
}

/* 上段：3カラムエリア */
.footer-top {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 4rem;
}

.footer-box {
	padding: 1rem 0;
}

.footer-box h5 {
	font-size: 1.4rem;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
	font-weight: 700;
	font-family: 'Jost', sans-serif;
}

.footer-box p {
	font-size: 0.9rem;
	opacity: 0.8;
	margin-bottom: 1.5rem;
}

/* 左カラム：ナビゲーション */
/* .btn1（ボタン）の不透明度をリセット & 幅調整 */
.footer-box .btn1 {
	opacity: 1;
}

.footer-box .btn1 a {
	max-width: 260px;
	width: 100%;
}

.nav-area ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-area ul li a {
	color: var(--base-color);
	text-decoration: none;
	font-weight: bold;
	font-size: 1rem;
	transition: opacity 0.3s;
}

.nav-area ul li a:hover {
	opacity: 0.7;
}

/* 中央：Follow Us */
.follow-area .icons {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.follow-area .icons i {
	font-size: 1.8rem;
}

/* 右カラム：Contact */
/* btn1を使用するため削除 */

/* 下段：ロゴ＆コピーライト */
.footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 3rem;
}

.company-info .f-logo img {
	max-width: 15rem;
	margin-bottom: 1rem;
}

.company-info .f-desc {
	font-size: 0.85rem;
	opacity: 0.7;
	line-height: 1.6;
}

.copyright-info {
	text-align: left;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.copyright-info p {
	margin-bottom: 0;
}

.copyright-info a {
	color: var(--base-color);
	text-decoration: none;
	font-size: 0.9rem;
	opacity: 0.8;
}

.copyright-info small {
	display: block;
	font-size: 0.8rem;
	opacity: 0.6;
	width: 100%;
	margin-top: 0.5rem;
}

/* PC用レイアウト (800px以上) */
@media screen and (min-width: 900px) {
	.footer-top {
		flex-direction: row;
		align-items: stretch;
		gap: 0;
	}

	.footer-box {
		padding: 0 3rem;
	}

	/* ナビゲーションエリア (左) */
	.nav-area {
		flex: 2;
		padding-left: 0;
		/* 左端のpaddingなし */
		padding-top: 2.5rem;
	}

	/* Follow Us (中央) */
	.follow-area {
		flex: 1;
		border-left: 1px solid rgba(255, 255, 255, 0.2);
	}

	/* Contact (右) */
	.contact-area {
		flex: 1;
		border-left: 1px solid rgba(255, 255, 255, 0.2);
		padding-right: 0;
		/* 右端のpaddingなし */
	}

	.footer-bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
	}

	.copyright-info {
		text-align: right;
		justify-content: flex-end;
	}

	.copyright-info small {
		text-align: right;
	}
}

/*画面700px以上の追加指定*/
@media screen and (min-width: 900px) {
	.footer-container {
		grid-template-columns: 2fr 1fr 1fr;
		gap: 4rem;
	}
}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
.icons {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 1rem;
	/*アイコン同士のマージン的な要素。１文字分。*/
}

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

	.icons {
		justify-content: flex-start;
	}

}

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

.icons i {
	font-size: 30px;
	/*アイコンサイズ*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;
	display: block;
	background: rgba(0, 0, 0, 0.9);
	text-align: right;
	padding: 0.5rem 1rem;
	color: #ccc;
}

.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: bold;
	margin-right: 0.5em;
}


/*c2（２カラムレイアウト用）
---------------------------------------------------------------------------*/

.c2 {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

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

	.c2 {
		display: flex;
		flex-direction: column;
		gap: 0rem;
	}

	/*左側のタイトルブロックの幅*/
	.c2 .title {
		width: 30%;
	}

	/*右側のテキストブロック*/
	.c2 .text {
		flex: 1;
	}

}

/* お知らせセクションのカラムレイアウト（3:7） */
/* タブレットまではスマホと同じ縦積み（1024px以下） */
@media screen and (min-width: 1025px) {
	#news .c2 {
		flex-direction: row;
		gap: 0;
	}

	#news .c2 .title {
		min-width: 300px;
		/* ボタン(260px)がはみ出さないように最小幅を確保 */
	}
}

/* お知らせボタンの余白 */
#news .btn1 {
	margin-top: 2rem;
}

/* PC初期状態：下のボタンを消す */
.news-btn-bottom {
	display: none;
}

/* タブレット・スマホ（1024px以下）のみのレイアウト変更
   上のボタンを消して、下のボタンを表示する */
@media screen and (max-width: 1024px) {
	#news .title .news-btn {
		display: none;
	}

	.news-btn-bottom {
		display: block;
		text-align: center;
		margin-top: 2rem;
	}
}

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


/*FAQ
---------------------------------------------------------------------------*/

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

	.faq-wrapper,
	.faq {
		font-size: 1.2rem;
		/*文字サイズを120%*/
	}

}

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

/*FAQ コンテナ 縦積みレイアウト*/
.faq-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

/*FAQ カテゴリ*/
.faq-category {
	break-inside: avoid;
}

/*FAQ カテゴリタイトル*/
.faq-category-title {
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--primary-color);
	margin-bottom: 0;
	padding-bottom: 10px;
	display: flex;
	/* 追加: フレックスボックスにして配置調整 */
	align-items: center;
	/* 追加: 垂直方向中央揃え */
}

/* FAQカテゴリタイトルの前の装飾線 */
.faq-category-title::before {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	background: var(--primary-color);
	margin-right: 10px;
	/* 線と文字の間の余白 */
}

/*FAQ ラッパー（左右の列を独立させる）*/
.faq-wrapper {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

@media screen and (min-width: 768px) {
	.faq-wrapper {
		flex-direction: row;
	}
}

.faq-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0;
}



/*質問*/
.faq-wrapper dt,
.faq dt {
	display: flex;
	align-items: center;
	border-radius: 4px;
	margin-bottom: 1rem;
	background: var(--base-color-02);
	color: var(--base-inverse-color);
	padding: 1rem;
}

/*「Q」アイコン*/
.faq-wrapper dt::before,
.faq dt::before {
	font-family: "Font Awesome 6 Free";
	content: "\51";
	/*アイコン画像の指定*/
	margin-right: 0.5rem;
	/*右側に空けるスペース*/
	/* background: var(--primary-color); */
	/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-color);
	font-size: 1.5rem;
	font-weight: bold;
	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	border-radius: 50%;
	/*角を丸くする*/
	width: 30px;
	/*幅*/
	line-height: 30px;
	/*高さ*/
	text-align: center;
	flex-shrink: 0;
	margin-top: 0;
	/*微調整*/
}

/* 開閉アイコン（右側の矢印） */
.faq-wrapper dt::after,
.faq dt::after {
	font-family: "Font Awesome 6 Free";
	content: "\f078";
	font-weight: bold;
	margin-left: auto;
	/* 右端に配置 */
	color: var(--primary-color);
	margin-top: 0;
	/* Qアイコンと合わせる */
	margin-right: 1rem;
	/* 右余白を追加 */
	transition: transform 0.3s ease;
	/* 回転アニメーション */
}

/* 開いた時の矢印回転 */
.faq-wrapper dt.open::after,
.faq dt.open::after {
	transform: rotate(180deg);
}

/*回答*/
.faq-wrapper dd,
.faq dd {
	padding: 0 1rem 1rem 2.8rem;
	font-size: 1rem;
}

/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;
	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
	display: flex;
	align-items: center;
}


/*AIチャットサポートバナー
---------------------------------------------------------------------------*/
#ai-chat-banner {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	border-radius: 50px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ai-chat-banner:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

#ai-chat-banner a {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px 25px;
	background: var(--primary-color);
	color: var(--base-color);
	text-decoration: none;
	transition: background 0.3s ease;
}

#ai-chat-banner a:hover {
	background: var(--primary-color);
	opacity: 0.9;
}

.chat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	flex-shrink: 0;
}

.chat-icon i {
	font-size: 24px;
	color: var(--base-color);
}

.chat-text {
	line-height: 1.4;
}

.chat-title {
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	color: var(--base-color);
}

.chat-subtitle {
	font-size: 12px;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
}

/*レスポンシブ対応*/
@media screen and (max-width: 768px) {
	#ai-chat-banner {
		bottom: 15px;
		right: 15px;
	}

	#ai-chat-banner a {
		padding: 12px 20px;
		gap: 10px;
	}

	.chat-icon {
		width: 40px;
		height: 40px;
	}

	.chat-icon i {
		font-size: 20px;
	}

	.chat-title {
		font-size: 14px;
	}

	.chat-subtitle {
		font-size: 11px;
	}
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/
.new dd {
	padding-bottom: 1rem;
	border-bottom: 1px solid #f0f0f0;
	/* 薄い線に変更 */
	margin-bottom: 1rem;
}

/* リンクの下線を消す */
.new dd a {
	text-decoration: none;
	font-size: 0.9rem;
}

/* 日付のスタイル */
.new dt {
	font-size: 0.8rem;
	color: #999;
	font-weight: normal;
	display: flex;
	align-items: center;
	padding-bottom: 1rem;
	/* ddと合わせる */
	/* border-bottom: 1px solid #f0f0f0; */
	/* モバイルでは枠線を削除してddと一体化させる */
	margin-bottom: 1rem;
	/* ddと合わせる */
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span,
.news-list dt span,
.article-category {
	display: inline-block;
	text-align: center;
	line-height: 1.8;
	/*行間（アイコンの高さ）*/
	border-radius: 2px;
	/*角を丸くする指定*/
	border: 1px solid var(--primary-color);
	/*枠線の幅、線種、色*/
	background: transparent !important;
	/*背景色*/
	color: var(--primary-color) !important;
	/*文字色*/
	padding: 0 1rem;
	/*共通パディング*/
}

/* 一覧ページ用アイコン設定（縮小表示） */
.new dt span,
.news-list dt span {
	width: 9rem;
	/*幅。8文字分。*/
	transform: scale(0.85);
	/*85%のサイズに縮小*/
	margin-left: 1.5rem;
	/* 日付とアイコンの余白 */
	font-size: 1rem;
}

/* 詳細ページ用カテゴリアイコン設定（文字サイズ調整で縮小を再現） */
.article-category {
	min-width: 80px;
	/* Minimum width for consistency */
	margin-left: 10px;
	font-size: 14px;
	/* Simulate scale(0.85) of 1rem */
}

/*icon-bg1。サンプルテンプレートでは「重要」と書いてあるマーク*/
.new .icon-bg1,
.news-list .icon-bg1,
.article-category.cat-important {
	border-color: var(--primary-color);
	/*枠線*/
	background: transparent !important;
	/*背景色*/
	color: var(--primary-color) !important;
	/*文字色*/
}

/*icon-bg2。サンプルテンプレートでは「サービス」と書いてあるマーク*/
.new .icon-bg2,
.news-list .icon-bg2,
.article-category.cat-service,
.article-category.cat-campaign,
.article-category.cat-notice {
	border-color: var(--primary-color);
	/*枠線*/
	background: transparent !important;
	/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-color) !important;
	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

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

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

	.new dt {
		padding-right: 2rem;
	}

	.new dt,
	.new dd {
		margin-bottom: 0px;
		/* marginはgridのgapに任せるが、borderとの余白はpaddingで確保 */
		border-bottom: 1px solid #f0f0f0;
		/* PC/Tabletではdtにも線を復活させて一行にする */
	}

}

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


/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*画像たちを囲むブロック*/
.slide-thumbnail1 .img {
	display: flex;
}

/*画像*/
.slide-thumbnail1 .img img {
	padding: 5px;
	/*画像の余白*/
}

/*右から左へ、左から右へ、のアニメーション*/
.slide-thumbnail1 .rtl,
.slide-thumbnail1 .ltr {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.slide-thumbnail1 .rtl {
	animation-name: slide-rtl;
}

.slide-thumbnail1 .ltr {
	animation-name: slide-ltr;
}

@keyframes slide-rtl {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

@keyframes slide-ltr {
	0% {
		transform: translateX(-50%);
	}

	100% {
		transform: translateX(0);
	}
}


/*テキストスライド
---------------------------------------------------------------------------*/
.text-slide-wrapper {
	overflow-x: hidden;
	margin-top: calc(-1 * (1.6 * var(--space-large)));
	/*本来の位置より上にずらす。ずらしたくなければこの１行を削除。*/
}

.text-slide {
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	display: flex;
	white-space: nowrap;
	font-size: 15vw;
	/*文字サイズ*/
	opacity: 0.05;
	/*透明度。色が5%出た状態。*/
}

.text-slide span {
	padding: 0 20px;
}


/*btn1（ボタン）
---------------------------------------------------------------------------*/
.btn1 a {
	text-shadow: none;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	background: var(--base-color);
	border: 2px solid var(--primary-inverse-color);
	color: var(--primary-inverse-color);
	font-size: 1.1rem;
	padding: 1rem 2rem;
	border-radius: 50px;
	text-align: center;
	min-width: 260px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

/*bg-primary-colorの上で使う場合*/
.bg-primary-color .btn1 a {
	background: var(--primary-color);
	border: 2px solid var(--primary-inverse-color);
	color: var(--primary-inverse-color);
	/*文字色。冒頭のprimary-colorを読み込みます。*/
}

/*マウスオン時*/
.btn1 a:hover {
	opacity: 1 !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/*bg-primary-colorの上で使う場合*/
.bg-primary-color .btn1 a:hover {
	background: var(--primary-inverse-color);
}

/*矢印アイコン*/
/*矢印アイコン*/
.btn1 a {
	position: relative;
	/* Add relative positioning for absolute icon */
	padding-right: 3.5rem;
	/* Reserve space for icon */
}

.btn1 a::after {
	font-family: "Font Awesome 6 Free";
	/*Font Awesomeを使う指示*/
	content: "\f054";
	/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;
	/*この手の設定がないとアイコンが出ない場合があります*/
	position: absolute;
	right: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	margin-left: 0;
	/* Reset margin */
}

/*枠線のみのボタンスタイル（濃い背景用）*/
.btn1.btn-outline a {
	background: none;
	border: 2px solid var(--base-color);
	color: var(--base-color);
}

.btn1.btn-outline a:hover {
	background: var(--base-color);
	border: 2px solid var(--base-color);
	color: var(--primary-inverse-color);
}


/*bg-primary-color
---------------------------------------------------------------------------*/
.bg-primary-color {
	background: var(--primary-color);
	/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);
	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}


/*bg1
---------------------------------------------------------------------------*/
.bg1 {
	background-color: var(--base-color-02);
	/*背景色。*/
	color: var(--base-inverse-color);
	/*文字色。*/
}


/*bg2
---------------------------------------------------------------------------*/
.bg2 {
	background: #f3f3e9;
	/*背景色*/
}


/*bg3
---------------------------------------------------------------------------*/
.bg3 {
	background: var(--base-color);
	/*背景色*/
}


/*パターン背景
---------------------------------------------------------------------------*/
/*bg-pattern1*/
.bg-pattern1 {
	background-image: url("../images/bg_pattern1.png");
	/*背景パターンの読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;
	/*サイズ*/
}

/*bg-pattern2*/
.bg-pattern2 {
	background-image: url("../images/bg_pattern2.png");
	/*背景パターンの読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;
	/*サイズ*/
}

/*bg-pattern3*/
.bg-pattern3 {
	background-image: url("../images/bg_pattern3.png");
	/*背景パターンの読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;
	/*サイズ*/
}


/*ボックス下部を三角形（▼）にする場合。三角形の高さ自体はmask-imageのd=の中にある２つの「95」という数値で変更できます。小さいほど角度が大きくなります。
---------------------------------------------------------------------------*/
.arrow {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,95 L50,100 L0,95 Z' fill='%23000000'/%3E%3C/svg%3E");
	mask-size: 100% 100%;
	mask-repeat: no-repeat;
}

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

	/*三角形の高さの再設定。95を90に変更しています。*/
	.arrow {
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,90 L50,100 L0,90 Z' fill='%23000000'/%3E%3C/svg%3E");
		padding-bottom: 150px;
	}


}

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


/*背景色が切れているのが見えないように微調整*/
.arrow+section {
	padding-top: calc(var(--space-large) + 150px);
	margin-top: -150px;
}


/*list-grid-simple（制作実績ブロック）
---------------------------------------------------------------------------*/
.list-grid-simple .list * {
	margin: 0;
	padding: 0;
}

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

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

/*h4見出し*/
.list-grid-simple .list h4 {
	margin-top: 0.5rem;
	/*上に0.5文字分のスペースを空ける*/
	font-weight: normal;
	/*太さを標準に*/
}

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

	/*listブロック全体を囲むブロック*/
	.list-grid-simple {
		grid-template-columns: repeat(3, 1fr);
		/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
	}

}

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


/*list-grid1（３カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {
	margin: 0;
	padding: 0;
}

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

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 3vw;
		/*ブロックの間に空けるマージン的な指定*/
		align-items: start;
		/* テキスト量が変わっても上揃えにする */
	}

}

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


/*ボックス１個あたり*/
.list-grid1 .list {
	display: grid;
	margin-bottom: 3rem;
	position: relative;
	border-radius: 3px;
	background: var(--base-color);
	color: var(--base-inverse-color);
	box-shadow: 0 0px 24px 2px rgb(121 121 121 / 11%);
	padding: 3rem 2rem;
}

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

	/*ボックス１個あたり*/
	.list-grid1 .list {
		margin-bottom: 0;
		/*下に空けるスペースをなくす*/
	}

}

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


/*bg-black内のボックスへの追加設定*/
.list-grid1 .list.bg-black {
	background: #111;
	/*背景色*/
	color: var(--base-color);
	/*文字色*/
}

/*ナンバー（01〜03の飾り番号）*/
.list-grid1 .list .num {
	position: absolute;
	left: 1.2rem;
	top: -1.6rem;
	font-size: 60px;
	line-height: 1;
	color: var(--base-color-02);
	font-weight: 500;
	font-family: 'Montserrat', sans-serif;
}

/*引用符（“）の装飾*/
.list-grid1 .list h4.kazari::before {
	content: "“";
	/*わかりづらいですが、中央にあるのが引用符でこの文字を出力しています。*/
	position: absolute;
	left: -1rem;
	/*左からの配置場所。マイナスがつくので本来とは逆向きに移動。*/
	top: -40px;
	/*上からの配置場所。マイナスがつくので本来とは逆向きに移動。*/
	opacity: 0.2;
	/*透明度。色を20%出す。*/
	font-size: 60px;
	/*文字サイズ*/
	line-height: 1;
}

/*ボックス内のh4見出し*/
.list-grid1 .list h4 {
	font-size: 1.4rem;
	/*文字サイズを140%に*/
	line-height: 1.6;
	/*行間*/
	margin-bottom: 1rem;
	/*下に１文字分のスペースを空ける*/
	position: relative;
	color: var(--base-inverse-color) !important;
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	line-height: 1.6;
	/*行間*/
	font-weight: normal;
}

/*bg-black内のp要素への追加設定*/
.list-grid1 .list.bg-black p {
	color: #999;
	/*文字色*/
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure.icon {
	margin: 0 auto;
	width: 70px;
	/*画像サイズ*/
	margin-top: -40px;
	/*本来の場所より上にずらす*/
	margin-bottom: 4rem;
}

/*bg1内のfigureへの追加設定*/
.bg1 .list-grid1 .list figure.icon {
	filter: grayscale(100%) brightness(90%);
	/*画像をグレースケールにし、明るさも少し暗くする。そのままの画像色を出したければこの１行を削除。*/
	margin-bottom: 1rem;
	/*下に１文字分のスペースを空ける*/
}

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

	/*ボックス内のfigure画像*/
	.list-grid1 .list figure.icon {
		width: 105px;
		/*画像サイズ*/
		margin-top: -50px;
		/*本来の場所より上にずらす*/
	}

}

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



/*list-c2（お問い合わせ、資料請求）
---------------------------------------------------------------------------*/
.list-c2>a {
	text-decoration: none;
	display: block;
}

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

	/*２つのボックスを囲むボックス*/
	.list-c2 {
		display: flex;
		/*横並びにする*/
		gap: 2vw;
		/*ブロックの間に空けるマージン的な指定*/
	}

}

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


/*ボックス１個あたり*/
.list-c2 .list {
	text-align: center;
	position: relative;
	overflow-y: hidden;
	color: var(--base-color);
	padding: 7rem 2rem;
	margin: 2rem 0;
	/* 縦積みの際の間隔を広げる（1rem -> 2rem） */
	border-radius: 30px;
}

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

	.list-c2>* {
		flex: 1;
	}

	.list-c2 .list {
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.list-c2>a .list {
		height: 100%;
	}

	/*1つ目のボックス（お問い合わせ）*/
	.list-c2 .list:nth-of-type(1) {
		border-radius: 0px 30px 30px 0px;
		/*角丸の上書き。左上、右上、右下、左下への順番。*/
	}

	/*2つ目のボックス（資料請求）*/
	.list-c2 .list:nth-of-type(2) {
		border-radius: 30px 0px 0px 30px;
		/*角丸の上書き。左上、右上、右下、左下への順番。*/
	}

}

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


/*左側ボックスの背景*/
.list-c2 .list.image1 {
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/bg_contact.jpg") no-repeat center center / cover;
}

/*右側ボックスの背景*/
.list-c2 .list.image2 {
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/bg_request.jpg") no-repeat center center / cover;
}

/*h4見出し*/
.list-c2 h4 {
	line-height: 1.2;
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
}

/*h4見出し内のメインテキスト（main-text）*/
.list-c2 h4 .main-text {
	display: block;
	font-size: 3rem;
	padding-top: 1rem;
	padding-bottom: 3rem;
}

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

	.list-c2 h4 .main-text {
		font-size: 4rem;
	}

}

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


/*productsセクションのh4*/
#products h4 {
	color: var(--primary-color);
}



/*テキスト*/
.list-c2 .list .text {
	position: relative;
	z-index: 1;
	font-size: 0.85rem;
	/*文字サイズ85%*/
}

/*マウスオン用のアニメーション*/
.list-c2 .list::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--primary-color);
	/*プライマリーカラー。*/
	transition: transform 0.3s ease, opacity 0.3s ease;
	/*アニメーションの速度（0.3秒）と待機時間（0.1秒）。*/
	transform: translateY(100%);
	/*初期状態で下へ隠しておく*/
	opacity: 0;
	/*初期状態で透明に*/
}

.list-c2 .list:hover::before {
	transform: translateY(0);
	/*マウスオンで元の位置に戻す（表示させる）*/
	opacity: 0.8;
	/*不透明に*/
}


/*背景画像が少しずつ上に移動する
---------------------------------------------------------------------------*/
/*ブロック全体*/
.bg-slideup {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}



/*画像ボックス*/
.bg-slideup .image {
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	padding: 6vw 0 8vw 0;
	/*上下、左右へのボックス内の余白。画面幅100% = 100vwです。*/
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	/*gap: 3rem;*/
	/*英語テキストと日本語テキストの間のスペース。３文字分。*/
	color: var(--base-color);
	/*文字色*/
}

/* 英語テキスト */
.en-text {
	writing-mode: horizontal-tb;
	font-size: 0.8rem;
	/*文字サイズ80%*/
}

/* 日本語テキスト */
.jp-text {
	writing-mode: horizontal-tb;
}

/*制作実績ブロックの画像指定*/
#products {
	padding-top: 0;
}

#products .bg-slideup .image {
	background: linear-gradient(135deg, var(--primary-color) 0%, #5ac5cc 100%);
}

#products h2 {
	margin-bottom: 20px;
}

/*高額運用セクションの説明文*/
.high-value-description {
	margin-top: 0vw;
	color: var(--base-color);
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 2;
	line-height: 1.8;
	padding: 0 20px;
}

.high-value-description p {
	font-size: 18px;
}

/*高額運用セクションのカードを上にずらす*/
#products .list-grid1 {
	margin-top: -6vw;
	position: relative;
	z-index: 1;
	align-items: stretch;
}

#products .list-grid1 .list {
	padding: 8rem 2rem 3rem;
}

#products .list-grid1 h4 {
	text-align: center;
}

#products .r {
	margin-top: 5vw;
}

@media screen and (max-width: 767px) {
	#products .r {
		text-align: center !important;
	}
}

/*会社概要ブロックの画像指定*/
#company .bg-slideup .image {
	background-image: url("../images/bg_company.jpg");
	/*背景画像の指定*/
}


/*list-normal1（「お客様の声」「制作の流れ」ブロックで使用）
---------------------------------------------------------------------------*/
.list-normal1 * {
	margin: 0;
	padding: 0;
}

/*ブロック１個あたり*/
.list-normal1 .list {
	background: var(--base-color);
	color: var(--base-inverse-color);
	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
	position: relative;
	border-radius: 3px;
	display: flex;
	flex-direction: row;
	/*横方向に配置*/
	align-items: center;
	gap: 2rem;
}

/*画面幅767px以下の追加指定（スマホで縦積みにする）*/
@media screen and (max-width: 767px) {
	.list-normal1 .list {
		flex-direction: column;
		text-align: center;
	}

	.list-normal1 .list figure {
		width: 100px;
		/* スマホでは画像のサイズを固定または調整 */
		margin: 0 auto 1rem;
	}
}

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

	/*全体を3カラムのグリッドレイアウトに*/
	.list-normal1 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		/*3列にする*/
		gap: 2rem;
		/*カード間の余白*/
	}

	/*ブロック１個あたり*/
	.list-normal1 .list {
		margin-bottom: 0;
		/*グリッドなので個別のマージンは不要*/
		/* flex-direction: row; なのでそのまま */
		text-align: left;
	}

	.list-normal1 .list figure {
		width: 30%;
		/* 3:7の3 */
	}

	.list-normal1 .list .text {
		width: 70%;
		/* 3:7の7 */
		text-align: left;
	}

}

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


/*画像ブロック*/
.list-normal1 figure {
	width: 30%;
	/*幅*/
	text-align: center;
	margin-bottom: 0;
	flex-shrink: 0;
	/*画像とテキストの間のスペース*/
}

.list-normal1 figure img {
	width: 100%;
	height: auto;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: var(--base-color);
	/* 背景が白のイラストなので馴染む */
}

.list-normal1 .text {
	width: 70%;
}


/*h4見出し*/
.list-normal1 h4 {
	font-size: 1.3rem;
	line-height: 1.5;
	margin-bottom: 1rem;
	color: var(--primary-color);
}

/* お客様の声セクション専用レイアウト */
#koe .list-normal1 .list {
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	padding: 3rem;
	/* パディングを増やす */
	gap: 2rem;
	/* タイトルと本体の隙間を増やす */
}

#koe .list-normal1 .list h4 {
	margin-bottom: 0;
	/* 隙間はgapで制御 */
}

#koe .list-normal1 .list .list-body {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 3rem;
	/* 画像とテキストの隙間を増やす */
}

#koe .list-normal1 .list .list-body figure {
	/* widthは親の.list-normal1 figureを継承するが、念のため30%維持 */
	width: 30%;
}

#koe .list-normal1 .list .list-body .text {
	width: 70%;
}

@media screen and (max-width: 767px) {
	#koe .list-normal1 .list {
		padding: 2.5rem;
		/* スマホ時も少し余裕を持たせる */
		gap: 2rem;
	}

	#koe .list-normal1 .list .list-body {
		flex-direction: column;
		/* スマホで横並びがきつい場合は縦積みに */
		gap: 2rem;
	}

	#koe .list-normal1 .list .list-body figure {
		width: 100px;
		/* スマホ時はアイコンサイズをさらに縮小 */
		margin: 0 auto;
		/* 中央寄せ */
	}

	#koe .list-normal1 .list .list-body .text {
		width: 100%;
	}
}

/* 【イレギュラー対応】900px〜1200px未満の調整
   3カラムになるが、カード幅が狭く横並びが崩れるため、この範囲だけカード内を縦積みにする特別対応 */
@media screen and (min-width: 900px) and (max-width: 1199px) {
	#koe .list-normal1 .list .list-body {
		flex-direction: column;
		gap: 1.5rem;
		text-align: center;
	}

	#koe .list-normal1 .list .list-body figure {
		width: 30%;
		/* PC標準の30%を維持しつつ、中央寄せ */
		margin: 0 auto;
		max-width: 120px;
	}

	#koe .list-normal1 .list .list-body .text {
		width: 100%;
	}
}

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

	.list-normal1 h4 {
		font-size: 1.3rem;
		/*文字サイズ*/
		line-height: 1.6;
		/*行間*/
	}

}

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


/*h4内にアイコンを配置した場合（制作の流れの見出し左のアイコン）*/
.list-normal1.flow h4 i {
	margin-right: 1rem;
	/*アイコンとテキストとの間の余白*/
}

/*名前*/
.list-normal1 .name {
	text-align: right;
	/*右寄せ*/
	margin-top: 1rem;
	/*上に空けるスペース*/
}

/*制作の流れで使用しているブロック間の「▼」の矢印*/
.list-normal1.flow .list::after {
	content: "▼";
	/*このテキストを出力します*/
	position: absolute;
	left: 50%;
	/*左からの配置場所。厳密ではありませんが、文字が小さいので問題ないかと。*/
	bottom: -2rem;
	/*下からの配置場所。マイナスがつくので本来の場所とは逆向きに移動。*/
	transform: scaleX(1.5);
	/*横幅を150%に*/
	opacity: 0.5;
	/*透明度。色が50%出た状態。*/
}

/*最後のボックスだけ下矢印を出さない*/
.list-normal1.flow .list:last-child::after {
	content: none;
}


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

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

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

/*th（左側）、td（右側）の共通設定*/
.ta1 td,
.ta1 th {
	word-break: break-all;
	background: var(--base-color);
	/*背景色。冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);
	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	text-align: left;
	/*左よせにする*/
	padding: 1.5rem;
	/*余白 0.5rem -> 1.5remに是正*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 25%;
	/*幅*/
	text-align: center;
	/*テキストをセンタリング*/
}


/*テーブル（プラン）　※基本的な設定は上のta1で設定
---------------------------------------------------------------------------*/
.ta1.plan,
.ta1.plan td,
.ta1.plan th {
	text-align: center;
	border: 2px solid var(--base-inverse-color);
	/*テーブルの枠線の幅、線種、varは色のことで冒頭のbase-inverse-colorを読み込みます*/
	padding: 0.5rem;
}

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

	.ta1.plan,
	.ta1.plan td,
	.ta1.plan th {
		font-size: 1.2rem;
		padding: 2rem 1rem;
	}

}

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


/*一番左側の縦列の幅*/
.ta1.plan th:first-child,
.ta1.plan td:first-child {
	width: 12rem;
	/*目安としては約12文字分。*/
}

/*１行目のプランブロック*/
.ta1.plan th {
	width: auto;
	position: relative;
	overflow: hidden;
}

/*１行目のプランブロック内の「おすすめ」表示*/
.ta1.plan th .osusume {
	position: absolute;
	left: 0px;
	top: 0px;
	background: #ff0000;
	/*背景色*/
	color: var(--base-color);
	/*文字色*/
	font-size: 0.8rem;
	/*文字サイズ80%*/
	width: 120px;
	text-align: center;
	padding-top: 43px;
	padding-bottom: 2px;
	transform: rotate(-45deg) translate(-18px, -60px);
}

/*１行目のプランブロック内のアイコン（王冠マーク）*/
.ta1.plan th i {
	display: block;
	font-size: 1.4rem;
	/*サイズ*/
}

/* 左から2つ目の「エコノミープラン」の見出し（th）に背景色を設定 */
.ta1.plan th:nth-child(2) {
	background: #ecfbfc;
}

/* 左から2つ目の「エコノミープラン」の列（td）に背景色を設定 */
.ta1.plan td:nth-child(2) {
	background: #ecfbfc;
}

/* 左から３つ目の「スタンダードプラン」の見出し（th）に背景色を設定 */
.ta1.plan th:nth-child(3) {
	background: var(--primary-color);
	/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);
	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/* 左から３つ目の「スタンダードプラン」の列（td）に背景色を設定 */
.ta1.plan td:nth-child(3) {
	background: var(--primary-color);
	/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);
	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}

/* 左から４つ目の「プレミアムプラン」の見出し（th）に背景色を設定 */
.ta1.plan th:nth-child(4) {
	background: #ecfbfc;
}

/* 左から４つ目の「プレミアムプラン」の列（td）に背景色を設定 */
.ta1.plan td:nth-child(4) {
	background: #ecfbfc;
}

/*１行目の金額*/
.plan th>span {
	display: block;
	font-size: 1.6rem;
	/*文字サイズを160%*/
	font-family: "Oswald", sans-serif;
	/*フォント指定*/
	font-optical-sizing: auto;
	font-weight: 700;
	/*太さ。200〜900まで指定できます。数値が大きいほど太くなる。*/
}

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

	/*１行目の金額*/
	.plan th>span {
		font-size: 2.4rem;
		/*文字サイズを240%*/
	}

}

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


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

	.scroll .ta1.plan {
		/* width: 700px; .scrollクラス廃止に伴い無効化 */
		width: 100%;
	}

	/* .scroll { overflow-x: auto; }  廃止 */

}

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


/*調整用スタイル
---------------------------------------------------------------------------*/
.padding0 {
	padding: 0 !important;
}

.pt0 {
	padding-top: 0 !important;
}

.pb-large {
	padding-bottom: 8rem !important;
}

.padding-lr0 {
	padding-left: 0;
	padding-right: 0;
}

/* スマホ・タブレットでは余白がないと厳しいので戻す */
@media screen and (max-width: 767px) {

	.padding-lr0,
	.padding0 {
		padding-left: 5% !important;
		padding-right: 5% !important;
	}
}

/* コンテンツ幅制限用コンテナ */
.container-xs {
	max-width: 520px;
	margin: 0 auto;
}

.container-sm {
	max-width: 800px;
	margin: 0 auto;
}

.container-md {
	max-width: 1000px;
	margin: 0 auto;
}

.container-lg {
	max-width: 1200px;
	margin: 0 auto;
}


/*マニュアルページ用
---------------------------------------------------------------------------*/
#manual #container {
	all: unset;
}

.manual {
	background: var(--base-color);
	color: var(--base-inverse-color);
	padding: 5vw;
}

.manual .look {
	background: #eee;
}

.manual h2 {
	margin-top: 2rem;
	font-size: 2rem;
	text-align: center;
}

.manual h3 {
	line-height: 3;
	margin-top: 2rem;
}

.manual h3 span {
	background: linear-gradient(transparent 60%, yellow);
}

.manual h3+p {
	margin-top: -0.5rem;
}

.manual.margin-left {
	padding-left: 300px;
}

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

	.manual.margin-left {
		padding-left: 4vw;
	}

}

/*画面幅900px以上の追加指定ここまで*/


/*その他
---------------------------------------------------------------------------*/
.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;
}

.mb-space-large {
	margin-bottom: var(--space-large) !important;
}

.look {
	line-height: 1.5 !important;
	display: inline-block;
	padding: 5px 10px;
	background: rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.3);
	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;
}

.inline-block {
	display: inline-block !important;
}

.relative {
	position: relative;
}

.marker {
	background: linear-gradient(transparent 50%, yellow);
}

pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

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

	.ws {
		width: 48%;
		display: inline;
	}

	.sh {
		display: none;
	}

	.pc {
		display: block;
	}

}

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


/*レンディングサービスとは？セクション
---------------------------------------------------------------------------*/

.what-is-lending .c2 {
	display: flex;
	flex-direction: column;
}

.lending-explanation {
	text-align: left;
	margin: 20px auto;
	max-width: 800px;
	order: 2;
}

.lending-explanation p {
	font-size: 14px;
	line-height: 1.8;
}

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

	.lending-explanation {
		text-align: center;
	}

	.lending-explanation p {
		font-size: 18px;
	}

}

.lending-flow {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 0;
	margin: 0 auto;
	max-width: 1000px;
	order: 1;
}

.flow-item {
	text-align: center;
	background: var(--base-color);
	padding: 40px 30px;
	flex: 1;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.flow-icon {
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 80px;
}

.flow-icon i {
	color: var(--primary-color) !important;
	font-size: 60px;
}

.flow-item h3 {
	font-size: 22px;
	font-weight: bold;
	color: var(--base-inverse-color);
	margin-bottom: 10px;
}

/*サービスの流れ画像*/
.service-flow-img {
	width: 100%;
	max-width: 1000px;
	height: auto;
	box-shadow: 0 0px 24px 2px rgb(121 121 121 / 5%);
}

.flow-item p {
	font-size: 16px;
	color: var(--base-inverse-color);
}

.flow-arrow {
	padding: 0 20px;
	flex: 0 0 auto;
}

.arrow-down {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: var(--primary-color);
}

.arrow-down span {
	font-size: 16px;
	font-weight: bold;
}

.arrow-icon {
	font-size: 32px;
	font-weight: bold;
	transform: rotate(-90deg);
}

@media screen and (max-width: 768px) {
	.lending-flow {
		flex-direction: column;
		max-width: 100%;
	}

	.flow-item {
		padding: 30px 20px;
		width: 100%;
	}

	.flow-arrow {
		padding: 20px 0;
	}

	.arrow-icon {
		transform: rotate(0deg);
	}

	/* FAQ 1列に戻す */
	.faq {
		grid-template-columns: 1fr;
	}
}


/*現在の貸借料率セクション
---------------------------------------------------------------------------*/
.lending-rates {
	background: var(--base-color);
	padding-bottom: 4vw;
}

.rates-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin: 0 auto;
	max-width: 1000px;
}

.rate-card {
	background: var(--base-color);
	border-radius: 3px;
	padding: 30px 20px;
	text-align: center;
	/* transition: all 0.3s ease; removed to fix scroll animation conflict */
	box-shadow: 0 0px 24px 2px rgb(121 121 121 / 10%);
}

/* .rate-card:hover styles removed */

.coin-icon {
	font-size: 48px;
	margin-bottom: 15px;
}

.coin-name {
	font-size: 18px;
	font-weight: bold;
	color: var(--base-inverse-color);
	margin-bottom: 0;
	/* Reduced margin */
}

.coin-ticker {
	font-size: 14px;
	color: #999;
	margin-top: 0;
	/* Ensure no top margin */
	margin-bottom: 20px;
}

.rate-display {
	background: var(--primary-color);
	color: var(--base-color);
	padding: 15px 10px 10px;
	/* Reduced bottom padding */
	border-radius: 2px;
	font-weight: bold;
}

.rate-number {
	font-size: 32px;
	line-height: 1;
}

.rate-percent {
	font-size: 20px;
	margin-left: 2px;
}

.rates-note {
	text-align: center;
	font-size: 14px;
	color: #666;
	margin-top: 30px;
}

@media screen and (max-width: 900px) {
	.rates-grid {
		/* grid-template-columns: repeat(2, 1fr); */
		gap: 20px;
	}
}

@media screen and (max-width: 767px) {
	.rates-grid {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.rate-card {
		padding: 25px 15px;
	}
}

@media screen and (max-width: 900px) {

	#products .list-grid1 {
		margin-top: -30px;
	}

	#products .list-grid1 .list {
		padding: 6rem 2rem 3rem;
	}

	/* .high-value-description rules moved here if needed or kept in 480px query */

	/* 高額運用セクションのレスポンシブ対応 */
	.high-value-description {
		margin-top: 0;
		margin-bottom: 0px;
	}

	.high-value-description p {
		font-size: 16px;
	}

}

@media screen and (max-width: 767px) {
	.high-value-description {
		text-align: left !important;
	}
}


/*お問い合わせフォーム
---------------------------------------------------------------------------*/
/*フォーム全体のテーブル*/
/*フォーム全体のテーブル*/
.form-table {
	margin-bottom: 2rem;
	border: none;
	width: 100%;
}

.form-table tr {
	border-bottom: none;
}

.form-table tr:last-child {
	border-bottom: none;
}

.form-table th,
.form-table td {
	border: none;
	background: transparent;
	padding: 1rem 1rem;
	display: block;
	width: 100%;
}

.form-table th {
	vertical-align: top;
	padding-bottom: 0.5rem;
	/* Closer to input */
	font-weight: 600;
	font-size: 1.1rem;
	text-align: left;
}

.form-table td {
	padding-top: 0;
	padding-bottom: 2rem;
}

/*必須マーク*/
.required {
	color: #ff0000;
	font-size: 0.9rem;
	margin-left: 0.3rem;
}

/*入力フィールド共通スタイル*/
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="password"],
.contact-form select,
.contact-form textarea {
	width: 100% !important;
	display: block !important;
	padding: 0.8rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1rem;
	font-family: inherit;
	transition: border-color 0.3s ease;
	background: var(--base-color);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="password"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(129, 232, 237, 0.1);
}

/*selectの矢印アイコン調整*/
.contact-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.8rem center;
	background-size: 12px;
	padding-right: 2.5rem;
}

/*テキストエリア*/
.contact-form textarea {
	resize: vertical;
	min-height: 150px;
	line-height: 1.6;
}

/*プライバシーポリシー同意*/
.form-privacy {
	text-align: center;
	margin: 2rem 0;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 5px;
}

.form-privacy label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	font-size: 1rem;
}

.form-privacy input[type="checkbox"] {
	width: auto;
	cursor: pointer;
	transform: scale(1.2);
}

.form-privacy a {
	color: var(--primary-inverse-color);
	text-decoration: underline;
}

.form-privacy a:hover {
	color: var(--primary-color);
}

/*送信ボタン*/
.submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-inverse-color);
	/* Base style from #mainimg .btn p:nth-of-type(1) a */
	color: var(--base-color);
	border: 2px solid transparent;
	padding: 1rem 3.5rem 1rem 2rem;
	font-size: 1.2rem;
	font-weight: 600;
	border-radius: 50px;
	cursor: pointer;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	position: relative;
	transition: all 0.3s ease;
	text-decoration: none;
	margin-top: 3rem;
	min-width: 260px;
}

.submit-btn:hover {
	opacity: 1;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn .arrow-right {
	display: inline-block;
	transform: translateY(-50%);
	position: absolute;
	right: 2rem;
	top: 50%;
	margin-left: 0;
	margin-bottom: 0;
	/* Reset old CSS arrow styles */
	width: auto;
	height: auto;
	border: none;
}

.submit-btn .arrow-right::before {
	font-family: "Font Awesome 6 Free";
	content: "\f054";
	font-weight: bold;
}

/*レスポンシブ対応*/
@media screen and (max-width: 900px) {

	.form-table th,
	.form-table td {
		display: block;
		width: 100%;
	}

	.form-table th {
		text-align: left;
		padding-bottom: 0.3rem;
		border-bottom: none;
	}

	.form-table td {
		padding-top: 0;
	}

	.submit-btn {
		padding: 1rem 3rem;
		font-size: 1rem;
	}
}

/* お知らせ一覧ページ
---------------------------------------------------------------------------*/
/* カテゴリフィルター */
.category-filter {
	text-align: left;
	margin-bottom: 40px;
	width: 20%;
}

.category-filter ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.category-filter li {
	display: block;
}

.category-filter a {
	display: block;
	padding: 10px 0 10px 2em;
	background: transparent;
	color: #ccc;
	text-decoration: none;
	border-radius: 0;
	transition: 0.3s;
	font-size: 14px;
	position: relative;
}

.category-filter a:hover {
	color: var(--base-inverse-color);
}

.category-filter a.active {
	background: transparent;
	color: var(--base-inverse-color);
}

.category-filter a.active::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 2px;
	background: var(--primary-color);
	margin-top: 1px;
}

/* 2カラムレイアウト用コンテナ */
.news-layout-container {
	display: flex;
	max-width: 95%;
	margin: 0 auto;
	gap: 5%;
	align-items: flex-start;
}

/* お知らせリスト */
/* 
お知らせリストのスタイルは dl.new (index.htmlと共通) を使用するため、
旧 .news-list, .news-item などのスタイルは削除しました。 
*/
#news-list-container {
	width: 80%;
	margin: 0;
}

@media screen and (max-width: 1199px) {
	.news-layout-container {
		flex-direction: column;
	}

	.category-filter,
	#news-list-container {
		width: 100%;
	}

	.category-filter ul {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-start;
		/* 左寄せに変更 */
		gap: 0.5rem 2rem;
		/* 上下0.5rem, 左右2remの余白 */
	}

	.category-filter a {
		display: inline-block;
		text-align: left;
		padding: 0 0 5px 0;
		/* 下に線の分のパディング確保 */
		margin-bottom: 0.5rem;
	}

	.category-filter a.active::before {
		top: auto;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 2px;
		transform: none;
		margin-top: 0;
	}
}



/* ページネーション */
.pagination {
	text-align: center;
	margin-top: 50px;
	padding-top: 30px;
}

.pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	gap: 20px;
	/* 数字間の余白 */
	align-items: center;
}

.pagination li {
	display: inline-block;
}

.pagination a {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 5px 2px;
	background: transparent;
	color: var(--base-inverse-color);
	text-decoration: none;
	transition: 0.3s;
	font-size: 16px;
	position: relative;
	line-height: 1;
	border-bottom: 2px solid transparent;
	/* アクティブ時のガタつき防止 */
	height: 30px;
	/* 高さの統一 */
	box-sizing: border-box;
}

/* アクティブなページ（下線） */
.pagination a.active {
	background: transparent;
	border-bottom: 2px solid var(--base-inverse-color);
}

.pagination a:hover {
	opacity: 0.7;
}

/* 省略リーダー (...) */
.pagination .ellipsis {
	color: var(--base-inverse-color);
	font-weight: bold;
	letter-spacing: 2px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 30px;
	/* リンクと同じ高さに */
	padding-bottom: 2px;
	/* ボーダー分の位置調整 */
	box-sizing: border-box;
}

/* 次へボタン (青い丸 - btn1スタイル継承) */
.pagination .btn1 a.next {
	display: block !important;
	/* Flex removed for absolute positioning of child */
	position: relative !important;
	width: 50px;
	height: 50px;
	background: var(--base-color);
	color: var(--base-inverse-color);
	border-radius: 50%;
	margin-left: 0;
	/* gapで制御するため削除 */
	border: 2px solid var(--base-inverse-color);
	/* btn1のボーダーを考慮 */
	padding: 0;
	/* btn1のpaddingをリセット */
	min-width: 0;
	/* btn1のmin-widthをリセット */
	box-shadow: none;
}

/* #news .btn1 の余白を打ち消すための指定 */
.pagination .btn1 {
	margin-top: 0 !important;
}

/* btn1のデフォルト矢印位置調整、または既存矢印の利用 */
body.subpage .pagination .btn1 a.next::after {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	margin-left: 0 !important;
	/* アイコン位置微調整 */
	margin-top: 0 !important;
	font-family: "Font Awesome 6 Free" !important;
	content: "\f054" !important;
	font-weight: bold !important;
	font-size: 18px !important;
	vertical-align: middle !important;
	line-height: 1 !important;
	right: auto !important;
	/* Reset inherited 'right' definition */
}

/* 既存のbefore矢印は削除（btn1のafterを使うため） */
.pagination a.next::before {
	content: none;
}

@media screen and (max-width: 899px) {
	/* .news-meta と .news-title のスタイルは削除されたため、このメディアクエリ内の関連ルールも削除 */
}





/* h3見出し（セクションタイトルとして使用する場合のスタイル） */
section h3 {
	font-size: 1.5rem;
	margin-bottom: 40px;
	line-height: 1.4;
	position: relative;
	padding-bottom: 20px;
	text-align: left;
}

/* 下線の装飾 */
section h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100px;
	height: 3px;
	background-color: var(--primary-color);
}

section h3 span {
	display: block;
	font-size: 0.9rem;
	color: #999;
	/* サブタイトルはグレー */
	margin-top: 5px;
	font-weight: 500;
}

/* センタリング用 h3.c */
section h3.c {
	text-align: center;
}

section h3.c::after {
	left: 50%;
	transform: translateX(-50%);
}

@media screen and (min-width: 768px) {
	section h3 {
		font-size: 1.6rem;
		/* 約25.6px */
	}
}

/* アカウント作成手順・カードスタイル（4カラム） */
.list-normal1.account-flow .list {
	display: block;
	text-align: center;
	box-shadow: 0 0px 24px 2px rgb(121 121 121 / 10%) !important;
	border-radius: 3px !important;
}

.list-normal1.account-flow .list .text {
	width: 100%;
	text-align: center;
}

.account-flow .step-icon {
	text-align: center;
	margin-bottom: 1rem;
}

/*.account-flow .step-icon i  removed */

/* 共通設定 */
.account-flow .step-icon::before {
	display: inline-block;
	content: "";
	/* 文字ではなく画像にするため空に */
	width: 3rem;
	/* サイズ指定 */
	height: 3rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	/* サイズに合わせて調整 */
}

/* 個別アイコン設定（画像読み込み） */
.account-flow .step-icon.step-01::before {
	background-image: url("../images/icon_step01.svg");
}

.account-flow .step-icon.step-02::before {
	background-image: url("../images/icon_step02.svg");
}

.account-flow .step-icon.step-03::before {
	background-image: url("../images/icon_step03.svg");
}

.account-flow .step-icon.step-04::before {
	background-image: url("../images/icon_step04.svg");
}

/* アカウント作成手順：スマホ・タブレットは縦の点線を表示 */
/* アカウント作成手順：スマホ・タブレットは縦の点線を表示 */
.list-normal1.account-flow .list {
	margin-bottom: 3rem;
	/* カード間の余白を広げる */
}

.list-normal1.account-flow .list::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -3.3rem;
	/* margin-bottomとgapに合わせて調整 */
	width: 0;
	height: 3.3rem;
	/* 線を長くする */
	border-left: 4px dotted var(--primary-color);
}

/* 最後の要素は線を出さない */
.list-normal1.account-flow .list:last-child::after {
	content: none;
}

/* PCサイズで4カラムにする */
@media screen and (min-width: 900px) {

	/* 4カラムなので少しブレークポイント広めに */
	.list-normal1.account-flow {
		grid-template-columns: repeat(4, 1fr);
		gap: 40px;
	}

	/* ステップ間の点線（PCのみ復活させる） */
	.list-normal1.account-flow .list::after {
		content: "";
		position: absolute;
		top: 50%;
		/* カードの高さの中央 */
		left: calc(100% + 10px);
		/* 10pxの余白を空けてスタート */
		width: 20px;
		/* gap(40px)の半分にして、左右に10pxずつの余白を作る */
		height: 4px;
		/* 点線の太さ */
		border-top: 4px dotted var(--primary-color);
		/* 点線 */
		transform: translateY(-50%);
		/* 垂直方向の中央揃え */
		border-left: none;
		/* SP用の縦線を消す */
		bottom: auto;
		/* SP用のbottomをリセット */
	}

	/* 最後の要素は点線を消す */
	.list-normal1.account-flow .list:last-child::after {
		content: none;
	}
}

/* ========================================================
   貸出申し込みフロー（縦型タイムライン）
   ======================================================== */
.lending-flow-vertical {
	position: relative;
	padding: 2rem 0;
	max-width: 1000px;
	margin: 0 auto;
}

.lending-flow-item {
	display: grid;
	grid-template-columns: 3rem 1fr;
	/* アイコン列3rem + コンテンツ列 */
	gap: 0 1rem;
	/* 横の隙間 */
	padding-bottom: 2rem;
	position: relative;
}

/* ラベル（STEP XX） */
.lending-flow-label {
	grid-column: 2;
	/* 右カラム */
	grid-row: 1;
	/* 上段 */
	margin-bottom: 0.5rem;
	font-weight: 400;
	color: var(--primary-color);
	text-align: left;
}

.label-text {
	font-family: 'Oswald', sans-serif;
	font-size: 1.2rem;
}

/* マーカー（アイコン） */
.lending-flow-marker {
	grid-column: 1;
	/* 左カラム */
	grid-row: 1 / span 2;
	/* 上下段ブチ抜き */
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

/* スマホ用アイコン円（小さめ） */
.lending-flow-marker .icon-circle {
	width: 3rem;
	height: 3rem;
	font-size: 1.2rem;
	background: var(--primary-color);
	color: var(--base-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
}

.lending-flow-marker .icon-circle img {
	width: 60%;
	height: auto;
}

/* スマホ用縦線 */
.lending-flow-marker::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: -2rem;
	/* 次のアイテムへつなぐ */
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	background-color: var(--primary-color);
	z-index: 1;
}

/* 最後の要素だけ線はアイコンで止める */
.lending-flow-item:last-child .lending-flow-marker::before {
	height: 1.5rem;
	/* アイコン半分くらい */
	bottom: auto;
}

/* コンテンツ */
.lending-flow-content {
	grid-column: 2;
	/* 右カラム */
	grid-row: 2;
	/* 下段 */
	background: transparent;
	/* 背景なし */
	padding: 0;
	text-align: left;
}

/* SPでの余白調整 */
@media screen and (max-width: 767px) {
	.lending-flow-content {
		padding-left: 0;
		/* SPでのインデント */
	}
}

.lending-flow-content h4 {
	color: var(--primary-color);
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.2rem;
	font-weight: bold;
}

	/* PC用スタイル -> タブレット以上（768px〜）に適用変更 */
@media screen and (min-width: 768px) {
	.lending-flow-item {
		display: flex;
		/* Grid(SP)からFlex(PC)へ戻す */
		flex-direction: row;
		align-items: stretch;
		padding-bottom: 0;
		/* 下の余白はコンテンツ側やmin-heightで確保 */
		gap: 0;
		/* Gridのgapリセット */
	}

	/* 左側のラベルカラム */
	.lending-flow-label {
		grid-column: auto;
		/* SPリセット */
		grid-row: auto;
		/* SPリセット */
		width: 6rem;
		/* 幅を縮小（8rem -> 6rem） */
		text-align: left;
		/* 左揃え */
		padding-right: 0;
		padding-left: 0;
		margin-bottom: 0;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		/* 左寄せ */
		align-self: flex-start;
		padding-top: 1rem;
	}

	/* 中央のマーカーカラム */
	.lending-flow-marker {
		grid-column: auto;
		/* SPリセット */
		grid-row: auto;
		/* SPリセット */
		display: block;
		width: 6rem;
		position: relative;
		flex-shrink: 0;
	}

	/* 縦線 */
	.lending-flow-marker::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 2px;
		background-color: var(--primary-color);
	}

	/* 最後の要素だけ線はアイコンで止める */
	.lending-flow-item:last-child .lending-flow-marker::before {
		bottom: auto;
		height: 2.5rem;
		/* アイコンの中心(5rem/2)で止める */
	}

	/* アイコン円 */
	.lending-flow-marker .icon-circle {
		width: 5rem;
		/* SP(3rem)から戻す */
		height: 5rem;
		background: var(--primary-color);
		/* 塗りつぶし */
		color: var(--base-color);
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 2rem;
		position: relative;
		z-index: 2;
		/* 線より上 */
		margin: 0 auto;
		/* 中央寄せ */
	}

	/* 画像アイコン調整 */
	.icon-circle img {
		width: 60%;
		height: auto;
	}

	/* 右側のコンテンツカラム */
	.lending-flow-content {
		grid-column: auto;
		/* SPリセット */
		grid-row: auto;
		/* SPリセット */
		flex: 1;
		background: transparent;
		/* PCは背景なし */
		padding: 1rem 0 3rem 1rem;
		/* 上余白を1remに調整 */
		text-align: left;
		/* 左詰め */
	}

	/* コンテンツ内のスクリーンショット画像 */
	.lending-flow-content .flow-screen-img {
		display: block;
		width: 100%;
		max-width: 250px;
		/* 適度なサイズに制限 */
		margin-top: 1.5rem;
		border: 1px solid #ddd;
		/* 薄い枠線 */
		border-radius: 8px;
	}

	/* コンテンツ内のグレーボックス等が必要なら追加 */
	.lending-flow-content h4 {
		font-size: 1.5rem;
		text-align: left;
		/* 左詰め */
	}
}

/* タイトルを左寄せに */
.account-flow h4 {
	text-align: center;
	margin-top: 0;
}

/* STEP番号のスタイル */
.account-flow .step-number {
	text-align: center;
	color: var(--primary-inverse-color);
	font-weight: 400;
	margin-bottom: 2rem;
	font-family: 'Oswald', sans-serif;
	font-size: 1.2rem;
}

.account-flow p {
	text-align: left;
}

/* カードの影を削除 */
.list-normal1.account-flow .list {
	box-shadow: none;
	padding: 2rem 2rem;
	/* 余白を調整 */
}

/* Contact page specific overrides */
.contact-page .list-grid1 .list {
	box-shadow: none;
	background: transparent;
	border: none;
}

/* Contact illustration styles */
/* Contact illustration styles */
.contact-page .list-grid1 .list figure.illustration {
	/* change width to auto or 100% of container to center properly */
	max-width: 350px;
	height: auto;
	/* Fixed height for alignment */
	aspect-ratio: 1.25;
	/* 350px / 280px = 1.25 固定の高さを廃止し、比率で高さを確保 */
	width: 100%;
	/* コンテナに合わせて伸縮 */
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-bottom: 2rem;
	margin-left: auto;
	margin-right: auto;
}

.contact-page .list-grid1 .list figure.illustration img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

/* Specific style for VIP section illustrations */
.contact-page .vip-layout .list figure.illustration {
	align-items: center;
	padding: 0;
	max-width: 100%;
	/* スマホ縦積みの際に画像を大きく表示（350px制限を解除） */
}

/* Contact customer support h4 color */
/* Contact customer support h4 color */
.contact-page .list-grid1 .list h4 {
	color: var(--primary-color) !important;
}

/* スマホではカスタマーサポートの各ブロックを中央配置 */
@media screen and (max-width: 767px) {
	.contact-page .list-grid1 .list {
		text-align: center;
	}

	.contact-page .list-grid1 .list figure.illustration {
		margin-left: auto;
		margin-right: auto;
	}

	/* 左詰めになっているpタグを中央に戻す */
	.contact-page .list-grid1 .list p {
		text-align: center;
	}
}

/* VIP Support Layout (2-column) */
@media screen and (min-width: 768px) {
	.list-grid1.vip-layout {
		grid-template-columns: 1fr;
		/* 1カラム（縦積み）にする */
		gap: 3rem;
		/* 間隔を少し広げる */
	}

	.vip-layout .list {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
	}

	.contact-page .vip-layout .list figure.illustration {
		width: 55%;
		/* Layout width ratio */
		min-width: 300px;
		/* 小さくなりすぎないように最小幅を指定 */
		max-width: none;
		/* Override base style's max-width: 300px */
		margin: 0;
	}

	.vip-layout .list .list-text {
		width: 40%;
		text-align: left;
	}

	.vip-layout .list .list-text p {
		font-size: 1rem;
		/* Reset to base size */
	}
}

/* PCサイズ（900px以上）では元の比率に戻す */
@media screen and (min-width: 900px) {
	.list-grid1.vip-layout {
		gap: 2rem;
	}

	.contact-page .vip-layout .list figure.illustration {
		width: 48%;
	}

	.vip-layout .list .list-text {
		width: 48%;
	}
}

/* ページ内リンクナビゲーション */
.page-nav {
	display: flex;
	list-style: none;
	padding: 0;
	padding: 0;
	margin: 80px 2rem 3rem;
	/* PC: 上80px, 左右2rem, 下3rem の余白を追加 */
	border: 1px solid #dae0e5;
	border-radius: 6px;
	background: var(--base-color);
	overflow: hidden;
}

.page-nav li {
	flex: 1;
	border-right: 1px solid #dae0e5;
}

.page-nav li:last-child {
	border-right: none;
}

.page-nav a {
	display: flex;
	justify-content: space-between;
	/* テキスト左、矢印右 */
	align-items: center;
	padding: 1.2rem 1.5rem;
	text-decoration: none;
	color: var(--primary-color);
	font-weight: 600;
	font-size: 0.95rem;
	transition: background 0.3s ease;
}

.page-nav a:hover {
	background: #f9f9f9;
}

.page-nav i {
	font-size: 0.8rem;
	transform: translateY(1px);
	/* 微調整 */
}

/* レスポンシブ対応（スマホでは縦積み） */
@media screen and (max-width: 768px) {
	.page-nav {
		flex-direction: column;
		margin: 2rem 5%;
		/* SP: 上下2rem, 左右5% の余白を追加 */
	}

	.page-nav li {
		border-right: none;
		border-bottom: 1px solid #dae0e5;
	}

	.page-nav li:last-child {
		border-bottom: none;
	}

	.page-nav a {
		padding: 1rem;
	}
}

/* =========================================================================
   FAQ Page Specific Styles
   ========================================================================= */



/* FAQカテゴリセクション */
#basic,
#account,
#lending,
#security,
#payment {
	margin-bottom: 120px;
	scroll-margin-top: 2rem;
	/* アンカーリンクの飛び位置調整 */
}

.faq-section-title {
	font-size: 22px;
	font-weight: bold;
	padding: 15px 20px;
	background: var(--primary-color);
	color: var(--base-color);
	margin-bottom: 20px;
	border-radius: 5px;
}

.faq-section-title .en {
	font-size: 14px;
	opacity: 0.9;
	margin-left: 10px;
}

@media screen and (max-width: 899px) {
	.faq-section-title {
		font-size: 18px;
		padding: 12px 15px;
	}

}

/* =========================================================================
   Login Page Styles
   ========================================================================= */

.login-container {
	padding: 4rem;
	background: var(--base-color);
	border-radius: 2px;
}

.login-container h2 {
	text-align: center;
	margin-bottom: 30px;
	font-size: 28px;
}

.login-container .form-group {
	margin-bottom: 20px;
}

.login-container label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
	color: #555;
}

.login-container .checkbox-group {
	margin: 20px 0;
	display: flex;
	align-items: center;
}

.login-container .checkbox-group input[type="checkbox"] {
	margin-right: 8px;
}

.login-container .links {
	text-align: center;
	margin-top: 20px;
}

.login-container .links a {
	color: var(--primary-color);
	text-decoration: none;
	margin: 0 10px;
}

.login-container .links a:hover {
	text-decoration: underline;
}

.login-container .divider {
	text-align: center;
	margin: 30px 0;
	position: relative;
}

.login-container .divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #ddd;
}

.login-container .divider span {
	background: var(--base-color);
	padding: 0 15px;
	position: relative;
	color: #999;
}

.login-container .signup-link {
	text-align: center;
	margin-top: 20px;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 5px;
}

/* Register page specific */
.name-fields {
	display: flex;
	gap: 15px;
}

.name-fields .form-group {
	flex: 1;
}

.note-text {
	font-size: 14px;
	color: #666;
	margin-bottom: 20px;
	line-height: 1.6;
}

@media screen and (max-width: 767px) {
	.name-fields {
		flex-direction: column;
		gap: 0;
	}
}

/*===============================================================
  ニュース詳細ページ用スタイル 
  (news-service.html, news-important.html, news-detail.html共通)
===============================================================*/

/* パンくずリスト */
.breadcrumb {
	background: var(--base-color);
	padding: 1rem 2rem;
	margin-top: 60px;
}

.breadcrumb ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	max-width: 95%;
	margin: 0 auto;
}

.breadcrumb li {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #666;
}

.breadcrumb li::after {
	content: ">";
	margin: 0 10px;
	color: #999;
}

.breadcrumb li:last-child::after {
	content: "";
	margin: 0;
}

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

.breadcrumb a:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

/* 記事コンテナ */
.article-container {
	max-width: 900px;
	margin: 40px auto;
	padding: 0 20px;
}

/* 記事ヘッダー */
.article-header {
	margin-bottom: 40px;
	border-bottom: 2px solid var(--primary-color);
	padding-bottom: 30px;
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.article-date {
	color: #666;
	font-size: 14px;
}

/* article-category は共通設定として1760行目付近に記述済みのため削除 */

.article-title {
	font-size: 28px;
	font-weight: bold;
	line-height: 1.5;
	color: var(--base-inverse-color);
	margin: 0;
}

/* 記事本文 */
.article-body {
	line-height: 1.9;
	color: var(--base-inverse-color);
}

.article-body h3 {
	font-size: 20px;
	font-weight: bold;
	margin: 40px 0 20px;
	padding-left: 0;
	border-left: none;
	position: relative;
	padding-bottom: 10px;
}

/* 下線の装飾 */
.article-body h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: var(--primary-color);
	border-radius: 0;
}

.article-body h4 {
	font-size: 18px;
	font-weight: bold;
	margin: 30px 0 15px;
	color: #555;
}

.article-body p {
	margin: 0 0 20px;
}

.article-body ul,
.article-body ol {
	margin: 0 0 25px;
	padding-left: 25px;
}

.article-body li {
	margin-bottom: 10px;
}

.article-body strong {
	color: var(--primary-color);
	font-weight: bold;
}

.article-body .highlight-box {
	background: #f8f9fa;
	border-left: 2px solid var(--primary-color);
	padding: 20px;
	margin: 30px 0;
}

.article-body .note {
	background: #fffbf0;
	border: 1px solid #ffd700;
	padding: 15px;
	margin: 25px 0;
	border-radius: 5px;
	font-size: 14px;
}

.article-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 25px 0;
}

.article-body table th,
.article-body table td {
	border: 1px solid #ddd;
	padding: 1.5rem;
	/* 10px 15pxから拡大 */
	text-align: left;
}

.article-body table th {
	background: #f5f5f5;
	font-weight: bold;
}

/* 記事フッター */
.article-footer {
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

.back-to-list {
	text-align: center;
	margin: 60px 0;
}

/* btn1の矢印を左側に変更・向き反転（詳細ページ等でbtn1クラスがある場合用） */
.back-to-list.btn1 a {
	padding-left: 3.5rem;
	/* 左にアイコン用の余白確保 */
	padding-right: 2rem;
	/* 右は通常余白に戻す */
}

.back-to-list.btn1 a::after {
	content: none;
}

.back-to-list.btn1 a::before {
	font-family: "Font Awesome 6 Free";
	content: "\f053";
	/* 左向きの矢印 */
	font-weight: bold;
	position: absolute;
	left: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
}

/* 関連記事 */
.related-articles {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid #e0e0e0;
}

.related-articles h3 {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
	padding-left: 0;
	border-left: none;
	position: relative;
	padding-bottom: 20px;
}

.related-articles h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: var(--primary-color);
	border-radius: 0;
}

.related-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.related-list li {
	border-bottom: 1px solid #e0e0e0;
	padding: 15px 0;
}

.related-list li:last-child {
	border-bottom: none;
}

.related-list a {
	text-decoration: none;
	color: var(--base-inverse-color);
	display: flex;
	align-items: center;
	gap: 15px;
}

.related-list a:hover {
	color: var(--primary-color);
}

.related-list .related-date {
	color: #666;
	font-size: 14px;
	min-width: 100px;
}

.related-list .related-title {
	flex: 1;
}

@media screen and (max-width: 899px) {
	.article-title {
		font-size: 22px;
	}

	.article-body h3 {
		font-size: 18px;
	}

	.related-list a {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}

	.related-list .related-date {
		min-width: auto;
	}
}

/* 記事ヘッダー用メイン画像調整 */
.article-header-bg h1 {
	margin-bottom: 26px !important;
}

.article-header-bg>div {
	left: 0 !important;
	align-items: center !important;
}

.article-header-bg .text {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* PCサイズでのテキスト左寄せリセット */
@media screen and (min-width: 420px) {
	.article-header-bg .text {
		text-align: left;
	}
}

/* キービジュアルのタイトル（h2と同じデザインにする） */
#mainimg .key-visual-title {
	margin: 0;
	padding: 0;
	font-size: 1.4rem;
	font-weight: 700;
	display: flex;
	flex-direction: column-reverse;
	letter-spacing: 0.1em;
	color: var(--base-inverse-color);
	/* 文字色は黒 */
	align-items: flex-start;
	/* class="c"相当 */
}

#mainimg .key-visual-title span {
	font-size: 0.85rem;
	line-height: 0.85rem;
	color: var(--primary-color);
	font-weight: 500;
	margin-bottom: 10px;
	/* 英語と日本語の間隔 */
}

/*スマホで改行無効*/
.br-pc {
	display: none;
}

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

	.br-pc {
		display: block;
	}

}

@media screen and (min-width: 768px) {
	#mainimg .key-visual-title {
		font-size: 2.4rem;
	}
}

/* PCサイズで左寄せにする場合（style.cssのメディアクエリに合わせるなら） */
@media screen and (min-width: 420px) {
	#mainimg .key-visual-title {
		align-items: flex-start;
	}
}

/* 汎用マージンクラス追加 */
.mt20 { margin-top: 2rem !important; }
.mt40 { margin-top: 4rem !important; }
.mt60 { margin-top: 6rem !important; }
.mt80 { margin-top: 8rem !important; }
.mt100 { margin-top: 10rem !important; }

.mb20 { margin-bottom: 2rem !important; }
.mb40 { margin-bottom: 4rem !important; }