/* QAB100years.html — page-specific styles only.
   Shared components (header, footer, nav, hamburger menu, hero base,
   .cta, .message, .representative, .video-container, floating buttons,
   lightbox, section-header/section-line accent) come from css/styles.css.
   This page's hero variant (.hero-background100 etc.) comes from css/hero.css.
   Both stay linked for site-wide consistency — this file holds only the
   sections that are new to this page. Uses the :root variables defined
   in styles.css. */

/* ===========================================
   HERO — 100years.webp already carries a typeset title
   (label + script title + closing quote mark) baked into
   the photo. The DOM heading duplicated it in a different
   font directly on top. Kept the heading in the DOM for
   SEO/a11y, hid it visually, and moved the brief's two
   extra lines to the bottom of the hero, clear of the
   image's own title block.
   =========================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero:has(.hero-background100) .hero-text-s {
  align-self: flex-end;
  padding-bottom: 32px;
}

.hero-tagline {
  font-family: 'Yu Mincho', serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
  color: var(--white);
  margin: 0;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.hero-synopsis {
  font-family: 'Yu Mincho', serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
  margin: 0;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .hero:has(.hero-background100) .hero-text-s {
    padding-bottom: 20px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .hero-synopsis {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-tagline {
    font-size: 16px;
  }

  .hero-synopsis {
    font-size: 11px;
  }
}

/* 100years.webp has its title text typeset close to the image's left/right
   edges. hero.css's shared `cover` sizing crops those edges on narrow
   viewports (box aspect ratio is far taller-relative than the 16:9 photo),
   cutting the title letters off. Switched to `contain` at mobile so the
   full photo — and its full title — is always visible; the resulting
   top/bottom bars read as intentional film-still letterboxing rather than
   a gap. Scoped to this page's hero variant only via qab100years.css. */
@media (max-width: 768px) {
  .hero-background100 {
    background-size: 100% 100%, contain;
    background-color: #b33d31;
  }
}

/* ===========================================
   DRAMA VIDEO
   =========================================== */
.drama-video {
  padding: 80px 0 60px;
  background: var(--white);
  text-align: center;
}

.drama-bts {
  padding-top: 0;
}

.drama-video-lead {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .drama-video {
    padding: 60px 0 40px;
  }
}

/* ===========================================
   DRAMA STORY — 永遠 theme + あらすじ
   =========================================== */
.drama-story {
  padding: 90px 0;
  background: var(--light-bg);
}

/* .section-line's 287px height (styles.css) is sized for the
   absolutely-positioned header treatment used on plans/events/shrines/
   flow, where the section's own content fills that height beside it.
   Here the header sits in normal flow next to a short 2-character
   title, so the full height trails off as bare line — shortened to
   match this section's actual header content. */
.drama-story .section-line {
  height: 170px;
}

/* ===========================================
   MESSAGE DIVIDER — used inside .message-text to separate
   the director's bio paragraph from his personal comment.
   =========================================== */
.message-divider {
  width: 48px;
  height: 1px;
  background: var(--primary-color);
  opacity: 0.4;
  margin: 32px 0;
}

.message-text h3 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--primary-color);
  margin: 0 0 16px;
}

/* ===========================================
   原案者 MESSAGE — styles.css has a blanket
   `* img { max-width: 100% !important; }` reset that
   overrides .message-image img's intended 500px cap.
   Never surfaced before since the director's photo is
   already under 500px natively; nishi.webp (600px wide)
   exposes it. Overriding !important with !important on a
   more specific selector, scoped to this instance only.
   =========================================== */
.message-nishi .message-image img {
  max-width: min(500px, 80vw) !important;
}

/* ===========================================
   REPRESENTATIVE MESSAGE — this page's heading
   ("「100年後の、私たちへ。」") is longer than "代表の想い"
   on index.html, so styles.css's 178px max-width (sized for
   that short title) was wrapping it. Widened to match
   .message-header's 500px, scoped to this page only.
   =========================================== */
.representative-header {
  max-width: 500px;
}

/* ===========================================
   NAMINOUE SHRINE (波上宮)
   =========================================== */
.drama-shrine {
  padding: 90px 0;
  background: var(--white);
}

.drama-shrine-lead {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  color: var(--text-color);
  max-width: 810px;
  margin: 0 auto 40px;
}

.drama-shrine-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 810px;
  margin: 0 auto 40px;
}

.drama-shrine-photo {
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.drama-shrine-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drama-shrine-note {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  color: var(--text-color);
  max-width: 810px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .drama-shrine {
    padding: 60px 0;
  }

  .drama-shrine-lead,
  .drama-shrine-note {
    font-size: 15px;
  }

  .drama-shrine-photos {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   "A WEDDING LIKE THE DRAMA"
   =========================================== */
.drama-wedding {
  padding: 90px 0;
  background: var(--light-bg);
}

.drama-wedding-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 810px;
  margin: 0 auto 56px;
}

.drama-wedding-photo {
  aspect-ratio: 3 / 4;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.drama-wedding-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drama-wedding-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.drama-wedding-label {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.drama-wedding-text h2 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.6;
  color: var(--secondary-color);
  margin-bottom: 32px;
}

.drama-wedding-body {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  color: var(--text-color);
  margin-bottom: 32px;
}

.drama-wedding-closing {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .drama-wedding {
    padding: 60px 0;
  }

  .drama-wedding-photos {
    grid-template-columns: 1fr 1fr;
  }

  .drama-wedding-text h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .drama-wedding-photos {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   BRAND TRANSITION + RYUKYU WAKON INTRO
   =========================================== */
.drama-brand {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.drama-brand-transition {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.8;
  color: var(--secondary-color);
  margin-bottom: 56px;
}

.drama-brand-logo {
  margin-bottom: 56px;
}

.drama-brand-logo img {
  width: 220px;
  margin: 0 auto;
}

.drama-brand-about {
  max-width: 680px;
  margin: 0 auto;
}

.drama-brand-about h2 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.drama-brand-about p {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .drama-brand {
    padding: 70px 0;
  }

  .drama-brand-transition {
    font-size: 22px;
  }

  .drama-brand-logo img {
    width: 180px;
  }
}

/* ===========================================
   1周年 BRAND STORY
   =========================================== */
.drama-milestone {
  padding: 90px 0;
  background: var(--light-bg);
}

.drama-milestone-label {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 32px;
}

.drama-milestone-text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  color: var(--text-color);
  max-width: 810px;
  margin: 0 auto 40px;
}

.drama-milestone-social {
  justify-content: center;
}

@media (max-width: 768px) {
  .drama-milestone {
    padding: 60px 0;
  }

  .drama-milestone-label {
    font-size: 18px;
  }

  .drama-milestone-text {
    font-size: 15px;
  }
}

/* ===========================================
   ANNIVERSARY LIMITED PLAN
   =========================================== */
.drama-plan {
  padding: 90px 0;
  background: var(--white);
}

.drama-plan-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--light-bg);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  text-align: center;
}

.drama-plan-eyebrow {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.drama-plan-name {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.drama-plan-price {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.drama-plan-price span {
  font-size: 18px;
  font-weight: 400;
  margin-left: 4px;
}

.drama-plan-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  margin-bottom: 32px;
}

.drama-plan-benefit {
  background: var(--white);
  border-radius: 5px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.drama-plan-benefit-label {
  display: inline-block;
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  background: var(--primary-color);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.drama-plan-benefit p {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
}

.drama-plan-condition {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 40px;
}

.drama-plan-includes {
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.drama-plan-includes h3 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.drama-plan-includes ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drama-plan-includes li {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  padding-left: 20px;
  position: relative;
}

.drama-plan-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .drama-plan {
    padding: 60px 0;
  }

  .drama-plan-card {
    padding: 40px 24px;
  }

  .drama-plan-name {
    font-size: 24px;
  }

  .drama-plan-price {
    font-size: 32px;
  }
}

/* ===========================================
   FAQ
   =========================================== */
.drama-faq {
  padding: 90px 0;
  background: var(--light-bg);
}

.drama-faq-heading {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 48px;
}

.drama-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.drama-faq-item {
  background: var(--white);
  border-radius: 5px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
}

.drama-faq-q {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.drama-faq-a {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .drama-faq {
    padding: 60px 0;
  }

  .drama-faq-heading {
    font-size: 24px;
  }

  .drama-faq-item {
    padding: 20px;
  }
}

/* ===========================================
   CLOSING COPY
   =========================================== */
.drama-closing {
  padding: 110px 0;
  background: var(--white);
  text-align: center;
}

.drama-closing-text {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.9;
  color: var(--secondary-color);
  margin-bottom: 48px;
}

.drama-closing-tagline {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.8;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .drama-closing {
    padding: 70px 0;
  }

  .drama-closing-text {
    font-size: 20px;
  }

  .drama-closing-tagline {
    font-size: 14px;
  }
}

/* ===========================================
   PROGRAM INFO + CAST/CREW CREDITS
   =========================================== */
.drama-credits {
  padding: 90px 0;
  background: var(--light-bg);
}

.drama-credits-photo {
  max-width: 810px;
  margin: 0 auto 64px;
  border-radius: 5px;
  overflow: hidden;
}

.drama-credits-photo img {
  width: 100%;
  height: auto;
}

.drama-credits-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, #f3ece4 10px, #f3ece4 20px);
  border: 1px dashed var(--primary-color);
  color: var(--primary-color);
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.drama-credits-info {
  max-width: 700px;
  margin: 0 auto 56px;
}

.drama-credits-info:last-child {
  margin-bottom: 0;
}

.drama-credits-info h2 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.drama-credits-list div {
  display: flex;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.drama-credits-list div:last-child {
  border-bottom: none;
}

.drama-credits-list dt {
  flex: 0 0 140px;
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary-color);
}

.drama-credits-list dd {
  flex: 1;
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-color);
}

.drama-credits-list dd a {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .drama-credits {
    padding: 60px 0;
  }

  .drama-credits-list div {
    flex-direction: column;
    gap: 4px;
  }

  .drama-credits-list dt {
    flex: none;
  }
}

.drama-story-lead {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 2;
  color: var(--text-color);
  max-width: 810px;
  margin: 0 auto 48px;
}

.drama-story-stills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 810px;
  margin: 0 auto 64px;
}

.drama-story-still {
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  overflow: hidden;
}

.drama-story-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drama-story-synopsis p {
  margin-bottom: 48px;
}

.drama-story-still.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, #f3ece4 10px, #f3ece4 20px);
  border: 1px dashed var(--primary-color);
  color: var(--primary-color);
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.drama-story-synopsis {
  max-width: 810px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.drama-story-synopsis h3 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.drama-story-synopsis p {
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .drama-story {
    padding: 60px 0;
  }

  .drama-story-lead {
    font-size: 15px;
  }

  .drama-story-stills {
    grid-template-columns: 1fr;
  }

  .drama-story-synopsis h3 {
    font-size: 20px;
  }

  .drama-story-synopsis p {
    font-size: 15px;
  }
}