@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');


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


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

	--primary-color: #81e8ed;			/*テンプレートのメインまたはアクセントカラー*/
	--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: 13px;	/*基準となるフォントサイズ*/
	height: 100%;
}

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

	html, body {
		font-size: 14px;
	}

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

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

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


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
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: #fff;	/*バーのベースカラー*/
    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: 1;
	left: 0px;
	top: 0px;
	width: 100%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;	/*ヘッダーの高さ*/
}

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

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

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

/*ロゴ画像*/
#logo img {
	display: block;
	width: 150px;	/*ロゴの幅*/
}
#logo {
	margin: 0;padding: 0;
	padding-left: 3vw;	/*ロゴの左側に空ける余白*/
}

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

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

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


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

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
		
	/*メニューブロック全体の設定*/
	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;	/*メニュー内の余白。上下、左右へ。*/
	}
	
	/*ドロップダウンメニュー冒頭の矢印アイコン*/
	header nav i {
		padding-right: 0.5rem;	/*右に空ける余白*/
	}

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


/*ヘッダー内メニュー、開閉メニュー、共通のドロップダウン設定
---------------------------------------------------------------------------*/
header nav ul ul,
.small-screen #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;}
.small-screen #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;}
}

/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 90px 10vw 50px;				/*ブロック内の余白。上、左右、下への順番。*/
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	animation: animation1 0.2s both;		/*animation1を実行する。0.2sは0.2秒の事。*/
}

/*メニュー１個あたりの設定*/
.small-screen #menubar li {
	margin: 1rem 0;			/*メニューの外側に空けるスペース。上下、左右への順番。*/
}
.small-screen #menubar a {
	border-radius: 5px;		/*角を丸くする指定*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下、左右へ。*/
	background: var(--base-inverse-color);		/*背景色。冒頭のbase-inverse-colorを読み込みます。*/
	color: var(--base-color);					/*背景色。冒頭のbase-colorを読み込みます。*/
}

/*子メニュー*/
.small-screen #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;	/*左に空けるスペース*/
}


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

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

	#menubar_hdr {
		transform: scale(1.5);	/*1.5倍のサイズに。お好みで。*/
	}

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


/*バー１本あたりの設定*/
#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: #ff0000;
}

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

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

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

/*×印が出ている状態の設定。※２本目のバー。*/
#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: 150%;	/*アスペクト比2:3（3÷2=1.5）*/
	position: relative;
	overflow: hidden;
}

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

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

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

#mainimg > div {
	position: absolute;
	top: 60px;	/*header分を確保*/
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	
}
	/*画面420px以上の追加指定*/
	@media screen and (min-width:420px) {

	#mainimg > div {
		left: var(--space-large);
		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: center;	/*テキストをセンタリング*/
}

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

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

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


/*ボタン*/
#mainimg .btn {
	font-size: 1rem;	/*文字サイズ*/
	font-weight: 600;	/*少し太字に*/
	margin-top: 3vw;	/*上のテキストとボタンの間のスペース。*/
	display: flex;
	gap: 1rem;	/*ボタン同士の余白*/
}
#mainimg .btn a {
	display: block;text-decoration: none;
	padding: 0.8rem 2rem;	/*ボタン内の余白。上下、左右へ。1rem=1文字分です。*/
	margin-bottom: 10px;	/*ボタン同士の隙間*/
}

/*マウスオン時*/
#mainimg .btn a:hover {
	opacity: 1;
	transform: scale(1.05);	/*105%に拡大*/
}

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

	/*ボタン*/
	#mainimg .btn {
		font-size: 1.4vw;	/*文字サイズ*/
	}
	
	#mainimg .btn a {
		margin: 0;
		padding: 0.6rem 3rem;	/*ボタン内の余白。上下、左右へ。1rem=1文字分です。*/
	}

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


/*1つ目のボタン（お問い合わせ）の追加設定*/
#mainimg .btn p:nth-of-type(1) a {
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-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;					/*文字間隔を少しだけ広く*/
}

/*ボタン内のアイコン*/
#mainimg .btn i {
	transform: scale(1.4);	/*140%に拡大*/
	padding-right: 0.8rem;	/*アイコンとテキストとの間の余白*/
}


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

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

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

	main h2 {
		font-size: 2.4rem;		/*文字サイズ。240%。*/
	}

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


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

/*h2内のspan（小文字）*/
main h2 span {
	font-size: 0.85rem;	/*文字サイズ85%*/
	opacity: 0.5;		/*透明度。色を50%だけ出す。*/
	font-weight: normal;	/*太字ではなく標準にする*/
}

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

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

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

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


/*フッター
---------------------------------------------------------------------------*/
footer {
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	padding: 2rem;	/*フッター内の余白。2文字分。*/
	display: flex;
	flex-direction: column-reverse;
}

/*フッター直下の1つ目ブロック（ロゴやSNSアイコンが入ったブロック）*/
footer div:nth-of-type(1) {
    text-align: center;
}

/*フッター直下の２つ目ブロック（メニューブロック）*/
footer div:nth-of-type(2) {
    flex: 1;
    display: flex;
    gap: 2rem;	/*このブロック内の直下のブロック同士に空ける余白。４文字分。*/
}


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

	footer {
		flex-direction: row;
		gap: 4rem;		/*フッター内の直下のブロック同士に空ける余白。４文字分。*/
		padding: 4rem;	/*フッター内の余白。４文字分。*/
	}

	/*フッター直下の1つ目ブロック（ロゴやSNSアイコンが入ったブロック）*/
	footer div:nth-of-type(1) {
		text-align: left;
		width: 30%;	/*幅*/
	}

	/*フッター直下の２つ目ブロック（メニューブロック）*/
	footer div:nth-of-type(2) {
		justify-content: flex-end;	/*ブロックを右に寄せる。この行を削除すれば、ロゴ画像の方によります。*/
		gap: 4rem;	/*このブロック内の直下のブロック同士に空ける余白。４文字分。*/
	}

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


footer ul {
	margin: 0;padding: 0;list-style: none;
	margin-bottom: 2rem;
}


/*Copyright部分*/
footer small {
	display: block;
	padding-top: 2rem;	/*SNSアイコンとコピーライトの間の余白調整*/
}


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

	/*画面700px以上の追加指定*/
	@media screen and (min-width:700px) {
	
	.icons {
		justify-content: flex-start;
	}

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

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




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

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

	.c2 {
		display: flex;
		gap: 2rem;
	}

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

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

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


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

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

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

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

/*質問*/
.faq dt {
	display: flex;
	align-items: flex-start;
	border-radius: 3px;		/*角を少しだけ丸く*/
	margin-bottom: 1rem;	/*下に空けるスペース。質問ブロック同士の余白です。*/
	background: var(--base-color);		/*背景色。冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	padding: 1rem;	/*ブロック内の余白。１文字分。*/
}

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

/*回答*/
.faq dd {
	padding: 0 1rem 1rem 3.7rem;	/*ボックス内の余白。上、右、下、左への順番。*/
}

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


/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/
.new dd {
	padding-bottom: 1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 2px;		/*角を丸くする指定*/
	padding: 0 1rem;		/*上下、左右へのブロック内の余白*/
	width: 8rem;			/*幅。8文字分。*/
	transform: scale(0.85);	/*85%のサイズに縮小*/
	border: 1px solid #777;	/*枠線の幅、線種、色*/
}

/*icon-bg1。サンプルテンプレートでは「重要」と書いてあるマーク*/
.new .icon-bg1 {
	border-color: transparent;	/*枠線を透明に*/
	background: #cd0000;		/*背景色*/
	color: #fff;				/*文字色*/
}

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

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

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

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


/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*画像たちを囲むブロック*/
.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: block;text-decoration: none;
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	font-size: 1.4rem;		/*文字サイズ。140%に。*/
	padding: 0.5rem 2rem;	/*ボタン内の余白。上下、左右へ。*/
	border-radius: 100px;	/*角を丸くする*/
	text-align: center;		/*テキストをセンタリング*/
}

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

/*マウスオン時*/
.btn1 a:hover {
	opacity: 1;
	transform: scale(1.05);	/*105%に拡大*/
	background: var(--primary-inverse-color);	/*背景色。冒頭のprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*文字色。冒頭のprimary-colorを読み込みます。*/
}

/*bg-primary-colorの上で使う場合*/
.bg-primary-color .btn1 a:hover {
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
}

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


/*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-inverse-color);	/*背景色。冒頭のbase-inverse-colorを読み込みます。*/
	color: var(--base-color);	/*文字色。冒頭のbase-colorを読み込みます。*/
}


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


/*bg3
---------------------------------------------------------------------------*/
.bg3 {
	background: #fff;	/*背景色*/
}


/*パターン背景
---------------------------------------------------------------------------*/
/*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:700px) {

	/*三角形の高さの再設定。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;	/*太さを標準に*/
}

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

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

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


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

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

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

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


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

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

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

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


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

/*ナンバー（01〜03の飾り番号）*/
.list-grid1 .list .num {
	position: absolute;
	left: -20px;		/*左からの配置場所。マイナスがつくので本来とは逆向きに移動。*/
	top: -30px;			/*上からの配置場所。マイナスがつくので本来とは逆向きに移動。*/
	font-size: 60px;	/*文字サイズ*/
	line-height: 1;
	font-family: "MonteCarlo", cursive;	/*フォント指定*/
	opacity: 0.2;	/*透明度。色を20%出す。*/
}

/*引用符（“）の装飾*/
.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;
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	font-size: 0.9rem;	/*文字サイズを90%に*/
	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: 100px;		/*画像サイズ*/
	margin-top: -40px;	/*本来の場所より上にずらす*/
}

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

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

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

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



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

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
	
	/*２つのボックスを囲むボックス*/
	.list-c2 {
		display: flex;	/*横並びにする*/
		gap: 2vw;		/*ブロックの間に空けるマージン的な指定*/
	}

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


/*ボックス１個あたり*/
.list-c2 .list {
	text-align: center;
	position: relative;
	overflow-y: hidden;
	color: #fff;		/*文字色*/
	text-shadow: 0px 0px 10px rgba(0,0,0,0.6);	/*テキストの影。右へ、下へ、ぼかす量、0,0,0は黒のことで0.6は色が出た状態。*/
	padding: 5rem 2rem;	/*上下、左右へのボックス内の余白*/
	margin: 1rem 0;		/*上下、左右へのマージン*/
	border-radius: 30px;	/*角を丸くする指定*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
	
	.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: url("../images/bg_contact.jpg") no-repeat center center / cover;
}

/*右側ボックスの背景*/
.list-c2 .list.image2 {
	background: 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;	/*フォントの太さ。100〜900の間で指定が可能。大きいほど太くなります。*/
}

/*h4見出し内のメインテキスト（main-text）*/
.list-c2 h4 .main-text {
	display: block;
	font-size: 3rem;		/*文字サイズ。3倍。*/
	padding-top: 1.5rem;	/*上に空ける余白*/
	padding-bottom: 3rem;	/*下に空ける余白*/
}

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

	.list-c2 h4 .main-text {
		font-size: 4rem;	/*文字サイズ。4倍。*/
	}

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


/*テキスト*/
.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: rgba(0,0,0,0.6);		/*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	transition: transform 0.3s 0.1s;	/*アニメーションの速度（0.3秒）と待機時間（0.1秒）。*/
}
.list-c2 .list:hover::before {
	transform: translateY(100%);	/*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}


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

section > .bg-slideup:first-child {
	margin-top: calc(-1 * var(--space-large));
}

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

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

/* 日本語テキスト */
.jp-text {
	writing-mode: vertical-rl;
	text-orientation: upright;
}

/*制作実績ブロックの画像指定*/
#products .bg-slideup .image {
	background-image: url("../images/bg_works.jpg");	/*背景画像の指定*/
}

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


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

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

	/*テキストブロック*/
	.list-normal1 .text {
		flex: 1;
	}
	
	/*画像とテキストの左右を入れ替えたい場合（600px以上のみ使用可能）*/
	.reverse {
		flex-direction: row-reverse;
		background-position: left bottom !important;
	}
	
	}/*追加指定ここまで*/


/*ブロック１個あたり*/
.list-normal1 .list {
	background: var(--base-color) url("../images/bg-dot.png") no-repeat right bottom / 200px;
	color: var(--base-inverse-color);	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	padding: 3rem;
	margin-bottom: 2rem;
	box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
	position: relative;
}

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

	/*ブロック１個あたり*/
	.list-normal1 .list {
		display: flex;
		gap: 2rem;	/*画像とテキストの間のスペース。２文字分。画像がない場合はこれは適用されません。*/
	}
	
	}/*追加指定ここまで*/


/*画像ブロック*/
.list-normal1 figure {
	width: 30%;	/*幅*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
}

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

	/*画像の下マージンのリセット*/
	.list-normal1 figure {
		margin-bottom: 0;
	}

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


/*h4見出し*/
.list-normal1 h4 {
	font-size: 1.2rem;	/*文字サイズ200%*/
	line-height: 1.5;	/*行間*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
}

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

	.list-normal1 h4 {
		font-size: 2rem;	/*文字サイズ200%*/
		line-height: 1.8;	/*行間*/
	}

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


/*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: 0.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:801px) {

	.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: #fff;			/*文字色*/
	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:801px) {

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

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


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

	.scroll .ta1.plan {width: 700px;}
	.scroll {overflow-x: auto;}

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


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


/*マニュアルページ用
---------------------------------------------------------------------------*/
#manual #container {
	all: unset;
}
.manual {
	background: #fff;
	color: #333;
	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;}

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




/* ===== LP custom ===== */
#mainimg.lp-hero {background-image: linear-gradient(110deg, rgba(7,32,82,.84), rgba(22,90,184,.52)), url("../images/mainimg.jpg");}
#mainimg.lp-hero .text {max-width: 760px;}
#mainimg.lp-hero .text p:first-child {margin-top: 0;}
.eyebrow {display:inline-block; background: rgba(255,255,255,.16); color:#fff; border:1px solid rgba(255,255,255,.32); padding:.35rem .9rem; border-radius:999px; font-size:.95rem; letter-spacing:.04em; margin-bottom:1rem;}
.subcopy {font-size:1.08rem; line-height:1.9; color:#fff; max-width: 54em;}
.hero-points {display:grid; gap:.8rem; margin:1.6rem 0 0; padding:0;}
.hero-points li {list-style:none; margin:0; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.18); color:#fff; padding:.85rem 1rem; border-radius:16px; backdrop-filter: blur(4px);}
.hero-points li::before {content:"✓"; font-weight:700; margin-right:.55rem; color:#c9f9ff;}
.hero-cta {align-items:flex-start;}
.section-lead {max-width: 860px; margin: 1rem auto 0; line-height: 2;}
.narrow {max-width: 760px;}
.case-grid {display:grid; gap:1.5rem; margin-top:2rem;}
.case-card {background:#fff; border:1px solid #dbe7f6; border-radius:24px; padding:1.6rem; box-shadow:0 14px 40px rgba(24,63,133,.08);}
.case-card h3 {margin:0 0 1rem; font-size:1.25rem; color:#163b75;}
.case-cols {display:grid; gap:1rem;}
.case-cols > div {background:#f7fbff; border-radius:18px; padding:1rem 1.2rem;}
.case-cols h4 {margin:0 0 .6rem; font-size:1rem; color:#15325f;}
.case-cols ul {margin:0; padding:0;}
.case-cols li {list-style:none; margin:0; padding:.15rem 0;}
.case-cols .total {margin-top:.35rem; padding-top:.5rem; border-top:1px solid #d6e3f6; font-weight:700;}
.case-cols .good {color:#0d7c50;}
.simulation-note {margin-top:1rem; color:#555; font-size:.92rem;}
.bank-section {background:linear-gradient(180deg, #f9fcff 0%, #eef5ff 100%);}
.bank-slider .img img {width: 290px; max-width:none;}
.office-lead {margin-top:0;}
.office-grid {display:grid; gap:1.2rem; margin-top:1.5rem;}
.office-card {background:#fff; border:1px solid #dce7f8; border-radius:22px; padding:1.2rem 1.25rem; box-shadow:0 10px 30px rgba(24,63,133,.06);}
.office-card h3 {margin:0 0 .5rem; color:#163b75; font-size:1.1rem;}
.contact-section {background:linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);}
.lp-form {max-width: 980px; margin: 2rem auto 0;}
.lp-form .req {color:#e04d64; font-weight:700;}
.lp-form input[type="text"], .lp-form input[type="email"], .lp-form input[type="tel"], .lp-form select, .lp-form textarea {border:1px solid #c9d8ef; border-radius:12px; padding:.9rem 1rem; background:#fff;}
.lp-form input[type="checkbox"] {transform: scale(1.1); margin-right: .5rem;}
.submit-wrap input[type="submit"] {border:none; background:linear-gradient(135deg,#2f70da,#81e8ed); color:#fff; padding:1rem 3rem; border-radius:999px; font-size:1.1rem; font-weight:700; cursor:pointer; box-shadow:0 12px 28px rgba(47,112,218,.24);}
.submit-wrap input[type="submit"]:hover {opacity:.92; transform:translateY(-1px);}
.standalone-contact {min-height: calc(100vh - 220px);}
footer small {line-height:1.8;}
@media screen and (min-width:800px){
  .case-grid {grid-template-columns: repeat(3, 1fr);}
  .case-cols {grid-template-columns: 1fr 1fr;}
  .office-grid {grid-template-columns: 1fr 1fr;}
}
@media screen and (max-width:799px){
  #mainimg.lp-hero .text p:nth-child(2) {font-size: 2.2rem; line-height:1.45;}
  .bank-slider .img img {width: 240px;}
}


/* ===== Floating CTA buttons ===== */
body {padding-bottom: 108px;}
.floating-cta {
	position: fixed;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	z-index: 10000;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	width: min(92vw, 560px);
	pointer-events: none;
}
.floating-cta a {
	pointer-events: auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 58px;
	padding: .9rem 1rem;
	border-radius: 999px;
	text-decoration: none;
	color: #fff;
	font-weight: 800;
	letter-spacing: .02em;
	box-shadow: 0 12px 24px rgba(0,0,0,.16), inset 0 -5px 0 rgba(0,0,0,.14);
	overflow: hidden;
	transform-origin: center bottom;
	animation: ctaBounce 2.2s ease-in-out infinite;
}
.floating-cta a::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
	pointer-events: none;
}
.floating-cta a::after {
	content: "☝";
	position: absolute;
	right: 12px;
	bottom: 100%;
	font-size: 1.35rem;
	line-height: 1;
	filter: drop-shadow(0 4px 6px rgba(0,0,0,.18));
	animation: fingerTap 2.2s ease-in-out infinite;
}
.floating-cta .line-btn {background: linear-gradient(180deg, #2fd26b 0%, #16b857 100%);}
.floating-cta .mail-btn {background: linear-gradient(180deg, #3f8cff 0%, #2869e6 100%);}
.floating-cta .label {display:flex; flex-direction:column; line-height:1.15;}
.floating-cta .label small {font-size:.72rem; font-weight:600; opacity:.92;}
.floating-cta .line-btn::after {animation-delay: 0s;}
.floating-cta .mail-btn::after, .floating-cta .mail-btn {animation-delay: 1.1s;}
.floating-cta a:hover {transform: translateY(-2px) scale(1.01);}
.floating-cta a:active {transform: translateY(2px) scale(.985); box-shadow: 0 6px 14px rgba(0,0,0,.16), inset 0 -2px 0 rgba(0,0,0,.12);}
@keyframes ctaBounce {
	0%, 18%, 100% {transform: translateY(0) scale(1);}
	7% {transform: translateY(2px) scale(.985, .965);}
	12% {transform: translateY(-1px) scale(1.01);}
}
@keyframes fingerTap {
	0%, 18%, 100% {transform: translate(0, 0) scale(1); opacity: 0;}
	4% {opacity: 1;}
	7% {transform: translate(-2px, 34px) scale(.95); opacity: 1;}
	12% {transform: translate(0, 28px) scale(1); opacity: 0;}
}
@media screen and (min-width:900px) {
	.floating-cta {bottom: 22px; width: min(560px, 90vw);}
	.floating-cta a {min-height: 64px; font-size: 1.02rem;}
}
@media screen and (max-width:520px) {
	body {padding-bottom: 124px;}
	.floating-cta {gap: 8px; width: calc(100vw - 16px); bottom: 10px;}
	.floating-cta a {min-height: 56px; padding: .85rem .65rem; font-size: .92rem;}
	.floating-cta a::after {right: 8px; font-size: 1.15rem;}
	.floating-cta .label small {font-size: .64rem;}
}


/* ===== Requested heading updates ===== */
#simulation .bg-slideup .image,
#area .bg-slideup .image {
  color: #163b75;
  gap: .8rem;
  text-align: center;
}
#simulation .bg-slideup .en-text,
#area .bg-slideup .en-text {
  color: #163b75;
  writing-mode: horizontal-tb;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: .08em;
}
#simulation .bg-slideup .jp-text,
#area .bg-slideup .jp-text {
  color: #163b75;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .08em;
}
#simulation .bg-slideup .image,
#area .bg-slideup .image {
  padding: clamp(52px, 8vw, 88px) 20px;
}

/* ===== Bank logo slider restored / mobile-friendly ===== */
.bank-slider {
  overflow: hidden;
  width: 100%;
}
.bank-slider .img {
  display: flex;
  align-items: center;
  width: max-content;
}
.bank-slider .img > div {
  flex: 0 0 auto;
  margin: 0 8px;
  background: #fff;
  border: 1px solid #d7e4f6;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(24,63,133,.07);
  padding: 10px 16px;
}
.bank-slider .img img {
  display: block;
  width: 240px;
  height: 72px;
  object-fit: contain;
  padding: 0;
}
@media screen and (max-width: 799px) {
  .bank-slider .img > div {
    margin: 0 6px;
    border-radius: 14px;
    padding: 8px 12px;
  }
  .bank-slider .img img {
    width: 170px;
    height: 56px;
  }
}


/* ===== Requested additional layout fixes ===== */
#mainimg.lp-hero {
  padding-top: 0;
  min-height: clamp(760px, 100svh, 980px);
  overflow: visible;
  background-position: center center;
}
#mainimg.lp-hero > div {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
  min-height: inherit;
  padding: clamp(96px, 10vw, 132px) clamp(18px, 4vw, 56px) clamp(54px, 8vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}
#mainimg.lp-hero .text {
  width: min(100%, 820px);
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.65;
}
#mainimg.lp-hero .text > p:nth-child(2) {
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.28;
}
#mainimg.lp-hero .subcopy {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.9;
}
#mainimg.lp-hero .hero-points {
  width: min(100%, 860px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.35rem;
}
#mainimg.lp-hero .hero-cta {
  margin-top: 1.4rem;
  flex-wrap: wrap;
  gap: .9rem;
}
#mainimg.lp-hero .hero-cta p {margin: 0;}
#mainimg.lp-hero .hero-cta a {
  padding: .95rem 1.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

#trouble .list-grid1,
#feature .list-grid1 {
  align-items: stretch;
}

#koe .list-normal1 figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.bank-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.bank-icon-card {
  background: #fff;
  border: 1px solid #d8e5f7;
  border-radius: 22px;
  padding: 1.35rem 1rem 1.2rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(24,63,133,.08);
}
.bank-icon-card .icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto .85rem;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eff6ff 0%, #dcebff 100%);
  color: #1b58b8;
  font-size: 2rem;
}
.bank-icon-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: #163b75;
}
.bank-icon-card p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.8;
}

@media screen and (max-width: 899px) {
  #mainimg.lp-hero {
    min-height: 0;
    background-image: linear-gradient(180deg, rgba(7,32,82,.88), rgba(22,90,184,.56)), url("../images/mainimg_sh.jpg");
    background-position: center center;
  }
  #mainimg.lp-hero > div {
    padding: 92px 16px 48px;
    align-items: center;
  }
  #mainimg.lp-hero .text {
    text-align: left;
    width: min(100%, 640px);
  }
  #mainimg.lp-hero .hero-points {
    grid-template-columns: 1fr;
  }
  #mainimg.lp-hero .hero-cta {
    width: 100%;
  }
  #mainimg.lp-hero .hero-cta p {
    width: 100%;
  }
  #mainimg.lp-hero .hero-cta a {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
  .bank-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 599px) {
  #koe .list-normal1 .list {
    padding: 2rem 1.25rem;
  }
  #koe .list-normal1 figure {
    width: 62%;
    max-width: 260px;
    margin: 0 auto 1.25rem;
  }
  #koe .list-normal1 h4 {
    font-size: 1.35rem;
    line-height: 1.6;
  }
  .bank-icon-grid {
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
  }
  .bank-icon-card {
    padding: 1.1rem .75rem 1rem;
    border-radius: 18px;
  }
  .bank-icon-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 1.7rem;
  }
  .bank-icon-card h3 {
    font-size: 1rem;
  }
  .bank-icon-card p {
    font-size: .84rem;
    line-height: 1.65;
  }
}


/* ===== 2026-03 mobile hero image fix + bank logo slider restore ===== */
.bank-icon-grid,
.bank-icon-card {display:none;}

.bank-slider {overflow: hidden; width: 100%; padding: 0 0 6px;}
.bank-slider + .bank-slider {margin-top: 12px;}
.bank-slider .img {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}
.bank-slider .img > div {
  flex: 0 0 auto;
  margin: 0 8px;
  background: #fff;
  border: 1px solid #d7e4f6;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(24,63,133,.07);
  padding: 10px 16px;
}
.bank-slider .img img {
  display: block;
  width: 240px;
  height: 72px;
  object-fit: contain;
  padding: 0;
}

@media screen and (max-width: 899px) {
  #mainimg.lp-hero {
    min-height: auto;
    background: linear-gradient(160deg, #0b2d6c 0%, #1e64c9 62%, #6fd8ea 135%);
    position: relative;
    overflow: hidden;
  }
  #mainimg.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 18%, rgba(255,255,255,.14) 0, rgba(255,255,255,.14) 48px, transparent 49px),
      radial-gradient(circle at 86% 16%, rgba(255,255,255,.12) 0, rgba(255,255,255,.12) 28px, transparent 29px),
      linear-gradient(180deg, rgba(7,32,82,.12) 0%, rgba(7,32,82,.0) 100%);
    pointer-events: none;
  }
  #mainimg.lp-hero::after {
    content: "";
    position: absolute;
    right: max(-14px, -2vw);
    bottom: 12px;
    width: min(88vw, 520px);
    height: min(58vw, 360px);
    background: url("../images/hero-mobile.png") no-repeat right bottom / contain;
    pointer-events: none;
    opacity: .98;
  }
  #mainimg.lp-hero > div {
    padding: 92px 16px 230px;
    align-items: center;
  }
  #mainimg.lp-hero .text {
    width: min(100%, 640px);
    text-align: left;
    position: relative;
    z-index: 1;
  }
  #mainimg.lp-hero .text > p:nth-child(2) {
    font-size: clamp(1.95rem, 7.4vw, 3rem);
    line-height: 1.34;
  }
  #mainimg.lp-hero .subcopy {
    font-size: .98rem;
    line-height: 1.85;
  }
  #mainimg.lp-hero .hero-points {
    grid-template-columns: 1fr;
    gap: .72rem;
    width: 100%;
  }
  #mainimg.lp-hero .hero-points li {
    padding: .8rem .95rem;
    background: rgba(255,255,255,.13);
  }
  #mainimg.lp-hero .hero-cta {
    width: 100%;
    margin-top: 1.2rem;
    position: relative;
    z-index: 1;
  }
  #mainimg.lp-hero .hero-cta p {
    width: 100%;
  }
  #mainimg.lp-hero .hero-cta a {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .bank-slider .img > div {
    margin: 0 6px;
    border-radius: 14px;
    padding: 8px 12px;
  }
  .bank-slider .img img {
    width: 170px;
    height: 56px;
  }
}

@media screen and (max-width: 599px) {
  #mainimg.lp-hero::after {
    right: -4px;
    bottom: 12px;
    width: min(92vw, 420px);
    height: min(68vw, 300px);
  }
  #mainimg.lp-hero > div {
    padding-bottom: 220px;
  }
}

/* ===== 2026-03-29 final hero restore (based on working reference) ===== */
#mainimg.lp-hero::before,
#mainimg.lp-hero::after {
  content: none !important;
  display: none !important;
}

#mainimg.lp-hero {
  background-image: linear-gradient(110deg, rgba(7,32,82,.84), rgba(22,90,184,.52)), url("../images/mainimg.jpg") !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  padding-top: 0 !important;
  min-height: clamp(720px, 78vw, 980px) !important;
  height: auto !important;
  overflow: visible !important;
}
#mainimg.lp-hero > div {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 108px min(5vw, 56px) 84px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
}
#mainimg.lp-hero .text {
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  text-align: left !important;
  font-size: inherit !important;
}
#mainimg.lp-hero .text > p:nth-child(2) {
  font-size: clamp(2rem, 4.7vw, 4.05rem) !important;
  line-height: 1.32 !important;
  letter-spacing: .01em !important;
}
#mainimg.lp-hero .subcopy {
  margin-top: 0 !important;
  font-size: clamp(1rem, 1.65vw, 1.1rem) !important;
  line-height: 1.9 !important;
}
#mainimg.lp-hero .hero-points {
  width: min(100%, 860px) !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .8rem !important;
  margin: 1.6rem 0 0 !important;
}
#mainimg.lp-hero .hero-cta {
  width: auto !important;
  margin-top: 1.6rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  align-items: flex-start !important;
}
#mainimg.lp-hero .hero-cta p {
  width: auto !important;
  margin: 0 !important;
}
#mainimg.lp-hero .hero-cta a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 58px !important;
  padding: .9rem 1.7rem !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.16) !important;
  white-space: nowrap !important;
}

@media screen and (max-width:999px) {
  #mainimg.lp-hero {
    background-position: 68% center !important;
    min-height: auto !important;
  }
  #mainimg.lp-hero > div {
    padding: 92px 20px 62px !important;
  }
  #mainimg.lp-hero .hero-points {
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width:799px) {
  #mainimg.lp-hero .text > p:nth-child(2) {
    font-size: clamp(1.9rem, 7vw, 2.8rem) !important;
  }
  #mainimg.lp-hero .hero-cta {
    width: 100% !important;
  }
  #mainimg.lp-hero .hero-cta p {
    width: 100% !important;
  }
  #mainimg.lp-hero .hero-cta a {
    width: 100% !important;
    white-space: normal !important;
  }
}

@media screen and (max-width:520px) {
  #mainimg.lp-hero {
    background-image: linear-gradient(180deg, rgba(7,32,82,.78), rgba(22,90,184,.38)), url("../images/mainimg_sh.jpg") !important;
    background-position: center center !important;
    min-height: auto !important;
  }
  #mainimg.lp-hero > div {
    padding: 86px 14px 52px !important;
  }
  #mainimg.lp-hero .subcopy {
    line-height: 1.8 !important;
  }
  #mainimg.lp-hero .hero-points {
    gap: .65rem !important;
  }
  #mainimg.lp-hero .hero-points li {
    padding: .8rem .85rem !important;
    font-size: .92rem !important;
    line-height: 1.65 !important;
  }
  #mainimg.lp-hero .hero-cta {
    gap: .75rem !important;
  }
  #mainimg.lp-hero .hero-cta a {
    min-height: 54px !important;
    padding: .85rem 1rem !important;
    font-size: .96rem !important;
  }
}

/* keep bank section as horizontal logo slider */
.bank-icon-grid,
.bank-icon-card {
  display: none !important;
}
.bank-slider {
  display: block !important;
}


/* ===== ChatGPT custom updates: comparison / company / offices / case visuals ===== */
.title-horizontal .image {
  color: #163b75;
  gap: .75rem;
}
.title-horizontal .image .en-text,
.title-horizontal .image .jp-text {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  display: block;
}
.title-horizontal .image .en-text {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  letter-spacing: .08em;
}
.title-horizontal .image .jp-text {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
}
.title-darktext .image {color:#163b75; text-shadow: 0 1px 0 rgba(255,255,255,.35);}

/* restore office image cards */
.office-grid {display:grid; gap:1.2rem; margin-top:1.5rem;}
.office-card {background:#fff; border:1px solid #dce7f8; border-radius:22px; padding:1.2rem 1.25rem; box-shadow:0 10px 30px rgba(24,63,133,.06);}
.office-card h3 {margin:0 0 .5rem; color:#163b75; font-size:1.1rem;}
.office-card p {margin:.35rem 0 0; line-height:1.8;}
.office-photo {margin:0 0 .95rem; border-radius:18px; overflow:hidden; aspect-ratio: 4 / 3; background:#edf4ff; box-shadow:0 8px 24px rgba(24,63,133,.10);}
.office-photo img {display:block; width:100%; height:100%; object-fit:cover;}

.case-visual {margin: 1rem 0 1.25rem; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.08); background: #fff;}
.case-visual img {display:block; width:100%; height:auto;}
.case-card {overflow:hidden;}
.case-card h3 {margin-bottom:.4rem;}

.compare-table {margin-top: 1.5rem; background: #f6f3ee; border-radius: 24px; overflow: hidden;}
.compare-table th, .compare-table td {font-weight: 700; word-break: keep-all;}
.compare-table th:first-child, .compare-table td:first-child {background:#5a3a27; color:#fff;}
.compare-table th:nth-child(2), .compare-table td:nth-child(2) {background:#fff7f1; color:#f05e17; border-left:4px solid #ff5f17; border-right:4px solid #ff5f17;}
.compare-table th:nth-child(2) {border-top:4px solid #ff5f17;}
.compare-table tr:last-child td:nth-child(2) {border-bottom:4px solid #ff5f17;}
.compare-table th:nth-child(3), .compare-table td:nth-child(3),
.compare-table th:nth-child(4), .compare-table td:nth-child(4) {background:#f2f2f2; color:#222;}
.compare-table th i {display:block; margin-bottom:.3rem; color:#ff8a3d;}
.compare-table th span {display:block;}
.compare-table .osusume {display:inline-block; margin-top:.55rem; padding:.2rem .7rem; border-radius:999px; background:#ff5f17; color:#fff; font-size:.85rem;}
.comparison-note {max-width: 980px; margin: .6rem auto 0; font-size: .9rem; color:#5c6474; text-align:center;}

#company .ta1 th {width: 22%;}
#company .ta1 td, #company .ta1 th {word-break: normal;}

@media screen and (min-width:600px) {
  .office-grid {grid-template-columns: 1fr 1fr;}
}
@media screen and (max-width:800px) {
  .title-horizontal .image {padding-top: 12vw; padding-bottom: 12vw;}
  .title-horizontal .image .jp-text {font-size: 1.55rem;}
  .compare-table th, .compare-table td {font-size: .95rem;}
}
@media screen and (max-width:599px) {
  .office-grid {gap:1rem;}
  .office-card {padding:1rem;}
  .office-photo {aspect-ratio: 16 / 10; border-radius:16px;}
  .case-visual {border-radius: 18px;}
  .compare-table {min-width: 680px;}
}

@media screen and (max-width:599px) {
  .case-card {padding: 1rem;}
  .case-card h3 {font-size: 1.08rem;}
  .case-visual {margin: .8rem 0 1rem; border-radius: 16px;}
}


/* ===== 2026-03-29 additional refinements ===== */
#simulation .case-grid {
  align-items: start;
}
#simulation .case-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
#simulation .case-card h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.02rem, 2.2vw, 1.28rem);
  line-height: 1.45;
}
#simulation .case-visual {
  margin: .25rem 0 0;
  border-radius: 22px;
  background: #fff;
}
#simulation .case-visual img {
  width: 100%;
  height: auto;
  display: block;
}
#simulation .case-card .case-cols,
#simulation .case-card .case-copy,
#simulation .case-card .case-text,
#simulation .case-card .case-desc {
  display: none !important;
}
#simulation .simulation-note {
  max-width: 960px;
  margin: 1rem auto 0;
  text-align: center;
}

#plan .scroll {
  overflow: visible;
}
#plan .compare-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
#plan .compare-table th,
#plan .compare-table td {
  white-space: normal;
  line-height: 1.35;
  padding: 1rem .45rem;
}
#plan .compare-table th:first-child,
#plan .compare-table td:first-child {
  width: 28%;
}
#plan .compare-table th:nth-child(2),
#plan .compare-table td:nth-child(2),
#plan .compare-table th:nth-child(3),
#plan .compare-table td:nth-child(3),
#plan .compare-table th:nth-child(4),
#plan .compare-table td:nth-child(4) {
  width: 24%;
}
#plan .compare-table .brand-main {
  display: block;
  font-size: 1rem;
}
#plan .compare-table .brand-sub {
  display: block;
  font-size: .92rem;
  margin-top: .2rem;
}

.lp-form .unit-input {
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: 340px;
}
.lp-form .unit-input input {
  flex: 1 1 auto;
  min-width: 0;
}
.lp-form .unit {
  flex: 0 0 auto;
  font-weight: 700;
  color: #44516b;
}
.lp-form input[type="number"]::-webkit-outer-spin-button,
.lp-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.lp-form input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

#area > .bg-slideup.mb-space-large {
  margin-bottom: 1rem !important;
}
#area .bg-slideup .image {
  padding-top: clamp(24px, 4vw, 34px) !important;
  padding-bottom: clamp(16px, 3vw, 24px) !important;
}

@media screen and (max-width: 799px) {
  #simulation .case-grid {
    gap: 1.1rem;
  }
  #simulation .case-card {
    padding: .8rem;
    border-radius: 18px;
  }
  #simulation .case-visual {
    border-radius: 16px;
  }
  #plan .compare-table th,
  #plan .compare-table td {
    font-size: clamp(.66rem, 2.7vw, .8rem);
    padding: .75rem .2rem;
  }
  #plan .compare-table .brand-main {
    font-size: clamp(.65rem, 2.5vw, .76rem);
  }
  #plan .compare-table .brand-sub {
    font-size: clamp(.58rem, 2.2vw, .68rem);
  }
  #plan .compare-table .osusume {
    font-size: .58rem;
    padding: .12rem .38rem;
    margin-top: .3rem;
  }
  #plan .compare-table th i {
    font-size: .78rem;
    margin-bottom: .16rem;
  }
  #plan .comparison-note {
    font-size: .78rem;
    line-height: 1.55;
    padding: 0 .35rem;
  }
  .lp-form .unit-input {
    max-width: none;
  }
}



/* ===== 2026-03-29 request fixes ===== */
.lp-form input[type="number"] {
  border: 1px solid #c9d8ef;
  border-radius: 12px;
  padding: .9rem 1rem;
  background: #fff;
  color: inherit;
  font: inherit;
  line-height: 1.4;
  box-sizing: border-box;
  height: auto;
}
.lp-form .unit-input.unit-input-short {
  max-width: 270px;
  gap: .55rem;
}
.lp-form .unit-input.unit-input-short input {
  width: 100%;
  max-width: 190px;
}
.lp-form .unit {
  font-size: 1rem;
  white-space: nowrap;
}
.privacy-box-wrap {
  max-width: 980px;
  margin: 1rem auto 0;
  padding: 1rem 1.1rem 0;
  background: #f8fbff;
  border: 1px solid #d7e4f6;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(24,63,133,.05);
}
.privacy-title {
  margin: 0 0 .65rem;
  font-size: 1rem;
  font-weight: 800;
  color: #163b75;
}
.privacy-scroll {
  max-height: 8.8em;
  overflow-y: auto;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid #c9d8ef;
  border-radius: 14px;
  line-height: 1.9;
  color: #44516b;
}
.privacy-scroll p {
  margin: 0 0 .55rem;
}
.privacy-scroll p:last-child {
  margin-bottom: 0;
}
.privacy-consent {
  margin: .9rem 0 0;
  padding-bottom: .1rem;
}
.privacy-consent label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
}
.floating-cta a::after {
  content: "☝";
  position: absolute;
  right: 12px;
  top: -14px;
  bottom: auto;
  font-size: 1.35rem;
  line-height: 1;
  opacity: 1;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.18));
  animation: fingerTapVisible 2.2s ease-in-out infinite;
}
.floating-cta .line-btn::after {
  animation-delay: 0s;
}
.floating-cta .mail-btn::after {
  animation-delay: 1.1s;
}
@keyframes fingerTapVisible {
  0%, 18%, 100% {transform: translate(0, 0) scale(1); opacity: 1;}
  4% {transform: translate(0, 0) scale(1); opacity: 1;}
  8% {transform: translate(-2px, 18px) scale(.94); opacity: 1;}
  12% {transform: translate(0, 10px) scale(1); opacity: 1;}
}
@media screen and (max-width: 799px) {
  .lp-form .unit-input.unit-input-short {
    max-width: 100%;
  }
  .lp-form .unit-input.unit-input-short input {
    max-width: 160px;
  }
  .privacy-box-wrap {
    padding: .9rem .9rem 0;
    border-radius: 16px;
  }
  .privacy-scroll {
    max-height: 9.4em;
    padding: .8rem .85rem;
    line-height: 1.8;
  }
  .floating-cta a::after {
    right: 8px;
    top: -10px;
    font-size: 1.15rem;
  }
}


/* ===== 2026-03-29 PHP公開版 + 同一ページ導線 ===== */
.redirect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg,#2f70da,#81e8ed);
  box-shadow: 0 12px 28px rgba(47,112,218,.24);
}
.form-error-box,
.thanks-card {
  max-width: 760px;
  margin: 1.4rem auto 0;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid #d7e4f6;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(24,63,133,.05);
}
.form-error-box ul {
  margin: .8rem 0 0;
  padding-left: 1.2rem;
}
.back-contact-link {
  margin-top: 1rem;
}
.back-contact-link a {
  color: #2f70da;
  font-weight: 700;
}
.lp-form .privacy-consent input[type="checkbox"] {
  accent-color: #2f70da;
}
.floating-cta a::after {
  content: none;
}
.floating-cta .label .main-text {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.floating-cta .tap-hand {
  display: inline-block;
  line-height: 1;
  transform-origin: center bottom;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.18));
  animation: tapHandInline 2.2s ease-in-out infinite;
}
@keyframes tapHandInline {
  0%, 18%, 100% {transform: translateY(0) scale(1);}
  7% {transform: translateY(3px) scale(.94);}
  12% {transform: translateY(0) scale(1);}
}
@media screen and (max-width:520px) {
  .floating-cta .label .main-text {
    gap: .2rem;
  }
}


/* ===== 2026-03-29 final brand / hero / form fixes ===== */
#mainimg.lp-hero {
  background-image: url("../images/mainimg.jpg") !important;
  background-position: center right !important;
}
#mainimg.lp-hero::before,
#mainimg.lp-hero::after {
  content: none !important;
  display: none !important;
}
#mainimg.lp-hero > div {
  padding-top: 96px !important;
  padding-bottom: 72px !important;
}
#mainimg.lp-hero .hero-panel {
  width: min(780px, 100%);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(219,231,246,.95);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(24,63,133,.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: clamp(18px, 2vw, 28px);
}
#mainimg.lp-hero .text,
#mainimg.lp-hero .text p,
#mainimg.lp-hero .text li {
  color: #20324d !important;
}
#mainimg.lp-hero .eyebrow {
  background: rgba(47,112,218,.10) !important;
  color: #1f4fb3 !important;
  border-color: rgba(47,112,218,.18) !important;
}
#mainimg.lp-hero .hero-subblue {
  color: #1e63d0 !important;
  font-weight: 700;
}
#mainimg.lp-hero .hero-points li {
  background: rgba(255,255,255,.88) !important;
  border: 1px solid #d8e4f4 !important;
  color: #27405f !important;
  box-shadow: 0 8px 18px rgba(24,63,133,.06);
  backdrop-filter: none !important;
}
#mainimg.lp-hero .hero-cta a {
  box-shadow: 0 12px 26px rgba(24,63,133,.16) !important;
}
@media screen and (max-width: 520px) {
  #mainimg.lp-hero {
    background-image: url("../images/mainimg_sh.jpg") !important;
    background-position: center center !important;
  }
  #mainimg.lp-hero > div {
    padding: 82px 14px 46px !important;
  }
  #mainimg.lp-hero .hero-panel {
    width: 100%;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,.90);
  }
}

.lp-form .unit-input.unit-input-short {
  max-width: 240px;
  align-items: center;
}
.lp-form .unit-input.unit-input-short input.ws,
.lp-form .unit-input.unit-input-short input[type="number"] {
  width: 160px;
  max-width: 160px;
  height: 52px;
  padding: .9rem 1rem;
  border: 1px solid #c9d8ef;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
.lp-form .unit {
  font-weight: 700;
  color: #44516b;
}
@media screen and (max-width: 799px) {
  .lp-form .unit-input.unit-input-short input.ws,
  .lp-form .unit-input.unit-input-short input[type="number"] {
    width: 144px;
    max-width: 144px;
  }
}

#simulation .case-card h3 {
  margin-bottom: .85rem;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.45;
}
#simulation .case-visual {
  margin: 0;
  background: #f7faff;
}
#simulation .case-visual img {
  display: block;
  width: 100%;
  height: auto;
}

footer .brand-en,
#menubar .brand-en-menubar {
  margin: .4rem 0 .7rem;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #57719a;
}
footer p.logo img,
#menubar p.logo img,
#loading img,
header #logo img {
  height: auto;
}


/* ===== 2026-03-29 hero image / CTA / floating final update ===== */
#mainimg.lp-hero {
  background-image: url("../images/mainimg.jpg") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
#mainimg.lp-hero::before,
#mainimg.lp-hero::after {
  content: none !important;
  display: none !important;
}
#mainimg.lp-hero > div {
  max-width: 1240px !important;
  padding: 96px min(5vw, 56px) 76px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1.2rem !important;
}
#mainimg.lp-hero .text {
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  color: #20324d !important;
}
#mainimg.lp-hero .text > p:nth-child(2) {
  font-size: clamp(2rem, 4.7vw, 4.05rem) !important;
  line-height: 1.28 !important;
  letter-spacing: .01em !important;
  margin-bottom: 1rem !important;
}
#mainimg.lp-hero .hero-panel {
  width: min(640px, 100%) !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(219,231,246,.95) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 48px rgba(24,63,133,.10) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 16px 18px !important;
}
#mainimg.lp-hero .hero-subblue {
  color: #1e63d0 !important;
  font-weight: 700 !important;
}
#mainimg.lp-hero .hero-points {display:none !important;}
#mainimg.lp-hero .hero-cta {
  width: min(560px, 100%) !important;
  margin-top: .35rem !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .9rem !important;
  align-items: stretch !important;
}
#mainimg.lp-hero .hero-cta p {
  width: 100% !important;
  margin: 0 !important;
}
#mainimg.lp-hero .hero-cta a {
  width: 100% !important;
  min-height: 58px !important;
  padding: .9rem 1rem !important;
  white-space: nowrap !important;
  text-align: center !important;
}
@media screen and (max-width: 799px) {
  #mainimg.lp-hero {
    background-image: url("../images/mainimg_sh.jpg") !important;
    background-position: center center !important;
  }
  #mainimg.lp-hero > div {
    padding: 86px 14px 54px !important;
    gap: 1rem !important;
  }
  #mainimg.lp-hero .text > p:nth-child(2) {
    font-size: clamp(1.95rem, 7vw, 2.7rem) !important;
  }
  #mainimg.lp-hero .hero-panel {
    width: min(540px, 100%) !important;
    padding: 14px 15px !important;
    border-radius: 18px !important;
  }
  #mainimg.lp-hero .hero-cta {
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .7rem !important;
  }
  #mainimg.lp-hero .hero-cta a {
    min-height: 52px !important;
    padding: .8rem .5rem !important;
    font-size: .92rem !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
}
@media screen and (max-width: 420px) {
  #mainimg.lp-hero .hero-cta a {
    font-size: .84rem !important;
    min-height: 50px !important;
    padding: .72rem .35rem !important;
  }
}

.floating-cta a {
  justify-content: center !important;
  gap: .45rem !important;
}
.floating-cta .label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.floating-cta .label small,
.floating-cta .tap-hand,
.floating-cta .main-text {
  display: none !important;
}
.floating-cta i {
  flex: 0 0 auto;
}
@media screen and (max-width: 520px) {
  .floating-cta a {
    font-size: .84rem !important;
    padding: .8rem .45rem !important;
    gap: .35rem !important;
  }
  .floating-cta a::after {
    right: 6px !important;
  }
}


/* === 2026-03-29 final request overrides === */
#mainimg.lp-hero .hero-points,
#mainimg.lp-hero .hero-points.hero-points-restored {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem !important;
  width: min(760px, 100%) !important;
  margin: 1rem 0 .1rem !important;
  padding: 0 !important;
}
#mainimg.lp-hero .hero-points li,
#mainimg.lp-hero .hero-points.hero-points-restored li {
  list-style: none !important;
  margin: 0 !important;
  padding: .9rem 1rem !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(196,212,234,.95) !important;
  color: #23406d !important;
  font-size: .98rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  box-shadow: 0 14px 32px rgba(24,63,133,.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#mainimg.lp-hero .hero-points li::before,
#mainimg.lp-hero .hero-points.hero-points-restored li::before {
  content: "✓" !important;
  color: #1e63d0 !important;
  font-weight: 900 !important;
  margin-right: .5rem !important;
}
#mainimg.lp-hero .hero-cta {
  width: min(620px, 100%) !important;
}
#mainimg.lp-hero .hero-cta a {
  font-weight: 800 !important;
}
@media screen and (max-width: 799px) {
  #mainimg.lp-hero .hero-points,
  #mainimg.lp-hero .hero-points.hero-points-restored {
    grid-template-columns: 1fr !important;
    gap: .6rem !important;
    margin-top: .85rem !important;
  }
  #mainimg.lp-hero .hero-points li,
  #mainimg.lp-hero .hero-points.hero-points-restored li {
    font-size: .89rem !important;
    padding: .72rem .85rem !important;
    border-radius: 14px !important;
  }
}

#simulation .case-grid {
  gap: 1.6rem !important;
}
#simulation .case-card {
  padding: 1.15rem !important;
}
#simulation .case-card h3 {
  margin-bottom: .8rem !important;
}
#simulation .case-visual {
  margin: 0 0 .95rem !important;
  border: 1px solid #dbe7f6 !important;
  background: linear-gradient(180deg,#fff 0%,#f7fbff 100%) !important;
}
#simulation .case-visual img {
  width: 100% !important;
  height: auto !important;
}
#simulation .case-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
#simulation .case-col {
  border-radius: 18px;
  padding: .95rem .95rem 1rem;
  border: 1px solid #dde8f4;
}
#simulation .case-col.before {
  background: #f6f7fa;
}
#simulation .case-col.after {
  background: #eef6ff;
  border-color: #bfd6fb;
}
#simulation .case-col h4 {
  margin: 0 0 .7rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: #1d3e72;
  text-align: center;
}
#simulation .case-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .52rem;
}
#simulation .case-col li {
  margin: 0;
  padding: .64rem .72rem;
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  color: #23406d;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
}
#simulation .case-col.after li {
  background: rgba(255,255,255,.88);
}
@media screen and (max-width: 799px) {
  #simulation .case-card {
    padding: .95rem !important;
  }
  #simulation .case-compare {
    gap: .55rem;
  }
  #simulation .case-col {
    padding: .72rem .58rem .78rem;
    border-radius: 14px;
  }
  #simulation .case-col h4 {
    font-size: .9rem;
    margin-bottom: .45rem;
  }
  #simulation .case-col li {
    font-size: .72rem;
    padding: .5rem .45rem;
    border-radius: 10px;
  }
}
@media screen and (max-width: 389px) {
  #simulation .case-col li {
    font-size: .67rem;
    letter-spacing: -.01em;
  }
}

.floating-cta a::after {
  display: none !important;
  content: none !important;
}
.floating-cta a {
  justify-content: center !important;
  gap: .6rem !important;
  min-height: 66px !important;
  font-size: 1.14rem !important;
}
.floating-cta .label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: .4rem !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}
.floating-cta .label small {
  display: none !important;
}
.floating-cta .main-text {
  display: inline !important;
  font-size: 1.05em !important;
  font-weight: 800 !important;
}
.floating-cta .tap-hand {
  display: inline-block !important;
  font-size: 1.1em !important;
  line-height: 1 !important;
  transform-origin: 50% 100%;
  animation: fingerInlineTap 1.9s ease-in-out infinite;
}
.floating-cta i {
  flex: 0 0 auto;
  font-size: 1.15em !important;
}
@keyframes fingerInlineTap {
  0%, 20%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(2px) scale(.95) rotate(-8deg); }
  45% { transform: translateY(4px) scale(.9) rotate(-12deg); }
  58% { transform: translateY(1px) scale(1.02) rotate(0deg); }
}
@media screen and (max-width: 520px) {
  .floating-cta a {
    min-height: 58px !important;
    font-size: .96rem !important;
    padding: .8rem .4rem !important;
    gap: .35rem !important;
  }
  .floating-cta .label {
    gap: .2rem !important;
  }
  .floating-cta .main-text {
    font-size: 1em !important;
  }
  .floating-cta .tap-hand {
    font-size: 1em !important;
  }
}


/* === 2026-03-29 visual refinements === */
#mainimg.lp-hero .hero-points li,
#mainimg.lp-hero .hero-points.hero-points-restored li {
  background: linear-gradient(135deg, rgba(255, 237, 244, 0.56), rgba(241, 248, 255, 0.46)) !important;
  border: 1px solid rgba(255, 205, 222, 0.72) !important;
  box-shadow: 0 14px 32px rgba(44, 96, 171, .08) !important;
  backdrop-filter: blur(8px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(130%) !important;
}
#mainimg.lp-hero .hero-points li::before,
#mainimg.lp-hero .hero-points.hero-points-restored li::before {
  color: #ff5b94 !important;
}

#simulation .case-card {
  padding: 1.3rem 1.1rem 1.15rem !important;
}
#simulation .case-card h3 {
  margin-bottom: .95rem !important;
}
#simulation .case-visual {
  display: none !important;
}
#simulation .case-compare {
  position: relative;
  align-items: stretch;
  gap: 1rem;
}
#simulation .case-compare::after {
  content: "→";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffa85d 0%, #ff7a24 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(255, 122, 36, .28);
  z-index: 3;
}
#simulation .case-col {
  position: relative;
  min-height: 100%;
  padding: 1rem 1rem 1.05rem;
}
#simulation .case-col li {
  padding: .68rem .78rem;
}
#simulation .case-col li.metric-total {
  background: linear-gradient(180deg, #70798d 0%, #556079 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(52, 64, 88, .22);
}
#simulation .case-col li.metric-payment {
  background: linear-gradient(180deg, #ffbb77 0%, #ff8c35 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(255, 140, 53, .26);
}
#simulation .case-col li.metric-total,
#simulation .case-col li.metric-payment {
  font-size: 1rem;
  font-weight: 800;
}

#plan .compare-table th,
#plan .compare-table td {
  position: relative;
}
#plan .compare-table tr:not(:first-child) td:nth-child(2)::before {
  content: "→";
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffbf84 0%, #ff8c35 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(255, 140, 53, .25);
  z-index: 3;
}
#plan .compare-table td:nth-child(2) {
  box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.08);
}

.floating-cta a {
  min-height: 68px !important;
  font-size: 1.16rem !important;
}
.floating-cta .main-text {
  font-size: 1.08em !important;
  letter-spacing: .01em;
}
.floating-cta .tap-hand {
  font-size: 1.18em !important;
}
@media screen and (max-width: 520px) {
  .floating-cta a {
    min-height: 64px !important;
    font-size: 1.06rem !important;
    padding: .86rem .28rem !important;
    gap: .28rem !important;
  }
  .floating-cta .label {
    gap: .16rem !important;
  }
  .floating-cta .main-text {
    font-size: 1.06em !important;
  }
  .floating-cta .tap-hand {
    font-size: 1.08em !important;
  }
  #simulation .case-compare {
    gap: .62rem;
  }
  #simulation .case-compare::after {
    width: 1.72rem;
    height: 1.72rem;
    font-size: .88rem;
  }
  #simulation .case-col {
    padding: .8rem .62rem .84rem;
  }
  #simulation .case-col li {
    font-size: .74rem;
    padding: .56rem .46rem;
  }
  #simulation .case-col li.metric-total,
  #simulation .case-col li.metric-payment {
    font-size: .78rem;
  }
  #plan .compare-table tr:not(:first-child) td:nth-child(2)::before {
    width: 1.5rem;
    height: 1.5rem;
    left: -.7rem;
    font-size: .78rem;
  }
}
@media screen and (max-width: 389px) {
  .floating-cta a {
    font-size: .98rem !important;
  }
  .floating-cta .main-text {
    font-size: 1.02em !important;
  }
  #simulation .case-compare::after {
    width: 1.56rem;
    height: 1.56rem;
    font-size: .8rem;
  }
  #plan .compare-table tr:not(:first-child) td:nth-child(2)::before {
    width: 1.35rem;
    height: 1.35rem;
    left: -.58rem;
    font-size: .72rem;
  }
}

/* ===== Form confirm flow additions ===== */
.inline-form-error,
.form-note-box,
.confirm-note-box {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto 24px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.inline-form-error {
  background: #fff5f6;
  border: 1px solid #f2c7cf;
  padding: 18px 22px;
}
.inline-form-error p {
  margin: 0 0 10px;
  font-weight: 700;
  color: #b63a4f;
}
.inline-form-error ul,
.form-note-box ul,
.confirm-note-box ul {
  margin: 0;
  padding-left: 1.2em;
}
.inline-form-error li { color: #7a3040; }
.form-note-box,
.confirm-note-box {
  background: #ffffff;
  border: 1px solid rgba(54, 110, 202, 0.14);
  padding: 18px 22px;
}
.form-note-box p,
.confirm-note-box p {
  margin: 0 0 10px;
  color: var(--primary-color);
}
.form-note-box li,
.confirm-note-box li {
  color: #444;
  line-height: 1.8;
}
.confirm-table {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto 26px;
}
.confirm-table th {
  width: 220px;
}
.confirm-message {
  white-space: normal;
  line-height: 1.9;
}
.confirm-actions {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.confirm-actions form {
  margin: 0;
}
.submit-confirm-btn,
.redirect-btn.back-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-width: 260px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.submit-confirm-btn {
  background: linear-gradient(180deg, #3f8cff 0%, #2869e6 100%);
  color: #fff;
  cursor: pointer;
}
.redirect-btn.back-btn {
  background: #f3f7ff;
  color: #2457b4;
}
@media screen and (max-width: 700px) {
  .inline-form-error,
  .form-note-box,
  .confirm-note-box,
  .confirm-table,
  .confirm-actions {
    width: calc(100% - 24px);
  }
  .confirm-table th,
  .confirm-table td {
    display: block;
    width: auto;
  }
  .confirm-table th {
    border-bottom: 0;
    padding-bottom: 4px;
  }
  .confirm-table td {
    padding-top: 0;
  }
  .submit-confirm-btn,
  .redirect-btn.back-btn {
    min-width: 0;
    width: 100%;
  }
}


/* === 2026-04-04 hero/restart update === */
#mainimg.lp-hero {
  background-image: url("../images/mainimg.jpg") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
#mainimg.lp-hero > div {
  max-width: 1240px !important;
  padding: 96px min(5vw, 56px) 76px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 1.15rem !important;
}
#mainimg.lp-hero .text {
  width: min(760px, 100%) !important;
  max-width: 760px !important;
}
#mainimg.lp-hero .eyebrow {
  background: rgba(255,255,255,.82) !important;
  color: #c85f7f !important;
  border-color: rgba(255,255,255,.92) !important;
  box-shadow: 0 10px 24px rgba(24,63,133,.08) !important;
}
#mainimg.lp-hero .text > p:nth-child(2) {
  font-size: clamp(2.05rem, 4.65vw, 4rem) !important;
  line-height: 1.26 !important;
  letter-spacing: .01em !important;
  margin-bottom: .95rem !important;
  color: #1f3150 !important;
  text-shadow: 0 2px 10px rgba(255,255,255,.28);
}
#mainimg.lp-hero .hero-panel {
  width: min(720px, 100%) !important;
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(231,219,229,.92) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 48px rgba(24,63,133,.10) !important;
  padding: 16px 18px !important;
}
#mainimg.lp-hero .hero-subblue {
  color: #2f67c7 !important;
  font-weight: 700 !important;
}
#mainimg.lp-hero .hero-points,
#mainimg.lp-hero .hero-points.hero-points-restored {
  width: min(760px, 100%) !important;
  margin-top: .95rem !important;
}
#mainimg.lp-hero .hero-points li,
#mainimg.lp-hero .hero-points.hero-points-restored li {
  background: linear-gradient(135deg, rgba(255,242,246,.68), rgba(245,249,255,.58)) !important;
  border: 1px solid rgba(236,198,214,.82) !important;
  box-shadow: 0 16px 34px rgba(44, 96, 171, .09) !important;
  backdrop-filter: blur(10px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(130%) !important;
}
@media screen and (max-width: 799px) {
  #mainimg.lp-hero {
    background-image: url("../images/mainimg_sh.jpg") !important;
    background-position: center center !important;
  }
  #mainimg.lp-hero > div {
    padding: 84px 14px 52px !important;
    gap: .95rem !important;
  }
  #mainimg.lp-hero .text > p:nth-child(2) {
    font-size: clamp(1.85rem, 6.7vw, 2.7rem) !important;
  }
  #mainimg.lp-hero .hero-panel {
    width: min(560px, 100%) !important;
    padding: 14px 15px !important;
    border-radius: 18px !important;
  }
}
.restart-section {
  position: relative;
  padding: var(--space-large) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 219, 233, 0.48), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(255, 234, 242, 0.58), transparent 22%),
    linear-gradient(180deg, #fff8fb 0%, #fff2f7 52%, #fff8fb 100%);
}
.restart-section::before,
.restart-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.restart-section::before {
  background:
    radial-gradient(circle at 8% 70%, rgba(255, 210, 225, 0.30), transparent 16%),
    radial-gradient(circle at 94% 76%, rgba(255, 220, 232, 0.28), transparent 15%);
}
.restart-section::after {
  opacity: .22;
  background-image: url('../images/bg_pattern1.png');
  background-size: 360px auto;
  background-repeat: repeat;
}
.restart-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - var(--space-large) * 2));
  margin: 0 auto;
}
.restart-hero {
  margin: 0 0 1.6rem;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(173, 103, 132, .12);
  border: 1px solid rgba(245, 206, 220, .95);
  background: #fffdfd;
}
.restart-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.restart-copy h2.c {
  margin-bottom: .8rem;
}
.restart-copy h2.c span {
  color: #b05f82;
}
.restart-lead {
  max-width: 920px;
  margin: 0 auto 1.35rem;
  text-align: center;
  line-height: 2;
  color: #6a4b5b;
}
.restart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.restart-card {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(245, 206, 220, .95);
  border-radius: 24px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 14px 32px rgba(173, 103, 132, .08);
  backdrop-filter: blur(5px);
}
.restart-card h3 {
  margin: 0 0 .7rem;
  color: #9b4f6f;
  font-size: 1.08rem;
  line-height: 1.55;
}
.restart-card p {
  margin: 0;
  line-height: 1.9;
  color: #6a5560;
}
.restart-message {
  margin-top: 1.2rem;
  background: linear-gradient(135deg, rgba(255, 245, 249, .94), rgba(255, 233, 242, .94));
  border: 1px solid rgba(240, 200, 216, .96);
  border-radius: 24px;
  padding: 1.15rem 1.4rem;
  box-shadow: 0 14px 32px rgba(173, 103, 132, .08);
}
.restart-message p {
  margin: 0;
  text-align: center;
  color: #8a4564;
  font-weight: 700;
  line-height: 1.9;
}
@media screen and (max-width: 799px) {
  .restart-inner {
    width: min(100% - 28px, 1000px);
  }
  .restart-hero {
    margin-bottom: 1.15rem;
    border-radius: 22px;
  }
  .restart-grid {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .restart-card {
    border-radius: 18px;
    padding: 1rem .95rem;
  }
  .restart-card h3 {
    font-size: 1rem;
  }
  .restart-card p,
  .restart-lead,
  .restart-message p {
    line-height: 1.8;
  }
}


/* === 2026-04-04 requested hero + restart tweaks === */
#mainimg.lp-hero {
  background-image: url("../images/mainimg.jpg") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
#mainimg.lp-hero .eyebrow {
  background: rgba(255,255,255,.84) !important;
  color: #c75f85 !important;
  border-color: rgba(255,255,255,.96) !important;
  box-shadow: 0 10px 28px rgba(177, 95, 132, .12) !important;
}
#mainimg.lp-hero .eyebrow-brand {
  display: block;
  margin-top: .2rem;
  font-size: 1.08em;
  font-weight: 800;
  letter-spacing: .04em;
  color: #a94f74;
}
#mainimg.lp-hero .hero-main {
  color: #ffffff !important;
  -webkit-text-stroke: 2px #da7aa4;
  paint-order: stroke fill;
  text-shadow: 0 6px 18px rgba(121, 71, 95, .22) !important;
}
.restart-copy h2.c,
.restart-copy h2.c span {
  color: #9b4f6f !important;
}
@media screen and (max-width: 799px) {
  #mainimg.lp-hero {
    background-image: url("../images/mainimg_sh.jpg") !important;
    background-position: center center !important;
  }
  #mainimg.lp-hero .hero-main {
    -webkit-text-stroke: 1.4px #da7aa4;
  }
  #mainimg.lp-hero .eyebrow-brand {
    font-size: 1em;
  }
}


/* === 2026-04-04 final mobile hero and headline fix === */
#mainimg.lp-hero .hero-main {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 2px #da7aa4 !important;
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 rgba(218,122,164,.92),
     1px -1px 0 rgba(218,122,164,.92),
    -1px  1px 0 rgba(218,122,164,.92),
     1px  1px 0 rgba(218,122,164,.92),
     0 8px 20px rgba(121, 71, 95, .22) !important;
}
@media screen and (max-width: 799px) {
  #mainimg.lp-hero {
    background-image: url("../images/mainimg_sh.jpg") !important;
    background-position: center top !important;
    background-size: cover !important;
  }
  #mainimg.lp-hero > div {
    padding-top: clamp(300px, 66vw, 430px) !important;
    padding-bottom: 42px !important;
    gap: .85rem !important;
  }
  #mainimg.lp-hero .text {
    width: 100% !important;
    max-width: 100% !important;
  }
  #mainimg.lp-hero .hero-main {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-text-stroke: 1.6px #da7aa4 !important;
    font-size: clamp(1.72rem, 7vw, 2.5rem) !important;
    line-height: 1.22 !important;
    text-shadow:
      -1px -1px 0 rgba(218,122,164,.92),
       1px -1px 0 rgba(218,122,164,.92),
      -1px  1px 0 rgba(218,122,164,.92),
       1px  1px 0 rgba(218,122,164,.92),
       0 8px 18px rgba(121, 71, 95, .18) !important;
  }
}


/* === 2026-04-05 hero eyebrow reposition / remove background === */
#mainimg.lp-hero > div {
  position: relative !important;
}
#mainimg.lp-hero .eyebrow {
  position: absolute !important;
  top: 28px !important;
  left: min(5vw, 56px) !important;
  z-index: 5 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: clamp(1rem, 1.35vw, 1.18rem) !important;
  line-height: 1.45 !important;
  letter-spacing: .04em !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.24) !important;
}
#mainimg.lp-hero .eyebrow-brand {
  display: block !important;
  margin-top: .18rem !important;
  color: #ffffff !important;
  font-size: 1.06em !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.24) !important;
}
@media screen and (max-width: 999px) {
  #mainimg.lp-hero .eyebrow {
    top: 22px !important;
    left: 20px !important;
    font-size: clamp(.92rem, 3.2vw, 1.05rem) !important;
    line-height: 1.38 !important;
  }
}
@media screen and (max-width: 799px) {
  #mainimg.lp-hero .eyebrow {
    top: 18px !important;
    left: 14px !important;
    max-width: calc(100% - 28px) !important;
    font-size: .92rem !important;
  }
  #mainimg.lp-hero .eyebrow-brand {
    font-size: 1em !important;
  }
}

/* === 2026-04-05 keep hero title fixed under logo without overlapping === */
#mainimg.lp-hero {
  --hero-brand-top-desktop: clamp(96px, 9vw, 122px);
  --hero-brand-left-desktop: clamp(18px, 3vw, 46px);
}
#mainimg.lp-hero .text {
  padding-top: clamp(60px, 5vw, 78px) !important;
}
#mainimg.lp-hero .eyebrow {
  top: var(--hero-brand-top-desktop) !important;
  left: var(--hero-brand-left-desktop) !important;
  right: auto !important;
  width: max-content !important;
  max-width: min(52vw, 420px) !important;
  white-space: normal !important;
}
@media screen and (max-width: 999px) {
  #mainimg.lp-hero {
    --hero-brand-top-desktop: 86px;
    --hero-brand-left-desktop: 18px;
  }
  #mainimg.lp-hero .text {
    padding-top: 56px !important;
  }
  #mainimg.lp-hero .eyebrow {
    max-width: min(68vw, 340px) !important;
  }
}
@media screen and (max-width: 799px) {
  #mainimg.lp-hero {
    --hero-brand-top-desktop: 72px;
    --hero-brand-left-desktop: 14px;
  }
  #mainimg.lp-hero .text {
    padding-top: 54px !important;
  }
  #mainimg.lp-hero .eyebrow {
    top: var(--hero-brand-top-desktop) !important;
    left: var(--hero-brand-left-desktop) !important;
    max-width: calc(100% - 28px) !important;
    font-size: .9rem !important;
    line-height: 1.35 !important;
  }
}


/* === 2026-04-05 request: logo / faq / area / footer fix === */
header {
  height: 86px !important;
}
@media screen and (min-width:700px) {
  header {
    height: 118px !important;
  }
}
#logo img,
header #logo img {
  width: 255px !important;
  max-width: min(72vw, 255px) !important;
  height: auto !important;
}
@media screen and (min-width:700px) {
  #logo img,
  header #logo img {
    width: 420px !important;
    max-width: min(46vw, 420px) !important;
  }
}
footer p.logo img,
#menubar p.logo img,
#loading img {
  width: min(380px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
}
#mainimg.lp-hero .text {
  padding-top: clamp(112px, 12vw, 168px) !important;
}
@media screen and (max-width: 799px) {
  #mainimg.lp-hero > div {
    padding-top: clamp(320px, 70vw, 455px) !important;
  }
  #mainimg.lp-hero .text {
    padding-top: 0 !important;
  }
}
#mainimg.lp-hero .eyebrow,
#mainimg.lp-hero .eyebrow-brand {
  display: none !important;
}
.office-consult-list {
  margin: 1rem 0 0;
  padding: 1.1rem 1.2rem 1.1rem 1.4rem;
  list-style: none;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(212,140,169,.25);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(194,128,160,.10);
}
.office-consult-list li {
  position: relative;
  margin: .55rem 0;
  padding-left: 1.15rem;
  line-height: 1.85;
}
.office-consult-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #c45c88;
  font-weight: 700;
}
#faq {
  background: linear-gradient(180deg, #fff8fb 0%, #fff 100%) !important;
}
.faq {
  display: grid;
  gap: 14px;
}
.faq dt {
  position: relative;
  display: block;
  margin: 0;
  padding: 1.15rem 3.8rem 1.15rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fff8fb 100%) !important;
  color: #7f4d67 !important;
  border: 1px solid rgba(201,114,149,.22);
  box-shadow: 0 8px 22px rgba(191,129,158,.10);
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.faq dt::before {
  display: none !important;
  content: none !important;
}
.faq dt::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d96b9a;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(217,107,154,.24);
}
.faq dt.opened {
  background: linear-gradient(180deg, #ffe8f1 0%, #fff6fa 100%) !important;
  border-color: rgba(201,114,149,.42);
  box-shadow: 0 10px 26px rgba(191,129,158,.16);
}
.faq dt.opened::after {
  content: "−";
}
.faq dd {
  margin: -2px 0 0;
  padding: 1rem 1.15rem 1.15rem 1.15rem;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(201,114,149,.18);
  border-top: none;
  border-radius: 0 0 16px 16px;
  color: #5f5360;
  box-shadow: 0 10px 22px rgba(191,129,158,.08);
}
@media screen and (max-width: 799px) {
  .faq dt {
    padding: 1rem 3.35rem 1rem 1rem;
    line-height: 1.75;
  }
  .faq dt::after {
    right: 12px;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
  .faq dd {
    padding: .95rem 1rem 1rem 1rem;
  }
}
