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

:root {
  --ink: #171717;
  --muted: #6b675f;
  --paper: #fbfaf7;
  --paper-strong: #ffffff;
  --line: rgba(24, 24, 24, 0.10);
  --line-strong: rgba(24, 24, 24, 0.16);
  --shadow: 0 24px 80px rgba(20, 20, 20, 0.10);
  --shadow-soft: 0 12px 40px rgba(20, 20, 20, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --display-font: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "Times New Roman", serif;
  --body-font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.96), transparent 34rem),
    radial-gradient(circle at 80% 12%, rgba(231, 226, 216, 0.42), transparent 38rem),
    linear-gradient(180deg, #f6f4ef 0%, #ffffff 38%, #f8f7f4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0,0,0,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.014) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 58%);
}

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

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

button,
input {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 12px 12px;
  transition: top 160ms ease;
}

.skip-link:focus-visible {
  top: 0;
}

/* ---- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, 1280px);
  margin: 18px auto 0;
  padding: 14px 18px 14px 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(21, 20, 18, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: max-content;
  letter-spacing: 0.06em;
}

.brand-main {
  font-family: var(--display-font);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
}

.header-search {
  display: flex;
  align-items: center;
  width: min(340px, 40vw);
  height: 42px;
  padding: 0 6px 0 16px;
  background: rgba(248, 247, 244, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.header-search:focus-within {
  border-color: rgba(23, 23, 23, 0.34);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 23, 23, 0.06);
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.header-search input::placeholder {
  color: rgba(23, 23, 23, 0.42);
}

.header-search button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.header-search svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

main {
  width: min(100% - 48px, 1280px);
  margin: 28px auto 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---- hero ---- */

.hero {
  position: relative;
  min-height: clamp(520px, 52vw, 680px);
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(400px, 1.18fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid rgba(255, 255, 255, 0.90);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 30%, rgba(255,255,255,0.55) 52%, rgba(255,255,255,0.08) 76%, rgba(255,255,255,0) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6.4vw, 82px) clamp(26px, 5.6vw, 70px);
}

.hero h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(3.2rem, 6.2vw, 6.1rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.lead {
  margin: 24px 0 0;
  font-family: var(--display-font);
  font-size: clamp(1.15rem, 1.75vw, 1.62rem);
  line-height: 1.6;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.summary {
  max-width: 34em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 2;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin-top: 34px;
  padding: 13px 26px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.22);
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.hero-cta span {
  transition: transform 240ms ease;
}

.hero-cta:hover {
  background: #33302a;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.26);
}

.hero-cta:hover span {
  transform: translateY(3px);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.01);
}

/* ---- catalog ---- */

.catalog {
  margin-top: clamp(34px, 5vw, 64px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  margin-bottom: 22px;
}

.section-head .eyebrow {
  flex-basis: 100%;
  margin-bottom: 4px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.zukan-card {
  position: relative;
  grid-column: span 3;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ece8df;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform 280ms cubic-bezier(.2,.8,.2,1),
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.zukan-card:nth-child(-n+3) {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

.card-media,
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-media img {
  object-fit: cover;
  object-position: center;
  transition: transform 640ms cubic-bezier(.2,.8,.2,1), filter 280ms ease;
}

.card-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.16) 0%, rgba(10, 10, 12, 0) 30%),
    linear-gradient(180deg, rgba(10, 10, 12, 0) 42%, rgba(10, 10, 12, 0.62) 100%);
  transition: opacity 280ms ease;
}

.card-front {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 9px;
  padding: 20px 22px 20px;
}

.card-title {
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(1.3rem, 2vw, 1.78rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.card-copy {
  max-width: 26em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.card-tag {
  padding: 4px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.card-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.card-status--live {
  color: #fff;
  background: rgba(23, 23, 23, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.card-status--live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ee2a8;
  box-shadow: 0 0 0 0 rgba(126, 226, 168, 0.7);
  animation: live-pulse 2.4s ease-out infinite;
}

.card-status--soon {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(20, 20, 22, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(126, 226, 168, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(126, 226, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 226, 168, 0); }
}

.card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 240ms ease, transform 240ms ease, background 240ms ease, color 240ms ease;
}

a.zukan-card:hover,
a.zukan-card:focus-visible {
  border-color: rgba(23, 23, 23, 0.24);
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(20, 20, 20, 0.18);
}

a.zukan-card:hover .card-media img,
a.zukan-card:focus-visible .card-media img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.03);
}

a.zukan-card:hover .card-copy,
a.zukan-card:focus-visible .card-copy,
a.zukan-card:hover .card-arrow,
a.zukan-card:focus-visible .card-arrow {
  opacity: 1;
  transform: translate(0);
}

a.zukan-card:hover .card-arrow {
  background: var(--ink);
  color: #fff;
}

a.zukan-card:focus-visible {
  outline: 3px solid rgba(23, 23, 23, 0.3);
  outline-offset: 4px;
}

.zukan-card.is-soon {
  cursor: default;
}

.zukan-card.is-soon .card-media img {
  filter: saturate(0.82) brightness(0.94);
}

.zukan-card.is-soon .card-scrim {
  background:
    linear-gradient(180deg, rgba(14, 14, 16, 0.30) 0%, rgba(14, 14, 16, 0.10) 34%, rgba(14, 14, 16, 0.66) 100%);
}

.zukan-card.is-soon:hover .card-copy {
  opacity: 1;
  transform: translate(0);
}

/* reveal on scroll */

.will-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.8,.2,1);
}

.empty-state {
  margin: 34px 0 0;
  padding: 26px;
  color: var(--muted);
  text-align: center;
  background: rgba(255,255,255,0.75);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

[hidden] {
  display: none !important;
}

/* ---- about ---- */

.about {
  margin-top: clamp(46px, 7vw, 92px);
}

.about-inner {
  padding: clamp(34px, 5.4vw, 68px) clamp(24px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.about h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.about-lead {
  max-width: 44em;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 2.1;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(24px, 3vw, 38px);
}

.about-item {
  padding: 22px 24px;
  background: rgba(251, 250, 247, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.about-item h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.about-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

/* ---- footer ---- */

.site-footer {
  margin-top: clamp(46px, 7vw, 90px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 40px;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 34px 0 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
}

.footer-nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.footer-nav a:hover {
  border-color: var(--line-strong);
}

.footer-copy {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

/* ---- responsive ---- */

@media (max-width: 1100px) {
  .site-header,
  main,
  .footer-inner {
    width: min(100% - 34px, 960px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.72) 46%, rgba(255,255,255,0.97) 72%);
  }

  .hero-visual {
    position: relative;
    order: -1;
    height: clamp(260px, 42vw, 420px);
  }

  .hero-visual img {
    object-position: center;
  }

  .hero-copy {
    margin-top: clamp(-90px, -12vw, -130px);
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 11vw, 6.6rem);
  }

  .card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .zukan-card,
  .zukan-card:nth-child(-n+3) {
    grid-column: span 3;
    aspect-ratio: 4 / 3;
  }

  .zukan-card:first-child {
    grid-column: span 6;
    aspect-ratio: 16 / 8.4;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body::before {
    background-size: 38px 38px;
  }

  .site-header {
    width: calc(100% - 24px);
    margin-top: 10px;
    padding: 12px 12px 12px 16px;
    gap: 12px;
  }

  .brand-sub {
    display: none;
  }

  .header-search {
    width: 44px;
    padding: 0;
    justify-content: center;
    background: rgba(255,255,255,0.72);
  }

  .header-search:focus-within {
    position: absolute;
    right: 12px;
    left: 12px;
    width: auto;
    z-index: 2;
    padding-left: 16px;
  }

  .header-search input {
    width: 0;
    opacity: 0;
    pointer-events: none;
  }

  .header-search:focus-within input {
    width: 100%;
    opacity: 1;
    pointer-events: auto;
  }

  main {
    width: calc(100% - 22px);
    margin-top: 14px;
  }

  .footer-inner {
    width: calc(100% - 22px);
  }

  .hero {
    border-radius: 24px;
  }

  .hero-visual {
    height: clamp(220px, 58vw, 300px);
  }

  .hero-copy {
    margin-top: -46px;
    padding: 0 22px 30px;
  }

  .hero-copy .eyebrow {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.6rem);
  }

  .lead {
    margin-top: 16px;
    font-size: 1.16rem;
    letter-spacing: 0.14em;
  }

  .summary {
    max-width: 28em;
    font-size: 0.88rem;
    line-height: 1.9;
  }

  .hero-cta {
    margin-top: 24px;
    padding: 12px 22px;
    font-size: 0.88rem;
  }

  .section-head {
    margin: 30px 2px 16px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .zukan-card,
  .zukan-card:nth-child(-n+3),
  .zukan-card:first-child {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }

  .zukan-card:nth-child(3) {
    grid-column: span 2;
    aspect-ratio: 16 / 8.6;
  }

  .card-front {
    padding: 14px 15px 15px;
    gap: 7px;
  }

  .card-title {
    font-size: 1.12rem;
  }

  .card-copy {
    display: none;
  }

  .card-tag {
    padding: 3px 9px;
    font-size: 0.66rem;
  }

  .card-status {
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 0.64rem;
  }

  .card-arrow {
    width: 34px;
    height: 34px;
    right: 12px;
    bottom: 12px;
  }

  .about-inner {
    border-radius: 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 0 34px;
  }

  .footer-copy {
    margin-left: 0;
  }
}

.nowrap {
  white-space: nowrap;
}

@media (hover: none) {
  .card-arrow {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
  }
}
