@charset "utf-8";


@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");
@import url("slide.css");
@import url("inview.css");
@import url("form_parts.css");


:root {
	--primary-color: #847720;
	--primary-inverse-color: #fff;
	--primary-color-rgb: 132,119,32;
	--global-space: 3vw;
}


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


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


/*spinのキーフレーム設定（トップページの大きな円形の文字が回るアニメーション）
---------------------------------------------------------------------------*/
@keyframes spin {
	0% {transform: rotate(0deg);}
	100% {transform: rotate(360deg);}
}


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

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

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

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

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


body {
	margin: 0;
	padding: 0;
	font-family: "M PLUS 1", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: #333 url('../images/bg.png') repeat center top / 150px;	/*背景色、背景壁紙の読み込み。壁紙の幅を150pxに指定してリピート。*/
	color: #eee;		/*文字色*/
	line-height: 2;		/*行間*/
	animation: opa1 0.2s 0.5s both;	/*0.5秒待機後、0.2秒かけてフェードイン表示*/
}

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

/*ul,ol*/
ul,ol {margin-left: 1.5rem;margin-bottom: 1rem;}

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

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

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

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

/*sectionが続く場合*/
section + section {
	margin-top: 8vw;	/*sectionの上に空けるスペース*/
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #eee;		/*リンクテキストの色*/
	transition: 0.3s;	/*マウスオン時の移り変わるまでの時間設定。0.3秒。*/
}
a:hover {
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	filter: brightness(1.2);		/*マウスオン時に少し明るくする*/
}


/*bg1背景
---------------------------------------------------------------------------*/
.bg1 {
	background: url('../images/bg1.png') no-repeat center top / 100%;	/*画像の読み込み、リピートせず、左右中央に配置、上部に配置で幅100%で配置*/
}


/*bg2背景
---------------------------------------------------------------------------*/
.bg2 {
	background:	url('../images/bg2.png') no-repeat left top / 100%;	/*画像の読み込み、リピートせず、左に配置、上部に配置で幅100%で配置*/
}


/*container
---------------------------------------------------------------------------*/
#container {
	overflow-x: hidden;
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	padding: 6vw var(--global-space);	/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
}


/*ヘッダー
---------------------------------------------------------------------------*/
/*h1テキスト。このテンプレートでは、画面最上部の帯の左側に小文字で入れているテキストです。*/
header h1 {
	font-weight: normal;
	margin: 0;padding: 0;
	font-size: 0.8rem;		/*文字サイズを80%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

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

	header h1 {
		display: none;	/*表示しない*/
	}

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


/*ヘッダー内のheader-inner（ロゴ画像とメニューブロックを囲むボックス）
---------------------------------------------------------------------------*/
/*ボックスの設定*/
.header-inner {
	position: relative;
	display: flex;			/*直接の子要素を横並びにする。この場合、ロゴとメニューブロックが対象。*/
	align-items: center;	/*天地中央に配置*/
	background: black;		/*背景色*/
}

/*トップページでのボックス*/
.home .header-inner {
	display: block;	/*flexを解除する*/
}


/*ヘッダー内のロゴ
---------------------------------------------------------------------------*/
/*ロゴ画像*/
#logo img {display: block;}
#logo {
	margin: 0;padding: 0;
	width: 200px;	/*ロゴ画像の幅*/
}

/*トップページのロゴ画像*/
.home #logo {
	width: 300px;	/*ロゴ画像の幅*/
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 0px;
	transform: translateX(-50%);
}

	/*画面幅900px以下の追加指定*/
	@media screen and (max-width:900px) {
	#logo img {
		margin: auto;
		height: 80px;
	}
	/*ロゴサイズの上書き*/
	.home #logo {
		position: unset;
		min-width: 120px;	/*最小幅を設定しておきます。これ以上は小さくなりません。*/
		width: 100%;		/*幅。画面幅100%＝100vwです。*/
		transform: none;;
	}
	
	}/*追加指定ここまで*/


/*header-top（headerの最上部の帯ブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#header-top {
	padding: 5px var(--global-space);		/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
	background: var(--primary-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	display: flex;		/*直接の子要素を横並びにする。この場合はh1テキストと、言語ボックスが対象。*/
	justify-content: space-between;	/*それぞれ両サイドに配置*/
	font-size: 0.8rem;	/*文字サイズを80%に*/
}

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

	/*ブロック全体*/
	#header-top {
		justify-content: flex-end;	/*h1テキストが非表示になり、言語ボックスが左によるので、右側にとどまるように指定を変更*/
	}

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

/*リンクテキスト*/
#header-top a {
	color: inherit;
}

/*言語ボックス全体の設定*/
#header-top .lang {
	list-style: none;margin: 0;padding: 0;
	margin-top: -5px;	/*上にずらす。#header-topの上下paddingの数字と合わせる。*/
	display: flex;		/*各言語を横に並べる*/
	gap: 1rem;			/*各言語同士に空けるスペース。１文字分。*/
}

/*言語ボックス１個あたり*/
#header-top .lang a {
	display: block;text-decoration: none;
	border-radius: 0px 0px 3px 3px;		/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	padding: 0 1rem;					/*ボックス内の余白。上下、左右。*/
	background: rgba(255,255,255,0.2);	/*背景色。255,255,255は白の事で0.2は色が20%出た状態。*/
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";
	content: "\f078";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	font-size: 0.7rem;		/*文字サイズを70%に*/
	padding-right: 0.5rem;	/*右側に空ける余白。0.5文字分。*/
}


/*大きな端末、小さな端末共通のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
}

/*小文字の英語部分*/
#menubar span {
	display: block;
	font-size: 0.7em;		/*文字サイズを親要素の70%に*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロックを囲むボックス*/
.large-screen #menubar {
	flex: 1;
}

/*大きな端末では１番目メニュー（ホーム）を非表示にする*/
.large-screen #menubar > nav > ul > li:nth-of-type(1) {
	display: none;
}

/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
	display: flex;	/*メニューを横並びにする*/
	justify-content: space-between;
	align-items: center;
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	flex: 1;			/*個々のメニューを均等にし、幅いっぱいまで使う設定*/
	position: relative;	/*ドロップダウンの幅となる基準を作っておく*/
	text-align: center;	/*テキストをセンタリング*/
}

/*現在表示中メニュー（current）*/
.large-screen #menubar li.current > a {
	border-bottom: 2px solid var(--primary-color);	/*下線の幅、線種、varは色のことでcss冒頭で指定しているprimary-colorを読み込みます。。*/
}

/*トップページの3個目のメニューへの指定　※html側で順番をカウントして下さい。*/
.home.large-screen #menubar > nav > ul > li:nth-of-type(3) {
	margin-right: 150px;	/*右側に空けるスペース。ロゴに重ならないようにする為。*/
}

/*トップページの4個目のメニューへの指定　※html側で順番をカウントして下さい。*/
.home.large-screen #menubar > nav > ul > li:nth-of-type(4) {
	margin-left: 150px;		/*左側に空けるスペース。ロゴに重ならないようにする為。*/
}

/*リンク（a要素）の設定*/
.large-screen #menubar li a {
	padding: 0.8rem 0;	/*上下、左右の余白*/
}


/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 2;
	width: 100%;
	top: 100%;
	left: 0px;
}

/*ドロップダウンメニュー1個あたりの上下、左右への余白。*/
.large-screen #menubar ul ul a {
	padding: 0.6rem 1rem !important;	/*上下、左右へのメニュー内の余白*/
	background: #0d243a;	/*背景色*/
	margin: 3px 3px 0;	/*メニューの外側に空けるスペース。上、左右、下への順番。*/
	border-radius: 5px;	/*角を丸くする指定*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
}

/*マウスオン時*/
.large-screen #menubar ul ul a:hover {
	background: var(--primary-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 100px;	/*上に空ける余白。ハンバーガーアイコンと重ならない為の指定ですのでお好みで変更OK。*/
	background: var(--primary-color);
	animation: animation1 0.2s both;		/*animation1を実行する。0.2sは0.2秒の事。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
}

/*メニュー１個あたりの設定*/
.small-screen #menubar li {
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}
.small-screen #menubar a {
	color: inherit;
	padding: 1rem 3rem;		/*メニュー内の余白。上下、左右へ。*/
}
.small-screen #menubar li li a {
	background: var(--primary-inverse-color);	/*背景色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0.3s 0.5s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	top: 2vw;		/*上からの配置場所*/
	right: 2vw;		/*右からの配置場所*/
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	padding: 15px;	/*ブロック内の余白*/
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	background: rgba(0,0,0,0.6);	/*背景色*/
}

/*ここは変更不要*/
#menubar_hdr div {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 2px;			/*線の太さ*/
	background-color: #fff;	/*線の色*/
	border-radius: 2px;		/*コーナーを少しだけ丸く*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div span:nth-child(1) {top: 0;}
#menubar_hdr div span:nth-child(2) {top: 50%;transform: translateY(-50%);}
#menubar_hdr div span:nth-child(3) {bottom: 0;}
#menubar_hdr.ham div span:nth-child(1) {top: 50%;transform: translateY(-50%) rotate(45deg);}
#menubar_hdr.ham div span:nth-child(2) {opacity: 0;}
#menubar_hdr.ham div span:nth-child(3) {top: 50%;transform: translateY(-50%) rotate(-45deg);}


/*mainブロック
---------------------------------------------------------------------------*/
/*mainブロック*/
main {
	position: relative;
}

/*h2見出し*/
main h2 {
	position: relative;
	text-align: center;		/*テキストをセンタリング*/
	margin: 0 0 2rem;		/*h2の外側にとるスペース。上、左右、下への順番。*/
	font-size: 2rem;		/*文字サイズ*/
	font-weight: 500;		/*文字の太さ。100から900まで指定可能。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
}

/*装飾用の小文字*/
main h2 .small {
	display: block;
	font-size: 0.5em;	/*文字サイズを親要素の50%に*/
	opacity: 0.7;		/*透明度。色が70%出た状態。*/
	font-weight: 200;	/*文字の太さ。100から900まで指定可能。*/
}

/*h3見出し*/
main h3 {
	font-size: 1.4rem;		/*文字サイズ*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
}


/*フッター共通
---------------------------------------------------------------------------*/
footer {
	margin-top: 20px;
}
#footer-contents, #footermenu {
	padding: 2rem var(--global-space);	/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
}


/*フッターのコンテンツ（住所やマップが入っているブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#footer-contents {
	background: rgba(var(--primary-color-rgb), 0.8) url('../images/bg_footer.png') no-repeat left bottom / auto 100%;	/*背景色はcss冒頭のvar(primary-color-rgb)を読み込み、0.8で透明度も指定。残りは背景画像の読み込み、リピートせず、左下に配置。高さ100%。*/
	color: var(--primary-inverse-color);	/*文字色*/
}
#footer-contents a {
	color: inherit;
}

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

/*ブロック内で使うbtnの設定*/
#footer-contents .btn a {
	border: 2px solid var(--primary-inverse-color);	/*枠線の幅、線種、色。色についてはcss冒頭の（primary-inverse-color）を読み込みます。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	
	#footer-contents {
		display: flex;	/*直接の子要素を横並びにします*/
		gap: var(--global-space);	/*左右のボックスの間のマージン的な設定。css冒頭で指定しているglobal-spaceを読み込みます。*/
	}
	
	/*左側のブロック*/
	#footer-contents .left {
		margin-bottom: 0;	/*下のマージン（外側への余白）をリセット*/
		width: 50%;			/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
	}
	
	/*右側のブロック*/
	#footer-contents .right {
		width: 50%;			/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
	}

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


/*footer-contents内のマップ。レスポンシブにする為のものなので、基本は編集不要です。
---------------------------------------------------------------------------*/
.iframe-box {
	width: 100%;
	height: 0;
	padding-top: 56.25%;	/*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
	position: relative;
	overflow: hidden;
}
.iframe-box iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}


/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
	background: var(--primary-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	font-size: 0.8rem;		/*文字サイズ。*/
	display: flex;			/*直接の子要素を横並びにします*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: flex-start;		/*垂直揃えの指定。上に配置されるように。*/
}

/*ボックス内のリンクテキスト設定*/
#footermenu a {
	text-decoration: none;
	color: inherit;
}

/*ulタグ（メニューの１列あたり）*/
#footermenu ul {
	margin: 0;list-style: none;
	padding: 0 0.3em;
	flex: 1;
}

/*メニューの見出し(title)*/
#footermenu .title {
	font-weight: bold;		/*太字にする*/
	padding-bottom: 5px;	/*下に空けるスペース*/
}


/*フッター設定
---------------------------------------------------------------------------*/
small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ*/
	background: #1d1b1b;	/*背景色*/
	color: #fff;			/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 1rem;			/*ボックス内の余白*/
}

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

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


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


/*FAQ
---------------------------------------------------------------------------*/
/*質問*/
.faq dt {
	border-radius: 3px;		/*枠を角丸にする指定*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	background: #000;		/*背景色*/
	text-indent: -2rem;				/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
	padding: 0.5rem 1em 0.5rem 3em;		/*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
}

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 6 Free";	/*Font Awesomeを使う指定*/
    content: "\f059";		/*アイコンのコード*/
	padding-right: 1rem;	/*アイコンとテキストとの間のスペース*/
	color: var(--primary-color);	/*アイコンの色。css冒頭で指定しているprimary-colorを読み込みます*/
}

/*回答*/
.faq dd {
	padding: 0 1rem 1rem 3rem;	/*ボックス内の余白。上、右、下、左への順番。*/
}

/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}


/*list-normal（activities.htmlで使っているシンプルな２カラムボックス）
---------------------------------------------------------------------------*/
.list-normal * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-normal .list {
	display: flex;	/*直接の子要素を横並びにする*/
	gap: 2vw;		/*左右の間のマージン的なスペース*/
	margin-bottom: 3vw;	/*ボックスの下に空けるスペース*/
}

/*左右の並びを入れ替える場合*/
.list-normal .list.reverse {
	flex-direction: row-reverse;
}

/*テキストブロック*/
.list-normal .text {
	flex: 1;
}

/*画像ブロック*/
.list-normal .image {
	width: 40%;	/*幅。お好みで。*/
}

/*h4見出し*/
.list-normal h4 {
	font-weight: 500;		/*文字の太さ。100から900まで指定可能。*/
	font-size: 1.3rem;		/*文字サイズを130%に。*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	margin-bottom: 0.5em;	/*見出しの下に0.5文字分のスペースを空ける*/
}
.list-normal h4 a {
	color: inherit;
}


/*list-half（トップページの「人気のアクティビティスポット」で使っている左右にわかれた装飾ボックス）
---------------------------------------------------------------------------*/
/*ボックス全体*/
.list-half {
    display: flex;			/*直接の子要素を横並びにする*/
    flex-direction: column;	/*一旦縦並びにしておく*/
}

/*list-halfが続く場合に間にマージンを空ける*/
.list-half + .list-half {
	margin-top: 5vw;	/*画面幅100%＝100vwです。*/
}

/*h3見出し*/
.list-half h3 {
	margin: 0;padding: 0;
	text-align: center;	/*テキストをセンタリング*/
}

/*h4テキスト*/
.list-half h4 {
	font-weight: normal;
	margin: 0;
	font-size: 1.5rem;		/*文字サイズを1.5倍に*/
	color: #fff;			/*文字色*/
	position: relative;		/*下の飾り画像の基点*/
	padding-right: 100px;	/*右に空けるスペース。テキスト右側の小さな画像と重ならないようにする為です。*/
}

/*h4テキスト右側の飾り画像*/
.list-half h4 .kazari {
	position: absolute;
	right: 0px;
	top: -3rem;
	width: 100px;	/*画像の幅*/
}

/*左右のラインの装飾*/
.list-half h3::before,
.list-half h3::after {
    content: "|";	/*このテキストを出力します*/
    display: inline-block;
}

/*左のラインの装飾への追加設定*/
.list-half h3::before {
	transform: rotate(-30deg);	/*回転角度*/
	margin-right: 0.5rem;		/*右に空けるスペース*/
}

/*右のラインの装飾への追加設定*/
.list-half h3::after {
	transform: rotate(30deg);	/*回転角度*/
	margin-left: 0.5rem;		/*左に空けるスペース*/
}

/*h3テキスト内のアイコン*/
.list-half h3 i {
    margin-left: 0.5rem;	/*左に0.5文字分のマージンを空ける*/
    font-size: 2rem;		/*文字サイズ２倍*/
    color: #fff;		/*文字色*/
    opacity: 0.6;		/*透明度。60%だけ色を出す。*/
}

/*テキストブロック*/
.list-half .text {
    background: #000;		/*背景色*/
    padding: 1rem 2rem;		/*上下、左右へのブロック内の余白*/
	margin-bottom: 30px;		/*下に空けるスペース*/
    border-radius: 1vw;		/*角を丸くする指定。px指定でもOKです。*/
}


	/*画面幅599px以下の追加指定（並び順を変更します。数字が小さな順に並びます。）*/
	@media screen and (max-width:599px) {
	
	/*h3見出し*/
	.list-half h3 {order: 1;}

	/*画像ブロック*/
	.list-half .image {order: 2;}

	/*テキストブロック*/
	.list-half .text {order: 3;}
	
	}/*追加指定ここまで*/
	
	
	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {

	/*ボックス全体*/
	.list-half {
		flex-direction: row;	/*縦並びから横並びにする*/
		justify-content: space-between;
		
		/*以下は変更不要*/
		margin-right: calc(-1 * var(--global-space));
		margin-left: calc(-1 * var(--global-space));
	}

	/*ボックス全体（※reverse用）変更不要*/
	.list-half.reverse {
		flex-direction: row-reverse;	/*逆向きに並べる*/
		margin-left: calc(-1 * var(--global-space));
	}

	/*h3テキスト*/
	.list-half h3 {
		writing-mode: vertical-rl;	/*縦書きの指定。*/
		text-orientation: upright;	/*文字の向き*/
		font-size: 0.85rem;			/*文字サイズを85%*/
		margin-top: 10vw;			/*上に空けるスペース。画面幅100%＝100vwです。*/
	}
	
	/*上のラインの装飾への追加設定*/
	.list-half h3::before {
		transform: rotate(-60deg);	/*回転角度*/
		margin-bottom: 0.5rem;		/*下に空けるスペース*/
	}
	
	/*上のラインの装飾への追加設定（※reverse用）*/
	.list-half.reverse h3::before {
		transform: rotate(60deg);	/*回転角度*/
	}

	/*下のラインの装飾への追加設定*/
	.list-half h3::after {
		transform: rotate(60deg);	/*回転角度*/
		margin-top: 0.5rem;			/*上に空けるスペース*/
	}
	
	/*下のラインの装飾への追加設定（※reverse用）*/
	.list-half.reverse h3::after {
		transform: rotate(-60deg);	/*回転角度*/
	}

	/*h3テキスト内のアイコン*/
	.list-half h3 i {
		margin: 0;
		margin-top: 0.5rem;	/*上に0.5文字分のマージンを空ける*/
	}

	/*テキストブロック*/
	.list-half .text {
		margin-bottom: 0;
		flex: 1;
		align-self: flex-start;	/*上寄せになります*/
		margin-top: 8vw;		/*上寄せですが、この分だけ下に下げます。写真とテキストがななめに配置されるイメージで設定しました。*/
		position: relative;
		z-index: 1;
		margin-right: -10vw;	/*この分だけ画像にテキストブロックが重なります。画面幅100%＝100vwです。*/
		box-shadow: 2vw 2vw rgba(var(--primary-color-rgb), 0.1);	/*ボックスの影。右へ、下へ。色はcss冒頭のvar(primary-color-rgb)を読み込み、0.1で透明度も指定。*/
	}
	
	/*テキストブロック（※reverse用）*/
	.list-half.reverse .text {
		margin-right: 0;
		margin-left: -10vw;
		box-shadow: -2vw 2vw rgba(var(--primary-color-rgb), 0.1);
	}

	/*画像ブロック*/
	.list-half .image {
		padding: 0;		/*余白をリセット*/
		width: 50vw;	/*幅。画面の50%*/
		border-radius: 3vw 0px 0px 3vw;	/*角を丸くする指定。左上、右上、右下、左下への順番。*/
		overflow: hidden;
	}
	
	/*画像ブロック（※reverse用）*/
	.list-half.reverse .image {
		border-radius: 0px 3vw 3vw 0px;
	}

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


/*list-grid1（トップページの「今の季節に人気の観光地」で使っている３カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid1 .list {
    display: grid;
	margin-bottom: 1rem;	/*下に空けるスペース*/
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を狭くする*/
}

/*ボックス１個あたり*/
.list-grid1 .list {
	padding: 1rem;			/*ボックス内の余白。１文字分。*/
	background: #000;		/*背景色*/
    grid-template-rows: auto 1fr auto;	/*１つ目（この場合はfigure要素のサイズ）と「詳しくみる」ボタンの高さは自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure {
	margin: -1rem;			/*画像を枠いっぱいに表示させる為に上の「.list-grid1 .list」のpadding分をネガティブマーインで指定*/
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}

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

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

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

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


/*list-free（destinations.htmlで使用しているレイアウトフリー用）
---------------------------------------------------------------------------*/
.list-free * {margin: 0;padding: 0;}

/*list-freeボックス*/
.list-free {
	display: flex;			/*直接の子要素を横並びに*/
    flex-direction: column;	/*一旦縦並びにしておく*/
	align-items: flex-start;/*子要素を上に揃える*/
	margin-bottom: 10vw;	/*ボックスの下（外側）に空けるスペース*/
	gap: 5vw;				/*子要素同士に空けるマージン的な要素。画面幅100%＝100vwです。*/
}

/*bg3内のlist-freeの下マージンをなくす。そのままだと広く取りすぎるので。*/
.bg3 .list-free {
	margin-bottom: 0;
}

/*テキストブロック*/
.list-free .text {
    align-self: flex-start;
	flex: 1;
}

/*h3見出し*/
.list-free h3 {
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	font-size: 1.5rem;		/*文字サイズを150%に*/
	font-weight: 500;		/*文字の太さ。100から900まで指定可能。*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	position: relative;	/*カギカッコを絶対配置する為に必要な指定*/
	padding: 0 1rem;	/*上下、左右へのh3内の余白*/
	margin: 0 auto;		/*左右の中央に配置*/
}

/*h3見出しのカギカッコ装飾（共通設定）*/
.list-free h3::before,
.list-free h3::after {
	content: "";
	position: absolute;
	width: 20px;	/*カギカッコの幅。お好みで。*/
	height: 50px;	/*カギカッコの高さ。お好みで。*/
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/

}
/*h3見出しの最初のカギカッコの設定*/
.list-free h3::before {
	top: -15px;		/*テキストからの距離。お好みで。*/
	left: -15px;	/*テキストからの距離。お好みで。*/
	border-right: none;		/*右の線は消す*/
	border-bottom: none;	/*下の線は消す*/
}

/*h3見出しの最後のカギカッコの設定*/
.list-free h3::after {
	bottom: -15px;	/*テキストからの距離。お好みで。*/
	right: -15px;	/*テキストからの距離。お好みで。*/
	border-left: none;	/*左の線は消す*/
	border-top: none;	/*上の線は消す*/
}

/*h4見出し*/
.list-free h4 {
	font-weight: 500;		/*文字の太さ。100から900まで指定可能。*/
	font-size: 1.3rem;
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	margin-bottom: 0.5em;
}

/*画像ブロック*/
.list-free .image {
	box-shadow: 0px 0px 30px rgba(var(--primary-color-rgb), 0.3);	/*ボックスの影。右へ、下へ、ぼかす量。rgba以降は色で、css冒頭のvar(primary-color-rgba)を読み込み、0.3で透明度を指定。*/
}

/*画像ブロック内のdivタグ。テキストを囲むブロックです。*/
.list-free .image > div {
	background: #000;	/*背景色*/
	font-size: 0.7rem;	/*文字サイズを70%*/
	padding: 1rem 2rem;	/*上下、左右への余白*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
	
	/*list-freeボックス*/
	.list-free {
			flex-direction: row;	/*縦並びから横並びにする*/
	}
	
	/*h3見出し*/
	.list-free h3 {
		writing-mode: vertical-rl;	/*縦書きの指定。*/
		text-orientation: upright;	/*文字の向き*/
		padding: 1rem 0.5rem;	/*上下、左右へのh3内の余白*/
	}

	/*その他（汎用向け）お好みでもっと追加して使ってもOK*/
	.list-free .w1 {width: 30%;}
	.list-free .w2 {width: 50%;}
	.list-free .order1 {order: 1;}
	.list-free .order2 {order: 2;}
	.list-free .order3 {order: 3;}
	.list-free .mt1 {margin-top: 10vw;}
	.list-free .mt2 {margin-top: 20vw;}

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


/*ボタン（btn）
---------------------------------------------------------------------------*/
.btn a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--primary-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;	/*ボタンの外（上）に空けるスペース*/
}


/*bg3（トップページの「お知らせ」などで使っている背景）
---------------------------------------------------------------------------*/
/*背景画像の指定。上側だけ作っておけばOKです。*/
.bg3,
.bg3::before {
	background:	url('../images/bg3.svg') repeat-x center top / auto 50px;	/*bg3で何ヶ所かある50pxの数値は変更してもいいが、全て合わせておく*/
}

/*背景ブロック全体*/
.bg3 {
	position: relative;
	padding-top: 50px;		/*bg3で何ヶ所かある50pxの数値は変更してもいいが、全て合わせておく*/
	padding-bottom: 50px;	/*bg3で何ヶ所かある50pxの数値は変更してもいいが、全て合わせておく*/
	
	/*以下は変更不要*/
	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
}

/*下の背景画像への追加指定*/
.bg3::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 50px;	/*bg3で何ヶ所かある50pxの数値は変更してもいいが、全て合わせておく*/
	left: 0px;
	bottom: 0px;
	transform: scaleY(-1);	/*上下反転*/
}

/*backgroundには、上で読み込む背景画像のカラーを抜き出して指定して下さい。*/
.bg3 > div {
	padding: 1px;
	background: #215d82;	/*背景色。背景画像と同じ色を指定して下さい。*/
	padding-left: var(--global-space);		/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-right: var(--global-space);		/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-top: 5vw;		/*ボックス内の上への余白。お好みで。*/
	padding-bottom: 5vw;	/*ボックス内の下への余白。お好みで。*/
}

.bg3 a {
	color: inherit;
}


/*bg3内のh2で使うテキスト左右へのバブルの装飾
---------------------------------------------------------------------------*/
.kazari3-wrap {
	position: relative;
	display: inline-block;
}

/*左右の装飾の共通の設定*/
.kazari3-wrap::before,
.kazari3-wrap::after {
	content: "";
	position: absolute;
	top: 0px;
	width: 50px;	/*画像の幅*/
	height: 50px;	/*画像の高さ*/
	background-image: url('../images/kazari3.svg');	/*背景画像の指定*/
	background-repeat: no-repeat;	/*リピートしない*/
	background-size: cover;			/*サイズに合わせて画像を調整*/
}

/*左の装飾への追加指定*/
.kazari3-wrap::before {
	left: -100px;	/*左にずらす*/
}

/*右の装飾への追加指定*/
.kazari3-wrap::after {
	right: -100px;	/*右にずらす*/
	transform: scaleX(-1);	/*左右を反転させる*/
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
.new {
	background: rgba(0,0,0,0.3);	/*背景色。0,0,0は黒のことで0.3は色が30%出た状態。*/
	overflow: hidden;
	margin-bottom: 4rem;	/*ブロックの下に空けるスペース。4文字分。*/
}

/*奇数行目を背景色を少し濃くする。全体同じ色がよければここの数行は削除。*/
.new dt:nth-of-type(odd),
.new dd:nth-of-type(odd) {
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒のことで0.2は色が20%出た状態。※上の.newの背景と重なるのでより濃くなります。*/
}

/*日付(dt)設定*/
.new dt {
	padding: 1rem;	/*dt内の余白*/
}

/*記事(dd)設定*/
.new dd {
	padding: 0 1rem 1rem;	/*上、左右、下へのdd内の余白*/
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	margin-right: -1rem;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	padding: 0 0.5rem;		/*上下、左右へのブロック内の余白*/
	width: 8rem;			/*幅。8文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #fff;		/*背景色*/
	color:#777;				/*文字色*/
	border: 1px solid #999;	/*枠線の幅、線種、色*/
}

/*icon-bg1*/
.new .icon-bg1 {
	background: var(--primary-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	border-color: transparent;				/*枠線を出したくないので透明にする*/
}

/*icon-bg2*/
.new .icon-bg2 {
	background: #ff0000;	/*背景色*/
	color: #fff;		/*文字色*/
	border-color: transparent;	/*枠線を出したくないので透明にする*/
}

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

	/*ブロック全体*/
	.new {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	}

	/*記事(dd)設定*/
	.new dd {
		padding: 1rem;	/*dd内の余白*/
	}

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


/*2・3カラム（main-contents、sub-contents設定）
---------------------------------------------------------------------------*/
/*main-contentsブロック*/
.main-contents {
	margin-bottom: 2vw;	/*ボックスの下に空けるスペース*/
}

/*サブコンテンツ内のh3要素(見出し)*/
.sub-contents h3 {
	margin: 0;
	font-size: 1rem;
	margin-bottom: 0.5rem;
}
.sub-contents h3::first-letter {
	border-left: 3px solid var(--primary-color);	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;
}

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

	/*カラムで使う為の指定*/
	main.column {
		display: flex;					/*横並びにする*/
		justify-content: space-between;	/*並びかたの種類の指定*/
		gap: 3vw;						/*main-contentsとsub-contentsの間のマージン的な隙間*/
	}
	
	/*main-contentsブロック*/
	.main-contents {
		margin-bottom: 0;
		order: 2;		/*並び順。数字の小さい順番に表示されます。*/
		flex: 1;
	}
	
	/*sub-contentsブロック共通*/
	.sub-contents {
		width: 210px;	/*幅。お好みで変更して下さい。*/
	}
	
	/*1つ目のsub-contents*/
	.sub-contents:nth-child(2) {
		order: 1;	/*並び順。数字の小さい順番に表示されます。*/
	}
	
	/*2つ目のsub-contents（※３カラムで使いたい場合用）*/
	.sub-contents:nth-child(3) {
		order: 3;	/*並び順。数字の小さい順番に表示されます。３番目という意味なので一番右側に表示されます。*/
	}
	
	}/*追加指定ここまで*/


/*サブメニュー設定
---------------------------------------------------------------------------*/
.submenu * {margin: 0;padding: 0;}

/*サブメニューブロック全体*/
.submenu {
	padding: 0;
	margin: 0 0 1rem;	/*上、左右、下へのマージン*/
	border-top: 1px solid #ccc;	/*上の枠線の幅、線種、色*/
}

/*メニュー１個あたり*/
.submenu a {
	display: block;text-decoration: none;
	padding: 0.2rem 1rem;	/*上下、左右へのメニュー内の余白*/
}

/*メニュー１個あたり（子メニュー以外）*/
.submenu > li {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-top: none;		/*上の線だけなくす*/
}

/*子メニュー*/
.submenu li li a {
	padding-left: 2rem;	/*左に余白を空ける*/
}


/*box1
---------------------------------------------------------------------------*/
.box1 {
	padding: 1rem;			/*ボックス内の余白*/
	margin-bottom: 1rem;	/*ボックスの下に空けるスペース*/
	background: rgba(0,0,0,0.05);	/*背景色*/
	border: solid 1px #ccc;	/*線の線種、幅、色*/
	box-shadow: 0px 0px 1px 1px #fff inset;	/*ボックスの影。右へ、下へ、ぼかし幅、距離。#fffは白のことでinsetは内側へ向けての影の指定。*/
}

/*box1内のsubmenuの下マージンをなくす*/
.box1 .submenu {
	margin-bottom: 0;
}


/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view-parts {
	max-width: 1000px;		/*最大幅*/
	margin: 0 auto 1rem;	/*ブロック要素を中央に配置。下に1文字分のマージンをとる。*/
	text-align: center;		/*画像が小さい場合でもセンタリングされるように*/
}

/*サムネイル全体を囲むブロック*/
.thumbnail-parts {
	display: flex;				/*flexを使う指定*/
	justify-content: center;	/*並びかたの種類の指定。これはセンタリングする指定。*/
	margin-bottom: 2rem;		/*下に空けるスペース。２文字分。*/
}

/*サムネイル画像*/
.thumbnail-parts img {
	width: 100px;		/*サムネイルの幅*/
	margin: 2px;		/*サムネイル間のスペース*/
	cursor: pointer;	/*リンクタグではないが、クリックできる事をわかりやすくする為にリンクと同じポインターにしておきます。*/
	transition: 0.3s;	/*マウスオンまでにかける時間。3秒。*/
}
.thumbnail-parts img:hover {
	opacity: 0.8;	/*マウスオン時に80%だけ色を出す。つまり薄くなります。*/
}


/*animation-text（トップページの大きな円形の文字が回るアニメーション）
---------------------------------------------------------------------------*/
/*サイズや場所の指定*/
.animation-text {
	position: absolute;z-index: -1;
	width: 100vw;	/*画像の幅*/
	right: -50vw;	/*画面の右半分に収まるように*/
	top: 25vw;		/*上からの距離*/
	opacity: 0.1;	/*透明度。色を10%出しています。全部出したいならこの１行を削除して下さい。*/
}

/*アニメーションに関する指定*/
.spin {
	animation: spin 150s linear infinite;	/*150s（150秒）が１回転する速度です。お好みで変更して下さい。*/
}


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

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid #999;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;				/*幅*/
	margin-bottom: 1rem;			/*テーブルの下に空けるスペース*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #999;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;		/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
}

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

		/*th（左側）のみの設定*/
		.ta1 th {
			width: 20%;		/*幅*/
		}

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


/*テーブル（ta2）activities_item.htmlの予約状況に使用。
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2 caption {
	text-align: center;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	font-weight: bold;		/*太字に*/
	padding: 10px;			/*ボックス内の余白*/
}

/*ta2設定*/
.ta2 {
	table-layout: fixed;
	width: 100%;
	margin-bottom: 2rem;	/*テーブルの下に空けるスペース*/
	text-align: center;		/*センタリング*/
	background: #fff;		/*背景色*/
	color: #333;			/*文字色*/
}
.ta2, .ta2 td, .ta2 th {
	word-break: break-all;
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
}

/*曜日と午前午後*/
.ta2 th {
	background: #fffbe3;
}


/*テーブルを小さな端末で横スクロールさせる為の準備
---------------------------------------------------------------------------*/
/*テーブルを囲むブロック*/
.ta-box {
	overflow-x: auto;
	margin-bottom: 1rem;
}

/*ブロック内にあるta2のみ最小幅を設定*/
.ta-box .ta2 {
	min-width: 600px;
}


/*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: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*marker（マーカー風スタイル）
---------------------------------------------------------------------------*/
.marker {
	display: inline-block;
	background: linear-gradient(transparent 80%, yellow 80%);
}


/*その他
---------------------------------------------------------------------------*/
.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;}
.mb5vw {margin-bottom: 5vw !important;}
.look {display: inline-block;padding: 0px 10px;background: #fff;color: #333;border: 1px solid #ccc; 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;}

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

h1.page_title {
	margin: 0;
	text-align: center;
}
h2.page_title {
	margin: 0;
	text-align: center;
}
/* メインエリア */
.main_contents {
	border: 3px ridge #999;
    margin: 10px;
	padding: 10px;
}
.main_contents .row {
	display: flex;
	margin: 0 auto;
	width: 100%;
	justify-content: center;
	flex-wrap: wrap;
}
.main_contents .row+.row {
	margin-top: 4px;
}
.main_contents .item {
	padding: 4px;
	flex: 1;
	gap: 2%;
	align-items: center;
}
.main_contents .item:nth-child(1) {
	max-width: 70px;
}
.breadcrumbs {
	margin: 0 10px;
}
.pager {
	width: 100%;
	position: relative;
	margin: 0;
    margin-bottom: 2em;
}
.pager .prev {
	position: absolute;
	text-decoration: none;
	left: 0;
}
.pager .next {
	position: absolute;
	text-decoration: none;
	right: 0;
}
/* 検索フォームのrankのFlex */
.rank_row {
	display: flex;
	margin: 0 auto;
	width: 100%;
	justify-content: center;
	flex-wrap: wrap;
	text-align: center;
}
.rank_row+.row {
	margin-top: 4px;
}
.rank_item {
	padding: 4px;
	flex: 1;
	gap: 2%;
	align-items: center;
}
/* 検索結果のFlex */
.results_area {
	margin-top: 20px;
}
.results_area .row {
	display: flex;
	margin: 0 auto;
	justify-content: center;
	flex-wrap: wrap;
}
.results_area .row+.row {
	margin-top: 2px;
    margin-bottom: 2px;
}
.results_area .item {
	padding: 4px;
	flex: 1;
	text-align: center;
	gap: 2%;
	align-items: center;
}
.results_area .row:first-child {
	border-bottom: 3px ridge #999;
}
.results_area .row:not(:first-child) {
	border-bottom: 1px dashed #999;
}
/* each number coloring */
.number_set {
	text-align: center;
}
.number_set.type1 {
	color: #000;
	background: #FFFFFF;
}
.number_set.type2 {
	border: 1px solid #505050;
	background: #505050;
}
.number_set.type3 {
	border: 1px solid #F04141;
	background: #f04141;
}
.number_set.type4 {
	border: 1px solid #4184D0;
	background: #4184d0;
}
.number_set.type5 {
	color: #000;
	border: 1px solid #D5D6D7;
	background: #ece962;
}
.number_set.type6 {
	border: 1px solid #54B74D;
	background: #54b74d;
}
.number_set.type99 {
	color: #000;
	border: 1px solid lightgray;
	background: lightgray;
}
	
@media screen and (min-width:900px) {
	.main_contents {
		width: 60%;
		margin: 0 auto;
	}
	.results_area .row {
		width: 75%;
	}
	.main_contents .item:nth-child(1) {
		max-width: 150px;
	}
	.breadcrumbs {
		width: 60%;
		margin: 0 auto;
	}
	.pager {
		width: 60%;
		margin: 0 auto;
		margin-bottom: 2em;
	}
}
@media screen and (max-width:900px) {
	.results_area .item:nth-child(1) {
		min-width: 90px;
	}
	.results_area .item:nth-child(3n) {
		max-width: 50px;
	}
}
.opening,
.race_cards {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 1%;
}
.opening .place{
	display: flex;
	flex-direction: column;
	width: 32%;
	text-align: center;
	border: 3px ridge #999;
	background: white;
	color: black;
	text-decoration: none;
	margin: auto;
}
.race_cards .racer {
	display: flex;
	flex-direction: column;
	width: 32%;
	text-align: center;
	border: 3px ridge #999;
	text-decoration: none;
	margin: auto;
}
@media screen and (max-width:900px) {
	.opening .place,
	.race_cards .racer {
		width: 49%;
	}
}
.opening .place.ended {
	background: gray;
}
.opening .place:hover {
	background: lightgreen;
}
.opening .place .name {
	position: relative;
}
/* grade icon */
.opening .place .name.ippan::before,
.opening .place .name.G1a::before,
.opening .place .name.G1b::before,
.opening .place .name.G2b::before,
.opening .place .name.G3b::before,
.opening .place .name.SGa::before {
	display: inline-block;
	content: '';
	width: 40px;
    height: 32px;
	position: absolute;
	left: 0;
}
.opening .place .name.ippan::before {
	background: url('../images/icon_ippan.png') 0 0 no-repeat;
}
.opening .place .name.SGa::before {
	background: url('../images/icon_sg.png') 0 0 no-repeat;
}
.opening .place .name.G1a::before {
	background: url('../images/icon_g1a.png') 0 0 no-repeat;
}
.opening .place .name.G1b::before {
	background: url('../images/icon_g1b.png') 0 0 no-repeat;
}
.opening .place .name.G2b::before {
	background: url('../images/icon_g2.png') 0 0 no-repeat;
}
.opening .place .name.G3b::before {
	background: url('../images/icon_g3.png') 0 0 no-repeat;
}
/* lady icon */
.opening .place .name.lady::after,
.opening .place .name.rookie__3rdadd::after,
.opening .place .name.venus::after{
	display: inline-block;
	content: '';
    width: 35px;
    height: 35px;
	position: absolute;
	top: 5px;
	right: 20px;
}
.opening .place .name.lady::after {
	background: url('../images/icon_lady.png') 0 0 no-repeat;
}
.opening .place .name.rookie__3rdadd::after {
	background: url('../images/icon_rookie.png') 0 0 no-repeat;
}
.opening .place .name.venus::after {
	background: url('../images/icon_venus.png') 0 0 no-repeat;
}
/* daytime icon */
.opening .place .name.morning::after,
.opening .place .name.summer::after,
.opening .place .name.nighter::after,
.opening .place .name.midnight::after {
	display: inline-block;
	content: '';
    width: 35px;
    height: 35px;
	position: absolute;
	top: 5px;
	right: 0;
}
.opening .place .name.morning::after {
	background: url('../images/icon_morning.png') 0 0 no-repeat;
}
.opening .place .name.summer::after {
	background: url('../images/icon_summer.png') 0 0 no-repeat;
}
.opening .place .name.nighter::after {
	background: url('../images/icon_nighter.png') 0 0 no-repeat;
}
.opening .place .name.midnight::after {
	background: url('../images/icon_midnight.png') 0 0 no-repeat;
}

.result_col {
	display: flex;
}
.result_col div:first-child {
	width: 10%;
}
.result_col div {
	width: 30%;
	text-align: center;
}
div.table .table_head {
	border-bottom: 1px dashed #999;
}
div.table .table_head,
div.table .table_content {
	display: flex;
	text-align: center;
}
div.table.col4 .table_head div,
div.table.col4 .table_content div {
	width: 25%;
}
.attention {
	font-weight: bold;
	color: red;
}
.liner {
	margin: 20px;
}