@charset "utf-8";



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


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


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





/* 背景用キャンバスを常に裏に固定 */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;   /* 背景にする */
  pointer-events: none; 
}





/* 背景 canvas をページ全体に固定 */
canvas#bg {
  position: fixed;  /* ← 背景固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;  /* 背景にする */
}



section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero {
  
  background: rgba(0,0,0,0.8);
  display: block; /* sectionのflexを上書き */
  min-height: auto; /* 高さ指定を解除 */
  padding: 20px 0; /* 上下に少し余白だけ */
}

.content {
  background: rgba(0,0,0,0.4);
}






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


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


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

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

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

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


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












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

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

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

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

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

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

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


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

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


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








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

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





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

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: rgba(228, 0, 127,0.8);
}

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

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

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


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

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

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

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

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

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


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

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

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


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


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

/*見出し内のspan（小さな装飾文字と上部のアクセントライン）*/
main h2 span.small {
	display: inline-block;
	border-top: 2px solid var(--primary-color);	/*上の線の幅、線種、varは色のことで冒頭のprimary-colorを読み込みます。*/
	font-size: 0.9rem;		/*文字サイズ90%*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広く*/
	padding-top: 2rem;		/*上に空ける余白。ラインとの間の余白調整です。お好みで。*/
}

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



	
	
	
	
	
.bbs5 {
  align-items: center;
  background: #0e546b;
  color: #fff;
  display: flex;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  margin-top: 100px;
  z-index: 1;
}

.bbs5 ul {
  animation: flowing 10s linear infinite;
  font-size: 20px;
  margin: 0;
  padding: 0;
}

.bbs5 ul li {
  display: inline-block;
  padding-right: 10px;
}

/* アニメーション修正 */
@keyframes flowing {
  0%   { transform: translateX(100%); }   /* 右から出発 */
  100% { transform: translateX(-100%); }  /* 左に消える */
}
	
	
.bbs{
  align-items: center;
  background: ;
  color: #fff;
  display: flex;
  height: 100px;
  line-height: 40px;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
  margin-top: 100px;
  z-index: 1;
}
.bbs ul {
display: inline-block;
  font-size: 90px;
  margin: 0;
  padding: 0;
  animation: flowing 30s linear infinite;
  }
.bbs ul li{
  display: inline-block;
  padding-right: 10px;
}
@keyframes flowing {
  0% { transform:translateX(100%); }
  100% { transform:translateX(-100%); }
}


.bbs2{
  align-items: center;
  background: #0e546b;
  color: #fff;
  display: flex;
  height: 40px;
  line-height: 40px;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
  margin-top: 5px;
  z-index: 1;
}
.bbs2 ul {
  animation: flowing 20s linear infinite;
  font-size: 20px;
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}
.bbs2 ul li{
  display: inline-block;
  padding-right: 10px;
}
@keyframes flowing {
  0% { transform:translateX(100%); }
  100% { transform:translateX(0%); }
}	
	
	
	
	
	
.bbs3{
  align-items: center;
  background: #0e546b;
  color: #fff;
  display: flex;
  height: 40px;
  line-height: 40px;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
  margin-top: 100px;
  z-index: 1;
}
.bbs3 ul {
  animation: flowing 20s linear infinite;
  font-size: 20px;
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}
.bbs3 ul li{
  display: inline-block;
  padding-right: 10px;
}
@keyframes flowing {
  0% { transform:translateX(-100%); }
  100% { transform:translateX(0%); }
}	
	
	



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

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


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

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

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

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

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

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


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

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

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

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

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

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

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


/*フッター
---------------------------------------------------------------------------*/
#footer * {margin: 0;padding: 0;}
#footer ul {list-style: none;}

/*ブロック全体*/
#footer {
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	padding: var(--content-space);	/*フッター内の余白。css冒頭のcontent-spaceを読み込みます。*/
}

/*ロゴやSNSアイコンが入ったブロック*/
#footer div.footer1 {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;	/*このブロック内のボックス同士の間に空ける余白。１文字分。*/
}

/*メニューブロック*/
#footer div.footer2 {
    flex: 1;
}

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

	#footer {
		display: flex;
		gap: 2rem;		/*ロゴのブロックとメニューのブロックとの間の余白。2文字分。*/
	}

	/*ロゴやSNSアイコンが入ったブロック*/
	#footer div.footer1 {
		text-align: left;
		width: 40%;	/*幅。40%。*/
	}

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


/*Copyright部分*/
#footer small {
	display: block;
	text-align: right;
	margin-top: 2rem;
}


/*SNSアイコン
---------------------------------------------------------------------------*/
#footer .sns {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;		/*アイコン同士のマージン的な要素。１文字分。*/
}

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




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

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




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

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

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

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


/*フッター
---------------------------------------------------------------------------*/
#footer * {
    margin: 10px ;
    padding: 0;
    }
    
    
#footer ul {list-style: none;}

/*ブロック全体*/
#footer {
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
}

/*ロゴやSNSアイコンが入ったブロック*/
#footer div.footer1 {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;	/*このブロック内のボックス同士の間に空ける余白。１文字分。*/
}

/*メニューブロック*/
#footer div.footer2 {
    flex: 1;
}

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

	#footer {
		display: flex;
		gap: 2rem;		/*ロゴのブロックとメニューのブロックとの間の余白。2文字分。*/
	}

	/*ロゴやSNSアイコンが入ったブロック*/
	#footer div.footer1 {
		text-align: left;
		width: 40%;	/*幅。40%。*/
	}

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


/*Copyright部分*/
#footer small {
	display: block;
	text-align: right;
	margin-top: 2rem;
}



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

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

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



/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb5rem {margin-bottom: 5rem !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; color: #888; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

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

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

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



/* タイトル */
#title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  line-height: 1;
  z-index: 5;
  user-select: none;
  pointer-events: none;
  animation: title-breath 8s ease-in-out infinite;
}
#title span {
  display: block;
  font-weight: 900;
  letter-spacing: .0.3em;
  text-transform: ;
  font-family: "Futura Book BT", sans-serif, ;

  text-shadow:
    0 1px 0 rgba(0,0,0,0.85),
    1px 0 0 rgba(0,0,0,0.85),
    1px 1px 0 rgba(0,0,0,0.85),
    2px 1px 0 rgba(0,0,0,0.65),
    -1px -1px 0 rgba(0,0,0,0.65);
}
#title span:first-child {
  font-weight: bolder;
  font-size: clamp(1.2rem, 6vw, 4rem);
  margin-bottom: .5rem;
  letter-spacing: .18em;
}
#title span:last-child {
  font-weight: 400;
  opacity: .95;
  font-size: clamp(.85rem, 2.2vw, 1.6rem);
}

@keyframes title-breath {
  0% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%,-50%) scale(1.01); opacity: .95; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}








@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

.scroll_down{
  position:absolute;
  bottom:50px;
  right:50%;
  animation: arrowmove 1s ease-in-out infinite;
}

.scroll_down a{
  position: absolute;
  left: -24px;
  bottom: 30px;
  color: #fff;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  width: 24px;
  height: 24px;
  text-decoration: none;
}

.text {
  display: block;
  margin-top: 70px;
  margin-left: -14px;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 2px;
}

.arrow {
  position: absolute;
  width: 28px;
  height: 5px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.arrow:first-child {
  animation: move 3s ease-out 1s infinite;
}

.arrow:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.arrow:before,
.arrow:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}

.arrow:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.arrow:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% { opacity: 1; }
  33% { opacity: 1; transform: translateY(30px); }
  67% { opacity: 1; transform: translateY(40px); }
  100% { opacity: 0; transform: translateY(55px) scale3d(0.5, 0.5, 0.5); }
}

















.gallery {
  margin: 10px;
  width: 100%;
  overflow: hidden; /* 子要素がはみ出さないようにする */
}

/* 上段スライダー */
.gallery_slide {
  display: flex;
  width: 100%;
  animation: slide-left 22s linear infinite;
  gap: 10px; /* ← ここで隙間を作れる */
  animation-play-state: running; /* 初期状態: 動いてる */
}

.gallery_slide li {
  flex: 0 0 calc(25% - 10px); /* gapぶん引いて調整 */
  width: 100%;
}

.gallery_slide:hover {
  animation-play-state: paused;
}

/* 下段スライダー */
.gallery_slide_reverse {
  display: flex;
  width: 100%;
  animation: slide-right 22s linear infinite;
  gap: 10px; /* ← ここで隙間を作れる */
  animation-play-state: running; /* 初期状態: 動いてる */
}

.gallery_slide_reverse li {
  flex: 0 0 calc(25% - 10px); /* gapぶん引いて調整 */
  width: 100%;
}

.gallery_slide_reverse:hover {
  animation-play-state: paused;
}


/* アニメーション（左方向へ流れる） */
@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* アニメーション（右方向へ流れる） */
@keyframes slide-right {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@media screen and (max-width: 600px) {

  .gallery {
    margin: 5px; /* ← 上下余白を削除 */
  }

  .gallery_slide li,
  .gallery_slide_reverse li {
    flex: 0 0 50%; /* 2枚分 */
  }
  
  .gallery_slide,
  .gallery_slide_reverse {
    gap: 5px; /* スマホでは隙間を少し減らす（任意） */
  }
}


/* 小さい星層 */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: 
    1608px 377px #fff,
    2412px 828px #fff,
    2794px 758px #fff,
    2523px 775px #fff,
    2424px 333px #fff,
    2841px 406px #fff,
    2557px 634px #fff,
    1855px 818px #fff,
    860px 355px #fff,
    723px 964px #fff,
    2548px 317px #fff,
    1792px 470px #fff,
    778px 119px #fff,
    570px 208px #fff,
    2347px 128px #fff,
    2992px 647px #fff,
    2817px 231px #fff,
    2017px 472px #fff,
    178px 543px #fff,
    2154px 801px #fff,
    /* ……以下 100個以上の座標を自動生成済み …… */;
  animation: animStars 100s linear infinite;
}

.stars::after {
  content: " ";
  position: absolute;
  top: 1000px;
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: inherit;
}

/* 大きい星層 */
.stars2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow: 
    84px 178px #fff,
    2045px 269px #fff,
    1261px 121px #fff,
    1132px 916px #fff,
    1984px 401px #fff,
    770px 552px #fff,
    1605px 747px #fff,
    224px 268px #fff,
    204px 998px #fff,
    2357px 632px #fff,
    2689px 828px #fff,
    1253px 976px #fff,
    558px 694px #fff,
    2934px 542px #fff,
    2139px 808px #fff,
    276px 390px #fff,
    1470px 166px #fff,
    874px 429px #fff,
    2244px 931px #fff,
    2695px 120px #fff,
    /* ……こちらも100個以上の座標 …… */;
  animation: animStars 150s linear infinite;
}

.stars2::after {
  content: " ";
  position: absolute;
  top: 1000px;
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow: inherit;
}

/* 星の流れる動き */
@keyframes animStars {
  from { transform: translateY(0); }
  to   { transform: translateY(-1000px); }
}




























 @font-face {
      font-family: "Futura Pro Black";
      src: url("/fonts/futura-font.woff2") format("woff2");
      font-weight: 900;
      font-style: normal;
    }

    /* 特定のクラスだけ適用 */
    .futura {
      font-family: "Futura Pro Black", sans-serif;
      font-weight: 900;
    }




.bbs7 {
  align-items: center;
  background: ;
  color: #000c2b;
  display: flex;
  height: 200px;
  line-height: 40px;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  margin-top: 100px;
  z-index: 1;
}

.bbs7 ul {
  display: inline-block;
  animation: flowing 50s linear infinite;
  font-size: 200px;
  margin: 0;
  padding: 0;
}

.bbs7 ul li {
  display: inline-block;
  padding-right: 30px;
}

@keyframes flowing {
  0%   { transform: translateX(100%); }   /* 右端から */
  100% { transform: translateX(-100%); }  /* 左端に消える */
}
	





/* ヘッダー右上に追従するボタン配置 */
#header-buttons {
  position: fixed;
  top: 15px;      /* 上からの距離 */
  right: 95px;    /* 右からの距離 */
  display: flex;
  gap: 20px;      /* ボタン同士の隙間 */
  z-index: 9999;  /* 最前面に固定 */
}

/* ボタン共通スタイル */
#header-buttons a {
  display: inline-block;
  padding: 10px 20px;
  background: #1a395d;   /* 背景色 */
  color: #fff;           /* 文字色 */
  text-decoration: none; /* 下線を消す */
  border-radius: 6px;    /* 角丸 */
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

/* ホバー時の効果 */
#header-buttons a:hover {
  background: #274b7a;  /* 少し明るい色 */
  transform: translateY(-2px);
}













/* ===== header / header-box を確実に前面に出す（追記） ===== */
header {
  position: absolute; /* または fixed にする場合は fixed */
  color: #fff;		/*文字色*/
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120 !important; /* 背景より上＆メニューより下にしたければ数値調整 */
}

header a {color: inherit;}

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

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

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

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








/* ハンバーガー等はさらに上 */
#menubar_hdr {
  position: fixed; /* 既に fixed のようですが、念のため */
  z-index: 101;
}

/* 背景キャンバスは操作を受け付けないように（既に設定済みなら省略可） */
#bg {
  pointer-events: none;
  z-index: 0;
}

header { position: absolute; top:0; left:0; width:100%; z-index: 100; }
#menubar_hdr { position: fixed; top: 10px; right: 10px; z-index: 200; cursor: pointer; }
#menubar { position: fixed; z-index: 150; top:30px;/* display:none で初期非表示 */ }



