@charset "utf-8";

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

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel&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("slide.css");
@import url("inview.css");

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

/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}

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

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

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

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

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

body {
	font-family: 'M PLUS 1p', "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #777;		/*文字色*/
	line-height: 2;		/*行間*/
}

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

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

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

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

/*マウスオン時*/
a:hover {
	color: var(--primary-color);	/*css冒頭で指定しているテーマカラーを読み込みます*/
}

/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	display: flex;					/*flexを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	max-width: 1800px;				/*サイトの最大幅。これ以上広がらない。*/
	margin: 0 auto;
	position: relative;
}

/*section
---------------------------------------------------------------------------*/
/*sectionが続いた場合の続きのsectionの上に空けるスペース*/
section + section {
	margin-top: 3rem;
}

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

	section + section {
		margin-top: 5rem;
	}

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

/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	background-color: var(--primary-color);	/*css冒頭で指定しているprimary-colorを読み込みます*/
}

/*トップページのヘッダーブロック*/
.home header {
	background: none;
	position: relative;	/*ロゴを絶対配置させる為に必要な指定*/
}

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

/*トップページのロゴ*/
.home #logo {
	margin: 0;
	width: 300px;	/*ロゴの幅*/
	position: absolute;z-index: 1;
	top: 50%;							/*天地左右中央に配置する為の指定*/
	left: 50%;							/*天地左右中央に配置する為の指定*/
	transform: translate(-50%, -50%);	/*天地左右中央に配置する為の指定*/
	background: rgba(0,0,0,0.5);		/*背景色。0,0,0は黒のことで0.5は色が50%出た状態。*/
	padding: 1rem;						/*背景色とロゴ画像との間の余白。２文字分。*/
	animation: opa1 2s 0.5s both;		/*opa1を2秒かけて実行。待機時間が0.5秒。*/
}

/*トップページ以外のロゴ*/
body:not(.home) #logo img {
	width: 150px;		/*ロゴの幅*/
	margin-left: 2rem;	/*ロゴの左側に空けるスペース*/
}

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

	/*トップページのロゴ*/
	.home #logo {
		width: 200px;	/*ロゴの幅*/
	}

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

/*メニューブロック設定
---------------------------------------------------------------------------*/
#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 {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px 20px 20px;			/*ブロック内の余白。上、左右、下。*/
	background: rgba(0,0,0,0.9);		/*背景色。0,0,0は黒の事で0.9は色が90%出た状態。*/
	text-align: center;					/*内容をセンタリング*/
	animation: animation1 0.2s both;	/*animation1を0.2秒かけて実行する*/
	color: #fff;						/*文字色*/
}

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

	#menubar {
		width: 70%;		/*メニュー幅を上書き*/
	}

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

/*メニュー１個あたりの設定*/
#menubar a {
	color: inherit;
	padding: 10px;		/*メニュー内の余白*/
}

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

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

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

/*×印が出ている状態の設定。※１本目のバー。*/
#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;	/*２本目は使わないので非表示にする*/
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
}

/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {
	margin: 5vw;	/*ブロックの外側に空けるスペース。100vwで画面幅100%になるので、この場合は画面幅の5%。*/
}

/*mainブロック内のh2*/
main h2 {
	background-color: var(--primary-color);	/*css冒頭で指定しているprimary-colorを読み込みます*/
	color: #fff;			/*文字色*/
	font-size: 1.3rem;		/*文字サイズ*/
	padding: 7px 2rem;		/*h2内の余白。上下、左右への順番。*/
	border-radius: 30px;	/*角を丸くする指定。ある程度大きければ適当でいいです。*/
}

/*背景画像つきで使うh2要素。背景の土台を作ります。*/
main h2 > span {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background: radial-gradient(rgba(0,0,0,0.8) 1px,	/*ドットの作成。0,0,0は黒のことで0.8は色が80%出た状態。1pxの部分でドットのサイズ変更ができます。*/
	rgba(0,0,0,0.5) 1px) center center / 6px 6px;		/*上の行の続き。ドットの背景。この行の1pxはドットのフチを強く出す為なので変更不要。6pxの部分がドット間の余白。*/
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/*背景画像つきで使うh2要素（大きな文字部分）*/
main h2.title {
	border-radius: 0;
	font-family: 'Cinzel', serif;	/*GoogleFontsの指定*/
	margin: -5vw -5vw 5rem;			/*最初の２つのマイナスの数字は、余白を相殺する為のもの。最後の数字は下に空けるスペース。*/
	text-align: center;				/*文字をセンタリング*/
	font-weight: normal;			/*h要素のデフォルトの太字を標準にする*/
	font-size: 2.4rem;				/*文字サイズを2.4倍に*/
	padding: 8rem 2rem;				/*上下、左右への余白。*/
	background: rgba(0,0,0,0.6);	/*背景画像を使わない場合に出る背景色。*/
	position: relative;
	display: flex;
}

/*mainブロック内のh3*/
main h3 {
	font-size: 1.2rem;		/*文字サイズ*/
	padding: 7px 2rem;		/*h3内の余白。上下、左右への順番。*/
	background: #eee;		/*背景色*/
	border-radius: 30px;	/*角を丸くする指定。ある程度大きければ適当でいいです。*/
}

/*pタグ*/
main p {
	margin-left: 2rem;	/*左に空けるスペース*/
	margin-right: 2rem;	/*右に空けるスペース*/
}

/*フッターのコンテンツ（住所やマップが入っているブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#footer-contents {
	background: #444;	/*背景色*/
	color: #fff;		/*文字色*/
	padding: 50px 3%;	/*上下、左右へのボックス内の余白*/
	font-size: 0.9rem;	/*文字サイズ*/
}
#footer-contents a {
	color: inherit;
}

/*フッターコンテンツ内のh4*/
#footer-contents h4 {
	margin: 0;
	font-size: 1.3em;	/*文字サイズを親要素の1.2倍に*/
}

/*フッターコンテンツ内のロゴ*/
#footer-contents #footer-logo {
	max-width: 400px;	/*最大幅*/
}

/*左側のブロック*/
#footer-contents .left {
	margin-bottom: 50px;	/*下に空けるスペース*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	
	#footer-contents {
		display: flex;					/*flexを使う指定*/
		justify-content: space-between;	/*並びかたの種類の指定*/
	}
	
	/*左側のブロック*/
	#footer-contents .left {
		margin-bottom: 0;	/*下のマージンをリセット*/
		width: 50%;			/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
	}
	#footer-contents .right {
		width: 50%;			/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
		padding-left: 3%;	/*左側に空ける余白。左右ブロックの間の隙間です。*/
	}

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

/*テーブル（week）footer-contents内で使っています。
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.week caption {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	background: #333;		/*背景色*/
	padding: 0.5rem 1rem;	/*caption内の余白。上下、左右に１文字分ずつとる。*/
}

/*weekテーブルブロック設定*/
.week {
	width: 100%;
	table-layout: fixed;
	text-align: center;	/*テーブル内のテキストをセンタリング*/
}
.week, .week td, .week th {
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色。*/
}

/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
	background-color: var(--primary-color);	/*css冒頭で指定しているprimary-colorを読み込みます*/
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
	color: #fff;			/*文字色*/
}

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

/*.listブロック共通
---------------------------------------------------------------------------*/
.list {
	position: relative;
}

/*list-grid（３列タイプのボックス。stylist.htmlで使用。）
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-grid .list {
	margin-bottom: 2rem;	/*ボックス同士の上下間に空けるスペース*/
	padding: 5%;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
    display: grid;	/*gridを使う指定*/
    grid-template-rows: auto 1fr auto;	/*list内の上から２番目のブロック(.text)だけ伸ばし、他は自動。*/
}

/*ボックス内のh4タグ*/
.list-grid .list h4 {
	margin: 0;
	color: #333;		/*文字色*/
}
.list-grid .list h4 a {
	color: inherit;
}

/*ボックス内のpタグ*/
.list-grid .list .text p {
	margin: 0;
	font-size: 0.8em;	/*文字サイズを80%に*/
	line-height: 1.5;	/*行間を少し狭く*/
}

/*ボックス内のfigure画像*/
.list-grid .list figure {
	margin-bottom: 0.5rem;	/*下に空けるスペース*/
}

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

	/*listブロック全体を囲むブロック*/
	.list-grid {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: repeat(3, 1fr);	/*３列にする指定。４列にしたければrepeat(4, 1fr)とする。*/
		gap: 2rem;	/*マージン的な指定*/
	}
	
	/*ボックス１個あたり*/
	.list-grid .list {
		margin-bottom: 0;	/*ボックス同士の上下間に空けるスペースをリセット*/
	}

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

/*plan.htmlの価格表
---------------------------------------------------------------------------*/
/*ボックス全体*/
dl.line {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
	margin: 0 2rem 2rem;	/*上下、左右へのボックスの外に空けるスペース*/
}

/*見出し(dt)とコメント(dd)*/
dl.line dt, dl.line dd {
	padding: 0.5rem;
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
}

/*見出し(dt)*/
dl.line dt {
	width: calc(100% - 8em);
}

/*コメント(dd)*/
dl.line dd {
	width: 8em;
	text-align: right;
}

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

	/*見出し(dt)*/
	dl.line dt {
		width: calc(50% - 8em - 10px);	/*大きな端末向けの再設定。２列にしたいので、100%でなく半分の50%から引いています。*/
	}
	
	/*コメント(dd)*/
	dl.line dd {
		margin-right: 10px;				/*２列になった際の間のスペース*/
	}

	dl.line {border-top: none;}

	dl.line dt:nth-of-type(1), dl.line dd:nth-of-type(1),
	dl.line dt:nth-of-type(2), dl.line dd:nth-of-type(2) {
		border-top: 1px solid #ccc;
	}

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

/*その他
---------------------------------------------------------------------------*/
.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;}
.look {display: inline-block;padding: 0px 10px;background: rgba(0,0,0,0.03);border: 1px solid #ccc; border-radius: 3px;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;}

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