@charset "UTF-8";
/* CSS Document */
/* ============ 基本設定 / トークン ============ */
/* ユーザーが低モーションを希望する場合、移動演出を抑制 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url("../img/bg.jpg");
  color: #222222;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
	position: relative;
}
/* ============ レイアウト ============ */
.container {
  max-width: 420px; /* 390ベースだが余白分を少し拡張 */
  margin: 0 auto;
  position: relative;
}
main {
  margin: 0;
  padding: 0;
}
.wrapper {
  padding: 0 16px;
}
.txt-center {
  text-align: center;
}
button {
  background: none;
  border: none;
}
button, .btn {
	display: inline-block;
	border: none;
	cursor: pointer;
}
button:focus-visible, .btn:focus-visible {
outline: 3px solid var(--outline);
outline-offset: 2px;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 1s ease;
}
/* 表示状態 */
.fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}
/* ============ fv ============ */
.fv {
  background-image: url("../img/bg-fv.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0 0 60px;
}
.fv h1 {
  margin: 0 0 8px;
}
.fv h1 img {
  width: 100%;
  height: auto;
}
h2 {
  font-size: 1.3rem;
}
/* ============ おみくじ ============ */
.omikuji {
  padding: 0;
  margin: 0;
	width: 100%;
	position: relative;
	padding-top: 153.8%;
  overflow: hidden;
}
.omikuji-bg img {
	position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.omikuji-box {
  text-align: center;
	position: absolute;
	top:35%;
	left: 5%;
	width: 90%;
}
.omikuji-image {
  margin: 0 auto;
	width: 50%;
	height: auto;
}
/* 回転アニメーション */
.omikuji-image.spin {
  animation: spin 1.4s cubic-bezier(0.25, 0.8, 0.3, 1);
}
@keyframes spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(1080deg) scale(1.05);
  }
}
#omikujiButton {
	position: absolute;
	width: 100%;
	top:140%;
	left: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#omikujiButton:hover {
  transform: translateY(3px);
}
#omikujiButton img {
	width: 100%;
	height: auto;
}
/* ============ イベント ============ */
.events {
	background-color: white;
  background-image: url("../img/bg-events.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top 15px right 0px;
  padding: 100px 0 30px;
  margin: 0;
}
/* ============ carousel ============ */
.carousel-area {
	background: red;
		padding: 30px 0 10px;
	}
.swiper {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	overflow: hidden; /* 見切れ演出に必要（centeredSlides 使う時） */
	background: red;
	padding: 16px 0 50px;
}
.swiper-slide {
	overflow: hidden;
	background: #ddd;
}
.swiper-slide img {
	display: block;
}
.card {
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 10px;
	background: #fff;
	border-radius: var(--card-radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	text-align: left;
}
.card__media {
	width: 100%;
	padding: 24px 24px 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.card__media .instagram-media {
	max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important; 
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box;

}
.card__body {
	padding: 0px 24px 0 24px;
}
.card__title {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 6px 0;
}
.card__desc {
	font-size: 1rem;
	line-height: 1.55;
	color: #333;
	margin: 0;
}
.card__footer {
	padding: 0 14px 14px 14px;
}
.btn {
	appearance: none;
	display: inline-block;
	width: 100%;
	text-align: center;
	padding: 10px 14px;
	border-radius: 10px;
	background: red;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border: 0;
}
/* 終了カード：全体を薄く */
.card.is-ended {
  position: relative;
  opacity: .55;
  filter: grayscale(100%);
}

/* “終了しました” バッジ */
.card.is-ended::after {
  content: "イベントは終了しました";
  position: absolute;
  inset: 12px 12px auto 12px; /* 上に帯で出したいならここ調整 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.75);
  border-radius: 999px;
  z-index: 2;
}

/* ボタンを“押せそうに見えない”ように */
.card.is-ended .btn {
  pointer-events: none;       /* クリック無効（CSSだけで可能） */
  opacity: .6;
  filter: grayscale(100%);
}

.swiper-button-next, .swiper-button-prev {
	color: #333;
}
.swiper-pagination-bullet {
  background: #333;   /* 通常時 */
}

.swiper-pagination-bullet-active {
  background: #333;  /* アクティブ時 */
}
/* ============ Store list ============ */
#storeTitle {
	font-size: 2.3rem;
	font-weight: normal;
}
.storelist {
  background: #EAE4D1;
  padding: 30px 0;
}
/* ============ アコーディオン (A11y対応) ============ */
.accordion-item {
  text-align: left;
  margin-bottom: 8px;
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #BFA864;
  font-weight: 700;
	color: #333;
	font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
}
.accordion-header .indicator {
  margin-left: 8px;
  transition: transform .4s ease;
}
.accordion-header[aria-expanded="true"] .indicator {
  transform: rotate(180deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  background: none;
  font-size: .95rem;
  transition: max-height .4s ease, padding .4s ease;
}
.accordion-panel.open {
  padding: 10px;
}
.accordion-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.accordion-panel li {
  padding: 6px 0;
  border-bottom: 1px dotted #eee;
}
.accordion-panel li:last-child {
  border-bottom: 0;
}
.accordion-panel a {
	text-decoration: none;
	color: #333;
}
/* ============ 固定ボタン / トップへ ============ */
.fixed-nav-button {
  position: fixed;
  inset: auto auto -5px 50%;
  transform: translateX(-50%);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 999;
  transition: opacity .2s ease, visibility .2s ease;
}
.fixed-nav-button.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.back-to-top {
  position: fixed;
  bottom: 88px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  text-align: center;
  cursor: pointer;
  z-index: 888;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.back-to-top:focus-visible {
  outline: 3px solid #333;
  outline-offset: 2px;
}
.back-to-page {
  position: fixed;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  text-align: center;
  cursor: pointer;
  z-index: 888;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.hidden {
	display: none;
}
/* ============ 両サイド ============ */
.logo, .sidenav {
	display: none;
}
/* ============ SNS ============ */
.sns-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}
.sns-icons img {
  width: auto;
  height: 30.5px;
}
/* ============ footer ============ */
footer {
  background: #BFA864;
  padding: 50px 16px;
}
.footer-btn {
	width: 100%;
	height: auto;
  margin-bottom: 20px;
}
.footer-btn:hover {
  opacity: 0.5;
  transition-duration: 0.3s;
}
.footer-img {
	width: 100%;
	height: auto;
  margin-bottom: 10px;
}
.copyright {
	font-size: 0.9rem;
	color: white;
	display: block;
	text-align: center;
}
.footer__result a:hover {
	opacity: 0.7;
	transition-duration: 0.3s;
}
/* ============ おみくじ結果ページ ============ */
.container__result-1, .container__result-2, .container__result-3, .container__result-4, .container__result-5 {
	background-size: 100%;
	padding: 0 16px;
	text-align: center;
}
.container__result-1 {
	background-image: url("../img/bg-shima-1.jpg");
}
.container__result-2 {
	background-image: url("../img/bg-shima-2.jpg");
}
.container__result-3 {
	background-image: url("../img/bg-shima-3.jpg");
}
.container__result-4 {
	background-image: url("../img/bg-shima-4.jpg");
}
.container__result-5 {
	background-image: url("../img/bg-shima-5.jpg");
}
.wrapper__result-1, .wrapper__result-2, .wrapper__result-3, .wrapper__result-4, .wrapper__result-5 {
	background-color: white;
	padding: 8px 16px;
} 
.wrapper__result-1 {
	border-left: 3px #FF3700 solid;
	border-right: 3px #FF3700 solid;
}
.wrapper__result-2 {
	border-left: 3px #FF6200 solid;
	border-right: 3px #FF6200 solid;
}
.wrapper__result-3 {
	border-left: 3px #5EB02C solid;
	border-right: 3px #5EB02C solid;
}
.wrapper__result-4 {
	border-left: 3px #00B2BC solid;
	border-right: 3px #00B2BC solid;
}
.wrapper__result-5 {
	border-left: 3px #0082C8 solid;
	border-right: 3px #0082C8 solid;
}
.result-main {
	margin-bottom: 30px;
}
.result-main img {
	width: 85%;
	height: auto;
	margin-bottom: 10px;
}
.lucky-title img {
	width: 100%;
	height: auto;
}
.lucky-item {
	display: flex;
	width: 50%;
	height: auto;
}
.lucky-item img {
	width: 100%;
	height: auto;
}
.footer__result {
	background-color: white;
	padding-bottom: 120px;
}
.footer__result img {
	width: 100%;
	height: auto;
}
/* ============ レスポンシブ微調整 ============ */
@media (min-width: 768px) {
  .fv h1 {
    font-size: 1.8rem;
	} }
	@media (min-width: 1000px) {
		.logo {
			display: block;
			position: fixed;
			top: 40%;
			left: 8%;
			background: #ff3700;
			width: 220px;
			height: 60px;
			padding: 10px; 
		}
		.sidenav {
			display: block;
			background: #ff3700;
			position: fixed;
			top: 20%;
			right: 8%;
			width: 200px;
			color: white;
			padding: 1rem;
		}
		.sidenav__title {
			font-size: 1.5rem;
			margin-bottom: 1rem;
		}
		.sidenav__list {
			list-style: none;
			margin: 0;
			padding: 0;
		}
		.sidenav__list-item {
			border-bottom: 1px solid white;
			padding: 0.8rem 0;
			font-size: 1.1rem;
		}
		.sidenav__list-item a {
			color: white;
			text-decoration: none;
		}
}