@charset "utf-8";



/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');


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

/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

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



/*テーマカラーの定義（CSS変数）
ここのカラーコードを変更するだけで、テンプレートのテーマカラーが変わります。
---------------------------------------------------------------------------*/
:root {
    --primary-color: #4b1c00;
}



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



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

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

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

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


body {
	font-family: "Oswald", "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #ece7de;	/*背景色*/
	color: #200901;		/*文字色*/
	line-height: 2;		/*行間*/
	background: url("../images/contents-bg2.jpg") no-repeat center center fixed;
	background-size: cover; /* 画面全体に拡大・縮小してカバー */
}

/* スマホで背景固定 */
@media screen and (max-width:500px) {
.bg-fixed {
  position: fixed;
  inset: 0;
  background-image: url("../images/contents-bg2_sp.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}
}

@media screen and (min-width:501px) {
  .bg-fixed {
    display: none;
  }
}


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

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

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


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

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
	text-decoration: none;		/*下線を消す*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
}

/*トップページ以外のコンテナー*/
body:not(.home) #container {
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}


/*コンテンツ（main要素を囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	max-width: 1800px;	/*サイトの最大幅。これ以上広がらない。*/
	margin: 0 auto;
}


/*ヘッダー
---------------------------------------------------------------------------*/
/*トップページのヘッダー*/
.home header {
	position: relative;overflow: hidden;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

/*トップページ以外のヘッダー*/
body:not(.home) header {
	background: var(--primary-color) url(../images/bar.jpg) repeat-x;	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	height: 80px;					/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	padding: 0 5%;					/*上下、左右へのヘッダー内の余白*/
	z-index: 10;
}

/*ハンバーガーメニュー*/
#menu-container {
  position: relative;
  z-index: 1000;
}


/*ロゴ共通*/
#logo img {display: block;}

/*トップページのロゴ*/
.home #logo {
	margin: 0;padding: 0;
	width: 300px;	/*ロゴの幅*/
	position: absolute;z-index: 1;
	top: 50%;							/*天地左右中央に配置する為の指定*/
	left: 50%;							/*天地左右中央に配置する為の指定*/
	transform: translate(-50%, -50%);	/*天地左右中央に配置する為の指定*/
}

/*トップページ以外のロゴ*/
body:not(.home) #logo img {
	height: 30px;	/*ロゴの高さ。ハンバーガーメニューの場所がずれないように、headerの高さと、ロゴの高さを固定しています。*/
}
@media (max-width: 500px) {
	body:not(.home) #logo img {
		height: 20px;
	}
	body:not(.home) #logo {
		display: flex;
		justify-content: center; /* 横方向中央揃え */
		align-items: center;     /* 縦方向中央揃え */
		width: 100%;
	}
}

/*トップページのスライドショー（vegasを使用）
---------------------------------------------------------------------------*/
#mainimg {
    width: 100%;
    height: 100vh;
	position: absolute;z-index: -1;
	left: 0px;top: 0px;
	background: #4b1c00;
}

/*トップページ以外のスライドショー（vegasを使用）
---------------------------------------------------------------------------*/
#slideimg {
    width: 100%;
    aspect-ratio: 16 / 9; /* 16:9の比率を維持 */
    position: relative;
}
@media (max-width: 500px) {
  #slideimg {
	width: 100% !important; /* 画面幅ではなく、親の枠いっぱいに */
    margin-left: 0 !important;
    margin-right: 0 !important;
    aspect-ratio: auto;     /* 高さは中身に任せる */
  }
}

/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar a {display: block;text-decoration: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar {display: none;}
#menubar.d-b, #menubar_hdr.d-b {display: block;}
#menubar.d-n, #menubar_hdr.d-n {display: none;}


/*メニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	font-size: 1.2rem;
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px 20px 20px;		/*ブロック内の余白。上、左右、下。*/
	background: #4b1c00 url(../images/menu-bg.jpg) no-repeat center center;
	background-size: cover; /* 画面全体を覆うように拡大縮小 */
	text-align: center;				/*内容をセンタリング*/
	animation: opa1 0.2s both;		/*冒頭にあるopa1を実行する。0.2sは0.2秒の事。*/
}

#menubar nav {
	margin: 0 auto;
	max-width: 500px;	/*最大幅*/
}

/*メニュー１個あたりの設定*/
#menubar nav a {
	padding: 1rem;		/*メニュー内の余白*/
	margin: 1rem;		/*メニューの外側の余白*/
	background: rgba(75, 28, 0, 0.3); /* 50%透過 */
	color: #fff;		/*文字色*/
	border-radius: 50px;	/*角を丸くする指定*/
}


/*メニューブロックのicon類
---------------------------------------------------------------------------*/
/*アイコンブロック全体*/
#menubar .icon {
	display: flex;				/*flexボックスを使う指定*/
	justify-content: center;	/*水平揃えの指定。左右中央に配置されるように。*/
	align-items: center;		/*垂直揃えの指定。天地中央に配置されるように。*/
	font-size: 1.5rem;			/*文字サイズ。アイコンのサイズになります。1.5倍。*/
}

/*アイコン１個あたり*/
#menubar .icon li {
	margin: 0.7rem;		/*アイコン同士に空けるスペース*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 5%;				/*右からの配置場所指定*/
	top: 14px;				/*上からの配置場所指定*/
	padding: 16px 14px;		/*上下、左右への余白*/
	width: 46px;			/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;			/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	transform: scale(1.8);			/*元々のサイズの1.8倍に*/
}

@media (max-width: 500px) {
	#menubar_hdr {
		right: 3%;				/*右からの配置場所指定*/
		top: 5px;				/*上からの配置場所指定*/
		transform: scale(1.5);			/*元々のサイズの1.8倍に*/
	}
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 1px solid #fff;	/*線の幅、線種、色*/
	/* box-shadow: 1px 1px rgba(0,0,0,0.2); */	/*ボックスの影。右へ、下へ、色。0,0,0は黒のことで0.2は色が20%出た状態。*/
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
	width: 20px;						/*バーの幅*/
	border-top: 1px solid #fff;			/*線の幅、線種、色*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(3.8px, 5px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(3.8px, -5px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;	/*２本目は使わないので非表示にする*/
}



/*メインブロック
---------------------------------------------------------------------------*/
h2 {
	color: var(--primary-color);		/*css冒頭で指定しているテーマカラーを読み込みます*/
	/* font-family: 'Comfortaa', 'M PLUS Rounded 1c', cursive;*/	/*冒頭で読み込んでいるGoogleFontsを使う指定*/
	font-weight: normal;				/*hタグのデフォルトの太字を標準に*/
	font-size: 2rem;					/*文字サイズ*/
	letter-spacing: 0.1em;				/*文字間隔を少し広くとる指定*/
	/* border-bottom: 1px solid #e5e5e5; */	/*下線の幅、線種、色*/
	padding: 3rem 0 1rem !important;				/*h2内の余白。上、左右、下への順番。*/
}

/*ブロック内のh2内のspan*/
h2 span {
	display: block;
	font-size: 0.4em;	/*文字サイズ。上のh2のサイズの40%。*/
	margin-top: -1em;	/*少し上に移動させる*/
	color: var(--primary-color);		/*文字色*/
}

/*ブロック内のh3*/
h3 {
	font-size: 1.3rem;		/*文字サイズ。1.3倍。*/
	font-weight: 400;
	border-bottom: 1px solid #4b1c00;	/*下線の幅、線種、色*/
}

	/*画面幅500px以上の追加指定*/
	@media screen and (min-width:500px) {
	
	/*ブロック内のh2*/
	h2 {
		padding: 0 2rem 1rem;	/*h2内の余白。上、左右、下への順番。*/
	}
	
	/*ブロック内のh3*/
	h3 {
		padding-left: 2rem;		/*左にとる余白*/
		padding-right: 2rem;	/*右にとる余白*/
	}
	
	/*ブロック内のp*/
	p {
		margin-left: 2rem;	/*左に空けるスペース*/
		margin-right: 2rem;	/*右に空けるスペース*/
	}

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

/*メインブロック
---------------------------------------------------------------------------*/
main {
	padding: 5%;	/*メインブロック内の余白*/
}

/*ブロック内のh2*/
main h2 {
	color: var(--primary-color);		/*css冒頭で指定しているテーマカラーを読み込みます*/
	/* font-family: 'Comfortaa', 'M PLUS Rounded 1c', cursive;*/	/*冒頭で読み込んでいるGoogleFontsを使う指定*/
	font-weight: normal;				/*hタグのデフォルトの太字を標準に*/
	font-size: 2rem;					/*文字サイズ*/
	letter-spacing: 0.1em;				/*文字間隔を少し広くとる指定*/
	/* border-bottom: 1px solid #e5e5e5; */	/*下線の幅、線種、色*/
	padding: 3rem 0 1rem !important;				/*h2内の余白。上、左右、下への順番。*/
}

/*ブロック内のh2内のspan*/
main h2 span {
	display: block;
	font-size: 0.2em;	/*文字サイズ。上のh2のサイズの20%。*/
	margin-top: -1em;	/*少し上に移動させる*/
	color: #333;		/*文字色*/
}

/*ブロック内のh3*/
main h3 {
	font-size: 1.3rem;		/*文字サイズ。1.3倍。*/
	border-bottom: 1px solid #e5e5e5;	/*下線の幅、線種、色*/
}

	/*画面幅500px以上の追加指定*/
	@media screen and (min-width:500px) {
	
	/*ブロック内のh2*/
	main h2 {
		padding: 0 2rem 1rem;	/*h2内の余白。上、左右、下への順番。*/
	}
	
	/*ブロック内のh3*/
	main h3 {
		padding-left: 2rem;		/*左にとる余白*/
		padding-right: 2rem;	/*右にとる余白*/
	}
	
	/*ブロック内のp*/
	main p {
		margin-left: 2rem;	/*左に空けるスペース*/
		margin-right: 2rem;	/*右に空けるスペース*/
	}

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


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
.new {
	margin: 0;
	background: rgba(0,0,0,0.02);	/*背景色。0,0,0は黒のことで0.02は色が2%出た状態。*/
	border-radius: 10px;			/*角を丸くする指定*/
	overflow: hidden;
}

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

/*記事(dd)設定*/
.new dd {
	padding: 0 1rem 1rem 1rem;					/*dd内の余白*/
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
}

/*日付の横のマーク（共通設定）*/
.new dt span {
		display: inline-block;	/*表示させる*/
		width: 6rem;			/*幅*/
		background: #b7b7b7;	/*背景色*/
		color: #f0dbbe;			/*文字色*/
		font-size: 0.8rem;		/*文字サイズを80%に。*/
		text-align: center;		/*文字をセンタリング*/
		margin-left: 1rem;		/*アイコンの右側に空けるスペース*/
		align-self: flex-start;	/*高さを間延びさせない指定*/
		line-height: 1.8;		/*行間を少し狭く*/
		position: relative;top: -0.15em;	/*上下の配置バランスの微調整*/
		border-radius: 2px;		/*角を丸くする指定*/
}

/*icon-bg1設定。サンプルテンプレートでは「メディア」と書いてあるマーク*/
.new dt span.icon-bg1 {
	background: var(--primary-color);	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
}

/*icon-bg1設定。サンプルテンプレートでは「イベント」と書いてあるマーク*/
.new dt span.icon-bg2 {
	background: #a2caeb;	/*背景色*/
}


/*奇数行目を背景色を少し濃くする*/
.new dt:nth-of-type(odd),
.new dd:nth-of-type(odd) {
	background: rgba(0,0,0,0.03);
}

/*一番右側の「＞」のアイコン（アイコン自体はhtml側にiタグのFontAwesomeで読み込んでいます）*/
.new dd i {
	font-size: 0.7rem;	/*文字サイズを80%に*/
	margin-left: 1.5rem;	/*右側に空けるスペース。２文字分。*/
	background: #795641;	/*背景色*/
	color: #f0dbbe;		/*文字色。アイコンの色です。*/
	width: 1.5rem;		/*幅*/
	line-height: 1.5rem;	/*高さ*/
	text-align: center;	/*内容をセンタリング*/
	border-radius: 50%;	/*円形にする*/
}

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

	/*お知らせブロック*/
	.new {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}
	
	/*日付(dt)設定*/
	.new dt {
		width: 16rem;	/*幅。16文字分。アイコン分も含んだ幅にします。*/
		padding: 2rem 0 2rem 2rem;		/*上、右、下、左への余白*/
		display: flex;	/*flexボックスを使う指定*/
		justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
	}
	
	/*記事(dd)設定*/
	.new dd {
		padding: 2rem 2rem  2rem 0;		/*上、右、下、左への余白*/
		width: calc(100% - 16rem);		/*「16rem」は上の「.new dt」のwidthの値です。*/
	}
	
	/*日付の横のマーク（共通設定）*/
	.new dt span {
		display: inline-block;	/*表示させる*/
		width: 6rem;			/*幅*/
		background: #b7b7b7;	/*背景色*/
		color: #f0dbbe;			/*文字色*/
		font-size: 0.8rem;		/*文字サイズを80%に。*/
		text-align: center;		/*文字をセンタリング*/
		margin-right: 1rem;		/*アイコンの右側に空けるスペース*/
		align-self: flex-start;	/*高さを間延びさせない指定*/
		line-height: 1.8;		/*行間を少し狭く*/
		position: relative;top: 0.4em;	/*上下の配置バランスの微調整*/
		border-radius: 2px;		/*角を丸くする指定*/
	}

	/*icon-bg1設定。サンプルテンプレートでは「メディア」と書いてあるマーク*/
	.new dt span.icon-bg1 {
		background: var(--primary-color);	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	}

	/*icon-bg1設定。サンプルテンプレートでは「イベント」と書いてあるマーク*/
	.new dt span.icon-bg2 {
		background: #a2caeb;	/*背景色*/
	}

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


/*フッター設定
---------------------------------------------------------------------------*/
footer span.copyright {font-size: 1.0rem;}
footer {
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
	background: var(--primary-color) url(../images/bar.jpg) repeat-x;	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	color: #f0dbbe;	/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*２列並びのバナー風ブロック
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.list-banner .list {
	display: grid;			/*gridを使う指定*/
	place-items: center;	/*天地左右の中央に中身を配置する*/
	position: relative;		/*h4を重ねる為の指定*/
	/* border-radius: 0px 100px 0px 100px; */	/*角を丸くする指定。左上、右上、右下、左下の順番。この行を削除すれば通常の長方形になります。*/
	overflow: hidden;
	margin-bottom: 2rem;
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {
	
	/*listブロックを囲む外側のボックス*/
	.list-banner {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: repeat(2, 1fr);	/*2列にする指定。3列にしたければrepeat(3, 1fr)とする。*/
		gap: 1rem;		/*マージン的な指定*/
	}
	
	/*ボックス１個あたりの設定*/
	.list-banner .list {
		margin-bottom: 0;
	}

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


/*ボックス内のh4*/
.list-banner .list h4 {
	position: absolute;z-index: 1;
	font-weight: normal;
	text-align: center;
	color: #fff;			/*文字色*/
	font-size: 1rem;		/*文字サイズ。２倍。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

/*ボックス内のh4内のspan（小さな文字）*/
.list-banner .list h4 span {
	display: block;
	font-size: 0.4em;	/*文字サイズ。親要素の40%。*/
}

/*画像*/
.list-banner .list figure {
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-banner .list:hover figure {
	transform: scale(1.1);	/*1.1倍に拡大*/
}



/*２列並びのバナー風ブロック
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.list-banner2 .list {
	display: grid;			/*gridを使う指定*/
	place-items: center;	/*天地左右の中央に中身を配置する*/
	position: relative;		/*h4を重ねる為の指定*/
	overflow: hidden;
	margin-bottom: 2rem;
	width: 100%;			/*幅*/
	padding-top: 100%;		/*正方形にトリミングする為の指定です。上のwidthの数値と合わせておけばOK。*/
}

/*以下も画像を正方形にトリミングする為の指定なので変更しない。*/
.list-banner2 .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-banner2 .list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {
	
	/*listブロックを囲む外側のボックス*/
	.list-banner2 {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: repeat(2, 1fr);	/*2列にする指定。3列にしたければrepeat(3, 1fr)とする。*/
		gap: 1rem;		/*マージン的な指定*/
	}
	
	/*ボックス１個あたりの設定*/
	.list-banner2 .list {
		margin-bottom: 0;
	}

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


/*ボックス内のh4*/
.list-banner2 .list h4 {
	position: absolute;z-index: 1;
	font-weight: normal;
	text-align: center;
	color: #fff;			/*文字色*/
	font-size: 1rem;		/*文字サイズ。２倍。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
}

/*ボックス内のh4内のspan（小さな文字）*/
.list-banner2 .list h4 span {
	display: block;
	font-size: 0.4em;	/*文字サイズ。親要素の40%。*/
}

/*画像*/
.list-banner2 .list figure {
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-banner2 .list:hover figure {
	transform: scale(1.1);	/*1.1倍に拡大*/
}



/*list-square（portfolioのlightboxで使っています）
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-square {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
}

/*ボックス１個あたりの設定*/
.list-square .list {
	position: relative;
	overflow: hidden;
	height: 0;				/*正方形にトリミングする為の指定なので変更しないで下さい*/
	width: 23%;				/*幅*/
	padding-top: 23%;		/*正方形にトリミングする為の指定です。上のwidthの数値と合わせておけばOK。*/
	/* border-radius: 10px; */	/*角を丸くする指定。通常の四角形がよければこの１行削除。*/
	margin: 1%;				/*ボックス同士に空けるスペース*/
	box-shadow: 2px 2px 3px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*以下も画像を正方形にトリミングする為の指定なので変更しない。*/
.list-square .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-square .list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-square .list img:hover {
	transform: scale(1.1);	/*1.1倍に拡大*/
	filter: contrast(1.3);	/*コントラストを1.3倍*/
}



/*list-square2（portfolioのlightboxで使っています）
---------------------------------------------------------------------------*/
.list-square2 {
  display: flex;          /* flexボックス */
  flex-wrap: wrap;        /* 折り返し */
  margin: -1%;            /* マージン相殺（任意） */
}

/* ボックス１個あたり */
.list-square2 .list {
  position: relative;
  overflow: hidden;
  height: 0;
  width: 48%;             /* 2カラム時の幅（100% - margin調整） */
  padding-top: 30%;       /* ★ここを変えると比率が変わる。30%なら「横長の長方形」 */
  margin: 1%;
  /* box-shadow: 2px 2px 3px rgba(0,0,0,0.1); */
  border-radius: 8px;     /* 任意 */
}

/* リンクと画像の配置 */
.list-square2 .list a {
  display: block;
  position: absolute;
  inset: 0;               /* top, right, bottom, leftを0に */
  width: 100%;
  height: 100%;
}

.list-square2 .list img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* 中央トリミング */
  object-position: center;
  transition: 0.5s;
}

/* ホバー効果 */
.list-square2 .list img:hover {
  transform: scale(1.1);
  filter: contrast(1.3);
}

/* ---------- レスポンシブ ---------- */
/* スマホ（例: 768px以下）では1段組みに */
@media (max-width: 768px) {
  .list-square2 .list {
    width: 98%;          /* 1カラムにする */
    padding-top: 60%;    /* スマホ時は縦長にしたいならここを調整 */
  }
}



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

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


/*テーブル1
---------------------------------------------------------------------------*/
/*ta1テーブルブロック設定*/
.ta1 {
	width: 100%;
    border-collapse: separate;
    border-spacing: 1rem;	/*ここと、この下の数字は揃えておきます。要素間の隙間みたいなものです。*/
	margin: -1rem;			/*ここと、この上の数字は揃えておきます。要素間の隙間みたいなものです。*/
}

/*thとtd（左右）共通設定*/
.ta1 th, .ta1 td {
	padding: 0.5rem 1rem;	/*上下、左右へのボックス内の余白。上下に0.5文字分、左右に1文字分。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 20%;			/*幅*/
	background: rgba(0,0,0,0.07);	/*背景色。0,0,0は黒のことで0.07は色が7%出た状態。*/
	border-radius: 4px;	/*角を丸くする指定*/
}


/*テーブル2
---------------------------------------------------------------------------*/
/*ta2テーブルブロック設定*/
.ta2 {
	width: 100%;
    border-collapse: separate;
    border-spacing: 1rem;	/*ここと、この下の数字は揃えておきます。要素間の隙間みたいなものです。*/
	margin: -1rem;			/*ここと、この上の数字は揃えておきます。要素間の隙間みたいなものです。*/
	margin-bottom: 2rem;
	padding-left: 2rem;		/*左にとる余白*/
	padding-right: 2rem;	/*右にとる余白*/
}

@media (max-width: 500px) {
	.ta2 { padding: 0; margin: 0;}
}

/*thとtd（左右）共通設定*/
.ta2 th, .ta2 td {
	padding: 0.5rem 1rem;	/*上下、左右へのボックス内の余白。上下に0.5文字分、左右に1文字分。*/
}

@media (max-width: 500px) {
	.ta2 th {padding: 0 0.5rem;}
	.ta2 td {padding: 0; width: 100%;}
}

/*th（左側）のみの設定*/
.ta2 th {
	width: 10%;			/*幅*/
	background: rgba(0,0,0,0.07);	/*背景色。0,0,0は黒のことで0.07は色が7%出た状態。*/
	border-radius: 4px;	/*角を丸くする指定*/
	vertical-align: top; /* 上詰め指定 */
	font-weight: normal;
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.color-theme, .color-theme a {color: var(--primary-color) !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;}
.mb60 {margin-bottom: 60px !important;}
.look {display: inline-block;padding: 0.2em 0.5em;background: rgba(0,0,0,0.03);border: 1px solid #ddd; border-radius: 3px;word-break: break-all; margin: 1px;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.fs1 {font-size: 2rem;}

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

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

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




/* vegas.js の進捗バー色を変更 */
.vegas-timer-progress {
  background-color: #f0dbbe !important;
}
.vegas-timer {
  display: !important;
}



/* FOOTER menu */
.menu-section {
  margin: 2rem 0;
  text-align: center;
}

/* メニュー全体 */
.menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #4b1c00;
  border-left: none; /* ← いったん外す */
}

/* 各項目 */
.menu li {
  flex: 1;
  text-align: center;
  border-left: 1px solid #4b1c00; /* ← すべての項目に左線を付与 */
}

.menu li:first-child {
  border-left: 1px solid #4b1c00; /* ← HOMEにも左線が入るよう強制 */
}

.menu a {
  display: block;
  padding: 1rem;
  color: #4b1c00;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.menu a:hover {
  background-color: rgba(75, 28, 0, 0.05);
}

/* スマホ時は縦並び */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    border-left: 1px solid #4b1c00; /* ← スマホ時も囲みが途切れないよう追加 */
  }
  .menu li {
    border-left: none;
    border-top: 1px solid #4b1c00;
  }
  .menu li:first-child {
    border-left: none;
    border-top: none;
  }
}

.menu a {
  position: relative;
  display: block;
  padding: 10px 20px;
  color: #4b1c00;
  text-decoration: none;
  overflow: hidden;
}

.menu a {
  position: relative;
  display: block;
  padding: 10px 20px;
  color: #4b1c00;
  text-decoration: none;
  overflow: hidden;
}

/* menuマウスオーバーアニメーション */
.menu a::before,
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #4b1c00;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.menu a::before {
  top: 0;
  transform-origin: left;
}

.menu a::after {
  bottom: 0;
  transform-origin: right;
}

.menu a:hover::before,
.menu a:hover::after {
  transform: scaleX(1);
}


/* footer menu幅を調整 */
aside {margin:0; padding:0; height:0px;}



/* PLOFILE 
---------------------------------------------------------------------------*/
.profile-section {
display: flex;
align-items: stretch;
}

.profile-left {
flex: 0 0 50%;
position: sticky;
top: 0;
height: 100vh;
overflow: hidden;
}

.profile-left img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.profile-right {
flex: 1;
background-color: ;
padding: 3rem;
display: flex;
flex-direction: column;
justify-content: flex-start;
overflow: auto;
}

@media (max-width: 499px) {
.profile-right {
flex: 1;
background-color: ;
padding: 2rem;
display: flex;
flex-direction: column;
justify-content: flex-start;
overflow: auto;
}
}

.profile-right h2 {
font-size: 2rem;
margin-bottom: 1rem;
}

@media (max-width: 499px) {
  .profile-right h2.c img {
    width: 45%;
  }
}

.profile-right h2 span {
	display: block;
	font-size: 0.4em;	/*文字サイズ。上のh2のサイズの20%。*/
	margin-top: 0;	/*少し上に移動させる*/
	color: #4b1c00;		/*文字色*/
}

.profile-right p {
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 2rem;
}

.profile-right ul {
list-style: inside disc;
}

.profile-right ul li {
margin-bottom: 0.5rem;
}

@media screen and (max-width: 1200px) {
.profile-section {
flex-direction: column;
}

.profile-left,
.profile-right {
flex: none;
width: 100%;
}

.profile-left {
position: relative;
height: auto;
}

.profile-left img {
height: auto;
}
}


/* STUDIO 
---------------------------------------------------------------------------*/
#studio h2 {
  width: 50%;
  height: auto; /* 縦横比を維持 */
  display: block;
  margin: 6rem auto 0; /* 中央揃え */
  padding: 0 !important;
}

#studio h3 {
	font-size: 1.2rem;
	border-bottom: none;
	margin: 6rem 0;
	padding: 0;
}

#studio .attention p {
	font-size: 0.9em;
	margin: 0;
}

@media (min-width: 500px) and (max-width: 1024px) {
#studio h2 {
  width: 50%;
  height: auto; /* 縦横比を維持 */
  display: block;
  margin: 1rem auto 0; /* 中央揃え */
  padding: 0 !important;
}
#studio h3 {
	font-size: 1.2rem;
	border-bottom: none;
	margin: 3rem 0;
	padding: 0;
}
#studio .attention p {
	font-size: 0.9em;
}
}

@media (max-width: 499px) {
  #studio h2 {
    width: 65%;
	height: auto;
	margin: 3rem auto 0; /* 中央揃え */
	padding: 0 !important;
  }
  #studio #slideimg {
    width: 100% !important; /* 画面幅いっぱい */
	margin: 0 auto;
  }
}


/* ボタン 
---------------------------------------------------------------------------*/
/* ベース */
.btn {
  margin: 20px 0;
}

/* ボタン本体 */
.btn a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  transition: none;
  background: #4b1c00;
}

/* アイコン */
.btn a i {
  font-size: 1em;
}

/* hover */
.btn a:hover {
  background: #4b1c00;
  color: #fff;
}


/* 改行 
---------------------------------------------------------------------------*/
/* デフォルトは全て非表示 */
.br-pc, .br-tb, .br-sp {
    display: none;
}

/* PC用（幅 > 1024px） */
@media (min-width: 1025px) {
    .br-pc {
        display: block;
    }
}

/* タブレット用（幅 500px～1024px） */
@media (min-width: 500px) and (max-width: 1024px) {
    .br-tb {
        display: block;
    }
}

/* スマホ用（幅 < 499px） */
@media (max-width: 499px) {
    .br-sp {
        display: block;
    }
}


/* STUDIO
---------------------------------------------------------------------------*/
/* PC・タブレット：横並び */
/* studio.html の section#slide 内の Vegas だけに適用 */
#slide #slideimg .vegas-slide-inner {
    background-size: cover !important;
    background-position: center top; /* 上寄せで人物・建物が切れにくい */
}

@media (min-width: 500px) {
  #slide {
    display: flex;
    align-items: stretch; /* 高さを揃える */
  }

  #slide .leftbox,
  #slide .rightbox {
    width: 50%;
  }
  
  #slide .leftbox {
    aspect-ratio: 4 / 5; /* 縦写真の比率に合わせる */
  }

  #slide #slideimg,
  #slide #slideimg .vegas-container {
    width: 100%;
    height: 100%;
  }

  #slide #slideimg .vegas-slide-inner {
    background-size: cover;
  }
}

@media (max-width: 499px) {
  #slide .leftbox {
    aspect-ratio: 4 / 5; /* 縦写真の比率に合わせる */
  }

  #slide .leftbox,
  #slide .rightbox {
    width: 100%;
    position: relative;
  }
  
    #slide #slideimg,
  #slide #slideimg .vegas-container {
    width: 100%;
    height: 100%;
  }

  #slide #slideimg .vegas-slide-inner {
    background-size: cover;
  }
}


/* Google Map 
---------------------------------------------------------------------------*/
/* PC・タブレット：横並び */
@media (min-width: 500px) {
  #gmap {
    display: flex;
    align-items: stretch; /* 高さを揃える */
  }

  #gmap .leftbox,
  #gmap .rightbox {
    width: 50%;
  }

  /* 画像 */
  #gmap .leftbox img {
    width: 100%;
    height: 100%;   /* 親にフィット */
    object-fit: cover; /* 余白なくトリミングして揃える */
    display: block;
  }
  
  /* Google Map iframe */
  #gmap .rightbox iframe {
    width: 100%;
    height: 100%;   /* 親にフィット */
    display: block;
  }
}

@media (max-width: 499px) {
  #gmap {
    display: block; /* 縦並び */
  }

  #gmap .leftbox,
  #gmap .rightbox {
    width: 100%;
    position: relative;
  }

  /* Google Mapを正方形に */
  #gmap .rightbox::before {
    content: "";
    display: block;
    padding-top: 100%; /* 正方形の高さを確保 */
  }
  #gmap .rightbox iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

/* googlemap フィルター */
#gmap iframe {
  filter: grayscale(100%) brightness(90%) sepia(20%);
  transition: filter 0.3s ease;
}
#gmap iframe:hover {
  filter: none;
}


/* index.html リード 
---------------------------------------------------------------------------*/
#lead {
  font-family: 'Sawarabi Mincho', serif;
  font-size: 1.4rem;
  line-height: 1.6rem;
  height: 100vh;

  display: flex;
  justify-content: center; /* 縦方向中央 */
  align-items: center;     /* 横方向中央 */
  text-align: center;

  margin: 0;
  white-space: pre-wrap;
  padding: 0;

  background-image: url('../images/lead-bg.png'); /* 画像パス */
  background-size: cover;       /* 全体カバー */
  background-position: center;  /* 中央配置 */
  background-repeat: no-repeat; /* 繰り返しなし */
}

#lead .lead-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* 上下均等 */
  align-items: center;
  margin-top: -4.5rem; /* 上の空きを調整 */
}

#lead p {
  margin: 0.5rem 0;
}

#lead p.spacer {
  visibility: hidden; /* 空白pタグを目に見えなくしつつ残す */
}

@media (min-width: 500px) {
  #lead p {
    margin: 0.7rem 0; /* PC版は上下に1rem空ける */
  }
}

@media (max-width: 499px) {
  #lead {
    font-size: 1.2rem;
	background-image: url('../images/lead-sp-bg.png'); /* 画像パス */
	background-size: cover;       /* 全体カバー */
	background-position: center;  /* 中央配置 */
	background-repeat: no-repeat; /* 繰り返しなし */
  }
  #lead .lead-inner {
    margin-top: -2.5rem; /* モバイルでは空き調整 */
  }
}


/* CONTACT　お問い合わせ関連
---------------------------------------------------------------------------*/
/* contact.php */
#contact {
    max-width: 800px;
    margin: 0 auto;
	padding: 0 0 5rem 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1em;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #333;
    outline: none;
}

.required {
    color: red;
}

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

.form-submit button {
    background-color: #4b1c00;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.form-submit button:hover {
    background-color: #8B0000;
}

.required {
  display: inline-block;
  background-color: #d1855f;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0em 0.5em 0.1rem; 
  border-radius: 4px;
  vertical-align: middle; /* ラベル文字と高さを揃える */
  margin-left: 0.4em; /* ラベル文字との余白 */
  letter-spacing: 0.05em;
}



/* contact_comfort.php 確認ページ */
.confirm-table {
    width: 100%;
    max-width: 800px;
    margin: 2em auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
	font-size: 1.1em;
    font-family: "Noto Sans JP", sans-serif;
}

.confirm-table th,
.confirm-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0eae0;
}

.confirm-table th {
    background-color: #a6916d;
    text-align: left;
    font-weight: 600;
    width: 30%;
    color: #fff;
}

.confirm-table td {
    background-color: #fff;
    color: #555;
}

.confirm-table tr:last-child td {
    border-bottom: none;
}

.confirm-table td {
    word-break: break-word;
}

.confirm-table th,
.confirm-table td {
    transition: background-color 0.3s ease;
}

.confirm-table tr:hover td {
    background-color: #faf4eb;
}

.confirm-table tr:last-child th,
.confirm-table tr:last-child td {
  border-bottom: none;
}


/* contact_comfirm.php ボタン */
.form-submit-buttons {
    display: flex;
    justify-content: center; /* 中央揃え */
    gap: 20px; /* ボタン間の隙間 */
    margin-top: 20px;
    flex-wrap: wrap;
}

.form-submit-buttons form {
    margin: 0;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    border: none;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 140px;
}

.btn-modify {
    background-color: #4b1c00;
    color: #fff;
}

.btn-modify:hover {
    background-color: #8B0000;
}

.btn-submit {
    background-color: #4b1c00;
    color: #fff;
}

.btn-submit:hover {
    background-color: #8B0000;
}


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

  .confirm-table {
    display: block;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: none;
  }

  .confirm-table thead,
  .confirm-table tbody,
  .confirm-table tr {
    display: block;
    width: 100%;
  }

  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 16px;
  }

  .confirm-table th {
    background-color: #a6916d;
    color: #fff;
  }

  .confirm-table td {
    background-color: #fff;
  }
}


/* contact_thanks.html */
#thanks {
	padding: 0 0 5rem 0;
}

@media screen and (max-width: 499px) {
	#thanks h2 {
		font-size: 1.6rem;
		line-height: 3rem;
	}
}


/* フォーム幅が298pxで固定される問題を強制解除 */
#contact form,
#contact .form-group,
#contact input[style],
#contact textarea[style] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
