/*
Theme Name: Tera Column
Theme URI: https://design-tera.com
Author: TERA LLC
Author URI: https://design-tera.com
Description: コラム特化型WordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tera-column
*/

/* ============================================================
   BASE RESET & ROOT
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--clr-black:   #111111;
	--clr-white:   #ffffff;
	--clr-gray-1:  #f5f5f5;
	--clr-gray-2:  #e0e0e0;
	--clr-gray-3:  #999999;
	--clr-gray-4:  #555555;
	--clr-accent:  #111111;

	--fnt-base: 'Noto Sans JP', sans-serif;
	--fnt-en:   'Mulish', sans-serif;

	--w-inner:  1140px;
	--w-narrow: 800px;

	--hdr-h-pc: 70px;
	--hdr-h-sp: 56px;
}

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
	font-family: var(--fnt-base);
	font-size: 1.5rem;
	line-height: 1.8;
	color: var(--clr-black);
	background: var(--clr-white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* ヘッダー fixed 分のオフセット
   トップページ（.home）は MV がヘッダー下に潜り込む設計なので除外 */
/* page_hero / mv でヘッダー分のオフセットを管理するため body の padding は不要 */
body:not(.home) {
	padding-top: 0;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================================
   UTILITY — 命名規則: fle_* / ps_* / w_* / sp_hide / pc_hide
============================================================ */
.fle_btw { display: flex; justify-content: space-between; align-items: center; }
.fle_l   { display: flex; justify-content: flex-start;   align-items: center; }
.fle_c   { display: flex; justify-content: center;       align-items: center; }
.fle_wrap { flex-wrap: wrap; }

.ps_ctr  { position: relative; }
.ps_btm  { align-items: flex-end; }

.w_inner  { width: min(var(--w-inner),  calc(100% - 40px)); margin-inline: auto; }
.w_narrow { width: min(var(--w-narrow), calc(100% - 40px)); margin-inline: auto; }

@media (max-width: 768px) {
	.pc_hide { display: none !important; }
}
@media (min-width: 769px) {
	.sp_hide { display: none !important; }
}

/* ============================================================
   HEADER — fixed / scroll shadow
============================================================ */
.header {
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	height: var(--hdr-h-pc);
	background: var(--clr-black);
	z-index: 1000;
	transition: box-shadow .3s;
}
/* スクロール後にシャドウ */
.header.is_scrolled {
	box-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.header_inner {
	height: 100%;
	padding-inline: 30px;
}

.header_logo { height: 70px; }
.header_logo img { height: 100%; width: auto; }
.header_logo_text {
	font-family: var(--fnt-en);
	font-size: 3.6rem;
	font-weight: 800;
	color: var(--clr-white);
	letter-spacing: .08em;
	  font-family: "Noto Serif Display", serif;
	  font-optical-sizing: auto;
	  font-weight: 600;
	  font-style: normal;
	 
}

/* PC nav */
.header_nav_list { gap: 28px; }
.header_nav_list li a {
	font-family: var(--fnt-en);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--clr-white);
	text-transform: uppercase;
	position: relative;
	padding-bottom: 2px;
	transition: opacity .2s;
}
.header_nav_list li a::after {
	content: '';
	position: absolute;
	bottom: -2px; left: 0;
	width: 0; height: 1px;
	background: var(--clr-white);
	transition: width .25s ease;
}
.header_nav_list li a:hover::after,
.header_nav_list .current-menu-item a::after { width: 100%; }

/* 右端エリア */
.header_right { gap: 20px; }

/* SNS アイコン */
.header_sns { gap: 14px; }
.header_sns_link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,.75);
	transition: color .2s, transform .2s;
}
.header_sns_link:hover {
	color: var(--clr-white);
	transform: translateY(-1px);
}

/* ============================================================
   ハンバーガーボタン — 3本線 → × アニメ
============================================================ */
.nav_toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: border-color .25s, background .25s;
	flex-shrink: 0;
}
.nav_toggle:hover {
	border-color: rgba(255,255,255,.7);
	background: rgba(255,255,255,.08);
}
.nav_toggle_inner {
	position: relative;
	width: 18px; height: 12px;
	display: block;
}
.nav_toggle_bar {
	display: block;
	position: absolute;
	left: 0;
	width: 100%; height: 1.5px;
	background: var(--clr-white);
	border-radius: 2px;
	transition: transform .35s cubic-bezier(.23,1,.32,1),
	            opacity   .25s ease,
	            top       .35s cubic-bezier(.23,1,.32,1);
}
.nav_toggle_bar:nth-child(1) { top: 0; }
.nav_toggle_bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav_toggle_bar:nth-child(3) { top: 100%; transform: translateY(-100%); }

/* 開いた状態 → × */
.drawer_open .nav_toggle_bar:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}
.drawer_open .nav_toggle_bar:nth-child(2) { opacity: 0; transform: translateY(-50%) scaleX(0); }
.drawer_open .nav_toggle_bar:nth-child(3) {
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
}

/* ============================================================
   フルスクリーン ドロワー（サイトマップ）
============================================================ */
.site_drawer {
	position: fixed;
	inset: 0;
	background: var(--clr-black);
	z-index: 900;
	overflow-y: auto;
	/* 初期: 上からスライドイン準備 */
	clip-path: inset(0 0 100% 0);
	transition: clip-path .55s cubic-bezier(.23,1,.32,1);
	pointer-events: none;
}
.site_drawer.is_open {
	clip-path: inset(0 0 0% 0);
	pointer-events: auto;
}

.site_drawer_inner {
	min-height: 100%;
	padding: calc(var(--hdr-h-pc) + 60px) 0 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.site_drawer_sitemap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px 30px;
	width: min(1100px, calc(100% - 80px));
	margin-inline: auto;
}

.site_drawer_col_ttl {
	font-family: var(--fnt-en);
	font-size: 2.0rem;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(255,255,255,.35);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #333;
	font-family: "Noto Serif Display", serif;
}

.site_drawer_nav_list { display: flex; flex-direction: column; gap: 2px; }
.site_drawer_nav_list li a {
	display: block;
	padding: 8px 0;
	font-size: 1.4rem;
	font-weight: 600;
	color: rgba(255,255,255,.75);
	letter-spacing: .04em;
	transition: color .2s, padding-left .2s;
}
.site_drawer_nav_list li a:hover {
	color: var(--clr-white);
	padding-left: 6px;
}

/* 最新記事 */
.site_drawer_recent li a {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.site_drawer_recent_date {
	font-family: var(--fnt-en);
	font-size: 1.1rem;
	color: rgba(255,255,255,.35);
	letter-spacing: .08em;
}

/* SNSリスト */
.site_drawer_sns_list { display: flex; flex-direction: column; gap: 2px; }
.site_drawer_sns_list li a {
	display: block;
	padding: 8px 0;
	font-family: var(--fnt-en);
	font-size: 1.4rem;
	font-weight: 600;
	color: rgba(255,255,255,.75);
	letter-spacing: .04em;
	transition: color .2s, padding-left .2s;
}
.site_drawer_sns_list li a:hover { color: var(--clr-white); padding-left: 6px; }

.site_drawer_copy {
	display: block;
	text-align: center;
	font-family: var(--fnt-en);
	font-size: 1.1rem;
	color: rgba(255,255,255,.25);
	margin-top: 60px;
}

/* ドロワー開いている間 body スクロール禁止 */
body.drawer_open { overflow: hidden; }

@media (max-width: 900px) {
	.header_nav { display: none; }
	.site_drawer_sitemap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.header { height: var(--hdr-h-sp); }
	.header_inner { padding-inline: 16px; }
	.site_drawer_inner { padding-top: calc(var(--hdr-h-sp) + 40px); }
	.site_drawer_sitemap {
		grid-template-columns: 1fr 1fr;
		gap: 30px 20px;
		width: calc(100% - 48px);
	}
}

@media (max-width: 480px) {
	.site_drawer_sitemap { grid-template-columns: 1fr; }
}

/* ============================================================
   TOP MAINVISUAL SLIDESHOW (Swiper)
   PC: 100vh fullscreen / SP: 1:1 aspect
============================================================ */
.mv {
	position: relative;
}

.mv_swiper {
	width: 100%;
	height: 100vh;
}

.mv_swiper .swiper-slide {
	position: relative;
	overflow: hidden;
}

/* サムネイル画像 */
.mv_slide_img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.55);
}

/* テキストオーバーレイ */
.mv_slide_body {
	position: absolute;
	bottom: 60px; left: 60px;
	color: var(--clr-white);
	max-width: 600px;
}
.mv_slug{
	padding-bottom: 14px;
	font-family: "Noto Serif Display", serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-size: 40px;
	line-height: 1em;
}
.mv_slide_date {
	font-family: var(--fnt-en);
	font-size: 1.2rem;
	letter-spacing: .12em;
	opacity: .8;
	margin-bottom: 10px;
}
.mv_slide_ttl {
	font-size: 2.0rem;
	font-weight: 700;
	line-height: 1.5;
}

/* pagination / navigation */
.mv_swiper .swiper-pagination-bullet { background: var(--clr-white); opacity: .5; }
.mv_swiper .swiper-pagination-bullet-active { opacity: 1; }
.mv_swiper .swiper-button-next,
.mv_swiper .swiper-button-prev { color: var(--clr-white); }

@media (max-width: 768px) {

	.mv_swiper {
		height: 100vw; /* 1:1 */
	}
	.mv_slide_body {
		bottom: 16px; left: 16px;
		max-width: calc(100% - 32px);
	}
	.mv_slide_ttl { font-size: 1.4rem; }
}

/* ============================================================
   TOP MAIN CONTENT — 2カラム (左:記事一覧 / 右:サイドバー)
============================================================ */
.top_content {
	padding: 80px 0;
}

.top_layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 60px;
	align-items: flex-start;
}

/* ---- 記事一覧 ---- */
.top_posts_ttl {
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
	padding-bottom: 14px;
	font-family: "Noto Serif Display", serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-size: 30px;
}

.top_post_list { display: flex; flex-direction: column; gap: 0; }

.top_post_item {
	border-bottom: 1px solid #eeeeee;
}
.top_post_item a {
	display: grid;
	grid-template-columns: 350px 1fr;
	gap: 24px;
	padding: 20px 0;
	transition: opacity .2s;
}
.top_post_item a:hover { opacity: .7; }

.top_post_thumb {
	width: 350px;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--clr-gray-1);
	flex-shrink: 0;
}
.top_post_thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.top_post_item a:hover .top_post_thumb img { transform: scale(1.05); }

.top_post_body { min-width: 0; }
.top_post_meta { gap: 10px; margin-bottom: 8px; }
.top_post_date {
	font-family: var(--fnt-en);
	font-size: 1.2rem;
	color: var(--clr-gray-3);
}
.top_post_cate {
	font-size: 1.1rem;
	background: var(--clr-black);
	color: var(--clr-white);
	padding: 2px 10px;
	letter-spacing: .06em;
}
.top_post_ttl {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.top_post_excerpt {
	font-size: 1.3rem;
	color: var(--clr-gray-4);
	margin-top: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ページネーション */
.top_pagination {
	margin-top: 40px;
	justify-content: center;
	gap: 6px;
}
.top_pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	font-family: var(--fnt-en);
	font-size: 1.4rem;
	border: 1px solid var(--clr-gray-2);
	transition: background .2s, color .2s;
}
.top_pagination .page-numbers:hover,
.top_pagination .page-numbers.current {
	background: var(--clr-black);
	color: var(--clr-white);
	border-color: var(--clr-black);
}

/* ---- サイドバー ---- */
.sidebar { position: sticky; top: calc(var(--hdr-h-pc) + 30px); }

.sidebar_widget { margin-bottom: 40px; }
.sidebar_widget_ttl {
	font-family: var(--fnt-en);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
	padding-bottom: 14px;
	  font-family: "Noto Serif Display", serif;
	  font-optical-sizing: auto;
	  font-weight: 600;
	  font-style: normal;
	  font-size: 30px;
}

/* カテゴリー */
.sidebar_cate_list { display: flex; flex-direction: column; gap: 0; }
.sidebar_cate_list li { border-bottom: 1px solid var(--clr-gray-2); }
.sidebar_cate_list li a {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	font-size: 1.3rem;
	transition: opacity .2s;
}
.sidebar_cate_list li a:hover { opacity: .6; }
.sidebar_cate_count {
	font-family: var(--fnt-en);
	font-size: 1.1rem;
	color: var(--clr-gray-3);
}

/* 人気記事 */
.sidebar_ranking_list { display: flex; flex-direction: column; gap: 16px; }
.sidebar_ranking_item a {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 12px;
	transition: opacity .2s;
}
.sidebar_ranking_item a:hover { opacity: .7; }
.sidebar_ranking_thumb {
	width: 70px;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--clr-gray-1);
}
.sidebar_ranking_thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar_ranking_ttl {
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 検索 */
.sidebar_search { display: flex; border: 1px solid var(--clr-gray-2); }
.sidebar_search input[type="search"] {
	flex: 1;
	padding: 10px 14px;
	font-size: 1.4rem;
	border: none;
	outline: none;
	font-family: var(--fnt-base);
}
.sidebar_search button {
	padding: 10px 14px;
	background: var(--clr-black);
	color: var(--clr-white);
	border: none;
	cursor: pointer;
	font-size: 1.4rem;
	transition: opacity .2s;
}
.sidebar_search button:hover { opacity: .7; }

@media (max-width: 900px) {
	.top_layout {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	.sidebar { position: static; }
}
@media (max-width: 768px) {
	.top_content { padding: 50px 0; }
	.top_post_item a {
		grid-template-columns: 90px 1fr;
		gap: 14px;
	}
	.top_post_thumb { width: 90px; }
	.top_post_ttl { font-size: 1.4rem; }
}

/* ============================================================
   PAGE HERO — single / archive / 404 共通
   高さ: 50vh（画面の1/2）
============================================================ */
.page_hero {
	position: relative;
	height: 50vh;
	min-height: 300px;
	padding-top: var(--hdr-h-pc); /* fixed ヘッダー分のオフセット */
	background-color: var(--clr-black); /* 画像なし時は真っ黒 */
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	box-sizing: border-box;
}
@media (max-width: 768px) {
	.page_hero {
		padding-top: var(--hdr-h-sp);
		height: calc(50vw + var(--hdr-h-sp));
	}
}

/* 画像ありの場合はわずかに暗く */
.page_hero.has_img .page_hero_overlay {
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,.15) 0%,
		rgba(0,0,0,.65) 100%
	);
}
/* 画像なし（真っ黒）の場合はグラデなし */
.page_hero_overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.page_hero_body {
	position: relative;
	z-index: 1;
	padding-bottom: 48px;
	color: var(--clr-white);
}

/* スラッグ表示（投稿ページのみ） */
.page_hero_slug {
	font-family: var(--fnt-en);
	font-size: 1.0rem;
	font-weight: 800;
	letter-spacing: .22em;
	color: #FFF;
	text-transform: uppercase;
	margin-bottom: 6px;
	font-size: 30px;
	  font-family: "Noto Serif Display", serif;
	  font-optical-sizing: auto;
	  font-weight: 600;
	  font-style: normal;
	  line-height: 1.4em;
}

/* パンくずリスト */
.hero_breadcrumb {
	gap: 0;
	margin-bottom: 5px;
	flex-wrap: wrap;
}
.hero_breadcrumb li {
	display: flex;
	align-items: center;
	font-family: var(--fnt-en);
	font-size: 1.1rem;
	letter-spacing: .08em;
}
.hero_breadcrumb li + li::before {
	content: '/';
	margin: 0 8px;
	opacity: .4;
	color: var(--clr-white);
}
.hero_breadcrumb li a {
	color: rgba(255,255,255,.65);
	transition: color .2s;
}
.hero_breadcrumb li a:hover { color: var(--clr-white); }
.hero_breadcrumb li span { color: rgba(255,255,255,.5); }

.page_hero_ttl {
	font-size: 3.2rem;
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: .02em;
	/* 長いタイトルは2行まで */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 768px) {
	.page_hero {
		height: 50vw;
		min-height: 240px;
	}
	.page_hero_body { padding-bottom: 28px; }
	.page_hero_ttl {
		font-size: 2.0rem;
	}
}

/* ============================================================
   SINGLE ARTICLE
============================================================ */
/* single_header → page_hero に統合 */

/* 記事本文 */
.single_body { line-height: 2; font-size: 1.6rem; }
.single_body h2 {
	font-size: 2.2rem; font-weight: 900;
	margin: 60px 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--clr-black);
}
.single_body h3 {
	font-size: 1.8rem; font-weight: 700;
	margin: 40px 0 16px;
	padding-left: 14px;
	border-left: 3px solid var(--clr-black);
}
.single_body p { margin-bottom: 24px; }
.single_body img { margin: 32px auto; }
.single_body ul, .single_body ol { margin: 0 0 24px 24px; }
.single_body ul li { list-style: disc; margin-bottom: 6px; }
.single_body ol li { list-style: decimal; margin-bottom: 6px; }
.single_body blockquote {
	border-left: 3px solid var(--clr-gray-3);
	padding: 12px 20px;
	color: var(--clr-gray-4);
	margin-bottom: 24px;
	background: var(--clr-gray-1);
}

.page_content {
	padding-top: 60px;
}

.single_layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 60px;
	align-items: flex-start;
	padding-bottom: 80px;
}
.single_nav {
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid var(--clr-gray-2);
	font-size: 1.3rem;
}
.single_nav a { transition: opacity .2s; }
.single_nav a:hover { opacity: .6; }
.single_nav_arrow { color: var(--clr-gray-3); }
@media (max-width: 900px) {
	.single_layout { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 768px) {
	.single_ttl { font-size: 2.0rem; }
	.single_body { font-size: 1.5rem; }
	.single_body h2 { font-size: 1.8rem; }
	.single_body h3 { font-size: 1.6rem; }
}

/* ============================================================
   ARCHIVE / CATEGORY PAGE
============================================================ */
/* archive_header → page_hero に統合 */
.archive_layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 60px;
	align-items: flex-start;
	padding-bottom: 80px;
}
@media (max-width: 900px) {
	.archive_layout { grid-template-columns: 1fr; }
}

/* ============================================================
   STATIC PAGES — privacy / operator
============================================================ */
.static_body { padding-bottom: 80px; }
.static_section { margin-bottom: 40px; }
.static_section p { font-size: 1.5rem; line-height: 2; margin-bottom: 16px; }

/* プライバシーポリシー */
.policy_list { display: flex; flex-direction: column; gap: 0; }
.policy_item {
	padding: 28px 0;
	border-bottom: 1px solid var(--clr-gray-2);
}
.policy_item:first-child { border-top: 1px solid var(--clr-gray-2); }
.policy_item dt {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 12px;
}
.policy_item dd {
	font-size: 1.4rem;
	line-height: 1.9;
	color: var(--clr-gray-4);
}
.policy_item dd p { margin-bottom: 10px; }
.policy_list_ul { margin: 10px 0 0 20px; }
.policy_list_ul li {
	list-style: disc;
	font-size: 1.4rem;
	line-height: 1.8;
	margin-bottom: 4px;
}

/* 運営者情報テーブル */
.operator_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.4rem;
}
.operator_table tr { border-bottom: 1px solid var(--clr-gray-2); }
.operator_table tr:first-child { border-top: 1px solid var(--clr-gray-2); }
.operator_table th {
	width: 180px;
	padding: 18px 20px 18px 0;
	font-weight: 700;
	vertical-align: top;
	white-space: nowrap;
	color: var(--clr-black);
}
.operator_table td {
	padding: 18px 0;
	line-height: 1.8;
	color: var(--clr-gray-4);
}
.operator_table a { text-decoration: underline; }
.operator_table a:hover { opacity: .7; }

@media (max-width: 600px) {
	.operator_table th {
		display: block;
		width: 100%;
		padding-bottom: 4px;
	}
	.operator_table td {
		display: block;
		padding-top: 0;
	}
}

/* ============================================================
   CONTACT FORM
============================================================ */
.cf_form { max-width: 640px; }

/* ハニーポット非表示 */
.cf_honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
	height: 0;
	overflow: hidden;
}

/* 通知ボックス */
.cf_notice {
	padding: 24px 28px;
	margin-bottom: 40px;
	border-left: 4px solid;
}
.cf_notice_success { border-color: #111; background: #f5f5f5; }
.cf_notice_spam    { border-color: #999; background: #f9f9f9; }
.cf_notice_error   { border-color: #c00; background: #fff5f5; }
.cf_notice_ttl {
	font-weight: 700;
	font-size: 1.6rem;
	margin-bottom: 8px;
}

/* フォームフィールド */
.cf_field {
	margin-bottom: 28px;
}
.cf_label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 8px;
}
.cf_required {
	font-size: 1.1rem;
	font-weight: 700;
	background: var(--clr-black);
	color: var(--clr-white);
	padding: 2px 8px;
	letter-spacing: .04em;
}
.cf_input,
.cf_textarea {
	display: block;
	width: 100%;
	padding: 12px 16px;
	font-size: 1.5rem;
	font-family: var(--fnt-base);
	border: 1px solid var(--clr-gray-2);
	border-radius: 0;
	outline: none;
	transition: border-color .2s;
	background: var(--clr-white);
	-webkit-appearance: none;
}
.cf_input:focus,
.cf_textarea:focus { border-color: var(--clr-black); }
.cf_textarea { resize: vertical; min-height: 200px; line-height: 1.8; }

/* エラー */
.has_error .cf_input,
.has_error .cf_textarea { border-color: #c00; }
.cf_error_msg {
	margin-top: 6px;
	font-size: 1.2rem;
	color: #c00;
}

/* プライバシー同意文 */
.cf_privacy_note {
	font-size: 1.3rem;
	color: var(--clr-gray-3);
	margin-bottom: 32px;
	line-height: 1.7;
}
.cf_privacy_note a { text-decoration: underline; }

/* 送信ボタン */
.cf_submit_wrap { text-align: center; }
.cf_submit_btn {
	display: inline-block;
	padding: 16px 60px;
	background: var(--clr-black);
	color: var(--clr-white);
	font-family: var(--fnt-base);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: .1em;
	border: none;
	cursor: pointer;
	transition: opacity .2s;
}
.cf_submit_btn:hover { opacity: .7; }

@media (max-width: 768px) {
	.cf_form { max-width: 100%; }
	.cf_submit_btn { width: 100%; padding: 16px; }
}

/* ============================================================
   RELATED POSTS
============================================================ */
.related_posts {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid var(--clr-gray-2);
}
.related_posts_ttl {
	font-family: var(--fnt-en);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--clr-black);
	margin-bottom: 24px;
}
.related_posts_list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.related_posts_item a {
	display: block;
	transition: opacity .2s;
}
.related_posts_item a:hover { opacity: .7; }
.related_posts_item a:hover .related_posts_thumb img {
	transform: scale(1.05);
}
.related_posts_thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--clr-gray-1);
	margin-bottom: 10px;
}
.related_posts_thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.related_posts_date {
	font-family: var(--fnt-en);
	font-size: 1.1rem;
	color: var(--clr-gray-3);
	margin-bottom: 4px;
}
.related_posts_name {
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 検索結果件数 */
.search_result_count {
	font-size: 1.3rem;
	color: var(--clr-gray-4);
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--clr-gray-2);
}
.search_no_result {
	font-size: 1.5rem;
	color: var(--clr-gray-3);
	padding: 40px 0;
	text-align: center;
}

@media (max-width: 900px) {
	.related_posts_list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.related_posts_list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.related_posts_name { font-size: 1.2rem; }
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
	background: var(--clr-black);
	color: var(--clr-white);
	padding: 60px 0 0;
}

.footer_inner {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 60px;
	padding-bottom: 50px;
}

.footer_logo img {
	height: 36px;
	width: auto;
	margin-bottom: 16px;
}
.footer_logo_name {
	font-family: var(--fnt-en);
	font-size: 1.1rem;
	letter-spacing: .1em;
	color: var(--clr-gray-3);
}
.footer_logo_txt{
	font-family: var(--fnt-en);
	font-size: 3.6rem;
	font-weight: 800;
	color: var(--clr-white);
	letter-spacing: .08em;
	  font-family: "Noto Serif Display", serif;
	  font-optical-sizing: auto;
	  font-weight: 600;
	  font-style: normal;
	 
}
/* サイトマップ */
.footer_sitemap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 40px 20px;
}
.footer_sitemap_group_ttl {
	font-family: var(--fnt-en);
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 14px;
	color: var(--clr-white);
	  font-family: "Noto Serif Display", serif;
}
.footer_sitemap_list { display: flex; flex-direction: column; gap: 8px; }
.footer_sitemap_list li a {
	font-size: 1.3rem;
	color: var(--clr-gray-3);
	transition: color .2s;
}
.footer_sitemap_list li a:hover { color: var(--clr-white); }

.footer_copy {
	border-top: 1px solid #333;
	padding: 20px 0;
	text-align: center;
	font-family: var(--fnt-en);
	font-size: 1.2rem;
	color: var(--clr-gray-3);
}

@media (max-width: 768px) {
	.footer_inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.footer_sitemap {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px 20px;
	}
}
