@font-face {
  font-family: "Shippori Gothic B2";
  src: url("fonts/ShipporiGothicB2-OTF-Bold.woff2") format("woff2"),
    url("fonts/ShipporiGothicB2-OTF-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --milan-ink: #1b1b1b;
  --milan-ink-soft: #2b2b2b;
  --milan-cream: #f7f4f1;
  --milan-beige: #c8aa92;
  --milan-terracotta: #a86a63;
  --milan-border: rgba(27, 27, 27, 0.18);
  --milan-accent: #b54336;
}

body {
  font-family: "Shippori Gothic B2", "Hiragino Kaku Gothic Pro", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--milan-ink);
  background-color: var(--milan-cream) !important;
}

body.en {
  font-family: "Shippori Gothic B2", "Noto Sans JP", sans-serif;
  font-weight: 400;
}

/* Launch mode: hide selected sections until the next update */
body.launch-initial #header .language-switcher,
body.launch-initial.home #material,
body.launch-initial.home #art-director,
body.launch-initial.home #photo-gallery {
  display: none !important;
}

a {
  color: inherit;
}

a:hover {
  opacity: 0.7;
}

#header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

#header .logo svg {
  color: var(--milan-ink);
}

#header .btn-release a {
  background-color: var(--milan-ink);
  color: var(--milan-cream);
  letter-spacing: 0.08em;
}

#header ul.language-switcher li {
  border-bottom-color: transparent;
}

#header ul.language-switcher li.active {
  border-bottom-color: var(--milan-ink);
}

#header ul.language-switcher li a {
  color: var(--milan-ink);
}

.home #scroll-container {
  padding-top: 0;
}

.home #top-visual {
  position: relative;
  margin-top: 0;
  height: 72vh;
  min-height: 440px;
  background: url("images/top.jpg") center / cover no-repeat;
}

.hero {
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  width: 100%;
  padding: 0 6% 2rem;
  background: none;
}

.hero-logo {
  position: absolute;
  left: 50%;
  bottom: -5.5rem;
  transform: translateX(-50%);
  display: block;
}

.hero-logo img,
.hero-logo svg {
  display: block;
  width: min(396px, 77vw);
  height: auto;
}



.home #top-visual canvas,
.home #top-visual video {
  display: none !important;
}

.home #intro {
  background: var(--milan-beige);
}

.home #intro section {
  padding: 4.5rem 6% 3.5rem;
}

.intro-card {
  display: grid;
  grid-template-columns: minmax(0, 35fr) minmax(0, 45fr);
  gap: 50px;
  align-items: start;
  max-width: 800px;
  margin: 80px auto;
}

.intro-lead p {
  margin: 0 0 1.25rem;
  color: var(--milan-ink);
}

.intro-title {
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.56px;
  margin-bottom: 1.5rem;
}

.intro-event {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.56px;
  margin-bottom: 0.25rem;
}

.intro-meta {
  border-left: none;
  padding-left: 0;
  color: var(--milan-ink-soft);
}

.intro-date {
  font-size: 21px;
  font-style: normal;
  font-weight: 700;
  line-height: 10px;
  letter-spacing: 0.56px;
  margin-top: 1.1rem;
}

.intro-lead-text {
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  margin-top: 0;
}

.intro-theme {
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  margin: 1.25rem 0 1.1rem;
}

.intro-meta p {
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

.intro-meta p {
  margin-bottom: 1.1rem;
}

.intro-textile {
  margin-top: 2.5rem;
  border: none;
  background: transparent;
}

.intro-slider {
  position: relative;
}

.intro-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.intro-slider-track::-webkit-scrollbar {
  display: none;
}

.intro-slide {
  min-width: 100%;
  scroll-snap-align: start;
}

.intro-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 0 0.5rem;
}

.intro-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--milan-border);
  background: rgba(247, 244, 241, 0.8);
  cursor: pointer;
  z-index: 2;
}

.intro-arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--milan-ink);
  border-bottom: 2px solid var(--milan-ink);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
}

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

.intro-arrow-prev {
  left: 12px;
}

.intro-arrow-next {
  right: 12px;
}

.intro-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: rgba(27, 27, 27, 0.35);
  padding: 0;
  cursor: pointer;
}

.intro-dot.is-active {
  background: rgba(27, 27, 27, 0.85);
}

.intro-textile-row {
  padding-top: 2.5rem;
}

.home section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 6% 3rem;
}

.home .section-title {
  font-family: "Shippori Gothic B2", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 43.2px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  color: var(--milan-ink);
  margin-bottom: 2.5rem;
}

.home .section-title span {
  background: transparent;
  padding: 0;
}

.section-title .title-char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-0.4em);
  will-change: opacity, transform;
}

.page-title .title-char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-0.4em);
  will-change: opacity, transform;
}

.fade-item.is-visible .section-title .title-char {
  animation: section-title-char 0.6s ease forwards;
  animation-delay: calc(var(--char-index) * 0.05s);
}

.page-title.is-animated .title-char {
  animation: section-title-char 0.6s ease forwards;
  animation-delay: calc(var(--char-index) * 0.05s);
}

@keyframes section-title-char {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home #material .image {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 2.5rem;
}

.home #material .content {
  max-width: 856px;
  margin: 0 auto;
}

.home #material .material-thumb {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: block;
}

.home #material .material-thumb img {
  transition: filter 0.3s ease;
}

.home #material .material-thumb:hover img,
.home #material .material-thumb:focus-visible img {
  filter: grayscale(100%);
}

.home #material .material-thumb:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.home #material .image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: none;
}

.home #material .description p {
  font-size: 14px;
}

.home #material {
  position: relative;
  overflow: hidden;
}

.home #material::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/strata01.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.5;
  pointer-events: none;
}

.home #material section {
  position: relative;
  z-index: 1;
}

#loading {
  background: #c9a68e;
}

.fade-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.fade-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-item {
    transition: none;
    transform: none;
  }
}

@media screen and (max-width: 1199px) {
  .home #material .image {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media screen and (max-width: 899px) {
  .home #material .image {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 639px) {
  .home #material .image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home #art-director .content,
.home #overview section,
.home #photo-gallery section,
.home #archive section {
  max-width: 852px;
  margin-left: auto;
  margin-right: auto;
}

.home #overview {
  background: #af6e4e;
  color: #1f1614;
}

.home #overview dl {
  margin-left: 0;
  padding-left: 0;
  width: min(800px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.home #concept {
  background-color: #af6e4e;
  position: relative;
  overflow: hidden;
}

.home #concept::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/strata02.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.5;
  pointer-events: none;
}

.home #concept .concept-block {
  text-align: center;
  margin: 80px 0;
  position: relative;
  z-index: 1;
}

.concept-slider {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  transform: none;
  overflow: hidden;
  padding: 1.5rem 0 2.5rem;
}

.concept-slider-track {
  display: flex;
  gap: 10px;
  animation: concept-marquee 18.6667s linear infinite;
}

.concept-slide {
  flex: 0 0 auto;
  width: clamp(286px, 31.2vw, 416px);
}

.concept-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.concept-slide-btn {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.concept-slide-btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
}

.modal[aria-hidden="false"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal-content {
  position: relative;
  width: min(1200px, 92vw);
  height: min(80vh, 900px);
  margin: 0 auto;
  z-index: 1;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: #fff;
  transform-origin: center;
}

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

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

.material-modal .modal-backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.material-modal .modal-content {
  width: min(1000px, 92vw);
  max-height: 90vh;
  background: #fff;
  padding: 24px 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: auto;
}

.material-modal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.material-modal-image {
  width: 100%;
  height: min(60vh, 620px);
  object-fit: contain;
  display: block;
}

.material-modal-text {
  font-size: 14px;
  line-height: 1.9;
  color: #1b1b1b;
  max-width: 740px;
}

.material-nav {
  width: 48px;
  height: 48px;
  border: 1px solid #111;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
}

.material-nav::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #111;
  border-right: 0;
  border-bottom: 0;
  top: 50%;
  left: 50%;
}

.material-nav-prev::before {
  transform: translate(-40%, -50%) rotate(-45deg);
}

.material-nav-next::before {
  transform: translate(-60%, -50%) rotate(135deg);
}

.material-nav:hover {
  opacity: 0.7;
}

.material-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

@media screen and (max-width: 768px) {
  .material-modal .modal-content {
    width: 94vw;
    padding: 56px 16px 24px;
    flex-direction: column;
  }

  .material-nav {
    width: 40px;
    height: 40px;
  }

  .material-nav-prev,
  .material-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
  }

  .material-nav-prev {
    left: 8px;
  }

  .material-nav-next {
    right: 8px;
  }

  .material-modal-image {
    height: 48vh;
  }
}

.is-modal-open {
  overflow: hidden;
}

@keyframes concept-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.home #concept .description {
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.56px;
  color: #1f1614;
  margin-left: auto;
  margin-right: auto;
}

.home #overview .map {
  background-color: var(--milan-cream);
  color: var(--milan-ink);
}

.home #overview .overview-map {
  margin-top: 0.75rem;
}

.home #overview .overview-map iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.home #overview .overview-map-list {
  margin: 0 auto;
  padding-top: 1rem;
  display: block;
}

.home #overview .overview-map-list dt,
.home #overview .overview-map-list dd {
  width: 100%;
  padding: 0;
  margin: 0;
  display: block;
}

.home #overview .overview-map-list dd {
  display: none;
}

.home #art-director .image {
  filter: none;
  border-radius: 8px;
  overflow: hidden;
}

.home #art-director h3 {
  font-family: var(--H3, "Shippori Gothic B2");
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: var(--line-height-32_4, 32.4px);
  letter-spacing: var(--letter-spacing-0_56, 0.56px);
}

.home #art-director,
.home #art-director .text,
.home #art-director .content-title,
.home #art-director .message,
.home #art-director .profile,
.home #art-director p,
.home #art-director a {
  font-family: "Shippori Gothic B2", sans-serif;
}

.home #art-director {
  background: #ffffff;
}

.slideshow-thumb-list {
  margin: 6rem auto 1.5rem;
  gap: 0;
}

.slideshow-thumb {
  border-color: var(--milan-ink);
}

.slideshow-thumb:last-of-type {
  border-color: var(--milan-ink);
}

.archive-list .archive-list-item .year {
  color: var(--milan-ink-soft);
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 24px;
  max-width: 900px;
  margin: 40px auto 0;
}

.archive-list .archive-list-item {
  width: auto;
  margin-bottom: 0;
}

.archive-list .archive-list-item img {
  width: 100%;
  height: auto;
  display: block;
}

.archive-list .archive-list-item .year {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.56px;
  color: #1b1b1b;
}

.home #archive .section-title {
  text-align: center;
  margin-bottom: 24px;
}

.home #overview {
  position: relative;
  overflow: hidden;
}

.home #overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/strata03.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto;
  opacity: 0.5;
  pointer-events: none;
}

.home #overview section {
  position: relative;
  z-index: 1;
}

.footer {
  color: var(--milan-ink-soft);
  background: #ffffff;
}

.footer .copyright {
  color: var(--milan-ink-soft);
}

.photo-gallery main {
  background: var(--milan-cream);
}

.photo-gallery .page-title {
  font-family: "Shippori Gothic B2", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--milan-ink);
}

.photo-gallery .collection-list-item > div {
  border: 1px solid var(--milan-border);
}

.photo-gallery .archive-list .year {
  color: var(--milan-ink-soft);
}

.home #photo-gallery,
.home #archive,
.home #contact,
.footer {
  background: #ffffff;
}

main {
  padding-bottom: 0;
}

.home #contact {
  padding: 48px 0 72px;
  background: #ffffff;
}

.home #contact section {
  text-align: center;
}

.home #contact .btn-contact,
.home #contact .btn-instagram {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border: 1px solid #6f6f6f;
  color: #1b1b1b;
  background: transparent;
}

.home #contact .btn-instagram {
  margin-left: 0;
  border: none;
  padding: 0;
  margin-top: 12px;
  letter-spacing: 0.56px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home #contact .contact-divider {
  width: 260px;
  height: 1px;
  background: #6f6f6f;
  margin: 24px auto 16px;
}

.home #contact .btn-instagram::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background: url("images/icon_instagram.svg") center / contain no-repeat;
}

.footer {
  background: #ffffff;
  color: #1b1b1b;
  padding-top: 24px;
}

.footer .logo a {
  margin: 0 auto 12px;
  width: 56px;
  max-width: none;
}

.footer .copyright {
  color: #1b1b1b;
  font-size: 12px;
  margin-top: 8px;
}

@media screen and (max-width: 900px) {
  .home #top-visual {
    height: 55vh;
    min-height: 320px;
  }

  .hero-overlay {
    padding-bottom: 1.5rem;
  }

  .hero-logo img {
    width: min(280px, 80vw);
  }

  .intro-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .intro-meta {
    border-left: none;
    border-top: 1px solid var(--milan-border);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .home #material .image {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  #header {
    position: static;
  }

  .home #intro .title-image svg {
    width: 70%;
  }

  .home #material .image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
