@charset "utf-8";


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');


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


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

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

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


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

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

	/*画面幅1200px以上の追加指定*/
	@media screen and (min-width:1000px) {
		html, body {
			font-size: 14px;
		}
	}

	/*画面幅1600px以上の追加指定*/
	@media screen and (min-width:1600px) {
		html, body {
			font-size: 1vw;
		}
	}

body {
	margin: 0;padding:0;
	font-family: "Noto Sans JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;	/*フォント種類*/
	font-optical-sizing: auto;
	font-weight: 500;
	-webkit-text-size-adjust: none;
	background: var(--base-color);		/*背景色*/
	color: var(--base-inverse-color);	/*文字色*/
	line-height: 2;		/*行間*/
}

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

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

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

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

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

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

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


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

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


/*loading（ローディング）
---------------------------------------------------------------------------*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;    /* 背景を黒に変更 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease 2s forwards;
}

/*ロゴ画像*/
#loading img {
    width: 250px;    /* ロゴサイズを調整 */
    margin-bottom: 20px;    /*ローディングバーとの間のスペース*/
    filter: brightness(1.2);  /* ロゴを少し明るく */
}

/*プログレスバーの土台*/
.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;  /*2秒でアニメーション*/
    transform-origin: left;
}

@keyframes progress {
    0% {transform: scaleX(0);}
    100% {transform: scaleX(1);}
}

@keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0; visibility: hidden;}
}

/*ローディングブロック*/
#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;
}

.spinner {
    text-align: center;
}

.loading-logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    animation: fadeInOut 2s infinite;
}

.loading-text {
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.1em;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .loading-logo {
        width: 150px;
    }
    
    .loading-text {
        font-size: 16px;
    }
}


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


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: absolute;z-index: 1;
	left: 0px;
	top: 0px;
	width: 100%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;	/*ヘッダーの高さ*/
}

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

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

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

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

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

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

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


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

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
		
	/*メニューブロック全体の設定*/
	header > nav > ul {
		margin-right: 100px;	/*ハンバーガーアイコンに重ならないように余白*/
		display: flex;			/*横並びにする*/
	}

	/*メニュー１個あたりの設定*/
	header nav li a {
		display: block;text-decoration: none;
		font-size: 0.9rem;		/*文字サイズ90%*/
		padding: 10px 20px;	/*メニュー内の余白。上下、左右へ。*/
		background: linear-gradient(
			to bottom,
			var(--rpg-window),
			var(--base-color)
		);
		border: 1px solid var(--border-color);
		color: var(--text-color);
	}
	
	/*ドロップダウンメニュー冒頭の矢印アイコン*/
	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(--rpg-window);		/*背景色。冒頭のrpg-windowを読み込みます。*/
	color: var(--text-color);	/*文字色。冒頭のtext-colorを読み込みます。*/
	border: 1px solid var(--border-color);	/*枠線の幅、線種、varは色の指定で冒頭のborder-colorを読み込みます。*/
	border-radius: 3px;					/*角を少し丸くする指定*/
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {
    display: none;
    position: fixed;
    overflow: auto;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 6rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    animation: animation1 0.2s both;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

#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% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*メニューブロック設定*/
.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(--rpg-window);		/*背景色。冒頭のrpg-windowを読み込みます。*/
	color: var(--text-color);	/*文字色。冒頭のtext-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(--rpg-window);		/*背景色。冒頭のrpg-windowを読み込みます。*/
	color: var(--text-color);					/*文字色。冒頭のtext-colorを読み込みます。*/
}

/*子メニュー*/
.small-screen #menubar ul ul a {
	background: var(--rpg-window);		/*背景色。冒頭のrpg-windowを読み込みます。*/
	color: var(--text-color);	/*文字色。冒頭のtext-colorを読み込みます。*/
	border: 1px solid var(--border-color);	/*枠線の幅、線種、varは色の指定で冒頭のborder-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: rgba(43, 90, 143, 0.9); /* メインカラーの半透明 */
	border-radius: 3px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

	/*画面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を読み込みます。*/
	background: #fff; /* バーの色を白に */
}

/*×印が出ている状態の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 {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    display: block;
}

/* PC表示の設定 */
@media screen and (min-width: 769px) {
    #mainimg {
        margin-top: 90px;
        background: none !important; /* 背景画像を無効化 */
        padding-top: 0 !important; /* padding-topを0に */
    }
}

/* スマホ表示の設定 */
@media screen and (max-width: 768px) {
    #mainimg {
        margin-top: 60px;
        background: none !important;
    }
}

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

	#mainimg > div {
		left: var(--space-large);
		align-items: flex-start;
		justify-content: center;
	}

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

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

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

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

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


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

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

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

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

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


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

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

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


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

/*h2見出し（共通）*/
main h2 {
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5vw;
    display: flex;
    flex-direction: column-reverse;
    letter-spacing: 0.1em;
    position: relative;
    text-align: center;
}

/*テキストをセンタリングする場合*/
main h2.c {
    text-align: center;
    margin-bottom: 40px;
    padding: 15px 30px;
    position: relative;
}

/* h2内のspan（小文字） */
main h2 span {
    font-size: 0.85rem;
    opacity: 0.5;
    font-weight: normal;
}

/* 画面700px以上の追加指定 */
@media screen and (min-width:700px) {
    main h2 {
        font-size: 2.4rem;
    }
}


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

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

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


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

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

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

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

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


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


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


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

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

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

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


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
    background: rgba(0,0,0,0.5);    /* より透明に */
    padding: 0.3rem 0.8rem;         /* パディングを小さく */
    color: #ddd;                    /* より明るい色に */
    font-size: 0.8rem;              /* フォントサイズを小さく */
    text-align: right;
}

.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: 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 {
    display: inline-block;
    text-decoration: none;
    padding: 15px 40px;
    color: #fff;
    background: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s;
}

.btn1 a:hover {
    background: linear-gradient(
        45deg,
        var(--accent-color),
        var(--primary-color)
    );
    border-color: var(--highlight-color);
}

/* 大きいボタン用の追加スタイル */
.btn-large a {
    font-size: 1.2em;
    padding: 20px 50px;
}

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

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

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

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


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

/* bg-primary-color内のリストアイテムのスタイル */
.bg-primary-color .list {
    background: var(--base-color);    /* 白背景 */
    color: var(--base-inverse-color); /* 暗い文字色 */
}

/* bg-primary-color内のリストアイテムのホバー時 */
.bg-primary-color .list:hover {
    transform: translateY(-5px);
    background: var(--base-color);    /* ホバー時も白背景を維持 */
}


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


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


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


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

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

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


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

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

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

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


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


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

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

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

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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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

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

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

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

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

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

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

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



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

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

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


/*ボックス１個あたり*/
.list-c2 .list {
    text-align: center;
    position: relative;
    overflow-y: hidden;
    color: #fff;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.6);
    padding: 4rem 2rem;    /* パディングを少し調整 */
}

	/* スマートフォン対応を追加 */
	@media (max-width: 768px) {
		.list-c2 .list {
			background-color: rgba(0, 0, 0, 0.4);    /* 背景に暗いオーバーレイを追加 */
			padding: 3rem 1.5rem;    /* スマホ用にパディングを調整 */
		}
		
		.list-c2 .list .text {
			position: relative;
			z-index: 2;    /* テキストを前面に */
		}
		
		.list-c2 h4 {
			margin-bottom: 1.5rem;    /* 見出しの下マージンを増やす */
		}
		
		.list-c2 h4 .main-text {
			font-size: 2.5rem;    /* メインテキストのサイズを調整 */
			font-weight: bold;    /* 太字に */
			text-shadow: 2px 2px 4px rgba(0,0,0,0.8);    /* シャドウを強く */
		}
		
		.list-c2 h4 .sub-text {
			font-size: 1rem;    /* サブテキストのサイズを調整 */
			opacity: 0.9;    /* 透明度を下げて見やすく */
			margin-bottom: 0.5rem;    /* 下マージンを追加 */
		}
		
		.list-c2 .list p {
			font-size: 0.9rem;    /* 本文のサイズを調整 */
			line-height: 1.8;    /* 行間を広げる */
			margin-bottom: 1.5rem;    /* 下マージンを追加 */
			text-shadow: 1px 1px 3px rgba(0,0,0,0.9);    /* シャドウを強く */
		}
		
		/* ボタンのスタイルも調整 */
		.list-c2 .list .btn1 a {
			padding: 1rem 2rem;    /* パディングを調整 */
			font-weight: bold;    /* 太字に */
			font-size: 1rem;    /* サイズ調整 */
		}
	}


/*左側ボックスの背景*/
.list-c2 .list.image1 {
	background: url("../images/counseling.jpg") no-repeat center center / cover;
}

/*右側ボックスの背景*/
.list-c2 .list.image2 {
	background: url("../images/line-bg.jpg") no-repeat center center / cover;
}

/*h4見出し*/
.list-c2 h4 {
	line-height: 1.2;	/*行間を狭く*/
	font-family: "Jost", sans-serif;	/*フォント指定*/
	font-optical-sizing: auto;
	font-weight: 300;	/*フォントの太さ。100〜900の間で指定が可能。大きいほど太くなります。*/
}

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

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

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

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


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

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


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

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

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

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

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

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

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


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

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

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


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

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

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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


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

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

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

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

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

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

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

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

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

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

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


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

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

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


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


/*マニュアルページ用
---------------------------------------------------------------------------*/
#manual #container {
	all: unset;
}
.manual {
	background: #fff;
	color: #333;
	padding: 5vw;
}
.manual .look {background: #eee;}
.manual h2 {
	margin-top: 2rem;
	font-size: 2rem;
	text-align: center;
}
.manual h3 {
	line-height: 3;
	margin-top: 2rem;
}
.manual h3 span {
	background: linear-gradient(transparent 60%, yellow);
}
.manual h3 + p {margin-top: -0.5rem;}
.manual.margin-left {padding-left: 300px;}

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

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

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


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb-space-large {margin-bottom: var(--space-large) !important;}
.look {line-height: 1.5 !important; display: inline-block;padding: 5px 10px;background: rgba(0,0,0,0.1);border: 1px solid rgba(0,0,0,0.3);border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.inline-block {display: inline-block !important;}
.relative {position: relative;}
.marker {background: linear-gradient(transparent 50%, yellow);}
pre {white-space: pre-wrap;word-wrap: break-word;overflow-wrap: break-word;}

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

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

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


/* 既存のCSSはそのままで、以下を追加 */

/* 広告運用の流れ */
.flow {
    background: #f8f9fa;
    padding: 5rem 2rem;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.flow-item:hover {
    transform: translateY(-5px);
}

.step {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.flow-item h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* メニュー */
.menu {
    padding: 5rem 2rem;
    background: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.menu-item {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item h3 {
    background: #007bff;
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    margin: 0;
}

.menu-content {
    padding: 2rem;
}

.menu-list {
    list-style: none;
    margin-bottom: 2rem;
}

.menu-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.menu-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007bff;
}

.price {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

.menu-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.menu-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* レスポンシブ対応の追加 */
@media (max-width: 768px) {
    .flow-grid,
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .flow-item,
    .menu-item {
        margin-bottom: 1rem;
    }

    .price {
        font-size: 1.3rem;
    }

    .menu-cta p {
        font-size: 1.1rem;
    }
}

/* アニメーション */
.flow-item,
.menu-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.flow-item:nth-child(2) { animation-delay: 0.2s; }
.flow-item:nth-child(3) { animation-delay: 0.4s; }
.flow-item:nth-child(4) { animation-delay: 0.6s; }
.flow-item:nth-child(5) { animation-delay: 0.8s; }
.flow-item:nth-child(6) { animation-delay: 1s; }

.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.4s; }

/* メディア掲載＆情報発信セクション */
.social-proof {
    margin-top: 20px;
    text-align: center;
}

.threads-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.threads-link:hover {
    background: #333;
}

.threads-link i {
    margin-right: 8px;
    font-size: 1.2em;
}

.threads-timeline {
    margin-top: 50px;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.threads-posts {
    margin-top: 20px;
}

.threads-post {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.threads-post:hover {
    transform: translateY(-5px);
}

/* 最後の投稿の下マージンを消す */
.threads-post:last-child {
    margin-bottom: 0;
}

.threads-post p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* コンタクトフォームのスタイル */
.contact-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.description {
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
}

.modern-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.required {
    color: #ff4444;
    margin-left: 4px;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    border-color: #81e8ed;
    outline: none;
    box-shadow: 0 0 0 3px rgba(129,232,237,0.2);
}

.date-time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-notice {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

.form-button {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    background: #81e8ed;
    color: #333;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(129,232,237,0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 15px;
    }

    .form-container {
        padding: 20px;
    }

    .date-time-inputs {
        grid-template-columns: 1fr;
    }
}

/* 料金プラン用の追加スタイル */
.wide-list {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
}

.minimum-price {
    text-align: center;
    color: #666;
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.margin-top {
    margin-top: 40px;
}

.note {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

/* 料金プラン用のスタイル */
.price-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.price-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 350px;
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.wide {
    width: 800px;
    max-width: 90%;
}

.price-card.popular {
    border: 2px solid #81e8ed;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #81e8ed;
    color: #333;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.card-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.card-header h3 {
    margin: 0 0 20px;
    color: #333;
    font-size: 24px;
}

.price-tag {
    font-size: 18px;
}

.price-tag .price {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.price-tag .tax {
    color: #666;
    font-size: 14px;
}

.minimum {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.card-body {
    padding: 30px;
}

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

.features-list.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: #81e8ed;
    margin-right: 10px;
}

.card-footer {
    padding: 20px;
    text-align: center;
}

.plan-button {
    display: inline-block;
    padding: 12px 40px;
    background: #81e8ed;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background: #6cd7dc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(129,232,237,0.3);
}

.agency-plan {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.price-notes {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 40px;
}

.price-notes p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .price-card {
        width: 100%;
    }
    
    .features-list.two-columns {
        grid-template-columns: 1fr;
    }
}

/* 料金表のスタイル */
.scroll {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.price-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    font-size: 16px; /* 基本フォントサイズを大きく */
}

.price-table th {
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid #eee;
    width: 33.33%;
    background: #f8f9fa; /* ヘッダー背景色を追加 */
}

.price-table th:first-child {
    width: 25%;
}

.price-table th.popular {
    position: relative;
    background: #f8f9fa;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #81e8ed;
    color: #333;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.price-table h3 {
    margin: 0 0 15px;
    color: #222; /* より濃い色に */
    font-size: 26px; /* サイズを大きく */
    font-weight: 700; /* より太く */
}

.price-tag {
    font-size: 36px; /* 価格を大きく */
    font-weight: bold;
    color: #222; /* より濃い色に */
    line-height: 1.4;
}

.price-tag span {
    font-size: 18px;
    color: #444; /* より濃い色に */
    font-weight: normal;
}

.price-table td {
    padding: 20px 30px; /* パディングを増やして余白を確保 */
    text-align: center;
    border-bottom: 1px solid #ddd;
    color: #333; /* 文字色を濃く */
    line-height: 1.6; /* 行間を広げる */
}

.price-table td:first-child {
    text-align: left;
    color: #222; /* より濃い色に */
    font-weight: 600; /* やや太く */
    font-size: 15px;
}

.action-row td {
    padding: 30px;
    border-bottom: none;
}

/* 運用代行プラン用のスタイル */
.agency-plan-table {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px; /* パディングを増やす */
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.agency-plan-table h3 {
    font-size: 28px; /* タイトルを大きく */
    color: #222;
    margin-bottom: 20px;
}

.service-table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    font-size: 15px;
}

.service-table td {
    padding: 15px;
    width: 50%;
    color: #333;
    line-height: 1.6;
}

.minimum-price {
    font-size: 16px; /* 最低料金の文字を大きく */
    color: #444;
    margin: 15px 0 30px;
}

/* 注意書きのスタイル更新 */
.price-notes {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

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

.notes-list li {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 500;
}

.notes-list li:last-child {
    margin-bottom: 0;
}

.notes-list li i {
    color: #666;
    margin-right: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .price-notes {
        margin: 30px 20px;
        padding: 15px 20px;
    }
    
    .notes-list li {
        font-size: 14px;
    }
}

/* Threads投稿セクションのスタイル */
.threads-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.threads-post {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.threads-post:hover {
    transform: translateY(-5px);
}

/* 最後の投稿の下マージンを消す */
.threads-post:last-child {
    margin-bottom: 0;
}

.post-content {
    margin-bottom: 20px;
}

.post-content h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 20px;
}

.learning-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.learning-steps li {
    font-size: 1em;
    margin-bottom: 10px;
    position: relative;
}

.post-description {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
}

.post-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

.threads-link-container {
    margin-top: 40px;
}

.threads-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.threads-button:hover {
    background: #333;
    transform: translateY(-2px);
}

.threads-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .threads-container {
        padding: 0 15px;
    }
    
    .threads-post {
        padding: 20px;
    }
    
    .learning-steps li {
        font-size: 1em;
    }
    
    .post-description {
        font-size: 1em;
    }
}

/* メディア掲載＆情報発信セクション */
.media-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.media-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.media-item:hover {
    transform: translateY(-5px);
}

.media-image {
    width: 100%;
    height: auto;
    display: block;
}

.social-links {
    text-align: center;
    margin-top: 30px;
}

.threads-link {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.threads-link:hover {
    background: #333;
    transform: translateY(-2px);
}

.threads-link i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .media-container {
        padding: 15px;
    }

    .threads-link {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 料金表のスマホ対応 */
@media (max-width: 768px) {
    .list-grid1 {
        grid-template-columns: 1fr;  /* 1列に */
        gap: 1.5rem;  /* 間隔を少し狭める */
    }

    .list {
        padding: 1.5rem;  /* パディングを少し狭める */
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 15px;
    }

    /* プラン名の強調 */
    .list h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid var(--primary-color);
        color: #333;
    }

    /* 料金の強調 */
    .list .price {
        font-size: 1.2rem;
        font-weight: bold;
        color: #333;
        margin: 0.8rem 0;
    }

    /* 説明文の調整 */
    .list p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: #666;
        margin-bottom: 1rem;
    }

    /* 特徴リストの調整 */
    .list ul {
        margin: 1rem 0;
        padding-left: 1.2rem;
    }

    .list li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
        color: #444;
    }

    /* 番号の位置とスタイル調整 */
    .list .num {
        font-size: 1.5rem;
        top: 1rem;
        right: 1.5rem;
        opacity: 0.2;
        font-weight: bold;
    }

    /* プランの区別をつけやすくする */
    .list.premium {
        background: linear-gradient(to bottom right, #fff, #f8f9fa);
        border: 2px solid var(--primary-color);
    }

    /* 画像サイズの最適化 */
    .list figure img {
        max-width: 80%;  /* 画像を少し小さく */
        height: auto;
        margin: 0 auto;
        display: block;
    }
}

/*h2内のimg画像（「そのお悩み」という手書き風のふきだしに使っています）*/
h2 img {
    width: 100px;    /*画像の幅*/
    transform: rotate(-10deg);    /*左に10度傾ける*/
    position: absolute;
    left: -10px;    /*左からの配置場所*/
    top: -30px;    /*上からの配置場所を調整*/
}

@media screen and (max-width: 768px) {
    h2 img {
        top: -25px;    /* スマホ表示時はさらに下に */
    }
}

/*画面幅700px以上の追加指定*/
@media screen and (min-width:700px) {
    h2 img {
        width: 100px;    /*画像の幅を100pxに固定*/
        left: -10px;     /*左からの配置場所*/
    }
}

/*list-c2（カウンセリング予約＆LINE追加で使用）
---------------------------------------------------------------------------*/
.list-c2 .list {
    position: relative;
    overflow-y: hidden;
    color: #fff;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.6);
    padding: 4rem 2rem;
}

/* スマートフォン対応を追加 */
@media (max-width: 768px) {
    .list-c2 .list {
        position: relative;
        padding: 3rem 1.5rem;
    }
    
    /* 暗いオーバーレイを追加 */
    .list-c2 .list::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);    /* 背景を暗く */
        z-index: 1;
    }
    
    /* テキストを前面に */
    .list-c2 .list .text {
        position: relative;
        z-index: 2;
        padding: 0;
    }
    
    /* 見出しのスタイル */
    .list-c2 .list h4 {
        margin-bottom: 1.5rem;
    }
    
    .list-c2 .list h4 .sub-text {
        font-size: 1.2rem;
        opacity: 1;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    
    .list-c2 .list h4 .main-text {
        font-size: 2rem;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    
    /* 説明文のスタイル */
    .list-c2 .list p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 2rem;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    }
    
    /* ボタンのスタイル */
    .list-c2 .list .btn1 a {
        display: inline-block;
        padding: 1rem 3rem;
        font-weight: bold;
        font-size: 1.1rem;
        background: var(--primary-color);
        color: #000;
        border-radius: 50px;
        text-shadow: none;
        box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    }
}

/* メインビジュアルのスマホ最適化 */
@media (max-width: 768px) {
    /* メインビジュアルの調整 */
    #mainimg {
        min-height: 100vh;  /* 最小の高さを画面いっぱいに */
        background: linear-gradient(
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.65)
        ), url(../images/mainimg.jpg);
        background-size: cover;
        background-position: center 20%;  /* 背景画像の位置を少し上に */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4rem 1.5rem;  /* 上下のパディングを増やし、左右を調整 */
        position: relative;
    }
    
    /* メインコピーの強調 */
    #mainimg .text .rpg-text {
        font-size: 1.8rem;
        font-weight: bold;
        line-height: 1.6;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
        margin-bottom: 3rem;
        color: #fff;
        letter-spacing: 0.05em;
        padding: 0 0.5rem;
    }
    
    /* CTAボタンの強調 */
    #mainimg .btn.rpg-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 90%;
        margin: 0 auto;
        position: relative;
        z-index: 3;
    }
    
    #mainimg .btn.rpg-buttons a {
        padding: 1.4rem 2rem;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 50px;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        color: #000;
        transition: all 0.3s ease;
        margin: 0 1rem;
    }
    
    /* iPhoneのノッチ対応 */
    @supports (padding-top: env(safe-area-inset-top)) {
        #mainimg {
            padding-top: calc(4rem + env(safe-area-inset-top));
            padding-bottom: calc(2rem + env(safe-area-inset-bottom));
            padding-left: calc(1.5rem + env(safe-area-inset-left));
            padding-right: calc(1.5rem + env(safe-area-inset-right));
        }
    }
    
    /* 背景画像の暗いオーバーレイ */
    #mainimg::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }
    
    /* お悩みセクションの改善 */
    .bg1.bg-pattern1 {
        background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
        padding: 3rem 1.5rem;
    }
    
    .list-grid1 .list.bg-black {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 2rem;
        margin-bottom: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .list-grid1 .list.bg-black h4 {
        font-size: 1.3rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }
    
    /* メリットセクションの改善 */
    .benefits-section {
        padding: 3rem 1.5rem;
    }
    
    .benefit-item {
        background: #fff;
        border-radius: 15px;
        padding: 2rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .benefit-item h3 {
        font-size: 1.2rem;
        color: #333;
        margin: 1rem 0;
    }
    
    /* 実績セクションの改善 */
    .media-section {
        background: linear-gradient(to bottom, #f8f9fa, #fff);
        padding: 3rem 1.5rem;
    }
    
    .media-item {
        background: #fff;
        border-radius: 15px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* メインビジュアルの調整 */
    #mainimg > div {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }
}

/* 広告運用のメリットセクション
---------------------------------------------------------------------------*/
.benefits-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1rem 0 2rem;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: bold;
}

.benefit-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.benefits-summary {
    background: rgba(129, 232, 237, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem auto;
    max-width: 800px;
}

.benefits-summary h3 {
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
}

.benefits-summary ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style-type: none;
}

.benefits-summary li {
    margin-bottom: 1rem;
    color: #444;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-summary li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* スマートフォン対応 */
@media (max-width: 767px) {
    .benefits-section {
        padding: 3rem 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
        margin-bottom: 0;
    }
    
    .benefit-icon {
        font-size: 2rem;
        margin: 0.5rem 0 1rem;
    }
    
    .benefits-summary {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .benefits-summary ul {
        padding-left: 1rem;
    }
    
    .benefits-summary li {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
}

/*開閉ブロック（ハンバーガーメニュー）
---------------------------------------------------------------------------*/
#menubar {
    display: none;
    position: fixed;
    overflow: auto;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 6rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    color: #333;
    animation: animation1 0.2s both;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* メニューリストのスタイル修正 */
#menubar nav {
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
}

#menubar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#menubar nav ul li a {
    color: #333;
    display: block;
    padding: 1rem;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 5px;
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#menubar nav ul li a:hover {
    background: rgba(129, 232, 237, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* サブメニューの修正 */
#menubar nav ul ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
    gap: 0.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
}

#menubar nav ul ul li a {
    font-size: 1rem;
    padding: 0.7rem 1rem;
    border-bottom: none;
}

/* 説明文の位置調整 */
#menubar p {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    font-size: 0.9rem;
    color: #666;
    text-align: left;
}

/* ハンバーガーアイコンの色変更 */
#menubar_hdr {
    background: rgba(43, 90, 143, 0.9); /* メインカラーの半透明 */
    border-radius: 3px;
}

#menubar_hdr span {
    background: #fff; /* バーの色を白に */
}

/* アニメーションの調整 */
@keyframes animation1 {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 料金プランセクション
---------------------------------------------------------------------------*/
.price-section {
    background: #f8f9fa;
    padding: 5rem var(--space-large);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.price-item {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.price-item:hover {
    transform: translateY(-5px);
}

.price-item.popular {
    border: 2px solid var(--primary-color);
    padding-top: 3rem;
}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem 1rem 2rem;
        margin: 2rem -1rem;
    }
    
    .price-item {
        padding: 1.8rem;
    }
}

.minimum-price {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.price-notes {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
}

.price-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-notes li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: #666;
}

.price-notes i {
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 料金プランのボタンスタイル
---------------------------------------------------------------------------*/
+ .price-item .btn {
+     display: block;
+     text-align: center;
+     padding: 1.2rem;
+     margin-top: 2rem;
+     background: #333;
+     color: #fff;
+     border-radius: 50px;
+     font-weight: bold;
+     transition: all 0.3s ease;
+     text-decoration: none;
+     box-shadow: 0 4px 15px rgba(0,0,0,0.1);
+ }
+ 
+ .price-item .btn:hover {
+     transform: translateY(-3px);
+     box-shadow: 0 6px 20px rgba(0,0,0,0.15);
+     opacity: 0.9;
+ }
+ 
+ /* 人気プランのボタン強調 */
+ .price-item.popular .btn {
+     background: var(--primary-color);
+     color: #000;
+     font-size: 1.1rem;
+ }
+ 
+ /* スマートフォン対応 */
@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem 1rem 2rem;
        margin: 2rem -1rem;
    }
    
    .price-item {
        padding: 1.8rem;
    }
    
+   .price-item .btn {
+       padding: 1rem;
+       margin-top: 1.5rem;
+       font-size: 1rem;
+   }
+   
+   .price-item.popular .btn {
+       font-size: 1rem;
+   }
}

@media (max-width: 768px) {
    #mainimg::after {
        background: none !important;
        opacity: 0 !important;
    }
}

/* お客様の声セクションのレスポンシブ対応 */
@media screen and (max-width: 768px) {
    .voice-container {
        display: block;
        padding: 0 15px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px; /* スクロールバー用の余白 */
    }

    .voice-item {
        display: inline-block;
        width: 85vw; /* ビューポートの85%の幅 */
        white-space: normal;
        vertical-align: top;
        margin-right: 15px;
        scroll-snap-align: start;
    }

    /* スクロールバーのカスタマイズ */
    .voice-container::-webkit-scrollbar {
        height: 4px;
    }

    .voice-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .voice-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 2px;
    }

    /* スクロールインジケーター */
    .scroll-indicator {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
    }

    .scroll-dot {
        width: 8px;
        height: 8px;
        background: #ddd;
        border-radius: 50%;
        transition: background 0.3s;
    }

    .scroll-dot.active {
        background: #2B5A8F;
    }

    .voice-header {
        margin-bottom: 15px;
    }

    .voice-header .icon {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }

    .voice-content {
        margin-bottom: 15px;
    }
}

/* 極小画面での調整 */
@media screen and (max-width: 480px) {
    .voice-item {
        width: 90vw; /* より小さい画面では幅を90%に */
    }
}

/* お客様の声セクションのレスポンシブ対応 */
/* PC表示のスタイル */
.voice-container {
    display: block; /* 通常の縦並びレイアウト */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.voice-item {
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.voice-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.voice-header .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.voice-header .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* スマホ表示のスタイル */
@media screen and (max-width: 768px) {
    .voice-container {
        display: block;
        padding: 0 15px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }

    .voice-item {
        display: inline-block;
        width: 85vw;
        white-space: normal;
        vertical-align: top;
        margin-right: 15px;
        scroll-snap-align: start;
        margin-bottom: 0;
    }

    /* スクロールバーとインジケーターのスタイルは維持 */
    // ... 既存のスクロールバーとインジケーターのスタイル ...
}

/* スワイプインジケーターのスタイル */
.swipe-indicator {
    display: none;
}

@media screen and (max-width: 768px) {
    .swipe-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 0 20px;
        position: relative;
    }

    .swipe-text {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #666;
        font-size: 13px;
        padding: 8px 15px;
        background: rgba(43, 90, 143, 0.1);
        border-radius: 20px;
    }

    .swipe-text i {
        font-size: 16px;
        color: #2B5A8F;
        position: relative;
        animation: bounce 2s infinite;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateX(0);
        }
        40% {
            transform: translateX(5px);
        }
        60% {
            transform: translateX(3px);
        }
    }
}

/* 業務内容セクションのスタイル */
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-category {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-header i {
    font-size: 28px;
}

.service-header h3 {
    font-size: 22px;
    margin: 0;
    font-weight: bold;
}

/* カテゴリー別の色設定 */
.blue-text { color: #0066CC; }
.yellow-text { color: #FFB800; }
.green-text { color: #00B67A; }
.purple-text { color: #9933CC; }

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

.service-list li {
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.main-service {
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

.main-service::before {
    content: '★';
    color: #ff0000;
    margin-right: 5px;
}

.sub-text {
    color: #666;
    font-size: 13px;
    margin-left: 5px;
}

/* スマホ表示の調整 */
@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-category {
        padding: 20px;
    }

    .service-header i {
        font-size: 24px;
    }

    .service-header h3 {
        font-size: 20px;
    }
}


