/**
 * himarii — フッタースタイル
 * カスタム footer.php 用（Astra Footer Builder は使用しない）
 */

/* =============================================
   フッター固有トークン
   ============================================= */
:root {
	--hm-footer-bar-bg: #231a17;
}

/* =============================================
   フッター本体
   ============================================= */
.hm-footer {
	font-family: var(--him-font-sans);
	background-color: var(--him-deep);
	color: rgba(255, 255, 255, 0.6);
	clear: both;
	width: 100%;
	display: block;
	border-top: 3px solid var(--him-brown);
}

/* =============================================
   メインエリア（4カラムグリッド）
   ============================================= */
.hm-footer__main {
	padding: 64px 0 56px;
}

.hm-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

/* =============================================
   列ヘッダー
   ============================================= */
.hm-footer__heading {
	font-family: var(--him-font-sans);
	font-size: 9.5px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =============================================
   リンクリスト
   ============================================= */
.hm-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hm-footer__links li {
	margin: 0;
	padding: 0;
}

.hm-footer__links a {
	display: block;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
	line-height: 2.4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hm-footer__links a:hover {
	color: rgba(255, 255, 255, 0.95);
	opacity: 1;
}

/* =============================================
   フッターバー（著作権・SNS）
   ============================================= */
.hm-footer__bar {
	background-color: var(--hm-footer-bar-bg);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 18px 0;
}

.hm-footer__bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.hm-footer__copy {
	color: rgba(255, 255, 255, 0.35);
	font-size: 11px;
	letter-spacing: 0.08em;
}

.hm-footer__sns {
	display: flex;
	gap: 20px;
}

.hm-footer__sns a {
	color: rgba(255, 255, 255, 0.35);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hm-footer__sns a:hover {
	color: rgba(255, 255, 255, 0.7);
	opacity: 1;
}

/* =============================================
   レスポンシブ
   ============================================= */
/* タブレット（768〜1023px）: 2カラム */
@media (max-width: 1023px) {
	.hm-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 32px;
	}
}

/* スマートフォン（〜767px）: 1カラム */
@media (max-width: 767px) {
	.hm-footer__main {
		padding: 48px 0 40px;
	}
	.hm-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.hm-footer__bar-inner {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
}

/* =============================================
   ページ共通スタイル（him-page / him-legal）
   ============================================= */
.him-page {
	padding: 80px 0 120px;
	min-height: 60vh;
}

.him-page__header {
	margin-bottom: 56px;
	border-bottom: 1px solid var(--him-border);
	padding-bottom: 32px;
}

.him-page__eyebrow {
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--him-text-light);
	margin: 0 0 12px;
}

.him-page__title {
	font-family: var(--him-font-serif);
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 300;
	color: var(--him-deep);
	letter-spacing: 0.04em;
	margin: 0 0 8px;
}

.him-page__date {
	font-size: 12px;
	color: var(--him-text-light);
	margin: 8px 0 0;
}

/* 法律ページ: テーブル形式 */
.him-legal__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
	line-height: 1.8;
}

.him-legal__table th,
.him-legal__table td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--him-border);
	vertical-align: top;
	text-align: left;
}

.him-legal__table th {
	width: 200px;
	color: var(--him-text-light);
	font-weight: 400;
	white-space: nowrap;
}

.him-legal__table small {
	font-size: 11px;
	color: var(--him-text-light);
}

/* 法律ページ: 文章形式 */
.him-legal__body--prose {
	max-width: 760px;
}

.him-legal__body--prose h2 {
	font-family: var(--him-font-sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--him-text-light);
	margin: 48px 0 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--him-border);
}

.him-legal__body--prose p,
.him-legal__body--prose li {
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--him-text);
}

.him-legal__body--prose ul {
	padding-left: 1.2em;
}

.him-legal__body--prose a {
	color: var(--him-brown);
	text-decoration: underline;
}

@media (max-width: 767px) {
	.him-page {
		padding: 48px 0 80px;
	}
	.him-legal__table th {
		width: auto;
		display: block;
		border-bottom: none;
		padding-bottom: 4px;
		font-size: 11px;
	}
	.him-legal__table td {
		display: block;
		padding-top: 4px;
	}
}

/* =============================================
   FAQ ページ
   ============================================= */
.him-faq__body {
	max-width: 760px;
}

.him-faq__group {
	margin-bottom: 48px;
}

.him-faq__group-title {
	font-family: var(--him-font-sans);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--him-text-light);
	margin: 0 0 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--him-border);
}

.him-faq__item {
	border-bottom: 1px solid var(--him-border);
}

.him-faq__question {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	border-radius: 0;
	padding: 18px 40px 18px 0;
	font-family: var(--him-font-sans);
	font-size: 14px;
	color: var(--him-deep);
	cursor: pointer;
	position: relative;
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
}

.him-faq__question::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 300;
	color: var(--him-brown);
	transition: transform 0.2s ease;
}

.him-faq__question[aria-expanded="true"]::after {
	content: '−';
}

.him-faq__answer {
	padding: 0 0 18px;
}

.him-faq__answer p {
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--him-text);
	margin: 0;
}

.him-faq__answer a {
	color: var(--him-brown);
	text-decoration: underline;
}

.him-faq__cta {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--him-border);
	font-size: 13.5px;
}

.him-faq__cta a {
	color: var(--him-brown);
	text-decoration: underline;
}

/* =============================================
   お問い合わせページ
   ============================================= */
.him-contact__layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 64px;
	align-items: start;
}

.him-contact__info {
	padding: 32px;
	background: var(--him-bg-card);
	border: 1px solid var(--him-border);
}

.him-contact__info-block {
	margin-bottom: 24px;
}

.him-contact__info-block:last-child {
	margin-bottom: 0;
}

.him-contact__info-label {
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--him-text-light);
	margin: 0 0 6px;
}

.him-contact__info-value {
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--him-text);
	margin: 0;
}

.him-contact__info-value a {
	color: var(--him-brown);
	text-decoration: underline;
}

@media (max-width: 767px) {
	.him-contact__layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* =============================================
   配送ページ
   ============================================= */
.him-legal__section-title {
	font-family: var(--him-font-sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--him-text-light);
	margin: 48px 0 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--him-border);
}

.him-shipping__table thead th {
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--him-text-light);
	background: var(--him-bg);
}

.him-shipping__note {
	margin: 16px 0 0;
	padding: 16px 20px;
	background: rgba(140, 107, 74, 0.06);
	border-left: 3px solid var(--him-brown);
	font-size: 13.5px;
}

.him-legal__notes {
	padding-left: 1.2em;
	font-size: 13.5px;
	line-height: 2;
}

/* =============================================
   返品・交換ページ
   ============================================= */
.him-returns__steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 48px;
}

.him-returns__step {
	display: flex;
	gap: 32px;
	padding: 32px 0;
	border-bottom: 1px solid var(--him-border);
}

.him-returns__step-num {
	font-family: var(--him-font-sans);
	font-size: 28px;
	font-weight: 400;
	color: var(--him-brown);
	opacity: 0.4;
	letter-spacing: 0.05em;
	flex-shrink: 0;
	width: 48px;
	line-height: 1;
	padding-top: 4px;
}

.him-returns__step-title {
	font-family: var(--him-font-sans);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.06em;
	color: var(--him-deep);
	margin: 0 0 10px;
}

.him-returns__step-body p {
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--him-text);
	margin: 0;
}

.him-returns__step-body a {
	color: var(--him-brown);
	text-decoration: underline;
}

@media (max-width: 767px) {
	.him-returns__step {
		flex-direction: column;
		gap: 12px;
	}
}
