/* ============================================================
   Gerbera Partners Recruit Site - editorial edition
   Font: BIZ UDPGothic only
   BiNDup: デザイン > CSS詳細設定 にこのファイルの内容を貼り付け
   ============================================================ */

.gp-page {
  --paper: #f2efe8;
  --ink: #0d0d0d;
  --red: #e42c2c;
  --gray: #6e6a63;
  --line: rgba(13, 13, 13, .16);
  --line-light: rgba(255, 255, 255, .2);
  --white: #ffffff;

  font-family: "BIZ UDPGothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.gp-page *,
.gp-page *::before,
.gp-page *::after { box-sizing: border-box; }

.gp-page img { display: block; max-width: 100%; height: auto; border: 0; }
.gp-page a { color: inherit; text-decoration: none; }
.gp-page p { margin: 0; }

.gp-page .ed-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.gp-page .ed-sec { padding: clamp(72px, 9vw, 136px) 0; }
.gp-page .ed-sec--sm { padding: clamp(44px, 6vw, 80px) 0; }
.gp-page .ed-dark { background: var(--ink); color: var(--white); }
.gp-page .ed-dark .ed-p { color: #cfcbc2; }

/* ---------- type ---------- */
.gp-page .ed-en {
  display: block;
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--red);
}
.gp-page .ed-dark .ed-en { color: #ff6b6b; }

.gp-page .ed-h1 {
  margin: 0;
  font-size: clamp(34px, 5.6vw, 82px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
.gp-page .ed-h2 {
  margin: 0 0 30px;
  font-size: clamp(26px, 3.8vw, 50px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.015em;
}
.gp-page .ed-h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  font-weight: 700;
}
.gp-page .ed-p { margin: 0 0 1.4em; font-size: 15px; line-height: 2.05; color: #3d3d3d; }
.gp-page .ed-p:last-child { margin-bottom: 0; }
.gp-page .ed-lead {
  margin: 0 0 1.2em;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.75;
  font-weight: 700;
  letter-spacing: -.01em;
}
.gp-page .ed-small { font-size: 12px; line-height: 1.9; letter-spacing: .04em; color: var(--gray); }
.gp-page .ed-strong { font-weight: 700; color: var(--ink); }
.gp-page .ed-dark .ed-strong { color: #fff; }

.gp-page .ed-head {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.gp-page .ed-dark .ed-head { border-bottom-color: var(--line-light); }
.gp-page .ed-head__no { white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--red);
  padding-top: 8px;
}
.gp-page .ed-head__title { margin: 0; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.35; font-weight: 700; letter-spacing: -.015em; }

/* ---------- hero ---------- */
.gp-page .ed-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 92vh, 920px);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.gp-page .ed-hero__img { position: absolute; inset: 0; }
.gp-page .ed-hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.gp-page .ed-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 48%, rgba(0,0,0,.05) 100%);
}
.gp-page .ed-hero__body {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 0 40px clamp(48px, 7vw, 88px);
}
.gp-page .ed-hero__meta {
  margin: 0 0 24px;
  font-size: 11px;
  letter-spacing: .26em;
  color: #e6e2d9;
}
.gp-page .ed-hero__title { margin: 0 0 22px; }
.gp-page .ed-hero__lead { margin: 0; font-size: clamp(14px, 1.6vw, 18px); line-height: 1.9; color: #e6e2d9; }
.gp-page .ed-hero__side {
  position: absolute;
  right: 22px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 10px;
  letter-spacing: .38em;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}
.gp-page .ed-hero__scroll {
  position: absolute;
  left: 40px;
  bottom: 24px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.6);
}
.gp-page .ed-hero__scroll::before {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin-bottom: 10px;
  background: rgba(255,255,255,.55);
}

/* ---------- track rows (TOP) ---------- */
.gp-page .ed-tracks { border-top: 1px solid var(--line); }
.gp-page .ed-track {
  display: grid;
  grid-template-columns: 64px 1fr 280px 30px;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s, padding .3s;
}
.gp-page .ed-track:hover { background: #fff; padding-left: 18px; }
.gp-page .ed-track__no { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--red); }
.gp-page .ed-track__en { display: block; margin: 0 0 8px; font-size: 10px; font-weight: 700; letter-spacing: .3em; color: var(--gray); }
.gp-page .ed-track__catch { margin: 0; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.45; font-weight: 700; letter-spacing: -.01em; }
.gp-page .ed-track__desc { margin: 8px 0 0; font-size: 13px; line-height: 1.9; color: var(--gray); }
.gp-page .ed-track__img { overflow: hidden; aspect-ratio: 4 / 5; background: #ddd; }
.gp-page .ed-track__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; filter: grayscale(100%); transition: transform .6s, filter .6s; }
.gp-page .ed-track:hover .ed-track__img img { filter: grayscale(0); transform: scale(1.04); }
.gp-page .ed-track__arrow { font-size: 18px; color: var(--red); text-align: right; }

/* ---------- entity hero ---------- */
.gp-page .ed-entity {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 68vh;
  background: var(--ink);
  color: #fff;
}
.gp-page .ed-entity__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 72px);
}
.gp-page .ed-entity__no {
  font-size: clamp(60px, 8vw, 120px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.45);
  margin-bottom: 24px;
}
.gp-page .ed-entity__en { display: block; margin: 0 0 10px; font-size: 10px; font-weight: 700; letter-spacing: .34em; color: #ff6b6b; }
.gp-page .ed-entity__title { margin: 0 0 20px; font-size: clamp(28px, 3.8vw, 50px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.gp-page .ed-entity__lead { margin: 0; font-size: 14px; line-height: 2; color: #cfcbc2; }
.gp-page .ed-entity__img { position: relative; overflow: hidden; }
.gp-page .ed-entity__img img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }

/* ---------- split / media ---------- */
.gp-page .ed-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.gp-page .ed-split--rev .ed-split__media { order: 2; }
.gp-page .ed-media { overflow: hidden; background: #ddd; }
.gp-page .ed-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gp-page .ed-media--wide img { aspect-ratio: 16 / 9; }
.gp-page .ed-media--sq img { aspect-ratio: 1 / 1; }
.gp-page .ed-media--auto img { aspect-ratio: auto; height: auto; object-fit: contain; }

/* ---------- quote ---------- */
.gp-page .ed-quote {
  margin: 0;
  padding-left: clamp(20px, 3vw, 36px);
  border-left: 4px solid var(--red);
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: -.01em;
}
.gp-page .ed-quote cite { display: block; margin-top: 18px; font-size: 12px; font-style: normal; font-weight: 400; letter-spacing: .08em; color: var(--gray); }

/* ---------- numbered text rows ---------- */
.gp-page .ed-rows { border-top: 1px solid var(--line); }
.gp-page .ed-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(18px, 4vw, 56px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.gp-page .ed-row__no { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--red); padding-top: 7px; }
.gp-page .ed-row h3 { margin: 0 0 8px; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; font-weight: 700; }
.gp-page .ed-row p { margin: 0; font-size: 14px; line-height: 2; color: var(--gray); }

/* ---------- person ---------- */
.gp-page .ed-person { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.gp-page .ed-person__img { overflow: hidden; background: #ddd; }
.gp-page .ed-person__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gp-page .ed-person__role { display: block; margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.gp-page .ed-person__name { display: block; margin: 0 0 24px; font-size: 15px; color: var(--gray); }

/* ---------- timeline ---------- */
.gp-page .ed-timeline { border-top: 1px solid var(--line); }
.gp-page .ed-time {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(18px, 3vw, 44px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.gp-page .ed-time__h { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--red); padding-top: 4px; }
.gp-page .ed-time h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.gp-page .ed-time p { margin: 0; font-size: 13.5px; line-height: 1.95; color: var(--gray); }

/* ---------- requirements ---------- */
.gp-page .ed-req { width: 100%; border-collapse: collapse; }
.gp-page .ed-req th,
.gp-page .ed-req td { padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.9; }
.gp-page .ed-req th { width: 190px; font-weight: 400; color: var(--gray); letter-spacing: .06em; }

/* ---------- numbers ---------- */
.gp-page .ed-numbers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.gp-page .ed-number { padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.gp-page .ed-number b { display: block; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.gp-page .ed-number b small { font-size: .28em; font-weight: 400; letter-spacing: .06em; margin-left: 4px; }
.gp-page .ed-number span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .12em; color: #a8a39a; }

/* ---------- strip ---------- */
.gp-page .ed-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.gp-page .ed-strip figure { margin: 0; }
.gp-page .ed-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(100%); }
.gp-page .ed-strip figcaption { margin-top: 8px; font-size: 10px; letter-spacing: .12em; color: #a8a39a; }

/* ---------- steps ---------- */
.gp-page .ed-steps { border-top: 1px solid var(--line); }
.gp-page .ed-step { display: grid; grid-template-columns: 80px 1fr; gap: clamp(16px, 3vw, 40px); padding: 24px 0; border-bottom: 1px solid var(--line); }
.gp-page .ed-step__no { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--red); padding-top: 6px; }
.gp-page .ed-step h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.gp-page .ed-step p { margin: 0; font-size: 13.5px; line-height: 1.95; color: var(--gray); }

/* ---------- FAQ ---------- */
.gp-page .ed-qa { border-top: 1px solid var(--line); }
.gp-page .ed-qa details { border-bottom: 1px solid var(--line); }
.gp-page .ed-qa summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}
.gp-page .ed-qa summary::-webkit-details-marker { display: none; }
.gp-page .ed-qa summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; line-height: 1; color: var(--red); }
.gp-page .ed-qa details[open] summary::after { content: "\2212"; }
.gp-page .ed-qa__a { padding: 0 44px 24px 0; font-size: 14px; line-height: 2; color: var(--gray); }

/* ---------- CTA ---------- */
.gp-page .ed-cta { text-align: center; }
.gp-page .ed-cta .ed-h2 { margin-bottom: 18px; }
.gp-page .ed-cta .ed-p { max-width: 620px; margin-left: auto; margin-right: auto; }
.gp-page .ed-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.gp-page .ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 240px;
  padding: 18px 44px;
  background: var(--red);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  border: 1px solid var(--red);
  transition: background .3s, color .3s;
}
.gp-page .ed-btn:hover { background: #b91f1f; border-color: #b91f1f; }
.gp-page .ed-btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.gp-page .ed-btn--ghost:hover { background: var(--ink); color: #fff !important; }
.gp-page .ed-dark .ed-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.6); }
.gp-page .ed-dark .ed-btn--ghost:hover { background: #fff; color: var(--ink) !important; }
.gp-page .ed-btn span:last-child { font-size: 15px; }

/* ---------- misc ---------- */
.gp-page .ed-mt { margin-top: clamp(28px, 4vw, 52px); }
.gp-page .ed-mb { margin-bottom: clamp(28px, 4vw, 52px); }
.gp-page .ed-center { text-align: center; }
.gp-page [id] { scroll-margin-top: 90px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .gp-page .ed-track { grid-template-columns: 50px 1fr 220px 24px; gap: 16px; }
  .gp-page .ed-entity { grid-template-columns: 1fr; min-height: auto; }
  .gp-page .ed-entity__img { min-height: 360px; }
  .gp-page .ed-entity__img img { min-height: 360px; }
}

@media (max-width: 760px) {
  .gp-page .ed-wrap { padding: 0 20px; }
  .gp-page .ed-sec { padding: 64px 0; }
  .gp-page .ed-head { grid-template-columns: 1fr; gap: 8px; padding-bottom: 18px; margin-bottom: 32px; }
  .gp-page .ed-head__no { white-space: nowrap; padding-top: 0; }
  .gp-page .ed-hero { min-height: 68vh; }
  .gp-page .ed-hero__body { padding: 0 20px 44px; }
  .gp-page .ed-hero__side { display: none; }
  .gp-page .ed-hero__scroll { left: 20px; bottom: 16px; }
  .gp-page .ed-hero__scroll::before { height: 26px; }
  .gp-page .ed-track { grid-template-columns: 36px 1fr; gap: 12px; }
  .gp-page .ed-track__img { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .gp-page .ed-track__arrow { display: none; }
  .gp-page .ed-track:hover { padding-left: 0; }
  .gp-page .ed-split { grid-template-columns: 1fr; }
  .gp-page .ed-split--rev .ed-split__media { order: 0; }
  .gp-page .ed-person { grid-template-columns: 1fr; }
  .gp-page .ed-person__img img { aspect-ratio: 4 / 5; }
  .gp-page .ed-row { grid-template-columns: 1fr; gap: 6px; }
  .gp-page .ed-time { grid-template-columns: 1fr; gap: 4px; }
  .gp-page .ed-number { padding: 20px 16px; }
  .gp-page .ed-numbers { grid-template-columns: repeat(2, 1fr); }
  .gp-page .ed-strip { grid-auto-columns: 62%; }
  .gp-page .ed-req th { width: 110px; }
  .gp-page .ed-step { grid-template-columns: 1fr; gap: 4px; }
  .gp-page .ed-entity__body { padding: 44px 20px; }
}

/* editorial list */
.gp-page .ed-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.gp-page .ed-list li {
  display: flex; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px; line-height: 1.8; color: #3d3d3d;
}
.gp-page .ed-list li::before {
  content: ""; flex: 0 0 6px; width: 6px; height: 6px;
  margin-top: 11px; background: var(--red);
}
.gp-page .ed-dark .ed-list li { border-bottom-color: var(--line-light); color: #cfcbc2; }
.gp-page .ed-entity__company { margin: 0 0 18px; font-size: 11px; letter-spacing: .16em; color: #a8a39a; }
.gp-page .ed-note { margin-top: 18px; font-size: 12px; color: var(--gray); }

/* people grid */
.gp-page .ed-people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 30px); }
.gp-page .ed-people figure { margin: 0; }
.gp-page .ed-people img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(100%); transition: filter .5s; }
.gp-page .ed-people figure:hover img { filter: grayscale(0); }
.gp-page .ed-people figcaption { margin-top: 10px; font-size: 11px; letter-spacing: .12em; color: var(--gray); }
@media (max-width: 760px) {
  .gp-page .ed-people { grid-template-columns: repeat(2, 1fr); }
}

/* entry hero */
.gp-page .ed-entry-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(96px, 15vw, 190px) 0 clamp(60px, 9vw, 110px);
}
.gp-page .ed-entry-hero .ed-h1 { font-size: clamp(42px, 7vw, 110px); }
.gp-page .ed-entry-hero .ed-p { color: #cfcbc2; }

/* text-only track rows */
.gp-page .ed-track--text { grid-template-columns: 64px 1fr 30px; }
@media (max-width: 760px) {
  .gp-page .ed-track--text { grid-template-columns: 36px 1fr; }
}

/* dark table */
.gp-page .ed-dark .ed-req th { color: #a8a39a; }
.gp-page .ed-dark .ed-req th,
.gp-page .ed-dark .ed-req td { border-bottom-color: var(--line-light); }

/* stronger hero scrim for bright images */
.gp-page .ed-hero--strong::after {
  background: linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.28) 100%);
}

/* positions (requirements) */
.gp-page .ed-positions { border-top: 1px solid var(--line); }
.gp-page .ed-position {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(28px, 3.6vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}
.gp-page .ed-position__no { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--red); }
.gp-page .ed-position h3 { margin: 8px 0 14px; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.5; font-weight: 700; letter-spacing: -.01em; }
.gp-page .ed-position__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gp-page .ed-chip { padding: 4px 10px; border: 1px solid var(--line); font-size: 10px; letter-spacing: .08em; color: var(--gray); }
.gp-page .ed-position .ed-req th { width: 140px; font-size: 13px; padding: 13px 0; }
.gp-page .ed-position .ed-req td { font-size: 13px; padding: 13px 0; }
.gp-page .ed-position .ed-req tr:last-child th,
.gp-page .ed-position .ed-req tr:last-child td { border-bottom: 0; }

/* data strip */
.gp-page .ed-data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: clamp(30px, 4vw, 48px);
}
.gp-page .ed-data div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gp-page .ed-data b { display: block; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; }
.gp-page .ed-data span { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .1em; color: var(--gray); }

@media (max-width: 760px) {
  .gp-page .ed-position { grid-template-columns: 1fr; gap: 14px; }
  .gp-page .ed-position .ed-req th { width: 108px; }
  .gp-page .ed-data { grid-template-columns: repeat(2, 1fr); }
}

.gp-page .ed-data--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .gp-page .ed-data--3 { grid-template-columns: repeat(2, 1fr); }
}

/* TOP photo mosaic */
.gp-page .ed-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 8px;
  padding: 8px;
  background: #fff;
  height: 88vh;
  min-height: 640px;
  max-height: 920px;
}
.gp-page .ed-mosaic__city { position: relative; margin: 0; overflow: hidden; background: #cfe3f2; min-height: 0; }
.gp-page .ed-mosaic__city img { width: 100%; height: 100%; object-fit: cover; }
.gp-page .ed-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1.3fr 1fr;
  gap: 8px;
}
.gp-page .ed-mosaic__grid figure { margin: 0; overflow: hidden; background: #eee; min-height: 0; }
.gp-page .ed-mosaic__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gp-page .ed-mosaic__grid figure:hover img { transform: scale(1.04); }
.gp-page .ed-mosaic__grid .m-c { grid-column: 1 / -1; }
.gp-page .ed-mosaic__copy {
  position: absolute;
  z-index: 3;
  left: 44px;
  bottom: 44px;
  width: min(540px, 52%);
  padding: clamp(26px, 3vw, 38px);
  background: rgba(242, 239, 232, .97);
  border-top: 3px solid var(--red);
}
.gp-page .ed-mosaic__copy h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.9vw, 54px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -.02em;
}
.gp-page .ed-mosaic__copy .ed-p { font-size: 13px; line-height: 1.9; color: var(--gray); }

@media (max-width: 900px) {
  .gp-page .ed-mosaic { display: flex; flex-direction: column; height: auto; max-height: none; min-height: 0; padding: 0; gap: 6px; }
  .gp-page .ed-mosaic__copy { order: -1; position: static; width: auto; padding: 28px 20px; }
  .gp-page .ed-mosaic__copy h1 { font-size: clamp(28px, 7vw, 40px); }
  .gp-page .ed-mosaic__city { height: 56vh; }
  .gp-page .ed-mosaic__grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 180px); gap: 6px; }
}

/* enforce mosaic height/crops */
.gp-page .ed-mosaic { overflow: hidden; }
.gp-page .ed-mosaic__city img,
.gp-page .ed-mosaic__grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gp-page .ed-mosaic__city { position: relative; }
.gp-page .ed-mosaic__grid figure { position: relative; }
.gp-page .ed-mosaic__grid {
  grid-template-rows: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  min-height: 0;
}
.gp-page .ed-mosaic__copy .ed-btn { min-width: 0; padding: 15px 24px; }

@media (max-width: 900px) {
  .gp-page .ed-mosaic__grid { grid-template-rows: repeat(3, 180px); }
  .gp-page .ed-mosaic__city { height: 46vh; }
}

.gp-page .ed-mosaic__grid .m-a img { object-position: center 12%; }
.gp-page .ed-mosaic__grid .m-b img { object-position: center 42%; }
.gp-page .ed-mosaic__grid .m-c img { object-position: center; }
.gp-page .ed-mosaic__grid .m-d img { object-position: center 42%; }
.gp-page .ed-mosaic__grid .m-e img { object-position: center 38%; }

/* TOP ①: コピーパネルに東京タワーが隠れないよう右へ寄せる */
.gp-page .ed-mosaic__city img {
  object-position: 0% 50%;
  transform: scale(1.35);
  transform-origin: 0% 50%;
}
@media (max-width: 900px) {
  .gp-page .ed-mosaic__city img {
    object-position: 30% 50%;
    transform: none;
  }
}

/* 動画（YouTube限定公開などを埋め込み） */
.gp-page .ed-movie {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  margin-top: 40px;
}
.gp-page .ed-movie iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.gp-page .ed-movie video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.gp-page .ed-movie__caption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--gray);
}
.gp-page .ed-dark .ed-movie__caption { color: #cfcbc2; }
.gp-page .ed-movie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 28px;
}
.gp-page .ed-movie-grid .ed-movie { margin-top: 0; }
@media (max-width: 900px) {
  .gp-page .ed-movie-grid { grid-template-columns: 1fr; }
}


