@charset "utf-8";

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


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


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


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

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

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

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

/* 色共通設定 
指定する要素の色指定の際、
: var(--text-color); のtext-colorの部分を変更する。

*/
:root {
  --text-color: #555; /* テキストカラー */
  --bg-color:#c73006; /* 背景色 */
  --menubar-color:#541d0d; /* メニューバーで使っている濃いめの赤背景色 */
}


body {
	
	font-family:"BIZ UDMincho";
	-webkit-text-size-adjust: none;
	/*
	 font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	-webkit-text-size-adjust: none;
	*/
	background: var(--bg-color);	/*背景色*/
	background-image: url('../images/hikageno.png');
	background-repeat:no-repeat;
  background-attachment: fixed;
  background-size: 50%;
  background-position: top right;

	color: var(--text-color);		/*文字色*/
	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;}
section + section {
	margin-top: 3rem;
}


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

a:hover {
	opacity: 0.8;	/*マウスオン時に80%の透明度にする*/
}


/*container
---------------------------------------------------------------------------*/
#container {
	max-width: 1800px;	/*サイトの最大幅。これ以上広がらない。*/
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #fff;	/*背景色*/
}

#container_header {
	max-width: 1800px;	/*サイトの最大幅。これ以上広がらない。*/
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: none;	/*背景色*/
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	padding: 20px 0%;			/*上下、左右へのヘッダー内の余白*/
	background: none;		/*背景色*/
	color: #fff;				/*文字色*/
}
header a {color: inherit;}

/*ロゴ*/
#logo img {display: block;}
#logo {
	max-width: 450px;	/*ロゴの幅*/
}

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

	/*ヘッダーブロック*/
	header {
		display: flex;					/*flexボックスを使う指定*/
		justify-content: space-between;	/*並びかたの種類の指定*/
		align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	}

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


/*トップページのスライドショー（vegasを使用）
背景画像をレスポンシブにする為の設定ですが、画像比率を変更したい場合はテンプレート内マニュアルをご覧下さい。
---------------------------------------------------------------------------*/
#mainimg-box {
	width: 100%;
	height: 0;
	padding-top: 33.3%;
	position: relative;z-index: 0;
}
#mainimg {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}


/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar a {display: block;text-decoration: none;}
#menubar ul {list-style: none;margin:0;padding: 0;font-family: "Font Awesome 5 Free","BIZ UDMincho";}
#menubar.d-n, #menubar_hdr.d-n, #menubar .ddmenu_parent ul {display: none;}
#menubar.d-b {display: block;}
#menubar_hdr.d-b {display: flex;}
#menubar {
	animation: opa1 0.3s 0.2s both;	/*0.2秒の間だけ非表示にし、その後0.3秒かけてフェードイン表示*/
	position: relative;z-index: 1;	/*スライドショーがある場合にドロップダウンが下に隠れないようにするため*/
	font-size: 18px;	/*文字サイズ。端末サイズで文字サイズが変わると不具合が出る場合があるので、ここで統一しています。*/
}


/*ドロップダウンブロック設定
---------------------------------------------------------------------------*/
/*ドロップダウンメニューのリンクタグ*/
#menubar .ddmenu {
	cursor: default;	/*リンク要素のカーソルを矢印に変更しておく*/
}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	content: "\f078";	/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	font-weight: bold;	/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 1em;	/*アイコンとテキストとの間に空けるスペース*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
.p #menubar > nav > ul {
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}

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

.p #menubar li li {
	text-align: left;	/*テキストをセンタリング*/
}

.p #menubar a {
	padding: 10px;			/*メニュー内の余白*/
	background: var(--menubar-color);	/*背景色*/
	color: #fff;			/*文字色*/
}

/*現在表示中メニュー（current）*/
.p #menubar li.current > a {
	background: #0024da;	/*背景色*/
}

/*現在表示中メニューの下部にある「▼」*/
.p #menubar li.current::before {
	content: "▼";				/*この文字（▼マーク）を出力します*/
	font-size: 20px;			/*サイズ*/
	color: #0024da;				/*色*/
	position: absolute;			/*絶対配置する*/
	bottom: -1.2em;				/*下からの配置場所の指定*/
	left: calc(50% - 0.5em);	/*左からの配置場所の指定*/
	transform: scale(1.5, 0.8);	/*大きさを少し横長にする。横に1.5倍、縦に0.8倍です。*/
}


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.p #menubar ul ul {
	position: absolute;z-index: 100;
	width: 100%;
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.s #menubar.d-b {
	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: left;					/*内容をセンタリング*/
	animation: animation1 0.2s both;	/*animation.cssのanimation1を実行する。0.2sは0.2秒の事。*/
}

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


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*大きな端末では非表示にしておく*/
.p #menubar_hdr {display: none;}

/*３本バーを囲むブロック*/
.s #menubar_hdr {
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 30px;		/*右からの配置場所指定*/
	top: 30px;			/*上からの配置場所指定*/
	padding: 16px 14px;	/*上下、左右への余白*/
	width: 46px;		/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;		/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	background: rgba(0,0,0,0.5);	/*背景色*/
	border-radius: 50%;				/*円形にする*/
}

	/*画面幅400px以下の追加指定*/
	@media screen and (max-width:400px) {
	
	/*３本バーを囲むブロック*/
	.s #menubar_hdr {
		right: 10px;	/*右からの配置場所指定*/
		top: 10px;		/*上からの配置場所指定*/
	}
	
	}/*画面幅400px以下の追加指定ここまで*/


/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 2px solid #fff;	/*線の幅、線種、色*/
}

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


/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {
	margin: 10px;	/*ブロックの外側に空けるスペース*/
}

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

	main {
		margin: 50px;	/*ブロックの外側に空けるスペース*/
		flex: 1;
	}
	
	/*2カラムで使う為の指定*/
	main.c2 {
		display: flex;
		justify-content: space-between;
	}
	
	/*2カラムの中にある.main要素（頭にドットがない「main」とは異なるので注意して下さい）*/
	main.c2 .main {
		width: calc(100% - 24%);	/*幅。ここの280pxの数字は下の.subの幅(230px)と、左右ブロックの間の余白(50px)を追加したものです。calc(100% - 24%)  */
		order: 1;
	}
	
	/*2カラムの中にある.sub要素*/
	main.c2 .sub {
		width: 20%;	/*幅*/
	}

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


/*mainブロック内のh2タグ*/
main h2 {
	font-size: 1.5rem;	/*文字サイズ*/
	margin: 0 0 2rem;	/*h2の外側にとるスペース。上、左右、下への順番。*/
	border-bottom: 3px solid #eee;	/*下線の幅、線種、色。ベースカラーです。下のspanのborder-bottomと数字を合わせておく。*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広くとる*/
}

/*mainブロック内のh2タグに下線を引くための指定。*/
main h2 span.uline {
	display: inline-block;
	border-bottom: 3px solid var(--bg-color);	/*下線の幅、線種、色。アクセントカラーです。上のmain h2と数字を合わせておく。*/
	position: relative;
	bottom: -3px;		/*下からの配置場所指定。上にある２つのborder-bottomと重ねる為の指定なので、数字を合わせてから冒頭にマイナスをつけて下さい。*/
	padding: 0 1rem;	/*上下、左右への余白。テキストの両脇に少し余裕をもって線を引くためです。*/
}

/*h3タグ*/
main h3 {
	font-size: 1.2rem;		/*文字サイズ*/
	margin: 1.5rem 1rem 0.5rem;	/*h3の外側にとるスペース。上、左右、下への順番。*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広くとる*/
}

/*H3見出し*/
main h3 {
    border-bottom: 2px solid #a61919;  /*下線太さ 種類 色*/
    border-left: transparent;  /*左線を透明*/
    color: #a61919; /*文字色*/
    
}

main h3:before{
    color: #a61919;  /*アイコンの色*/
    font-family:"Font Awesome 5 Free";
    content:"\f6a1";  /*アイコンのコード*/
    font-weight:900;  /*アイコンの種類*/
    margin-right:10px;  /*アイコン右の余白*/
}


/*h4タグ*/
main h4 {
	font-size: 1.1rem;		/*文字サイズ*/
	margin: 0 1rem 1rem;	/*h4の外側にとるスペース。上、左右、下への順番。*/
}

/*pタグ*/
main p {
	margin: 0 1rem 2rem;	/*pの外側にとるスペース。上、左右、下への順番。*/
}

/*微調整*/
main p + p {
	margin-top: -1rem;	/*段落が続いた場合に、少し上に詰める。*/
}



.itemheaderimg{
	display:block;
	width: 100%;
	height: 20rem;
	object-fit: cover;
	object-position: 50% 50%;
}


/*subブロック設定
---------------------------------------------------------------------------*/
/*ブロック内のh3タグ*/
.sub h3 {
	margin: 0;
	font-weight: normal;
	background: #98140e;	/*背景色*/
	color: #fff;			/*文字色*/
	text-align: center;
	padding: 0.5em;
}
.sub h3 a {color: inherit;}


/*サブメニュー設定
---------------------------------------------------------------------------*/
/*サブメニューブロック全体*/
.submenu {
	padding: 0;
	margin: 0 0 1rem;	/*上、左右、下へのマージン*/
}

/*メニュー１個あたり*/
.submenu li {
	border-bottom: 1px solid rgba(0,0,0,0.1);	/*下線の幅、線種、色。0,0,0は黒の事で0.1は色が10%出た状態。*/
}
.submenu a {
	display: block;text-decoration: none;
	background: #fff;	/*背景色*/
	padding: 0.2rem 1rem;	/*上下、左右へのメニュー内の余白*/
}

/*アイコン（Font Awesome）*/
.submenu a::before {
	transition: 0.3s;
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
	content: "\f0da";		/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	color: var(--menubar-color);			/*アイコンの色*/
	padding-right: 0.8em;	/*アイコンとテキストの間の余白*/
	font-weight: bold;		/*この設定がないとアイコンが出ない場合があります*/
}

/*マウスオン時のアイコン設定*/
.submenu a:hover::before {
	color: #98140e;			/*アイコンの色*/
}


/*box1設定（このテンプレートでは、2カラム時のsubブロックでのみ使用しています）
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
.box1 {
	background: rgba(0,0,0,0.05);	/*背景色。0,0,0は黒の事で0.05は色が5%出た状態。*/
	padding: 10px;					/*ボックス内の余白*/
	border-radius: 5px;				/*角を丸くする指定*/
	margin-bottom: 1rem;			/*ボックスの下に空けるスペース*/
}

/*box1内で使った場合、下のマージンをなくす*/
.sub .box1 .submenu {
	margin-bottom: 0;
}


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

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

#footer-contents h4 span{
	font-size:0.8em;
	font-weight:normal;
	line-height:2em;
}

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

#footer-contents #footer-logo img{
	width:80%;
}

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

#footer-contents .left p{
	font-size:1.1em;
}

	/*画面幅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-contents内のマップ(iframe)と、詳細ページのYouTube(iframe)動画をレスポンシブにする設定。
---------------------------------------------------------------------------*/
.iframe-box {
	width: 100%;
	height: 0;
	padding-top: 56.25%;	/*アスペクト比を調整するところです*/
	position: relative;
}
.iframe-box iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}



/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
	background: #000;	/*背景色*/
	color: #999;		/*文字色*/
	font-size: 0.8rem;	/*文字サイズ。*/
	padding: 10px;	/*ボックス内の余白*/
	display: flex;		/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: flex-start;		/*垂直揃えの指定。上に配置されるように。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	
	#footermenu {
		padding: 20px 50px;	/*ボックス内の余白*/
	}
	
	}/*画面幅900px以上の追加指定ここまで*/
	

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

/*リンクテキストのマウスオン時*/
#footermenu a:hover {
	color: #ccc;	/*文字色*/
}

/*ulタグ（メニューの列単位）*/
#footermenu ul {
	margin: 0;
	padding: 0 2px;
	flex: 1;
	list-style: none;
}

/*title*/
#footermenu .title {
	font-weight: bold;		/*太字にする*/
	color: #ccc;			/*文字色*/
	padding-bottom: 5px;	/*下に空けるスペース*/
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.6rem;		/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	background: #98140e;	/*背景色*/
	color: #fff;			/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}

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

/*リンクテキストのマウスオン時*/
footer a:hover {color: #fff;}

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


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
	margin: 0;
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 1rem;	/*上下、左右へのボックス内の余白*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	padding: 5px 0;		/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
#new dt {
	width: 8rem;	/*幅。8文字(rem)分*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
	display: none;	/*小さな端末では非表示にしておく。*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 8rem);	/*「8rem」は上の「#new dt」のwidthの値です*/
}

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

	/*日付(dt)設定*/
	#new dt {
		width: 14rem;	/*幅。14文字(rem)分。アイコン分も含んだ幅にします。*/
		display: flex;	/*flexボックスを使う指定*/
		justify-content: space-between;	/*日付とアイコンをそれぞれ端に寄せる*/
	}

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

	/*icon-bg1設定。サンプルテンプレートでは「重要」と書いてあるマーク*/
	#new dt span.icon-bg1 {
		border: transparent;	/*枠線を透明にする*/
		background: #cd0000;	/*背景色*/
		color: #fff;			/*文字色*/
	}

	/*記事(dd)設定*/
	#new dd {
		width: calc(100% - 14rem);	/*「14rem」は上の「#new dt」のwidthの値です。*/
	}

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


/*.listブロック共通
---------------------------------------------------------------------------*/
.list {
	position: relative;	/*子要素のアイコンを絶対配置する為の設定*/
}

/*ボックス内のアイコン*/
.list .list-icon {
	font-size: 0.6rem;		/*文字サイズ*/
	background: #fff;	/*背景色*/
	color: var(--text-color);			/*文字色*/
	width: auto;			/*幅*/
	line-height: 30px;		/*高さ*/
	padding:0em 1em;
	border-radius: 0%;		/*角丸のサイズ。円形になります。*/
	text-align: center;		/*テキストをセンタリング*/
	position: absolute;		/*親のブロックのrelative（この場合は.list）に対して絶対配置する*/
	left: -10px;			/*listブロックに対して左からの配置場所の指定*/
	bottom: 30px;				/*listブロックに対して上からの配置場所の指定*/
	opacity:0.95;
}

/*figure画像*/
.list figure {
	margin-bottom: 2rem;	/*下に空けるスペース。2文字分。*/
}



/*2カラムブロック（※900px未満では１カラム）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.list-half .list {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	margin-bottom: 2rem;	/*ボックスの下に2文字分のスペースを空ける*/
}

/*画像ブロック共通*/
.list-half .image-l, .list-half .image-r {
	margin-left: 1rem;margin-right: 1rem;	/*画像の左右に1文字分のスペースを空ける*/
	position: relative;						/*子要素のアイコンを絶対配置する為の設定*/
}
.list-half .image-l img, .list-half .image-r img {
	height: auto;
	border-radius: 3px;					/*角を丸くする指定。*/
	box-shadow: 0px 0px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

.list-half .image-l img.ob_cover,
.list-half .image-r img.ob_cover {
	width: 100%;
	height:20em;
	object-fit: cover;
	object-position:50% 50%;
}

.list-half .image-l img.ob_contain,
.list-half .image-r img.ob_contain {
	width: auto;
	margin:0 auto;
	object-fit: contain;
}

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

		/*２カラムを囲むブロック*/
		.list-half .list {
			flex-direction: row;			/*子要素を横並びにする*/
			justify-content: space-between;	/*並びかたの種類の指定*/
			align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
		}
		
		/*画像ブロック共通*/
		.list-half .image-l, .list-half .image-r{
			width: 40%;			/*幅。下のテキストブロックのwidthと調整して下さい。*/
		}
		
		/*画像を右に配置する場合*/
		.list-half .image-r {
			margin-left: 2rem;	/*画像の左側に空けるスペース*/
		}
		
		/*画像を左に配置する場合*/
		.list-half .image-l {
			order: -1;
			margin-right: 2rem;	/*画像の右側に空けるスペース*/
		}


		/*テキストブロック*/
		.list-half .text{
			width: 60%;			/*幅。上の「画像ブロック共通」のwidthと調整して下さい。*/
		}

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


/*３列タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-container .list {
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	box-shadow: 0px 0px 0px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-container .list h4 {
	margin: 0;
}

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

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

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

	/*listブロック全体を囲むブロック*/
	.list-container {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-container .list {
		width: 32%;			/*幅。３列になります。*/
		margin-right: 2%;	/*右側へのマージン。ボックス同士の左右の余白です。*/
	}
	
	.list-container .list img{
		width:100%;
		max-height:15rem;
		object-fit: cover;
		object-position:center center;
	}
	
	/*3の倍数目のボックスの右側のマージンをなくす*/
	.list-container .list:nth-of-type(3n) {
		margin-right: 0;
	}

	/*ボックス内のtextブロック*/
	.list-container .list .text {
		flex: 1;
	}

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



/* 2列タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-container_dual .list {
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	box-shadow: 0px 0px 0px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-container_dual .list h4 {
	margin: 0;
}

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

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

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

	/*listブロック全体を囲むブロック*/
	.list-container_dual {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-container_dual .list {
		width: 48%;			/*幅。３列になります。*/
		margin-right: 2%;	/*右側へのマージン。ボックス同士の左右の余白です。*/
	}
	
	.list-container_dual .list img{
		width:100%;
		max-height:25rem;
		object-fit: cover;
		object-position:center center;
	}
	
	/*3の倍数目のボックスの右側のマージンをなくす*/
	.list-container_dual .list:nth-of-type(3n) {
		margin-right: 0;
	}

	/*ボックス内のtextブロック*/
	.list-container_dual .list .text {
		flex: 1;
	}

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


/* 4列タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-container_quatro .list {
	margin-bottom: 30px;	/*ボックス同士の上下間に空けるスペース*/
	padding: 20px;			/*ボックス内の余白*/
	background: #fff;		/*背景色*/
	box-shadow: 0px 0px 0px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-container_quatro .list h4 {
	margin: 0;
}

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

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

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

	/*listブロック全体を囲むブロック*/
	.list-container_quatro {
		display: flex;		/*flexボックスを使う指定*/
		flex-wrap: wrap;	/*折り返す指定*/
	}

	/*１個あたりのボックス設定*/
	.list-container_quatro .list {
		width: 24%;			/*幅。３列になります。*/
		margin-right: 1%;	/*右側へのマージン。ボックス同士の左右の余白です。*/
	}
	
	.list-container_quatro .list figure img {
		min-width: 100%;
		height:250px;		
		object-fit: contain;
		background:#fff;
		border:1px solid #e5e5e5;
	}
	
}


	/*3の倍数目のボックスの右側のマージンをなくす*/
	.list-container_quatro .list:nth-of-type(3n) {
		margin-right: 0;
	}

	/*ボックス内のtextブロック*/
	.list-container_quatro .list .text {
		flex: 1;
	}

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



/*横長タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-normal .list {
	display: flex;	/*flexボックスを使う指定*/
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	padding: 25px 0;	/*上下、左右へのボックス内の余白*/
}

.list-normal .list div {
	flex: 1;
}

/*１つ目のボックスにのみ上に線を入れる*/
.list-normal .list:nth-of-type(1) {
	border-top: 0px solid #ccc;	/*上の線の幅、線種、色*/
}

/*ボックス内のfigure画像*/
.list-normal .list figure {
	width: 20%;			/*画像の幅*/
	margin-right: 20px;	/*画像の右側に空けるスペース*/
}

/*ボックス内のh4タグ*/
.list-normal .list h4 {
	margin: 0;				/*デフォルトマージンを一旦リセット*/
	margin-bottom: 10px;	/*下に少し余白を作る*/
}

/*ボックス内のpタグ*/
.list-normal .list p {
	margin: 0;
	font-size: 1rem;		/*文字サイズを70%に。*/
}


	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	
	/*list2ボックス。１個あたりのボックスの指定です。*/
	.list-normal .list {
		padding-left: 10px;	/*ボックス内の左側にだけ余白を作る*/
	}

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


/*ulで使うbtn（当テンプレートではheader内でのみ使用）
---------------------------------------------------------------------------*/
/*ボタンブロック全体*/
ul.btn {
	list-style: none;margin: 0;padding: 0;
	display: flex;	/*flexボックスを使う指定*/
}

/*ボタン１個あたり*/
ul.btn li {
	box-shadow: 1px 2px 3px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.2は色が20%出た状態。*/
	margin: 2px;	/*ボタン同士の間に空けるスペース*/
}
ul.btn a {
	display: block;text-decoration: none;
	background: linear-gradient(#ff9000, #ff6000);/*「#ff9000」から「#ff6000」へのグラデーション。*/
	padding: 0.2em 1.5em;	/*上下、左右へのボタン内の余白*/
	border-radius: 3px;		/*角を丸くする指定*/
}


/*FAQ
---------------------------------------------------------------------------*/
/*FAQボックス全体*/
.faq {
	padding: 0 1rem;	/*上下、左右へのボックス内の余白*/
}

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

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 5 Free";	/*Font Awesomeを使う指定*/
    content: "\f059";	/*アイコンのコード*/
	color: #999;		/*アイコンの色*/
	padding-right: 1rem;	/*アイコンとテキストとの間のスペース*/
}

/*回答*/
.faq dd {
	padding: 5px 1rem 30px 3rem;		/*ボックス内の余白**/
}

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

/*年間行事*/

dl.annual{
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
	flex-wrap: wrap;
	align-items: stretch;	
	width: 97%;
	margin:1.5rem 1rem;
	border: 1px solid #ccc;
	border-bottom: none;
}
dl.annual dt{
	background: #f5f5f5;
	padding: 5px;
	width: 150px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
dl.annual dd{
	background: #fff;
	padding: 5px;
	width: calc(100% - 150px);
	border-bottom: 1px solid #ccc;
}

@media only screen and (max-width: 765px) {
	dl.annual dt{ 
		width: 100%;
		border-right: none;
	}
	dl.annual dd{
		width: 100%; 
	}
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 1rem 0.5rem;	/*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
	background: #555;		/*背景色*/
	margin-bottom: 1rem;	/*下に空けるスペース。1文字分。*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	border-top: 1px solid #666;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;
	margin: 0 auto 2rem;	/*最後の2remが、テーブルの下に空けるスペースです。2文字分。*/
}

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

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

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



/* 厄年テーブル
---------------------------------------------------------------------------*/


#yaku{
    width:100%;
	margin:0px;
	border:#999999 2px solid;
	border-collapse:collapse;
}

.yaku01{
    width:265px;
	height:30px;
	border:#999999 1px solid;
	text-align:center;
	line-height:30px;
	font-weight:bold;
	font-size:medium;
	background:#FFFFCC;
}

.yaku02{
    width:12%;
	height:30px;
	border:#999999 1px solid;
	padding:3px 3px 3px 5px;
}

.yaku03{
    width:24%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 3px 3px 8px;
}

.yaku04{
    width:12%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 5px 3px 0px;
	text-align:right;
}

.yaku05{
    width:6%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 3px 3px 5px;
}

.yaku06{
    width:6%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 1px 3px 3px;
	background:#FF0000;
	color:#FFFFFF;
}

.yaku07{
    width:6%;
	height:15px;
	border:#999999 1px solid;
    padding:3px 1px 3px 3px;
}

.yaku08{
    width:24%;
	height:15px;
	border:#999999 1px solid;
    padding:3px 3px 3px 8px;
}

.yaku09{
    width:12%;
	height:13px;
	border:#999999 1px solid;
    padding:3px 5px 3px 0px;
	text-align:right;
}


.yaku10{
    width:24%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 3px 3px 8px;
	background:#FF0000;
	color:#FFFFFF;
}

.yaku11{
    width:12%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 5px 3px 0px;
	text-align:right;
	background:#FF0000;
	color:#FFFFFF;
}

.yaku12{
    width:6%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 3px 3px 5px;
	background:#FF0000;
	color:#FFFFFF;
}


.yaku13{
    width:6%;
	height:15px;
	border:#999999 1px solid;
    padding:3px 1px 3px 3px;
	background:#FF0000;
	color:#FFFFFF;
}

.yaku14{
    width:24%;
	height:15px;
	border:#999999 1px solid;
    padding:3px 3px 3px 8px;
	background:#FF0000;
	color:#FFFFFF;
}

.yaku15{
    width:12%;
	height:13px;
	border:#999999 1px solid;
    padding:3px 5px 3px 0px;
	text-align:right;
	background:#FF0000;
	color:#FFFFFF;
}

.yaku16{
    width:12%;
	height:30px;
	border:#999999 1px solid;
	padding:3px 3px 3px 5px;
	background:#FFD2E9;
}

.yaku17{
    width:24%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 3px 3px 8px;
	background:#FFD2E9;
}

.yaku18{
    width:12%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 5px 3px 0px;
	text-align:right;
	background:#FFD2E9;
}

.yaku19{
    width:6%;
	height:30px;
	border:#999999 1px solid;
    padding:3px 3px 3px 5px;
	background:#FFD2E9;
}

.yaku20{
    width:6%;
	height:15px;
	border:#999999 1px solid;
    padding:3px 1px 3px 3px;
	background:#FFD2E9;
}

.yaku21{
    width:24%;
	height:15px;
	border:#999999 1px solid;
    padding:3px 3px 3px 8px;
	background:#FFD2E9;
}

.yaku22{
    width:12%;
	height:13px;
	border:#999999 1px solid;
    padding:3px 5px 3px 0px;
	text-align:right;
	background:#FFD2E9;
}


#mawari{
    width:100%;
	margin:0px;
	border:#999999 2px solid;
	border-collapse:collapse;
	font-size:1em;
}

.mawari_01{
    width:40%;
	border:#999999 1px solid;
	padding:3px 3px 3px 5px;
}

.mawari_02{
    width:25%;
	border:#999999 1px solid;
	padding:3px 5px 3px 3px;
	text-align:right;
}

.mawari_03{
    width:35%;
	border:#999999 1px solid;
	padding:3px 5px 3px 3px;
	text-align:right;
}

.mawari_04{
    width:40%;
	border:#999999 1px solid;
	padding:3px 3px 3px 5px;
	text-align:center;
	background:#FFFFCC;
}

.mawari_05{
    width:25%;
	border:#999999 1px solid;
	padding:3px 3px 3px 5px;
	text-align:center;
	background:#FFFFCC;
}

.mawari_06{
    width:35%;
	border:#999999 1px solid;
	padding:3px 3px 3px 5px;
	text-align:center;
	background:#FFFFCC;
}




#s_753{
    width:95%;
	margin:1em;
	border:#999999 2px solid;
	border-collapse:collapse;
	font-size:medium;
}

#s_753 .s_753_01{
    width:40%;
	border:#999999 1px solid;
	line-height:2em;
	padding:3px 5px;
}

#s_753 .s_753_02{
    width:60%;
	text-align:right;
	border:#999999 1px solid;
}

#s_753 .s_753_03{
    width:60%;
	text-align:center;
	border:#999999 1px solid;
}


/*テーブル
---------------------------------------------------------------------------*/

.ta1-parts, .ta2-parts, .ta3-parts {
	width: 95%;
	margin-left:1rem;
}

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

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

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

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

/*th（左側）のみの設定*/
.ta1-parts th {
	width: 20%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: rgba(0,0,0,0.07);	/*背景色。0,0,0は黒のことで0.07は色が7%出た状態。*/
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2-parts caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白*/
	margin-bottom: 15px;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
}

/*テーブルブロック設定*/
.ta2-parts {
	table-layout: fixed;
	margin-bottom: 2rem;		/*テーブルの下に空けるスペース。２文字分。*/
}

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

/*th（左側）のみの設定*/
.ta2-parts th {
	width: 20%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: rgba(0,0,0,0.07);	/*背景色。0,0,0は黒のことで0.07は色が7%出た状態。*/
}

.ta2-parts td {
	text-align: right;	/*左よせにする*/
}

.ta2-parts td.lefty {
	text-align: left;	/*左よせにする*/
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta3-parts caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白*/
	border-radius: 5px;		/*角を丸くする指定*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
}

/*テーブルブロック設定*/
.ta3-parts {
	border-collapse: separate;
	border-spacing: 0 1rem;	/*ここと、この下の数字は揃えておきます。要素間の隙間みたいなものです。*/
	table-layout: fixed;
	margin-bottom: 2rem;		/*テーブルの下に空けるスペース。２文字分。*/
}

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

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


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2A-parts caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白*/
	margin-bottom: 15px;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
}

/*テーブルブロック設定*/
.ta2A-parts {
	table-layout: fixed;
	width:50%;
	margin:2em 0em 2em 1em;
}

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

/*th（左側）のみの設定*/
.ta2A-parts th {
	width: 40%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: rgba(0,0,0,0.07);	/*背景色。0,0,0は黒のことで0.07は色が7%出た状態。*/
}

.ta2A-parts td {
	text-align: right;	/*左よせにする*/
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2B-parts caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白*/
	margin-bottom: 15px;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
	background: #555;		/*背景色*/
	color: #fff;			/*文字色*/
}

/*テーブルブロック設定*/
.ta2B-parts {
	table-layout: fixed;
	width:100%;
	margin:0;
}

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

/*th（左側）のみの設定*/
.ta2B-parts th {
	width: 40%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: rgba(0,0,0,0.07);	/*背景色。0,0,0は黒のことで0.07は色が7%出た状態。*/
}

.ta2B-parts td {
	text-align: right;	/*左よせにする*/
}



/*

手作り市の見出し
---------------------------------------------------------------------------*/

p.tedukurimidasi {
  font-size:1.5em;
  width:60%;
  text-align:center;
  position: relative;
  border-top: solid 2px var(--bg-color);
  border-bottom: solid 2px var(--bg-color);
  background: #fff;
  line-height: 2.5;
  padding: 0.4em 0.5em;
  margin: 2em auto 0.5em;
}

p.tedukurimidasi:after {
  /*タブ*/
  position: absolute;
  font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
  font-weight: 900;
  content: '\f0a7\ POINT';
  background: var(--bg-color);
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 5px 7px 3px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em;
}

p.tedukurimidasi b{
	font-weight:bold;
	font-size:1.4em;
	color: var(--bg-color);
	margin:0 0.1em;
}

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

p.tedukurimidasi {
  width:80%;
}

}



/*list-square-parts
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-square-parts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
	gap: 1rem;	/*マージン的な数値。サムネイル間を１文字分あけます。*/
}

/*ボックスを正方形にトリミングする為の指定なので変更しない。*/
.list-square-parts .list-parts {
	position: relative;
	overflow: hidden;
	height: 0;
	padding-top: 100%;
	border-radius: 10px;	/*角を丸くする指定。通常の四角形がよければこの１行削除。*/
	box-shadow: 2px 2px 3px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.1は色が10%出た状態。*/
}
.list-square-parts .list-parts a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-square-parts .list-parts img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

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



/*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.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-check, .color-check a {color: var(--bg-color) !important;}
.color-theme, .color-theme a {color: #88291a !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 98%;display: block;}
.wl {width: 98%;display: block;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 1em 1.5em;background: #f5f5f5;border: 1px solid #ccc; border-radius: 3px;margin: 0em 1em 0.5em 0em; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 3em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.img {margin: 0 0 1rem;}

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

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

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


.is-pc{
  display: block;
}

.is-sp{
  display: none;
}



.selectbox-4 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox-4::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-4 select {
    appearance: none;
    min-width: 10%;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: none;
    border-radius: 3px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

.selectbox-3 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox-3::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-3 select {
    appearance: none;
    min-width: 38%;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

.button-49 {
    justify-content: center;
    align-items: center;
    width: 60%;
    padding: .9em 1em;
    border: 2px solid #fff;
    font-size: 0.85em;
}


select.omamorikosuu {
  /* 初期化 */
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 0px solid #f5f5f5;
  border-radius: 5px;
  color: #333;
  font-size: 16px;
  padding: 0 10px;
  height: 40px;
  width: 120px;
  position: relative;
  background: #f5f5f5 url(https://ginneko-atelier.com/assets/arrow.svg) no-repeat right 10px center / 16px auto;
}


button.styled {
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  background-color: rgba(220, 0, 0, 1);
}

button.styled:hover {
  background-color: rgba(255, 0, 0, 1);
}

.styled:active {
  box-shadow:
    inset -2px -2px 3px rgba(255, 255, 255, 0.6),
    inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

/*kazari（トップページロゴ下の円のアニメーション）
---------------------------------------------------------------------------
以下のurl（※海外の外部サイト）で簡単にborder-radiusの値を取得できます。
https://9elements.github.io/fancy-border-radius/
---------------------------------------------------------------------------*/
@keyframes kazari {  
	  
	0% {
		border-radius: 61% 39% 65% 35% / 57% 62% 38% 43%;
		transform: scale(1) rotate(0deg);	/*scaleは大きさ。rotateは回転。*/
	}
	50% {
		border-radius: 41% 59% 38% 62% / 62% 41% 59% 38%;
		transform: scale(1.3) rotate(180deg);	/*scaleは大きさ。1.3倍。rotateは回転。180度。*/
	}
	100% {
		border-radius: 61% 39% 65% 35% / 57% 62% 38% 43%;
		transform: scale(1) rotate(360deg);	/*scaleは大きさ。rotateは回転。360度。*/
	}

}

/*kazari1*/
.kazari1 {
	animation: kazari 15s linear infinite;	/*15s(秒)がアニメーションにかける秒数です*/
	width: 40vw;height: 40vw;				/*幅と高さ。vwは画面幅に対して。100vwが幅100%です。*/
	position: absolute;z-index: -1;
	top: 18vh;left: -10vw;	/*配置場所の指定。上から、左から。*/
	background: #cee6eb;	/*背景色*/
	opacity: 0.5;			/*透明度。色が50%出た状態。*/
}

/*kazari2*/
.kazari2 {
	animation: kazari 150s linear reverse infinite;	/*150s(秒)がアニメーションにかける秒数です*/
	width: 22vw;height: 22vw;				/*幅と高さ。vwは画面幅に対して。100vwが幅100%です。*/
	position: absolute;z-index: -2;
	top: -1vh;left: 20vw;	/*配置場所の指定。上から、左から。*/
	background: #b0d4dc url('../images/bg1.svg') center center / 100px;	/*背景色、和柄パターンの読み込み。100pxはパターンの大きさ。。*/
	opacity: 0.5;			/*透明度。色が50%出た状態。*/
}


/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/* 初期状態でテキストを非表示にする */
.fade-in-text {
    visibility: hidden;
}

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

/*
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
画面幅768px以下の追加指定
スマホ対応専用
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
*/
@media screen and (max-width:768px) {

  .is-pc{
  display: none;
  }

.is-sp{
  display: block;
  }


body {
	background: #98140e;	/*背景色*/
}

/*ulで使うbtn（当テンプレートではheader内でのみ使用）
---------------------------------------------------------------------------*/
/*ボタンブロック全体*/
ul.btn {
	list-style: none;margin: 0;padding: 0;
	display: none;	/*flexボックスを使う指定*/
}

/*ボタン１個あたり*/
ul.btn li {
	box-shadow: 1px 2px 3px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.2は色が20%出た状態。*/
	margin: 2px;	/*ボタン同士の間に空けるスペース*/
}
ul.btn a {
	display: block;text-decoration: none;
	background: linear-gradient(#ff9000, #ff6000);/*「#ff9000」から「#ff6000」へのグラデーション。*/
	padding: 0.2em 1.5em;	/*上下、左右へのボタン内の余白*/
	border-radius: 3px;		/*角を丸くする指定*/
}


/*ロゴ*/
#logo img {display: block;}
#logo {
	max-width: 68%;	/*ロゴの幅*/
	margin:0 0 0 0.5em;
}

/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	padding: 1em 0%;			/*上下、左右へのヘッダー内の余白*/
	background: none;		/*背景色*/
	color: #fff;				/*文字色*/
}
header a {color: inherit;}


/*トップページのスライドショー（vegasを使用）
背景画像をレスポンシブにする為の設定ですが、画像比率を変更したい場合はテンプレート内マニュアルをご覧下さい。
---------------------------------------------------------------------------*/
#mainimg-box {
	width: 100%;
	min-height: 60vh;
	padding-top: 33.3%;
	position: relative;z-index: 0;
}
#mainimg {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}


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

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

#footer-contents h4 span{
	font-size:0.8em;
	font-weight:normal;
	line-height:2em;
}

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

#footer-contents #footer-logo img{
	width:95%;
	display:block;
	margin:0em auto 1em;
}

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

#footer-contents .left p{
	font-size:1.35em;
	line-height:1.5em;
}



/* 
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------*/
}/* 画面幅760px以下 ここまで　絶対に消してはいけません。
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
*/