/*
 * 竹刀LP（卜伝・莫耶） — page-bamboo-sword.php
 * Reuses theme tokens from assets/css/theme.css (:root --kobudo-*).
 */

/* Smooth in-page jumps (hero "胴張型"/"直刀型" → model detail). Scoped to this
   LP since the stylesheet only loads on page-bamboo-sword.php. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

.shinai-lp {
	color: var(--kobudo-sumi);
}

.shinai-lp__placeholder {
	align-items: center;
	background-color: var(--kobudo-mist);
	background-image: repeating-linear-gradient(
		45deg,
		rgba(11, 36, 66, 0.04) 0,
		rgba(11, 36, 66, 0.04) 12px,
		rgba(11, 36, 66, 0.08) 12px,
		rgba(11, 36, 66, 0.08) 24px
	);
	border: 1px dashed rgba(11, 36, 66, 0.35);
	border-radius: 10px;
	color: var(--kobudo-navy);
	display: flex;
	font-size: 0.95rem;
	font-weight: 600;
	justify-content: center;
	letter-spacing: 0.04em;
	min-height: 220px;
	text-align: center;
	width: 100%;
}

.shinai-lp__placeholder span {
	opacity: 0.7;
}

.shinai-lp__media-img {
	border-radius: 10px;
	display: block;
	height: auto;
	width: 100%;
}

.shinai-lp__responsive-picture {
	display: block;
}

.shinai-lp__product .shinai-lp__media-img {
	border-radius: 0;
}

/* ---------- Hero ---------- */

.shinai-lp__hero {
	background-color: var(--kobudo-ivory);
	background-image:
		radial-gradient(circle at 85% 18%, rgba(185, 150, 85, 0.12), transparent 45%),
		linear-gradient(180deg, var(--kobudo-paper), var(--kobudo-ivory));
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.shinai-lp__hero-inner {
	align-items: center;
	display: grid;
	gap: clamp(1.5rem, 4vw, 3rem);
	grid-template-columns: 1.05fr 0.95fr;
}

.shinai-lp__hero-eyebrow {
	color: var(--kobudo-gold-deep);
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 0.6rem;
}

.shinai-lp__hero-title {
	color: var(--kobudo-navy);
	font-size: clamp(1.9rem, 4.4vw, 3rem);
	line-height: 1.3;
	margin: 0 0 1rem;
}

.shinai-lp__hero-nowrap {
	display: inline-block;
	white-space: nowrap;
}

.shinai-lp__hero-accent {
	color: var(--kobudo-gold-text, #85682f);
	font-weight: inherit;
}

/* Hero headline words "胴張型"/"直刀型" jump to their model detail.
   Made real links because their gold accent reads as clickable (fixes a
   Clarity dead-click). Underline signals interactivity. */
.shinai-lp__hero-accent-link {
	color: var(--kobudo-gold-text, #85682f);
	text-decoration: underline;
	text-decoration-color: var(--kobudo-gold, #b99655);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	transition: text-decoration-thickness 0.2s ease, opacity 0.2s ease;
}

.shinai-lp__hero-accent-link:hover {
	color: var(--kobudo-gold-text, #85682f);
	text-decoration-thickness: 3px;
}

.shinai-lp__hero-accent-link:focus-visible {
	outline: 3px solid var(--kobudo-gold, #b99655);
	outline-offset: 3px;
}

.shinai-lp__hero-lead {
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	margin: 0 0 1.2rem;
	max-width: 34em;
}

.shinai-lp__hero-tags {
	border-top: 1px solid var(--kobudo-sand);
	color: var(--kobudo-charcoal);
	display: inline-block;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 1.6rem;
	padding-top: 0.9rem;
}

.shinai-lp__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.shinai-lp__placeholder--hero {
	min-height: clamp(260px, 30vw, 380px);
}

/* ---------- Photo hero (full-bleed background image) ---------- */

.shinai-lp__hero--photo {
	background-position: left center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

.shinai-lp__hero--photo::before {
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0) 28%,
		rgba(255, 255, 255, 0.72) 52%,
		rgba(255, 255, 255, 0.9) 75%,
		rgba(255, 255, 255, 0.95) 100%
	);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.shinai-lp__hero--photo .shinai-lp__hero-inner {
	display: flex;
	justify-content: flex-end;
	min-height: clamp(320px, 34vw, 520px);
	position: relative;
}

.shinai-lp__hero--photo .shinai-lp__hero-copy {
	align-self: center;
	max-width: 30em;
}

.shinai-lp__hero--photo .shinai-lp__hero-eyebrow,
.shinai-lp__hero--photo .shinai-lp__hero-title,
.shinai-lp__hero--photo .shinai-lp__hero-lead,
.shinai-lp__hero--photo .shinai-lp__hero-tags {
	text-shadow:
		0 0 4px rgba(255, 255, 255, 0.95),
		0 0 12px rgba(255, 255, 255, 0.95),
		0 0 24px rgba(255, 255, 255, 0.9);
}

.shinai-lp__hero--photo .shinai-lp__hero-eyebrow {
	background-color: var(--kobudo-navy);
	border: 1px solid rgba(201, 166, 72, 0.7);
	border-left: 6px solid var(--kobudo-gold);
	border-radius: 4px;
	box-shadow: 0 6px 20px rgba(11, 36, 66, 0.4);
	color: var(--kobudo-gold);
	display: inline-block;
	font-size: clamp(1.3rem, 2.4vw, 1.8rem);
	letter-spacing: 0.08em;
	margin: 0 0 1.2rem;
	padding: 0.55em 1em;
	text-shadow: none;
}

.shinai-lp__hero--photo .shinai-lp__hero-title {
	font-size: clamp(2.2rem, 4.8vw, 3.1rem);
}

.shinai-lp__hero--photo .shinai-lp__hero-lead {
	color: var(--kobudo-charcoal);
	font-size: clamp(1.15rem, 2.1vw, 1.5rem);
	font-weight: 600;
}

.shinai-lp__hero--photo .shinai-lp__hero-tags {
	font-size: clamp(1.05rem, 1.9vw, 1.35rem);
}

.shinai-lp__hero--photo .shinai-lp__hero-actions .button {
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

/* ---------- Features (washi-paper background, centered) ---------- */

.shinai-lp__features {
	background-color: var(--kobudo-paper);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: clamp(3.5rem, 8vw, 7rem) 0;
	text-align: center;
}

.shinai-lp__features-label {
	margin: 0;
}

.shinai-lp__features-label span {
	border-bottom: 1px solid rgba(11, 36, 66, 0.4);
	border-top: 1px solid rgba(11, 36, 66, 0.4);
	color: var(--kobudo-charcoal);
	display: inline-block;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	padding: 0.55em 2.4em;
	text-indent: 0.3em;
}

.shinai-lp__features-title {
	color: var(--kobudo-navy);
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: 0.06em;
	margin: clamp(1.4rem, 3vw, 2.2rem) 0 0;
}

.shinai-lp__features-list {
	display: grid;
	gap: clamp(2.4rem, 5vw, 3.8rem);
	margin-top: clamp(2.4rem, 5vw, 3.8rem);
}

.shinai-lp__features-kanji {
	color: var(--kobudo-gold-deep);
	font-size: clamp(2.6rem, 4.6vw, 3.6rem);
	line-height: 1;
	margin: 0 0 0.5rem;
}

.shinai-lp__features-item h3 {
	color: var(--kobudo-navy);
	font-size: clamp(1.4rem, 2.5vw, 1.9rem);
	letter-spacing: 0.05em;
	margin: 0 0 0.7rem;
}

.shinai-lp__features-item p:last-child {
	color: var(--kobudo-sumi);
	font-size: clamp(1.05rem, 1.9vw, 1.3rem);
	line-height: 2;
	margin: 0 auto;
	max-width: 36em;
}

/* ---------- Story (workshop background, centered) ---------- */

.shinai-lp__story {
	background-color: var(--kobudo-ivory);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: clamp(3.5rem, 9vw, 8rem) 0;
	position: relative;
	text-align: center;
}

.shinai-lp__story::before {
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.85) 0%,
		rgba(255, 255, 255, 0.55) 38%,
		rgba(255, 255, 255, 0) 62%
	);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.shinai-lp__story-inner {
	display: flex;
	justify-content: flex-start;
	position: relative;
}

.shinai-lp__story-copy {
	max-width: 44rem;
	text-align: left;
}

.shinai-lp__story-title {
	color: var(--kobudo-navy);
	font-size: clamp(2.1rem, 4.2vw, 3.2rem);
	letter-spacing: 0.08em;
	margin: clamp(1.4rem, 3vw, 2.2rem) 0 0;
	text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

.shinai-lp__story-text {
	color: var(--kobudo-sumi);
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 2.1;
	margin: clamp(1.6rem, 3.5vw, 2.6rem) 0 0;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

/* ---------- Products ---------- */

.shinai-lp__products {
	display: grid;
	gap: clamp(1rem, 3vw, 2rem);
	grid-template-columns: repeat(2, 1fr);
}

.shinai-lp__product {
	background-color: var(--kobudo-paper);
	border: 1px solid var(--kobudo-sand);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.shinai-lp__placeholder--product {
	border-radius: 0;
	border-width: 0 0 1px;
	min-height: clamp(200px, 24vw, 260px);
}

.shinai-lp__product-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: clamp(1.2rem, 2.5vw, 1.8rem);
}

.shinai-lp__product-name {
	color: var(--kobudo-navy);
	font-size: 1.6rem;
	margin: 0 0 0.4rem;
}

.shinai-lp__product-name span {
	color: var(--kobudo-gold);
	font-size: 1rem;
	vertical-align: middle;
}

.shinai-lp__product-body p {
	margin: 0 0 1.1rem;
}

.shinai-lp__product-body p.shinai-lp__product-price {
	color: var(--kobudo-navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: auto 0 1rem;
}

.shinai-lp__product-price .woocommerce-Price-amount {
	color: inherit;
}

.shinai-lp__buy-button {
	background: linear-gradient(180deg, #e2c272 0%, #c9a648 45%, #a98634 100%);
	border-radius: 4px;
	box-shadow:
		0 6px 16px rgba(169, 134, 52, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.55);
	color: #fff;
	display: block;
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	overflow: hidden;
	padding: 0.95em 1.5em;
	position: relative;
	text-align: center;
	text-indent: 0.12em;
	text-shadow: 0 1px 2px rgba(120, 90, 20, 0.5);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.shinai-lp__buy-button:hover {
	box-shadow:
		0 10px 22px rgba(169, 134, 52, 0.6),
		inset 0 1px 0 rgba(255, 255, 255, 0.55);
	color: #fff;
	transform: translateY(-2px);
}

.shinai-lp__buy-button::after {
	animation: kobudo-buy-shine 2.8s ease-in-out infinite;
	background: linear-gradient(
		115deg,
		rgba(255, 255, 255, 0) 25%,
		rgba(255, 255, 255, 0.85) 50%,
		rgba(255, 255, 255, 0) 75%
	);
	content: "";
	height: 100%;
	left: -80%;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: skewX(-22deg);
	width: 55%;
}

@keyframes kobudo-buy-shine {
	0% {
		left: -80%;
	}

	55% {
		left: 130%;
	}

	100% {
		left: 130%;
	}
}

/* ---------- Reasons (rich gold design) ---------- */

.shinai-lp__reasons-section {
	text-align: center;
}

.shinai-lp__reasons-title {
	margin: 0;
}

.shinai-lp__reasons-title span {
	background: linear-gradient(100deg, #a98634 0%, #e9d195 45%, #c9a648 72%, #a98634 100%);
	box-shadow: 0 6px 18px rgba(169, 134, 52, 0.35);
	color: var(--kobudo-navy);
	display: inline-block;
	font-size: clamp(1.8rem, 4vw, 2.9rem);
	letter-spacing: 0.12em;
	line-height: 1;
	padding: 0.5em 1.3em;
	text-indent: 0.12em;
}

.shinai-lp__reasons {
	display: grid;
	gap: clamp(1.2rem, 3vw, 2.2rem);
	grid-template-columns: repeat(3, 1fr);
	margin-top: clamp(3.2rem, 6vw, 4.2rem);
}

.shinai-lp__reason {
	background-color: #fff;
	border: 1px solid var(--kobudo-sand);
	border-top: 4px solid #c9a648;
	box-shadow: 0 10px 26px rgba(11, 36, 66, 0.07);
	padding: clamp(2.8rem, 4.5vw, 3.4rem) 1.2rem clamp(1.8rem, 3vw, 2.4rem);
	position: relative;
	text-align: center;
}

.shinai-lp__reason-badge {
	align-items: center;
	background: linear-gradient(135deg, #c9a648 0%, #e9d195 45%, #a98634 100%);
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(169, 134, 52, 0.45);
	color: #fff;
	display: flex;
	flex-direction: column;
	height: 64px;
	justify-content: center;
	left: 50%;
	line-height: 1;
	margin: 0;
	position: absolute;
	top: -32px;
	transform: translateX(-50%);
	width: 64px;
}

.shinai-lp__reason-badge-label {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	margin-bottom: 0.2em;
	text-indent: 0.12em;
}

.shinai-lp__reason-badge-num {
	font-size: 1.55rem;
	font-weight: 700;
}

.shinai-lp__reason-icon {
	color: var(--kobudo-gold);
	font-size: 2rem;
	margin-bottom: 0.7rem;
}

.shinai-lp__reason-copy {
	color: var(--kobudo-navy);
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0;
}

.shinai-lp__reasons-arrow {
	margin-top: clamp(2.2rem, 4.5vw, 3.2rem);
}

.shinai-lp__reasons-arrow svg {
	height: auto;
	width: clamp(120px, 14vw, 180px);
}

.shinai-lp__reasons-closing {
	color: var(--kobudo-sumi);
	font-size: clamp(1.05rem, 2vw, 1.4rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 2;
	margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
}

.shinai-lp__reasons-closing strong {
	border-bottom: 2px solid var(--kobudo-navy);
	color: var(--kobudo-navy);
	display: inline-block;
	font-size: 1.35em;
	margin-top: 0.4em;
	padding-bottom: 0.15em;
}

/* ---------- Models (卜伝 / 莫耶 detail) ---------- */

.shinai-lp__models-lead {
	color: var(--kobudo-sumi);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	line-height: 2;
	margin: 0 auto clamp(2.2rem, 4.5vw, 3.2rem);
	max-width: 44em;
	text-align: center;
}

.shinai-lp__models {
	display: grid;
	gap: clamp(2rem, 4.5vw, 3.2rem);
}

.shinai-lp__model {
	background-color: #fff;
	border: 1px solid var(--kobudo-sand);
	border-top: 4px solid #c9a648;
	box-shadow: 0 10px 26px rgba(11, 36, 66, 0.07);
	padding: clamp(1.8rem, 4vw, 3rem);
	scroll-margin-top: 80px; /* clear the sticky header on in-page jumps */
}

.shinai-lp__model-header {
	border-bottom: 1px solid var(--kobudo-sand);
	margin-bottom: clamp(1.4rem, 3vw, 2rem);
	padding-bottom: clamp(1.2rem, 2.5vw, 1.6rem);
}

.shinai-lp__model-type {
	background-color: var(--kobudo-navy);
	border-radius: 999px;
	color: var(--kobudo-gold);
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 0.9rem;
	padding: 0.45em 1.3em;
}

.shinai-lp__model-name {
	color: var(--kobudo-navy);
	font-size: clamp(1.9rem, 3.6vw, 2.6rem);
	letter-spacing: 0.08em;
	margin: 0 0 0.5rem;
}

.shinai-lp__model-reading {
	color: var(--kobudo-charcoal);
	font-size: 0.55em;
	font-weight: 600;
	letter-spacing: 0.06em;
	margin-left: 0.3em;
}

.shinai-lp__model-catch {
	color: var(--kobudo-gold-text, #85682f);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-weight: 700;
	letter-spacing: 0.05em;
	margin: 0;
}

.shinai-lp__model-image {
	margin: 0 0 clamp(1.6rem, 3vw, 2.2rem);
}

.shinai-lp__model-image img {
	border-radius: 10px;
	display: block;
	height: auto;
	width: 100%;
}

.shinai-lp__model-image-link {
	border-radius: 10px;
	cursor: pointer;
	display: block;
	transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.shinai-lp__model-image-link:hover {
	opacity: 0.94;
}

.shinai-lp__model-image-link:focus-visible {
	outline: 3px solid var(--kobudo-gold, #b99655);
	outline-offset: 3px;
}

.shinai-lp__model-intro {
	font-size: clamp(1rem, 1.7vw, 1.15rem);
	line-height: 2;
	margin: 0 0 clamp(1.6rem, 3vw, 2.2rem);
	max-width: 50em;
}

.shinai-lp__model-features {
	display: grid;
	gap: clamp(1.2rem, 2.5vw, 1.8rem);
	grid-template-columns: repeat(3, 1fr);
	margin: 0 0 clamp(1.6rem, 3vw, 2.2rem);
}

.shinai-lp__model-feature {
	background-color: var(--kobudo-paper);
	border: 1px solid var(--kobudo-sand);
	border-radius: 8px;
	padding: clamp(1.1rem, 2.2vw, 1.5rem);
}

.shinai-lp__model-feature dt {
	border-bottom: 2px solid var(--kobudo-gold);
	color: var(--kobudo-navy);
	display: inline-block;
	font-size: clamp(1.02rem, 1.8vw, 1.15rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	margin: 0 0 0.7rem;
	padding-bottom: 0.3em;
}

.shinai-lp__model-feature dd {
	font-size: 0.98rem;
	line-height: 1.9;
	margin: 0;
}

.shinai-lp__model-recommend {
	background-color: var(--kobudo-mist);
	border-left: 4px solid var(--kobudo-navy);
	border-radius: 0 8px 8px 0;
	margin: 0 0 1.2rem;
	padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.2rem, 2.5vw, 1.8rem);
}

.shinai-lp__model-recommend-title {
	color: var(--kobudo-navy);
	font-size: clamp(1.05rem, 1.9vw, 1.2rem);
	letter-spacing: 0.05em;
	margin: 0 0 0.8rem;
}

.shinai-lp__model-recommend-list {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.shinai-lp__model-recommend-list li {
	line-height: 1.8;
	padding-left: 1.6em;
	position: relative;
}

.shinai-lp__model-recommend-list li::before {
	color: var(--kobudo-gold-text, #85682f);
	content: "✔";
	font-weight: 700;
	left: 0;
	position: absolute;
}

.shinai-lp__model-note {
	color: var(--kobudo-charcoal);
	font-size: 0.92rem;
	margin: 0 0 1.4rem;
}

.shinai-lp__model-price {
	color: var(--kobudo-navy);
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 0.9rem;
}

.shinai-lp__model-price .woocommerce-Price-amount {
	color: inherit;
}

.shinai-lp__model-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ---------- CTA ---------- */

.shinai-lp__cta {
	justify-content: center;
	text-align: center;
}

.shinai-lp__cta .eyebrow {
	color: var(--kobudo-gold-text, #85682f);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.shinai-lp__hero-inner {
		grid-template-columns: 1fr;
	}

	.shinai-lp__hero--photo::before {
		background: rgba(255, 255, 255, 0.85);
	}

	.shinai-lp__hero--photo .shinai-lp__hero-inner {
		min-height: 0;
	}

	.shinai-lp__hero--photo .shinai-lp__hero-copy {
		max-width: none;
	}

	.shinai-lp__story::before {
		background: rgba(255, 255, 255, 0.78);
	}

	.shinai-lp__story-inner {
		justify-content: center;
	}

	.shinai-lp__products,
	.shinai-lp__reasons,
	.shinai-lp__model-features {
		grid-template-columns: 1fr;
	}

	.shinai-lp__reasons {
		row-gap: 3.2rem;
	}

	.shinai-lp__hero-media {
		order: -1;
	}
}

@media (max-width: 640px) {
	.shinai-lp__model-image .shinai-lp__responsive-picture img,
	.shinai-lp__product .shinai-lp__responsive-picture .shinai-lp__media-img {
		aspect-ratio: 1 / 1;
		object-fit: cover;
	}
}
