@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: #f8e2e5;			/*テンプレートのメインまたはアクセントカラー*/
	--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 {
    font-size: 13px;
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
    background: var(--base-color);
}

main {
    font-family: "Noto Sans JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    color: var(--base-inverse-color);
    line-height: 2;
}

@media screen and (min-width:1000px) {
    html { font-size: 14px; }
}

@media screen and (min-width:1600px) {
    html { font-size: 1vw; }
}

/*リセット他*/
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;*/
}





/*メイン画像
---------------------------------------------------------------------------*/
/*ブロック全体*/
#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/top.jpg") no-repeat center center / cover;
		padding-top: 56.25%;	/*アスペクト比16:9（9÷16=0.5624）*/
		margin-top: 65px;
	}

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

#mainimg > div {
	position: absolute;
	top: 110px;	/*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;	/*文字サイズ。*/
text-shadow:
    0 0 6px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(255, 255, 255, 0.8),
    0 0 30px rgba(255, 255, 255, 0.6);
	}

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


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

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

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

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

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


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

/*2つ目のボタン（資料請求）への追加設定*/
#mainimg .kk-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 .kk-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: 1vw;		/*下にスペースを空ける*/
	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: space-evenly;	/*ブロックを右に寄せる。この行を削除すれば、ロゴ画像の方によります。*/
		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;	/*アイコンサイズ*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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-inverse-color);	/*背景色。冒頭のprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*文字色。冒頭のprimary-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;		/*アイコンとテキストとの間に空けるスペース*/
}


/*btn1-1（カミングスーン用・ホバー無効）
---------------------------------------------------------------------------*/
.btn1-1 a {
	text-shadow: none;display: block;text-decoration: none;
	background: #aaa;						/*グレーアウト*/
	color: #fff;
	font-size: 1.4rem;
	padding: 0.5rem 2rem;
	border-radius: 100px;
	text-align: center;
	cursor: default;						/*カーソルをデフォルトに*/
	pointer-events: none;					/*クリック・ホバー一切無効*/
}


/* btn2（ボタン）
---------------------------------------------------------------------------*/
.btn2 {
	text-align: center; /* ボタン全体を中央配置 */
}

.btn2 a {
	text-shadow: none;
	display: inline-block; /* 中央寄せできるように変更 */
	text-decoration: none;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	font-size: 1.4rem;
	padding: 0.5rem 2rem;
	border-radius: 100px;
	text-align: center;
	transition: all 0.3s ease;
}

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

/* マウスオン時 */
.btn2 a:hover {
	opacity: 1;
	transform: scale(1.05);
	background: var(--primary-inverse-color);
	color: var(--primary-color);
}

/* bg-primary-colorの上でhover */
.bg-primary-color .btn2 a:hover {
	background: #fff;
	color: #333;
}

/* 矢印アイコン */
.btn2 a::after {
	font-family: "Font Awesome 6 Free";
	content: "\f0a9";
	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: 70px; 
	}
	

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


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




/*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(4, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1vw;	/*ブロックの間に空けるマージン的な指定*/
	}

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


/*ボックス１個あたり*/
.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;		/*文字色*/
}




/*ボックス内の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以下 → 2列×2段にする */
@media screen and (max-width: 799px) {
  .list-grid1 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(140px, 1fr)); /* ←最小140px確保して2列 */
    gap: 1rem; /* 少し広めに余白とる */
    justify-items: center;
    align-items: start;
  }

  .list-grid1 .list {
    width: 100% !important; /* 親にフィット */
    display: grid;           /* 中身を整列させる */
    place-items: center;     /* 画像・テキスト中央寄せ */
    margin-bottom: 0;       
    border-radius: 5px;
    color: #333;
  }

  .list-grid1 .list figure.icon {
    width: 100% !important;
    max-width: 300px; /* ←画像の最大幅（ここでバランス調整） */
    margin: 0 auto;
  }

  .list-grid1 .list figure.icon img {
    width: 100%;
    height: auto;
  }

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

/*list-grid-koe
---------------------------------------------------------------------------*/
.list-grid1 .list * {margin: 0;padding: 0;}

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

	/*listブロック全体を囲むブロック*/
	.list-grid-koe {
		display: grid;
		grid-template-columns: repeat(3, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1vw;	/*ブロックの間に空けるマージン的な指定*/
	}
		
		.avatar {
  width: 100px;          /* 好きなサイズ */
  height: 100px;         /* widthと同じにする */
  border-radius: 50%;    /* これで丸になる */
  object-fit: cover;     /* はみ出しをトリミング */
}
		
		.voice-name {
  text-align: right;
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.8;
}

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


/*ボックス１個あたり*/
.list-grid-koe .list {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    margin-bottom: 0;
    position: relative;
    border-radius: 5px;
    background: #fff;
    color: #333;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

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

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

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


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




/*ボックス内のh4見出し*/
.list-grid-koe .list h4 {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    display: grid;
    grid-template-rows: subgrid;
    align-self: end;
}

/*ボックス内のp要素*/
.list-grid-koe .list p {
	font-size: 0.9rem;	/*文字サイズを90%に*/
	line-height: 1.6;	/*行間*/
	font-weight: normal;
}

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

/*ボックス内のfigure画像*/
.list-grid-koe .list figure.icon {
	margin: 0 auto;
	width: 100px;		/*画像サイズ*/
}

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

/* 画面幅800px以下 → 2列×2段にする */
@media screen and (max-width: 799px) {
  .list-grid1 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(140px, 1fr)); /* ←最小140px確保して2列 */
    gap: 1rem; /* 少し広めに余白とる */
    justify-items: center;
    align-items: start;
  }

  .list-grid1 .list {
    width: 100% !important; /* 親にフィット */
    display: grid;           /* 中身を整列させる */
    place-items: center;     /* 画像・テキスト中央寄せ */
    margin-bottom: 0;       
    border-radius: 5px;
    color: #333;
  }

  .list-grid1 .list figure.icon {
    width: 100% !important;
    max-width: 300px; /* ←画像の最大幅（ここでバランス調整） */
    margin: 0 auto;
  }

  .list-grid1 .list figure.icon img {
    width: 100%;
    height: auto;
  }

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


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

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

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


/*ボックス１個あたり*/
.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: 4rem 2rem;	/*上下、左右へのボックス内の余白*/
	margin: 1rem 0;		/*上下、左右へのマージン*/
	border-radius: 20px;	/*角を丸くする指定*/
}

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


/*左側ボックスの背景*/
.list-c2 .list.image1 {
	background: url(../images/bg_contact.jpg) no-repeat center 50% / 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: 1rem;	/*下に空ける余白*/
}

	/*画面幅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;
}

	


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




/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #CE7BB0 !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;}

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



	
/* =========================================================
   list-grid2（プログラム紹介）
   ========================================================= */
.list-grid2 .list * {
  /*margin: 0*/
  padding: 0;
	text-align: center;
}

/* 画面幅800px以上の追加指定 */
@media screen and (min-width: 800px) {
  .list-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw; /* ブロック間マージン */
  }
}

/* ボックス１個あたり */
.list-grid2 .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);
  padding: 2rem;
}

/* 画面幅800px以上の追加指定 */
@media screen and (min-width: 800px) {
  .list-grid2 .list {
    margin-bottom: 0;
  }
}

/* bg-black内のボックス */
.list-grid2 .list.bg-black {
  background: #111;
  color: #fff;
}

/* ナンバー装飾 */
.list-grid2 .list .num {
  position: absolute;
  left: -20px;
  top: -30px;
  font-size: 60px;
  line-height: 1;
  font-family: "MonteCarlo", cursive;
  opacity: 0.2;
}

/* ボックス内の見出し */
.list-grid2 .list h4 {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  position: relative;
}

/* ボックス内のテキスト */
.list-grid2 .list p {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: normal;
	text-align: center
}

/* bg-black内のp要素 */
.list-grid2 .list.bg-black p {
  color: #999;
}

/* ボックス内の画像 */
.list-grid2 .list figure.icon {
  margin: 0 auto;
}

/* bg1内のfigure */
.bg1 .list-grid2 .list figure.icon {
  filter: grayscale(100%) brightness(90%);
  margin-bottom: 1rem;
}

/* 画面幅800px以上の追加指定 */
@media screen and (min-width: 800px) {
  .list-grid2 .list figure.icon {
    width: 300px;
    margin-top: 0px;
  }
}

/* =====================================
   スマホ時：list-grid2 白ボックス調整
   ===================================== */
@media screen and (max-width: 600px) {
  .list-grid2 {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

   .list-grid2 .list {
        display: grid;
        grid-row: unset;
        grid-template-rows: unset;
        margin-bottom: 3rem;
        background: #fff;
        box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        justify-content: unset; 
  }

  .list-grid2 .list .card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 500px;
    text-align: center;
  }

  .list-grid2 .list .icon img {
    width: 350px;
    margin-bottom: 1rem;
  }

  .list-grid2 .list h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .list-grid2 .list p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #333;
  }
}

/* =========================================================
   list-normal1（導入の流れ）
   ========================================================= */
.list-normal1 * {
  margin: 0;
  padding: 0;
}

/* 画面幅600px以上 */
@media screen and (min-width: 600px) {
  .list-normal1 .text {
    flex: 1;
  }

  .reverse {
    flex-direction: row-reverse;
    background-position: left bottom !important;
  }
}

/* ブロック1個あたり */
.list-normal1 .list {
  background: var(--base-color);
  color: var(--base-inverse-color);
  padding: 1.5rem 2rem;
  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;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
}

/* 画像ブロック */
.list-normal1 figure {
  width: 30%;
  margin-bottom: 1rem;
}

@media screen and (min-width: 600px) {
  .list-normal1 figure {
    margin-bottom: 0;
  }
}

/* h4見出し */
.list-normal1 h4 {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

@media screen and (max-width: 600px) {
  .list-normal1 h4 {
font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
}

/* h3見出し */
.list-normal1 h3 {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: normal;
}

@media screen and (min-width: 600px) {
  .list-normal1 h3 {
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: normal;
  }
}

/* アイコン付き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);
  opacity: 0.5;
  z-index: 10;
}

.list-normal1.flow .list:last-child::after {
  content: none;
}

/* スマホ時の矢印調整 */
@media screen and (max-width: 599px) {
  .list-normal1.flow .list {
    position: relative;
    overflow: visible !important;
  }

  .list-normal1.flow .list::after {
    content: "▼";
    position: absolute;
    left: 50%;
    bottom: -2.2rem;
    transform: scaleX(1.3);
    opacity: 0.5;
    z-index: 50;
    font-size: 1.2rem;
  }
}

/* =========================================================
   price_text（料金カード）
   ========================================================= */
.price_text {
  background-color: #fff;
  color: #333;
  padding: 1em 1em;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  font-size: 1.4em;
  /*font-weight: 600;*/
  line-height: 2.5;
  text-align: center;
}

/* 799px以下で白ボックス出す */
@media screen and (max-width: 799px) {
  .price_text {
    background-color: #fff !important;
    color: #333 !important;
    padding: 2em 2.5em;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    width: 90%;
    margin: 2em auto;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.8;
    text-align: center;
    position: relative;
    z-index: 10;
  }
}




	
	

/* =========================================================
   その他（リード文など）
   ========================================================= */
.lead {
  text-align: center;
  margin-top: -12px;
  margin-bottom: 30px;
}



/* =========================================================
プログラムページ
   ========================================================= */
	#mainimg2 {
		background: var(--base-color) url("../images/top_program.jpg") no-repeat center center / cover;
padding-top: 40%;
        margin-top: 65px;
	}
	
.section_page {
  overflow-x: hidden;
  padding:  40px;
}


.program {
  padding: 80px 20px;
}

.program-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.program-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.program-image img {
  width: 350px;
}

.program-en {
  color: #0f9d8f;
  font-size: 18px;
  margin: 0 0 10px;
}

.program-text h1 {
  color: #0f9d8f;
  font-size: 40px;
  margin: 0 0 30px;
  border-bottom: 3px solid #0f9d8f;
  display: inline-block;
  padding-bottom: 8px;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #000;
}

.program-cards {
  margin-top: 60px;
  display: flex;
  gap: 30px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  flex: 1;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.card h2 {
  color: #0f9d8f;
  font-size: clamp(16px, 1.2vw, 20px);
  margin-top: 0;
  text-align: center;
}

.price {
  margin-top: 60px;
  text-align: center;
	
}

.price h3 {
  font-size: 22px;
  margin-bottom: 30px;
}

.price-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-content: center; 
}

.price-item {
  background: #0f9d8f;
  color: #fff;
  padding: 25px 40px;
  border-radius: 30px;
  font-size: 18px;
	background: #0f9d8f;
  color: #fff;
  border-radius: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  min-height: 180px;
}

.price-item span {
  display: block;
  margin-top: 10px;
  font-size: 16px;
}

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

  .program-top {
    flex-direction: column;
    text-align: center;
  }

  .program-cards {
    flex-direction: column;
  }

  .price-box {
    flex-direction: column;
  }

  .program-image img {
    width: 250px;
  }
	
}

/*プログラムページ用のh3*/
/* レスポンシブ */
@media screen and (max-width: 1023px) {
    .price h3 {
        font-size: 18px;  /* スマホでのサイズ */
        margin-bottom: 20px;
        /* 別CSSのスタイルをリセット */
        border-left: none;
        background: none;
        box-shadow: none;
        border-radius: 0;
        color: inherit;
        text-indent: 0;
        padding: 0;
        width: auto;
    }
}



/*プログラムページの一番上のメニューバー*/
.toc-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 0;
	justify-content: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .toc-nav a {
    text-decoration: none;
    color: #555;
    font-size: 13px;
    padding: 6px 20px;
    border-right: 1px solid #ddd;
    white-space: nowrap;
    transition: color 0.15s;
  }
  .toc-nav a:first-child { padding-left: 0; }
  .toc-nav a:last-child { border-right: none; }
  .toc-nav a:hover { color: #000; }



/*リンク下線消す*/
.list.up2 a {
  text-decoration: none;
  color: inherit;
  display: block;
}



h1.header-top {
    margin: 0;
}

/*ヘッダーフッターの読み込み*/
/* ▼ フッター調整 */
#footer div.sitemap {
  width: 100% !important;
}

#footer {
  width: 100% !important;
  max-width: none !important;
}

#header {
  font-size: 18px;
}

#header .menu-link {
    font-size: 15px !important;
}

#header .header-misc span {
  font-size: 15px !important;
}


/*健康支援サポートって？の質問たち*/
 /* ── 外枠（ボタンを絶対配置するための基準） ── */
    .chat-slider-wrap {
      position: relative;
      max-width: 860px;
      margin: 0 auto;
      padding: 60px 60px 40px; /* 左右にボタン分の余白 */
    }
 
    /* ── トラックのクリップ専用（overflow: hidden はここだけ） ── */
    .chat-clip {
      overflow: hidden;
      padding: 4px; /* 影が切れないように */
    }
 
    /* ── スライドトラック ── */
    .chat-track {
      display: flex;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
 
    /* ── 1枚のスライド ── */
    .chat-slide {
      min-width: 100%;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
 
    /* ── 吹き出し行（3カラムグリッド） ── */
    .bubble-row {
      display: grid;
      grid-template-columns: 80px 1fr 80px;
      align-items: flex-start;
      gap: 16px;
      opacity: 0;
      transform: translateY(14px);
      transition: opacity 0.45s ease, transform 0.45s ease;
    }
 
    .chat-slide.active .bubble-row         { opacity: 1; transform: translateY(0); }
    .chat-slide.active .bubble-row.question { transition-delay: 0.1s; }
    .chat-slide.active .bubble-row.answer   { transition-delay: 0.4s; }
 
    /* 質問：左アイコン・中央吹き出し・右は空白 */
    .bubble-row.question .avatar { grid-column: 1; }
    .bubble-row.question .bubble { grid-column: 2; }
    .bubble-row.question .spacer { grid-column: 3; }
 
    /* 回答：左は空白・中央吹き出し・右アイコン */
    .bubble-row.answer .spacer { grid-column: 1; }
    .bubble-row.answer .bubble { grid-column: 2; }
    .bubble-row.answer .avatar { grid-column: 3; }
 
    /* ── アイコン ── */
    .avatar {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      object-fit: cover;
    }
 
    /* ── 吹き出し共通 ── */
    .bubble {
      position: relative;
      background: #fff;
      border-radius: 16px;
      padding: 18px 22px;
      font-size: 15px;
      color: #333;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    }
 
    /* 質問吹き出し（左向き三角） */
    .bubble-row.question .bubble::before {
      content: "";
      position: absolute;
      top: 22px;
      left: -12px;
      border-width: 8px 12px 8px 0;
      border-style: solid;
      border-color: transparent #fff transparent transparent;
      filter: drop-shadow(-3px 0 2px rgba(0,0,0,0.06));
    }
 
    /* 回答吹き出し（右向き三角） */
    .bubble-row.answer .bubble::before {
      content: "";
      position: absolute;
      top: 22px;
      right: -12px;
      border-width: 8px 0 8px 12px;
      border-style: solid;
      border-color: transparent transparent transparent #fff;
      filter: drop-shadow(3px 0 2px rgba(0,0,0,0.06));
    }
 
    .bubble-row.question .bubble { font-size: 17px; font-weight: 500; }
    .bubble-row.answer .bubble   { font-size: 14px; line-height: 1.9; }
 
    .bubble .note {
      font-size: 12px;
      margin-top: 8px;
      color: #888;
    }
 
    /* ── 前後ボタン ── */
    .chat-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #fff;
      border: none;
      box-shadow: 0 2px 10px rgba(0,0,0,0.15);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: box-shadow 0.2s, transform 0.2s;
      z-index: 10;
    }
 
    .chat-nav:hover {
      box-shadow: 0 4px 16px rgba(0,0,0,0.22);
      transform: translateY(-50%) scale(1.08);
    }
 
    .chat-nav svg {
      width: 18px;
      height: 18px;
      stroke: #aaa;
      stroke-width: 2.5;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
 
    .chat-nav.prev { left: 4px; }
    .chat-nav.next { right: 4px; }
 
    /* ── ドットナビ ── */
    .chat-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 32px;
    }
 
    .chat-dots .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ddd;
      cursor: pointer;
      transition: background 0.3s, transform 0.3s;
      border: none;
      padding: 0;
    }
 
    .chat-dots .dot.active {
      background: #f2a0a8;
      transform: scale(1.3);
    }
 
 /* ── レスポンシブ（700px以下） ── */
    @media (max-width: 700px) {
      .chat-slider-wrap { padding: 40px 16px 32px; }
      .chat-nav { display: none; } /* ボタン非表示 */
      .bubble-row { grid-template-columns: 52px 1fr 52px; }
      .avatar { width: 52px; height: 52px; }
      .bubble { font-size: 14px; padding: 14px 16px; }
      .bubble-row.question .bubble { font-size: 15px; }
      .bubble-row.answer .bubble   { font-size: 13px; }
    }
/*健康支援サポートって？END*/

