@charset "UTF-8";
/* ==========================================================================
   07-footer.css (v2)
   ダーク navy 背景の 4列フッター
   ========================================================================== */

/* SWELL のデフォルトフッターは崩れるため全面非表示。
   代わりに wp_footer で .m-footer (カスタムフッター) を注入。 */
.l-footer {
	display: none;
}

/* SWELL footer 関連のウィジェットも念のため非表示 */
.widget_archive,
.widget_categories,
.widget_recent_entries,
.widget_recent_comments,
.widget_meta {
	display: none;
}

/* ==========================================================================
   .m-footer — カスタム4列フッター (functions.php の wp_footer hook で出力)
   ========================================================================== */

.m-footer {
	background: var(--pal-ink);
	color: rgba(255, 255, 255, 0.78);
	font-family: var(--mishima-font-jp);
	font-size: 14px;
	line-height: 1.7;
	padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}

.m-footer a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	transition: color 200ms ease;
}

.m-footer a:hover {
	color: #ffffff;
}

.m-footer__inner {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 860px) {
	.m-footer__inner {
		grid-template-columns: 1fr 2fr;
	}
}

/* --- Brand (左) ---------------------------------------------------- */
.m-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.m-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.m-footer__wordmark {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.m-footer__brandName {
	font-family: var(--mishima-font-jp);
	font-weight: 700;
	font-size: 18px;
	color: #ffffff;
	letter-spacing: 0.04em;
	line-height: 1.1;
}

.m-footer__brandSub {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.06em;
	line-height: 1.2;
}

.m-footer__tag {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.7;
	margin: 0;
	max-width: 22em;
}

/* --- Columns (右、4 cols) ----------------------------------------- */
.m-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 600px) {
	.m-footer__cols {
		grid-template-columns: repeat(3, 1fr);  /* GUIDE削除で 3列 */
	}
}

.m-footer__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.m-footer__heading {
	font-family: var(--mishima-font-en);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin: 0 0 4px;
}

.m-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.m-footer__list li {
	font-size: 13px;
	line-height: 1.5;
}

.m-footer__list a {
	display: inline-block;
	padding: 2px 0;
}

/* --- Copyright bottom --------------------------------------------- */
.m-footer__copy {
	max-width: 1280px;
	margin: 2.5rem auto 0;
	padding: 1.25rem clamp(1rem, 4vw, 2rem) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	font-family: var(--mishima-font-en);
	font-size: 11px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.4);
}

/* === 旧 SWELL footer 関連スタイル (display:none で隠れているが残してOK) === */
.l-footer__inner_DUMMY {
	/* placeholder to keep cascading */
}

.l-footer a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	transition: color var(--mishima-dur-base) var(--mishima-ease);
}

.l-footer a:hover {
	color: var(--mishima-color-text-invert);
}

.l-footer__inner {
	max-width: var(--mishima-container-max);
	padding-inline: var(--mishima-gutter);
	margin-inline: auto;
}

/* --- ウィジェットエリア（4列） --------------------------------------- */
.l-footer__widgetArea {
	padding-block: clamp(3rem, 6vw, 5rem) var(--mishima-space-m);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--mishima-space-l);
}

.l-footer__widgetArea .c-widget {
	margin: 0;
}

.l-footer__widgetArea .c-widget__title {
	font-family: var(--mishima-font-en);
	font-weight: 600;
	font-size: var(--mishima-fz-xs);
	letter-spacing: var(--mishima-ls-wide);
	text-transform: uppercase;
	margin: 0 0 var(--mishima-space-s);
	color: rgba(255, 255, 255, 0.5);
	border: none;
	padding: 0;
}

.l-footer__widgetArea ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.l-footer__widgetArea li {
	padding-block: 0.45em;
}

.l-footer__widgetArea li a {
	font-size: var(--mishima-fz-s);
	font-weight: 400;
}

/* --- ロゴ/タグライン部分（左カラム） ----------------------------- */
.l-footer__brand {
	display: flex;
	flex-direction: column;
	gap: var(--mishima-space-xs);
}

.l-footer__brandLogo {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--mishima-font-jp);
	font-weight: 700;
	font-size: var(--mishima-fz-l);
	color: var(--mishima-color-text-invert);
	text-decoration: none;
	line-height: 1;
}

.l-footer__brandLogo::before {
	content: "";
	display: inline-block;
	width: 32px;
	height: 32px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 5 L4 27 L28 27 Z' fill='%23FFFFFF'/><path d='M16 5 L20 13 L12 13 Z' fill='%231B2940'/></svg>");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
}

.l-footer__brandName {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
}

.l-footer__brandName small {
	font-size: 0.65rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.06em;
}

.l-footer__tagline {
	color: rgba(255, 255, 255, 0.6);
	font-size: var(--mishima-fz-xs);
	line-height: var(--mishima-lh-base);
	max-width: 24em;
}

/* --- フッターメニュー (.l-footer__nav) ------------------------------ */
.l-footer__nav {
	padding-block: var(--mishima-space-m);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.l-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--mishima-space-m);
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: var(--mishima-fz-xs);
	letter-spacing: var(--mishima-ls-wide);
}

/* --- フッター末尾コピーライト ------------------------------------- */
.l-footer__foot {
	padding-block: var(--mishima-space-m);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	font-family: var(--mishima-font-en);
	font-size: var(--mishima-fz-xs);
	letter-spacing: var(--mishima-ls-wide);
	color: rgba(255, 255, 255, 0.5);
}

/* --- ページTopへ戻る ------------------------------------------- */
.p-pageTopBtn,
.c-pageTopBtn {
	background: var(--mishima-color-blue);
	color: var(--mishima-color-text-invert);
	border-radius: 50%;
	box-shadow: var(--mishima-shadow-m);
	transition: background var(--mishima-dur-base) var(--mishima-ease),
	            transform var(--mishima-dur-base) var(--mishima-ease);
}

.p-pageTopBtn:hover,
.c-pageTopBtn:hover {
	background: var(--mishima-color-navy);
	transform: translateY(-2px);
}

/* --- SNSアイコン (c-iconList in footer) -------------------------- */
.l-footer .c-iconList {
	display: flex;
	gap: var(--mishima-space-s);
	justify-content: flex-start;
	margin-top: var(--mishima-space-s);
	flex-wrap: wrap;
}

.l-footer .c-iconList__link {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.78);
	transition: background var(--mishima-dur-base) var(--mishima-ease),
	            color var(--mishima-dur-base) var(--mishima-ease);
}

.l-footer .c-iconList__link:hover {
	background: var(--mishima-color-blue);
	color: var(--mishima-color-text-invert);
}

/* --- 上部CTA帯 (使用する場合のフォールバック) ------------------------ */
.w-cta {
	background: var(--mishima-grad-cta);
	color: var(--mishima-color-text-invert);
	padding-block: clamp(3rem, 6vw, 5rem);
	text-align: center;
}

.w-cta h2,
.w-cta p {
	color: inherit;
}
