/* ========================================================================
   ASAHI CREATIVE LAB — Editorial Design CSS
   D&AD-inspired, serif-driven, magazine-grade creative agency portfolio
   ======================================================================== */

/* ---------- Custom Properties ---------- */
:root {
  --color-bg-dark:       #111111;
  --color-bg-light:      #F8F8F8;
  --color-bg-white:      #FFFFFF;
  --color-bg-cream:      #F8F8F8;
  --color-text-primary:  #161616;
  --color-text-light:    #FFFFFF;
  --color-text-sub:      #161616;
  --color-border:        #E0DDD8;
  --color-border-dark:   #333333;
  --color-highlight:     #111111;

  --font-heading:  Universal, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-sans:     Universal, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono:     ui-monospace, monospace;

  --hero-size:            clamp(3.5rem, 6vw, 5.5rem);
  --section-heading-size: clamp(3rem, 6vw, 4.5rem);
  --body-size:            15px;

  --section-padding:    clamp(39px, 6vh, 60px);
  --container-max:      none;
  --container-padding:  6px;
  --text-padding:       clamp(12px, 3vw, 24px);

  --header-height:      57px;
  --header-height-sp:   60px;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Sub-page top padding (below fixed header) */
.section--sub-page {
  padding-top: calc(var(--header-height) + 15px) !important;
}

.section--sub-page-wide {
  padding-top: calc(var(--header-height) + 39px) !important;
}

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */

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

html {
  /* スクロールバー幅ぶんのスペースを常に予約し、
     ライトボックスで body overflow:hidden にしてもレイアウトが横にずれないように */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-primary);
  background: var(--color-bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

/* ==========================================================================
   2. Header (.header-v2)
   ========================================================================== */

.header-v2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: transform 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid var(--color-border);
}

.header-v2--transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  -webkit-backdrop-filter: none;
}

.header-v2--hidden {
  transform: translateY(-100%);
}

/* トップページ: スクロール後に白背景＋ダーク文字に切替 */
.header-v2--transparent.header-v2--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--color-border);
}

.header-v2--transparent.header-v2--scrolled .header-v2__logo img,
.header-v2--transparent.header-v2--scrolled .header-v2__logo svg {
  filter: brightness(0);
}

.header-v2--transparent.header-v2--scrolled .header-v2__nav a {
  color: var(--color-text-primary);
}

.header-v2--transparent.header-v2--scrolled .header-v2__cta {
  border-color: var(--color-border);
  color: var(--color-text-primary);
}

.header-v2--transparent.header-v2--scrolled .header-v2__burger span {
  background: var(--color-text-primary);
}

.header-v2__inner {
  max-width: none;
  margin: 0;
  padding: 0 clamp(12px, 1.5vw, 21px);
  display: flex;
  align-items: center;
  height: 100%;
}

.header-v2__logo {
  flex-shrink: 0;
}

.header-v2__logo img,
.header-v2__logo svg {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0);
}

.header-v2--transparent .header-v2__logo img,
.header-v2--transparent .header-v2__logo svg {
  filter: brightness(0) invert(1);
}

.header-v2__nav {
  display: flex;
  gap: 24px;
  margin-left: 39px;
  margin-right: auto;
}

.header-v2__nav a {
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: opacity 0.3s ease;
  padding: 3px 0;
}

.header-v2--transparent .header-v2__nav a {
  color: var(--color-text-light);
}

.header-v2__nav a:hover {
  opacity: 0.6;
}

.header-v2__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  padding: 9px 27px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.header-v2__cta:hover {
  border-color: var(--color-text-primary);
  background: var(--color-text-primary);
  color: white;
}

.header-v2--transparent .header-v2__cta {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text-light);
}

.header-v2--transparent .header-v2__cta:hover {
  border-color: white;
  background: white;
  color: var(--color-bg-dark);
}

.header-v2__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px;
  margin-left: auto;
}

.header-v2__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   3. Mobile Navigation (.mobile-nav)
   ========================================================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #111111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-nav--open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 36px;
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 400;
  color: var(--color-text-light);
  margin: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease;
}

.mobile-nav a:hover {
  opacity: 0.5;
}

.mobile-nav__close {
  position: absolute;
  top: 15px;
  right: 21px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav__close::before,
.mobile-nav__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1px;
  background: white;
}

.mobile-nav__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ==========================================================================
   4. Section & Container
   ========================================================================== */

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section--light {
  background: var(--color-bg-light);
  color: var(--color-text-primary);
}

.section--white {
  background: var(--color-bg-white);
  color: var(--color-text-primary);
}

.section--cream {
  background: var(--color-bg-cream);
  color: var(--color-text-primary);
}

.section--dark,
.section--light,
.section--white,
.section--cream {
  padding: var(--section-padding) 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: 801px;
  padding: 0 var(--text-padding);
}

/* ==========================================================================
   5. Hero (.hero)
   ========================================================================== */

.hero.section--dark {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(63px, 9vh, 120px) 0;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero video,
.hero iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh; /* 16:9 ratio */
  height: 100vh;
  min-width: 100vw;
  min-height: 56.25vw; /* 16:9 ratio */
  opacity: 0;
  transition: opacity 1.2s ease;
}

main {
  padding-top: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: var(--hero-size);
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: normal;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-text-light);
}

.hero__subtitle {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  margin-top: 9px;
  max-width: 519px;
  line-height: 1.8;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
}

/* Legacy bounce for backward compat */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* ==========================================================================
   6. Section Heading (.section-heading)
   ========================================================================== */

.section-heading {
  margin-bottom: 18px;
  padding-left: calc(var(--text-padding) - var(--container-padding));
  padding-right: calc(var(--text-padding) - var(--container-padding));
}

.section-heading__en {
  font-size: var(--section-heading-size);
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  line-height: 1.1;
}

.section-heading__ja {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text-sub);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading__label {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text-sub);
  margin-bottom: -3px;
}

.section--dark .section-heading__label {
  color: #fff;
}

.section-heading__line {
  display: none;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .section-heading__line {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   6b. About Hero (.about-hero)
   ========================================================================== */

.about-hero {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: clamp(36px, 3vw, 54px);
  align-items: start;
}

.about-hero__image {
  position: sticky;
  top: 72px;
}

.about-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-hero__text {
  padding-top: 3px;
  padding-right: clamp(15px, 2.4vw, 36px);
}

/* ==========================================================================
   7. Statement (.statement)
   ========================================================================== */

.statement__lead {
  font-size: clamp(2rem, 3vw, 3rem);
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 900px;
  margin-bottom: clamp(33px, 6vh, 48px);
  padding-left: calc(var(--text-padding) - var(--container-padding));
  padding-right: calc(var(--text-padding) - var(--container-padding));
}

.statement__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 39px;
  padding-left: calc(var(--text-padding) - var(--container-padding));
  padding-right: calc(var(--text-padding) - var(--container-padding));
}

.statement__item {
  border-top: 1px solid var(--color-border);
  padding-top: 21px;
}

.section--dark .statement__item {
  border-color: var(--color-border-dark);
}

.statement__number {
  font-size: clamp(5rem, 9vw, 9rem);
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.section--dark .statement__number {
  color: rgba(255, 255, 255, 0.3);
}

.statement__item-title {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 15px 0 12px;
}

.statement__item-text {
  font-size: 12px;
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--color-text-sub);
}

/* ==========================================================================
   8. Works Grid (.works-grid)
   ========================================================================== */

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

/* ==========================================================================
   9. Works Card (.works-card)
   ========================================================================== */

.works-card {
  display: block;
  overflow: hidden;
}

.works-card__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 3 / 2;
  background: #e8e8e8;
}

.works-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo), filter 0.6s ease;
  filter: brightness(0.96) saturate(0.95);
}

.works-card:hover .works-card__image {
  filter: brightness(1) saturate(1);
}

.works-card__content {
  padding: 6px 3px 12px;
}

.works-card__tag {
  color: var(--color-text-sub);
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.works-card__title {
  color: var(--color-text-primary);
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.4;
}

/* Dark section text */
.section--dark .works-card__tag {
  color: rgba(255,255,255,0.5);
}

.section--dark .works-card__title {
  color: var(--color-text-light);
}

/* ==========================================================================
   10. Member Card (.member-card)
   ========================================================================== */

.member-card {
  display: block;
  position: relative;
  overflow: hidden;
}

.member-card__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.member-card__image {
  width: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.96);
  transition: filter 0.6s ease, transform 0.6s var(--ease-out-expo);
}

.member-card:hover .member-card__image {
  filter: grayscale(0%) brightness(1);
}

.member-card__info {
  padding: 3px 3px 9px;
}

.member-card__shoulder {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  margin-top: 1px;
  color: var(--color-text-sub);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.member-card__name {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.member-card__label {
  position: absolute;
  top: 3px;
  left: 3px;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px 9px;
  font-size: 9px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--color-text-primary);
}

/* -- Member Grid -- */

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(201px, 1fr));
  gap: 6px;
}

.member-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
}

/* member-card in dark section */
.section--dark .member-card__info {
  color: var(--color-text-light);
}

.section--dark .member-card__shoulder {
  color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   11. News List (.news-list-v2)
   ========================================================================== */

.news-list-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(261px, 1fr));
  gap: 0;
}

.news-list-v2__item {
  display: flex;
  flex-direction: column;
  padding: 15px 15px;
  border-top: 1px solid var(--color-border);
  transition: background 0.3s ease;
}

.news-list-v2__item:hover {
  background: rgba(0,0,0,0.02);
}

.news-list-v2__date {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.news-list-v2__title {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  flex: 1;
}

.news-list-v2__arrow {
  display: none;
}

/* Vertical variant (archive page) */
.news-list-v2--vertical {
  grid-template-columns: 1fr;
  background: none;
  gap: 0;
}

.news-list-v2--vertical .news-list-v2__item {
  border-bottom: 1px solid var(--color-border);
  flex-direction: row;
  align-items: center;
  padding: 15px 0;
}

.news-list-v2--vertical .news-list-v2__date {
  min-width: 90px;
  margin-bottom: 0;
  margin-right: 24px;
}

.news-list-v2--vertical .news-list-v2__arrow {
  display: flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--color-text-sub);
  flex-shrink: 0;
  margin-left: auto;
}

/* Dark variant */
.section--dark .news-list-v2__item {
  border-color: var(--color-border-dark);
}

.section--dark .news-list-v2__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   12. Buttons (.btn-v2)
   ========================================================================== */

.btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

.btn-v2--outline {
  border: 1px solid currentColor;
  padding: 9px 24px;
  border-radius: 0;
}

.btn-v2--outline:hover {
  background: currentColor;
}

/* Invert text on hover per section */
.section--dark .btn-v2--outline:hover {
  background: white;
  color: var(--color-bg-dark);
}

.section--light .btn-v2--outline:hover,
.section--white .btn-v2--outline:hover,
.section--cream .btn-v2--outline:hover {
  background: var(--color-text-primary);
  color: var(--color-text-light);
}

.btn-v2--large {
  font-size: 12px;
  padding: 15px 36px;
}

.btn-v2--arrow::after {
  content: '\2192';
  margin-left: 12px;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.btn-v2--arrow:hover::after {
  transform: translateX(3px);
}

/* ==========================================================================
   13. CTA Section (.cta-section)
   ========================================================================== */

.cta-section {
  text-align: center;
}

.cta-section__subtitle {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-text-sub);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.section--dark .cta-section__subtitle {
  color: rgba(255, 255, 255, 0.4);
}

.cta-section__title {
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

/* ==========================================================================
   14. Footer (.footer-v2)
   ========================================================================== */

.footer-v2 {
  background: #111111;
  color: var(--color-text-light);
  padding: 75px clamp(24px, 3vw, 60px) 0;
}

.footer-v2__grid {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-v2__brand img {
  max-height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 24px;
}

.footer-v2__brand p {
  font-size: 15px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  max-width: 279px;
}

.footer-v2__nav-title {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-v2__nav-link {
  display: block;
  font-size: 12px;
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.footer-v2__nav-link:hover {
  color: white;
}

.footer-v2__sponsors {
  margin-top: 81px;
  padding-top: 39px;
  border-top: 1px solid #222222;
  display: flex;
  gap: 33px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-v2__sponsors img {
  height: 27px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.footer-v2__sponsors img:hover {
  opacity: 0.8;
}

.footer-v2__bottom {
  margin-top: 60px;
  padding: 27px 0;
  border-top: 1px solid #222222;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-v2__copyright-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-v2__copyright-logo {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.footer-v2__copyright-logo:hover {
  opacity: 0.8;
}

.footer-v2__copyright {
  font-size: 12px;
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.02em;
}

.footer-v2__legal {
  display: flex;
  gap: 24px;
}

.footer-v2__legal a {
  font-size: 12px;
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.footer-v2__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   15. Filter Tabs (.filter-tabs)
   ========================================================================== */

.filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  padding-left: calc(var(--text-padding) - var(--container-padding));
  padding-right: calc(var(--text-padding) - var(--container-padding));
}

.filter-tabs__btn {
  -webkit-appearance: none;
  appearance: none;
  padding: 3px 12px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  color: inherit;
}

.filter-tabs__btn:hover {
  border-color: var(--color-text-primary);
}

.filter-tabs__btn--active {
  background: var(--color-text-primary);
  color: var(--color-text-light);
  border-color: var(--color-text-primary);
}

/* Dark variant */
.section--dark .filter-tabs__btn {
  border-color: #444;
  color: var(--color-text-light);
}

.section--dark .filter-tabs__btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.section--dark .filter-tabs__btn--active {
  background: white;
  color: var(--color-bg-dark);
  border-color: white;
}

/* -- Detail Tag/Asset Links (reuse filter-tabs/filter-assets button styles) -- */

.work-detail-v2__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 21px;
}

.work-detail-v2__tags .filter-tabs__btn,
.work-detail-v2__tags .filter-assets__btn {
  text-decoration: none;
}

/* -- Asset Filter (.filter-assets) -- */

.filter-assets {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  padding-left: calc(var(--text-padding) - var(--container-padding));
  padding-right: calc(var(--text-padding) - var(--container-padding));
}

.filter-assets__btn {
  -webkit-appearance: none;
  appearance: none;
  padding: 3px 9px;
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.03em;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-sub);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 21px;
}

.filter-assets__btn:hover {
  border-color: var(--color-text-primary);
  color: var(--color-text-primary);
}

.filter-assets__btn--active,
.filter-assets__btn--active:hover {
  background: var(--color-text-primary);
  color: white;
  border-color: var(--color-text-primary);
}

.section--dark .filter-assets__btn {
  border-color: #444;
  color: rgba(255,255,255,0.6);
}

.section--dark .filter-assets__btn:hover {
  border-color: rgba(255,255,255,0.6);
  color: white;
}

.section--dark .filter-assets__btn--active {
  background: white;
  color: var(--color-bg-dark);
  border-color: white;
}

/* -- Works Search (.works-search) -- */

.section-heading--with-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.works-search {
  flex-shrink: 0;
}

.works-search__input {
  -webkit-appearance: none;
  appearance: none;
  width: 219px;
  padding: 6px 12px;
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text-primary);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.works-search__input::placeholder {
  color: var(--color-text-sub);
  opacity: 0.5;
}

.works-search__input:focus {
  border-color: var(--color-text-primary);
}

/* ==========================================================================
   16. Pagination (.pagination-v2)
   ========================================================================== */

.pagination-v2 {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 60px;
}

.pagination-v2 a,
.pagination-v2 span {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: 12px;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
  color: inherit;
}

.pagination-v2 a:hover {
  background: var(--color-text-primary);
  color: var(--color-text-light);
  border-color: var(--color-text-primary);
}

.pagination-v2 .current {
  background: #111111;
  color: var(--color-text-light);
  border-color: #111111;
}

/* ==========================================================================
   17. Breadcrumb (.breadcrumb-v2)
   ========================================================================== */

.breadcrumb-v2 {
  padding: 24px 0;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text-sub);
  flex-wrap: wrap;
  letter-spacing: 0.02em;
}

.breadcrumb-v2__separator {
  color: var(--color-text-sub);
  opacity: 0.5;
}

.breadcrumb-v2__item:last-child {
  color: var(--color-text-primary);
}

/* ==========================================================================
   18. Work Detail (.work-detail-v2)
   ========================================================================== */

/* -- Title area -- */
.work-detail-v2__title-area {
  padding: 0 calc(var(--text-padding) - var(--container-padding));
  margin-bottom: 24px;
}

.work-detail-v2__title {
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.work-detail-v2__title img {
  max-width: 501px;
  height: auto;
}

.work-detail-v2__category {
  font-size: 12px;
  color: var(--color-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* -- 2-column: excerpt left + content right -- */
.work-detail-v2 .section-heading {
  margin-bottom: 30px;
}

.work-detail-v2 .section-heading__en {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.18;
}

@media (min-width: 769px) {
  .work-detail-v2 .section-heading {
    padding-right: 12%;
  }
}

.work-detail-v2__grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: clamp(21px, 2.4vw, 39px);
  align-items: start;
}

.work-detail-v2__meta {
  position: sticky;
  top: 75px;
  padding: 0 calc(var(--text-padding) - var(--container-padding)) 0;
  margin-top: -3px;
  transition: top 0.4s ease;
}

@media (min-width: 769px) {
  .header-v2--hidden ~ main .work-detail-v2__meta {
    top: 18px;
  }
}

/* 初期は非表示かつスペースも占有しない。section-heading が画面外に出たら .is-stuck を親に付けて
   高さ+余白ごとフェードイン */
.work-detail-v2__meta-title {
  font-size: 17px;
  font-weight: 590;
  letter-spacing: -0.014em;
  line-height: 1.5;
  color: var(--color-text-primary);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, margin-bottom 0.35s ease;
  pointer-events: none;
}

.work-detail-v2__meta.is-stuck .work-detail-v2__meta-title {
  opacity: 1;
  max-height: 3.2em;
  margin-bottom: 20px;
  transform: translateY(0);
  pointer-events: auto;
}

.work-detail-v2__excerpt {
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

/* -- Info table (metadata in left column) -- */
.work-detail-v2__info {
  font-size: 12px;
  line-height: 1.6;
}

.work-detail-v2__info p {
  margin-bottom: 15px;
  font-size: 12px;
  line-height: 1.8;
}

.work-detail-v2__info figure {
  margin: 0;
}

.work-detail-v2__info table {
  width: 100%;
  border-collapse: collapse;
}

.work-detail-v2__info table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  font-size: 12px;
  line-height: 1.6;
}

.work-detail-v2__info table tr:last-child td {
  border-bottom: none;
}

.work-detail-v2__info table td:first-child {
  white-space: nowrap;
  padding-right: 21px;
  color: var(--color-text-sub);
  font-weight: 400;
  width: 1%;
}

.work-detail-v2__info table td:last-child {
  color: var(--color-text-primary);
}

.work-detail-v2__info table a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.work-detail-v2__info table a:hover {
  opacity: 0.6;
}

/* ACF Detail List ブロック（テーマ内でも直接使われる場合） */
table.acl-detail-list {
  width: 100%;
  border-collapse: collapse;
}

table.acl-detail-list td {
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  font-size: 12px;
  line-height: 1.6;
}

table.acl-detail-list tr:last-child td {
  border-bottom: none;
}

table.acl-detail-list td:first-child {
  white-space: nowrap;
  padding-right: 21px;
  color: var(--color-text-sub);
  font-weight: 400;
  width: 1%;
}

table.acl-detail-list a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -- Body content (right column, force single-column full width) -- */
.work-detail-v2__body {
  font-size: 15px;
  font-family: var(--font-sans);
  line-height: 2;
  color: var(--color-text-primary);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 全子要素を幅いっぱいに、マージンリセット */
.work-detail-v2__body > * {
  width: 100%;
  max-width: 100%;
  margin: 0;
  float: none;
}

.work-detail-v2__body img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  display: block;
  filter: brightness(0.98) saturate(0.97);
}

.work-detail-v2__body img,
.work-detail-v2__body video {
  background: #f0f0f0;
  min-height: 60px;
}

.work-detail-v2__body iframe {
  background: #f0f0f0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 3px;
  display: block;
}

/* WPブロック: ギャラリー → 1カラム強制 */
.work-detail-v2__body .wp-block-gallery {
  display: flex;
  flex-direction: column;
  gap: 6px;
  columns: unset;
}

.work-detail-v2__body .wp-block-gallery .wp-block-image {
  width: 100%;
  margin: 0;
}

/* WP is-layout-flex デフォルト上書き */
.work-detail-v2__body .wp-block-columns.is-layout-flex {
  flex-direction: column;
  gap: 6px;
}

.work-detail-v2__body .is-layout-flow > * + * {
  margin-top: 0;
}

/* WPブロック: カラム — 1カラム強制、横幅いっぱい */
.work-detail-v2__body .wp-block-columns {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.work-detail-v2__body .wp-block-column {
  margin: 0;
  padding: 0;
  width: 100%;
  flex: none;
  min-width: 0;
}

/* 空カラムを非表示 */
.work-detail-v2__body .wp-block-column:empty {
  display: none;
}

/* WPブロック: figure全般 */
.work-detail-v2__body figure {
  margin: 0;
  width: 100%;
}

.work-detail-v2__body figcaption {
  font-size: 9px;
  color: var(--color-text-sub);
  margin-top: 3px;
  line-height: 1.4;
}

.work-detail-v2__body figure img,
.work-detail-v2__body figure iframe,
.work-detail-v2__body figure video {
  width: 100%;
  height: auto;
}

.work-detail-v2__body figure.wp-block-embed iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

.work-detail-v2__body p {
  padding: 0;
  margin: 0;
}

/* -- Credits (below content) -- */
.work-detail-v2__credits {
  border-top: 1px solid var(--color-border);
  margin-top: 63px;
  padding: 33px calc(var(--text-padding) - var(--container-padding)) 0;
}

.work-detail-v2__credits-label {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.credit-card {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 9px;
}

.credit-card:hover .credit-card__img {
  filter: grayscale(0%);
}

.credit-card__img {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.credit-card__text {
  display: flex;
  flex-direction: column;
}

.credit-card__name {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.credit-card__role {
  font-size: 9px;
  color: var(--color-text-sub);
  line-height: 1.3;
}

.work-detail-v2__credits-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(201px, 1fr));
  gap: 9px 33px;
}

.work-detail-v2__credits-row {
  font-size: 12px;
}

.work-detail-v2__credits-row dt {
  color: var(--color-text-sub);
  font-weight: 400;
  font-size: 12px;
}

.work-detail-v2__credits-row dd {
  margin: 0;
}

.work-detail-v2__credits-row dd a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.work-detail-v2__credits-row dd a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   19. Concept Video (.concept-v2)
   ========================================================================== */

.concept-v2 {
  position: relative;
  overflow: hidden;
}

.concept-v2__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(39px, 6vw, 81px);
  align-items: center;
}

.concept-v2__video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.concept-v2__video video,
.concept-v2__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.concept-v2__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.concept-v2__overlay:hover {
  background: rgba(0, 0, 0, 0.15);
}

.concept-v2__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
  color: white;
}

.concept-v2__play:hover {
  transform: scale(1.08);
  border-color: white;
}

.concept-v2__text {
  padding: clamp(39px, 6vh, 81px) clamp(24px, 3vw, 60px) clamp(39px, 6vh, 81px) 0;
}

.concept-v2__text h2,
.concept-v2__text h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-style: normal;
  line-height: 1.3;
  margin-bottom: 24px;
}

.concept-v2__text p {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 2;
  color: var(--color-text-sub);
}

/* ==========================================================================
   20. Modal (.modal-v2)
   ========================================================================== */

.modal-v2 {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal-v2--open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-v2--visible {
  opacity: 1;
}

.modal-v2__inner {
  position: relative;
  width: 90%;
  max-width: 960px;
}

.modal-v2__video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.modal-v2__close {
  position: absolute;
  top: -51px;
  right: 0;
  width: 45px;
  height: 45px;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.modal-v2__close:hover {
  opacity: 0.6;
}

.modal-v2__close::before,
.modal-v2__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1px;
  background: white;
}

.modal-v2__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-v2__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ==========================================================================
   20b. Lightbox (.lightbox)
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox--open {
  display: flex;
}

.lightbox--visible {
  opacity: 1;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__content img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  display: block;
}

.lightbox__content iframe {
  width: 81vw;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  border: none;
}

.lightbox__close {
  position: fixed;
  top: 21px;
  right: 24px;
  width: 45px;
  height: 45px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  transition: opacity 0.3s ease;
}

.lightbox__close:hover {
  opacity: 0.6;
}

.lightbox__close::before,
.lightbox__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 27px;
  height: 1px;
  background: white;
}

.lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  z-index: 10001;
  transition: border-color 0.3s ease;
}

.lightbox__nav:hover {
  border-color: white;
}

.lightbox__nav--prev {
  left: 21px;
}

.lightbox__nav--next {
  right: 21px;
}

.lightbox__counter {
  position: fixed;
  bottom: 21px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  z-index: 10001;
}

.work-detail-v2__body img,
.work-detail-v2__body iframe {
  cursor: pointer;
}

/* ==========================================================================
   21. Scroll Reveal Animation
   ========================================================================== */

.reveal {
  opacity: 1;
}

.reveal-delay-1 {}
.reveal-delay-2 {}
.reveal-delay-3 {}
.reveal-delay-4 {}

/* 画像個別フェードイン */
img {
  opacity: 0;
  transition: opacity 0.6s ease;
}

img.img--loaded {
  opacity: 1;
}

/* ==========================================================================
   22. Utilities
   ========================================================================== */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-section {
  margin-bottom: clamp(33px, 6vh, 48px);
}

.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;
}

.serif {
  font-family: var(--font-heading);
}

.serif-jp {
  font-family: var(--font-sans);
}

.italic {
  font-style: normal;
}

/* ==========================================================================
   Responsive — Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {

  /* Header */
  /* Base font size bump */
  body {
    font-size: 15px;
  }

  :root {
    --header-height: 60px;
  }

  .header-v2 {
    height: var(--header-height);
  }

  .header-v2__nav {
    display: none;
  }

  .header-v2__cta {
    display: none;
  }

  .header-v2__burger {
    display: flex;
  }

  /* スマホ: トップ含め常に白背景固定 */
  .header-v2--transparent {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
  }

  .header-v2--transparent .header-v2__logo img,
  .header-v2--transparent .header-v2__logo svg {
    filter: brightness(0);
  }

  .header-v2--transparent .header-v2__burger span {
    background: var(--color-text-primary);
  }

  /* About Hero */
  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero__image {
    position: static;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding-bottom: clamp(120px, 21vh, 210px);
  }

  .hero__title {
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  .hero__subtitle {
    font-size: 12px;
  }

  /* Statement */
  .statement__grid {
    grid-template-columns: 1fr;
    gap: 39px;
  }

  /* Works Grid */
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }

  /* Member Grid */
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }

  .member-card__name {
    font-size: 12px;
  }

  .member-card__shoulder {
    font-size: 9px;
  }

  /* Concept */
  .concept-v2__inner {
    grid-template-columns: 1fr;
  }

  .concept-v2__text {
    padding-left: 15px;
  }

  /* About hero text */
  .about-hero__text {
    padding-left: 15px;
  }

  /* News List */
  .news-list-v2 {
    grid-template-columns: 1fr 1fr;
  }

  .news-list-v2__title {
    font-size: 12px;
  }

  /* Footer */
  .footer-v2 {
    padding-top: 60px;
  }

  .footer-v2__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-v2__bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-v2__copyright-block {
    flex-direction: column;
    gap: 8px;
  }

  .footer-v2__legal {
    justify-content: center;
  }

  /* Filter Tabs — horizontal scroll */
  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 9px;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tabs__btn {
    flex-shrink: 0;
  }

  /* Filter Assets — wrap on mobile */
  .filter-assets {
    margin-bottom: 21px;
  }

  /* Detail table — stack on mobile */
  .work-detail-v2__info table,
  table.acl-detail-list {
    display: block;
  }

  .work-detail-v2__info table tr,
  table.acl-detail-list tr {
    display: flex;
    flex-direction: column;
    padding: 9px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .work-detail-v2__info table tr:last-child,
  table.acl-detail-list tr:last-child {
    border-bottom: none;
  }

  .work-detail-v2__info table td,
  table.acl-detail-list td {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom: none;
    white-space: normal;
  }

  .work-detail-v2__info table td:first-child,
  table.acl-detail-list td:first-child {
    width: 100%;
    padding-right: 0;
    margin-bottom: 3px;
    font-size: 12px;
  }

  /* 下層ページ: ヘッダー〜タイトル間を広げる */
  main > section:first-child {
    padding-top: calc(var(--header-height) + 33px) !important;
  }

  /* Section padding reduction */
  .section--dark,
  .section--light,
  .section--white,
  .section--cream {
    padding: clamp(60px, 9vh, 99px) 0;
  }

  /* Section heading */
  .section-heading {
    margin-bottom: 39px;
  }

  .section-heading--with-search {
    flex-wrap: wrap;
  }

  .works-search__input {
    width: 100%;
  }

  /* Work Detail */
  .work-detail-v2__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-detail-v2__meta {
    position: static;
  }

  .work-detail-v2__title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .work-detail-v2__title img {
    max-width: 100%;
  }

  .work-detail-v2__body {
    font-size: 15px;
  }

  .work-detail-v2__credits-list {
    grid-template-columns: 1fr 1fr;
  }

  /* Pagination */
  .pagination-v2 {
    margin-top: 39px;
  }

  .pagination-v2 a,
  .pagination-v2 span {
    width: 39px;
    height: 39px;
    font-size: 12px;
  }

  /* CTA */
  .cta-section__title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
}

/* ==========================================================================
   V3: Hero override (Create Idea Beyond Media / ASAHI CREATIVE LAB)
   ========================================================================== */

.hero--v3.section--dark,
.hero--v3.section--white {
  align-items: flex-end;
  padding: 0;
}

/* hero.section--dark のheroベーススタイルを white 版にも適用 */
.hero.section--white {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.hero__content--v3 {
  text-align: left;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* タグラインはブランド文字の左端に合わせて少し内側へ */
.hero__content--v3 .hero__tagline {
  padding-left: clamp(12px, 2vw, 28px);
}

.hero__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
  color: #0f1011;
  margin: 0 0 clamp(4px, 0.6vw, 10px);
  opacity: 0.85;
}

/* 画面横幅いっぱいに拡大、下端にピタッ（少しはみ出す） */
.hero__brand {
  font-family: var(--font-heading);
  font-weight: 500;
  /* 左右余白なし＋letter-spacing 0 にして17文字をぴったり画面に収める */
  font-size: 10.4vw;
  letter-spacing: 0;
  line-height: 0.82;
  color: #0f1011;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  /* descender ぶんを少し下にはみ出させる */
  margin-bottom: -0.08em;
  /* フォントの左サイドベアリングぶん左に寄せる */
  margin-left: -0.04em;
}

/* ==========================================================================
   V3: About 図式（2円 × ＝ 結論）
   ========================================================================== */

.about-v3 {
  padding-top: clamp(80px, 12vh, 160px);
  padding-bottom: clamp(80px, 12vh, 160px);
}

.about-v3__catch {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 4rem);
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--color-text-dark, #111);
  margin: 0 0 40px;
  line-height: 1.3;
}

/* 2カラム: 左イラスト / 右テキスト全部 */
.about-v3__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: stretch;
  /* 左端は画像張り付けたいので padding 0、右側は呼吸用の余白 */
  padding-left: 0;
  padding-right: clamp(24px, 5vw, 96px);
}

.about-v3__visual {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-v3__illust {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-v3__content {
  text-align: center;
}

.about-v3__content > .about-v3__catch {
  text-align: center;
  margin: 0 0 24px;
}

.about-v3__content > .about-v3__lead {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 820px;
}

/* 2カラム時は diagram を grid にして 円 × 円 を正円維持で並べる */
.about-v3__content .about-v3__diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(12px, 2.5vw, 40px);
  align-items: center;
  justify-items: center;
  margin: 0 auto;
  max-width: none;
}

.about-v3__content .about-v3__circle {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  flex: none;
  padding: 5%;
}

.about-v3__content .about-v3__equals {
  text-align: center;
}

.about-v3__content .about-v3__result {
  margin-left: auto;
  margin-right: auto;
}

.about-v3__content .about-v3__cta {
  text-align: center;
}

@media (max-width: 900px) {
  .about-v3__layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 0;
    padding-right: 0;
  }
  .about-v3__visual { height: auto; }
  .about-v3__illust {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  /* TOPの図式もスマホでは縦積み（円 / × / 円） */
  .about-v3__content .about-v3__diagram {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
  }
  .about-v3__content .about-v3__circle {
    max-width: min(320px, 80vw);
  }
  .about-v3__content > .about-v3__catch,
  .about-v3__content > .about-v3__lead,
  .about-v3__content .about-v3__cta {
    text-align: center;
  }
  .about-v3__content > .about-v3__lead {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-v3__content .about-v3__diagram {
    justify-content: center;
  }
  .about-v3__content .about-v3__result {
    margin-left: auto;
    margin-right: auto;
  }
}

.about-v3__lead {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 2;
  color: #333;
}

.about-v3__diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 48px);
  max-width: 960px;
  margin: 0 auto;
}

.about-v3__circle {
  flex: 0 1 360px;
  aspect-ratio: 1 / 1;
  border: 1px solid #111;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6%;
  box-sizing: border-box;
}

.about-v3__circle-sub {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  color: #333;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.about-v3__circle-main {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #111;
  margin: 0 0 16px;
}

.about-v3__circle-list {
  font-size: clamp(0.65rem, 0.85vw, 0.72rem);
  line-height: 1.6;
  color: #555;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #bbb;
  background: #f4f4f4;
  max-width: 80%;
  letter-spacing: 0.02em;
}

.about-v3__op,
.about-v3__equals {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1;
  color: #111;
  text-align: center;
}

.about-v3__op--x {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  flex: 0 0 auto;
}

.about-v3__equals {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin: 24px 0 16px;
  display: inline-block;
  transform: rotate(90deg);
}

.about-v3__result {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  letter-spacing: 0.08em;
  text-align: center;
  color: #111;
  margin: 0;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

@media (max-width: 760px) {
  .about-v3__diagram {
    flex-direction: column;
    gap: 16px;
  }
  .about-v3__circle {
    flex-basis: min(320px, 80vw);
    width: min(320px, 80vw);
  }
  .about-v3__op--x {
    margin: 4px 0;
  }
}

/* ==========================================================================
   V3: Hero カルーセル（TOP_WORKS）
   ========================================================================== */

.hero__slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: contain;            /* 縦横最長をビューポートに収める */
  background-position: center 44%;     /* 中央から 6% 上に寄せる */
  background-repeat: no-repeat;
  background-origin: content-box;      /* padding分は描画から除外 */
  background-clip: content-box;
  padding: clamp(40px, 7vh, 100px) clamp(24px, 5vw, 80px);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
  display: block;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* 白背景KV: オーバーレイ不要 */
.hero--v3 .hero__overlay {
  display: none;
}

/* スクロール促し縦線はV3では非表示 */
.hero--v3 .hero__scroll {
  display: none;
}

.hero__dots {
  position: absolute;
  bottom: clamp(16px, 2.5vh, 24px);
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease;
}

.hero__dot.is-active,
.hero__dot:hover {
  background: #fff;
}

/* ==========================================================================
   V3 × Linear DESIGN.md — tonal overrides
   Linearのダークベース + Inter Variable + 極薄ボーダー + 負letter-spacing を
   V3の既存構成（ヒーロー/ABOUT/WORKS/TEAM/NEWS）に重ねる上書き層。
   ========================================================================== */

:root {
  /* Linear dark surfaces */
  --ln-bg:          #08090a;
  --ln-bg-panel:    #0f1011;
  --ln-bg-surface:  #191a1b;
  --ln-bg-elev:     #28282c;

  /* Linear text ladder */
  --ln-text-1:      #f7f8f8;
  --ln-text-2:      #d0d6e0;
  --ln-text-3:      #8a8f98;
  --ln-text-4:      #62666d;

  /* Linear accent (indigo-violet) — hover/link accent のみに節度を持って採用 */
  --ln-accent:      #5e6ad2;
  --ln-accent-2:    #7170ff;
  --ln-accent-hov:  #828fff;

  /* Borders / surfaces */
  --ln-border-sub:  rgba(255, 255, 255, 0.05);
  --ln-border-std:  rgba(255, 255, 255, 0.08);
  --ln-surface-02:  rgba(255, 255, 255, 0.02);
  --ln-surface-04:  rgba(255, 255, 255, 0.04);
  --ln-surface-05:  rgba(255, 255, 255, 0.05);

  /* Light mode neutrals */
  --ln-light-bg:    #f7f8f8;
  --ln-light-surf:  #f3f4f5;
  --ln-light-text:  #0f1011;
  --ln-light-mut:   #6b7280;
  --ln-light-bd:    rgba(15, 16, 17, 0.08);
  --ln-light-bd-s:  rgba(15, 16, 17, 0.05);

  /* Existing V2 variables を Linear トーンに寄せる */
  --color-bg-dark:       var(--ln-bg);
  --color-bg-light:      var(--ln-light-bg);
  --color-bg-cream:      var(--ln-light-surf);
  --color-text-primary:  var(--ln-light-text);
  --color-text-light:    var(--ln-text-1);
  --color-border:        var(--ln-light-bd);
  --color-border-dark:   var(--ln-border-std);

  /* Typography: Inter Variable を先頭へ、OpenType cv01/ss03 を有効化 */
  --font-heading: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans:    "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "Berkeley Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ln-ff:        "cv01" 1, "ss03" 1;
}

html,
body {
  font-family: var(--font-sans);
  font-feature-settings: var(--ln-ff);
}

h1, h2, h3, h4, h5, h6 {
  font-feature-settings: var(--ln-ff);
}

/* セクション基本色の差し替え（構造は維持） */
.section--dark {
  background: var(--ln-bg);
  color: var(--ln-text-1);
}
.section--dark p,
.section--dark li {
  color: var(--ln-text-2);
}
.section--light {
  background: var(--ln-light-bg);
  color: var(--ln-light-text);
}
.section--cream {
  background: var(--ln-light-surf);
  color: var(--ln-light-text);
}

/* ヒーロー(V3)：Linear風コンプレストタイポ */
.hero__brand {
  font-weight: 510;
  letter-spacing: -0.045em;
  font-feature-settings: var(--ln-ff);
}
.hero__tagline {
  font-weight: 510;
  font-style: normal;
  letter-spacing: -0.012em;
  color: #0f1011;
  font-feature-settings: var(--ln-ff);
  opacity: 1;
}

/* セクションヘディング */
.section-heading__en {
  font-weight: 510;
  letter-spacing: -0.03em;
  font-feature-settings: var(--ln-ff);
}
.section-heading__label {
  font-weight: 510;
  letter-spacing: 0;
  color: var(--ln-text-3);
  font-feature-settings: var(--ln-ff);
}
.section--dark .section-heading__label { color: var(--ln-text-3); }
.section--light .section-heading__label,
.section--cream .section-heading__label { color: var(--ln-light-mut); }

.section-heading__line {
  background: var(--ln-border-std);
}
.section--light .section-heading__line,
.section--cream .section-heading__line {
  background: var(--ln-light-bd);
}

/* ABOUT v3：極薄ボーダー＋Linearタイポ */
.about-v3__catch {
  font-weight: 510;
  letter-spacing: -0.03em;
  color: var(--ln-light-text);
}
.about-v3__lead {
  color: var(--ln-light-mut);
  line-height: 1.75;
  letter-spacing: -0.01em;
}
.about-v3__circle {
  border: 1px solid var(--ln-light-bd);
}
.about-v3__circle-sub {
  color: var(--ln-light-mut);
  font-weight: 400;
}
.about-v3__circle-main {
  font-weight: 510;
  letter-spacing: -0.025em;
  color: var(--ln-light-text);
}
.about-v3__circle-list {
  background: transparent;
  border: 1px solid var(--ln-light-bd-s);
  color: var(--ln-light-mut);
  font-weight: 400;
}
.about-v3__op,
.about-v3__equals {
  color: var(--ln-light-text);
  font-weight: 300;
}
.about-v3__result {
  font-weight: 510;
  letter-spacing: -0.025em;
  color: var(--ln-light-text);
  text-decoration: none;
  border-bottom: 1px solid var(--ln-light-text);
  padding-bottom: 6px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.about-v3__cta {
  margin-top: clamp(40px, 6vh, 72px);
  text-align: center;
}

/* WORKS サムネ 横流しマーキー */
.works-marquee {
  overflow: hidden;
  padding: clamp(40px, 5vh, 80px) 0;
}

.works-marquee--tight {
  padding-top: 0;
}

.works-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: works-marquee-scroll 180s linear infinite;
}

.works-marquee__item {
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}

.works-marquee__item img {
  height: clamp(160px, 24vw, 320px);
  width: auto;
  /* lazy-load 中でも track の幅を安定させる。ロード完了後は intrinsic 比が優先される */
  aspect-ratio: auto 16 / 9;
  display: block;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.works-marquee__item:hover img {
  opacity: 0.85;
}

/* About ページ用：図式セクションのpaddingを詰めて地続きに */
.about-v3--tight {
  padding-top: 0;
  padding-bottom: clamp(24px, 4vh, 56px);
}

/* About ページは 2カラムレイアウト(.about-v3__layout)を使わないので、
   container 直下をセンター揃えにして equals(rotate)や result を中央に戻す */
.about-v3--tight > .container {
  text-align: center;
}

@keyframes works-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .works-marquee__track {
    animation: none;
  }
}

/* ボタン：Ghost（Linear仕様）に寄せる */
.btn-v2,
.btn-v2--outline {
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 510;
  letter-spacing: -0.007em;
  font-feature-settings: var(--ln-ff);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.section--dark .btn-v2--outline {
  background: var(--ln-surface-02);
  border: 1px solid var(--ln-border-std);
  color: var(--ln-text-1);
}
.section--dark .btn-v2--outline:hover {
  background: var(--ln-surface-05);
  border-color: var(--ln-border-std);
  color: var(--ln-text-1);
}
.section--light .btn-v2--outline,
.section--cream .btn-v2--outline,
.section--white .btn-v2--outline {
  background: transparent;
  border: 1px solid var(--ln-light-bd);
  color: var(--ln-light-text);
}
.section--light .btn-v2--outline:hover,
.section--cream .btn-v2--outline:hover,
.section--white .btn-v2--outline:hover {
  background: rgba(15, 16, 17, 0.04);
  border-color: rgba(15, 16, 17, 0.14);
  color: var(--ln-light-text);
}

/* Works / Member / News カード: 背景も枠もなしのフラット */
.works-card,
.member-card {
  border: none;
  border-radius: 0;
  background: transparent;
}
.section--dark .works-card,
.section--dark .member-card {
  background: transparent;
}
.works-card:hover,
.member-card:hover,
.section--dark .works-card:hover,
.section--dark .member-card:hover {
  background: transparent;
}
.works-card__title,
.member-card__name {
  font-weight: 590;
  letter-spacing: -0.02em;
}
.works-card__tag,
.member-card__shoulder {
  color: var(--ln-light-mut);
  font-weight: 510;
  letter-spacing: -0.01em;
}
.section--dark .works-card__tag,
.section--dark .member-card__shoulder {
  color: var(--ln-text-3);
}
.section--dark .works-card__title,
.section--dark .member-card__name {
  color: var(--ln-text-1);
}

/* News リスト：hairline divider */
.news-list-v2__item {
  border-bottom: 1px solid var(--ln-light-bd);
}
.section--dark .news-list-v2__item {
  border-bottom: 1px solid var(--ln-border-sub);
}
.section--dark .news-list-v2__item:hover {
  background: var(--ln-surface-02);
}

/* リンクhoverは色変更せず、既存の挙動（下線/opacity）に任せる */

/* ステートメントカードが残る場合のスタイル */
.statement__lead {
  font-weight: 510;
  letter-spacing: -0.03em;
}
.statement__item-title {
  font-weight: 590;
  letter-spacing: -0.02em;
}
.statement__number {
  font-weight: 510;
  color: var(--ln-light-mut);
  font-feature-settings: var(--ln-ff);
  letter-spacing: -0.01em;
}

/* フィルタボタン類：Linear pill に近づける */
.filter-tabs__btn,
.filter-assets__btn {
  font-family: var(--font-sans);
  font-weight: 510;
  letter-spacing: -0.007em;
  font-feature-settings: var(--ln-ff);
  border-radius: 9999px;
  border: 1px solid var(--ln-light-bd);
}
.section--dark .filter-tabs__btn,
.section--dark .filter-assets__btn {
  background: transparent;
  border-color: rgb(35, 37, 42);
  color: var(--ln-text-2);
}
.section--dark .filter-tabs__btn:hover,
.section--dark .filter-assets__btn:hover {
  background: var(--ln-surface-05);
  color: var(--ln-text-1);
}
.section--dark .filter-tabs__btn--active,
.section--dark .filter-assets__btn--active {
  background: var(--ln-accent);
  border-color: var(--ln-accent);
  color: #fff;
}
