/* =========================================================================
   DoM Corporate Theme - main.css
   ========================================================================= */

/* -------- Design Tokens (based on DoM logo) -------- */
:root {
	/* ロゴ由来のグリーングラデーション */
	--color-green-100: #00A73E; /* C100 M0 Y100 K0 */
	--color-green-80:  #43B02A; /* C80  M0 Y100 K0 */
	--color-green-60:  #84BD00; /* C60  M0 Y100 K0 */
	--color-green-40:  #B4CF3E; /* C40  M0 Y100 K0 */
	--color-green-20:  #E5E635; /* C20  M0 Y100 K0 */

	/* ロゴタイプ（DoMの文字色）由来 */
	--color-accent:    #EAA52A;

	/* ベース */
	--color-bg:        #ffffff;
	--color-bg-alt:    #f6faf4;
	--color-bg-dark:   #0f2a17;
	--color-text:      #1f2937;
	--color-text-sub:  #5b6472;
	--color-border:    #e5eadf;

	--primary:         var(--color-green-100);
	--primary-dark:    #008a33;
	--primary-light:   var(--color-green-60);

	/* Typography */
	--font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Meiryo', sans-serif;
	--font-en: 'Inter', 'Helvetica Neue', Arial, var(--font-jp);

	/* Layout */
	--container: 1160px;
	--container-narrow: 820px;
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 2px rgba(0,0,0,.05);
	--shadow-md: 0 8px 24px rgba(0, 80, 30, .08);
	--shadow-lg: 0 20px 60px rgba(0, 80, 30, .12);

	--header-h: 72px;
}

/* -------- Base / Reset -------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-jp);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.8;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "palt";
}

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

a {
	color: var(--primary);
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease;
}
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { line-height: 1.4; letter-spacing: .01em; margin: 0; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

button { font-family: inherit; cursor: pointer; }

.screen-reader-text {
	position: absolute;
	left: -9999px;
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
	position: absolute; left: 16px; top: 16px;
	background: #fff; color: var(--primary);
	padding: 8px 12px; border-radius: 4px;
	z-index: 10000;
	width: auto; height: auto;
}

.hide-sm { display: inline; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* -------- Layout -------- */
.container {
	max-width: var(--container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}
.container.narrow { max-width: var(--container-narrow); }

.site-main {
	padding-top: var(--header-h);
}

.section {
	padding: clamp(56px, 7vw, 96px) 0;
	background: #fff;
}
.section--do { background: var(--color-bg-alt); }
.section--strength { background: var(--color-bg-alt); }
.section--industry { background: var(--color-bg-alt); }

.section__head {
	text-align: center;
	margin-bottom: 48px;
}
.section__eyebrow {
	font-family: var(--font-en);
	font-size: 13px;
	letter-spacing: .25em;
	color: var(--primary);
	font-weight: 600;
	text-transform: uppercase;
	margin: 0 0 12px;
}
.section__title {
	font-size: clamp(28px, 3.4vw, 38px);
	color: var(--color-text);
	margin: 0 0 16px;
}
.section__title em {
	color: var(--primary);
	font-style: normal;
	font-family: var(--font-en);
	font-weight: 900;
}
.section__desc {
	color: var(--color-text-sub);
	max-width: 680px;
	margin: 0 auto;
}
.section__foot {
	text-align: center;
	margin-top: 48px;
}

/* -------- Buttons -------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .04em;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
	min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
	background: linear-gradient(135deg, var(--color-green-100), var(--color-green-60));
	color: #fff;
	box-shadow: var(--shadow-md);
}
.btn--primary:hover {
	color: #fff;
	box-shadow: var(--shadow-lg);
}
.btn--ghost {
	background: transparent;
	color: var(--primary);
	border-color: var(--primary);
}
.btn--ghost:hover {
	background: var(--primary);
	color: #fff;
}
.btn--lg { padding: 18px 36px; font-size: 16px; }

/* -------- Header -------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: var(--header-h);
	background: rgba(255,255,255,.95);
	backdrop-filter: saturate(180%) blur(8px);
	-webkit-backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--color-border);
	z-index: 100;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	gap: 24px;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}
.site-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: inherit;
}
.site-brand__logo { height: 52px; width: auto; display: block; }
.custom-logo { height: 52px; width: auto; }
@media (max-width: 640px) {
	.site-brand__logo, .custom-logo { height: 44px; }
}
.site-brand__text {
	font-family: var(--font-en);
	font-weight: 900;
	font-size: 24px;
	color: var(--color-accent);
	letter-spacing: -.03em;
}
.site-brand__tagline {
	display: none;
	color: var(--color-text-sub);
	font-size: 13px;
	padding-left: 14px;
	border-left: 1px solid var(--color-border);
}
@media (min-width: 1100px) {
	.site-brand__tagline { display: inline-block; }
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}
.site-nav .menu {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0; padding: 0;
}
.site-nav .menu a {
	color: var(--color-text);
	font-weight: 500;
	font-size: 15px;
	position: relative;
	padding: 6px 0;
	display: inline-block;
}
.site-nav .menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s ease;
}
.site-nav .menu a:hover { color: var(--primary); }
.site-nav .menu a:hover::after { transform: scaleX(1); }

.nav-cta {
	background: var(--primary);
	color: #fff;
	padding: 10px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

.nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	width: 44px; height: 44px;
	padding: 0;
	position: relative;
}
.nav-toggle__bar {
	position: absolute;
	left: 10px; right: 10px;
	height: 2px;
	background: var(--color-text);
	transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle__bar:nth-child(1) { top: 14px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed;
		top: var(--header-h); left: 0; right: 0;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 16px 24px 32px;
		border-bottom: 1px solid var(--color-border);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		transform: translateY(-10px);
		opacity: 0;
		visibility: hidden;
		transition: transform .22s ease, opacity .22s ease, visibility .22s;
	}
	.site-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	.site-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.site-nav .menu li {
		border-bottom: 1px solid var(--color-border);
	}
	.site-nav .menu a {
		display: block;
		padding: 16px 4px;
		font-size: 16px;
	}
	.site-nav .menu a::after { display: none; }
	.nav-cta {
		margin-top: 20px;
		text-align: center;
		padding: 14px 24px;
	}
}

/* -------- Hero (Home) -------- */
.hero {
	position: relative;
	min-height: clamp(480px, 85vh, 780px);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: linear-gradient(180deg, #f6faf4 0%, #ffffff 100%);
}
.hero__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}
.hero__pentagon {
	position: absolute;
	right: -8%;
	top: 50%;
	transform: translateY(-50%);
	width: 640px; height: 640px;
	max-width: 75vw; max-height: 75vw;
	background-image: url('../images/logo.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	opacity: .18;
	animation: floatY 8s ease-in-out infinite alternate;
}
@keyframes floatY {
	from { transform: translateY(-52%); }
	to   { transform: translateY(-48%); }
}

.hero__inner {
	position: relative;
	z-index: 1;
	padding-top: 40px;
	padding-bottom: 40px;
}
.hero__eyebrow {
	display: inline-block;
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .25em;
	color: var(--primary);
	background: rgba(0, 167, 62, .08);
	padding: 6px 14px;
	border-radius: 999px;
	margin: 0 0 24px;
	text-transform: uppercase;
}
.hero__title {
	font-size: clamp(30px, 5.2vw, 60px);
	line-height: 1.3;
	letter-spacing: .01em;
	margin: 0 0 28px;
	color: var(--color-text);
	font-weight: 900;
}
.hero__title em {
	font-style: normal;
	color: var(--primary);
	font-family: var(--font-en);
}
.hero__title-line { display: block; }
.hero__lead {
	color: var(--color-text-sub);
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 2;
	margin: 0 0 36px;
	max-width: 660px;
}
.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* -------- 5 Do Grid -------- */
.do-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.do-card {
	position: relative;
	background: #fff;
	border-radius: var(--radius-md);
	padding: 32px 28px 28px;
	border-top: 6px solid var(--color-green-100);
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}
.do-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}
.do-card--2 { border-top-color: var(--color-green-80); }
.do-card--3 { border-top-color: var(--color-green-60); }
.do-card--4 { border-top-color: var(--color-green-40); }
.do-card--5 { border-top-color: var(--color-green-20); }

.do-card__badge {
	display: inline-block;
	font-family: var(--font-en);
	font-weight: 700;
	color: var(--color-text-sub);
	font-size: 13px;
	letter-spacing: .1em;
	margin-bottom: 8px;
	text-transform: uppercase;
}
.do-card__title {
	font-family: var(--font-en);
	font-size: 26px;
	color: var(--primary);
	margin: 0 0 12px;
	font-weight: 900;
	letter-spacing: -.01em;
}
.do-card--2 .do-card__title { color: var(--color-green-80); }
.do-card--3 .do-card__title { color: #6aa00a; }
.do-card--4 .do-card__title { color: #7fa212; }
.do-card--5 .do-card__title { color: #8a8b18; }
.do-card__desc {
	color: var(--color-text-sub);
	font-size: 14.5px;
	line-height: 1.9;
	margin: 0;
}

/* -------- Service cards (Home) -------- */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.service-card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 32px 28px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--color-green-60);
}
.service-card__icon {
	width: 56px; height: 56px;
	background: linear-gradient(135deg, var(--color-green-100), var(--color-green-60));
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	margin-bottom: 20px;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__title {
	font-size: 19px;
	margin: 0 0 12px;
}
.service-card__desc {
	color: var(--color-text-sub);
	font-size: 14.5px;
	line-height: 1.9;
	margin: 0;
}

/* -------- Strength cards -------- */
.strength-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}
.strength-card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 36px 32px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
}
.strength-card__title {
	display: flex;
	align-items: baseline;
	gap: 14px;
	font-size: 18px;
	margin-bottom: 14px;
	color: var(--color-text);
}
.strength-card__num {
	font-family: var(--font-en);
	font-size: 28px;
	font-weight: 900;
	color: var(--primary);
	line-height: 1;
}
.strength-card__desc {
	color: var(--color-text-sub);
	font-size: 14.5px;
	line-height: 2;
	margin: 0;
}

/* -------- CTA banner -------- */
.section--cta {
	background: linear-gradient(135deg, var(--color-green-100), var(--color-green-60));
	color: #fff;
	padding: clamp(56px, 7vw, 88px) 0;
}
.section--cta .cta-banner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
}
.cta-banner__title {
	color: #fff;
	font-size: clamp(22px, 2.6vw, 30px);
	margin: 0 0 12px;
}
.cta-banner__desc {
	color: rgba(255,255,255,.9);
	margin: 0;
}
.cta-banner__action {
	text-align: center;
}
.cta-banner__tel {
	margin: 12px 0 0;
	color: rgba(255,255,255,.9);
	font-size: 13px;
}
.cta-banner__tel a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
}
.section--cta .btn--primary {
	background: #fff;
	color: var(--primary);
	box-shadow: none;
}
.section--cta .btn--primary:hover {
	background: #fff;
	color: var(--primary-dark);
	box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
@media (max-width: 780px) {
	.section--cta .cta-banner {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

/* -------- Page Hero (下層共通) -------- */
.page-hero {
	background: linear-gradient(135deg, #f6faf4 0%, #edf7ea 100%);
	padding: calc(var(--header-h) - 40px + 64px) 0 64px;
	position: relative;
	overflow: hidden;
}
.page-hero::before {
	content: "";
	position: absolute;
	right: -40px; top: -40px;
	width: 280px; height: 280px;
	background-image: url('../images/logo.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	opacity: .22;
}
.page-hero .container { position: relative; }
.page-hero__eyebrow {
	font-family: var(--font-en);
	font-size: 13px;
	letter-spacing: .25em;
	color: var(--primary);
	font-weight: 600;
	text-transform: uppercase;
	margin: 0 0 10px;
}
.page-hero__title {
	font-size: clamp(28px, 4.2vw, 44px);
	margin: 0 0 16px;
	color: var(--color-text);
}
.page-hero__lead {
	color: var(--color-text-sub);
	margin: 0;
	max-width: 720px;
}

/* -------- Company table -------- */
.company-table {
	width: 100%;
	border-collapse: collapse;
	margin: 32px 0 48px;
	background: #fff;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
}
.company-table th,
.company-table td {
	padding: 18px 22px;
	text-align: left;
	border-bottom: 1px solid var(--color-border);
	vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }
.company-table th {
	width: 32%;
	background: #f6faf4;
	color: var(--color-text);
	font-weight: 700;
	font-size: 14.5px;
}
.company-table td {
	color: var(--color-text);
	font-size: 15px;
	line-height: 1.9;
}
@media (max-width: 640px) {
	.company-table th, .company-table td { display: block; width: 100%; }
	.company-table th { border-bottom: 0; padding-bottom: 6px; }
	.company-table td { padding-top: 6px; }
}

.company-vision {
	background: #fff;
	border: 1px solid var(--color-border);
	border-left: 4px solid var(--primary);
	padding: 28px 28px;
	border-radius: var(--radius-md);
	margin-top: 32px;
}
.company-vision h2 {
	font-size: 20px;
	color: var(--primary);
	margin: 0 0 12px;
}

/* -------- Service detail blocks -------- */
.service-block {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 40px 40px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
}
.service-block__head {
	display: flex;
	align-items: baseline;
	gap: 20px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px dashed var(--color-border);
}
.service-block__num {
	font-family: var(--font-en);
	font-size: 40px;
	font-weight: 900;
	line-height: 1;
	color: var(--primary);
	margin: 0;
}
.service-block__title {
	font-size: clamp(20px, 2.4vw, 26px);
	margin: 0;
}
.service-block__body h3 {
	font-size: 16px;
	margin: 24px 0 10px;
	color: var(--primary);
}
.service-block__body p {
	color: var(--color-text-sub);
	font-size: 15px;
	line-height: 2;
}

.check-list {
	list-style: none;
	padding: 0;
	margin: 0 0 8px;
}
.check-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 8px;
	color: var(--color-text);
	line-height: 1.8;
}
.check-list li::before {
	content: "";
	position: absolute;
	left: 4px; top: .55em;
	width: 16px; height: 10px;
	border-left: 2px solid var(--primary);
	border-bottom: 2px solid var(--primary);
	transform: rotate(-45deg);
}

@media (max-width: 640px) {
	.service-block { padding: 28px 22px; }
	.service-block__head { flex-direction: column; gap: 4px; }
}

/* -------- Industry cards -------- */
.industry-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}
.industry-card {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 28px 26px;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
}
.industry-card__title {
	font-size: 17px;
	margin: 0 0 10px;
	color: var(--primary);
}
.industry-card__desc {
	color: var(--color-text-sub);
	font-size: 14.5px;
	line-height: 2;
	margin: 0;
}

/* -------- Contact page -------- */
.contact-methods {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 40px;
}
@media (max-width: 640px) {
	.contact-methods { grid-template-columns: 1fr; }
}
.contact-methods__item {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 24px 24px;
	text-align: center;
}
.contact-methods__title {
	font-size: 14px;
	color: var(--color-text-sub);
	margin: 0 0 10px;
}
.contact-methods__tel,
.contact-methods__mail {
	font-size: clamp(20px, 2.2vw, 26px);
	margin: 0 0 6px;
	font-family: var(--font-en);
	font-weight: 700;
	word-break: break-all;
}
.contact-methods__tel a,
.contact-methods__mail a { color: var(--primary); }
.contact-methods__note {
	font-size: 13px;
	color: var(--color-text-sub);
	margin: 0;
}

.contact-form-wrap {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: clamp(24px, 4vw, 40px);
	margin-bottom: 24px;
}
.contact-form-wrap__title {
	font-size: 20px;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--color-border);
}

.contact-form-placeholder {
	background: #fff8e1;
	border: 1px dashed #e6b800;
	padding: 20px 24px;
	border-radius: var(--radius-sm);
	color: #6b5300;
}
.contact-form-placeholder code {
	background: rgba(0,0,0,.06);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 13px;
}

.contact-policy-note {
	text-align: center;
	color: var(--color-text-sub);
	font-size: 13.5px;
}

/* Contact Form 7 styling */
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form label {
	display: block;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 6px;
}
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: #fff;
	font-size: 15px;
	font-family: inherit;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: 0;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(0, 167, 62, .18);
}
.wpcf7-form textarea { min-height: 180px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
	background: linear-gradient(135deg, var(--color-green-100), var(--color-green-60));
	color: #fff;
	border: 0;
	padding: 14px 36px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .04em;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .2s ease;
	min-height: 48px;
}
.wpcf7-form .wpcf7-submit:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}
.wpcf7-form .wpcf7-not-valid-tip {
	color: #d13333;
	font-size: 13px;
	margin-top: 4px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: #d13333;
	color: #a32525;
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--primary);
	color: var(--primary-dark);
}

/* -------- Prose (long-form content) -------- */
.prose {
	line-height: 2;
	color: var(--color-text);
	font-size: 15.5px;
}
.prose h2 {
	font-size: 22px;
	margin: 40px 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--color-border);
	color: var(--color-text);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
	font-size: 18px;
	margin: 28px 0 10px;
	color: var(--primary);
}
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.legal h2 {
	border-bottom: 0;
	padding-bottom: 0;
	margin-top: 36px;
	font-size: 18px;
	color: var(--primary);
}
.legal__date {
	margin-top: 32px;
	font-size: 13px;
	color: var(--color-text-sub);
	text-align: right;
}

/* -------- Footer -------- */
.site-footer {
	background: var(--color-bg-dark);
	color: #cfe0d2;
	padding-top: 64px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--color-green-20); }
.site-footer__inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1.4fr;
	gap: 48px;
	padding-bottom: 48px;
}
.site-footer__logo-wrap {
	display: inline-block;
	margin-bottom: 16px;
}
.site-footer__logo { height: 88px; width: auto; display: block; }
.site-footer__logo-text {
	font-family: var(--font-en);
	font-weight: 900;
	font-size: 32px;
	color: var(--color-accent);
	display: block;
	margin-bottom: 10px;
}
.site-footer__about {
	font-size: 13.5px;
	line-height: 2;
	color: #a7bfae;
	margin: 0;
}
.site-footer__heading {
	font-size: 14px;
	color: #fff;
	margin: 0 0 16px;
	letter-spacing: .05em;
	border-left: 3px solid var(--primary);
	padding-left: 10px;
}
.site-footer__nav .menu {
	list-style: none;
	padding: 0;
	margin: 0;
}
.site-footer__nav .menu li {
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer__nav .menu a {
	display: block;
	padding: 10px 0;
	font-size: 14px;
	color: #cfe0d2;
}
.site-footer__nav .menu a:hover { color: #fff; }
.site-footer__address {
	font-style: normal;
	font-size: 13.5px;
	line-height: 2;
	color: #cfe0d2;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.08);
	padding: 20px 0;
	font-size: 12.5px;
	color: #8aa394;
	text-align: center;
}

@media (max-width: 860px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 32px;
		padding-bottom: 32px;
	}
}

/* -------- Products page (3-column grid) -------- */
.product-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 900px) {
	.product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
	.product-grid { grid-template-columns: 1fr; gap: 18px; }
}
.product-card {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 28px 22px 26px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(15, 42, 23, 0.12);
	border-color: var(--color-green-60);
}
.product-card__icon-wrap {
	margin-bottom: 14px;
}
.product-card__icon {
	width: 120px;
	height: 120px;
	border-radius: 26px;
	object-fit: cover;
	box-shadow: 0 8px 20px rgba(15, 42, 23, 0.12);
}
.product-card__badges {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 14px;
}
.product-card__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	color: var(--color-accent);
	text-transform: uppercase;
	margin: 0 0 6px;
}
.product-card__title {
	font-size: 19px;
	font-weight: 900;
	margin: 0 0 6px;
	color: var(--color-text);
	line-height: 1.35;
}
.product-card__subtitle {
	font-size: 13px;
	color: var(--color-text-sub);
	line-height: 1.5;
	margin: 0 0 12px;
	min-height: 2.4em;
}
.product-card__catch {
	font-size: 13.5px;
	color: var(--color-text);
	line-height: 1.65;
	margin: 0 0 20px;
	flex: 1;
}
.product-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	justify-content: center;
	padding: 12px 20px;
	font-size: 14px;
}
.product-card__btn .product-btn__icon {
	width: 16px;
	height: 16px;
}

/* -------- Products page (旧 .product-block、他ページで参照される可能性があるため残置) -------- */
.product-block {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 40px;
	margin-bottom: 28px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .25s ease, transform .25s ease;
}
.product-block:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}
.product-block__icon-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.product-block__icon {
	width: 180px;
	height: 180px;
	border-radius: 28px;
	box-shadow: 0 6px 18px rgba(0, 80, 30, .12);
	background: #f6faf4;
	object-fit: cover;
}
.product-block__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}
.product-badge {
	display: inline-block;
	font-size: 11.5px;
	padding: 4px 10px;
	border-radius: 999px;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: .02em;
}
.product-badge--category {
	background: var(--color-green-100);
	color: #fff;
}
.product-badge--price {
	background: var(--color-bg-alt);
	color: var(--primary-dark);
	border: 1px solid var(--color-border);
}
.product-block__body {
	min-width: 0;
}
.product-block__eyebrow {
	font-family: var(--font-en);
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--primary);
	margin: 0 0 8px;
	font-weight: 600;
}
.product-block__title {
	font-size: clamp(22px, 2.6vw, 28px);
	margin: 0 0 6px;
	color: var(--color-text);
}
.product-block__subtitle {
	font-size: 14px;
	color: var(--color-text-sub);
	margin: 0 0 18px;
}
.product-block__catch {
	font-size: 16px;
	font-weight: 700;
	color: var(--primary-dark);
	background: var(--color-bg-alt);
	padding: 12px 16px;
	border-left: 4px solid var(--primary);
	border-radius: 4px;
	margin: 0 0 18px;
	line-height: 1.7;
}
.product-block__desc {
	color: var(--color-text-sub);
	font-size: 14.5px;
	line-height: 2;
	margin: 0 0 20px;
}
.product-block__feat-title {
	font-size: 14px;
	margin: 0 0 10px;
	color: var(--primary);
	letter-spacing: .02em;
}
.product-block__body .check-list {
	margin-bottom: 24px;
}
.product-block__body .check-list li {
	font-size: 14.5px;
}
.product-block__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.product-btn {
	gap: 10px;
}
.product-btn__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

@media (max-width: 820px) {
	.product-block {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 28px 24px;
	}
	.product-block__icon-wrap { align-items: flex-start; }
	.product-block__icon {
		width: 120px;
		height: 120px;
		border-radius: 22px;
	}
	.product-block__badges { justify-content: flex-start; }
}

/* ===========================================================
 *  Browser Games — ゾーン全体（is-game-zone body時に適用）
 * =========================================================== */

body.is-game-zone {
	background: #0a1f10;
	color: #e8eee4;
}
body.is-game-zone .site-main {
	background:
		radial-gradient(ellipse at 20% 0%, rgba(0, 167, 62, 0.12), transparent 50%),
		radial-gradient(ellipse at 85% 100%, rgba(234, 165, 42, 0.08), transparent 50%),
		#0a1f10;
	min-height: calc(100vh - 200px);
}

/* ゲームゾーン内のテキスト色を上書き */
body.is-game-zone .page-hero {
	background:
		radial-gradient(ellipse at 50% 0%, rgba(0, 167, 62, 0.2), transparent 65%),
		linear-gradient(180deg, #143a20 0%, #0a1f10 100%);
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,.06);
}
body.is-game-zone .page-hero::before { opacity: .08; }
body.is-game-zone .page-hero__eyebrow { color: #EAA52A; }
body.is-game-zone .page-hero__title  { color: #fff; }
body.is-game-zone .page-hero__lead   { color: rgba(255,255,255,.82); }

body.is-game-zone .section__eyebrow { color: #EAA52A; }
body.is-game-zone .section__title   { color: #fff; }
body.is-game-zone .section__desc    { color: rgba(255,255,255,.7); }
body.is-game-zone .section--games-related { background: rgba(0,0,0,.25); }

body.is-game-zone .game-card {
	background: #143a20;
	border: 1px solid rgba(255,255,255,.12);
}
body.is-game-zone .game-card:hover {
	background: #1a4a28;
	border-color: rgba(132, 189, 0, 0.55);
	box-shadow: 0 14px 30px rgba(0,0,0,.4);
}
body.is-game-zone .game-card__body { background: transparent; }
body.is-game-zone .game-card__title   { color: #fff; }
body.is-game-zone .game-card__excerpt { color: rgba(255,255,255,.82); }
body.is-game-zone .game-card__meta-row dt { color: rgba(255,255,255,.6); }
body.is-game-zone .game-card__meta-row dd { color: #fff; }
body.is-game-zone .game-card__cta     { color: #EAA52A; }
body.is-game-zone .game-card__thumb:not(.game-card__thumb--no-image) {
	background: linear-gradient(135deg, #143a20, #1f5a2e);
}

/* ゲーム詳細ページの説明パネルは、ダークゾーン内でも通常の白背景+黒文字で表示（可読性優先） */
body.is-game-zone .game-info {
	background: #fff;
	padding: 28px 24px 30px;
	border-radius: 16px;
	color: var(--color-text);
	margin-top: 32px;
	box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
body.is-game-zone .game-info__meta {
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
}
body.is-game-zone .game-info__row { border-color: var(--color-border); }
body.is-game-zone .game-info__row dt { color: var(--color-text-sub); font-weight: 600; }
body.is-game-zone .game-info__row dd { color: var(--color-text); }
body.is-game-zone .game-info__heading {
	color: var(--color-text) !important;
	border-left-color: var(--color-green-100);
}
body.is-game-zone .game-info__controls,
body.is-game-zone .game-info__controls *,
body.is-game-zone .game-info__desc,
body.is-game-zone .game-info__desc * {
	color: var(--color-text) !important;
	background-color: transparent !important;
}
body.is-game-zone .game-info__desc a,
body.is-game-zone .game-info__desc a * { color: var(--color-green-100) !important; }
body.is-game-zone .game-info__desc a:hover,
body.is-game-zone .game-info__desc a:hover * { color: var(--color-green-80) !important; }

body.is-game-zone .games-empty { background: rgba(255,255,255,.04); color: rgba(255,255,255,.5); }

body.is-game-zone .pagination .page-numbers {
	border-color: rgba(255,255,255,.12);
	color: rgba(255,255,255,.8);
	background: rgba(255,255,255,.03);
}
body.is-game-zone .pagination .page-numbers:hover,
body.is-game-zone .pagination .page-numbers.current {
	background: #EAA52A;
	border-color: #EAA52A;
	color: #0a1f10;
}

body.is-game-zone .btn--ghost {
	background: transparent;
	color: rgba(255,255,255,.85);
	border-color: rgba(255,255,255,.2);
}
body.is-game-zone .btn--ghost:hover {
	background: rgba(255,255,255,.06);
	border-color: rgba(255,255,255,.4);
}

body.is-game-zone .section--cta {
	background: rgba(0, 0, 0, 0.35);
	border-top: 1px solid rgba(255,255,255,.06);
	border-bottom: 1px solid rgba(255,255,255,.06);
}
body.is-game-zone .section--cta .cta-banner__title { color: #fff; }
body.is-game-zone .section--cta .cta-banner__desc  { color: rgba(255,255,255,.8); }

/* ----- ゲームゾーン専用ヘッダー ----- */
.site-game-header {
	background: linear-gradient(180deg, #0f2a17, #081a0e);
	border-bottom: 1px solid rgba(255,255,255,.08);
	padding: 14px 0;
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(8px);
	box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.site-game-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.site-game-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #fff;
}
.site-game-brand__mark {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: linear-gradient(135deg, #00A73E, #84BD00);
	color: #fff;
	flex-shrink: 0;
}
.site-game-brand__mark svg { width: 24px; height: 24px; }
.site-game-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}
.site-game-brand__title {
	font-size: 18px;
	font-weight: 900;
	letter-spacing: .02em;
}
.site-game-brand__sub {
	font-size: 10px;
	letter-spacing: .2em;
	color: #EAA52A;
	text-transform: uppercase;
	font-weight: 700;
	margin-top: 2px;
}
.site-game-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}
.site-game-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255,255,255,.85);
	text-decoration: none;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,.08);
	background: rgba(255,255,255,.04);
	transition: background .15s, border-color .15s, color .15s;
}
.site-game-nav__link:hover {
	background: rgba(255,255,255,.08);
	border-color: rgba(255,255,255,.2);
	color: #fff;
}
.site-game-nav__link--home {
	color: #EAA52A;
	border-color: rgba(234, 165, 42, 0.3);
}
.site-game-nav__link--home:hover {
	background: rgba(234, 165, 42, 0.12);
	border-color: #EAA52A;
	color: #EAA52A;
}

@media (max-width: 680px) {
	.site-game-header__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.site-game-brand { justify-content: center; }
	.site-game-nav  { justify-content: center; flex-wrap: wrap; }
	.site-game-brand__sub { font-size: 9px; }
	.site-game-nav__link { font-size: 12px; padding: 7px 12px; }
	.site-game-nav__link--home span:last-child { display: inline; }
}

/* ----- ゲームゾーン専用フッター ----- */
.site-game-footer {
	background: #081a0e;
	border-top: 1px solid rgba(255,255,255,.06);
	padding: 32px 0 24px;
	color: rgba(255,255,255,.6);
}
.site-game-footer__inner {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.site-game-footer__brand {
	margin: 0;
	font-size: 13px;
}
.site-game-footer__brand strong {
	color: #fff;
	font-weight: 900;
	font-size: 15px;
	letter-spacing: .04em;
}
.site-game-footer__brand span { margin-left: 8px; color: rgba(255,255,255,.5); }
.site-game-footer__brand a {
	color: #EAA52A;
	text-decoration: none;
}
.site-game-footer__brand a:hover { text-decoration: underline; }
.site-game-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: center;
	font-size: 12px;
}
.site-game-footer__nav a {
	color: rgba(255,255,255,.65);
	text-decoration: none;
	transition: color .15s;
}
.site-game-footer__nav a:hover { color: #EAA52A; }
.site-game-footer__copy small {
	font-size: 11px;
	color: rgba(255,255,255,.4);
	letter-spacing: .04em;
}

/* ===========================================================
 *  Browser Games — コンポーネント（コーポレート側にも影響あり）
 * =========================================================== */

/* --- プロダクトページ上部のゲームCTAバナー --- */
.section--games-cta {
	padding-top: 48px;
	padding-bottom: 0;
}
.games-cta-banner {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 24px 28px;
	background: linear-gradient(135deg, #0f2a17 0%, #17472a 55%, #3a6d2b 100%);
	color: #fff;
	border-radius: 20px;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(0, 167, 62, 0.18);
	transition: transform .25s, box-shadow .25s;
	position: relative;
	overflow: hidden;
}
.games-cta-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 90% 110%, rgba(234, 165, 42, 0.35), transparent 50%);
	pointer-events: none;
}
.games-cta-banner:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(0, 167, 62, 0.28);
}
.games-cta-banner__icon {
	width: 72px;
	height: 72px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--color-green-100), var(--color-green-60));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	position: relative;
	z-index: 1;
}
.games-cta-banner__icon svg { width: 44px; height: 44px; }
.games-cta-banner__body { position: relative; z-index: 1; }
.games-cta-banner__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	color: var(--color-accent);
	margin: 0 0 4px;
	text-transform: uppercase;
}
.games-cta-banner__title {
	font-size: 22px;
	font-weight: 900;
	margin: 0 0 4px;
	color: #fff;
}
.games-cta-banner__desc {
	font-size: 14px;
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.6;
}
.games-cta-banner__arrow {
	font-size: 22px;
	color: var(--color-accent);
	position: relative;
	z-index: 1;
	transition: transform .25s;
}
.games-cta-banner:hover .games-cta-banner__arrow { transform: translateX(4px); }

@media (max-width: 680px) {
	.games-cta-banner {
		grid-template-columns: 56px 1fr;
		grid-template-rows: auto auto;
		gap: 16px;
		padding: 20px;
	}
	.games-cta-banner__icon { width: 56px; height: 56px; border-radius: 14px; }
	.games-cta-banner__icon svg { width: 32px; height: 32px; }
	.games-cta-banner__title { font-size: 18px; }
	.games-cta-banner__desc { font-size: 13px; }
	.games-cta-banner__arrow {
		grid-column: 1 / -1;
		text-align: right;
	}
}

/* --- ゲーム一覧のグリッド --- */
.game-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}
.game-card {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 18px;
	overflow: hidden;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.game-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(15, 42, 23, 0.12);
	border-color: var(--color-green-60);
}
.game-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}
.game-card__thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #f6faf4, #e8f2de);
	overflow: hidden;
}
.game-card__thumb--no-image {
	background: linear-gradient(135deg, #00A73E 0%, #43B02A 40%, #84BD00 100%);
}
/* アイキャッチ画像ありの時、下半分にグラデ+タイトルを載せる */
.game-card__thumb--image::after {
	content: "";
	position: absolute;
	inset: 35% 0 0 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}
.game-card__title-overlay {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 12px;
	color: #fff;
	font-size: 17px;
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: .02em;
	text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 0 4px rgba(0,0,0,.5);
	z-index: 2;
	word-break: auto-phrase;
}
/* オーバーレイにタイトルを表示する場合、本文側のタイトルは非表示（重複排除） */
.game-card .game-card__thumb--image ~ .game-card__body .game-card__title,
.game-card__thumb--image + .game-card__body .game-card__title { display: none; }
.game-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.game-card__placeholder {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 20px;
	color: #fff;
	text-align: center;
	gap: 10px;
}
.game-card__placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 90%, rgba(234, 165, 42, 0.35), transparent 55%),
		radial-gradient(circle at 15% 10%, rgba(255,255,255,0.15), transparent 50%);
	pointer-events: none;
}
.game-card__placeholder-icon {
	width: 36px;
	height: 36px;
	opacity: 0.85;
	position: relative;
	z-index: 1;
}
.game-card__placeholder-title {
	position: relative;
	z-index: 1;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: .02em;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,.25);
	word-break: auto-phrase;
}
.game-card__genre {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(15, 42, 23, 0.82);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	padding: 4px 10px;
	border-radius: 999px;
}
.game-card__body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.game-card__title {
	font-size: 16px;
	font-weight: 700;
	margin: 0;
	color: var(--color-text);
	line-height: 1.4;
}
.game-card__excerpt {
	font-size: 13px;
	color: var(--color-text-sub);
	margin: 0;
	line-height: 1.6;
}
.game-card__meta {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.game-card__meta-row {
	display: grid;
	grid-template-columns: 80px 1fr;
	font-size: 12px;
}
.game-card__meta-row dt {
	color: var(--color-text-sub);
	margin: 0;
}
.game-card__meta-row dd {
	color: var(--color-text);
	margin: 0;
	font-weight: 500;
}
.game-card__cta {
	margin-top: auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--color-green-100);
	letter-spacing: .04em;
}

/* --- 個別ゲームページ --- */
.page-hero--game-single {
	padding: 24px 0 20px;
}
.page-hero--game-single::before { display: none; }
.page-hero--game-single .page-hero__title {
	font-size: clamp(22px, 3vw, 32px);
	margin: 0 0 8px;
}
.page-hero--game-single .page-hero__lead { font-size: 14px; }
.page-hero--game-single .page-hero__eyebrow a {
	color: var(--color-accent);
	text-decoration: none;
}
.page-hero--game-single .page-hero__eyebrow a:hover { text-decoration: underline; }

.section--game-play { padding-top: 8px; padding-bottom: 24px; }

.game-frame {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: calc(100vh - 180px);
	margin: 0 auto;
	background: #0f2a17;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(15, 42, 23, 0.2);
}
.game-frame__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.game-frame__note {
	max-width: 960px;
	margin: 12px auto 0;
	font-size: 12px;
	color: var(--color-text-sub);
	text-align: center;
}

.game-info {
	max-width: 820px;
	margin: 40px auto 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.game-info__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0;
	margin: 0;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	background: var(--color-bg-alt);
}
.game-info__row {
	display: flex;
	flex-direction: column;
	padding: 14px 18px;
	border-right: 1px solid var(--color-border);
}
.game-info__row:last-child { border-right: 0; }
.game-info__row dt {
	font-size: 11px;
	color: var(--color-text-sub);
	letter-spacing: .08em;
	margin: 0 0 4px;
	text-transform: uppercase;
	font-weight: 600;
}
.game-info__row dd {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--color-text);
}
@media (max-width: 680px) {
	.game-info__row { border-right: 0; border-bottom: 1px solid var(--color-border); }
	.game-info__row:last-child { border-bottom: 0; }
}
.game-info__heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 12px;
	padding-left: 12px;
	border-left: 4px solid var(--color-green-100);
	line-height: 1.4;
}
.game-info__controls p { line-height: 1.9; margin: 0; }
.game-info__desc { line-height: 1.9; }

/* 関連ゲーム */
.section--games-related { background: var(--color-bg-alt); }

/* 空状態 */
.games-empty {
	text-align: center;
	padding: 60px 20px;
	background: var(--color-bg-alt);
	border-radius: 12px;
	color: var(--color-text-sub);
}
.games-empty p { margin: 0 0 20px; }

/* ページネーション */
.pagination {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}
.pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	height: 40px;
	line-height: 40px;
	padding: 0 12px;
	margin: 0 4px;
	text-align: center;
	border-radius: 10px;
	border: 1px solid var(--color-border);
	color: var(--color-text);
	text-decoration: none;
	font-weight: 600;
	transition: background .2s, color .2s, border-color .2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--color-green-100);
	color: #fff;
	border-color: var(--color-green-100);
}

/* -------- Utility -------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0s !important;
		transition-duration: 0s !important;
	}
}
