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


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


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

	--primary-color: #5dbd87;			/*テンプレートのテーマカラー*/
	--primary-inverse-color: #fff;		/*上のprimary-colorの対となる色*/

	--secondary-color: #d6f2e3;			/*テンプレートのサブカラー*/
	--secondary-inverse-color: #444;	/*secondary-colorの対となる色*/
	
	--accent-color: #f78c6b;			/*テンプレートのアクセントカラー*/
	--accent-inverse-color: #fff;		/*accent-colorの対となる色*/

	/*余白の一括管理用。主に左右の余白に使っています。4rem＝4文字分。*/
	--content-space: 4rem;
	
}


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


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


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

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

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

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


body {
	margin: 0;padding:0;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;	/*フォント種類（ゴシック）*/
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #555;		/*文字色*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

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

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}

/*section*/
section {
	padding: var(--content-space);	/*section内の余白。css冒頭のcontent-spaceを読み込みます。*/
}


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

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	position: relative;
	animation: opa1 1s 1s both;	/*1秒待機し、1秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0 auto;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	padding: 1rem var(--content-space);		/*ヘッダー内の余白。上下に１文字分、左右についてはcss冒頭のcontent-spaceを読み込みます。*/
	color: #fff;		/*文字色*/
	position: absolute;
	width: 100%;
}
header a {color: inherit;}

/*ロゴ*/
#logo a {text-decoration: none;}
#logo img {
	display: block;
	width: 220px;	/*ロゴの幅*/
}

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

	/*ヘッダーブロック*/
	header {
		display: flex;	/*中のコンテンツを横並びにする*/
		justify-content: space-between;
		gap: 2rem;	/*中のコンテンツ同士に空けるマージン的な余白。*/
		align-items: center;
	}

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


/*header-box（ヘッダー右側にあるボタン）
---------------------------------------------------------------------------*/
/*ボックス全体*/
#header-box * {margin: 0;padding: 0;}

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

	#header-box {
		margin-right: 30px;	/*ハンバーガーアイコンと重ならないように適当な余白*/
	}

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


/*ボタンが入ったボックス*/
#header-box .btn {
	list-style: none;
	display: flex;
	gap: 1rem;	/*ボタン同士の間に空けるスペース。１文字分。*/
}

/*メニュー１個あたり（ここにない設定は、下の方にある「btn共通設定」にあります。）*/
#header-box .btn a {
	display: block;text-decoration: none;
	padding: 0.5rem 2rem;	/*上下、左右へのボタン内の余白*/
	border-radius: 3px;		/*角を少し丸くする*/
}

/*ボタンに使用しているアイコン*/
#header-box .btn i {
	margin-right: 1rem;		/*アイコンの右側に１文字分のスペースを空ける*/
	transform: scale(1.4);	/*アイコンサイズを140%に。*/
}

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

	/*ボタンが入ったボックス*/
	#header-box .btn {
		display: inline-block;
	}
	
	/*ボタン１個あたり*/
	#header-box .btn li {
		margin-bottom: 0.5rem;
	}

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


/*開閉メニュー
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
#menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px var(--content-space) 50px;		/*ブロック内の余白。上に100px、左右についてはcss冒頭のcontent-spaceを読み込む、下に50px。*/
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
}

/*メニュー１個あたり*/
#menubar a {
	display: block;text-decoration: none;
	color: inherit;
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける。メニュー同士の間隔です。*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下に１文字分、左右に２文字分。*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: flex;
	animation: opa1 0s 0.2s both;
	position: fixed;
	z-index: 101;
	cursor: pointer;
	right: 0px;	/*右からの配置場所*/
	top: 0px;	/*上からの配置場所*/
	width: 70px;	/*ボタンの幅*/
	height: 70px;	/*ボタンの高さ*/
	background: #000;	/*ボタン色*/
	border-radius: 0px 0px 0px 20px;	/*角を丸くする指定。左上、右上、右下、左下の順番。この場合は左下だけ角を丸くする。*/
	transform-origin: right top;
	transform: scale(1);	/*大きさを調整したい場合はここの「1」を変更します。1.2や0.7など。*/
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #ff0000;
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;		/*線の高さ*/
	background: #fff;	/*線の色*/
	transition: 0.3s;
}

#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}

/* ハンバーガーメニュー展開時 */
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}


/*ヘッダーにある１行のお知らせ
---------------------------------------------------------------------------*/
.new-top * {margin: 0;padding: 0;}

/*ブロック全体*/
.new-top {
	position: absolute;
	top: 80vh;	/*上から80%の場所に配置*/
	z-index: 1;
	width: 80vw;	/*幅は80%*/
	margin-left: 10vw;	/*左に10%空ける*/
	display: flex;
	align-items: center;
	padding: 1rem;	/*ボックス内の余白。1文字分。*/
	background: #fff;	/*背景色。*/
	border-radius: 5px;	/*角を丸くする*/
}

/*マウスオン時に透明度を80%に*/
.new-top a:hover {
	opacity: 0.8;
}

/*「お知らせ」の見出し*/
.new-top h2 {
	font-size: 1rem;
	font-weight: normal;
	background: #c40030;	/*背景色*/
	color: #fff;		/*文字色*/
	border-radius: 3px;	/*角を少しだけ丸く*/
	margin-right: 1rem;	/*右に空けるスペース。テキストブロックとの間に空けるスペースです。*/
	padding: 0 1rem;	/*見出し内の余白。上は0で、左右に１文字分。*/
}

/*テキストのブロック*/
.new-top .text {
	flex: 1;
	
	/*以下4行は、末尾を...として１行にまとめる為のスタイル*/
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*ブロック右側にある「一覧」*/
.new-top .new-list {
	align-self: flex-end;
}


/*コンテンツ
---------------------------------------------------------------------------*/
/*コンテンツブロック*/
#contents {
	flex: 1;
}

/*トップページ以外のコンテンツ*/
body:not(.home) #contents {
	padding-top: 10rem;		/*上に10文字分の余白を空ける*/
	padding-bottom: 10rem;	/*下に10文字分の余白を空ける*/
}

/*コンテンツ内で使用するul,ol要素（リストタグ）*/
#contents ul,#contents ol {
	margin-left: 2rem;
	margin-right: 2rem;
}


/*p要素（段落タグ）
---------------------------------------------------------------------------*/
p {
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/
}


/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
	margin: 0;padding: 0;
	font-size: 2.4rem;		/*文字サイズ。240%。*/
	font-weight: normal;	/*h要素のデフォルトの太字を標準に*/
	margin-bottom: 5vw;		/*下にスペースを空ける*/
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}

/*見出し内のspan（小さな装飾文字と上部のアクセントライン）*/
main h2 span.small {
	display: inline-block;
	border-bottom: 2px solid var(--primary-color);  /* ← ここを変更！ */
	font-size: 0.9rem;
	opacity: 0.6;
	letter-spacing: 0.1rem;
	padding-top: 0;     /* お好みで調整 */
	padding-bottom: 2rem;
}
main h2 span.small {
  border-top: none !important;
  padding-top: 0 !important;
}
main h2 span.sub-text {
  font-size: 0.9rem;  /* 小さめサイズに */
  opacity: 0.6;       /* 少し透けさせて強調を抑える */
  margin-top: 0.3rem; /* 上の文字との間隔調整 */
  display: inline-block; /* 必要に応じて */
}

/*見出しをセンタリングする場合*/
main h2.c {
	align-items: center;
}

/* セクション内の見出しを中央に */
.main-content-section h2 {
  align-items: center !important;  /* flexの中央寄せ */
  text-align: center !important;   /* テキストも中央揃え */
}




/*2カラムブロック　※900px未満では１カラム（私たちのこだわりブロック）
---------------------------------------------------------------------------*/
.list-half * {margin: 0;padding: 0;}

/*背景画像*/
#kodawari {
	background: url("../images/bg-kodawari.png") no-repeat left top / 50vw;	/*left(左)、top(上)に配置し、幅は画面幅の50%に。*/
}

/*２カラムを囲むブロック*/
.list-half .list {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	margin-bottom: 2rem;	/*ボックスの下に2文字分のスペースを空ける*/
}

/*ブロック内のh4見出し*/
.list-half .list h4 {
	font-size: 1.4rem;	/*文字サイズを1.4倍*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
}

/*ブロック内のh4内のspan（小さな装飾文字）*/
.list-half .list h4 span {
	display: block;
	opacity: 0.5;	/*透明度50%*/
	font-weight: normal;
	font-size: 0.5em;	/*文字サイズを親要素の50%*/
	letter-spacing: 0.1em;	/*文字間隔をほんの少し広く*/
}

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

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

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

	/*画像ブロック共通*/
	.list-half .image-l, .list-half .image-r {
		width: 50%;			/*画像の幅*/
	}

	/*画像を右に配置する場合*/
	.list-half .image-r {
		margin-left: 2rem;	/*画像の左側に空けるスペース*/
	}

	/*画像を左に配置する場合*/
	.list-half .image-l {
		order: -1;
		margin-right: 2rem;	/*画像の右側に空けるスペース*/
	}

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

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


/*list-grid7（サービス紹介ブロック）
---------------------------------------------------------------------------*/
.list-grid7 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid7 .list {
    display: grid;
	position: relative;
	border-radius: 5px;		/*角を少しだけ丸く*/
	background: #fafafa;	/*背景色*/
	color: #555;			/*文字色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	padding: 2rem;			/*ボックス内の余白。２文字分。*/
	margin-bottom: 2rem;	/*ボックスの下に空けるスペース。2文字分。*/
}

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

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

/*ボックス内のp要素*/
.list-grid7 .list p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を少し狭く*/
}

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


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

	/*ブロック全体を囲むブロック*/
	.list-grid7 {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3列にする */
	gap: 2rem; /* セミコロンを追加 */
	max-width: 1200px; /* セクション幅を適度に制限 */
	width: 100%;
	margin: 0 auto; /* 中央寄せ */
	padding: 0 20px; /* 左右に少し余白 */
}
	}/*追加指定ここまで*/


/*ご利用の流れ
---------------------------------------------------------------------------*/
.flow-box * {margin: 0;padding: 0;}

/*背景画像*/
#flow {
	background: url("../images/bg-flow.png") no-repeat right top / 50vw;	/*right(右)、top(上)に配置し、幅は画面幅の50%に。*/
}

/*ステップボックス１個あたりの設定*/
.flow-box {
	position: relative;
	margin-bottom: 4rem;	/*下に空けるスペース、2文字分。ステップボックス同士のスペースです。*/
}

/*ボックス内のh3見出し（大きな端末で左側に配置される背景色つきの見出し）*/
.flow-box .title h3 {
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	margin-left: calc(-1 * var(--content-space));
	margin-right: calc(-1 * var(--content-space));
	text-align: center;	/*テキストをセンタリング*/
	padding: 2rem;		/*見出し内の余白。２文字分。*/
	margin-bottom: 2rem;	/*見出しの下に空けるスペース。２文字分。*/
}

/*h3内のspan（小さな装飾文字）*/
.flow-box .title h3 span {
	display: block;
	font-size: 0.7em;	/*文字サイズ。親要素の70%。*/
}

/*「STEP01」〜「STEP04」のテキスト*/
.flow-box .step-num {
	display: inline-block;
	position: absolute;
	left: 0px;
	top: -50px;	/*本来の場所から上に50pxずらす*/
	width: 100%;
	font-size: 3rem;	/*文字サイズ300%*/
	color: var(--primary-color);	/*文字色。css冒頭のprimary-colorを読み込みます。*/
}

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

	.flow-box {
		display: flex;
		align-items: flex-start;
		gap: 5rem;	/*左右のブロック同士の間に空けるスペース。５文字分。*/
	}
	
	/*「STEP01」〜「STEP04」のテキスト*/
	.flow-box .step-num {
		top: -100px;		/*本来の場所から上に100pxずらす*/
		font-size: 5rem;	/*文字サイズ500%*/
		opacity: 0.15;		/*透明度。色が15%出た状態。*/
	}

	/*h3見出しが入ったブロック（大きな端末で左側に配置される背景色つきの見出しを囲むブロック）*/
	.flow-box .title {
		width: 30%;	/*幅*/
		position: -webkit-sticky;
		position: sticky;
		top: 0;
	}

	/*ボックス内のh3見出し（大きな端末で左側に配置される背景色つきの見出し）*/
	.flow-box .title h3 {
		margin-right: auto;
		border-radius: 0 100px 100px 0;	/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	}

	/*大きな端末で右側に配置されるテキストブロックを囲むボックス*/
	.flow-box .text {
		flex: 1;
	}

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


/*ステップボックス
---------------------------------------------------------------------------*/
ul.step {
	margin: 0 !important;padding: 0 !important;
	list-style: none;
}

/*ステップ１個あたり*/
ul.step li {
	border: 2px solid var(--primary-color);	/*枠線の幅、線種、varは色の指定で、css冒頭のprimary-colorを読み込みます。*/
	padding: 1rem;			/*ボックス内の余白。１文字分。*/
	margin-bottom: 2rem;	/*ボックスの下に空けるスペース。２文字分。ボックス同士に空ける余白です。*/
	position: relative;
}

/*「▼」のマーク*/
ul.step li::after {
	content: "▼";	/*このテキストを出す*/
	transform: scaleX(2);	/*２倍の大きさ*/
	position: absolute;
	left: 50%;	/*左からの配置場所。厳密に中央ではありませんが、テキストが小さいので問題ないかと。*/
	bottom: -2rem;	/*下からの配置場所。本来の場所より上に２文字分の場所。*/
	color: var(--primary-color);	/*文字色。css冒頭のprimary-colorを読み込みます。*/
	opacity: 0.3;	/*透明度。色が30%出た状態。*/
}

/*最後のステップボックスには「▼」を出さない*/
ul.step li:last-child::after {
	content: "";
}


/*list-yoko-scroll（お客様の声ブロック）
---------------------------------------------------------------------------*/
.list-yoko-scroll * {margin: 0; padding: 0;}

/*横スクロールブロック全体*/
.list-yoko-scroll {
	display: flex;
	align-items: flex-start;
	overflow-x: auto;
	scrollbar-width: none;	/* Firefox用 */
	scroll-snap-type: x mandatory; /* スナップスクロールを有効にする */
	padding-top: 30px;
	padding-bottom: 30px;
	margin-right: calc(-1 * var(--content-space));
}
.list-yoko-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge用 */
}

/*ブロック内の１個あたり*/
.list-yoko-scroll .list {
	width: 60%;		/*ブロック１個の幅。お好みで変更して下さい。*/
	flex-shrink: 0;
	scroll-snap-align: start;
	margin-right: 2rem;	/*ふきだしごとの間に空けるスペース。２文字分。*/
	position: relative;
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	border-radius: 1rem;	/*角を丸くする指定*/
	padding: 2rem;			/*ボックス内の余白。２文字分。*/
}

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

	/*ブロック内の１個あたり*/
	.list-yoko-scroll .list {
		width: 28%;		/*ブロック１個の幅。お好みで変更して下さい。*/
	}

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


/*偶数版目のふきだしだけ、下に30pxずらす*/
.list-yoko-scroll .list:nth-of-type(even) {
	transform: translateY(30px);
}

/*ふきだしぐち（▲の形）*/
.list-yoko-scroll .list::before {
	content: "▲";	/*このテキストを出す*/
	color: var(--primary-color);	/*文字色。css冒頭のprimary-colorを読み込みます。*/
	font-size: 30px;	/*サイズ*/
	position: absolute;
	left: 30%;	/*ふきだしの左からの配置場所。お好みで。*/
	top: -40px;	/*ふきだしの上からの配置場所*/
}

/*ふきだし内の.text（テキスト）ブロック*/
.list-yoko-scroll .list .text {
	font-size: 0.85rem;	/*文字サイズ85%*/
	line-height: 1.5;	/*行間*/
}


/*よく頂く質問ブロック
---------------------------------------------------------------------------*/
/*ブロック全体*/
.faq {
	font-size: 1.3rem;	/*文字サイズ130%*/
	border-bottom: 1px solid rgba(255,255,255,0.3);	/*下線の幅、線種、最後は色の指定で255,255,255は白の事で0.3は色を30%出す指定。*/
}

/*質問*/
.faq dt {
	display: flex;
	align-items: flex-start;
	border-top: 1px solid rgba(255,255,255,0.3);	/*上の幅、線種、最後は色の指定で255,255,255は白の事で0.3は色を30%出す指定。*/
	padding: 1rem;		/*ブロック内の余白。１文字分。*/
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}

/*「＋」アイコン（閉じている場合）*/
.faq dt::before {
	content: "＋";	/*アイコン画像の指定*/
	margin-right: 1rem;	/*右側に空けるスペース*/
	flex-shrink: 0;
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	width: 2rem;		/*幅*/
	line-height: 2rem;	/*高さ*/
	text-align: center;
	border-radius: 50%;	/*円形にする*/
	transform: translateY(5px);	/*アイコンの上下バランスの微調整*/
}

/*「ー」アイコン（開いている場合）*/
.faq dt.active::before {
	content: "ー";	/*アイコン画像の指定*/
}

/*回答*/
.faq dd {
	margin: 0 1rem 1rem 4rem;	/*ボックスの外側にとる余白。上、右、下、左への順番。*/
	padding: 1rem 2rem;	/*ボックスの内側の余白。上下に1文字、左右に２文字分。*/
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
	border-radius: 5px;	/*角を丸くする指示*/
}


/*btn共通設定（ヘッダーと、フッターの上のボックス内にあるボタンの共通設定）
---------------------------------------------------------------------------*/
.btn a {
	display: block;text-decoration: none;
	background: var(--accent-color);	/*背景色。css冒頭のaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*背景色。css冒頭のaccent-inverse-colorを読み込みます。*/
	text-align: center;	/*テキストをセンタリング*/
}

/*マウスオン時*/
.btn a:hover {
	background: var(--accent-inverse-color);	/*背景色。css冒頭のaccent-inverse-colorを読み込みます。*/
	color: var(--accent-color);					/*文字色。css冒頭のaccent-colorを読み込みます。*/
}


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

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

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

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

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

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


/*波のアニメーション
---------------------------------------------------------------------------*/
/*アニメーション*/
@keyframes move-wave {
0% { transform: translateX(0); }
100%   { transform: translateX(-50%); }
}

/*波を囲む全体のブロック*/
.wave-section {
	position: relative;
	
	/*以下の３行の数字については、下のwaveのheight(波の高さ)から1を差し引いた形です。隙間が出る場合があるのでそれが出ないようにしています。*/
	padding-top: 79px;
	top: -79px;
	margin-bottom: -79px;
}

/*波の色（２つとも揃えておけばOK）*/
.wave-section .text {
	background: var(--primary-color);	/*背景色。css冒頭のprimary-colorを読み込みます。*/
}
.wave-wrap use {
	fill: var(--primary-color);			/*塗りつぶしの色。css冒頭のprimary-colorを読み込みます。*/
}

/*上下の波（共通）*/
.wave {
	position: absolute;
	left: 0;
	width: 100%;
	height: 80px;	/*波の高さ。ここを変更する場合は上の.wave-sectionの３箇所の数字も合わせて変更して下さい。*/
}
.wave svg {
	display: block;
	width: 100%;
	height: 100%;
}

.wave .wave-wrap {
	transform-box: fill-box;
	transform-origin: 0 0;
	animation: move-wave 10s linear infinite;	/*ここの10sを変更すれば波のアニメーション速度が変わります*/
}

/*上の波*/
.wave-top {
	top: 0;
}

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


/*フッター
---------------------------------------------------------------------------*/
/* フッター全体の初期設定 */
#footer * {
  margin: 0;
  padding: 0;
}
#footer ul {
  list-style: none;
}

/* ブロック全体 */
#footer {
  background: var(--primary-color);        /* 既存背景色 */
  color: var(--primary-inverse-color);     /* 既存文字色 */
  padding: var(--content-space);            /* 既存余白 */
  box-sizing: border-box;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}

/* メイン部分を左右2カラムに */
#footer > .footer-main {
  display: flex;
  gap: 2rem; /* 既存のgapに合わせて調整 */
  flex-wrap: wrap;
}

/* ロゴやSNSアイコンが入った左側ブロック */
#footer div.footer1 {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;   /* 既存の余白 */
  text-align: left;
}

/* ロゴ画像 */
#footer div.footer1 img {
  max-width: 300px;
  height: auto;
  margin-bottom: 15px;
}

/* 住所等テキスト */
#footer div.footer1 p {
  line-height: 1.5;
  margin-bottom: 8px;
}

/* SNSアイコン */
#footer .sns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 10px;
  padding: 0;
}

#footer .sns i {
  font-size: 30px;
  color: var(--primary-inverse-color);
}

/* 右側マップブロック */
#footer div.footer2 {
  flex: 1 1 55%;
}

/* フッター右側タイトル */
#footer div.footer2 h3 {
  margin-bottom: 10px;
  color: var(--primary-inverse-color);
  font-size: 1.125rem;
}

/* Google Mapコンテナ */
#footer .iframe {
  width: 100%;
  height: 300px;           /* ← 高さを抑えた固定値に */
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  padding-top: 0 !important;  /* 以前の比率指定を解除 */
}

/* iframe自体 */
#footer .iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



/* コピーライトとサイトポリシーの下段 */
#footer .footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.3);
  text-align: center;
  padding: 12px 0 0 0;
  font-size: 0.875rem;
  color: var(--primary-inverse-color);
}

#footer .footer-bottom p {
  margin: 4px 0;
}

#footer .footer-bottom a {
  color: var(--primary-inverse-color);
  text-decoration: underline;
  font-weight: normal;
}

/* 画面700px以上の追加指定 */
@media screen and (min-width:700px) {
  #footer {
    padding: var(--content-space);
  }

  #footer > .footer-main {
    gap: 2rem;
  }
}

/* スマホなど700px未満 */
@media screen and (max-width: 699px) {
  #footer > .footer-main {
    flex-direction: column;
  }

  #footer div.footer1,
  #footer div.footer2 {
    flex: 1 1 100%;
  }

  #footer .iframe {
    height: 180px;
  }
}



/*フッター内の受付時間テーブル
---------------------------------------------------------------------------*/
.week {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border-radius: 5px;	/*角を丸くする指定*/
	border: 1px solid #ccc;	/*テーブル外側の線の幅、線種、色*/
	table-layout: fixed;	/*幅を均等に*/
	background: #fff;		/*テーブル全体の背景色*/
	color: #555;			/*テーブル全体の文字色*/
}

/*受付時間の幅*/
.week th:first-child,
.week td:first-child {
	width: 25%;
}

/*各曜日の幅*/
.week th:not(:first-child),
.week td:not(:first-child) {
	width: calc(75% / 7);	/*受付時間で25%とっているので残りの75%を7で割る*/
}

/*th(曜日)とtd(時間)*/
.week th,
.week td {
	padding: 1rem 0;	/*ボックス内の余白。上下に１文字分、左右は0。*/
	text-align: center;	/*テキストをセンタリング*/
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
	border-right: 1px solid #ccc;	/*右の線の幅、線種、色*/
}

/*th(曜日)とtd(時間)のそれぞれ最後の右側の線を消す*/
.week th:last-child,
.week td:last-child {
	border-right: none;
}

/*最後の行の下線を消す*/
.week tr:last-child td {
	border-bottom: none;
}

/*th(曜日)の追加指定*/
.week th {
	background: #fafafa;	/*背景色*/
}
.week td {
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
}


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


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

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*bg1
---------------------------------------------------------------------------*/
.bg1 {
	background: var(--secondary-color);		/*背景色。css冒頭のsecondary-colorを読み込みます。*/
	color: var(--secondary-inverse-color);	/*背景色。css冒頭のsecondary-inverse-colorを読み込みます。*/
}


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

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

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

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


/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/
.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;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	}

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


/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/*fadeInのキーフレーム設定*/
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.1) rotate(-30deg);}
	100% {opacity: 1;transform: scale(1) rotate(0deg);}
}

/* 初期状態でテキストを非表示にする */
.fade-in-text {
    visibility: hidden;
}

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


/*マニュアルページ用
---------------------------------------------------------------------------*/
#manual {background-image: none;}
.manual {
	padding: 5rem;
}
.manual h2,.manual h3 {
	margin-top: 3rem;
}
pre {white-space: pre-wrap;word-wrap: break-word;overflow-wrap: break-word;}


/*その他
---------------------------------------------------------------------------*/
.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;}
.mb5rem {margin-bottom: 5rem !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; color: #888; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

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

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

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



/*お知らせブロック
---------------------------------------------------------------------------*/
.news4-parts {
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/
	background: rgba(0,0,0,0.02);	/*背景色。0,0,0は黒のことで0.02は色が2%出た状態。*/
	border-radius: 30px;			/*角を丸くする指定。お好みで。*/
	overflow: hidden;
}

/*奇数行目を背景色を少し濃くする。全体同じ色がよければここの数行は削除。*/
.news4-parts dt:nth-of-type(odd),
.news4-parts dd:nth-of-type(odd) {
	background: rgba(0,0,0,0.05);
}

/*日付(dt)設定*/
.news4-parts dt {
	padding: 1rem 1rem 0;	/*dt内の余白。上、左右、下への順番。*/
}

/*記事(dd)設定*/
.news4-parts dd {
	padding: 1rem;	/*dd内の余白*/
}

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

/*icon-bg1-parts。サンプルでは「重要」と書いてあるマーク*/
.news4-parts .icon-bg1-parts {
	border-color: transparent;	/*上の枠線の色を引き継ぎたくないので透明にし、ここの背景色をそのまま出す。*/
	background: #cd0000;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*icon-bg2-parts。サンプルでは「サービス」と書いてあるマーク*/
.news4-parts .icon-bg2-parts {
	border-color: transparent;	/*上の枠線の色を引き継ぎたくないので透明にし、ここの背景色をそのまま出す。*/
	background: #006acd;	/*背景色*/
	color: #fff;			/*文字色*/
}

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

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

	/*日付(dt)設定*/
	.news4-parts dt {
		padding: 1rem 0 1rem 2rem;	/*dt内の余白。上、右、下、左への順番。*/
	}

	/*記事(dd)設定*/
	.news4-parts dd {
		padding: 1rem 2rem 1rem 0;	/*dd内の余白。上、右、下、左への順番。*/
	}

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

/*btn-animation1 アニメーションボタン（枠線をぐるっとなぞるアニメーション）
---------------------------------------------------------------------------*/
@keyframes w {0% {width: 0px;} 100% {width: 100%;}}
@keyframes h {0% {height: 0px;} 100% {height: 100%;}}

/*ボタンの一番の外側のボックス*/
.btn-animation1-parts {
	position: relative;		/*枠線をアニメーションさせる為に必要な指定*/
	display: inline-block;
	box-shadow: 0px 0px 0px 1px #ccc inset;	/*デフォルトで見えている枠線の設定*/
}

/*上のbtn-animation1の内側にあるボックス*/
.btn-animation1-inner-parts {
	display: block;text-decoration: none;
	padding: 0.5em 3em;		/*ボタン内の余白。上下、左右へ。emは文字の単位。1emが1文字分という事です。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	text-indent: 0.1em;		/*letter-spacingを設定するとその分全体のテキスト位置がずれるので、戻す設定。同じ数字にしておけばOKです。*/
}

/*ボタン内でiタグを使う場合の設定*/
.btn-animation1-inner-parts i {
	display: inline-block;
	transition: 0.3s;		/*アニメーションにかける時間。0.3秒。*/
	padding-left: 1em;		/*テキストと、iタグの間の余白*/
}
.btn-animation1-inner-parts:hover i {
	transform: translateX(5px);	/*マウスオン時にiタグを5pxだけ右に移動する*/
}

/*枠線共通*/
.btn-animation1-parts::before,
.btn-animation1-parts::after,
.btn-animation1-inner-parts::before,
.btn-animation1-inner-parts::after {
	content: "";
	position: absolute;
	background-color: #666;		/*background(背景)スタイルですが、hover時の枠線の色になります。*/
	animation-duration: 0.2s;	/*アニメーションにかける時間。１辺あたり0.2秒。*/
	animation-fill-mode: forwards;	/*アニメーション完了時に最後のフレームを維持。この１行を外してみると別の動作になって面白い動きになります。*/
	animation-timing-function: linear;	/*アニメーションの速度のタイプ。同じ速度にする。*/
}

/*ラインアニメーション１（左上→右上）*/
.btn-animation1-parts:hover::before {
	left: 0px;				/*開始地点の指示*/
	top: 0px;				/*開始地点の指示*/
	height: 1px;			/*線の幅の代わりになります*/
	animation-name: w;		/*上の「@keyframes」で使うアニメーション名の指定。*/
}

/*ラインアニメーション２（右上→右下）*/
.btn-animation1-parts:hover::after {
	right: 0px;				/*開始地点の指示*/
	top: 0px;				/*開始地点の指示*/
	width: 1px;				/*線の幅の代わりになります*/
	animation-name: h;		/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.2s;	/*アニメーションを0.2秒遅れてスタートさせる。*/
}

/*ラインアニメーション３（右下→左下）*/
.btn-animation1-inner-parts:hover::before {
	right: 0px;				/*開始地点の指示*/
	bottom: 0px;			/*開始地点の指示*/
	height: 1px;			/*線の幅の代わりになります*/
	animation-name: w;		/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.4s;	/*アニメーションを0.4秒遅れてスタートさせる。*/
}

/*ラインアニメーション４（左下→左上）*/
.btn-animation1-inner-parts:hover::after {
	left: 0px;				/*開始地点の指示*/
	bottom: 0px;			/*開始地点の指示*/
	width: 1px;				/*線の幅の代わりになります*/
	animation-name: h;		/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.6s;	/*アニメーションを0.6秒遅れてスタートさせる。*/
}
/*btn4-parts
---------------------------------------------------------------------------*/
a.btn4-parts {
	text-decoration: none;display: inline-block;
	background: linear-gradient(#ff2f74, #ec0652);/*背景グラデーション*/
	color: #fff;		/*文字色*/
	padding: 1rem 2rem;	/*ボタン内の余白。上下、左右へ。*/
	font-size: 1.3rem;	/*文字サイズを130%*/
	border-radius: 5px;	/*角を少しだけ丸くする*/
	box-shadow: 3px 3px 8px rgba(192,5,66,0.3);	/*ボタンの影。右へ、下へ、ぼかす量、192,5,66はグリーン系のrgb値で0.3は色が30%出た状態*/
	position: relative;
}

/*ボタンの上半分の光沢部分*/
a.btn4-parts::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 4px;
	width: calc(100% - 8px);
	height: 35px;	/*高さ*/
	background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.1));/*背景グラデーション*/
}

/*アイコン*/
a.btn4-parts i {
	padding-left: 1em;	/*アイコンとテキストの間の余白*/
}

/*マウスオン時に少しずらす*/
a.btn4-parts:hover {
	box-shadow: none;	/*ボックスの影を消す*/
	position: relative;
	left: 1px;
	top: 1px;
}
/* --- box1 セクション全体 --- */
.box1 {
  position: relative;
  background: #f7ed54;
  padding: var(--space-large);
  color: var(--primary-color);
  margin-top: 10vw;
  overflow-x: visible;
　
  min-height: 300px; /* ← ★ここを追加！ */
	
}

/* --- 装飾テキスト（背景上部に重なる）--- */
.box1 .deco-text {
  position: absolute;
  right: 0;
  top: -10vw;
  color: #f7ed54;
  font-size: 6vw;
  line-height: 1;
  z-index: 0;
}

/* --- セクション内見出しの下部にイラスト --- */
.box1 h2 img {
  width: 10vw;
}

.box1 .text {
  margin-bottom: 5rem;
}

/* --- 画像ブロック --- */
.box1 .image {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* --- 全画像共通設定 --- */
.box1 .image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* --- 1枚目の画像 --- */
.box1 .image img:nth-of-type(1) {
  width: 80%;
  position: relative;
  z-index: 1;
}

/* --- 2枚目の画像（重ねるように配置）--- */
.box1 .image img:nth-of-type(2) {
  width: 60%;
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  z-index: 0;
}

/* --- PCサイズ用 横並び調整 --- */
@media screen and (min-width: 600px) {
  .box1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 60px 40px;
    border-radius: 20vw 0 20vw 0;
  }

  .box1 > .text,
  .box1 > .image {
    flex: 1 1 48%;
  }

  .box1 .text {
    margin-bottom: 0;
  }

  /* PCサイズ時のh2内イラスト調整 */
  .box1 h2 img {
    width: 5vw;
  }
}

/*縦書きボタン
---------------------------------------------------------------------------*/
#btn-side1-parts a {
	text-decoration: none;display: block;
	writing-mode: vertical-rl;
	text-orientation: upright;
	background: #ff7e00;/*背景色*/
	color: #fff;		/*文字色*/
	position: fixed;	/*スクロールしてもボタンが移動しないようにする指定。移動させたいならfixedをabsoluteにして下さい。*/
	z-index: 1;
	right: 0px;			/*ボタンの右からの配置場所指定*/
	top: 170px;			/*ボタンの上からの配置場所指定*/
	padding: 20px 15px;	/*ボタン内の余白。上下、左右。*/
	border-radius: 10px 0px 0px 10px;	/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広く*/
}

/*ふきだしアイコン*/
#btn-side1-parts i {
	transform: scale(1.3);	/*1.3倍に*/
	margin-bottom: 10px;	/*下に空ける余白*/
}


.policy-section {
  background: #f9f9f9;
  padding: 4rem 1rem;
}

.policy-section .c {
  text-align: center;
  margin-bottom: 2.5rem;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.policy-content section + section {
  margin-top: 2.5rem;
}

.policy-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
  border-left: 5px solid var(--primary-color, #5dbd87);
  padding-left: 0.8rem;
}

.policy-content p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.policy-content ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.policy-content li {
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* このページだけ全幅にする */
.notfound_page #container,
.notfound_page #contents,
.notfound_page main,
.notfound_page #service,
.notfound_page .wave-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* html, body の余白リセット（念のため） */
.faq_page html,
.faq_page body {
  margin: 0;
  padding: 0;
  width: 100%;
}

.faq_page #faq,
.faq_page .bg-slideup {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-sizing: border-box !important;
}

.faq_page #container,
.faq_page #contents {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 必要に応じてセクションの上下余白（共通変数利用） */
.faq_page section#faq {
  padding-top: var(--content-space);
  padding-bottom: var(--content-space);
}
.faq_page #main,
.faq_page main,
.faq_page .main-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.faq_page #faq,
.faq_page .bg-slideup {
  width: 100vw !important;
  margin: 0 !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  box-sizing: border-box !important;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}
.faq_page .bg1 {
  max-width: 100vw !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/*ボックス全体*/
.box1 {
    overflow-x: visible;
    position: relative;
    background: #f7ed54; /*背景色*/
    padding: var(--space-large);
    color: var(--primary-color);
    margin-top: 10vw;
}

/*ボックス上部の大きな装飾テキスト*/
.box1 .deco-text {
    position: absolute;
    right: 0;
    top: -13vw;
    color: #f7ed54;
    font-size: 7vw;
    line-height: 1;
}

/*ボックスの左上イラスト（クツ）*/
.box1 .illust1 {
    position: absolute;
    right: 0;
    top: 8vw;
    width: 20vw;
    transform: rotate(-10deg);
}

/*ボックスの左上イラスト（帽子）*/
.box1 .illust2 {
    position: absolute;
    right: 22vw;
    top: 2vw;
    width: 15vw;
    transform: rotate(10deg);
}

/*テキストボックスの上の小さなイラスト*/
.box1 h2 img {
    width: 10vw;
}

/*テキストボックス*/
.box1 .text {
    margin-bottom: 5rem;
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width:600px) {
    .box1 {
        display: flex;
        gap: 5vw;
        border-radius: 20vw 0 20vw 0;
    }
    .box1 > * {
        flex: 1;
    }
    /*ボックスの左上イラスト（クツ）*/
    .box1 .illust1 {
        right: auto;
        left: 3vw;
        top: -5vw;
        width: 10vw;
    }
    /*ボックスの左上イラスト（帽子）*/
    .box1 .illust2 {
        right: auto;
        left: 15vw;
        top: -5vw;
        width: 6vw;
    }
    /*テキストボックスの上の小さなイラスト*/
    .box1 h2 img {
        width: 5vw;
    }
    .box1 .text {
        margin-bottom: 0;
    }
}

/*画像を囲むブロック*/
.box1 .image {
    position: relative;
}

/*画像の角を少し丸くする指定*/
.box1 .image img {
    border-radius: 10px;
}

/*画像ブロック内の１枚目の写真への追加指定*/
.box1 .image img:nth-of-type(1) {
    width: 80%;
}

/*画像ブロック内の２枚目の写真への追加指定*/
.box1 .image img:nth-of-type(2) {
    width: 80%;
    position: absolute;
    right: 0;
    top: 15vw;
}
@media screen and (min-width: 600px) {
  .box1 {
    display: flex;
    gap: 5vw;
    align-items: center;  /* 縦位置中央揃え */
    border-radius: 20vw 0 20vw 0;
  }

  .box1 .text {
    flex: 1;
  }
  
  .box1 .image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .box1 .image img {
    width: 80%;      /* 幅を80%に固定 */
    max-width: 600px; /* 最大幅も指定 */
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;  /* 画像の縮小を防止 */
  }
}

@media screen and (max-width: 599px) {
  .box1 {
    display: block;
  }
  .box1 .image {
    margin-top: 2rem;
  }
}
/* deco-text（装飾テキスト）のフォントサイズを小さく */
.box1 .deco-text {
  position: absolute;
  right: 0;
  top: -8vw;  /* ← ここを下げたい分だけ小さくする（例：-13vw → -8vw） */
  color: #f7ed54;
  font-size: 4vw; /* 小さくしたフォントサイズ */
  line-height: 1;
}


/* sub-text（英語のサブタイトル）のフォントサイズを小さく */
.box1 .sub-text {
  font-size: 0.9rem; /* 必要に応じてさらに小さくするなら 0.8rem など */
  display: block;     /* 必要に応じて改行を強制 */
  margin-top: 0.5rem; /* 間隔を調整したいとき */
}
/* box1 全体の最大幅を調整 */
.box1 {
  max-width: 1200px;
  margin: 0 auto;
  gap: 3vw;
  padding: 4vw 2vw;
}

/* テキストブロックに幅制限を加える */
.box1 .text {
  max-width: 600px;
}

/* サブテキストとメインテキストのフォントサイズを少し抑える */
.box1 .sub-text {
  display: block;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}

.box1 .main-text {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #000;
}

/* deco-text のサイズも控えめに */
.box1 .deco-text {
  font-size: 4vw;
  top: -8vw;
}


@media screen and (max-width: 768px) {
.LA_page section#LA_service,
.LA_page section#LA_service ~ *,
.LA_page footer {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}
.intro-campus {
  width: 100% !important;
  max-width: 100% !important;
  padding: 4vw 2vw !important;
  box-sizing: border-box !important;
  background: #f9f9f9;
}

.campus-block {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 4rem;
  padding: 0 2vw;
  text-align: center;
  box-sizing: border-box;
}

.campus-block img {
  width: 100% !important;
  max-width: 1200px !important;
  height: auto !important;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
body.LA_page #contents {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden; /* マージン折り畳み防止 */
  border: 1px solid red; /* デバッグ用：内容範囲を見やすく */
}

body.LA_page #faq {
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow: hidden; /* マージン折り畳み防止 */
  border: 1px solid blue; /* デバッグ用：内容範囲を見やすく */
}
/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*スライドショー全体を囲むブロック*/
.slide-thumbnail1-parts {
  overflow: hidden;
  width: 100%;
  margin: 2rem 0;
}

.img-parts {
  display: flex;
  animation: slide-rtl 30s linear infinite;
}

.img-parts > div {
  flex: 0 0 auto;
  padding: 0 1vw;
}

.img-parts img {
  height: 150px;
}

/* アニメーションの定義 */
@keyframes slide-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
body.faq_page #contents,
body.faq_page main,
body.faq_page section,
body.faq_page .bg1,
body.faq_page .faq,
body.faq_page .faq dt,
body.faq_page .faq dd {
  margin: 0 !important;
  padding: 0 !important;
}

