/* ===========================================================
   tac·luc ブランドサイト テーマ 追加スタイル
   STUDIO由来のCSS(entry.css / studio.css)の後に読み込まれ、
   WordPress化に伴う調整・独自UI(メニュー等)を定義する。
   =========================================================== */

html, body { margin: 0; padding: 0; }

body.tacluc {
	background: #fbf4ef;
	color: #333333;
	font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* 横スクロール防止＆ベース背景 */
.container { width: 100%; max-width: 100%; overflow-x: hidden; }
.StudioCanvas > .sd,
.tacluc-pageroot { background: #fbf4ef; min-height: 100dvh; }

/* WordPress管理バー表示時にヘッダーが隠れないように */
.admin-bar .fixed[class*="sd"] { /* STUDIO固定ヘッダー */ }

/* ===== ハンバーガーメニュー（独自実装） ===== */
.tacluc-nav {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: none;
}
.tacluc-nav.is-open { display: block; }
.tacluc-nav__panel {
	position: absolute;
	inset: 0;
	background: #fbf4ef;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	animation: tacluc-fade .35s ease;
}
@keyframes tacluc-fade { from { opacity: 0; } to { opacity: 1; } }
.tacluc-nav__close {
	position: absolute;
	top: 22px;
	right: 40px;
	width: 44px;
	height: 44px;
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
}
.tacluc-nav__close::before,
.tacluc-nav__close::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 21px;
	width: 26px;
	height: 1.5px;
	background: #333333;
}
.tacluc-nav__close::before { transform: rotate(45deg); }
.tacluc-nav__close::after  { transform: rotate(-45deg); }
.tacluc-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}
.tacluc-nav__list a {
	display: block;
	padding: 12px 0;
	font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 30px;
	letter-spacing: .12em;
	text-decoration: none;
	color: #333333;
}
.tacluc-nav__sub {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-align: center;
}
.tacluc-nav__sub a {
	font-size: 13px;
	letter-spacing: .06em;
	color: #333333;
	text-decoration: none;
}
.tacluc-nav__sns {
	margin-top: 28px;
	display: flex;
	gap: 28px;
}
.tacluc-nav__sns a {
	font-size: 12px;
	letter-spacing: .08em;
	color: #333333;
	text-decoration: none;
	opacity: .7;
}
body.tacluc-menu-open { overflow: hidden; }

@media screen and (max-width: 840px) {
	.tacluc-nav__list a { font-size: 24px; }
	.tacluc-nav__close { right: 24px; }
}

/* ===== モーダル型（製品詳細）ページ ===== */
body.tacluc-modal,
.tacluc-modal-root { background: #fbf4ef; }


/* ===========================================================
   NEWS（カスタム投稿タイプ）一覧・記事ページ
   STUDIO版のトーンに合わせたオリジナルレイアウト
   =========================================================== */
.tacluc-news {
	background: #fbf4ef;
	color: #333333;
	padding: 140px 24px 180px;
}
.tacluc-news__inner,
.tacluc-article__inner {
	max-width: 1120px;
	margin: 0 auto;
}
.tacluc-news__title {
	font-family: var(--s-font-8a9ae7b9, "Inter", sans-serif);
	font-size: 56px;
	font-weight: 700;
	letter-spacing: .04em;
	margin: 0 0 40px;
}
.tacluc-news__filter {
	display: flex;
	gap: 28px;
	border-bottom: 1px solid #ddd3ca;
	padding-bottom: 16px;
	margin-bottom: 48px;
	flex-wrap: wrap;
}
.tacluc-news__filter a {
	font-size: 14px;
	letter-spacing: .06em;
	text-decoration: none;
	color: #999086;
}
.tacluc-news__filter a.is-active { color: #333333; font-weight: 700; }

/* カード一覧 */
.tacluc-news__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px 28px;
}
.tacluc-news-card { text-decoration: none; color: #333333; display: block; }
.tacluc-news-card__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #e7ddd2 center/cover no-repeat;
	border-radius: 2px;
}
.tacluc-news-card__meta { display: block; padding: 14px 2px 0; }
.tacluc-news-card__cat {
	display: inline-block;
	font-size: 11px;
	letter-spacing: .08em;
	color: #fff;
	background: #333333;
	padding: 3px 10px;
	border-radius: 2px;
}
.tacluc-news-card__title {
	display: block;
	font-size: 14px;
	line-height: 1.7;
	margin: 10px 0 6px;
	font-weight: 500;
}
.tacluc-news-card__date { font-size: 12px; color: #999086; letter-spacing: .04em; }
.tacluc-news__empty { color: #999086; }

/* ページネーション */
.tacluc-news .pagination,
.tacluc-news .nav-links {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 72px;
}
.tacluc-news .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #ddd3ca;
	border-radius: 999px;
	font-size: 13px;
	text-decoration: none;
	color: #333333;
}
.tacluc-news .page-numbers.current { background: #333333; color: #fff; border-color: #333333; }

/* 記事ページ */
.tacluc-article { max-width: 760px; margin: 0 auto; }
.tacluc-article__back {
	display: inline-block;
	font-size: 13px;
	letter-spacing: .05em;
	color: #777;
	text-decoration: none;
	margin-top: 64px;
}
.tacluc-article__back--top { margin: 0 0 40px; }
.tacluc-article__meta { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.tacluc-article__cat {
	font-size: 11px;
	letter-spacing: .08em;
	color: #fff;
	background: #333333;
	padding: 3px 12px;
	border-radius: 2px;
}
.tacluc-article__date { font-size: 13px; color: #999086; }
.tacluc-article__title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .03em;
	margin: 0 0 32px;
}
.tacluc-article__hero {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #e7ddd2 center/cover no-repeat;
	border-radius: 3px;
	margin-bottom: 48px;
	overflow: hidden;
}
.tacluc-article__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 記事本文タイポグラフィ（移行記事・新規記事 共通） */
.tacluc-article__body { font-size: 15px; line-height: 2; letter-spacing: .04em; }
.tacluc-article__body h2 {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.6;
	margin: 56px 0 20px;
	padding-left: 14px;
	border-left: 4px solid #333333;
}
.tacluc-article__body h3 { font-size: 17px; font-weight: 700; margin: 40px 0 14px; }
.tacluc-article__body p { margin: 0 0 24px; }
.tacluc-article__body ul,
.tacluc-article__body ol { margin: 0 0 24px; padding-left: 1.4em; }
.tacluc-article__body li { margin-bottom: 8px; }
.tacluc-article__body hr { border: none; border-top: 1px solid #ddd3ca; margin: 48px 0; }
.tacluc-article__body img { max-width: 100%; height: auto; border-radius: 3px; }
.tacluc-article__body figure { margin: 32px 0; }
.tacluc-article__body figure img { width: 100%; }
.tacluc-article__body a { color: #333; text-underline-offset: 3px; }

@media screen and (max-width: 960px) {
	.tacluc-news__grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 840px) {
	.tacluc-news { padding: 110px 20px 120px; }
	.tacluc-news__title { font-size: 40px; }
	.tacluc-article__title { font-size: 23px; }
}
@media screen and (max-width: 520px) {
	.tacluc-news__grid { grid-template-columns: 1fr; gap: 32px; }
}
