/* ============================================================
   一の宿倶楽部 会員システム CSS
   /club/ 配下の固定ページで読み込まれる
   ============================================================ */

.ichinoyado-club {
	--gold-50: #FAF6EE;
	--gold-100: #F5ECD8;
	--gold-200: #E8D5AD;
	--gold-300: #D4B574;
	--gold-400: #BA9045;
	--gold-500: #854F0B;
	--gold-600: #6B3F09;
	--gold-700: #512F07;
	--gold-800: #3A2105;
	--gold-900: #241503;
	--green-50: #EAF3DE;
	--green-500: #3B6D11;
	--green-700: #27500A;
	--blue-50: #E6F1FB;
	--blue-700: #0C447C;
	--red-400: #E24B4A;
	--ic-bg: #FAFAF7;
	--ic-surface: #FFFFFF;
	--ic-surface-dim: #F5F4F0;
	--ic-text: #1A1A18;
	--ic-text-secondary: #6B6B66;
	--ic-text-tertiary: #9E9E98;
	--ic-border: rgba(0, 0, 0, 0.08);
	--ic-border-strong: rgba(0, 0, 0, 0.15);
	--ic-radius: 12px;
	--ic-radius-sm: 8px;
	--ic-font-body: 'Noto Sans JP', sans-serif;
	--ic-font-display: 'Cormorant Garamond', serif;
	--ic-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
	--ic-shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
	--ic-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

	font-family: var(--ic-font-body);
	color: var(--ic-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	max-width: 480px;
	margin: 0 auto;
	background: var(--ic-surface);
}

.ichinoyado-club * {
	box-sizing: border-box;
}

/* ===== Header ===== */
.ic-header {
	background: linear-gradient(135deg, var(--gold-800) 0%, var(--gold-500) 100%);
	padding: 20px 20px 16px;
	color: var(--gold-50);
	position: relative;
	overflow: hidden;
}

.ic-header::after {
	content: '';
	position: absolute;
	top: -40px;
	right: -40px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
}

.ic-header-logo {
	font-family: var(--ic-font-display);
	font-size: 14px;
	letter-spacing: 3px;
	opacity: 0.7;
	margin-bottom: 2px;
}

.ic-header-title {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.5px;
}

.ic-header-user {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ic-header-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 500;
}

.ic-header-name {
	font-size: 14px;
	font-weight: 500;
}

.ic-header-id {
	font-size: 14px;
	opacity: 0.6;
	font-family: monospace;
}

/* ===== Tabs ===== */
.ic-tab-bar {
	display: flex;
	background: var(--ic-surface);
	border-bottom: 1px solid var(--ic-border);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	position: sticky;
	top: 0;
	z-index: 10;
}

.ic-tab-bar::-webkit-scrollbar {
	display: none;
}

.ic-tab-item {
	flex: none;
	padding: 14px 16px;
	font-size: 14px;
	color: var(--ic-text-tertiary);
	cursor: pointer;
	border-bottom: 2px solid transparent;
	transition: var(--ic-transition);
	white-space: nowrap;
	font-weight: 400;
	background: none;
	border-left: none;
	border-right: none;
	border-top: none;
	font-family: inherit;
}

.ic-tab-item:hover {
	color: var(--ic-text-secondary);
}

.ic-tab-item.is-active {
	color: var(--gold-500);
	border-bottom-color: var(--gold-500);
	font-weight: 500;
}

/* ===== Screens ===== */
.ic-screen {
	display: none;
	padding: 20px;
	animation: ic-fadeIn 0.3s ease;
}

.ic-screen.is-active {
	display: block;
}

@keyframes ic-fadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===== Member Card ===== */
.ic-member-card-outer {
	background: var(--ic-surface-dim);
	border-radius: var(--ic-radius);
	padding: 24px 20px;
	display: flex;
	justify-content: center;
}

.ic-member-card {
	width: 100%;
	max-width: 360px;
	aspect-ratio: 1.6 / 1;
	border-radius: 14px;
	background: linear-gradient(145deg, var(--gold-900) 0%, var(--gold-700) 40%, var(--gold-500) 100%);
	padding: 22px 26px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: var(--gold-100);
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(58, 33, 5, 0.3);
}

.ic-member-card::before {
	content: '';
	position: absolute;
	top: -30%;
	right: -10%;
	width: 60%;
	height: 80%;
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06), transparent 70%);
}

.ic-member-card::after {
	content: '';
	position: absolute;
	bottom: -20%;
	left: -10%;
	width: 50%;
	height: 70%;
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(255, 255, 255, 0.03), transparent 70%);
}

.ic-mc-logo {
	font-family: var(--ic-font-display);
	font-size: 12px;
	letter-spacing: 3px;
	opacity: 0.7;
}

.ic-mc-sub {
	font-size: 9px;
	opacity: 0.4;
	margin-top: 2px;
	letter-spacing: 1px;
}

.ic-mc-member-label {
	font-size: 9px;
	opacity: 0.5;
	margin-bottom: 3px;
	letter-spacing: 2px;
}

.ic-mc-name {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 2px;
}
.ic-mc-tenure {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 1px;
	vertical-align: middle;
	background: rgba(232, 213, 173, 0.22);
	color: var(--gold-200, #E8D5AD);
	border: 1px solid rgba(232, 213, 173, 0.45);
}

.ic-mc-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.ic-mc-number-label {
	font-size: 8px;
	opacity: 0.5;
	letter-spacing: 1px;
}

.ic-mc-number {
	font-size: 15px;
	font-family: 'Cormorant Garamond', monospace;
	letter-spacing: 3px;
	margin-top: 2px;
}

.ic-mc-since {
	font-size: 9px;
	opacity: 0.5;
}

.ic-card-hint {
	text-align: center;
	margin-top: 14px;
	font-size: 14px;
	color: var(--ic-text-tertiary);
}

/* ===== Cards & Forms ===== */
.ic-card {
	background: var(--ic-surface);
	border: 1px solid var(--ic-border);
	border-radius: var(--ic-radius);
	padding: 18px 20px;
	margin-bottom: 14px;
	box-shadow: var(--ic-shadow-card);
}

.ic-card-title {
	font-size: 15px;
	font-weight: 500;
	color: var(--ic-text);
	margin-bottom: 16px;
}

.ic-section-label {
	font-size: 12px;
	color: var(--ic-text-tertiary);
	margin-bottom: 10px;
	letter-spacing: 0.5px;
}

.ic-field {
	margin-bottom: 16px;
}

.ic-field label {
	display: block;
	font-size: 14px;
	color: var(--ic-text-secondary);
	margin-bottom: 5px;
	font-weight: 400;
}

.ic-field label .ic-req {
	color: var(--red-400);
	margin-left: 2px;
}

.ic-field-hint {
	font-size: 14px;
	color: var(--ic-text-tertiary);
	margin-top: 4px;
	line-height: 1.5;
}

.ichinoyado-club input[type="text"],
.ichinoyado-club input[type="email"],
.ichinoyado-club input[type="password"],
.ichinoyado-club input[type="date"],
.ichinoyado-club select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--ic-border-strong);
	border-radius: var(--ic-radius-sm);
	font-size: 14px;
	font-family: var(--ic-font-body);
	color: var(--ic-text);
	background: var(--ic-surface);
	transition: var(--ic-transition);
	outline: none;
	-webkit-appearance: none;
	box-shadow: none;
}

.ichinoyado-club input:focus,
.ichinoyado-club select:focus {
	border-color: var(--gold-400);
	box-shadow: 0 0 0 3px rgba(186, 144, 69, 0.1);
}

.ic-btn {
	display: block;
	width: 100%;
	padding: 12px 20px;
	border: none;
	border-radius: var(--ic-radius-sm);
	font-size: 14px;
	font-family: var(--ic-font-body);
	font-weight: 500;
	cursor: pointer;
	transition: var(--ic-transition);
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.ic-btn-primary {
	background: var(--gold-500);
	color: var(--gold-50);
}

.ic-btn-primary:hover {
	background: var(--gold-600);
	color: var(--gold-50);
}

.ic-btn-primary:active {
	transform: scale(0.98);
}

.ic-btn-primary:disabled {
	background: #D0CFCA;
	color: #9E9D98;
	cursor: default;
	transform: none;
}

.ic-btn-outline {
	background: transparent;
	color: var(--ic-text);
	border: 1px solid var(--ic-border-strong);
}

.ic-btn-outline:hover {
	background: var(--ic-surface-dim);
}

.ic-btn-link {
	display: inline-block;
	color: var(--gold-500);
	text-decoration: none;
	font-size: 14px;
}

.ic-btn-link:hover {
	text-decoration: underline;
	color: var(--gold-600);
}

/* ===== Coupon Summary Box ===== */
.ic-coupon-summary {
	background: var(--ic-surface-dim);
	border-radius: var(--ic-radius-sm);
	padding: 12px 14px;
	margin-top: 14px;
}

.ic-summary-label {
	font-size: 14px;
	color: var(--ic-text-tertiary);
	margin-bottom: 4px;
}

.ic-summary-text {
	font-size: 14px;
	font-weight: 500;
	color: var(--ic-text);
}

/* ===== Calendar Legend dot ===== */
.ic-cal-legend {
	display: flex;
	gap: 14px;
	margin-top: 10px;
	font-size: 14px;
	color: var(--ic-text-tertiary);
	align-items: center;
}

.ic-cal-legend-dot {
	width: 10px;
	height: 10px;
	border-radius: 4px;
	display: inline-block;
	margin-right: 4px;
	vertical-align: middle;
}

.ic-cal-day.is-avail:hover {
	background: #C0DD97;
}

/* ===== Coupon link ===== */
.ic-coupon-link {
	color: var(--gold-500);
	cursor: pointer;
	font-weight: 500;
	text-decoration: none;
}

.ic-coupon-link:hover {
	text-decoration: underline;
	color: var(--gold-600);
}

/* ===== QR container ===== */
.ic-proof-qr {
	width: 110px;
	height: 110px;
	background: #FFFFFF;
	border-radius: 8px;
	margin: 16px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	box-sizing: content-box;
}

.ic-proof-qr canvas,
.ic-proof-qr img {
	display: block;
}

/* ===== Birthdate row (年/月/日 セレクト) ===== */
.ic-birthdate-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 8px;
}

.ic-birthdate-row select {
	width: 100%;
	text-align: center;
	text-align-last: center;
	background-image: linear-gradient(45deg, transparent 50%, var(--ic-text-secondary) 50%),
		linear-gradient(135deg, var(--ic-text-secondary) 50%, transparent 50%);
	background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 9px) calc(50% - 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 24px;
}

/* ===== Notices ===== */
.ic-notice {
	padding: 12px 14px;
	border-radius: var(--ic-radius-sm);
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 14px;
}

.ic-notice-error {
	background: #FDECEC;
	color: #B73B3A;
	border: 1px solid #F6C8C7;
}

.ic-notice-success {
	background: var(--green-50);
	color: var(--green-700);
	border: 1px solid #C5DBA9;
}

.ic-notice-info {
	background: var(--blue-50);
	color: var(--blue-700);
	border: 1px solid #BFD9F0;
}

/* ===== Auth Pages (login/register) ===== */
.ic-auth-wrap {
	padding: 28px 20px 40px;
}

.ic-auth-title {
	font-family: var(--ic-font-display);
	font-size: 22px;
	letter-spacing: 2px;
	text-align: center;
	color: var(--gold-700);
	margin-bottom: 6px;
}

.ic-auth-subtitle {
	font-size: 12px;
	letter-spacing: 2px;
	text-align: center;
	color: var(--ic-text-tertiary);
	margin-bottom: 24px;
}

.ic-auth-footer {
	text-align: center;
	font-size: 14px;
	color: var(--ic-text-secondary);
	margin-top: 18px;
}

/* ===== Coupons (Phase 2 placeholder styles) ===== */
.ic-coupon-card {
	background: var(--ic-surface);
	border: 1px solid var(--ic-border);
	border-radius: var(--ic-radius);
	padding: 18px 20px;
	margin-bottom: 14px;
	box-shadow: var(--ic-shadow-card);
}

.ic-coupon-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.ic-coupon-amount {
	font-size: 22px;
	font-weight: 500;
	color: var(--ic-text);
}

.ic-coupon-amount span {
	font-size: 14px;
	font-weight: 400;
	color: var(--ic-text-secondary);
}

.ic-badge {
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 20px;
	font-weight: 500;
}

.ic-badge-available {
	background: var(--green-50);
	color: var(--green-700);
}

.ic-badge-reserved {
	background: var(--gold-100);
	color: var(--gold-600);
}

.ic-badge-pending {
	background: var(--blue-50);
	color: var(--blue-700);
}

.ic-badge-used {
	background: var(--ic-surface-dim);
	color: var(--ic-text-tertiary);
}

.ic-coupon-meta {
	font-size: 14px;
	color: var(--ic-text-secondary);
	line-height: 1.7;
}

.ic-empty-state {
	text-align: center;
	padding: 40px 20px;
	color: var(--ic-text-tertiary);
	font-size: 14px;
}

/* ===== Calendar (Phase 2) ===== */
.ic-cal-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.ic-cal-nav-btn {
	background: none;
	border: none;
	font-size: 18px;
	color: var(--ic-text-secondary);
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 6px;
	transition: var(--ic-transition);
}

.ic-cal-month {
	font-size: 14px;
	font-weight: 500;
	color: var(--ic-text);
}

.ic-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
	text-align: center;
}

.ic-cal-dow {
	font-size: 12px;
	color: var(--ic-text-tertiary);
	padding: 6px 0;
}

.ic-cal-dow.is-weekend {
	color: var(--red-400);
}

.ic-cal-day {
	font-size: 14px;
	padding: 8px 0;
	border-radius: 8px;
	cursor: default;
	color: var(--ic-text-tertiary);
	transition: var(--ic-transition);
	user-select: none;
}

.ic-cal-day.is-avail {
	color: var(--ic-text);
	cursor: pointer;
	background: var(--green-50);
}

.ic-cal-day.is-selected {
	background: var(--gold-500) !important;
	color: var(--gold-50) !important;
	font-weight: 500;
}

.ic-cal-day.is-empty {
	visibility: hidden;
}

/* ===== Proof (Phase 2) ===== */
.ic-proof-outer {
	background: var(--ic-surface-dim);
	border-radius: var(--ic-radius);
	padding: 24px 20px;
}

.ic-proof-card {
	background: var(--ic-surface);
	border: 2px solid var(--gold-500);
	border-radius: var(--ic-radius);
	padding: 24px 20px;
	max-width: 360px;
	margin: 0 auto;
	box-shadow: var(--ic-shadow-elevated);
}

.ic-proof-title {
	font-size: 12px;
	color: var(--gold-500);
	letter-spacing: 2px;
	text-align: center;
	margin-bottom: 14px;
	font-weight: 500;
}

.ic-proof-amount {
	font-size: 32px;
	font-weight: 500;
	text-align: center;
	color: var(--ic-text);
	margin-bottom: 18px;
	font-family: var(--ic-font-display);
}

.ic-proof-amount span {
	font-size: 16px;
	font-weight: 400;
}

.ic-confirm-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 14px;
	border-bottom: 1px solid var(--ic-border);
}

.ic-confirm-row:last-child {
	border-bottom: none;
}

.ic-confirm-label {
	color: var(--ic-text-secondary);
}

.ic-confirm-value {
	color: var(--ic-text);
	font-weight: 500;
	text-align: right;
}

/* ============================================================
   /club/ 配下のレイアウト制御
   スマホ: TCDテーマの装飾を全非表示（アプリ風）
   PC:    TCDヘッダー/フッターは表示、マイページは中央配置のカード
   ============================================================ */

/* スマホ: TCDテーマ装飾を完全に非表示 */
@media (max-width: 767px) {
	body.is-ichinoyado-club .l-header,
	body.is-ichinoyado-club .l-footer,
	body.is-ichinoyado-club .p-page-header,
	body.is-ichinoyado-club .p-footer-link,
	body.is-ichinoyado-club .p-info,
	body.is-ichinoyado-club .p-footer-nav,
	body.is-ichinoyado-club .p-copyright,
	body.is-ichinoyado-club #site_loader_overlay,
	body.is-ichinoyado-club .p-pagetop {
		display: none !important;
	}

	body.is-ichinoyado-club .l-main,
	body.is-ichinoyado-club .l-main--club {
		padding: 0 !important;
		margin: 0 !important;
		min-height: 100vh;
	}

	body.is-ichinoyado-club .l-contents,
	body.is-ichinoyado-club .l-contents--club,
	body.is-ichinoyado-club .l-primary,
	body.is-ichinoyado-club .l-primary--club {
		max-width: none !important;
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		float: none !important;
	}

	body.is-ichinoyado-club {
		background: var(--ic-surface, #fff);
		margin: 0;
		padding: 0;
	}

	body.is-ichinoyado-club .ichinoyado-club {
		max-width: none;
		margin: 0;
	}
}

/* PC: TCDヘッダー/フッター表示、マイページは中央のカード */
@media (min-width: 768px) {
	body.is-ichinoyado-club {
		background: linear-gradient(180deg, #F5ECD8 0%, #FAF6EE 40%, #FAFAF7 100%);
	}

	/* TCDのページタイトル領域は不要（マイページに別ヘッダーがあるため） */
	body.is-ichinoyado-club .p-page-header {
		display: none !important;
	}

	/* メインコンテンツ周囲の余白とカード化 */
	body.is-ichinoyado-club .l-main--club {
		padding: 60px 20px 80px;
	}
}

/* 大画面（1200px以上）: TCDの .l-header が position:absolute / 高さ90px となるため
   それを避けるトップ余白を確保する */
@media (min-width: 1200px) {
	body.is-ichinoyado-club .l-main--club {
		padding-top: 120px;
	}
	body.admin-bar.is-ichinoyado-club .l-main--club {
		padding-top: 150px; /* 上部の WP 管理バー 32px ぶんを加算 */
	}
}

/* PC 続き（カード化レイアウト） */
@media (min-width: 768px) {
	body.is-ichinoyado-club .l-contents--club,
	body.is-ichinoyado-club .l-primary--club {
		max-width: 480px;
		margin: 0 auto;
		padding: 0;
		float: none;
		width: auto;
	}

	body.is-ichinoyado-club .ichinoyado-club {
		max-width: 480px;
		margin: 0 auto;
		border-radius: 20px;
		overflow: hidden;
		box-shadow:
			0 20px 60px rgba(58, 33, 5, 0.12),
			0 4px 16px rgba(58, 33, 5, 0.06),
			0 1px 3px rgba(0, 0, 0, 0.04);
		border: 1px solid rgba(0, 0, 0, 0.04);
	}

	/* タブバーをカード上部に固定（スクロール時もタブが見えるよう） */
	body.is-ichinoyado-club .ic-tab-bar {
		position: static;
	}
}

/* ロード中のオーバーレイは /club/ では即非表示 */
body.is-ichinoyado-club #site_loader_overlay {
	display: none !important;
}

/* ===== パスワード表示トグル ===== */
.ichinoyado-club .ic-pw-wrap {
	position: relative;
	display: block;
}
.ichinoyado-club .ic-pw-wrap input[type="password"],
.ichinoyado-club .ic-pw-wrap input[type="text"] {
	padding-right: 64px;
}
.ichinoyado-club .ic-pw-toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	background: transparent;
	border: 1px solid var(--ic-border-strong, rgba(0, 0, 0, 0.15));
	border-radius: 4px;
	padding: 5px 10px;
	font-size: 12px;
	color: var(--ic-text-muted, #6B6B66);
	cursor: pointer;
	line-height: 1;
	font-family: inherit;
	transition: background 0.15s, color 0.15s;
}
.ichinoyado-club .ic-pw-toggle:hover {
	background: rgba(0, 0, 0, 0.04);
	color: var(--ic-text, #1A1A18);
}
.ichinoyado-club .ic-pw-toggle:focus {
	outline: 2px solid var(--ic-gold-500, #854F0B);
	outline-offset: 1px;
}

/* ===== 加盟宿スタッフ用 /inn/ ページ: 表示幅をPC向けに拡張 ===== */
/* page-club.php の `.l-contents--club` は 480px に制限されているので、
   /inn/ 配下では 1400px まで広げる */
@media (min-width: 768px) {
	body.is-ichinoyado-inn.is-ichinoyado-club .l-contents--club,
	body.is-ichinoyado-inn.is-ichinoyado-club .l-primary--club {
		max-width: 1440px !important;
		width: 100% !important;
	}
	body.is-ichinoyado-inn.is-ichinoyado-club .l-main--club {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	body.is-ichinoyado-inn .ichinoyado-club.ichinoyado-inn--dashboard {
		max-width: 1400px;
	}
	/* ログイン画面だけは中央の480pxに収める */
	body.is-ichinoyado-inn:not(:has(.ichinoyado-inn--dashboard)) .ichinoyado-club {
		max-width: 480px;
	}
}

/* ===== 会員カードQR（クーポン未申請時に宿で発行用に提示） ===== */
.ic-member-qr-wrap {
	margin: 18px 0 6px;
	padding: 18px 18px 16px;
	background: var(--ic-surface-dim);
	border-radius: 12px;
	text-align: center;
	border: 1px dashed var(--gold-300);
}
.ic-member-qr-title {
	font-size: 14px;
	color: var(--gold-700);
	font-weight: 600;
	margin-bottom: 12px;
}
#ic-member-qr {
	display: inline-block;
	padding: 12px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
#ic-member-qr img,
#ic-member-qr canvas {
	display: block;
}
.ic-member-qr-hint {
	font-size: 14px;
	color: var(--ic-text-tertiary);
	margin-top: 10px;
	line-height: 1.6;
}

/* ===== クーポン未保持時の画面提示特典（会員カード下） ===== */
.ic-no-coupon-benefit {
	margin: 18px 0 6px;
	padding: 18px 18px 16px;
	background: var(--gold-100);
	border-radius: 12px;
	text-align: center;
	border: 1px solid var(--gold-300);
}
.ic-no-coupon-benefit-title {
	font-size: 14px;
	color: var(--ic-text-tertiary);
	margin-bottom: 10px;
}
.ic-no-coupon-benefit-body {
	font-size: 15px;
	color: var(--gold-700);
	line-height: 1.9;
}
.ic-no-coupon-benefit-body strong {
	font-weight: 700;
}

/* ===== タブのバッジ（クーポン保持数） ===== */
.ichinoyado-club .ic-tab-item {
	position: relative;
}
.ichinoyado-club .ic-tab-badge {
	display: inline-block;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	margin-left: 6px;
	background: var(--red-400);
	color: #fff;
	border-radius: 9px;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
	letter-spacing: 0;
	vertical-align: middle;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.ichinoyado-club .ic-tab-item.is-active .ic-tab-badge {
	background: var(--gold-500);
}

/* ===== ホーム画面に追加（A2HS）バナー =====
   document.body 直下に挿入されるため、.ichinoyado-club のCSS変数は
   届かない。色は実値で指定する（デザイントークンと同値）。 */
.ic-a2hs {
	position: fixed;
	left: 50%;
	bottom: 14px;
	transform: translate(-50%, 160%);
	width: calc(100% - 24px);
	max-width: 456px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px 11px 14px;
	background: linear-gradient(135deg, #3A2105 0%, #6B3F09 100%);
	color: #FAF6EE;
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
	font-family: 'Noto Sans JP', sans-serif;
	opacity: 0;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ic-a2hs.is-shown {
	transform: translate(-50%, 0);
	opacity: 1;
}
.ic-a2hs__icon {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid #D4B574;
	color: #F5ECD8;
	font-family: 'Cormorant Garamond', serif;
	font-size: 20px;
	line-height: 1;
}
.ic-a2hs__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.ic-a2hs__body strong {
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}
.ic-a2hs__hint {
	font-size: 11.5px;
	color: #E8D5AD;
	line-height: 1.5;
}
.ic-a2hs__hint b {
	color: #fff;
	font-weight: 600;
}
.ic-a2hs__hint svg {
	vertical-align: -2px;
	margin: 0 1px;
}
.ic-a2hs__install {
	flex: 0 0 auto;
	border: none;
	background: #F5ECD8;
	color: #512F07;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 8px;
	cursor: pointer;
}
.ic-a2hs__install[hidden] {
	display: none;
}
.ic-a2hs__close {
	flex: 0 0 auto;
	border: none;
	background: transparent;
	color: #E8D5AD;
	font-size: 22px;
	line-height: 1;
	width: 28px;
	height: 28px;
	cursor: pointer;
	padding: 0;
}
.ic-a2hs__close:hover {
	color: #fff;
}
@media (max-width: 360px) {
	.ic-a2hs__icon {
		display: none;
	}
}

/* ===== 加盟宿スタッフ画面の共通パーツ（スキャナ /inn/scan/ 等）=====
   ダッシュボードは inn-dashboard.php 内のインラインCSSで上書きされるため影響しない。
   スキャンページはこれらの定義が無く無スタイルだったため、ここで共通化する。 */
.inn-topbar {
	background: linear-gradient(135deg, var(--gold-900) 0%, var(--gold-700) 45%, var(--gold-500) 100%);
	color: var(--gold-50);
	padding: 15px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.inn-topbar__left {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.inn-topbar__brand {
	font-family: var(--ic-font-display);
	font-size: 12px;
	letter-spacing: 3px;
	opacity: 0.72;
}
.inn-topbar__inn-name {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1.3;
}
.inn-topbar__right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}
.inn-topbar__logout {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--gold-50);
	padding: 7px 13px;
	border-radius: 6px;
	font-size: 13px;
	white-space: nowrap;
	transition: background var(--ic-transition);
}
.inn-topbar__logout:hover {
	background: rgba(255, 255, 255, 0.22);
}
.inn-body {
	padding: 20px 18px 48px;
}
.inn-btn {
	border: 1px solid var(--ic-border-strong);
	background: var(--ic-surface);
	color: var(--ic-text);
	padding: 12px 18px;
	border-radius: var(--ic-radius-sm);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: background var(--ic-transition), opacity var(--ic-transition);
}
.inn-btn:hover {
	background: var(--ic-surface-dim);
}
.inn-btn:disabled {
	opacity: 0.55;
	cursor: default;
}
.inn-btn--primary {
	background: var(--gold-500);
	color: var(--gold-50);
	border-color: var(--gold-500);
}
.inn-btn--primary:hover {
	background: var(--gold-700);
	border-color: var(--gold-700);
}
