/* ============================================
   縁ノ研 研究員手帳 — 参拝日誌・図鑑・スタンプ
   配色: 生成り #fdfaf1 / 朱 #c84b31 / 金 #b8963e（今日の暦と統一トーン）
   ============================================ */

/* ---------- 参拝日誌: フォーム ---------- */
.enk-form {
	background: #fdfaf1;
	border: 1px solid #e5d9bf;
	border-radius: 12px;
	padding: 24px 22px;
	margin: 1.5em 0;
}
.enk-form__intro {
	font-size: 0.92rem;
	line-height: 1.9;
	color: #4a4436;
}
.enk-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.enk-form__label {
	font-size: 0.88rem;
	font-weight: 700;
	color: #96742a;
}
.enk-form__input {
	width: 100%;
	border: 1px solid #d9cba8;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 16px;
	background: #fff;
	margin-top: 4px;
	box-sizing: border-box;
}
.enk-form__input:focus {
	outline: 2px solid #c84b31;
	border-color: #c84b31;
}
.enk-form__note {
	font-size: 0.78rem;
	color: #8a7d63;
	line-height: 1.7;
}
.enk-form__submit {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
	background: linear-gradient(135deg, #c84b31, #f27c3f);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 13px 28px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(200, 75, 49, 0.3);
}
.enk-form__msg {
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 14px !important;
}
.enk-form__msg--ok { background: #f6edd4; color: #7d5a12; }
.enk-form__msg--ng { background: #fbe9e2; color: #a0492f; }

/* ---------- 参拝日誌: 一覧 ---------- */
.enk-sanpai-list { margin: 1.5em 0; }
.enk-sanpai-list__empty { text-align: center; color: #8a7d63; padding: 24px 0; }
.enk-sanpai-list__item {
	background: #fff;
	border: 1px solid #e5d9bf;
	border-left: 4px solid #c84b31;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 18px;
}
.enk-sanpai-list__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 8px;
}
.enk-sanpai-list__case {
	background: #3f3a30;
	color: #f6edd4;
	font-size: 0.72rem;
	font-weight: 700;
	border-radius: 999px;
	padding: 3px 12px;
}
.enk-sanpai-list__type {
	background: #f6edd4;
	color: #96742a;
	font-size: 0.72rem;
	font-weight: 700;
	border-radius: 999px;
	padding: 3px 12px;
}
.enk-sanpai-list__name { font-size: 0.82rem; color: #4a4436; font-weight: 700; }
.enk-sanpai-list__date { font-size: 0.75rem; color: #a39a82; }
.enk-sanpai-list__place {
	font-size: 0.85rem;
	font-weight: 700;
	color: #c84b31;
	margin: 0 0 8px !important;
}
.enk-sanpai-list__body p { font-size: 0.92rem; line-height: 1.95; color: #3f3a30; }
.enk-sanpai-list__reply {
	background: #3f3a30;
	border-radius: 10px;
	padding: 14px 18px 10px;
	margin-top: 12px;
}
.enk-sanpai-list__reply p { color: #f6edd4; font-size: 0.88rem; line-height: 1.9; margin: 0 !important; }
.enk-sanpai-list__reply-sign { text-align: right; color: #d9cba8 !important; font-size: 0.75rem !important; margin-top: 4px !important; }
.enk-sanpai-list__pager { display: flex; justify-content: space-between; margin-top: 8px; }
.enk-sanpai-list__pager a { color: #c84b31; font-size: 0.88rem; text-decoration: none; border-bottom: 1px solid #e5d9bf; }

/* ---------- スタンプボタン（共通） ---------- */
.enk-stamp-block {
	background: #fdfaf1;
	border: 1px dashed #d9cba8;
	border-radius: 10px;
	padding: 16px 18px;
	margin: 2em 0 1em;
	text-align: center;
}
.enk-stamp-block__label { font-size: 0.85rem; color: #6b6250; margin: 0 0 10px !important; }
.enk-stamp-block__daily { font-size: 0.78rem; color: #96742a; margin: 8px 0 0 !important; }
.enk-stamp-btn {
	background: #fff;
	border: 2px solid #c84b31;
	color: #c84b31;
	font-weight: 700;
	font-size: 0.9rem;
	border-radius: 999px;
	padding: 10px 26px;
	cursor: pointer;
	letter-spacing: 0.05em;
}
.enk-stamp-btn:hover { background: #fbe9e2; }
.enk-stamp-btn.is-stamped,
.enk-stamp-btn:disabled {
	background: #3f3a30;
	border-color: #3f3a30;
	color: #f6edd4;
	cursor: default;
}
.enk-stamp-btn--case { margin-top: 12px; }

/* ---------- 図鑑 ---------- */
.enk-zukan { margin: 1.5em 0; }
.enk-zukan__section { margin-bottom: 2em; }
.enk-zukan__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 8px; }
.enk-zukan__title { font-size: 1.05rem; font-weight: 700; color: #3f3a30; }
.enk-zukan__count { font-size: 0.75rem; color: #96742a; font-weight: 700; }
.enk-zukan__bar { height: 6px; background: #efece4; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.enk-zukan__bar-fill { height: 100%; width: 0%; background: #c84b31; transition: width 0.3s ease; }
.enk-zukan__empty { font-size: 0.85rem; color: #8a7d63; padding: 12px 0; }
.enk-zukan__grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
}
.enk-zukan__card {
	display: block;
	text-decoration: none;
	background: #efece4;
	border: 1px dashed #d5cfc0;
	border-radius: 12px;
	padding: 14px 10px;
	text-align: center;
	color: #a39a82;
}
.enk-zukan__card-status { display: block; font-size: 24px; margin-bottom: 6px; color: #b4ab98; }
.enk-zukan__card-title { display: block; font-size: 0.82rem; font-weight: 700; }
.enk-zukan__card-tag { display: block; font-size: 0.7rem; margin-top: 4px; }
.enk-zukan__card.is-collected {
	background: #fdfaf1;
	border: 1px solid #d9c489;
}
.enk-zukan__card.is-collected .enk-zukan__card-status { color: #96742a; }
.enk-zukan__card.is-collected .enk-zukan__card-title { color: #3f3a30; }
.enk-zukan__card.is-collected .enk-zukan__card-tag { color: #96742a; }

/* ---------- 研究員手帳（マイページ） ---------- */
.enk-techo {
	background: #fdfaf1;
	border: 1px solid #e5d9bf;
	border-top: 4px solid #c84b31;
	border-radius: 12px;
	padding: 22px 22px 20px;
	margin: 1.5em 0;
}
.enk-techo__daily {
	background: #f6edd4;
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 0.85rem;
}
.enk-techo__daily-label { font-weight: 700; color: #96742a; margin-right: 8px; }
.enk-techo__daily a { color: #c84b31; font-weight: 700; text-decoration: underline; }
.enk-techo__rank-name { font-size: 1.4rem; font-weight: 700; color: #3f3a30; margin: 0 !important; }
.enk-techo__rank-sub { font-size: 0.82rem; color: #6b6250; margin: 4px 0 10px !important; }
.enk-techo__bar { height: 8px; background: #efece4; border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.enk-techo__bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #c84b31, #b8963e); transition: width 0.3s ease; }
.enk-techo__next { font-size: 0.78rem; color: #96742a; margin: 0 0 16px !important; }
.enk-techo__share {
	display: block;
	width: 100%;
	background: #3f3a30;
	color: #f6edd4;
	border: none;
	border-radius: 999px;
	padding: 11px 20px;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
}
.enk-techo__backup { margin-top: 18px; font-size: 0.8rem; color: #6b6250; }
.enk-techo__backup summary { cursor: pointer; font-weight: 700; color: #96742a; }
.enk-techo__backup-note { line-height: 1.8; margin: 10px 0; }
.enk-techo__backup-box {
	width: 100%;
	box-sizing: border-box;
	font-size: 0.75rem;
	border: 1px solid #d9cba8;
	border-radius: 6px;
	padding: 8px;
	margin-bottom: 6px;
}
.enk-techo__backup-btn {
	background: #fff;
	border: 1px solid #d9cba8;
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 0.78rem;
	cursor: pointer;
	margin-bottom: 14px;
}
.enk-techo__empty { text-align: center; color: #8a7d63; font-size: 0.85rem; padding: 10px 0 0; }
