@charset "utf-8";


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

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

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


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

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

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

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

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


body {
	margin: 0;padding:0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", "MS PGothic", sans-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: 3vw;	
}


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

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



/*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;	/*ヘッダーの高さ*/
	}

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

	@media screen and (min-width:700px) {
		main { padding-top: 90px; }  /* 追記：PC相当ではヘッダー高90pxに合わせる */
	}


/*ロゴのスペース*/
#logo {
	margin: 0;
	padding-left: 3vw;  /* 左の余白だけ残す */
	width: auto;        /* 幅は中身に合わせる */
}

/* ロゴ画像 */
#logo img {
	display: block;
	width: 20vw;        /* 画面幅に応じて縮む */
	max-width: 120px;   /* ただし120pxを超えない */
	height: auto;       /* 比率は保持 */
}

@media screen and (min-width:700px) {
	#logo img {
		width: 120px;    /* PCは固定サイズ */
	}
}

/*ヘッダー内メニュー
---------------------------------------------------------------------------*/
/*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.5;	/*行間*/
	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: 16vw;	/*上のテキストとボタンの間のスペース。*/
	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;	/*文字サイズ*/
		margin-top: 3vw;	/*上のテキストとボタンの間のスペース。*/
	}
	
	#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;
 	padding-top: 60px;   /* 追記：ヘッダー（60px）と重ならないように基本の余白 */
}

/*h2見出し（共通）*/
main h2 {
	margin: 0;padding: 0;
	line-height: 1.5;	/*行間*/
	font-size: 1.4rem;		/*文字サイズ。240%。*/
	font-weight: 800;		/*太字に*/
	margin-bottom: 3vw;		/*下にスペースを空ける*/
	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;
	line-height: 1.5; /* ← 行間指定 */
}

/*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;		/*左からの配置場所*/
	}

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

/*ナビ男くん取り扱いシステム
---------------------------------------------------------------------------*/
/*ブロック内の見出し行間調整*/

#system h4 {
	line-height: 1.5;
}

/*フッター
---------------------------------------------------------------------------*/
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;
}

/* footerロゴ共通 */
footer .logo img {
  max-width: 200px;  /* PC/SP共通での最大サイズ */
  width: 100%;       /* 親幅に応じて縮小 */
  height: auto;      /* 縦横比保持 */
  display: block;
}

/* SPサイズのときにさらに小さく */
@media screen and (max-width: 700px) {
  footer .logo img {
    max-width: 180px;
  margin: 0 auto;    /* センター寄せ */
  }
}


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


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


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

	/*画面幅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: 12rem;			/*幅。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;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	}

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



/*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;		/*テキストをセンタリング*/
	width: 24rem;
}

/*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を読み込みます。*/
}

/* スマホサイズでbtn1ボタンを中央揃え */
@media screen and (max-width:600px) {
  .btn1 a {
    display: inline-block;
    width: 16rem;
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
  }
}

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


/*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.5;	/*行間*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
	position: relative;
}


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

/*bg1内のfigureへの追加設定*/
.bg1 .list-grid1 .list figure.icon {
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
}

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

	/*ボックス内のfigure画像*/
	.list-grid1 .list figure.icon {
		width: 200px;		/*画像サイズ*/
		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: 1rem 2rem;	/*上下、左右へのボックス内の余白*/
	margin: 1rem 0;		/*上下、左右へのマージン*/
	border-radius: 15px;	/*角を丸くする指定*/
}

	/*画面幅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: 15px;	/*角丸の上書き*/
	}
	
	/*2つ目のボックス（資料請求）*/
	.list-c2 .list:nth-of-type(2) {
		border-radius: 15px;	/*角丸の上書き*/
	}
	
	}/*追加指定ここまで*/


/*左側ボックスの背景*/
.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.3;	/*行間を狭く*/
	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: 1rem;	上に空ける余白*/
	/*padding-bottom: 1rem;	下に空ける余白*/
}

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

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

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


/*テキスト*/
.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%にすると逆に移動します。*/
}


/*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;	/*画像とテキストの間のスペース。２文字分。画像がない場合はこれは適用されません。*/
	}
	
	}/*追加指定ここまで*/

/* === スマホ用（～600px）で縦並びを制御 === */
@media screen and (max-width:600px) {
  .list-normal1 .list {
    display: flex;
    flex-direction: column; /* 通常は画像→テキスト */
  }
  .list-normal1 .list.reverse {
    flex-direction: column-reverse; /* reverse時は画像が下 */
  }
}

/*画像ブロック*/
.list-normal1 figure {
	width: 50%;	/*パソコン用写真幅*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
}

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

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

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

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

	.list-normal1 figure {
		width: 100%;	/*スマホ用写真幅*/
	}

	}/*画面幅600px以下の追加指定ここまで*/



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

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

/*h5見出し（2025/07/23アイテル作成）*/
h5 {
	display: block;
	font-size: 1rem;	/*文字サイズ200%*/
	line-height: 1.5;	/*行間*/
	margin-top: 2rem !important;	/*上に空けるスペース*/
	margin-bottom: 1rem !important;	/*下に空けるスペース*/
}

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

	h5 {
		font-size: 1.5rem;	/*文字サイズ200%*/
		line-height: 1.8;	/*行間*/
	}
}

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

/*取り扱いシステム　各項目からシステム詳細へのリンク*/
.list-normal1 .details-link {
	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;
}
/*会社概要
---------------------------------------------------------------------------*/
/*建物写真を左右100%に*/
.company-image {
	width: 100vw;
	max-width: 100%;
	display: block;
	margin: 0 auto;
}



/*テーブル（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;	/*テキストをセンタリング*/
}



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



/*その他
---------------------------------------------------------------------------*/
.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;}
.mb0 {margin-bottom: 0px !important;}
.mb15 {margin-bottom: 15px !important;}
rder-radius: 3px;margin: 5px 0; word-break: break-all;}
.dn {display: none !important;}
.block {display: block !important;}
.inline-block {display: inline-block !important;}
.relative {position: relative;}
.marker {background: linear-gradient(transparent 50%, yellow);}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	.ws {width: 60%;display: inline;}
	}

/*2025/08/22　アイテル独自その他指定*/
.ul {text-decoration: underline !important;}



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



/*2025/07/23　アイテル独自追記
---------------------------------------------------------------------------*/

/* 写真幅100%に */
#paperless01 figure,
#paperless02 figure,
#alcoholcheck01 figure,
#reservation01 figure {
	width: 100% !important;
}

/* 通常の縦並びレイアウトを維持する */
#paperless01,
#paperless02,
#alcoholcheck01,
#reservation01 {
	flex-direction: column !important;
}

/* ご導入後の声 
---------------------------------------------------------------------------*/

.aka-futo {
  color: #ff0000;
  font-weight: bold;
}

#merit h3 {
  margin-top: 0;
  text-align: center;
  font-size: 1.1rem;
  color: #1e4e8c;
}

.comment-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.comment-image {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-right: 0.5rem;
}

.title-svg,
.face-p {
  width: 100px;
  height: auto;
  flex-shrink: 0;
  display: block;
  margin: 0;
  image-rendering: -webkit-optimize-contrast; /* Safari/Chrome */
  image-rendering: crisp-edges;               /* Firefoxなど */
}

.comment-text {
  position: relative;
  background: #f0f8ff;
  border-radius: 10px;
  padding: 1rem;
  width: 100%;
  border: 2px solid #ccc;
}

.comment-text h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #1e4e8c;
}

.comment-text ul {
  margin: 0;
  padding-left: 1.2rem;
}

.comment-text li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .comment-block {
    flex-direction: column;
    align-items: center;
  }
  .comment-image {
    flex-direction: row;
    justify-content: center;
    gap: 0;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* PCは2列×2段、SPは1列×4段 */
.merit-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .merit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* セクション見出しの下余白を統一 */
#merit h2, #merit h3 {
  margin-bottom: 3rem;
}

.comment-text ul li {
  line-height: 1.3;     /* 行間を狭くする（初期は1.6前後） */
  margin-bottom: 0.5em; /* 各項目の下の余白を独自に調整 */
}



/* とにかく手間がかからず便利な“ビジネスCARナビ男くん”
---------------------------------------------------------------------------*/

#kokogachigau h2 { margin: 0 0 2rem; }

/* 2カラム（PC）／1カラム（SP） */
.diff-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .diff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 各ボックス（既存カード調） */
.diff-item {
  background: var(--base-color);
  color: var(--base-inverse-color);
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.08);
  padding: 1.5rem;
}

/* 課題パート */
.diff-before {
  background: #fffaf0;
  border: 1px solid #f0d9a5;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  line-height: 1.7;
}

/* 「ナビ男くんなら…」バッジ（下向き三角） */
.cta-badge {
  display: inline-block;
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  position: relative;
  margin: 0.8rem 0;
  letter-spacing: 0.03em;
}
.cta-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--primary-color);
}

/* 解決パート */
.diff-after {
  background: var(--base-color);
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  line-height: 1.7;
}

/* SP微調整 */
@media (max-width: 600px) {
  .diff-item { padding: 1.2rem; }
  .diff-before, .diff-after { padding: 0.8rem; }
}

/* 固定ヘッダー対策：アンカー位置の補正（見出しなどIDを持つ要素に余白） */
:where(h2, h3, h4, section)[id] { scroll-margin-top: 100px; }
@media screen and (min-width:700px) {
  :where(h2, h3, h4, section)[id] { scroll-margin-top: 120px; }
}



/* SAFE-DR システム詳細ページ専用記述
---------------------------------------------------------------------------*/

/* safe-dr_details 専用 list-normal1 */
.details-list .list {
  background-color: #f7f6f3; /* 薄いベージュ系 */
}

/* システム詳細 小見出し */
.details-list .sub-heading {
  display: block;
  font-size: 1rem;   /* 小さめ文字 */
  color: #555;          /* 落ち着いた色 */
  margin-bottom: -0.3rem;
}

/* h4内SVGアイコン用調整 */
.list-normal1 h4 img {
  width: 1.2em;       /* 見出し文字サイズに合わせる（emで相対指定） */
  height: auto;
  margin-right: 0.2em; /* アイコンと文字の間に余白 */
  vertical-align: middle;
}

.list-normal1 h4 {
  display: flex;        /* アイコンとテキストを横並びに */
  align-items: center;  /* アイコンと文字の高さを中央揃え */
}



/* お問い合わせ用フォーム　送信・戻るボタン
--------------------------------------------------------------------------- */
.contact-btn {
  min-width: 150px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background: #fff; 
  border-radius: 4px;
  cursor: pointer;
  display: flex;              /* 中央寄せのため追加 */
  align-items: center;        /* 縦方向中央 */
  justify-content: center;    /* 横方向中央 */
  text-align: center;         /* テキスト中央 */
}

.contact-btn:hover {
  opacity: 0.9;
}

.contact-btn-wrap,
.contact-btn-pair {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* お問い合わせ用フォーム　注意コメント左端位置合わせ */
.error-list {
  margin-left: 6rem;
}

.contact-note {
  margin-left: 6rem;
}

/* アンカー(#id)へ飛ぶ時の見出しかぶり(位置ずれ)対策 */
section[id] {
  scroll-margin-top: 0px;
}


/*  ダウンロードページ専用css
--------------------------------------------------------------------------- */

.download-wrap {
  max-width:  1000px;
  margin:  40px  auto;
  padding:  0  3vw;
}

.download-wrap .list {
  border:1px  solid  #eee;
  border-radius:8px;
  padding:1rem;
  margin-bottom:0.8rem;
  display:flex;
  justify-content:space-between;
  /*  align-items:center; */
  gap:1rem;
}

.dl-btn {
  display:inline-block;
  width: 160px;
  text-align:center;
  padding:0.6rem 0;
  border-radius:6px;
  font-weight:700;
  text-decoration:none;
  transition: all 0.2s ease;
  box-sizing:border-box;
}

.btn-download {
  background:#81e8ed;   /* 水色 */
  color:#1d2b2b;
}

.btn-gated {
  background:#ffd966;   /* 薄いオレンジ/黄色 */
  color:#333;
}

.btn-download:hover,
.btn-gated:hover {
  transform:scale(1.03);
  opacity:0.9;
}

.form {
  border:1px  dashed  #bbb;
  border-radius:8px;
  padding:1rem;
  margin-top:1rem;
}

.hp {
  position:absolute;
  left:-9999px;
}

.msg-ok {
  background:#e8fff0;
  border:1px  solid  #9ad0a8;
  padding:0.8rem;
  border-radius:6px;
  margin:1rem  0;
}

.msg-ng {
  background:#fff2f2;
  border:1px  solid  #f0a0a0;
  padding:0.8rem;
  border-radius:6px;
  margin:1rem  0;
}

.small {
  font-size:0.9rem;
  color:#666;
}

