/* =========================================================
   footer.css — 企業フッター
   えんじ×クリーム×明朝のトーンに合わせた、信頼感のある多段フッター
   ========================================================= */

.hp-footer {
	background: #1a0d0f;
	color: rgba(255, 255, 255, .72);
	padding: 0;
}

.hp-footer__inner {
	width: min(1200px, calc(100% - 80px));
	margin: 0 auto;
	padding: 72px 0 28px;
}

/* ---------- 上段：ブランド + ナビ ---------- */
.hp-footer__top {
	display: grid;
	grid-template-columns: 1.2fr 2fr;
	gap: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.hp-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}
.hp-footer__logo img {
	width: 40px;
	height: auto;
}
.hp-footer__logo-text {
	font-family: var(--hp-roman, "Times New Roman", serif);
	font-size: 22px;
	letter-spacing: .22em;
	color: #fff;
}
.hp-footer__tagline {
	margin: 18px 0 4px;
	font-family: var(--hp-serif, serif);
	font-size: 14px;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .9);
}
.hp-footer__company {
	margin: 0 0 14px;
	font-size: 12px;
	letter-spacing: .06em;
	color: rgba(255, 255, 255, .6);
}
.hp-footer__note {
	margin: 0 0 22px;
	font-size: 12px;
	line-height: 1.9;
	color: rgba(255, 255, 255, .5);
}
.hp-footer__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 22px;
	border: 1px solid rgba(255, 255, 255, .3);
	color: #fff;
	font-family: var(--hp-serif, serif);
	font-size: 13px;
	letter-spacing: .06em;
	text-decoration: none;
	transition: background .3s ease, border-color .3s ease;
}
.hp-footer__cta span { transition: transform .3s ease; }
.hp-footer__cta:hover {
	background: var(--hp-red, #b40000);
	border-color: var(--hp-red, #b40000);
}
.hp-footer__cta:hover span { transform: translateX(4px); }

/* ナビ列 */
.hp-footer__nav {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: 32px;
}
.hp-footer__col-head {
	margin: 0 0 18px;
	font-family: var(--hp-roman, serif);
	font-size: 11px;
	letter-spacing: .2em;
	color: var(--hp-red-2, #d80008);
}
.hp-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hp-footer__col li { margin-bottom: 12px; }
.hp-footer__col a {
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
	letter-spacing: .04em;
	text-decoration: none;
	transition: color .25s ease, padding-left .25s ease;
}
.hp-footer__col a:hover {
	color: #fff;
	padding-left: 5px;
}

/* ---------- 下段：著作権 + 法的リンク ---------- */
.hp-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 26px;
}
.hp-footer__copy {
	font-size: 11px;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .45);
}
.hp-footer__legal {
	display: flex;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hp-footer__legal a {
	color: rgba(255, 255, 255, .55);
	font-size: 11px;
	letter-spacing: .06em;
	text-decoration: none;
	transition: color .25s ease;
}
.hp-footer__legal a:hover { color: #fff; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
	.hp-footer__inner { width: calc(100% - 48px); padding: 56px 0 24px; }
	.hp-footer__top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
	.hp-footer__nav { grid-template-columns: repeat(2, 1fr); gap: 26px; }
	.hp-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* SP のボトムナビと重ならないよう余白 */
@media (max-width: 768px) {
	.hp-footer { padding-bottom: 72px; }
}

/* =========================================================
   企業ページ共通（会社概要 / 採用 / プライバシー）
   画像のないヒーローと、法的プロース
   ========================================================= */

/* 画像なしヒーロー：えんじグラデ背景 */
.pr-hero--legal {
	background:
		radial-gradient(120% 120% at 80% 0%, rgba(216,0,8,.28), transparent 55%),
		linear-gradient(135deg, #2a0a0d 0%, #14060a 60%, #1a0d0f 100%);
}
.pr-hero--legal .pr-hero__overlay { background: none; }

/* 法的プロース */
.hp-legal__block {
	padding: 30px 0;
	border-top: 1px solid var(--hp-line, rgba(95,68,44,.2));
}
.hp-legal__block:first-child { border-top: 0; padding-top: 0; }
.hp-legal__title {
	margin: 0 0 14px;
	font-family: var(--hp-serif, serif);
	font-size: clamp(17px, 2vw, 21px);
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--hp-ink, #1f1714);
}
.hp-legal__text {
	margin: 0;
	color: var(--hp-text-body, rgba(31,23,20,.82));
	font-size: 14px;
	line-height: 2.1;
	letter-spacing: .03em;
}
.hp-legal__list {
	margin: 6px 0 0;
	padding-left: 1.2em;
	color: var(--hp-text-body, rgba(31,23,20,.82));
	font-size: 14px;
	line-height: 2.05;
}
.hp-legal__list li { margin-bottom: 6px; }
.hp-legal__meta {
	margin: 40px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--hp-line, rgba(95,68,44,.2));
	text-align: right;
	color: var(--hp-text-sub, rgba(31,23,20,.64));
	font-size: 13px;
	line-height: 2;
}
.hp-legal__note {
	margin: 22px 0 0;
	color: var(--hp-text-sub, rgba(31,23,20,.64));
	font-size: 12px;
	letter-spacing: .04em;
}

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.hp-form { margin-top: 8px; }
.hp-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.hp-form__field {
	display: block;
	margin-bottom: 20px;
}
.hp-form__label {
	display: block;
	margin-bottom: 8px;
	font-family: var(--hp-serif, serif);
	font-size: 13px;
	letter-spacing: .06em;
	color: var(--hp-ink, #1f1714);
}
.hp-form__label em {
	margin-left: 8px;
	padding: 2px 7px;
	font-style: normal;
	font-size: 10px;
	letter-spacing: .08em;
	color: #fff;
	background: var(--hp-red, #b40000);
	vertical-align: middle;
}
.hp-form input[type="text"],
.hp-form input[type="email"],
.hp-form input[type="tel"],
.hp-form select,
.hp-form textarea {
	width: 100%;
	padding: 13px 15px;
	background: #fff;
	border: 1px solid var(--hp-line, rgba(95,68,44,.25));
	border-radius: 0;
	font-family: var(--hp-serif, serif);
	font-size: 15px;
	color: var(--hp-ink, #1f1714);
	transition: border-color .25s ease, box-shadow .25s ease;
	-webkit-appearance: none;
	appearance: none;
}
.hp-form select {
	background-image: linear-gradient(45deg, transparent 50%, var(--hp-red, #b40000) 50%), linear-gradient(135deg, var(--hp-red, #b40000) 50%, transparent 50%);
	background-position: calc(100% - 20px) center, calc(100% - 15px) center;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}
.hp-form textarea { resize: vertical; line-height: 1.8; }
.hp-form input:focus,
.hp-form select:focus,
.hp-form textarea:focus {
	outline: none;
	border-color: var(--hp-red, #b40000);
	box-shadow: 0 0 0 3px rgba(180,0,0,.1);
}
.hp-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 8px 0 28px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--hp-text-body, rgba(31,23,20,.82));
}
.hp-form__consent input { margin-top: 3px; flex: 0 0 auto; }
.hp-form__consent a { color: var(--hp-red, #b40000); }
.hp-form__submit { text-align: center; }
.hp-form__error {
	margin: 0 0 24px;
	padding: 14px 18px;
	background: rgba(180,0,0,.08);
	border-left: 3px solid var(--hp-red, #b40000);
	color: var(--hp-red, #b40000);
	font-size: 14px;
}
.hp-form__done {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 32px 30px;
	background: #fff;
	border: 1px solid var(--hp-line, rgba(95,68,44,.2));
	border-top: 3px solid var(--hp-red, #b40000);
	box-shadow: 0 18px 40px rgba(52,37,25,.08);
}
.hp-form__done strong {
	font-family: var(--hp-serif, serif);
	font-size: 19px;
	color: var(--hp-ink, #1f1714);
}
.hp-form__done span {
	font-size: 14px;
	line-height: 2;
	color: var(--hp-text-body, rgba(31,23,20,.8));
}

@media (max-width: 600px) {
	.hp-form__row { grid-template-columns: 1fr; gap: 0; }
}

/* 会社概要テーブル */
.hp-company-table th { width: 30%; white-space: nowrap; }
.hp-company-facilities thead th {
	font-family: var(--hp-roman, serif);
	font-size: 11px;
	letter-spacing: .12em;
	color: var(--hp-red, #b40000);
	text-align: left;
	padding-bottom: 10px;
}
.hp-company-facilities a { color: var(--hp-red-line, #b40000); text-decoration: none; }

@media (max-width: 680px) {
	/* 施設テーブルをカード化 */
	.hp-company-facilities thead { display: none; }
	.hp-company-facilities,
	.hp-company-facilities tbody,
	.hp-company-facilities tr,
	.hp-company-facilities td { display: block; width: 100%; }
	.hp-company-facilities tr {
		margin-bottom: 18px;
		padding-bottom: 14px;
		border-bottom: 1px solid var(--hp-line, rgba(95,68,44,.2));
	}
	.hp-company-facilities td { padding: 4px 0; }
	.hp-company-facilities td::before {
		content: attr(data-label) "：";
		display: inline-block;
		min-width: 5em;
		color: var(--hp-text-sub, rgba(31,23,20,.6));
		font-size: 12px;
	}
	.hp-company-facilities td:first-child {
		font-family: var(--hp-serif, serif);
		font-size: 16px;
		font-weight: 600;
	}
	.hp-company-facilities td:first-child::before { content: ""; min-width: 0; }
}

/* 固定左レール(96px)回避（age-story.css の同名コメント参照） */
@media (min-width: 901px) {
	.hp-footer__inner {
		width: min(1200px, calc(100% - 240px));
	}
}

/* 会社概要: 法人ごとのサブ見出し（2026-07-16） */
.hp-company-subhead {
	margin: 38px 0 14px;
	padding-left: 12px;
	border-left: 3px solid #b40000;
	color: #241611;
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: .08em;
}
.hp-company-subhead:first-of-type { margin-top: 0; }

/* 会社概要: 運営施設表の右側3列（定員/開設/運営法人）は折り返さない */
.hp-company-facilities th:nth-child(n+4),
.hp-company-facilities td:nth-child(n+4) { white-space: nowrap; }

/* 施設一覧: 園別詳細ページへの導線（2026-07-25） */
.hp-fac__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hp-fac__more {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 26px;
	border-radius: 999px;
	background: #b40000;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(180, 0, 0, .28);
	transition: transform .35s ease, box-shadow .35s ease;
}
.hp-fac__more:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(180, 0, 0, .34); }
.hp-fac__more span { transition: translate .3s ease; }
.hp-fac__more:hover span { translate: 3px 0; }

/* 園名などの長いリンクは語の途中で折り返さない（<wbr> の位置で改行） */
.hp-footer__col a { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 600px) {
	.hp-footer__col:first-child { grid-column: 1 / -1; }
}
