@charset "utf-8";


/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("theme.css");
@import url("inview.css");


/*animation1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {right: -200px;}
	100% {right: 0px;}
}


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


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html {
	font-size: clamp(13px, 0.29vw + 11.9px, 16px);	/*画面幅375px〜1400pxの間で、13px〜16pxに可変。下でrem管理しているものも連動します。*/
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	font-weight: 400;
	-webkit-text-size-adjust: none;
	background: var(--bg-color);	/*背景色。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

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

/*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 {
	padding: var(--content-space-v, var(--content-space-l)) var(--content-space-l);	/*上下、左右へのsection内の余白。上下はtheme.cssのcontent-space-v（無い場合はcontent-space-l）、左右はcontent-space-lを読み込みます。上下のセクションが隣り合うと、2つ分の余白になります。*/
}

/*section内の最初と最後の要素のマージンはリセット（余白はsectionのpaddingで管理する為）*/
section > :first-child {margin-top: 0;}
section > :last-child {margin-bottom: 0;}


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

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


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	animation: opa1 0.2s 0.2s both;  /*0.2(2つ目の数字)秒待機後、0.2(1つ目の数字)秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダー*/
header {
	display: flex;	/*横並びにする*/
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;	/*要素間に空けるスペース。１文字分。*/
	min-height: 90px;	/*ヘッダーの高さ*/
	padding: 0.8rem var(--content-space-l);	/*上下に0.8文字分、左右にtheme.cssのcontent-space-lの余白をとる。*/
	border-top: 4px solid var(--accent-color);	/*上に4pxの線を入れる。var以降が色の指定でtheme.cssのaccent-colorを読み込みます。*/
}

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

	/*ヘッダー。ハンバーガーアイコンが出るのでその分の余白を確保。*/
	header {
		min-height: 70px;
		padding-right: calc(var(--content-space-l) + 60px);
	}

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


/*ロゴ画像*/
header .logo {margin: 0;flex-shrink: 0;}
header .logo img {
	display: block;
	width: 170px;	/*ロゴの幅。お好みで。*/
}

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

	header .logo img {
		width: 130px;
	}

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


/*Telブロック*/
header .tel {
	display: flex;
	flex-direction: column;	/*縦積みに*/
	align-items: flex-end;	/*右寄せ*/
	line-height: 1.5;	/*行間を少し狭く*/
}
/*電話番号*/
header .tel .large {
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	font-weight: 600;
	font-size: 1.4rem;	/*文字サイズ*/
	letter-spacing: 0.05em;	/*文字間隔を少しだけ広く*/
}
/*受付時間*/
header .tel .small {
	font-size: 0.8rem;	/*文字サイズ80%*/
	opacity: 0.8;		/*色を80%だけ出す。*/
}

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

	/*Telブロックは非表示（開閉メニューの中とフッターに同じ情報があります）*/
	header .tel {
		display: none;
	}

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


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#menubar-overlay {
	display: none;
	position: fixed;
	z-index: 99;	/*#menubar(100)の下、ページの上*/
	top: 0;left: 0;
	width: 100%;height: 100%;
	background: rgba(0,0,0,0.3);	/*半透明の黒。お好みで濃さを調整。*/
}

/*noscroll（メニュー表示中のスクロール禁止用）*/
body.noscroll {
	overflow: hidden;
}


/*メニュー（共通）
---------------------------------------------------------------------------*/
#menubar {
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	font-weight: 500;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}


/*大きな端末で見たメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar {
	border-top: 1px solid var(--bg-border-color);	/*上の線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
}
.large-screen #menubar > nav > ul {
	display: flex;	/*横並びにする*/
	flex-wrap: wrap;	/*メニューが増えて入りきらない場合は折り返す*/
	margin-inline: var(--content-space-l);	/*左右に空ける余白。theme.cssのcontent-space-lを読み込みます。*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	flex: 1 1 auto;	/*文字数に合わせて、残りの幅を分け合う*/
	text-align: center;	/*テキストをセンタリング*/
	font-size: 0.95rem;	/*文字サイズ95%*/
	position: relative;
}
.large-screen #menubar li a {
	display: block;text-decoration: none;
}
.large-screen #menubar > nav > ul > li > a {
	padding: 1rem 1.5rem;	/*上下に1文字分、左右に1.5文字分の余白*/
	position: relative;
}

/*メニューの間の縦線*/
.large-screen #menubar > nav > ul > li + li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 35%;
	height: 30%;
	border-left: 1px solid var(--bg-border-color);	/*線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
}

/*マウスオン時と、current（表示中のページ）の下線*/
.large-screen #menubar > nav > ul > li > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0.6rem;
	width: 1.5rem;	/*線の長さ*/
	height: 2px;	/*線の太さ*/
	background: var(--accent-color);	/*線の色。theme.cssのaccent-colorを読み込みます。*/
	transform: translateX(-50%) scaleX(0);
	transition: transform 0.3s;
}
.large-screen #menubar > nav > ul > li > a:hover::after,
.large-screen #menubar > nav > ul > li.current > a::after {
	transform: translateX(-50%) scaleX(1);
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	left: 0;
	min-width: 100%;	/*最小の幅は親メニューと同じ*/
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}

/*メニュー１個あたり*/
.large-screen #menubar ul ul a {
	white-space: nowrap;	/*折り返さない*/
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	padding: 0.6rem 1.5rem;	/*上下に0.6文字分、左右に1.5文字分の余白*/
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は線の色のことでtheme.cssのbg-border-colorを読み込みます*/
}
.large-screen #menubar ul ul li + li a {
	border-top: none;
}

/*マウスオン時*/
.large-screen #menubar ul ul a:hover {
	background: var(--light-color);	/*背景色。theme.cssのlight-colorを読み込みます。*/
}


/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 50%;	/*画面の半分の幅*/
	height: 100%;
	padding: 100px var(--content-space-l) 50px;	/*上に100px、左右にtheme.cssのcontent-space-lで指定しているサイズ、下に50pxの余白*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

.small-screen #menubar {display: none;}

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

	.small-screen #menubar {
		width: 100%;	/*幅を100%に*/
	}

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


/*メニュー１個あたり*/
.small-screen #menubar a {
	display: block;text-decoration: none;
	padding: 1rem 0.5rem;	/*メニュー内の余白。上下に１文字分、左右に0.5文字分。*/
	border-bottom: 1px solid var(--primary-border-color);	/*下の線の幅、線種、var以降は色の指定でtheme.cssのprimary-border-colorを読み込みます。*/
}

/*current（表示中のページ）*/
.small-screen #menubar li.current > a {
	color: #e8a59b;	/*文字色。背景の墨色の上でも読める朱色。*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	padding-left: 2.5rem;	/*左に2.5文字分の余白*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*ドロップダウンのアイコン*/
a.ddmenu::before {
	content: "";
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	vertical-align: middle;
	margin-right: 1em;	/*アイコンとテキストの間に空けるスペース*/
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center / contain;
}

/*大きな端末ではアイコンを出さない*/
.large-screen a.ddmenu::before {
	display: none;
}


/*ドロップダウン共通（デフォルトで非表示。チラつかないよう念の為。）
---------------------------------------------------------------------------*/
#menubar ul ul {display: none;}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: none; /* デフォルトは非表示 */
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	right: 0px;	/*右からの配置場所*/
	top: 0px;	/*上からの配置場所*/
	width: 70px;	/*ボタンの幅*/
	height: 70px;	/*ボタンの高さ*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;		/*線の高さ*/
	background: var(--primary-inverse-color);	/*線の色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
}
#menubar_hdr.ham span {
	background: #fff;	/*線の色。*/
}

/*以下変更不要*/
#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
	display: flex;
}


/*メイン画像
---------------------------------------------------------------------------*/
.mainimg * {margin: 0;padding: 0;}
.mainimg .slide picture {display: block;width: 100%;height: 100%;}

/*メイン画像全体を囲むブロック*/
.mainimg {
	width: 100%;
	position: relative;
	overflow: hidden;
}

/*３枚の画像の共通設定（２枚目以降は１枚目の上に重ねます）*/
.mainimg .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s;	/*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。１枚が表示される時間はjsで指定できます。*/
	overflow: hidden;
	pointer-events: none;	/*表示中のスライドだけクリックできるようにします*/
}

/*１枚目画像（変更不要）。ここがメイン画像の高さを作ります。*/
.mainimg .slide:first-child {
	position: relative;
	width: 100%;
	height: auto;
	opacity: 1;
}

/*表示中のスライド（変更不要）*/
.mainimg .slide.active {
	opacity: 1;
	pointer-events: auto;
}

/*画像全般（変更不要）*/
.mainimg .slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;			/*画像をコンテナのサイズに合わせてクリップ*/
	object-position: center;	/*画像の中心を基準に*/
}

/*徐々に拡大（不要な場合はこのブロックごと削除して下さい）*/
.mainimg .slide.zoom img {
	transform: scale(1.07);	/*終了時点での画像サイズ。107%。お好みで調整して下さい。*/
}


/*現在表示中（インジケーター）のボタン
---------------------------------------------------------------------------*/
/*全体*/
.mainimg .slide-indicators {
	text-align: center;
	position: absolute;
	z-index: 3;
	width: 100%;
	bottom: 1.5rem;	/*ボタンの配置場所*/
	left: 0px;
}
/*１個あたり*/
.mainimg .indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: rgba(255,255,255,0.5);	/*未アクティブ時のボタン色。白の50%。*/
	border-radius: 50%;
	box-shadow: 0 0 4px rgba(0,0,0,0.5);	/*周りに薄い影（光彩）。白い写真の上でも見えるようにします。*/
	margin: 0 5px;
	cursor: pointer;
}
.mainimg .indicator.active {
	background: #fff;	/*アクティブ時のボタン色*/
}


/*メイン画像上のテキスト
---------------------------------------------------------------------------*/
/*テキストブロックの基本設定（中央配置がデフォルト）*/
.mainimg .slide .text {
	position: absolute;z-index: 1;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 0 var(--content-space-l);	/*余白。上下は0、左右にはtheme.cssのcontent-space-lのサイズを読み込みます。*/
}

/*文字色を白にしたい場合（.textに.inverseを追加）*/
.mainimg .slide .text.inverse {
	color: #fff;
	text-shadow: 0 0 10px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.5);	/*文字の後ろに、ぼかした影を2重につけて読みやすくします。*/
}

/*テキストブロックを左に配置させたい場合*/
.mainimg .slide .text.left {
	align-items: flex-start;
	text-align: left;
}

/*テキストブロックを右に配置させたい場合*/
.mainimg .slide .text.right {
	align-items: flex-end;
	text-align: right;
}

/*テキストブロックを中央に配置させたい場合（デフォルトを左や右に変えたテンプレで使います）*/
.mainimg .slide .text.center {
	align-items: center;
	text-align: center;
}

/*縦書きにする場合（.textにtateを追加）*/
.mainimg .slide .text.tate {
	writing-mode: vertical-rl;	/*縦書き（右から左へ行が進む）*/
	justify-content: flex-start;	/*右から順に並べる*/
	align-items: center;	/*上下の中央に*/
	gap: 2rem;	/*h2とpの間に空けるスペース。2文字分。*/
	text-align: left;
	margin-right: calc(var(--content-space-l) + 2vw);	/*右の余白*/
}

/*h2（大きな文字）*/
.mainimg .text h2 {
	margin: 0;padding: 0;
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	font-weight: 600;
	font-size: max(24px, 2.8vw);
	line-height: 1.6;
	letter-spacing: 0.2em;	/*文字間隔を広く*/
}

/*p（説明テキスト部分）*/
.mainimg .text p {
	font-size: 0.95rem;	/*文字サイズ95%*/
	line-height: 2.2;
	letter-spacing: 0.15em;	/*文字間隔を少し広く*/
}

/*h2とpのテキストに白いフチをつける*/
.mainimg .text h2,.mainimg .text p {
	-webkit-text-stroke: 4px #fff;	/*ここが縁の幅と色の指定*/
	paint-order: stroke fill;
}
.mainimg .text h2 {
	-webkit-text-stroke-width: 10px;	/*大きな文字（h2）だけ、フチを太く*/
}

/*文字色を白にした場合（inverse）と、ボタンは、フチを消す*/
.mainimg .slide .text.inverse h2,.mainimg .slide .text.inverse p,.mainimg .text .btn {
	-webkit-text-stroke: 0;
	paint-order: normal;
}

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

	.mainimg .slide .text.tate {
		gap: 1rem;
		margin-right: var(--content-space-l);
	}
	.mainimg .text p {
		font-size: 0.85rem;
	}

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

/*ボタンブロック（ボタンが１つの場合も、このブロックで囲みます）*/
.mainimg .btn-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;	/*2個以上ボタンを並べた場合の、間に空けるスペース。*/
	text-shadow: none;	/*ボタンには文字の影をつけない*/
}


/*ボタン
---------------------------------------------------------------------------*/
.btn a {
	display: inline-flex;		/*文字とSVG矢印を横並びにする*/
	align-items: center;		/*縦位置を中央に揃える*/
	text-decoration: none;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、var以降は色の指定で、theme.cssのprimary-colorを読み込みます。*/
	padding: 0.8rem 2.5rem;	/*上下に0.8文字分、左右に2.5文字分の余白*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*マウスオン時*/
.btn a:hover {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	border-color: var(--accent-color);	/*枠線の色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}

/*背景が白いタイプのボタン*/
.btn.inverse a {
	background: var(--primary-inverse-color);	/*背景色。theme.cssのprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*アクセントカラーのボタン*/
.btn.accent a {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border: 1px solid var(--accent-color);	/*枠線の幅、線種、var以降は色の指定で、theme.cssのaccent-colorを読み込みます。*/
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	min-height: 0;
}


/*main
---------------------------------------------------------------------------*/
main {
	container-type: inline-size;
}

/*h2（見出し）*/
main h2 {
	display: flex;
	flex-direction: column-reverse;	/*spanの英字を上に出す*/
	gap: 0.5rem;	/*英字と見出しの間に空けるスペース*/
	margin: 0 0 2rem;	/*下に2文字分のスペース*/
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	font-weight: 600;
	font-size: 1.8rem;	/*文字サイズ180%*/
	line-height: 1.5;
	letter-spacing: 0.15em;	/*文字間隔を広く*/
}

/*h2内のspan（英字）*/
main h2 span {
	font-family: var(--accent-font);	/*フォント指定。theme.cssのaccent-fontを読み込みます。*/
	font-weight: 500;
	font-size: 0.85rem;	/*文字サイズ85%*/
	letter-spacing: 0.3em;	/*文字間隔を広く*/
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
}

/*センタリング時*/
main h2.c {
	align-items: center;
}

/*main内で使用するul,ol要素（リストタグ）*/
main ul,main ol {
	margin-left: 2rem;
	margin-right: 2rem;
}


/*flex1（「ご挨拶」ブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.flex1 {
	display: flex;	/*横並びに*/
	margin-inline: calc(-1 * var(--content-space-l));
	background: var(--light-color);	/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}

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

	.flex1 {
		flex-direction: column;	/*縦積みに*/
		padding: var(--content-space-v, var(--content-space-l)) var(--content-space-l);
	}

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


/*画像ブロック*/
.flex1 .image {
	width: 50%;	/*幅。お好みで。*/
	position: relative;
}

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

	.flex1 .image {
		width: 100%;
		position: static;
		order: -1;	/*画像を上に*/
		margin-bottom: 2rem;	/*下に2文字分のスペース*/
	}

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


.flex1 .image img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mask-image: linear-gradient(to right, transparent, black 50%);/*グラデーションマスク。くっきり画像を出したいなら、この行と、下の１行をまとめて削除。*/
	-webkit-mask-image: linear-gradient(to right, transparent, black 50%);
}

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

	.flex1 .image img {
		position: static;
		mask-image: none;/*グラデーションのマスク解除*/
		-webkit-mask-image: none;
	}
	
	}/*追加指定ここまで*/


/*テキストブロック*/
.flex1 .text {
	flex: 1;
	padding: 6rem 3rem 5rem var(--content-space-l);	/*テキストの余白。上に6文字分、右に3文字分、下に5文字分、左はtheme.cssのcontent-space-lを読み込みます。*/
}

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

	.flex1 .text {
		padding: 0;
	}

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

/*文章*/
.flex1 .text p {
	line-height: 2.4;	/*行間を広めに*/
}

/*左右を入れ替える場合（.flex1にreverseを追加）*/
.flex1.reverse {
	flex-direction: row-reverse;	/*写真を左、テキストを右に*/
}
.flex1.reverse .image img {
	mask-image: linear-gradient(to left, transparent, black 50%);	/*グラデーションマスクを右側に*/
	-webkit-mask-image: linear-gradient(to left, transparent, black 50%);
}
.flex1.reverse .text {
	padding: 6rem var(--content-space-l) 5rem 3rem;	/*テキストの余白。上に6文字分、右はtheme.cssのcontent-space-lを読み込み、下に5文字分、左に3文字分。*/
}

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

	.flex1.reverse {
		flex-direction: column;	/*縦積みに*/
	}
	.flex1.reverse .image img {
		mask-image: none;/*グラデーションのマスク解除*/
		-webkit-mask-image: none;
	}
	.flex1.reverse .text {
		padding: 0;
	}

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

/*署名（宮司名など）*/
.flex1 .text .name {
	margin-top: 2rem;
	text-align: right;
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	letter-spacing: 0.2em;	/*文字間隔を広く*/
}


/*list1（「ご祈祷のご案内」ブロック）
---------------------------------------------------------------------------*/
.list1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.list1 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));	/*3列*/
	gap: 3rem 2rem;		/*ボックス同士の間に空けるスペース。上下に3文字分、左右に2文字分。*/
}

	/*@container対応ブラウザでは、コンテナ幅(この場合はmain)が899px以下で2カラム*/
	@container (max-width: 899px) {
		.list1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	}

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

	/*1カラムにする*/
	.list1 {
		grid-template-columns: 1fr;
	}

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


/*ボックス１個あたり*/
.list1 .list {
	display: flex;
	flex-direction: column;
	gap: 1rem;	/*画像、テキスト、ボタンの間に空けるスペース。1文字分。*/
	position: relative;
}

/*テキストボックス*/
.list1 .list .text {
	flex: 1;
}

/*h4（タイトル）*/
.list1 .list h4 {
	margin-bottom: 0.5rem;	/*下に0.5文字分のスペース*/
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	font-weight: 600;
	font-size: 1.2rem;	/*文字サイズ120%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*説明*/
.list1 .list p {
	font-size: 0.9rem;	/*文字サイズ90%*/
	line-height: 1.9;	/*行間*/
}

/*ボタン*/
.list1 .btn a {
	display: block;text-decoration: none;
	text-align: center;
	background: transparent;	/*背景は透明*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのprimary-colorを読み込みます。*/
	padding: 0.6rem 1rem;	/*ボタン内の余白。上下に0.6文字分、左右に1文字分。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*マウスオン時*/
.list1 .btn a:hover {
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*h2の下の説明文*/
main h2.c + p {
	margin-bottom: 3rem;	/*下に3文字分のスペース*/
	text-align: center;
}


/*c2（セクション内の2カラム。「御朱印・授与品」「お知らせ」で使用。画面幅800px未満では1カラム）
---------------------------------------------------------------------------*/

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

	main .c2 {
		display: flex;
		justify-content: space-between;
		gap: var(--content-space-l);	/*２カラムの間に空けるスペース。theme.cssのcontent-space-lを読み込みます。*/
	}
	
	/*title側*/
	main .c2 .title {
		width: 30%;	/*幅。お好みで。*/
	}
	
	/*text側*/
	main .c2 .text {
		flex: 1;
	}

	/*左右を入れ替える場合*/
	main .c2.reverse {
		flex-direction: row-reverse;
	}
	
	}/*追加指定ここまで*/

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

	/*title側の下に2文字分のスペース*/
	main .c2 .title {
		margin-bottom: 2rem;
	}

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


/*photos（「御朱印・授与品」の写真2枚）
---------------------------------------------------------------------------*/
.photos * {margin: 0;padding: 0;}

/*ブロック全体*/
.photos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));	/*2列*/
	gap: 2rem;	/*写真同士の間に空けるスペース。2文字分。*/
}

/*写真の下の説明*/
.photos figcaption {
	margin-top: 0.8rem;	/*写真との間に0.8文字分のスペース*/
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	font-size: 0.95rem;	/*文字サイズ95%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*2枚目を少し下げて、段違いにする（不要ならこのブロックごと削除）*/
.photos figure:nth-child(2) {
	margin-top: 4rem;
}

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

	.photos {
		gap: 1rem;
	}
	.photos figure:nth-child(2) {
		margin-top: 2rem;
	}

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


/*ta1（「年中行事」の表）
---------------------------------------------------------------------------*/
/*テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid var(--bg-border-color);	/*テーブルの一番上の線。幅、線種、varは色の設定でtheme.cssのbg-border-colorを読み込みます。*/
	width: 100%;
	margin-bottom: 3rem;	/*テーブルの下に空けるスペース。3文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid var(--bg-border-color);	/*テーブルの下線。幅、線種、varは色の設定でtheme.cssのbg-border-colorを読み込みます。*/
}
/*.bg1-light-partsの上で使う場合の線の色*/
.bg1-light-parts .ta1,
.bg1-light-parts .ta1 tr {
	border-color: var(--light-border-color);	/*theme.cssのlight-border-colorを読み込みます。*/
}

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

/*th（左側）のみの設定*/
.ta1 th {
	width: clamp(7rem, 20vw, 12rem);	/*幅。7文字分〜12文字分の間で、画面幅に応じて自動調整。真ん中の20vwは画面幅の20%。*/
	text-align: left;	/*左よせにする*/
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	font-weight: 600;
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*td（右側）の行事名*/
.ta1 td strong {
	display: block;
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	font-size: 1.1rem;	/*文字サイズ110%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

/*td（右側）の説明*/
.ta1 td span {
	font-size: 0.85rem;	/*文字サイズ85%*/
	opacity: 0.8;	/*色を80%だけ出す*/
}


/*access（「アクセス」ブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.access {
	display: flex;	/*横並びに*/
	align-items: center;
	gap: 6vw;	/*文字と地図の間に空けるスペース。画面幅の6%。*/
}

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

	.access {
		flex-direction: column;	/*縦積みに*/
		align-items: stretch;
	}

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


/*bleedつき（マップをセクションいっぱいに広げたい場合）*/
.access.bleed {
	margin: calc(-1 * var(--content-space-v, var(--content-space-l))) calc(-1 * var(--content-space-l));
	margin-left: 0;
}

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

	/*bleedを通常に戻す*/
	.access.bleed {
		margin: 0;
	}

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


/*テキストブロック*/
.access .text {
	flex: 1;
	display: grid;	/*縦積みに*/
	row-gap: 2rem;	/*ブロックの間に空けるスペース。2文字分。*/
}
.access .text h2 {
	margin-bottom: 0;
}

/*テキストブロック１つあたり（所在地、電車、お車）*/
.access .text > div {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);	/*アイコンサイズ2.5rem分を確保し、残りはスペース一杯使う*/
	align-items: center;
	column-gap: 1rem;	/*アイコンとテキストブロックの間に空けるスペース。1文字分。*/
}

/*アイコンをh4とpの2行ぶんまたがせて左側に配置*/
.access .text > div > i {
	grid-row: 1 / 3;
	font-size: 1.8rem;	/*アイコンサイズ。1.8文字分。*/
	text-align: center;
	color: var(--accent-color);	/*アイコンの色。theme.cssのaccent-colorを読み込みます。*/
}

/*見出しと段落*/
.access .text h4,
.access .text p {
	margin: 0;
}
.access .text h4 {
	font-family: "Zen Maru Gothic", var(--base-font);	/*フォント指定*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}
.access .text p {
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*iframeブロック*/
.access .image {
	width: 50%;	/*幅。お好みで。*/
}

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

	.access .image {
		width: 100%;
	}

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


/*iframe（Google Map）*/
.access .image iframe {
	display: block;
	aspect-ratio: 1 / 1;	/*アスペクト比1対1。お好みで。*/
	filter: grayscale(100%);	/*白黒にする。通常のカラーにしたい場合はこの行を削除して下さい。*/
	transition: filter 0.4s ease;
}

/*マウスオン時に色をつける*/
.access .image iframe:hover {
	filter: grayscale(0);
}


/*狭い幅
---------------------------------------------------------------------------*/
.narrow {
	max-width: 900px;	/*最大幅。お好みで。*/
	margin-inline: auto;	/*中央に配置*/
}


/*news（お知らせ）
---------------------------------------------------------------------------*/
dl.news * {margin: 0;padding: 0;}

/*ブロック全体*/
dl.news {
	border-top: 1px solid var(--bg-border-color);	/*一番上の線。theme.cssのbg-border-colorを読み込みます。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*日付*/
dl.news dt {
	padding-top: 1.5rem;	/*上の余白*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	font-variant-numeric: tabular-nums;	/*数字をすべて同じ幅にする（日付の幅がそろい、横のカテゴリーの位置がずれません）*/
}

/*カテゴリー（日付の横の小さな文字）*/
dl.news dt span {
	display: inline-block;
	margin-left: 1rem;
	padding: 0 0.8rem;
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのprimary-colorを読み込みます。*/
	font-size: 0.75rem;		/*文字サイズ75%*/
	letter-spacing: 0.05em;
	line-height: 2;
}

/*目立たせたいカテゴリー*/
dl.news dt span.accent-color {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border-color: var(--accent-color);	/*枠線の色。theme.cssのaccent-colorを読み込みます。*/
}

/*本文*/
dl.news dd {
	padding: 0.3rem 0 1.5rem;	/*上に0.3文字分、下に1.5文字分の余白*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線。theme.cssのbg-border-colorを読み込みます。*/
}

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

	/*日付と本文を横並びに*/
	dl.news {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);	/*左（日付とカテゴリー）は一番長いものに合わせた幅、右（本文）は残り一杯。*/
	}

	dl.news dt {
		padding: 1.5rem 2rem 1.5rem 0;	/*右に2文字分の余白*/
		border-bottom: 1px solid var(--bg-border-color);	/*下の線。theme.cssのbg-border-colorを読み込みます。*/
		white-space: nowrap;	/*カテゴリーが長くても折り返さない*/
	}
	dl.news dd {
		padding: 1.5rem 0;
	}

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

/*カテゴリーの幅を、一番長いカテゴリーに合わせてそろえる（subgridに対応したブラウザのみ。対応していない古いブラウザでは、文字数に合わせた幅のまま表示されます）*/
@supports (grid-template-columns: subgrid) {

	/*日付・カテゴリー・本文の3列に*/
	dl.news {
		display: grid;
		grid-template-columns: auto auto minmax(0, 1fr);
	}

	/*日付とカテゴリーは、上の3列のうち左の2列を使う*/
	dl.news dt {
		display: grid;
		grid-column: span 2;
		grid-template-columns: subgrid;
		align-items: center;
		align-content: start;
	}

	/*カテゴリーの文字は中央に*/
	dl.news dt span {
		text-align: center;
	}

		/*画面幅900px未満の追加指定*/
		@media (max-width: 899px){

		/*日付とカテゴリーの下に、本文を1行使って表示*/
		dl.news dt {
			grid-column: 1 / 3;
		}
		dl.news dd {
			grid-column: 1 / -1;
		}

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

}/*subgrid対応ブラウザの指定ここまで*/


/*フッター
---------------------------------------------------------------------------*/
footer ul {list-style: none;}
footer p {margin: 0;}

/*フッターボックス全体*/
footer {
	display: flex;	/*横並びにする*/
	align-items: flex-end;	/*下揃え*/
	flex-wrap: wrap;
	gap: 2rem;	/*左右のボックスの間に空けるスペース。２文字分。*/
	font-size: 0.85rem;	/*文字サイズ85%*/
	padding: 3rem var(--content-space-l) 1rem;	/*ボックス内の余白。上は3文字分、左右はtheme.cssのcontent-space-lを読み込み、下は1文字分の余白。*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*ロゴの幅。お好みで。*/
footer .logo {
	width: 150px;
}

/*ロゴと住所が入ったブロック*/
footer > div:first-child {
	flex: 1;	/*残りの幅を全部使う*/
	display: flex;
	flex-direction: column;	/*縦積み*/
	gap: 1.5rem;	/*要素間に空けるスペース。1.5文字分。*/
	min-width: 250px;
}

/*フッターメニュー*/
footer .menu {
	display: flex;	/*横並びにする*/
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;	/*メニュー同士の間に空けるスペース。上下0.5文字分、左右1.5文字分。*/
	margin: 0;padding: 0;
}
footer .menu a {
	text-decoration: none;
}

/*Copyright部分*/
footer small {
	display: block;
	width: 100%;	/*幅を100%に*/
	border-top: 1px solid var(--primary-border-color);	/*上の線の幅、線種、var以降は色の指定でtheme.cssのprimary-border-colorを読み込みます。*/
	padding-top: 1rem;	/*テキストと上の線との間に空ける余白。1文字分。*/
	font-size: 0.75rem;
	opacity: 0.8;	/*色を80%だけ出す。*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;display: block;
	background: rgba(0,0,0,0.5);
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: 900;
	margin-right: 0.5em;
}


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

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	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%;	/*円形にする*/
}


/*bg1-border-parts
---------------------------------------------------------------------------*/
.bg1-border-parts {
	border-top: 1px solid var(--bg-border-color);		/*上の線の幅、線種、var以降は色の事でtheme.cssのbg-border-colorを読み込みます。*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線の幅、線種、var以降は色の事でtheme.cssのbg-border-colorを読み込みます。*/
}

/*bg1-parts
---------------------------------------------------------------------------*/
.bg1-parts {
	background-color: var(--bg-inverse-color);	/*背景色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);		/*文字色。theme.cssのbg-colorを読み込みます。*/
}

/*bg1-primary
---------------------------------------------------------------------------*/
.bg1-primary-parts {
	background-color: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}


/*bg1-primary-light
---------------------------------------------------------------------------*/
.bg1-primary-light-parts {
	background-color: var(--primary-light-color);		/*背景色。theme.cssのprimary-light-colorを読み込みます。*/
	color: var(--primary-light-inverse-color);	/*文字色。theme.cssのprimary-light-inverse-colorを読み込みます。*/
}

/*bg1-light
---------------------------------------------------------------------------*/
.bg1-light-parts {
	background-color: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}


/*bg1-accent
---------------------------------------------------------------------------*/
.bg1-accent-parts {
	background-color: var(--accent-color);		/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}


/*bg-parts（bg1-primary-parts、bg1-light-parts、bg1-accent-partsとセットで使います）
---------------------------------------------------------------------------*/
.bg-parts {
	padding-top: var(--content-space-v, var(--content-space-l));		/*ボックス内の上に空ける余白。sectionと同じ値。*/
	padding-bottom: var(--content-space-v, var(--content-space-l));	/*ボックス内の下に空ける余白。sectionと同じ値。*/
}


/*section内で画面両サイドいっぱいまで広げる場合（marginのみでもいいが安定版に）
---------------------------------------------------------------------------*/
.bleed-x-parts {
	--bleed-x: var(--content-space-l);	/*エイリアスに*/
	width: calc(100% + (var(--bleed-x) * 2));	/*section内容の幅＋両サイドpadding（対象要素の幅）*/
	margin-left: calc(var(--bleed-x) * -1);
	margin-right: calc(var(--bleed-x) * -1);
	max-width: none;
}


/*左右によせる専用
---------------------------------------------------------------------------*/
.bleed-left-parts {
	width: calc(100% + var(--content-space-l));
	margin-left: calc(-1 * var(--content-space-l));
}
.bleed-right-parts {
	width: calc(100% + var(--content-space-l));
	margin-right: calc(-1 * var(--content-space-l));
}


/*その他
---------------------------------------------------------------------------*/
.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: 100%;display: block;}
.wl {width: 100%;display: block;}
.mt0 {margin-top: 0px !important;}
.pt0 {padding-top: 0px !important;}	/*上の余白をなくす。メイン画像のすぐ下に背景色つきのブロックをくっつける時などに。*/
.mb0 {margin-bottom: 0px !important;}
.mb1rem {margin-bottom: 1rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: rgba(0,0,0,0.7);color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.look .color-check {color: #ffe14d !important;}
.small {font-size: 0.8em;}
.large {font-size: 1.6em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.is-clip {overflow: hidden;}

/*大きな画面の場合*/
.large-screen .ws {width: 50%;}
.large-screen .sh {display: none;}
.large-screen .pc {display: block;}
