@charset "UTF-8";
/* ============================================
   上場20周年 きもの福むすび LP
   SPファースト（カンプ：SP 362px幅）／768px以上でPCレイアウト
   ============================================ */

:root {
	--red: #5e0e18;        /* MV画像の背景色に合わせる */
	--red-mid: #7a1622;
	--red-text: #8c1d26;
	--red-deep: #3e0910;
	--gold: #c9a46a;
	--gold-dark: #a8813f;
	--cream: #f6eedf;
	--beige: #f5eee4;
	--paper: #fbf8f3;
	--ink: #2b2220;
	--line: #d9d1c7;
	--serif: "Shippori Mincho B1", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	--hd-h: 52px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--hd-h);
}

body {
	margin: 0;
	word-break: auto-phrase;  /* 日本語を文節で改行（対応ブラウザのみ） */
	background: #fff;
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: .06em;
	font-feature-settings: "palt";
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
svg { display: inline-block; }

.pcOnly { display: none; }
@media (min-width: 768px) {
	.pcOnly { display: inline; }
	.spOnly { display: none; }
	body { font-size: 16px; }
}

.inner {
	width: min(100%, 960px);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- フェードイン ---------- */
.js .js-fade {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1s ease, transform 1s ease;
}
.js .js-fade.is-show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .js-fade { opacity: 1; transform: none; transition: none; }
}

/* ---------- ヘッダー ---------- */
.hd {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--hd-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.hd_logo img { width: 130px; display: block; }
.hd_menu {
	position: relative;
	z-index: 2;
	width: 40px;
	height: 40px;
	margin-right: -8px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.hd_menu span {
	position: absolute;
	left: 10px;
	width: 20px;
	height: 1.5px;
	background: var(--red-text);
	transition: transform .3s, opacity .3s;
}
.hd_menu span:nth-child(1) { top: 13px; }
.hd_menu span:nth-child(2) { top: 19px; }
.hd_menu span:nth-child(3) { top: 25px; }
.is-menu .hd_menu span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu .hd_menu span:nth-child(2) { opacity: 0; }
.is-menu .hd_menu span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.gnav {
	position: fixed;
	top: var(--hd-h);
	right: 0;
	left: 0;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .3s, transform .3s, visibility .3s;
}
.is-menu .gnav { visibility: visible; opacity: 1; transform: none; }
.gnav ul { padding: 8px 24px 24px; }
.gnav a {
	display: block;
	padding: 14px 4px;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	letter-spacing: .1em;
}

@media (min-width: 768px) {
	:root { --hd-h: 64px; }
	.hd { padding: 0 32px; }
	.hd_logo img { width: 160px; }
	.gnav { left: auto; width: 320px; }
}

/* ---------- MV ---------- */
.mv {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 24px 16px 40px;
	color: #fff;
	background:
		radial-gradient(ellipse 80% 40% at 50% 62%, rgba(150, 30, 35, .45), transparent 70%),
		linear-gradient(180deg, var(--red) 0%, var(--red) 70%, #530b16 100%);
}
.mv_logo {
	position: relative;
	z-index: 1;
	width: min(84%, 560px);
	margin: 0 auto;
}
.mv_logo img { width: 100%; display: block; }
.mv_img {
	/* 画像の四辺は透過フェード済み。上部はロゴと重ねる */
	width: min(124%, 820px);
	margin: -26% 0 -24% 50%;
	transform: translateX(-50%);
}
.mv_img img { width: 100%; display: block; }
.mv_copy {
	position: relative;
	font-size: min(6.6vw, 44px);
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.4;
	white-space: nowrap;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.mv_lead {
	position: relative;
	margin-top: .8em;
	font-size: min(4vw, 20px);
	line-height: 1.8;
	letter-spacing: .1em;
}

@media (min-width: 768px) {
	.mv { padding: 48px 32px 64px; }
	.mv_img { margin-top: -110px; margin-bottom: -90px; }
	.mv_copy { font-size: 40px; }
}

/* PC：左に「20」ビジュアル、右にロゴ＋コピーの横並びにして天地を詰める */
@media (min-width: 960px) {
	.mv {
		display: grid;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		grid-template-rows: 1fr auto auto auto 1fr;
		grid-template-areas:
			"img ."
			"img logo"
			"img copy"
			"img lead"
			"img .";
		column-gap: 24px;
		height: clamp(560px, calc(100svh - var(--hd-h)), 680px);
		padding: 0 max(40px, calc((100% - 1160px) / 2));
		background:
			radial-gradient(ellipse 45% 60% at 30% 58%, rgba(150, 30, 35, .45), transparent 70%),
			linear-gradient(180deg, var(--red) 0%, var(--red) 70%, #530b16 100%);
	}
	.mv_img {
		/* 列幅より大きく置き、上下はセクションで切り抜く（四辺は透過フェード済み） */
		grid-area: img;
		align-self: center;
		justify-self: center;
		width: 128%;
		margin: 0;
		transform: none;
	}
	.mv_img img {
		-webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 96%);
		        mask-image: linear-gradient(180deg, #000 78%, transparent 96%);
	}
	.mv_logo { grid-area: logo; width: min(100%, 500px); }
	.mv_copy { grid-area: copy; margin-top: 36px; font-size: clamp(32px, 3.2vw, 44px); }
	.mv_lead { grid-area: lead; margin-top: 16px; font-size: 18px; }
}

/* ---------- 共通：ラベル見出し・大見出し ---------- */
.label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-size: 16px;
	font-weight: 700;
	color: var(--red-text);
	letter-spacing: .14em;
}
.label::before,
.label::after {
	content: "";
	width: 48px;
	height: 1px;
	background: currentColor;
}

.ttl {
	text-align: center;
	font-size: clamp(22px, 6.4vw, 36px);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: .04em;
}
.ttl::after {
	content: "";
	display: block;
	width: 44px;
	height: 2px;
	margin: 20px auto 0;
	background: var(--red-text);
}

/* ---------- 01 日本和装祭とは ---------- */
.fes {
	padding: 40px 0 48px;
	text-align: center;
}
.fes_ttl {
	margin-top: 16px;
	font-size: min(4.6vw, 40px);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0;
}
.fes_txt { margin-top: 20px; font-size: 13px; }
.fes_txt p + p { margin-top: 1em; }

.fes_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 36px auto 0;
	max-width: 760px;
}
.fes_list img { width: 100%; display: block; }
.fes_bridge {
	margin-top: 32px;
	font-size: min(3.7vw, 21px);
	font-weight: 700;
	line-height: 1.8;
	letter-spacing: 0;
}

@media (min-width: 768px) {
	.fes { padding: 72px 0 80px; }
	.fes_txt { margin-top: 28px; font-size: 16px; }
	.fes_list { gap: 24px; margin-top: 48px; }
	.fes_bridge { margin-top: 44px; }
}

/* ---------- 02 きもの福むすび ---------- */
.fuku {
	position: relative;
	overflow: hidden;
	padding: 40px 0 44px;
	text-align: center;
	color: #fff;
}
.fuku_bg {
	/* 加賀友禅の手描き写真。文字が読めるよう暗めのグラデーションを重ねる */
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, .45) 100%),
		url(../img/fuku_bg.webp) 50% 55% / cover no-repeat,
		#6b3a28;
}
.fuku .inner { position: relative; }
.fuku_logo {
	width: min(100%, 560px);
	margin: 0 auto;
	border: 1px solid var(--gold);
	outline: 1px solid rgba(201, 164, 106, .6);
	outline-offset: 3px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.fuku_logo img { width: 100%; display: block; }
.fuku_catch {
	margin-top: 16px;
	font-size: clamp(19px, 5.6vw, 32px);
	font-weight: 700;
	letter-spacing: .1em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

@media (min-width: 768px) {
	.fuku { padding: 96px 0 100px; }
	.fuku_catch { margin-top: 24px; }
}

/* ---------- 03 箪笥を開けると ---------- */
.how {
	padding: 40px 0 48px;
	text-align: center;
}
.how_txt { margin-top: 24px; font-size: min(3.6vw, 16px); letter-spacing: .02em; }
.how_txt p + p { margin-top: 1em; }

@media (min-width: 768px) {
	.how { padding: 72px 0 80px; }
	.how_txt { margin-top: 32px; }
}

/* ---------- 04 当選番号 ---------- */
.numbers {
	--num-cols: 3;  /* カラム数（先方確認中）。PCは下のメディアクエリで指定。変更時は .num_list:has() の nth-child も同じ数に */
	padding: 48px 0 56px;
	background: var(--paper);
	border-top: 1px solid var(--line);
}
.about_set {
	display: grid;
	gap: 24px;
	margin-top: 28px;
}
.about_img {
	width: min(72%, 300px);
	margin: 0 auto;
}
.about_img img {
	width: 100%;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(60, 20, 10, .14);
}
.about_txt {
	/* 長文なので左寄せ。文節改行だと行末がガタつくため通常の改行にする */
	text-align: left;
	word-break: normal;
	line-break: strict;
}
.about_txt p + p { margin-top: 1em; }

.num_list {
	--gap: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;  /* 1段に満たないうちは中央寄せ */
	gap: var(--gap);
	max-width: 880px;
	margin: 40px auto 0;
}
/* 1段が埋まったら（＝件数がカラム数以上）左詰め */
.num_list:has(> li:nth-child(3)) { justify-content: flex-start; }
.num_list li {
	width: calc((100% - var(--gap) * (var(--num-cols) - 1)) / var(--num-cols));
	padding: 10px 0;
	border: 1px solid var(--gold);
	border-radius: 4px;
	background: #fff;
	text-align: center;
	font-size: min(4vw, 20px);
	font-weight: 700;
	color: var(--red-text);
	letter-spacing: .06em;
	text-indent: .06em;  /* 末尾の字間ぶん左に寄るのを補正 */
	font-variant-numeric: tabular-nums;
}
.num_empty {
	margin-top: 28px;
	text-align: center;
}

@media (min-width: 768px) {
	.numbers { --num-cols: 5; padding: 80px 0 88px; }
	.about_set {
		grid-template-columns: 340px 1fr;
		gap: 48px;
		align-items: start;
		max-width: 860px;
		margin: 44px auto 0;
	}
	.about_img { width: 100%; }
	.num_list { --gap: 14px; margin-top: 64px; }
	.num_list:has(> li:nth-child(3)) { justify-content: center; }
	.num_list:has(> li:nth-child(5)) { justify-content: flex-start; }
	.num_list li { padding: 14px 0; }
	.num_empty { margin-top: 44px; }
}

/* ---------- フッター ---------- */
.ft {
	margin: 0 20px;
	padding: 20px 0 24px;
	border-top: 1px solid var(--line);
	text-align: center;
	font-size: 11px;
	letter-spacing: 0;
}
.ft ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 0;
}
.ft li + li::before {
	content: "|";
	margin: 0 1em;
	color: #999;
}
.ft a { text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft address {
	margin-top: 8px;
	font-style: normal;
	font-size: 10px;
	color: #888;
	letter-spacing: .04em;
}

@media (min-width: 768px) {
	.ft { max-width: 960px; margin: 0 auto; padding: 28px 0 32px; font-size: 13px; }
}
