@charset "utf-8";




/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Qwitcher+Grypen&display=swap');

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");




/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	margin: 0;padding: 0;
	/*
	  以前は height:100vh で固定していたため、
	  サブページの内容が画面外に出ると表示できず「背景も内容も出ない」状態になっていました。
	  index だけ 100vh 固定にし、他ページはスクロールできるようにします。
	*/
	height: 100%;
	min-height: 100%;
	font-size: 14px;	/*基準となるフォントサイズ。下の方にある「画面幅900px以上」で基準を大きなサイズに再設定しています。*/
}

/* html側の塗りつぶしが背面固定背景を隠すケースがあるため、透明にしておく */
html{ background: transparent; }

body {
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #130f5d;
	color: #3a5d95;		/*全体の文字色*/
	line-height: 2;		/*行間*/
}

/* サブページ共通の背景（背景が表示されない対策） */
body.sub-page{
	--page-bg: url('../images/bg2.jpg');
	background: var(--page-bg) center / cover fixed no-repeat;
	/* サブページはスクロールできるように */
	overflow-y: auto;
	height: auto;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}


/*ul,olタグ*/
ul, ol {margin-bottom: 30px;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #57524b;	/*文字色*/
	transition: 0.3s;
}

a:hover {
	opacity: 0.8;	/*マウスオン時に60%の透明度にする*/
}


.img-frame{
   width: 100%;
   height: 100px;
}
.resizeimage img { width: 100vw; }

.img-01, .img-02, .img-03{
   position: absolute;
   top: auto;
   left: auto;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-repeat: no-repeat;
}
.img-01{
   background-image: url('../images/bg501.jpg');
   animation: slide-animation-01 18s infinite;
}
.img-02{
   background-image: url('../images/bg502.jpg');
   animation: slide-animation-02 18s infinite;
}
.img-03{
   background-image: url('../images/bg503.jpg');
   animation: slide-animation-03 18s infinite;
}
@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  30% {opacity: 1;}
  40% {opacity: 0; transform: scale(1.0);}
  90% {opacity: 0}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  30% {opacity: 0; transform: scale(1.0);}
  40% {opacity: 1;}
  60% {opacity: 1;}
  70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
    0% {opacity: 0;}
  60% {opacity: 0;  transform: scale(1.0);}
  70% {opacity: 1;}
  90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.0);}
}



/*メインイメージ（bg_sub.pngとbg_main.jpgを読み込んでいます）
---------------------------------------------------------------------------*/
#mainimg {
	text-indent: -9999px;
	position: fixed;top: 0px;z-index: -1;
	width: 100%;
	height: 100%;
	background-image: url(../images/bg2.jpg);
	background-size: auto 100%;
}


/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	height: 100%;	/*高さ*/
	max-height: 100%;
}


/*ロゴ画像*/
header #logo img {
	width: 80%;		/*幅*/
	height: auto;
	position: fixed;	/*画面に対して固定表示*/
	left: 0px;		/*ウィンドウに対して左からの配置場所*/
	top: 5%;			/*ウィンドウに対して上からの配置場所*/
	background: rgba(148,152,82,0);	/*RGBで指定した背景色。最後の0.5は色が50%出た状態のこと。*/
	border-radius: 5%;	/*角丸のサイズ。中の画像が正方形であれば円形になります。*/
}


/*メインメニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar li {
	display: inline-block;
	transition: 0.5s;
	border-radius: 10%;			/*円形にする*/
	animation: opa1 1.5s both;	/*animation.cssの、opa1を実行する。1.5sは1.5秒の事。*/
	text-align: center;
	font-size: 1.5em;	/*文字サイズ*/
	position: fixed;	/*画面に対して固定表示*/
}
#menubar li a {
	display: block;text-decoration: none;
	color: #fff;		/*文字色*/
}


/*マウスオン時*/
#menubar li:hover {
	transform: scale(1.05);		/*105%に拡大*/
	filter: brightness(1.1);	/*少しだけ明るくする*/
}

/*１つ目のメニュー(About)*/
#menubar li:nth-of-type(1) {
	left: 5%;			/*ウィンドウに対して左からの配置場所*/
	top: 9%;			/*ウィンドウに対して上からの配置場所*/
	animation-delay: 0.2s;	/*0.2秒だけ遅れてアニメーションをスタートさせる設定*/
	background: rgba(184,122,56,0);	/*RGBでの背景色指定。最後の0.5は色が50%出た状態のこと。*/
	width: 80px;		/*幅*/
	line-height: 80px;	/*高さ*/
			font-size: 1.2em;	/*文字サイズ*/
			text-decoration: underline;

}

/*２つ目のメニュー(Gallery)*/
#menubar li:nth-of-type(2) {
	left: 30%;			/*ウィンドウに対して左からの配置場所*/
	top: 9%;			/*ウィンドウに対して上からの配置場所*/
	animation-delay: 0.4s;	/*0.4秒だけ遅れてアニメーションをスタートさせる設定*/
	background: rgba(205,96,82,0);	/*RGBでの背景色指定。最後の0.5は色が50%出た状態のこと。*/
	width: auto;		/*幅*/
	line-height: 80px;	/*高さ*/
			font-size: 1.2em;	/*文字サイズ*/
			
			text-decoration: underline;

}

/*３つ目のメニュー(Link)*/
#menubar li:nth-of-type(3) {
	left: 55%;			/*ウィンドウに対して左からの配置場所*/
	top: 9%;			/*ウィンドウに対して上からの配置場所*/
	animation-delay: 0.6s;	/*0.6秒だけ遅れてアニメーションをスタートさせる設定*/
	background: rgba(125,101,87,0);	/*RGBでの背景色指定。最後の0.5は色が50%出た状態のこと。*/
	line-height: 80px;	/*高さ*/
		font-size: 1.2em;	/*文字サイズ*/
			text-decoration: underline;

}

/*４つ目のメニュー(Instagram)*/
#menubar li:nth-of-type(4) {
	left: 15%;			/*ウィンドウに対して左からの配置場所*/
	top: 17%;			/*ウィンドウに対して上からの配置場所*/
	animation-delay: 0.8s;	/*0.8秒だけ遅れてアニメーションをスタートさせる設定*/
	background: rgba(138,158,156,0);	/*RGBでの背景色指定。最後の0.5は色が50%出た状態のこと。*/
	width: auto;		/*幅*/
	line-height: 80px;	/*高さ*/
		border-radius: 50%;	/*角丸のサイズ。中の画像が正方形であれば円形になります。*/
				font-size: 1.2em;	/*文字サイズ*/
			text-decoration: underline;


}


/*5つ目のメニュー(ようつべ)*/
#menubar li:nth-of-type(5) {
	left: 40%;			/*ウィンドウに対して左からの配置場所*/
	top: 17%;			/*ウィンドウに対して上からの配置場所*/
	animation-delay: 0.8s;	/*0.8秒だけ遅れてアニメーションをスタートさせる設定*/
	background: rgba(138,158,156,0);	/*RGBでの背景色指定。最後の0.5は色が50%出た状態のこと。*/
	width: auto;		/*幅*/
	line-height: 80px;	/*高さ*/
		border-radius: 50%;	/*角丸のサイズ。中の画像が正方形であれば円形になります。*/
			text-decoration: underline;
		
		font-size: 1.2em;	/*文字サイズ*/

}


/*6つ目のメニュー(時計)*/
#menubar li:nth-of-type(6) {
	right: 7%;
	top: 0%;			/*ウィンドウに対して上からの配置場所*/
		font-size: 0.9em;	/*文字サイズ*/

	animation-delay: 0.8s;	/*0.8秒だけ遅れてアニメーションをスタートさせる設定*/
	background: ;	/*RGBでの背景色指定。最後の0.5は色が50%出た状態のこと。*/
	line-height: auto;	/*高さ*/

}

/*7つ目のメニュー(問い合わせ)*/
#menubar li:nth-of-type(7) {
	left: 65%;			/*ウィンドウに対して左からの配置場所*/
	top: 20%;			/*ウィンドウに対して上からの配置場所*/
	animation-delay: 0.6s;	/*0.6秒だけ遅れてアニメーションをスタートさせる設定*/
	background: rgba(125,101,87,0);	/*RGBでの背景色指定。最後の0.5は色が50%出た状態のこと。*/
	line-height: 80px;	/*高さ*/
		font-size: 1.2em;	/*文字サイズ*/
			text-decoration: underline;

}


/*8つ目のメニュー(芝生)*/


#menubar li:nth-of-type(8) {
	right: 7%;		/*ウィンドウに対して左からの配置場所*/
	top: 4.8%;			/*ウィンドウに対して上からの配置場所*/
		font-size: 1.5em;	/*文字サイズ*/
	width: 25%;		/*幅*/
}


/*9つ目のメニュー(ワンチャン)*/


#menubar li:nth-of-type(9) {
	right: 16%;		/*ウィンドウに対して左からの配置場所*/
	top: 7.5%;			/*ウィンドウに対して上からの配置場所*/
		font-size: 1.5em;	/*文字サイズ*/
	width: 12%;		/*幅*/
}

/*10つ目のメニュー(太陽)*/


#menubar li:nth-of-type(10) {
	right: 9%;		/*ウィンドウに対して左からの配置場所*/
	top: 5%;			/*ウィンドウに対して上からの配置場所*/
	width: 5%;		/*幅*/
}


/*１１つ目のメニュー(home)*/
#menubar li:nth-of-type(11) {
	left: 0%;			/*ウィンドウに対して左からの配置場所*/
	top: 18.5%;			/*ウィンドウに対して上からの配置場所*/
	width: 0%;		/*幅*/
	line-height: 0px;	/*高さ*/

			font-size: 0em;	/*文字サイズ*/
			border: 1px solid black;
						text-decoration: underline;

}
/*12つ目のメニュー(zeh)*/
#menubar li:nth-of-type(12) {
	left: 80%;			/*ウィンドウに対して左からの配置場所*/
	top: 12%;			/*ウィンドウに対して上からの配置場所*/
	animation-delay: 0.8s;	/*0.8秒だけ遅れてアニメーションをスタートさせる設定*/
	animation-delay: 0.6s;	/*0.6秒だけ遅れてアニメーションをスタートさせる設定*/
	background: rgba(125,101,87,0);	/*RGBでの背景色指定。最後の0.5は色が50%出た状態のこと。*/
	line-height: 80px;	/*高さ*/
		font-size: 1.2em;	/*文字サイズ*/
			text-decoration: underline;
}
/*コンテンツ
---------------------------------------------------------------------------*/
/*コンテンツ共通*/
.contents {
	overflow: hidden;
	padding: 60% 4% 0px 4%;	/*ボックス内の余白。上、右、下、左。*/
}


/*main
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
	font-size: 2em;			/*文字サイズ*/
	margin-bottom: 20px;	/*下に空ける余白*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.2em;	/*文字間隔を広くとる設定*/
}


/*h2見出し内のspanタグ*/
main h2 span {
	display: block;
	font-size: 0.7em;	/*文字サイズ*/
}

/*h3見出し*/
main h3 {
	margin-bottom: 20px;	/*下に空ける余白*/
	letter-spacing: 0.1em;	/*文字間隔を広くとる設定*/
	background: #fff;		/*背景色（古いブラウザ用）*/
	background: rgba(255,255,255,0.3);	/*255,255,255は白の事で0.3は色が30%出た状態の事。*/
	text-align: center;		/*文字を中央に*/
	border-radius: 30px;	/*角丸のサイズ。大きめに設定しておけばOK。*/
	padding: 0px 20px;		/*上下、左右への余白*/
}

/*段落タグ*/
main p {
	padding: 0 30px 30px;		/*上、左右、下への余白*/
}

/*bg1スタイルのついたコンテンツ*/
.bg1 {
	background: url(../images/bg1.jpg) repeat center top/ 200px;
	height: 100%	/*背景画像*/
}

/*bg2スタイルのついたコンテンツ*/
.bg2 {
	background: url(../images/bg2.jpg) repeat center top/ 200px;
	height: 100%;	/*背景画像*/
}

/*bg3スタイルのついたコンテンツ*/
.bg3 {
	
	background: url(../images/bg3.jpg), url(../images/bg3.jpg);

}

/*bg4スタイルのついたコンテンツ*/
.bg4 {
	background: url(../images/bg4.jpg) repeat center top/ 200px;
	height: 100%;	/*背景画像*/
}
	

/*bg5スタイルのついたコンテンツ*/
.bg5 {
	background: url(../images/bg3.jpg) repeat center top/ 200px;
		height: 100%;	/*背景画像*/
	/*背景画像*/
}

/*listボックス。１個あたりのボックスの指定です。*/
.list-container .list {
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	margin-bottom: 30px;			/*ボックス同士の上下間の余白*/
	border-radius: 10px;			/*角丸のサイズ。中の画像が正方形であれば、10pxを50%にすることで円形にすることもできます。*/
	overflow: hidden;
	width: 22%;						/*幅。１行に何個配置したいか、ここの数値を変更してお好みで調整して下さい。*/
}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
	padding: 0 20px;	/*上下、左右へのボックス内の余白*/
}
/*日付の横のマーク（共通設定）*/
#new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.6em;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0px 5px;		/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: rgba(255,255,255,0.2);
	margin-bottom: 0px;
	border-radius: 5px;
}

table {
	width: 100%;
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	z-index: 99;
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5em;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: #74791b !important;}
.color-check, .color-check a {color: #f00 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #666; color: #fff; border-radius: 3px;margin: 5px 0;}
.look .color-check {color: #ffcc00 !important;}
.small {font-size: 0.6em;}


.sp_br {
  display: none; //768px以上では改行タグを無効に。
}
@media screen and (max-width: 768px) {
  .sp_br {
    display: block; //768px未満で改行タグを有効に。
  }
}




/*---------------------------------------------------------------------------
ここから下は画面幅900px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:700px) {


/*全体の設定
---------------------------------------------------------------------------*/
html, body {
	font-size: 16px;	/*基準となるフォントサイズの上書き*/
}

body {
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: linear-gradient(90deg, #130f5d 0%, #130f5d 34.5%, #FFF 34.5%, #FFF 100%);
	color: #111111;		/*全体の文字色*/
	line-height: 1.7;		/*行間*/
}


body #works{
		font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	line-height: 1.7;		/*行間*/

	 background-image:url(../images/bg3.jpg);
	 
}
/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #C30;	/*文字色*/
	transition: 0.3s;
}

.img-frame{
   width: 100%;
   height: 100px;
}
.resizeimage img { width: 100vw; }

.img-01, .img-02, .img-03{
   position: absolute;
   top: auto;
   left: auto;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-repeat: no-repeat;
}
.img-01{
   background-image: url('../images/bg501.jpg');
   animation: slide-animation-01 16s infinite;
}
.img-02{
   background-image: url('../images/bg502.jpg');
   animation: slide-animation-02 16s infinite;
}
.img-03{
   background-image: url('../images/bg503.jpg');
   animation: slide-animation-03 16s infinite;
}
@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  30% {opacity: 1;}
  40% {opacity: 0; transform: scale(1.0);}
  90% {opacity: 0}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  30% {opacity: 0; transform: scale(1.0);}
  40% {opacity: 1;}
  60% {opacity: 1;}
  70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
    0% {opacity: 0;}
  60% {opacity: 0;  transform: scale(1.0);}
  70% {opacity: 1;}
  90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.0);}
}
/*ヘッダー
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo img {
	width: 90%;	/*幅*/
	height: auto;
	size: contain;
	
	top: 0%;
	left: 2%;		/*ウィンドウに対して左からの配置場所*/
}


/*メインメニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar li {
	font-size: 2em;		/*文字サイズ*/
}

#menubar li a {
	display: block;text-decoration: none;
	color: #C30;		/*文字色*/
}


/*１つ目のメニュー(About)*/
#menubar li:nth-of-type(1) {
	left: 43.0%;			/*ウィンドウに対して左からの配置場所*/
	top: 9%;			/*ウィンドウに対して上からの配置場所*/
	width: 7.5%;		/*幅*/
	line-height: 50px;	/*高さ*/

			font-size: 1.1em;	/*文字サイズ*/
			border: 1px solid black;
}

/*２つ目のメニュー(Gallery)*/
#menubar li:nth-of-type(2) {
	left: 51.0%;			/*ウィンドウに対して左からの配置場所*/
	top: 9%;			/*ウィンドウに対して上からの配置場所*/
	width: 7.5%;		/*幅*/
	line-height: 50px;	/*高さ*/
		border: 1px solid black;

			font-size: 1.1em;	/*文字サイズ*/

}

/*３つ目のメニュー(Link)*/
#menubar li:nth-of-type(3) {
	left: 59.0%;			/*ウィンドウに対して左からの配置場所*/
	top: 9%;			/*ウィンドウに対して上からの配置場所*/
	width: 7.5%;		/*幅*/
	line-height: 50px;	/*高さ*/
		border: 1px solid black;
		font-size: 1.1em;	/*文字サイズ*/

}

/*４つ目のメニュー(Instagram)*/
#menubar li:nth-of-type(4) {
	left: 75.0%;			/*ウィンドウに対して左からの配置場所*/
	top: 17%;			/*ウィンドウに対して上からの配置場所*/
	width: 8%;		/*幅*/
	line-height: 50px;	/*高さ*/
		border: 1px solid black;
			border-radius: 10%;	/*角丸のサイズ。中の画像が正方形であれば円形になります。*/
	font-size: 0.9em;	/*文字サイズ*/

}


/*5つ目のメニュー(youtube)*/
#menubar li:nth-of-type(5) {
	left:83.5%;			/*ウィンドウに対して左からの配置場所*/
	top: 17%;			/*ウィンドウに対して上からの配置場所*/
	width: 8%;		/*幅*/
	line-height: 50px;	/*高さ*/
		border-radius: 10%;	/*角丸のサイズ。中の画像が正方形であれば円形になります。*/
		border: 1px solid black;
	font-size: 0.9em;	/*文字サイズ*/

}

/*6つ目のメニュー(時計)*/


#menubar li:nth-of-type(6) {
	left: 80%;
	top: 8.5%;			/*ウィンドウに対して上からの配置場所*/
		font-size: 1.5em;	/*文字サイズ*/
	width: 19.2%;		/*幅*/
		line-height: 10px;	/*高さ*/
			background: rgba(19,15,93,1);	/*RGBでの背景色指定。最後の0.5は色が50%出た状態のこと。*/

		border: 1px solid ;
		border-color: #130f5d;
			border-radius: 10%;	/*角丸のサイズ。中の画像が正方形であれば円形になります。*/

}







/*7つ目のメニュー(問い合わせ)*/
#menubar li:nth-of-type(7) {
	left: 92.0%;			/*ウィンドウに対して左からの配置場所*/
	top: 18.5%;			/*ウィンドウに対して上からの配置場所*/
	width: 7.5%;		/*幅*/
	line-height: 50px;	/*高さ*/
		border: 1px solid black;
	font-size: 1.1em;	/*文字サイズ*/

}

/*8つ目のメニュー(芝生)*/


#menubar li:nth-of-type(8) {
	left: 67%;		/*ウィンドウに対して左からの配置場所*/
	top: 1%;			/*ウィンドウに対して上からの配置場所*/
		font-size: 1.5em;	/*文字サイズ*/
	width: 13%;		/*幅*/
	height: 10%;

}

/*9つ目のメニュー(ｸﾛちゃん)*/


#menubar li:nth-of-type(9) {
	left: 69%;		/*ウィンドウに対して左からの配置場所*/
	top: 0%;			/*ウィンドウに対して上からの配置場所*/
		font-size: 1.5em;	/*文字サイズ*/
	width: 9%;		/*幅*/
}


/*10つ目のメニュー(太陽)*/


#menubar li:nth-of-type(10) {
	left: 78%;		/*ウィンドウに対して左からの配置場所*/
	top: 0%;			/*ウィンドウに対して上からの配置場所*/
		font-size: 1.5em;	/*文字サイズ*/
	width: 2%;		/*幅*/
}

/*１１つ目のメニュー(home)*/
#menubar li:nth-of-type(11) {
	left: 35.5%;			/*ウィンドウに対して左からの配置場所*/
	top: 18.5%;			/*ウィンドウに対して上からの配置場所*/
	width: 7.0%;		/*幅*/
	line-height: 50px;	/*高さ*/

			font-size: 1.1em;	/*文字サイズ*/
			border: 1px solid black;
}
/*１2つ目のメニュー(zech)*/
#menubar li:nth-of-type(12) {
	left: 67.0%;			/*ウィンドウに対して左からの配置場所*/
	top: 18.5%;			/*ウィンドウに対して上からの配置場所*/
	width: 7.5%;		/*幅*/
	line-height: 50px;	/*高さ*/

			font-size: 1.1em;	/*文字サイズ*/
			border: 1px solid black;
		
}

/*コンテンツ
---------------------------------------------------------------------------*/
/*コンテンツ共通*/
.contents {
	padding: 14% 4% 50px 10%;	/*ボックス内の余白。上、右、下、左。*/
	height: 100%
}



/*table全般の設定*/
table {border-collapse:collapse;}


br {
display: block;
content: "";
padding: 0px 0;
}


/*bg1設定。サンプルテンプレートでは「Gallery」と書いてあるマーク*/
#new dt span.icon-bg1 {
	background: #74791b;	/*背景色*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 14em);	/*「14em」は上の「#new dt」のwidthの値です。*/
}

/*Galleryブロック


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/

table {
	width: 60%;
}


/*その他
---------------------------------------------------------------------------*/
.ws {width: 48%;display: inline;}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}



/* ====== 2025-12 responsive header + fixed menu (rebuild) ====== */
.site-header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;   /* 各ページの背景と合わせる */
  border-bottom: 1px solid rgba(0,0,0,.25);  /* メニューライン境界 */
  /* 旧CSSの header{height:100%} を確実に打ち消す */
  height: auto;
  max-height: none;
}

/* ===== 2025-12-18 menu position final override =====
   - index.html: ロゴ直下にもっと重ねる（上方向へ）
   - sub pages: index と同じ「上寄せ感」になるように共通変数で統一
*/
body.index-page .index-right #site-nav{
  margin-top: -22px !important;
}

/* ヘッダー背景を各ページの背景と同じ画像にする（非透過） */
.site-header{
  position: fixed; /* 明示（上書き対策） */
}
.site-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: var(--page-bg, #fff) center / cover fixed no-repeat;
  z-index:-1;
}
/* index.html はタイトルバナー部を透過（背景スライドが見えるように） */
body.index-page .site-header{
  background: transparent;
  border-bottom: none;
}
body.index-page .site-header::before{ display:none; }
.site-header .header-wrap{
  position: relative;
  width: 100%;
}
/* ===============================
   ▼ 全ページ共通：上部中央に「siba.png」を表示
   - 画面の真ん中上に固定表示（スクロールしても常に上部中央）
================================ */
.siba-top{
  position: fixed;
  top: 0%;
  left: calc(78%);
  transform: translateX(-50%);
  z-index: 9999;
  height: auto;
  width: 17%;
  pointer-events: none;
}
@media (max-width: 900px){
  .siba-top{
    top: 6px;
    width: min(22vw, 110px);
  }
}

/* ===============================
   ▼ タイトルロゴ（バナー画像）の位置・サイズ設定
   - header 内の画像（例: images/kurochan9.png / image/kurouchan9.jpg）
   - 幅や余白をここで調整します
================================ */
.site-header .header-image{
  display:block;
  width:100%;
  height:auto;
}


/* ===============================
   ▼ メニューの位置・サイズ設定（PC/タブレット）
   - #site-nav の left/top が「配置位置」
   - a の padding/font-size が「ボタンサイズ」
================================ */
/* メニュー（PC）: 右の白い領域の上にかぶせる */
/* メニュー位置（全ページ共通）
   - 「もっと上に／タイトルロゴの下に重なる」要望に合わせて
     %指定ではなくpx指定に変更（環境差で位置が変わりにくい） */
:root{ --menu-top: 60px; }
#site-nav{
  position:absolute;
  left: 38%;
  top: var(--menu-top);
  transform: none;
}
#site-nav ul{
  margin:0; padding:0;
  list-style:none;
  display:flex;
  align-items:center;
  gap: clamp(6px, 1vw, 14px);
  flex-wrap: nowrap;
}
#site-nav li{ margin:0; padding:0; }
#site-nav a{
  display:block;
  padding: 10px 14px;
  text-decoration:none;
  border: 1px solid rgba(0,0,0,.65);
  border-radius: 8px;
  background:#fff;
  color:#7a2a00;
  font-weight: 500;
  white-space: nowrap;                 /* 2段防止 */
  font-size: clamp(10px, 1.05vw, 16px);/* 画面が小さいほど自動縮小 */
  line-height:1;
}

/* 時計（右上の青いBOX） */
#clock-box{
  position:absolute;
  right: 3.5%;
  top: 36%;
  transform: translateY(-50%);
  background:#1b2a78;
  color:#fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: clamp(12px, 1.2vw, 18px);
  white-space: nowrap;
}
#clock-box #date{ margin:0; }

/* ハンバーガー（SP） */
#hamburger{
  display:none;
  position:absolute;
  right: 3.5%;
  top: 18%;
  transform: translateY(-50%);
  width: 44px;
  height: 40px;
  border: 1px solid rgba(0,0,0,.45);
  border-radius: 10px;
  background:#fff;
  cursor:pointer;
}
#hamburger span{
  display:block;
  width: 24px;
  height: 2px;
  background:#333;
  margin: 6px auto;
}

/* SP表示 */
@media (max-width: 900px){
  #site-nav{
    position:absolute;
    left:auto;
    right: 3.5%;
    top: 100%;
    transform:none;
    display:none;
    width: min(92vw, 420px);
  }
  #site-nav.open{ display:block; }
  #site-nav ul{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:10px;
    background:#fff;
    border:1px solid rgba(0,0,0,.25);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
  }
  #site-nav a{ text-align:center; }
  #hamburger{ display:block; }
  /* SPでは時計BOXは少し上に */
  #clock-box{
    right: 56px;
    top: 18%;
    transform: translateY(-50%);
    padding: 8px 10px;
  }
}

/* 旧 menubar 固定配置を無効化（上書き） */
#menubar{ display:none !important; }
#menubar li{ position: static !important; }

/* ===== index 背景スライド（bg501→bg502→bg503） ===== */
body.index-page{
	/* index は背景スライドを見せるため、body 背景は透明に */
	background: transparent;
	overflow: hidden; /* スクロール禁止 */
	height: 100vh;
}

/* 背景より前面に出す */
.index-page .site-header,
.index-page .index-main{
	position: relative;
	z-index: 2;
}
.index-bg{
  position: fixed;
  inset: 0;
	/* -1 にすると html/body の背景に隠れて見えない環境があるため 0 に固定 */
	z-index: 0;
  overflow: hidden;
	pointer-events: none;
}
.index-bg .track{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.index-bg .pane{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
  opacity:0;
  animation: indexFade 18s infinite;
}
.index-bg .p1{ background-image:url('../images/bg501.jpg'); animation-delay: 0s; }
.index-bg .p2{ background-image:url('../images/bg502.jpg'); animation-delay: 6s; }
.index-bg .p3{ background-image:url('../images/bg503.jpg'); animation-delay: 12s; }

@keyframes indexFade{
  0%   { opacity:0; }
  8%   { opacity:1; }
  50%  { opacity:1; }
  58%  { opacity:0; }
  100% { opacity:0; }
}

/* index.html はロゴ/メニューを「ギリギリ上」に寄せる */
body.index-page #site-nav{
  top: 6px;
  transform: none;
}
body.index-page #hamburger{
  top: 6px;
  transform: none;
}
body.index-page #clock-box{
  top: 44px; /* ロゴ直下で最小限 */
  transform: none;
}

/* ZEHページ: はみ出しも見える/横スクロール許可 */
body.zeh-page{
  --page-bg: url('../images/121502.jpg');
  background: var(--page-bg) center / cover fixed no-repeat;
  overflow-x: auto;
}
main{
  overflow-x:auto;
}


/* ===== index.html: タイトルバナー( kurouchan9.png )とメニューを右側の白+青余白に重ねて最上部に寄せる ===== */
body.index-page .site-header{
  background: transparent !important;
  border-bottom: none !important;
  padding: 0 !important;
}

body.index-page .site-header .header-wrap{
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 38% !important;          /* 右側の白+青エリア想定 */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* タイトルバナー画像 */
body.index-page .site-header .header-image{
  width: 92% !important;
  max-width: 460px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ナビ（PC）: header-wrap内で通常フローに */
body.index-page #site-nav{
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* メニューをより上に詰める */
body.index-page #site-nav a{
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* 時計も詰める（必要なら） */
body.index-page #clock-box{
  margin: 0 !important;
  padding: 0 !important;
}

/* ハンバーガーの位置（スマホ）も右余白に収める */
body.index-page #hamburger{
  margin: 0 !important;
}




/* ===== index.html 専用：右側の白＋青領域にタイトルバナー＋メニューを配置 ===== */
.index-page .site-header{
  background: transparent !important;
}

.index-page .header-wrap{
  position: relative;
}

/* 右側パネル（白＋青の余白側） */
.index-page .index-right{
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  padding: 0;
  margin: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* タイトルバナー：白＋青領域の左端から幅100% */
.index-page .index-right .header-image{
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}

/* メニュー：白背景の上から横並び（右側パネル内） */
.index-page .index-right #site-nav{
  position: static !important;   /* 既存の absolute 指定を解除 */
  width: 100%;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

/* スマホ時はパネル幅を広げる */
@media (max-width: 768px){
  .index-page .index-right{ width: 100%; }
  .index-page .index-right #site-nav{ justify-content: center; }
}

/* ===== index.html 最終調整（121501.jpg 風） =====
   - タイトルバナー(image/kurouchan9.jpg)は「青→白」にまたがって横いっぱい
   - メニューは右側の白背景エリアから横並び開始
   ※ 既存の index 用調整を上書きするため !important を多用
*/

/* ヘッダー全体を画面上端・全幅に */
body.index-page .site-header .header-wrap{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* index-right を「全幅の帯」として使う */
body.index-page .index-right{
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  display: block !important;
}

/* タイトルバナー：左端から横100% */
body.index-page .index-right .header-image{
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

/* メニュー：右側の白背景エリアから開始（青エリア分だけ左に余白） */
body.index-page .index-right #site-nav{
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  margin-top: -8px !important; /* メニュー位置を少し上へ */
  padding: 0 10px 0 38% !important; /* ← 38% が青エリア幅の目安 */
  box-sizing: border-box !important;
  display: block !important;
}

body.index-page .index-right #site-nav ul{
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
}

/* 時計・ハンバーガーは右上のまま */
body.index-page #clock-box{
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  transform: none !important;
}
body.index-page #hamburger{
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  transform: none !important;
}

/* 画面が狭いときはメニューを中央寄せに戻す */
@media (max-width: 900px){
  body.index-page .index-right #site-nav{
    padding-left: 0 !important;
  }
  body.index-page .index-right #site-nav ul{
    justify-content: center !important;
  }
}

/* index(PC)ではハンバーガー非表示 */
body.index-page #hamburger{ display:none !important; }

/* ===============================
   ▼ index.html：縮小時はハンバーガー以外のメニューを非表示
   - index は PC 配置で #site-nav を display:block !important にしているため
     SP の非表示は「同等以上の詳細度」で上書きします
================================ */
@media (max-width: 900px){
  body.index-page .index-right #site-nav{
    display: none !important;
    position: absolute !important;
    right: 3.5% !important;
    top: 100% !important;
    left: auto !important;
    transform: none !important;
    width: min(92vw, 420px) !important;
  }
  body.index-page .index-right #site-nav.open{ display:block !important; }
  body.index-page #hamburger{ display:block !important; }
}



/* ===============================
   ▼ 2025-12-17 調整
   - siba.png を全ページで確実に最前面表示
   - PCメニュー位置を少し上げ、index.html と他ページで揃える
   - .site-header / .header-wrap のセレクタ誤りを上書き
================================ */
.siba-top{
  z-index: 10050; /* ヘッダーより前面に */
}

/* セレクタ誤り（.site-header .site-header 等）対策：正しいクラスを上書き */
.site-header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,.25);
}
.header-wrap{
  position: relative;
  width: 100%;
}

/* PC/タブレット：メニューを少し上へ */
@media (min-width: 901px){
  #site-nav{
    top:32%;
  }
  /* index.html はさらに少し上げる（他ページとの差が出ない範囲で微調整） */
  .index-page .index-right{
    top: -8px;
  }
}


/* ===============================
   ▼ 位置微調整（2025-12-18）
   - index.html：メニューをさらに100px上
   - その他ページ：メニューを100px下
   - siba.png：全ページで右へ100px
================================ */
body.index-page #site-nav{
  margin-top: -122px !important; /* (-22px) - 100px */
}
body:not(.index-page) #site-nav{
  margin-top: 78px !important;   /* (-22px) + 100px */
}


/* ==== Mobile: index background aligns from left (2025-12-18) ==== */
@media (max-width: 768px) {
  body.index-page,
  body.index-page #bg,
  body.index-page .bg,
  body.index-page .background,
  body.index-page .bg-slideshow,
  body.index-page .slideshow {
    background-position: left top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
}



/* ==== FINAL OVERRIDES (2025-12-18 rev3) ==== */

/* index.html: メニューを100px上へ（確実に効く最終上書き） */
body.index-page #site-nav{
  margin-top: -22px !important; /* 78px から -100px */
}

/* index.html: 時計を140px下へ（topを加算） */
body.index-page #clock-box{
  top: 10% !important; /* 20% */
}

/* index.html: スマホ時 背景スライドを左優先で表示 */
@media (max-width: 768px){
  body.index-page .index-bg .pane{
    background-position: left top !important;
  }
}

/* index以外: メニュー下コンテンツの上余白を削除（.contentsの大きな上paddingをゼロへ） */
body:not(.index-page) .contents{
  padding-top: 0 !important;
}


/* ==== MENU FORCE MOVE (FINAL) ==== */
/* JSやtop指定より強い transform を使用 */

/* index.html メニューを100px上へ */
body.index-page #site-nav {
  transform: translateY(-170%) !important;
}

/* スマホ時も同様 */
@media (max-width: 768px) {
  body.index-page #site-nav {
    transform: translateY(-100px) !important;
  }
}
