/* 【共通修正3】ヘッダー・フッター専用CSS。既存ページの汎用header/footer/.brandに影響されないようスコープ化 */
.ho-site-header,
.ho-site-footer {
	box-sizing: border-box;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	letter-spacing: normal
}

.ho-site-header *,
.ho-site-footer * {
	box-sizing: border-box
}

.ho-site-header {
	position: relative;
	top: auto;
	z-index: 20;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: #f8f6f0;
	border-bottom: 1px solid #deded5;
	display: block;
	color: #253e35
}

.ho-site-inner {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto
}

.ho-site-header>.ho-site-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	min-height: 86px;
	padding: 12px 0
}

.ho-site-brand {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	text-decoration: none;
	color: inherit;
	flex-shrink: 0
}

.ho-site-brand:hover {
	color: inherit
}

.ho-site-mark {
	font-family: serif;
	font-size: 38px;
	line-height: 1
}

.ho-site-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25
}

.ho-site-brand-text strong {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .08em
}

.ho-site-brand-text small {
	font-size: 10px;
	letter-spacing: .12em;
	margin-top: 4px
}

.ho-site-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 16px
}

.ho-site-nav a,
.ho-site-footer-links a {
	color: inherit;
	text-decoration: none
}

.ho-site-nav a:hover,
.ho-site-footer-links a:hover {
	text-decoration: underline
}

.ho-site-nav .ho-site-contact {
	border: 1px solid #253e35;
	padding: 9px 13px;
	border-radius: 6px
}

.ho-site-footer {
	position: relative;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 32px 0;
	background: #253e35;
	color: #e8eee3;
	font-size: 13px;
	line-height: 1.8
}

.ho-site-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap
}

.ho-site-footer p {
	margin: 0;
	color: inherit;
	font-size: 13px
}

.ho-site-footer p small {
	font-size: 11px;
	opacity: .8
}

.ho-site-footer-links {
	display: flex;
	flex-direction: column;
	gap: 5px
}

.ho-site-header a:focus-visible,
.ho-site-footer a:focus-visible {
	outline: 3px solid #d29d49;
	outline-offset: 4px
}

@media(max-width:760px) {
	.ho-site-header>.ho-site-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		min-height: 0;
		padding: 15px 0
	}

	.ho-site-mark {
		font-size: 30px
	}

	.ho-site-nav {
		gap: 10px 16px;
		justify-content: flex-start;
		font-size: 16px
	}

	.ho-site-nav .ho-site-contact {
		padding: 5px 8px
	}

	.ho-site-footer-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px
	}

	.ho-site-footer {
		padding: 25px 0
	}
}

/* 【多言語修正2】共通ヘッダーの言語メニュー */
.ho-site-header>.ho-site-inner {
	gap: 16px
}

.ho-site-nav {
	flex: 1;
	gap: 14px
}

.ho-lang-switch {
	display: flex;
	align-items: center;
	gap: 3px;
	flex-shrink: 0;
	flex-wrap: wrap;
	font-family: 'Inter', sans-serif;
	font-size: 16px
}

.ho-lang-label {
	margin-right: 4px;
	font-size: 16px
}

.ho-lang-switch a {
	display: inline-block;
	padding: 5px 7px;
	border-radius: 5px;
	text-decoration: none;
	color: #253e35;
	border: 1px solid transparent;
	white-space: nowrap
}

.ho-lang-switch a:hover {
	background: #e9e9df
}

.ho-lang-switch a.is-active {
	background: #253e35;
	color: #fff
}

.ho-lang-switch a:focus-visible {
	outline: 3px solid #d29d49;
	outline-offset: 2px
}

@media(max-width:1050px) {
	.ho-site-header>.ho-site-inner {
		flex-wrap: wrap
	}

	.ho-site-nav {
		flex: 1 1 auto
	}

	.ho-lang-switch {
		flex: 1 1 100%;
		justify-content: flex-end
	}
}

@media(max-width:760px) {
	.ho-site-nav {
		flex: none
	}

	.ho-lang-switch {
		justify-content: flex-start;
		font-size: 14px
	}

	.ho-lang-switch a {
		padding: 5px 6px
	}
}

/* 公式サイト案内エリア */
.ho-site-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    box-sizing: border-box;

    margin: 20px auto 36px;
    padding: 32px 24px;

    background: #ede7dc;
    border: none;
    border-radius: 12px;

    text-align: center;
}

/* 小さな英語ラベル */
.ho-site-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #98764e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 12px;
}

/* 見出し */
.ho-site-title {
    margin: 0 0 12px;

    color: #263f35;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

/* 説明文 */
.ho-site-description {
    max-width: 720px;
    margin: 0 0 20px;

    color: #56645b;
    font-size: 16px;
    line-height: 1.9;
}

/* ボタン */
.ho-site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 28px;

    background: #28483b;
    color: #ffffff;
    border-radius: 8px;

    text-decoration: none;
    font-size: 26px;
    font-weight: 600;

    box-shadow: 0 5px 14px rgba(40, 72, 59, 0.16);

    transition: background 0.2s ease,
                transform 0.2s ease,
                box-shadow 0.2s ease;
}

.ho-site-btn:hover {
    background: #1c342a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(40, 72, 59, 0.22);
}

/* スマートフォン */
@media (max-width: 767px) {
    .ho-site-link {
        padding: 26px 16px;
        margin: 16px auto 26px;
    }

    .ho-site-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .ho-site-title {
        font-size: 23px;
    }

    .ho-site-description {
        font-size: 16px;
        line-height: 1.8;
    }

    .ho-site-btn {
        width: 100%;
        max-width: 340px;
        padding: 13px 14px;
        font-size: 23px;
    }
}


/* ===== 共通フッター表示の完全統一（route / parking） ===== */
/* 各ページの汎用 footer, footer p や Bootstrap の影響を受けにくくする */
footer.ho-site-footer {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 32px 0;
    background: #253e35;
    color: #e8eee3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    line-height: 1.8;
    text-align: left;
}
footer.ho-site-footer > .ho-site-footer-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0;
}
footer.ho-site-footer .ho-footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    flex: 1 1 320px;
    min-width: 0;
    text-align: left;
}
footer.ho-site-footer .ho-footer-info p {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    line-height: 1.8;
    text-align: left;
}
footer.ho-site-footer .ho-footer-info a.ho-footer-company {
    color: inherit;
    text-decoration: none;
}
footer.ho-site-footer .ho-footer-info a.ho-footer-company:hover {
    color: #ffffff;
}
footer.ho-site-footer .ho-site-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    text-align: left;
}
@media (max-width: 760px) {
    footer.ho-site-footer { padding: 25px 0; }
    footer.ho-site-footer > .ho-site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    footer.ho-site-footer .ho-footer-info { flex: 0 1 auto; width: 100%; }
}


/* フッター全体を3列に配置 */
.ho-site-footer .ho-site-footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: start;
    gap: 24px;
}

/* 中央の施設情報 */
.ho-site-footer .ho-footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    text-align: center;
    gap: 8px;
}

/* 各行の中央揃え */
.ho-site-footer .ho-footer-info p {
    margin: 0;
    text-align: center;
    line-height: 1.7;
}

/* 運営会社リンク */
.ho-site-footer .ho-footer-company {
    color: inherit;
    text-decoration: none;
}

/* 右側のナビゲーション */
.ho-site-footer .ho-site-footer-links {
    justify-self: end;
}

/* スマートフォン */
@media (max-width: 767px) {
    .ho-site-footer .ho-site-footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ho-site-footer .ho-footer-info {
        align-items: center;
        text-align: center;
    }

    .ho-site-footer .ho-site-footer-links {
        justify-self: center;
        text-align: center;
    }

    .ho-site-footer .ho-site-brand {
        justify-self: center;
    }
}


/* フッターの運営会社リンクの下線を削除 */
.ho-site-footer .ho-footer-company {
    color: inherit;
    text-decoration: none;
}

/* マウスを重ねたときも下線を表示しない */
.ho-site-footer .ho-footer-company:hover {
    color: #ffffff;
    text-decoration: none;
}

/* 最終調整：フッターを3列に統一し、中央の施設情報を中央揃え */
footer.ho-site-footer > .ho-site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}
footer.ho-site-footer .ho-footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    min-width: 0;
}
footer.ho-site-footer .ho-footer-info p {
    text-align: center;
}
footer.ho-site-footer .ho-footer-info a.ho-footer-company,
footer.ho-site-footer .ho-footer-info a.ho-footer-company:hover,
footer.ho-site-footer .ho-footer-info a.ho-footer-company:focus,
footer.ho-site-footer .ho-footer-info a.ho-footer-company:visited {
    text-decoration: none;
    color: inherit;
}
footer.ho-site-footer .ho-site-footer-links {
    justify-self: end;
}
@media (max-width: 760px) {
    footer.ho-site-footer > .ho-site-footer-inner {
        grid-template-columns: 1fr;
    }
    footer.ho-site-footer .ho-site-footer-links {
        justify-self: center;
        align-items: center;
    }
    footer.ho-site-footer .ho-site-brand {
        justify-self: center;
    }
}


/* ==========================================
   フッター：左右の要素を上下中央に配置
========================================== */

/* フッター全体の3列レイアウト */
footer.ho-site-footer > .ho-site-footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center; /* 上下中央に配置 */
    gap: 24px;
}

/* 左側：ロゴを上下中央に配置 */
footer.ho-site-footer .ho-site-brand {
    align-self: center;
    justify-self: start;
}

/* 中央：住所・施設情報 */
footer.ho-site-footer .ho-footer-info {
    align-self: center;
    align-items: center;
    text-align: center;
}

/* 右側：ナビゲーションを上下中央に配置 */
footer.ho-site-footer .ho-site-footer-links {
    align-self: center;
    justify-self: end;
}

/* スマートフォン */
@media (max-width: 767px) {
    footer.ho-site-footer > .ho-site-footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    footer.ho-site-footer .ho-site-brand,
    footer.ho-site-footer .ho-footer-info,
    footer.ho-site-footer .ho-site-footer-links {
        justify-self: center;
    }

    footer.ho-site-footer .ho-site-footer-links {
        align-items: center;
        text-align: center;
    }
}

/* ①〜⑤ レスポンシブ調整（既存のページ内CSSより対象を限定して指定） */
main .intro h1 {
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.45;
    letter-spacing: 0;
}

@media (max-width: 767px) {
    /* ① メニュー4列＋お問い合わせ、言語切替の順に整列 */
    .ho-site-header > .ho-site-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 15px 0;
        min-height: 0;
    }
    .ho-site-header .ho-site-brand { align-self: flex-start; }
    .ho-site-header .ho-site-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        flex: none;
        gap: 8px;
        font-size: clamp(12px, 3.2vw, 16px);
    }
    .ho-site-header .ho-site-nav a,
    .ho-site-header .ho-site-nav a.ho-nav-current:not(.ho-site-contact) {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 44px;
        padding: 8px 4px;
        text-align: center;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
    .ho-site-header .ho-site-nav .ho-site-contact {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 240px);
    }
    .ho-site-header .ho-lang-switch {
        flex: none;
        width: 100%;
        justify-content: center;
        gap: 2px;
        font-size: clamp(12px, 3.2vw, 14px);
    }
    .ho-site-header .ho-lang-switch a {
        padding: 8px 5px;
        min-height: 40px;
    }

    /* ② 日本語見出しをスマホでも1行に */
    .ho-site-link { padding-inline: 12px; }
    .ho-site-link .ho-site-title {
        max-width: 100%;
        font-size: clamp(11px, 3.4vw, 18px);
        line-height: 1.6;
        letter-spacing: 0;
        white-space: nowrap;
    }
    /* 翻訳文は文字数が増えるため自然な折り返しを許可 */
    html:not([lang|="ja"]) .ho-site-link .ho-site-title {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* ③ アイコンとラベルを1行に配置 */
    .ho-site-link .ho-site-btn {
        box-sizing: border-box;
        width: 100%;
        max-width: 340px;
        min-width: 0;
        gap: 6px;
        padding: 13px 10px;
        font-size: clamp(12px, 3.5vw, 18px);
        line-height: 1.5;
        letter-spacing: 0;
    }
    .ho-site-link .ho-site-btn > i { flex: 0 0 auto; }
    .ho-site-link .ho-site-btn > span { white-space: nowrap; }
    html:not([lang|="ja"]) .ho-site-link .ho-site-btn > span {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* ④ アクセス見出しの大きさを調整 */
    main .intro h1 { font-size: clamp(20px, 5.3vw, 24px); }

    /* ⑤ ロゴのラッパーも含めて中央揃え */
    footer.ho-site-footer > .ho-site-footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    footer.ho-site-footer .ho-footer-brand,
    footer.ho-site-footer .ho-footer-navigation {
        width: 100%;
        min-width: 0;
        justify-self: center;
        text-align: center;
    }
    footer.ho-site-footer .ho-footer-brand .ho-site-brand {
        justify-content: center;
        max-width: 100%;
        text-align: left;
    }
    footer.ho-site-footer .ho-site-footer-links { align-items: center; }

    /* スマートフォンではフッターロゴを非表示にする */
    footer.ho-site-footer .ho-footer-brand {
        display: none;
    }
}
