* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #eef1f4;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #2b2621;
}
a { color: #3a67c4; text-decoration: none; }
a:hover { color: #2c5099; }
img { max-width: 100%; }
::selection { background: #e6d38a; color: #2b2621; }

.ya-page {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #2b2621;
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

.ya-hidden { display: none; }

/* ---- ストーリー記事（GALLERY / SERIES）---- */
.ya-story {
  background: rgb(28,26,23);
  min-height: 100vh;
}

.ya-story .entry-content p {
  font-size: 16px;
  line-height: 2.1;
  color: rgb(216,208,194);
  margin: 0 0 28px;
}

.ya-story .entry-content figure.wp-block-image {
  position: relative;
  background: rgb(20,18,15);
  padding: 22px 22px 26px;
  margin: 56px 0;
  box-shadow: rgba(0,0,0,0.4) 0 20px 40px;
}
.ya-story .entry-content figure.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}
.ya-story .entry-content figure.wp-block-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  color: rgb(168,155,131);
}

.ya-story .entry-content blockquote {
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-size: 22px;
  line-height: 1.9;
  color: #f4efe4;
  max-width: 90%;
  margin: 60px auto;
  border: none;
  padding: 0;
}
.ya-story .entry-content blockquote p { color: #f4efe4; margin: 0; }

.ya-story .entry-content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 56px 0;
}
.ya-story .entry-content .wp-block-gallery figure.wp-block-image {
  background: rgb(251,248,240);
  padding: 14px 14px 34px;
  box-shadow: rgba(0,0,0,0.3) 0 10px 30px;
  margin: 0;
}
.ya-story .entry-content .wp-block-gallery figure.wp-block-image:nth-child(odd) { transform: rotate(-1.5deg); }
.ya-story .entry-content .wp-block-gallery figure.wp-block-image:nth-child(even) { transform: rotate(1.5deg); }
.ya-story .entry-content .wp-block-gallery figcaption {
  color: rgb(91,84,73);
  font-size: 13px;
  margin-top: 10px;
}

@media (max-width: 700px) {
  .ya-story .entry-content .wp-block-gallery { grid-template-columns: 1fr; }
}

/* ---- ヘッダー ---- */
.ya-header-inner nav a,
.ya-header-inner nav span {
  color: #2b2621;
}

/* ---- レスポンシブ ---- */
@media (max-width: 900px) {
  .ya-header-inner { flex-wrap: wrap; gap: 14px !important; padding: 12px 20px !important; }
  .ya-header-inner nav { display: none !important; }

  .ya-hero { height: 70vh !important; min-height: 460px !important; }
  .ya-hero-logo { width: min(80vw, 420px) !important; }
  .ya-feature-card { right: 4% !important; width: 170px !important; }

  .ya-latest-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .ya-chapter-grid {
    grid-template-columns: 1fr !important;
  }
  .ya-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .ya-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .ya-gallery-hero { margin-bottom: 48px !important; }
  .ya-gallery-hero-title { font-size: 22px !important; margin-top: 20px !important; }
  .ya-artist-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 36px 24px !important;
  }
}

@media (max-width: 600px) {
  h1, .ya-headline { font-size: 26px !important; }
  .ya-cta-box { padding: 32px 20px !important; }
  .ya-artist-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px 20px !important;
  }
}
