/*
 * Kozuki Core — Visual Recovery Phase 1
 * Independent layout/theme CSS for current Kozuki legacy appearance.
 */

:root {
	--kozuki-color-key: #bcb52b;
	--kozuki-color-key-dark: #a3a00b;
	--kozuki-green: #00260a;
	--kozuki-text: #333;
	--kozuki-container: 1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	color: var(--kozuki-text);
	font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.8;
	background: #9b9b9b;
}
img { max-width: 100%; height: auto; }
a { color: var(--kozuki-color-key); text-decoration: none; }
a:hover, a:focus { color: var(--kozuki-color-key-dark); }

.container {
	width: 100%;
	max-width: var(--kozuki-container);
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
}
.row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}
.row > [class*="col"] {
	padding-left: 15px;
	padding-right: 15px;
}
.col { position: relative; width: 100%; min-height: 1px; }
.col-md-4 { width: 33.333333%; }
.col-md-12 { width: 100%; }
.text-center { text-align: center; }
.sectionBox { padding-top: 2rem; padding-bottom: 2rem; }

.headerTop {
	background: #fff;
	color: #555;
	font-size: 13px;
	line-height: 1.5;
	padding: 6px 0;
}
.headerTop_description { margin: 0; }
.siteHeader {
	background: var(--kozuki-green);
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 20;
}
.siteHeadContainer {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	min-height: 86px;
}
.navbar-header {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}
.siteHeader_logo {
	margin: 0;
	padding: 8px 0;
	display: flex;
	align-items: center;
	line-height: 1;
	font-family: "Noto Serif JP", serif;
	font-weight: 600;
}
.siteHeader_logo a { color: #fff; }
.siteHeader_logo img {
	display: block;
	max-height: 70px;
	width: auto;
}

.gMenu_outer { display: flex; align-items: stretch; }
.gMenu_outer nav { display: flex; align-items: stretch; }
.gMenu {
	display: flex;
	align-items: stretch;
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: "Noto Serif JP", serif;
	font-weight: 600;
}
.gMenu > li {
	position: relative;
	display: flex;
	align-items: stretch;
}
.gMenu > li > a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 126px;
	padding: 15px 14px 12px;
	text-align: center;
	color: #fff;
	position: relative;
}
.gMenu > li > a:hover,
.gMenu > li.current-menu-item > a,
.gMenu > li.current-menu-ancestor > a { color: #fff; }
.gMenu > li > a:hover:after,
.gMenu > li.current-menu-item > a:after,
.gMenu > li.current-menu-ancestor > a:after {
	content: "";
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 0;
	border-bottom: 4px solid var(--kozuki-color-key);
}
.gMenu_name { display: block; font-size: 15px; line-height: 1.4; }
.gMenu_description {
	display: block;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 10px;
	font-weight: 400;
	opacity: .78;
	margin-top: 3px;
}
.gMenu .sub-menu {
	position: absolute;
	z-index: 100;
	top: 100%;
	left: 0;
	min-width: 220px;
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--kozuki-color-key);
	box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.gMenu li:hover > .sub-menu,
.gMenu li:focus-within > .sub-menu { display: block; }
.gMenu .sub-menu a {
	display: block;
	padding: 11px 15px;
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,.2);
}
.gMenu .sub-menu a:hover { background: var(--kozuki-color-key-dark); }

.kozuki-nav-toggle { display: none; }

#top__fullcarousel {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #111;
}
.carousel-inner { position: relative; overflow: hidden; width: 100%; }
.carousel-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .6s ease-in-out;
	z-index: 0;
	width: 100%;
}
.carousel-item.active {
	position: relative;
	opacity: 1;
	z-index: 1;
}
.carousel-item picture,
.carousel-item .slide-item-img {
	display: block;
	width: 100%;
}
.slide-item-img {
	max-height: 680px;
	object-fit: cover;
}
.slide-cover {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}
.slide-text-set {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.slide-text-set .container { pointer-events: auto; }
.slide-text-title {
	margin: 0 0 .4em;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(28px, 3vw, 48px);
	line-height: 1.35;
	text-shadow: 0 0 2px #000, 0 2px 12px rgba(0,0,0,.45);
}
.slide-text-caption {
	font-size: clamp(14px, 1.4vw, 20px);
	text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.carousel-indicators {
	position: absolute;
	z-index: 5;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	display: flex;
	gap: 9px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.carousel-indicators li {
	width: 34px;
	height: 4px;
	background: rgba(255,255,255,.55);
	cursor: pointer;
}
.carousel-indicators li.active { background: #fff; }
.carousel-control-prev,
.carousel-control-next {
	position: absolute;
	z-index: 5;
	top: 0;
	bottom: 0;
	width: 10%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
	width: 22px;
	height: 22px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
}
.carousel-control-prev-icon { transform: rotate(-135deg); }
.carousel-control-next-icon { transform: rotate(45deg); }

.siteContent,
.siteContent_after {
	background: #f5f3ee;
	background-image: radial-gradient(rgba(70,55,35,.045) .7px, transparent .7px);
	background-size: 4px 4px;
}
.siteContent { padding: 48px 0 56px; }
.mainSection-col-two { width: 75%; }
.sideSection-col-two { width: 25%; }
.entry-body > :first-child { margin-top: 0; }
.entry-body h2,
.mainSection-title,
.archive-header {
	font-family: "Noto Serif JP", serif;
	font-weight: 600;
	border-bottom: 2px solid var(--kozuki-color-key);
	padding-bottom: .45em;
}
.entry-body h3,
.subSection-title {
	font-family: "Noto Serif JP", serif;
	font-weight: 600;
}
.entry-body h4 { border-left: 4px solid var(--kozuki-color-key); padding-left: .7em; }

.btn {
	display: inline-block;
	padding: .6em 1.2em;
	border: 1px solid var(--kozuki-color-key);
	border-radius: 2px;
}
.btn-ghost { color: #fff; border-color: #fff; background: rgba(0,0,0,.15); }

.siteFooter {
	background: var(--kozuki-green);
	color: #fff;
	border-top: 2px solid var(--kozuki-color-key);
}
.siteFooter a { color: #fff; }
.footerMenu { background: rgba(0,0,0,.16); }
.footerMenu .nav {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}
.footerMenu .nav li a { display: block; padding: 12px 16px; }
.footerWidget { padding-top: 32px; padding-bottom: 26px; }
.footerWidget .widget { margin-bottom: 20px; }
.footerWidget .widget-title { color: #fff; border-color: var(--kozuki-color-key); }
.copySection {
	border-top: 1px solid rgba(255,255,255,.15);
	font-size: 12px;
	opacity: .86;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px;
	margin: 0;
	clip: auto;
	background: #fff;
	color: #000;
	z-index: 100000;
}

@media (max-width: 991px) {
	.siteHeadContainer { min-height: 70px; align-items: center; }
	.siteHeader_logo img { max-height: 56px; }
	.kozuki-nav-toggle {
		display: block;
		width: 42px;
		height: 38px;
		margin-left: auto;
		border: 1px solid rgba(255,255,255,.8);
		background: transparent;
		position: relative;
	}
	.kozuki-nav-toggle:before,
	.kozuki-nav-toggle:after {
		content: "";
		position: absolute;
		left: 9px;
		right: 9px;
		height: 2px;
		background: #fff;
	}
	.kozuki-nav-toggle:before { top: 12px; box-shadow: 0 6px 0 #fff; }
	.kozuki-nav-toggle:after { top: 24px; }
	.gMenu_outer {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--kozuki-green);
	}
	.gMenu_outer.is-open { display: block; }
	.gMenu_outer nav, .gMenu { display: block; width: 100%; }
	.gMenu > li { display: block; }
	.gMenu > li > a { min-width: 0; text-align: left; padding: 12px 18px; }
	.gMenu .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		background: rgba(255,255,255,.06);
	}
	.gMenu .sub-menu a { padding-left: 34px; background: transparent; }
	.mainSection-col-two, .sideSection-col-two { width: 100%; }
	.sideSection-col-two { margin-top: 30px; }
}

@media (max-width: 767px) {
	.headerTop { display: none; }
	.container { padding-left: 12px; padding-right: 12px; }
	.siteContent { padding-top: 30px; padding-bottom: 36px; }
	.slide-item-img { max-height: 72vh; min-height: 280px; object-fit: cover; }
	.slide-text-title { font-size: 26px; }
	.carousel-control-prev, .carousel-control-next { width: 14%; }
	.col-md-4 { width: 100%; }
	.footerMenu .nav { display: block; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.carousel-item { transition: none; }
}

/* === Visual parity pass 3: exact legacy JPNSTYLE geometry === */
html,
body {
	font-size: 14px;
}
@media (min-width: 993px) {
	html,
	body {
		font-size: 16px;
	}
}
body {
	font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Hiragino Sans, "Noto Sans JP", sans-serif;
	word-wrap: break-word;
}
p {
	line-height: 1.7;
	margin-bottom: 1.2em;
}
@media (min-width: 769px) {
	p {
		line-height: 1.9;
	}
}
.siteContent {
	padding: 2rem 0;
}
@media (min-width: 769px) {
	.siteContent {
		padding: 2.5rem 0;
	}
}
@media (min-width: 993px) {
	.siteContent {
		padding: 3rem 0 3.5rem;
	}
}
@media (min-width: 1201px) {
	.siteContent {
		padding: 3.5rem 0 4rem;
	}
}
.siteContent > .container > .row {
	display: block;
}
.siteContent > .container > .row::after {
	content: "";
	display: block;
	clear: both;
}
@media (min-width: 993px) {
	.mainSection-col-two {
		width: 66.66667%;
		float: left;
	}
	.sideSection-col-two {
		width: calc(33.33333% - 3rem);
		float: right;
	}
}
@media (max-width: 992px) {
	.mainSection,
	.sideSection {
		width: 100%;
		float: none;
	}
}
.headerTop {
	font-size: 12px;
	color: #666;
	background-color: #f9f9f9;
	border-bottom: 1px solid rgba(0,0,0,.04);
}
.headerTop .container {
	display: flex;
	overflow: visible;
	padding: 0 15px;
}
.headerTop .headerTop_description {
	position: relative;
	display: block;
	margin: 0;
	padding: 9px 20px 14px 0;
	width: 100%;
	line-height: 1.4em;
}
@media (max-width: 991px) {
	.headerTop,
	.headerTop_description {
		display: none;
	}
}
.gMenu {
	margin: 0 auto;
}
.gMenu li {
	margin: 0;
	line-height: 1.4;
	font-size: 12px;
}
.gMenu > li .gMenu_name {
	font-size: 14px;
	white-space: nowrap;
}
.gMenu > li .gMenu_description {
	font-size: 10px;
	line-height: 14px;
	opacity: .6;
}
.page-header {
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 0;
	text-align: center;
}
.page-header_pageTitle,
h1.page-header_pageTitle:first-child {
	margin: 1.2em 0;
	font-size: 1.75rem;
	line-height: 1.1;
}
.breadSection {
	border-bottom: 1px solid rgba(0,0,0,.05);
}
.breadSection .breadcrumb {
	margin-top: 0;
	margin-bottom: 0;
	background: transparent;
	padding: 6px 15px;
}
.breadSection .breadcrumb li {
	margin-bottom: 0;
	list-style: none;
}
.breadSection .breadcrumb span {
	font-size: .75em;
}

/* === Visual parity pass 2: production spacing / VK block compatibility === */
body {
	font-size: 14px;
}

.siteContent,
.siteContent_after {
	background-color: #f7f7f5;
	background-image:
		repeating-linear-gradient(0deg, rgba(85,70,50,.018) 0, rgba(85,70,50,.018) 1px, transparent 1px, transparent 3px),
		repeating-linear-gradient(90deg, rgba(85,70,50,.014) 0, rgba(85,70,50,.014) 1px, transparent 1px, transparent 4px);
	background-repeat: repeat;
	background-size: auto;
}

.siteContent > .container {
	max-width: 1110px;
}

.mainSection {
	line-height: 1.9;
}

.entry-body p {
	margin-top: 0;
	margin-bottom: 1.25rem;
}

.veu_leadTxt {
	display: block;
	font-family: "Noto Serif JP", serif;
	font-weight: 600;
	font-size: 1.45rem;
	line-height: 1.6;
	text-align: center;
	margin-bottom: 1.5rem;
}

.entry-body h2,
.mainSection-title,
.archive-header {
	font-size: 1.7rem;
	line-height: 1.45;
	margin-top: 2.2rem;
	margin-bottom: 1.2rem;
}

.entry-body h3,
.subSection-title {
	font-size: 1.35rem;
	line-height: 1.5;
	margin-top: 1.8rem;
	margin-bottom: 1rem;
}

/* VK PR blocks: preserve the legacy three-card desktop layout. */
.vk_prBlocks {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}
.vk_prBlocks_item {
	position: relative;
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 30px;
}
.col-sm-4 {
	width: 33.333333%;
}
.vk_prBlocks_item_link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.vk_prBlocks_item_image {
	position: relative;
	overflow: hidden;
	margin-bottom: 18px;
	background-position: center;
	background-size: cover;
}
.vk_prBlocks_item_image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	opacity: 0;
}
.vk_prBlocks_item_title {
	margin: 0 0 12px;
	padding: 0 0 8px;
	font-family: "Noto Serif JP", serif;
	font-size: 1.45rem;
	line-height: 1.45;
	color: #222;
	border-bottom: 1px solid var(--kozuki-color-key);
}
.vk_prBlocks_item_summary {
	margin: 0;
	color: #aaa52a;
	font-size: .95rem;
	line-height: 1.9;
}

/* Full-width legacy VK background sections inside the content column. */
.vk_outer {
	position: relative;
	background-position: center;
	background-size: cover;
}
.vk_outer-width-full {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}
.vk_outer_container {
	max-width: 1110px;
	margin: 0 auto;
}

/* Legacy widgets / sidebar polish. */
.widget {
	margin-bottom: 2rem;
}
.widget-title,
.subSection-title {
	font-family: "Noto Serif JP", serif;
	border-top: 2px solid var(--kozuki-color-key);
	padding-top: .65rem;
}
.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.widget li {
	padding: .45rem 0;
	border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Hero typography/height closer to current production. */
.slide-item-img {
	width: 100%;
	max-height: none;
}
.slide-text-set {
	padding-top: 2%;
	padding-bottom: 2%;
}
.slide-text-title {
	font-size: 2.5rem;
}
.slide-text-caption {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	white-space: pre-line;
}

/*
 * Hero parity guard.
 * Legacy Lightning/JPNSTYLE CSS assumes Lightning's original slide markup and can
 * shift .mini-content horizontally when loaded as a temporary bridge.  Kozuki
 * Core owns this positioning, so force the text layer back to the full hero box.
 */
#top__fullcarousel .slide-text-set.mini-content {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 2% 0 !important;
	transform: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}
#top__fullcarousel .slide-text-set .mini-content-container-0 {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	max-width: 1110px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
	transform: none !important;
}
#top__fullcarousel .slide-text-title,
#top__fullcarousel .slide-text-caption,
#top__fullcarousel .btn {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
}

/* Temporary DEV decision: hide legacy hero copy/button.
 * The hero image, overlay and responsive picture stay in place.
 * A new Kozuki Core native hero text layer will be rebuilt later.
 */
#top__fullcarousel .slide-text-set {
	display: none !important;
}

/* Header sizing tightened to production proportions. */
.siteHeadContainer {
	min-height: 66px;
}
.siteHeader_logo {
	padding-top: 6px;
	padding-bottom: 6px;
}
/* 2026-10-22: KozuKi moon-gold brand artwork, responsive header treatment.
 * Image is a 3:1 illustration from the WordPress media library.
 * Keep its entire artwork visible, without distortion or crop. */
.siteHeader_logo img {
	max-height: 82px;
	width: auto;
	height: auto;
	max-width: 270px;
	object-fit: contain;
	border-radius: 5px;
}
.siteHeader_logo a:focus-visible {
	outline: 2px solid #e2c56c;
	outline-offset: 4px;
	border-radius: 5px;
}
@media (max-width: 991px) {
	.siteHeader_logo img {
		max-height: 70px;
		max-width: min(240px, calc(100vw - 95px));
	}
}
@media (max-width: 480px) {
	.siteHeader_logo img {
		max-height: 59px;
		max-width: min(190px, calc(100vw - 90px));
	}
}
.gMenu > li > a {
	min-width: 112px;
	padding: 10px 12px 8px;
}
.gMenu_name {
	font-size: 13px;
}
.gMenu_description {
	font-size: 9px;
}

@media (max-width: 991px) {
	.col-sm-4 {
		width: 33.333333%;
	}
	.vk_outer-width-full {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	body { font-size: 14px; }
	.col-sm-4 { width: 100%; }
	.vk_prBlocks_item { margin-bottom: 36px; }
	.vk_prBlocks_item_title { font-size: 1.35rem; }
	.veu_leadTxt { font-size: 1.25rem; }
	.slide-text-title { font-size: 1.7rem; }
}


/* Core footer: replaces VK ExUnit footer widgets with native Kozuki markup. */
.footerWidget--core .kozuki-footer-profile,
.footerWidget--core .kozuki-footer-panel {
	min-height: 180px;
}
.kozuki-footer-profile .profile_media {
	display: block;
	max-width: 180px;
	height: auto;
	margin-bottom: 14px;
}
.kozuki-footer-profile .profile_text,
.kozuki-footer-panel p {
	margin: 0 0 .9rem;
	color: rgba(255,255,255,.9);
}
.kozuki-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 14px 0 0;
}
.kozuki-social-links a {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid rgba(255,255,255,.45);
	border-radius: 2px;
	font-size: 12px;
}
.kozuki-footer-note {
	font-size: 12px;
	opacity: .75;
}
