@charset "utf-8";
/*
 * SEO対応で追加した要素のスタイル
 *
 * 既存の style.css には手を入れず、追加分だけをこのファイルにまとめています。
 * 色は既存サイトに合わせています（金 #ad7c20 / 赤 #e83a17 / 桃 #ff9999）。
 */


/*******************************
固定ヘッダーと本文の重なり対策
*******************************/
/*
 * style.css では、2つの指定の効く範囲がずれていました。
 *   ・.header_inner が position:fixed になる    … max-width:600px
 *   ・.main_top_padding に padding-top:68px が付く … max-width:499px
 *
 * このため画面幅 499〜600px では、本文の上端 73px 分が
 * 固定ヘッダーの下に潜り込んで読めない状態でした。
 * （iPhone SE などの横向き、小型タブレットの縦向きが該当します）
 *
 * style.css を直接書き換えず、ここで不足分だけを補っています。
 */
@media screen and (min-width: 499px) and (max-width: 600px) {
	.main_top_padding {
		padding-top: 78px; /* この範囲でのヘッダー実測値 73px ＋ 余白 */
	}
}


/*******************************
本文へのスキップリンク
*******************************/
/* 普段は見えず、キーボードのTabキーで進んだときだけ現れます。 */
.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	z-index: 999;
	padding: 0.75rem 1.5rem;
	background: #ad7c20;
	color: #fff;
	font-size: 0.9rem;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}


/*******************************
パンくずリスト
*******************************/
/* .breadcrumbs のフォントサイズと余白は style.css 側で定義済みです。 */
.breadcrumbs_list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumbs_list li {
	display: inline-flex;
	align-items: center;
}

/* 2つ目以降の項目の前に「>」を入れる */
.breadcrumbs_list li + li::before {
	content: "＞";
	margin: 0 0.4em;
	color: #999;
}

.breadcrumbs_list a {
	color: #ad7c20;
	text-decoration: underline;
}

.breadcrumbs_list a:hover {
	text-decoration: none;
}

.breadcrumbs_list [aria-current="page"] {
	color: #666;
}


/*******************************
YouTube・地図の遅延読み込み
*******************************/
/*
 * クリックされるまで iframe を作らない代わりに、
 * 同じ大きさの枠をあらかじめ確保しておきます（レイアウトのずれ防止）。
 */
.lazy-embed {
	position: relative;
	width: 100%;
	background-color: #2b2b2b;
	background-position: center;
	background-size: cover;
	overflow: hidden;
}

/* .youtube は padding-top で高さを作り、中身を絶対配置する作りになっています。 */
.youtube .lazy-embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* 地図側は枠の高さを自前で確保します。 */
.lazy-embed--map {
	aspect-ratio: 16 / 10;
	min-height: 300px;
	background-color: #eef1ee;
}

.lazy-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.lazy-embed.is-loaded {
	background-image: none;
}

.lazy-embed__button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	height: 100%;
	min-height: 300px;
	padding: 1rem;
	border: 0;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.3s;
}

.lazy-embed--map .lazy-embed__button {
	background: rgba(0, 0, 0, 0.06);
	color: #333;
}

.lazy-embed__button:hover,
.lazy-embed__button:focus {
	background: rgba(0, 0, 0, 0.65);
}

.lazy-embed--map .lazy-embed__button:hover,
.lazy-embed--map .lazy-embed__button:focus {
	background: rgba(0, 0, 0, 0.15);
}

/* 再生ボタン（▶）を三角形で描いています。画像を追加しなくて済みます。 */
.lazy-embed--youtube .lazy-embed__icon {
	width: 68px;
	height: 48px;
	border-radius: 12px;
	background: #e83a17;
	position: relative;
}

.lazy-embed--youtube .lazy-embed__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -50%);
	border-style: solid;
	border-width: 10px 0 10px 17px;
	border-color: transparent transparent transparent #fff;
}

.lazy-embed--map .lazy-embed__icon {
	width: 36px;
	height: 36px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	background: #ad7c20;
}

.lazy-embed__text {
	font-weight: bold;
}

.lazy-embed__note {
	font-size: 0.75rem;
	opacity: 0.85;
}


/*******************************
アクセス欄の住所
*******************************/
.access_address {
	margin-top: 0.75rem;
	font-size: 0.9rem;
	line-height: 1.8;
}
