/* ===== CSS Variables ===== */
:root {
  --sakura-pink:   #F5A8C0;
  --sakura-light:  #FDE8EF;
  --sakura-deep:   #D4547A;
  --piclive-blue:  #2B7FD4;
  --piclive-light: #E8F4FF;
  --text-main:     #3D2B35;
  --text-sub:      #8C6070;
  --white:         #FFFFFF;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== Body & Background ===== */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background: linear-gradient(135deg, #FDE8EF 0%, #fff5f7 50%, #FDE8EF 100%);
  background-image: url('images/bg-side.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* ===== Main Column ===== */
#main-column {
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #FDE8EF 100%);
  position: relative;
  z-index: 1;
}

/* ===== Side Panels ===== */
#side-left {
  position: fixed;
  left: 0;
  top: 0;
  width: calc(50vw - 210px);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

#side-right {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: calc(50vw - 210px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  z-index: 0;
}

/* ===== PC: box shadow ===== */
@media (min-width: 769px) {
  #main-column {
    box-shadow: 0 0 60px rgba(180, 80, 100, 0.12);
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  #side-left,
  #side-right {
    display: none;
  }

  #main-column {
    max-width: 100%;
  }

  body {
    background-image: none;
    background: linear-gradient(180deg, #ffffff 0%, #FDE8EF 100%);
  }
}

/* ===== Side Left Decoration ===== */
.side-left-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 800;
  font-size: 1rem;
  color: var(--sakura-pink);
  opacity: 0.5;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.12em;
  user-select: none;
}

.side-petal {
  position: absolute;
  width: 10px;
  height: 15px;
  border-radius: 50% 0 50% 0;
  background: rgba(245, 168, 192, 0.5);
  animation: petalSide linear infinite;
  pointer-events: none;
}

/* ===== Side Right ===== */
.side-right-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: var(--sakura-deep);
  text-align: center;
  line-height: 1.7;
  margin-bottom: 4px;
}

.side-store-btn {
  display: block;
  line-height: 0;
  transition: opacity 0.2s;
;
}

.side-store-btn:hover {
  opacity: 0.75;
}

/* ===== Petal Animations ===== */
@keyframes petalFall {
  0%   { transform: translateY(-20px) translateX(0)    rotate(0deg);   opacity: 0.9; }
  50%  { transform: translateY(40vh)  translateX(20px) rotate(180deg); opacity: 0.6; }
  100% { transform: translateY(90vh)  translateX(-10px) rotate(360deg); opacity: 0; }
}

@keyframes petalSide {
  0%   { transform: translateY(-20px) translateX(0)    rotate(0deg);   opacity: 0.7; }
  100% { transform: translateY(100vh) translateX(15px)  rotate(360deg); opacity: 0; }
}

.petal {
  position: absolute;
  width: 12px;
  height: 18px;
  border-radius: 50% 0 50% 0;
  background: rgba(245, 168, 192, 0.7);
  animation: petalFall linear infinite;
  pointer-events: none;
}

/* ===== Scroll Fade-in ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Section Base ===== */
section {
  padding: 56px 28px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

/* ===== ① Hero ===== */
#hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 28px 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #FDE8EF 0%, #F5A8C0 100%);
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center top;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(253,232,239,0.75) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo-img {
  height: 28px;
  width: auto;
  display: block;
  margin: 0 auto 32px;
}

.hero-pin-img {
  width: 94px;
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

.hero-catchcopy {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  color: var(--sakura-deep);
  text-shadow: 0 2px 8px rgba(212, 84, 122, 0.15);
  line-height: 1.45;
  margin-bottom: 22px;
}

.hero-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-block;
  background: rgba(253, 232, 239, 0.85);
  color: var(--sakura-deep);
  border: 2px solid var(--sakura-pink);
  border-radius: 999px;
  padding: 9px 22px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.88rem;
}

/* ===== Section decoration ===== */
#about,
#prizes,
#how-to,
#tips {
  position: relative;
  overflow: hidden;
}

.section-deco {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 110px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* ===== ② About ===== */
#about {
  background: white;
}

.about-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.93rem;
  color: var(--text-main);
  line-height: 1.95;
  margin-bottom: 24px;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  display: block;
}

.about-img-fallback {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--sakura-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.map-mock {
  background: var(--piclive-light);
  border-radius: 12px;
  padding: 18px 18px 40px;
  position: relative;
  min-height: 200px;
}

.map-mock-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.map-mock-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--piclive-blue);
}

.map-pin {
  position: absolute;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  line-height: 1;
}

.map-pin:hover {
  transform: scale(1.3);
}

/* ===== ③ Prizes ===== */
#prizes {
  background: var(--sakura-light);
}

.prize-card {
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 16px;
  text-align: center;
}

/* Gradient border via pseudo-element */
.prize-card-gold {
  background: linear-gradient(135deg, #fffbf0, #fff8e0);
  position: relative;
}

.prize-card-gold::before {
  content: '';
  position: absolute;
 
  border-radius: 14px;
  z-index: -1;
}

.prize-card-silver {
  background: linear-gradient(135deg, #fafafa, #f5f5f5);
  
}

.prize-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.prize-item {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.prize-amount {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--sakura-deep);
}

.prize-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-top: 8px;
}

/* ===== ④ How To ===== */
#how-to {
  background: white;
}

.step-card {

  background: #fdf5f7;
  border-radius: 0 12px 12px 0;
  padding: 20px 20px 22px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 8px 24px rgba(212, 84, 122, 0.15);
  transform: translateY(-2px);
}

.step-label {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 8px;
}

.step-word {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  color: var(--text-sub);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--sakura-deep);
  line-height: 1;
}

.step-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.step-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 14px;
}

.step-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto;
}

.step-store-btn {
  display: block;
  line-height: 0;
  transition: opacity 0.2s;
   margin:0.5em auto;
}

.step-store-btn:hover {
  opacity: 0.78;
}

.store-btn-img {
  width: 160px;
  height: auto;
  display: block;
}

.step-arrow {
  text-align: center;
  padding: 14px 0;
}

.how-to-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 18px;
  line-height: 1.7;
}

/* ===== ⑤ Tips ===== */
#tips {
  background: var(--sakura-light);
}

.tip-card {
  background: white;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tip-card:last-child {
  margin-bottom: 0;
}

.tip-icon {
  width: 30px;
  flex-shrink: 0;
  padding-top: 1px;
}

.tip-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.75;
}

/* ===== ⑥ Period ===== */
#period {
  background: white;
  text-align: center;
}

.period-dates {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--sakura-deep);
  line-height: 1.65;
  margin-bottom: 24px;
}

.period-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.9;
  text-align: left;
}

.period-note p + p {
  margin-top: 4px;
}

/* ===== ⑦ Notes ===== */
#notes {
  background: #f9f9f9;
}

.notes-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.notes-list {
  list-style: none;
  padding: 0;
}

.notes-list li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.9;
  padding-left: 1.1em;
  position: relative;
}

.notes-list li::before {
  content: '・';
  position: absolute;
  left: 0;
}

/* ===== ⑧ Footer ===== */
#footer {
  background: var(--text-main);
  color: white;
  text-align: center;
  padding: 52px 28px 44px;
}

.footer-logo-img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

.footer-tagline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  opacity: 0.65;
  margin-bottom: 28px;
}

.footer-info {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  opacity: 0.8;
  line-height: 2.1;
}

.footer-info a {
  color: var(--sakura-pink);
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  opacity: 0.45;
  margin-top: 24px;
}
