/* =========================================================
   成人式 振袖前撮り 専用ページ /seijin/
   共通スタイル（../styles.css）を読み込んだ上での上書き・追加
   ========================================================= */

:root {
  --crimson: #a63a3a;      /* 振袖の紅：アクセント */
  --crimson-soft: #fbf1ee; /* 紅の淡色：帯背景 */
}

/* ---------- ヒーロー ---------- */
.seijin-hero {
  min-height: min(88vh, 760px);
  align-items: center;
  background: linear-gradient(90deg, #24302b, #2f4a3d);
}

.seijin-hero-photo {
  position: absolute;
  inset: 0 0 0 34%;
  background: url("../assets/seijin-red-umbrella.jpg") 40% 30% / cover no-repeat;
}

.seijin-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #24302b 0%, rgba(36, 48, 43, 0.6) 22%, rgba(36, 48, 43, 0) 48%);
}

.seijin-hero .hero-copy {
  max-width: 640px;
  padding-bottom: 0;
}

.seijin-hero h1 {
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.2;
}

.br-sp {
  display: none;
}

.seijin-lead {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 16px;
  color: var(--ink);
  background: #f2cf83;
  border-radius: 6px;
  font-weight: 800;
}

.seijin-hero-note {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

/* ---------- キャンペーン帯 ---------- */
.campaign {
  padding: clamp(24px, 4vw, 40px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(90deg, var(--crimson), #c25656);
}

.campaign-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.campaign-label {
  grid-column: 1 / -1;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.campaign h2 {
  margin: 0;
  font-size: clamp(17px, 2.1vw, 24px);
  line-height: 1.5;
}

.campaign-remaining {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  padding: 10px 22px;
  color: var(--crimson);
  background: var(--white);
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.campaign-remaining strong {
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1;
}

/* ---------- 前撮りパック ---------- */
.plan-section {
  background: var(--paper);
}

.plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-top: 32px;
}

.plan-card,
.plan-note {
  padding: clamp(22px, 3.5vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.plan-card {
  border-top: 4px solid var(--crimson);
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.plan-name {
  width: 100%;
  color: var(--green);
  font-weight: 800;
}

.plan-price strong {
  color: var(--crimson);
  font-family: Georgia, serif;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
}

.plan-unit {
  font-size: 18px;
  font-weight: 700;
}

.plan-unit small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.plan-card h3,
.plan-note h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.plan-includes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-includes li {
  display: grid;
  gap: 2px;
  padding: 12px 14px 12px 40px;
  background: var(--soft);
  border-radius: 6px;
  position: relative;
}

.plan-includes li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--green);
  font-weight: 800;
}

.plan-includes strong {
  font-size: 16px;
}

.plan-includes span {
  color: var(--muted);
  font-size: 14px;
}

.plan-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.plan-note ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink);
}

.plan-note li + li {
  margin-top: 4px;
}

.plan-note p {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.option-list {
  margin: 0;
}

.option-list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.option-list dt {
  font-weight: 700;
}

.option-list dd {
  margin: 0;
  color: var(--crimson);
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- 作例ギャラリー ---------- */
.gallery-section {
  background: var(--soft);
}

.seijin-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 280px;
  grid-template-areas:
    "umb umb green"
    "room room green"
    "black kimono zoom";
  gap: 14px;
  margin-top: 24px;
}

.seijin-gallery .work-card { grid-column: auto; grid-row: auto; }
.seijin-gallery .work-card:nth-child(1) { grid-area: umb; }
.seijin-gallery .work-card:nth-child(2) { grid-area: green; }
.seijin-gallery .work-card:nth-child(3) { grid-area: room; }
.seijin-gallery .work-card:nth-child(4) { grid-area: black; }
.seijin-gallery .work-card:nth-child(5) { grid-area: kimono; }
.seijin-gallery .work-card:nth-child(6) { grid-area: zoom; }

.seijin-gallery .work-card:nth-child(2) img { object-position: 50% 20%; }
.seijin-gallery .work-card:nth-child(4) img { object-position: 50% 25%; }

.zoom-card img {
  transform: scale(1.9);
  transform-origin: 57% 36%;
}

/* ---------- フォトムービー ---------- */
.movie-section {
  background: var(--paper);
}

.movie-lead,
.location-lead {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.movie-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.movie-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.movie-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.movie-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 14px 18px;
}

.movie-card figcaption strong {
  color: var(--green);
  font-size: 17px;
}

.movie-card figcaption span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- お客様の声（準備中プレースホルダー） ---------- */
.testimonial-card.is-placeholder {
  border-style: dashed;
  box-shadow: none;
}

.testimonial-card.is-placeholder blockquote {
  color: var(--muted);
}

/* ---------- おすすめロケ地 ---------- */
.location-section {
  background: var(--paper);
}

.location-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.location-list li {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 3px solid var(--leaf);
}

.location-list strong,
.location-list span {
  display: block;
}

.location-list strong {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 18px;
}

.location-list span {
  color: var(--muted);
  font-size: 14px;
}

.location-note {
  margin: 18px 0 0;
  color: var(--muted);
}

/* ---------- 空き状況 ---------- */
.availability {
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.availability-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.availability h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.availability p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

/* ---------- Q&A ---------- */
.faq details p {
  margin: 8px 0 0;
}

/* ---------- 予約ボタン ---------- */
.seijin-reserve {
  background: linear-gradient(90deg, var(--green), #4f7a5e);
}

.reserve-actions {
  display: grid;
  gap: 12px;
  min-width: 300px;
}

.reserve-actions .button {
  width: 100%;
  min-height: 56px;
  font-size: 16px;
}

/* ---------- 連絡先 ---------- */
.seijin-contact {
  padding-top: clamp(30px, 4vw, 48px);
  background: var(--paper);
}

.contact-list {
  max-width: 760px;
  margin: 24px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--green);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-list a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 980px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .location-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seijin-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
    grid-template-areas:
      "umb umb"
      "green room"
      "green black"
      "kimono zoom";
  }
}

@media (max-width: 640px) {
  .seijin-hero {
    min-height: 800px;
    align-items: end;
    padding-top: 60px;
    padding-bottom: 36px;
  }

  .seijin-hero-photo {
    inset: 0;
    background-position: 58% 0;
  }

  .seijin-hero-photo::before {
    background: linear-gradient(180deg, rgba(36, 48, 43, 0.05) 0%, rgba(36, 48, 43, 0.2) 35%, rgba(36, 48, 43, 0.88) 62%, #24302b 100%);
  }

  .seijin-hero-note {
    font-size: 14px;
  }

  .seijin-hero h1 {
    font-size: 36px;
  }

  .br-sp {
    display: inline;
  }

  .br-pc {
    display: none;
  }

  .seijin-lead {
    font-size: 15px;
  }

  .campaign-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .campaign-remaining {
    padding: 8px 18px;
  }

  .campaign-remaining strong {
    font-size: 32px;
  }

  .seijin-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-template-areas: none;
  }

  .seijin-gallery .work-card:nth-child(n) {
    grid-area: auto;
    height: 260px;
  }

  .seijin-gallery .work-card:nth-child(2),
  .seijin-gallery .work-card:nth-child(4) {
    height: 440px;
  }

  .movie-grid,
  .location-list {
    grid-template-columns: 1fr;
  }

  .option-list div {
    flex-wrap: wrap;
  }

  .reserve-actions {
    min-width: 0;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
