/* 白基調のクリーンなライトデザイン。シアン×ピンクは差し色として少量だけ使う */
:root {
	--bg: #f7f9fc;
	--panel: #ffffff;
	--line: #e4e9f2;
	--text: #1c2333;
	--muted: #66708a;
	--cyan: #00c2bb;
	--pink: #fe2c55;
	--shadow: 0 6px 24px rgba(28, 35, 51, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background:
		radial-gradient(700px 380px at 88% -10%, rgba(254,44,85,.06), transparent 60%),
		radial-gradient(700px 380px at 8% -10%, rgba(0,194,187,.07), transparent 60%),
		var(--bg);
	color: var(--text);
	font-family: "Noto Sans JP", system-ui, sans-serif;
	line-height: 1.8;
}

/* ヘッダ・フッタ */
.site-head {
	display: flex; justify-content: space-between; align-items: center;
	padding: 14px 20px; background: var(--panel); border-bottom: 1px solid var(--line);
}
.brand { font-weight: 900; letter-spacing: .12em; color: var(--text); text-decoration: none; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 3px; }
.dot.cyan { background: var(--cyan); }
.dot.pink { background: var(--pink); margin-right: 8px; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover { color: var(--text); }
.site-foot { color: var(--muted); text-align: center; font-size: .8rem; padding: 32px 20px 40px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 20px; }

/* 見出しまわり */
.hero { text-align: center; margin-bottom: 36px; }
.hero.narrow { margin-bottom: 24px; }
.eyebrow { color: var(--pink); letter-spacing: .25em; font-size: .78rem; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); font-weight: 900; line-height: 1.35; margin: .3em 0; }
h2 { font-size: 1.1rem; border-left: 4px solid var(--pink); padding-left: .6em; }
.lead { color: var(--muted); }
.lead strong { color: var(--pink); }
.sp { display: none; }
@media (max-width: 520px) { .sp { display: inline; } }

/* ボタン */
.cta {
	appearance: none; border: 0; cursor: pointer;
	font: 700 1.05rem "Noto Sans JP", sans-serif; color: #fff;
	padding: 16px 40px; border-radius: 999px;
	background: var(--pink);
	box-shadow: 0 6px 18px rgba(254,44,85,.25);
	transition: transform .15s, background .15s;
}
.cta:hover { transform: translateY(-2px); background: #e6234a; }
.cta:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* 手順 */
.steps { list-style: none; padding: 0; margin: 28px auto 0; max-width: 460px; text-align: left; color: var(--muted); }
.steps li { padding: 6px 0; }
.steps b {
	display: inline-flex; width: 1.6em; height: 1.6em; margin-right: .6em;
	align-items: center; justify-content: center; border-radius: 50%;
	background: #fff; border: 1px solid var(--line); color: var(--pink); font-size: .85rem;
}

/* カード */
.card {
	background: var(--panel); border: 1px solid var(--line);
	border-radius: 16px; padding: 22px 26px; margin: 18px 0;
	box-shadow: var(--shadow);
}
.rules ul { padding-left: 1.3em; color: var(--muted); font-size: .92rem; }
.rules a { color: var(--pink); }
.empty { text-align: center; color: var(--muted); }

/* 認証番号チケット: このサイトの主役 */
.code-ticket { display: flex; justify-content: center; gap: 8px; margin: 24px 0; }
.code-ticket span {
	font: 700 clamp(1.8rem, 8vw, 3rem) "JetBrains Mono", monospace;
	background: #fff; border: 1px solid var(--line); border-bottom: 3px solid var(--cyan);
	border-radius: 10px; padding: .15em .3em; min-width: 1.5em; text-align: center;
	box-shadow: var(--shadow);
}
.code-ticket span:nth-child(even) { border-bottom-color: var(--pink); }

/* 待機表示 */
.waiting { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.waiting small { color: var(--muted); }
.pulse {
	flex: none; width: 14px; height: 14px; margin-top: 8px; border-radius: 50%;
	background: var(--cyan); animation: pulse 1.4s infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(0,194,187,.45); }
	100% { box-shadow: 0 0 0 16px rgba(0,194,187,0); }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* 賞品カード */
.notice { color: #8a6100; background: #fff8e6; border: 1px solid #f2dfa6; border-radius: 12px; padding: 10px 16px; font-size: .92rem; }
.prize .amount { font-weight: 900; font-size: 1.15rem; }
.prize.lose { opacity: .6; }
.gift-label { color: var(--muted); font-size: .85rem; margin-bottom: 2px; }
.gift-code {
	font: 700 clamp(1rem, 4.5vw, 1.5rem) "JetBrains Mono", monospace;
	color: #007a76; background: #f0fbfa; border: 1px dashed #b6e8e6;
	border-radius: 10px; padding: 12px 16px; margin-top: 0;
	user-select: all; word-break: break-all;
}
.gift-none { color: var(--muted); }
.foot-links { text-align: center; color: var(--muted); }
.foot-links a { color: var(--pink); }

/* 問い合わせフォーム */
.contact-form label { display: block; margin-bottom: 16px; font-weight: 700; }
.contact-form input, .contact-form textarea {
	display: block; width: 100%; margin-top: 6px;
	background: #fff; color: var(--text);
	border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
	font: 400 1rem "Noto Sans JP", sans-serif;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); }

/* ギフト券受け取りリンク */
.gift-link a {
	display: inline-block;
	font-weight: 700; color: #fff; text-decoration: none;
	background: var(--cyan);
	border-radius: 999px; padding: 12px 28px;
	box-shadow: 0 6px 18px rgba(0,194,187,.25);
	transition: transform .15s, background .15s;
}
.gift-link a:hover { transform: translateY(-2px); background: #00aba5; }
.gift-link a:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.gift-fallback { color: var(--muted); }
.gift-code-inline {
	font: 700 .95rem "JetBrains Mono", monospace;
	color: #007a76; background: #f0fbfa;
	border: 1px dashed #b6e8e6; border-radius: 6px;
	padding: 2px 8px; user-select: all; word-break: break-all;
}
