/* TOPページ（MV以外）— 参考カンプ top.jpg 準拠 */

/* TOPのみ：初期状態のヘッダー背景を透明に（スクロール後は白に戻す） */
body.page-top #main-header.site-header {
  background-color: transparent;
}

body.page-top #main-header.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
}

/* TOP + 夜MV：未スクロール時はロゴ・メニューを白に */
body.page-top.is-mv-night-header .site-header__logo-text {
  color: #fff;
}

body.page-top.is-mv-night-header #menu-toggle .hamburger-bar-1,
body.page-top.is-mv-night-header #menu-toggle .hamburger-bar-2 {
  background-color: #fff;
}

/* TOPの Bodoni 全体で細い線を揃える（WOMENタブ・View More など含む） */
body.page-top {
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--top-bodoni-opsz);
}

:root {
  --top-sky: #eaf4f8;
  --top-sky-deep: #d4e8f0;
  --top-ink: #1a2a40;
  --top-muted: #6b7280;
  --top-line: #d8e2ea;
  --top-pad-x: clamp(1.25rem, 4vw, 3rem);
  --top-max: 1280px;
  --top-vtitle-col: clamp(4.75rem, 6.5vw, 6.25rem);
  /* Bodoni の線の細さ。小さいほど太い（目安: 10=太い / 28=中間 / 50=細め / 96=極細） */
  --top-bodoni-opsz: 28;
}

/* ---- 共通：縦書きセクション見出し ---- */
.top-section {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

@media (max-width: 767px) {
  .top-section {
    padding: clamp(8rem, 8vw, 6.5rem) 0;
  }
}

.top-section__inner {
  max-width: calc(var(--top-max) + 4.5rem);
  margin: 0 auto;
  padding: 0 var(--top-pad-x);
  display: grid;
  grid-template-columns: var(--top-vtitle-col) minmax(0, 1fr);
  gap: clamp(1rem, 6vw, 10rem);
  align-items: start;
}

.top-vtitle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding-top: 0.25rem;
  width: var(--top-vtitle-col);
  opacity: 0;
  transform: translate3d(-2.5rem, 0, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.top-vtitle-wrap.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .top-vtitle-wrap,
  .top-vtitle-wrap.is-inview {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
#search .top-vtitle-wrap {
  margin-top: -4em;
}
.top-vtitle {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  letter-spacing: 0.28em;
  color: var(--top-ink);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  user-select: none;
}

/* SEARCH / NEWS / ABOUT：縦見出し（英字 h2・日本語を同一サイズ） */
.top-search .top-vtitle,
.top-news .top-vtitle,
.top-about .top-vtitle {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 5rem);
  letter-spacing: 0.1em;
  top-bodoni-opsz: 18;
}

.top-search .top-vtitle-ja,
.top-news .top-vtitle-ja,
.top-about .top-vtitle-ja {
  font-size: 1rem;
  font-weight: var(--font-ja-weight);
  letter-spacing: 0.2em;
}

.top-vtitle-ja {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-ja);
  font-weight: var(--font-ja-weight);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--top-ink);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  user-select: none;
}

.top-section__body {
  min-width: 0;
}

/* ---- セクション全体：スクロールでフェードイン ---- */
/* transform は子のパララックスと干渉しやすいので opacity のみ */
.top-search,
.top-news,
.top-about,
.top-gallery,
.top-instagram {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.top-search.is-inview,
.top-news.is-inview,
.top-about.is-inview,
.top-gallery.is-inview,
.top-instagram.is-inview {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .top-search,
  .top-news,
  .top-about,
  .top-gallery,
  .top-instagram,
  .top-search.is-inview,
  .top-news.is-inview,
  .top-about.is-inview,
  .top-gallery.is-inview,
  .top-instagram.is-inview {
    opacity: 1;
    transition: none;
    will-change: auto;
  }
}

@media (max-width: 640px) {
  .top-section__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .top-vtitle-wrap {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }

  .top-vtitle,
  .top-vtitle-ja {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  /* NEWS / ABOUT はSPでも左縦書きを維持 */
  .top-news .top-vtitle-wrap,
  .top-about .top-vtitle-wrap {
    flex-direction: column;
    align-items: center;
  }

  .top-news .top-vtitle,
  .top-news .top-vtitle-ja,
  .top-about .top-vtitle,
  .top-about .top-vtitle-ja {
    writing-mode: vertical-rl;
  }

  .top-news .top-vtitle-ja,
  .top-about .top-vtitle-ja {
    text-orientation: upright;
  }

  .top-vtitle {
    letter-spacing: 0.2em;
    font-size: 1.125rem;
  }

  .top-search .top-vtitle {
    font-size: 1.35rem;
    letter-spacing: 0.12em;
  }

  .top-search .top-vtitle-ja {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
}

/* SEARCH SP見出し・More（〜767px／フィルタと揃える） */
@media (max-width: 767px) {
  .top-search {
    padding-top: 5.5rem;
    padding-bottom: 4rem; /* 下パディングを半分 */
  }

  /* PC用の上引き寄せを解除し、MVとの間隔を確保 */
  #search .top-vtitle-wrap {
    margin-top: 0;
  }

  .top-search .top-section__inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .top-search .top-vtitle-wrap {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
  }

  .top-search .top-vtitle,
  .top-search .top-vtitle-ja {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .top-search .top-vtitle {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    letter-spacing: 0.14em;
    font-weight: 500;
    -webkit-text-stroke: 0.55px currentColor;
    font-variation-settings: "opsz" 14, "wght" 500;
  }

  .top-search .top-vtitle-ja {
    font-size: 0.875rem;
    letter-spacing: 0.18em;
    font-weight: 500;
  }

  .top-search .top-brand-more {
    justify-content: flex-end;
    margin-top: 2.25rem;
  }
}

/* ---- SEARCH（共通: brand-search.css） ---- */

/* ブランドカード見た目は brand-search.css に集約 */

.top-brand-more {
  margin-top: 3.25rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-brand-more a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--top-ink);
  text-decoration: none;
  padding-left: 4.5rem;
  transition: color 0.2s;
}

/* 矢印の軸 */
.top-brand-more a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3.35rem;
  height: 1px;
  background: #c5cad1;
  transform: translateY(-50%);
  transition: background-color 0.2s;
}

/* 矢印の先（小さめの三角） */
.top-brand-more a::after {
  content: "";
  position: absolute;
  left: 3.25rem;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #c5cad1;
  transform: translateY(-50%);
  transition: border-color 0.2s;
}

.top-brand-more a:hover {
  color: var(--color-navy);
}

.top-brand-more a:hover::before {
  background: var(--color-navy);
}

.top-brand-more a:hover::after {
  border-left-color: var(--color-navy);
}

/* ---- NEWS ---- */
.top-news {
  padding: 0;
  background: #fff;
  font-family: var(--font-ja);
}

.top-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
}

@media (max-width: 860px) {
  .top-news__layout {
    grid-template-columns: 1fr;
  }
}

.top-news__visual {
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
  min-height: clamp(240px, 42vw, 520px);
  height: 100%;
}

.top-news__visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PC：2枚目は非表示（左の縦写真1枚） */
.top-news__visual-img--2 {
  display: none;
}

.top-news__panel {
  background: var(--top-sky);
  display: flex;
}

.top-news__panel-inner {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4.5vw, 3.75rem) clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  min-width: 0;
}

/* NEWS：h2以外は Zen Old Mincho（.top-news で継承） */
.top-news__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-width: 38rem;
}

.top-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.top-news__item + .top-news__item {
  border-top: 1px solid rgba(26, 42, 64, 0.07);
}

.top-news__link {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  padding: clamp(0.85rem, 1.6vw, 1.2rem) 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.top-news__link:hover {
  opacity: 0.72;
}

.top-news__thumb {
  flex-shrink: 0;
  width: clamp(5.5rem, 13vw, 7.75rem);
  aspect-ratio: 120 / 68;
  border-radius: 999px;
  overflow: hidden;
  background: #d8dee5;
}

.top-news__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-news__text {
  min-width: 0;
  flex: 1;
}

.top-news__date {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--font-ja-weight);
  letter-spacing: 0.04em;
  color: var(--top-ink);
  margin-bottom: 0.35rem;
}

.top-news__title {
  font-size: clamp(0.8125rem, 1.15vw, 1rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--top-ink);
  margin: 0;
}

.top-news__excerpt {
  font-size: 0.9rem;
  font-weight: var(--font-ja-weight);
  line-height: 1.4;
  color: var(--top-ink);
  margin: 0.35rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top-news .top-brand-more {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 640px) {
  .top-news__panel-inner {
    gap: 1rem;
  }
}

/* =========================================================
   SP NEWS（添付準拠）
   ・上に写真、下に縦見出し＋リスト
   ========================================================= */
@media (max-width: 767px) {
  .top-news__layout {
    display: flex;
    flex-direction: column;
  }

  .top-news__visual {
    order: 1;
    display: block;
    min-height: 0;
    height: auto;
    padding: 0;
    background: #f3f4f6;
  }

  .top-news__visual-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 12;
    object-fit: cover;
  }

  .top-news__visual-img--2 {
    display: none;
  }

  .top-news__panel {
    order: 2;
  }

  .top-news__panel-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 1.5rem;
    padding: 2rem var(--top-pad-x) 4rem; /* SEARCH下余白と揃える */
    align-items: start;
    overflow: visible;
  }

  /* タイトルは左に縦書き（常時表示） */
  .top-news .top-vtitle-wrap {
    width: auto;
    min-width: 1.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0;
    padding-top: 0.35rem;
    flex-shrink: 0;
    opacity: 1;
    transform: none;
    position: relative;
    z-index: 1;
  }

  .top-news .top-vtitle {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    letter-spacing: 0.22em;
    font-weight: 500;
    color: var(--top-ink);
    -webkit-text-stroke: 0.4px currentColor;
    font-variation-settings: "opsz" 14, "wght" 500;
  }

  .top-news .top-vtitle-ja {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    color: var(--top-ink);
  }

  .top-news__body {
    max-width: none;
  }

  .top-news__link {
    gap: 0.85rem;
    padding: 0.85rem 0;
    align-items: flex-start;
  }

  /* 縦長カプセル（添付） */
  .top-news__thumb {
    width: clamp(2.75rem, 14vw, 3.5rem);
    aspect-ratio: 2 / 3.2;
    border-radius: 999px;
  }

  .top-news__date {
    font-size: 0.6875rem;
    color: #8b939c;
    margin-bottom: 0.3rem;
  }

  .top-news__title {
    font-size: 0.8125rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .top-news__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.6875rem;
    line-height: 1.55;
    margin-top: 0.25rem;
  }

  .top-news .top-brand-more {
    margin-top: 1.1rem;
    justify-content: flex-end;
  }
}

/* ---- ABOUT ---- */
.top-about {
  font-family: var(--font-ja);
  overflow: hidden;
  padding: clamp(4rem, 11vw, 11.5rem) 0;
}

/*
  左：SEARCH と同じ左端（pad / 中央寄せ）
  右：残りのスペースを画像がページ右端まで埋める
*/
.top-about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 7vw, 7rem);
  align-items: stretch;
  padding-left: max(var(--top-pad-x), calc((100vw - (var(--top-max) + 4.5rem)) / 2));
}

.top-about__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.top-about .top-section__inner {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  box-sizing: border-box;
}

.top-about .top-vtitle-wrap {
  margin-top: clamp(-4rem, -4vw, -4rem);
  padding-top: 0;
}

.top-about .top-section__body {
  min-width: 0;
}

/* 右：左コンテンツの高さに合わせて、ページ右端まで */
.top-about__visual {
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
  min-width: 0;
  min-height: 0;
}

.top-about__visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .top-about__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 0;
    align-items: start;
  }

  .top-about .top-section__inner {
    margin-left: auto;
    margin-right: auto;
    width: min(100%, calc(var(--top-max) + 4.5rem));
    padding: 0 var(--top-pad-x);
  }

  .top-about__visual {
    order: -1;
    width: 100%;
    aspect-ratio: 1000 / 800;
  }
}

@media (max-width: 767px) {
  /* NEWS〜ABOUT画像のあいだを詰める */
  .top-about {
    padding-top: 0;
    padding-bottom: 0;
  }

  .top-about__layout {
    gap: 0;
  }

  /* NEWS画像と同じ縦横比 */
  .top-about__visual {
    aspect-ratio: 16 / 12;
  }

  /* 左縦書き + 右本文（NEWSと同型） */
  .top-about .top-section__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 1.5rem;
    padding-top: 2.75rem;
    align-items: start;
  }

  .top-about .top-vtitle-wrap {
    width: auto;
    min-width: 1.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0;
    padding-top: 0.35rem;
    flex-shrink: 0;
    opacity: 1;
    transform: none;
    position: relative;
    z-index: 1;
  }

  .top-about .top-vtitle {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    letter-spacing: 0.22em;
    font-weight: 500;
    color: var(--top-ink);
    -webkit-text-stroke: 0.4px currentColor;
    font-variation-settings: "opsz" 14, "wght" 500;
  }

  .top-about .top-vtitle-ja {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    color: var(--top-ink);
  }

  .top-about .top-section__body {
    min-width: 0;
  }

  .top-about .top-brand-more {
    justify-content: flex-end;
  }

  /* クラフト2枚：左右に余白を開けて中央寄せ（添付準拠） */
  .top-about__crafts {
    width: 62%;
    max-width: 18rem;
    margin: 2.25rem auto 3.5rem;
    gap: 0.65rem;
  }
}

@media (max-width: 640px) {
  .top-about .top-vtitle-wrap {
    margin-top: 0;
  }

  .top-about .top-section__body {
    padding-top: 0;
  }

  .top-about__visual {
    aspect-ratio: 16 / 12;
  }
}

.top-about__lead {
  font-family: var(--font-ja);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: var(--font-ja-weight);
  line-height: 1.6;
  color: var(--top-ink);
  margin: 0 0 1.25rem;
}

/* PCでは1行、スマホのみ改行 */
.top-about__lead-br {
  display: none;
}

@media (max-width: 767px) {
  .top-about__lead-br {
    display: inline;
  }
}

.top-about__text {
  font-size: 0.875rem;
  font-weight: var(--font-ja-weight);
  line-height: 1.9;
  color: #4b5563;
  margin: 0 0 1rem;
}

.top-about .top-brand-more {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.top-about__crafts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* picture{display:contents} だと source も grid 項目になり縦積みになるため block に戻す */
.top-about__crafts picture {
  display: block;
  min-width: 0;
}

.top-about__crafts img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ---- Gallery（フッター上イメージ） ---- */
.top-gallery {
  position: relative;
  background: #fff;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.top-gallery__collage {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0;
  height: 42vw;
}

.top-gallery__item {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #e5e7eb;
  opacity: 0;
  transform: translate3d(0, 1.75rem, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.top-gallery__item--1 {
  transition-delay: 0s;
}

.top-gallery__item--2 {
  transition-delay: 0.18s;
}

.top-gallery__item--3 {
  transition-delay: 0.36s;
}

.top-gallery__item.is-shown {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.top-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.top-gallery__item.is-shown img {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .top-gallery__item,
  .top-gallery__item.is-shown,
  .top-gallery__item img,
  .top-gallery__item.is-shown img {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* 左上：ウィンドウ左端・横幅40% */
.top-gallery__item--1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  aspect-ratio: 4 / 2.5;
  max-width: 45vw;
}

/* 右上：縦長・少し下げる */
.top-gallery__item--2 {
  position: absolute;
  right: 15vw;
  top: 34%;
  width: 20%;
  aspect-ratio: 3 / 3;
}

/* 左下：パノラマに少し重なる */
.top-gallery__item--3 {
  position: absolute;
  left: 18vw;
  bottom: -20%;
  z-index: 3;
  width: 15vw;
  aspect-ratio: 3 / 3;
}

.top-gallery__copy {
  position: absolute;
  left: 50%;
  bottom: -7em;
  z-index: 4;
  margin: 0;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-ja);
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  font-weight: var(--font-ja-weight);
  letter-spacing: 0.28em;
  line-height: 1.2;
  color: var(--top-ink);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.top-gallery__horizon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(10rem, 24vw, 20rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background: #7aa8c4;
}

/* スクロールしても背景が固定されて見えるパララックス用レイヤー */
.top-gallery__horizon-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
  will-change: transform;
  pointer-events: none;
}

.top-gallery__horizon-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

@media (prefers-reduced-motion: reduce) {
  .top-gallery__horizon-bg {
    height: 100%;
    transform: none !important;
    will-change: auto;
  }
}

@media (max-width: 767px) {
  /* SP Gallery：添付レイアウト
     1全幅 → 2中央小さめ → 3左＋縦コピー → 水平パノラマ */
  .top-gallery {
    padding-top: 2.5rem;
    background: #fff;
  }

  .top-gallery__collage {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto;
    gap: 3rem 1rem;
    height: auto;
    min-height: 0;
    padding: 0;
    background: #fff;
  }

  .top-gallery__item--1,
  .top-gallery__item--2,
  .top-gallery__item--3 {
    position: static;
    width: 100%;
    max-width: none;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .top-gallery__item--1 {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .top-gallery__item--2 {
    grid-column: 1 / -1;
    width: 58%;
    justify-self: center;
    aspect-ratio: 1;
  }

  .top-gallery__item--3 {
    position: relative;
    grid-column: 1;
    width: 88%;
    justify-self: end;
    aspect-ratio: 1;
    z-index: 3;
  }

  .top-gallery__copy {
    position: relative;
    grid-column: 2;
    justify-self: start;
    align-self: start;
    z-index: 3;
    transform: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.22em;
    font-size: clamp(0.875rem, 3.8vw, 1.05rem);
    margin: 0.35rem 0 0;
    padding-top: 0.25rem;
  }

  /* 縦幅2倍＋上の画像／テキストと重ねる */
  .top-gallery__horizon {
    z-index: 1;
    margin-top: clamp(-2rem, -38vw, -11rem);
    height: clamp(18rem, 84vw, 28rem);
  }
}

/* ---- Instagram ---- */
.top-instagram {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: #fff;
}

.top-instagram__head {
  text-align: center;
  margin-bottom: 2rem;
}

.top-instagram__icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--top-ink);
}

.top-instagram__head h2 {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: 0.08em;
  color: var(--top-ink);
  margin: 0 0 0.35rem;
}

.top-instagram__head p {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-family: var(--font-ja);
}

.top-instagram__head a {
  color: inherit;
  text-decoration: none;
}

.top-instagram__head a:hover {
  color: var(--top-ink);
}

.top-instagram__feed {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
  padding: 0 0 1rem;
}

.top-instagram__marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 3%,
    #000 97%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 3%,
    #000 97%,
    transparent 100%
  );
}

.top-instagram__track {
  display: flex;
  width: max-content;
  animation: top-instagram-marquee 70s linear infinite;
  will-change: transform;
}

.top-instagram__marquee:hover .top-instagram__track {
  animation-play-state: paused;
}

.top-instagram__group {
  display: flex;
  flex-shrink: 0;
  gap: 0.35rem;
  padding-right: 0.35rem;
}

.top-instagram__group a {
  display: block;
  flex: 0 0 auto;
  width: clamp(7.5rem, 12vw, 10.5rem);
  aspect-ratio: 283 / 376;
  overflow: hidden;
  background: #e5e7eb;
}

.top-instagram__group img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s, transform 0.5s;
}

.top-instagram__group a:hover img {
  opacity: 0.85;
  transform: scale(1.04);
}

@keyframes top-instagram-marquee {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-instagram__marquee {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
  }

  .top-instagram__track {
    animation: none;
    will-change: auto;
  }

  .top-instagram__group[aria-hidden='true'] {
    display: none;
  }
}
