/* ============================================
   WANDERLUST EARTH BLOCKS - Frontend CSS
   React版を忠実に再現
   ============================================ */

/* --- CSS Variables --- */
:root {
  --we-deep-ocean: #1E3A8A;
  --we-emerald: #10B981;
  --we-sky: #38BDF8;
}

/* --- Fonts --- */
.font-lato { font-family: 'Lato', sans-serif !important; }
.font-noto { font-family: 'Noto Sans JP', sans-serif !important; }

/* --- Animations --- */
@keyframes we-gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes we-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes we-fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes we-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes we-spinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.we-bounce { animation: we-bounce 1.5s ease infinite; }

/* --- Gradient Utilities --- */
.earth-btn-bg {
  background: linear-gradient(270deg, #1E3A8A, #10B981, #38BDF8, #1E3A8A);
  background-size: 300% 300%;
  animation: we-gradientFlow 6s ease infinite;
}

.text-earth-gradient-anim {
  background: linear-gradient(270deg, #1E3A8A, #10B981, #38BDF8, #1E3A8A);
  background-size: 300% 300%;
  animation: we-gradientFlow 6s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-earth-gradient {
  background: linear-gradient(90deg, #10B981, #38BDF8, #1E3A8A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Fade-up animation (IntersectionObserver) --- */
.we-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.we-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   0. PRISM OVERLAY
   ============================================ */
.we-prism-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255,230,230,0.03), rgba(230,240,255,0.03), rgba(250,250,230,0.03));
  mix-blend-mode: overlay;
}

/* ============================================
   1. OPENING
   ============================================ */
.we-opening {
  /* block wrapper reset */
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.we-opening__overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  padding: 0 16px;
  transition: opacity 2s ease-in-out;
}

.we-opening__overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.we-opening__overlay.is-gone {
  display: none;
}

.we-opening__inner {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 28rem;
}

.we-opening__title {
  font-family: 'Lato', sans-serif !important;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.625;
  opacity: 0;
  transform: scale(0.95);
  filter: blur(10px);
  animation: we-opening-text 2s ease-out forwards;
}

@keyframes we-opening-text {
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.we-opening__br-mobile { display: block; }

.we-opening__line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(16,185,129,0.5), transparent);
  width: 100%;
  margin-top: 1.5rem;
  transform: scaleX(0);
  opacity: 0;
  animation: we-opening-line 2s ease-in-out 0.3s forwards;
}

@keyframes we-opening-line {
  to { transform: scaleX(1); opacity: 1; }
}

@media (min-width: 768px) {
  .we-opening__title { font-size: 3rem; }
  .we-opening__br-mobile { display: none; }
}

/* ============================================
   2. NAVIGATION
   ============================================ */
.we-nav-wrapper {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.we-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: all 0.5s ease;
  padding: 1rem 0;
  background: transparent;
}

.we-nav.is-scrolled {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.we-nav__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.we-nav__brand {
  font-family: 'Lato', sans-serif !important;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
  transition: color 0.5s;
}

.we-nav.is-scrolled .we-nav__brand {
  color: #1f2937;
  filter: none;
}

.we-nav__menu-desktop {
  font-family: 'Lato', sans-serif !important;
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  transition: color 0.5s;
}

.we-nav.is-scrolled .we-nav__menu-desktop {
  color: #6b7280;
}

.we-nav__link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.we-nav__link:hover { color: #34d399; }

.we-nav__hamburger {
  display: block;
  z-index: 70;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s;
}

.we-nav.is-scrolled .we-nav__hamburger { color: #1f2937; }

.we-nav__icon-close { display: none; }
.we-nav__hamburger.is-open .we-nav__icon-menu { display: none; }
.we-nav__hamburger.is-open .we-nav__icon-close { display: block; color: #1f2937; }

/* Drawer */
.we-nav__drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.we-nav__drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.we-nav__drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.we-nav__drawer-link {
  font-family: 'Lato', sans-serif !important;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #1f2937;
  text-decoration: none;
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s, color 0.3s;
}

.we-nav__drawer.is-open .we-nav__drawer-link {
  opacity: 1;
  transform: translateY(0);
}

.we-nav__drawer.is-open .we-nav__drawer-link:nth-child(1) { transition-delay: 0.1s; }
.we-nav__drawer.is-open .we-nav__drawer-link:nth-child(2) { transition-delay: 0.2s; }
.we-nav__drawer.is-open .we-nav__drawer-link:nth-child(3) { transition-delay: 0.3s; }
.we-nav__drawer.is-open .we-nav__drawer-link:nth-child(4) { transition-delay: 0.4s; }

.we-nav__drawer-link:hover { color: #10b981; }

.we-nav__drawer-line {
  width: 3rem;
  height: 1px;
  background: linear-gradient(to right, #34d399, #3b82f6);
  margin: 3rem auto 0;
  transform: scaleX(0);
  transition: transform 0.6s 0.4s;
}

.we-nav__drawer.is-open .we-nav__drawer-line {
  transform: scaleX(1);
}

@media (min-width: 768px) {
  .we-nav__inner { padding: 0 1.5rem; }
  .we-nav__brand { font-size: 1.25rem; }
  .we-nav__menu-desktop { display: flex; }
  .we-nav__hamburger { display: none; }
  .we-nav { padding: 1.5rem 0; }
  .we-nav.is-scrolled { padding: 1rem 0; }
}

/* ============================================
   3. PROLOGUE
   ============================================ */
.we-prologue {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
  background: #fff;
}

.we-prologue__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  will-change: transform;
}

.we-prologue__bg-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.we-prologue__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
}

.we-prologue__bg-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  mix-blend-mode: multiply;
}

.we-prologue__bg-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent, rgba(0,0,0,0.4));
}

.we-prologue__fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: linear-gradient(to top, #fff, rgba(255,255,255,0.4), transparent);
  z-index: 20;
  pointer-events: none;
}

.we-prologue__content {
  position: relative;
  z-index: 30;
  text-align: center;
  max-width: 56rem;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}

@media (min-width: 768px) {
  .we-prologue__content { margin-top: 8rem; }
}

.we-prologue__title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.we-prologue__title-sub1 {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.5rem;
  opacity: 0.9;
}

.we-prologue__title-bold {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
}

.we-prologue__title-accent {
  display: block;
  margin-top: 0.75rem;
}

.we-prologue__title-accent .we-prologue__title-bold {
  display: inline;
  margin-top: 0;
}

.we-prologue__title-small {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .we-prologue__title { font-size: 3rem; line-height: 1.75; margin-bottom: 2.5rem; }
  .we-prologue__title-sub1 { font-size: 2.25rem; margin-top: 1rem; }
  .we-prologue__title-bold { font-size: 3rem; margin-top: 0.5rem; }
  .we-prologue__title-small { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .we-prologue__title { font-size: 3.75rem; }
  .we-prologue__title-sub1 { font-size: 3rem; }
  .we-prologue__title-bold { font-size: 3.75rem; }
  .we-prologue__title-small { font-size: 1.5rem; }
}

.we-prologue__scroll {
  margin-top: 3rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .we-prologue__scroll { margin-top: 4rem; }
}

.we-prologue__scroll-text {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .we-prologue__scroll-text { font-size: 1rem; }
}

.we-prologue__scroll-icon {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

@media (min-width: 768px) {
  .we-prologue__scroll-icon { width: 36px; height: 36px; }
}

/* ============================================
   4. STORY SECTION
   ============================================ */
.we-story {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  height: 550vh;
  width: 100vw !important;
}

.we-story__bg-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  z-index: 0;
}

.we-story__bg-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40vh;
  background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.6), transparent);
  z-index: 20;
}

.we-story__bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

.we-story__bg-warm { z-index: 0; }
.we-story__bg-dusk { z-index: 10; }
.we-story__bg-meadow { z-index: 20; }

.we-story__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.we-story__bg-warm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  mix-blend-mode: overlay;
}

.we-story__bg-dusk-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,0.2);
  mix-blend-mode: multiply;
}

.we-story__bg-meadow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent, transparent);
}

.we-story__bg-meadow .we-story__bg-img { opacity: 0.9; }

.we-story__bg-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: linear-gradient(to top, #fff, rgba(255,255,255,0.9), transparent);
  z-index: 30;
}

/* Content Layer */
.we-story__content-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.we-story__band {
  width: 86%;
  max-width: 32rem;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  padding: 8rem 0 12rem;
  margin-top: 5vh;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  transition: opacity 0.5s, transform 0.3s;
}

@media (min-width: 768px) {
  .we-story__band {
    width: 50%;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  }
}

@media (min-width: 1024px) {
  .we-story__band { width: 38%; }
}

/* Story Parts */
.we-story__part {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .we-story__part { padding: 3rem; }
}

.we-story__part-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .we-story__part-inner { gap: 3rem; }
}

/* Story Text Styles */
.we-story__text-lg {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.25rem;
  line-height: 2;
  color: #111827;
  font-weight: 500;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
}

.we-story__text-md {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.125rem;
  line-height: 2;
  color: #1f2937;
  font-weight: 400;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
}

.we-story__text-xl {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.5rem;
  line-height: 1.4;
  color: #111827;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
}

.we-story__text-bold { font-weight: 700; }

.we-story__quote {
  padding: 0.5rem 0;
}

.we-story__text-italic {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.125rem;
  color: #4b5563;
  font-style: italic;
  font-weight: 400;
  opacity: 0.9;
}

.we-story__text-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.we-story__heading {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
}

.we-story__warm-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.125rem;
  line-height: 2;
  color: #1f2937;
  font-weight: 500;
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
}

.we-story__accent-block {
  display: block;
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

@media (min-width: 768px) {
  .we-story__text-lg { font-size: 1.5rem; }
  .we-story__text-md { font-size: 1.25rem; }
  .we-story__text-xl { font-size: 1.875rem; }
  .we-story__heading { font-size: 2.25rem; margin-bottom: 2rem; }
  .we-story__warm-body { font-size: 1.25rem; }
  .we-story__text-italic { font-size: 1.25rem; }
}

/* ============================================
   5. SHIFT (Chapter 3)
   ============================================ */
.we-shift {
  max-width: none !important;
  margin: 0 !important;
  padding: 6rem 0 !important;
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .we-shift { padding: 8rem 0 !important; }
}

.we-shift__glow {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  overflow: hidden;
}

.we-shift__glow-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20rem;
  height: 20rem;
  margin-top: -10rem;
  margin-left: -10rem;
  border-radius: 50%;
  background: linear-gradient(to right, #dbeafe, #ede9fe, #fce7f3);
  filter: blur(40px);
  mix-blend-mode: multiply;
  animation: we-spin 30s linear infinite;
}

.we-shift__glow-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16rem;
  height: 16rem;
  margin-top: -8rem;
  margin-left: -8rem;
  border-radius: 50%;
  background: linear-gradient(to bottom, #d1fae5, #fef9c3, #e0f2fe);
  filter: blur(40px);
  mix-blend-mode: multiply;
  animation: we-spinReverse 25s linear infinite;
}

@media (min-width: 768px) {
  .we-shift__glow-1 { width: 50rem; height: 50rem; margin-top: -25rem; margin-left: -25rem; filter: blur(48px); }
  .we-shift__glow-2 { width: 40rem; height: 40rem; margin-top: -20rem; margin-left: -20rem; filter: blur(48px); }
}

.we-shift__inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.we-shift__title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: #111827;
}

.we-shift__title-accent {
  display: block;
  margin-top: 1rem;
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  .we-shift__title { font-size: 3rem; margin-bottom: 4rem; }
  .we-shift__title-accent { font-size: 3.75rem; }
}

.we-shift__body {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.125rem;
  color: #374151;
  line-height: 2;
}

@media (min-width: 768px) {
  .we-shift__body { gap: 4rem; font-size: 1.25rem; }
}

.we-shift__keyword {
  font-size: 1.5rem;
  color: #111827;
  font-weight: 700;
  margin: 0 0.25rem;
}

.we-shift__quote {
  font-size: 1.5rem;
  color: #111827;
  font-weight: 700;
  padding: 1.5rem 0;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .we-shift__quote { font-size: 1.875rem; }
}

.we-shift__italic {
  font-style: italic;
  color: #6b7280;
  font-weight: 300;
}

.we-shift__discovery {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.we-shift__discovery-pre {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.we-shift__discovery-main {
  font-size: 3rem;
  font-weight: 700;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .we-shift__discovery-main { font-size: 3.75rem; }
}

.we-shift__discovery-post {
  font-size: 1.125rem;
  color: #4b5563;
  margin-top: 0.5rem;
}

/* ============================================
   6. DEPARTURE + CTA + COMPASS
   ============================================ */
.we-departure-wrap {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 40;
  background: #fff;
}

/* --- Departure Visual --- */
.we-dep {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.we-dep__bg {
  position: absolute;
  inset: 0;
}

.we-dep__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.we-dep__bg-tint {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
}

.we-dep__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent, rgba(0,0,0,0.3));
}

.we-dep__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 56rem;
  width: 100%;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .we-dep__content { padding-bottom: 0; }
}

.we-dep__title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.75;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

@media (min-width: 768px) {
  .we-dep__title { font-size: 3.75rem; }
}

.we-dep__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-weight: 500;
  line-height: 1.75;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .we-dep__body { font-size: 1.875rem; margin-top: 4rem; }
}

.we-dep__accent {
  font-size: 1.875rem;
  font-weight: 700;
  border-bottom: 2px solid #34d399;
  padding-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .we-dep__accent { font-size: 2.25rem; }
}

.we-dep__footnote {
  font-family: 'Zen Old Mincho', serif;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  padding-top: 2rem;
  font-weight: 300;
}

@media (min-width: 768px) {
  .we-dep__footnote { font-size: 1.25rem; }
}

/* --- CTA --- */
.we-cta {
  padding: 6rem 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .we-cta { padding: 8rem 1rem; }
}

.we-cta__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.we-cta__btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 20rem;
  padding: 1rem;
  color: #fff;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}

.we-cta__btn:hover {
  transform: scale(1.05);
}

.we-cta__btn:active {
  transform: scale(0.95);
}

@media (min-width: 768px) {
  .we-cta__btn {
    max-width: none;
    width: auto;
    padding: 1.5rem 6rem;
  }
}

.we-cta__btn-main {
  position: relative;
  z-index: 10;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  opacity: 0.95;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .we-cta__btn-main { font-size: 1.5rem; margin-bottom: 0.5rem; }
}

.we-cta__btn-sub {
  position: relative;
  z-index: 10;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .we-cta__btn-sub { font-size: 1.875rem; }
}

.we-cta__link-wrap {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .we-cta__link-wrap { margin-top: 1rem; }
}

.we-cta__link {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.we-cta__link:hover { color: #059669; }

/* --- COMPASS --- */
.we-compass {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
}

.we-compass.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Compass表示時にナビゲーションを非表示 */
body.we-compass-active .we-nav,
body.we-compass-active .l-header,
body.we-compass-active .l-fixHeader {
  display: none !important;
}

.we-compass__section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem;
}

@media (min-width: 768px) {
  .we-compass__section { padding: 6rem 2rem; }
}

.we-compass__back {
  position: absolute;
  top: 2rem;
  left: 1.5rem;
  z-index: 210;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  font-weight: 700;
  transition: color 0.3s;
}

.we-compass__back:hover { color: #111827; }

@media (min-width: 768px) {
  .we-compass__back { left: 3rem; font-size: 0.875rem; }
}

.we-compass__back-arrow {
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.3s;
}

.we-compass__back:hover .we-compass__back-arrow {
  transform: translateX(-8px);
}

.we-compass__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

.we-compass__glow-1 {
  position: absolute;
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: #d1fae5;
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: multiply;
}

.we-compass__glow-2 {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: #dbeafe;
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: multiply;
}

.we-compass__header {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 3rem;
}

@media (min-width: 768px) {
  .we-compass__header { margin-bottom: 5rem; padding-top: 0; }
}

.we-compass__title {
  color: #111827;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .we-compass__title { font-size: 2.25rem; }
}

.we-compass__subtitle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.we-compass__subtitle {
  color: #9ca3af;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  font-weight: 700;
}

@media (min-width: 768px) {
  .we-compass__subtitle { font-size: 1rem; }
}

.we-compass__divider {
  width: 3rem;
  height: 1px;
  background: #e5e7eb;
  margin-top: 1.5rem;
}

/* Compass Cards */
.we-compass__grid {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 80rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .we-compass__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.we-compass__card {
  position: relative;
  height: 450px;
  border-radius: 2rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  display: block;
  text-decoration: none;
  transition: box-shadow 0.5s;
}

.we-compass__card:hover {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

@media (min-width: 768px) {
  .we-compass__card { height: 550px; }
}

@media (min-width: 1024px) {
  .we-compass__card { height: 600px; }
}

.we-compass__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.we-compass__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease-out;
}

.we-compass__card:hover .we-compass__card-img {
  transform: scale(1.1);
}

.we-compass__card-color {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.5;
  transition: opacity 0.7s;
}

.we-compass__card:hover .we-compass__card-color {
  opacity: 0.3;
}

.we-compass__card-shadow {
  position: absolute;
  inset: 0;
  bottom: 0;
  height: 70%;
  margin-top: auto;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2), transparent);
  opacity: 0.8;
  transition: opacity 0.7s;
}

.we-compass__card:hover .we-compass__card-shadow {
  opacity: 0.9;
}

.we-compass__card-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .we-compass__card-content { padding: 2.5rem; }
}

.we-compass__card-inner {
  transform: translateY(3rem);
  transition: transform 0.7s ease-out;
}

@media (min-width: 768px) {
  .we-compass__card-inner { transform: translateY(4rem); }
}

.we-compass__card:hover .we-compass__card-inner {
  transform: translateY(0);
}

.we-compass__card-category {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.we-compass__card-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  line-height: 2;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  white-space: pre-line;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .we-compass__card-title { font-size: 1.75rem; }
}

.we-compass__card-subtitle {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.we-compass__card-hover {
  opacity: 0;
  transition: opacity 0.5s 0.15s;
}

.we-compass__card:hover .we-compass__card-hover {
  opacity: 1;
}

.we-compass__card-desc {
  color: rgba(255,255,255,0.95);
  font-size: 0.875rem;
  line-height: 2;
  margin-bottom: 2rem;
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .we-compass__card-desc { font-size: 1rem; }
}

.we-compass__card-explore {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.we-compass__card-explore svg {
  margin-left: 0.75rem;
  transition: transform 0.3s;
}

.we-compass__card:hover .we-compass__card-explore svg {
  transform: translateX(8px);
}

/* ============================================
   7. FOOTER
   ============================================ */
.we-footer {
  max-width: none !important;
  margin: 0 !important;
  background: #fff;
  padding: 3rem 0 !important;
  border-top: 1px solid #f3f4f6;
  text-align: center;
  position: relative;
  z-index: 40;
}

.we-footer__brand {
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.we-footer__copyright {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ============================================
   ARKHE THEME INTEGRATION
   ============================================ */
/* Arkheのコンテンツ幅制限を解除 */
.post-content > .we-opening,
.post-content > .we-nav-wrapper,
.post-content > .we-prologue,
.post-content > .we-story,
.post-content > .we-shift,
.post-content > .we-departure-wrap,
.post-content > .we-footer,
.l-content > .we-opening,
.l-content > .we-nav-wrapper,
.l-content > .we-prologue,
.l-content > .we-story,
.l-content > .we-shift,
.l-content > .we-departure-wrap,
.l-content > .we-footer,
.entry-content > .we-opening,
.entry-content > .we-nav-wrapper,
.entry-content > .we-prologue,
.entry-content > .we-story,
.entry-content > .we-shift,
.entry-content > .we-departure-wrap,
.entry-content > .we-footer {
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  width: 100vw !important;
}

/* Arkheのサイドバーを非表示（WEブロックがあるページ） */
body.has-we-blocks .l-sidebar {
  display: none !important;
}

body.has-we-blocks .l-mainContent {
  max-width: 100% !important;
  padding: 0 !important;
}

body.has-we-blocks .l-content__inner {
  max-width: 100% !important;
}

body.has-we-blocks .l-content {
  padding: 0 !important;
}

body.has-we-blocks .p-title--page {
  display: none !important;
}

/* ============================================
   GLOBAL OVERRIDES
   ============================================ */
/* Zen Old Mincho as default for WE blocks */
[class^="we-"] {
  font-family: 'Zen Old Mincho', serif;
  box-sizing: border-box;
}

[class^="we-"] *, [class^="we-"] *::before, [class^="we-"] *::after {
  box-sizing: border-box;
}

/* Reset WP block wrapper margins for full-width blocks */
.wp-block-wanderlust-earth-opening,
.wp-block-wanderlust-earth-navigation,
.wp-block-wanderlust-earth-prologue,
.wp-block-wanderlust-earth-story,
.wp-block-wanderlust-earth-shift,
.wp-block-wanderlust-earth-departure,
.wp-block-wanderlust-earth-site-footer {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
