.header { background-color: #fff; }

.tarot-page-main {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  background: #211d20;
  padding-bottom: 80px;
}

.tarot-page-main::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #211d20 url('/images/hoshino-antique-sky-20261129.jpg') center / cover no-repeat;
}

.tarot-page-main .travel-tarot-hero {
  background: transparent;
  padding: clamp(48px, 6vw, 88px) 24px 12px;
}

.tarot-page-main .travel-tarot-image {
  width: min(100%, 1000px);
  max-height: none;
  height: auto;
}

.tarot-page-main .tarot-page-header { padding: 28px 0 0; }
.tarot-page-main .section-header { margin-bottom: 56px; }
.tarot-page-main .section-title { color: #f3eadc; font-size: clamp(24px, 3.5vw, 36px); line-height: 1.65; }
.tarot-page-main .section-label { color: #c9bba9; }
.tarot-page-main .zodiac-date { color: #e1c78e; font-weight: 500; margin-top: 30px; }
.tarot-page-main .back-link { color: #d6cabc; }
.tarot-page-main .back-link:hover { color: #fff9ee; }
.tarot-page-main a:focus-visible { outline: 2px solid #e1c78e; outline-offset: 5px; }

.tarot-page-main .zodiac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tarot-page-main .zodiac-item {
  background: #f5f0e7;
  border: 1px solid #bca57d;
  border-radius: 5px;
  padding: 24px;
}
.tarot-page-main .zodiac-item::before { display: none; }
.tarot-page-main .zodiac-image-wrapper { max-width: 260px; margin: 0 auto 24px; }
.tarot-page-main .zodiac-name { font-family: 'Shippori Mincho', serif; font-size: 21px; color: #51463d; text-shadow: none; }
.tarot-page-main .zodiac-period { color: #756b60; font-weight: 400; text-shadow: none; }
.tarot-page-main .zodiac-card { color: #8c533e; text-shadow: none; }
.tarot-page-main .zodiac-card.is-compact { font-size: .9rem; white-space: normal; }
.tarot-page-main .zodiac-message { color: #514a43; font-size: .95rem; font-weight: 400; line-height: 1.95; text-shadow: none; }
.tarot-page-main .kaiun-section { background: #eee4d6; border-color: #dbcdb9; }
.tarot-page-main .kaiun-label { color: #8c533e; }
.tarot-page-main .kaiun-message { color: #645447; }

.tarot-page-main .tarot-course-invitation {
  max-width: 680px;
  margin: 80px auto 0;
  padding: 36px 24px;
  border-block: 1px solid #766650;
  text-align: center;
  color: #e5dacb;
}
.tarot-page-main .tarot-course-invitation p { font-size: .95rem; line-height: 2; }
.tarot-page-main .tarot-course-links { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.tarot-page-main .tarot-course-link { padding: 14px 24px; border: 1px solid #bba57d; color: #f1e6d3; font-size: .9rem; letter-spacing: .08em; }
.tarot-page-main .tarot-course-link:hover { background: #43382e; opacity: 1; }
.tarot-page-main .tarot-return { margin-top: 40px; text-align: center; }
.tarot-page-main .tarot-return .back-link { font-size: .9rem; }

@media (max-width: 1000px) {
  .tarot-page-main .zodiac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 640px) {
  .tarot-page-main > .container { padding-inline: 24px; }
  .tarot-page-main .travel-tarot-hero { padding: 42px 12px 8px; }
  .tarot-page-main .tarot-page-header { padding-top: 20px; }
  .tarot-page-main .section-title { font-size: 24px; letter-spacing: .04em; }
  .tarot-page-main .zodiac-date { font-size: 24px; }
  .tarot-page-main .zodiac-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .tarot-page-main .zodiac-info, .tarot-page-main .zodiac-content { padding-inline: 0; }
  .tarot-page-main .tarot-course-invitation { margin-top: 60px; padding: 30px 0; }
}
