:root {
  --bg: #f3f4f5;
  --bg-soft: #e9ebed;
  --ink: #161616;
  --muted: #5c5c5c;
  --line: rgba(22, 22, 22, 0.12);
  --white: #ffffff;
  --hero-veil:
    linear-gradient(
      180deg,
      rgba(243, 244, 245, 0.72) 0%,
      rgba(243, 244, 245, 0.18) 16%,
      transparent 34%
    ),
    linear-gradient(
      95deg,
      rgba(243, 244, 245, 0.94) 0%,
      rgba(243, 244, 245, 0.78) 24%,
      rgba(243, 244, 245, 0.28) 46%,
      transparent 62%
    ),
    linear-gradient(
      0deg,
      rgba(243, 244, 245, 0.96) 0%,
      rgba(243, 244, 245, 0.72) 18%,
      rgba(243, 244, 245, 0.22) 42%,
      transparent 64%
    );
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(900px 600px at 100% 8%, rgba(210, 216, 222, 0.55), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  color: var(--ink);
  pointer-events: none;
}

.brand-mark {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
}

.lang-switch {
  display: flex;
  gap: 0.15rem;
  pointer-events: auto;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.35s var(--ease);
}

.lang-btn.is-active,
.lang-btn:hover,
.lang-btn:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink);
  background: #e7e8ea;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.hero-image {
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 72% 42%;
  transform: scale(1.04);
  filter: saturate(0.88) contrast(0.98) brightness(1.03);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-veil);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 2.5rem));
  margin: 0 auto 0 clamp(1.25rem, 6vw, 5rem);
  padding: clamp(5.5rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem);
}

.hero-logo {
  width: clamp(112px, 16vw, 148px);
  height: auto;
  margin-bottom: 1.15rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s var(--ease) 0.15s forwards;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.48em;
  text-indent: 0.48em;
  color: var(--muted);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s var(--ease) 0.28s forwards;
}

.hero-title {
  margin: 0 0 0.9rem;
  font-family: var(--mincho);
  font-size: clamp(1.55rem, 3.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s var(--ease) 0.4s forwards;
}

body[data-lang="en"] .hero-title,
body[data-lang="en"] .section-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 28em;
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  color: var(--muted);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s var(--ease) 0.52s forwards;
}

.hero-date {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.35rem;
  font-family: var(--serif);
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s var(--ease) 0.64s forwards;
}

.hero-date span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-date time {
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  font-weight: 500;
}

.hero-cta {
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.1s var(--ease) 0.76s forwards;
}

.text-link,
.mail-link {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  letter-spacing: 0.16em;
  transition: opacity 0.3s var(--ease);
}

.text-link:hover,
.mail-link:hover,
.text-link:focus-visible,
.mail-link:focus-visible {
  opacity: 0.65;
}

.section {
  padding: clamp(4.5rem, 12vw, 8rem) clamp(1.25rem, 5vw, 2.5rem);
}

.section-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--muted);
}

.section-title {
  margin: 0 0 1.25rem;
  font-family: var(--mincho);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.section-body {
  margin: 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 0.98rem;
}

.concept {
  border-bottom: 1px solid var(--line);
}

.place-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: end;
}

.place-address {
  margin: 2rem 0 0;
  font-style: normal;
  display: grid;
  gap: 0.25rem;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

.place-figure {
  margin: 0;
  overflow: hidden;
}

.place-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease);
}

.place-figure:hover img {
  transform: scale(1.05);
}

.contact {
  text-align: left;
}

.contact-channels {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  margin-top: 2rem;
}

.contact-block-label {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--muted);
}

.mail-link {
  margin-top: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: 0.08em;
}

.line-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: 0.12em;
  transition: opacity 0.3s var(--ease);
}

.line-link:hover,
.line-link:focus-visible {
  opacity: 0.65;
}

.line-id {
  margin: 0.65rem 0 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

@media (min-width: 720px) {
  .contact-channels {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.site-footer {
  padding: 3.5rem clamp(1.25rem, 5vw, 2.5rem) 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.footer-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  width: 56px;
  height: auto;
  margin: 0 auto 1rem;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  font-size: 0.95rem;
}

.footer-company,
.footer-address,
.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-company {
  margin-top: 1.25rem;
}

.footer-address {
  margin-top: 0.35rem;
}

.footer-copy {
  margin-top: 1.75rem;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

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

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (min-width: 880px) {
  .place-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
  }

  .hero-content {
    margin-left: clamp(2.5rem, 8vw, 7rem);
    margin-bottom: 1.5rem;
  }
}

/* —— Mobile-first refinements —— */
@media (max-width: 879px) {
  .site-header {
    padding:
      calc(0.85rem + env(safe-area-inset-top, 0px))
      calc(1rem + env(safe-area-inset-right, 0px))
      0.85rem
      calc(1rem + env(safe-area-inset-left, 0px));
  }

  .brand-mark {
    font-size: 0.82rem;
    letter-spacing: 0.32em;
    text-indent: 0.32em;
  }

  .lang-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: end;
  }

  .hero-image {
    object-position: 52% 28%;
    filter: saturate(0.9) contrast(0.98) brightness(1.02);
  }

  .hero-media::after {
    background:
      linear-gradient(
        180deg,
        rgba(243, 244, 245, 0.55) 0%,
        rgba(243, 244, 245, 0.12) 14%,
        transparent 28%
      ),
      linear-gradient(
        0deg,
        rgba(243, 244, 245, 0.97) 0%,
        rgba(243, 244, 245, 0.88) 24%,
        rgba(243, 244, 245, 0.35) 48%,
        transparent 68%
      );
  }

  .hero-content {
    width: calc(100% - 2rem);
    max-width: none;
    margin: 0 auto;
    padding:
      calc(4.75rem + env(safe-area-inset-top, 0px))
      0
      calc(2.1rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-logo {
    width: 104px;
    margin-bottom: 0.85rem;
  }

  .hero-kicker {
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.34em;
    text-indent: 0.34em;
  }

  .hero-title {
    font-size: clamp(1.35rem, 6.4vw, 1.7rem);
    line-height: 1.6;
    letter-spacing: 0.05em;
    max-width: 12.5em;
  }

  body[data-lang="en"] .hero-title {
    max-width: 14em;
    font-size: clamp(1.45rem, 6.8vw, 1.85rem);
    line-height: 1.3;
  }

  .hero-lead {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.85;
    letter-spacing: 0.03em;
  }

  .hero-date {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 1.15rem;
    letter-spacing: 0.12em;
  }

  .hero-date time {
    font-size: 1.5rem;
  }

  .text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.12em;
  }

  .section {
    padding:
      3.5rem
      calc(1.15rem + env(safe-area-inset-right, 0px))
      3.5rem
      calc(1.15rem + env(safe-area-inset-left, 0px));
  }

  .section-label {
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }

  .section-title {
    font-size: clamp(1.3rem, 5.8vw, 1.6rem);
    letter-spacing: 0.05em;
    line-height: 1.55;
  }

  body[data-lang="en"] .section-title {
    line-height: 1.3;
  }

  .section-body {
    font-size: 0.92rem;
    line-height: 1.9;
  }

  .place-grid {
    gap: 1.75rem;
  }

  .place-copy {
    order: 2;
  }

  .place-figure {
    order: 1;
    margin-inline: -1.15rem;
    width: calc(100% + 2.3rem);
  }

  .place-figure img {
    aspect-ratio: 5 / 4;
    object-position: 55% 40%;
  }

  .place-address {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.7;
    word-break: break-word;
  }

  .mail-link {
    margin-top: 0;
    max-width: 100%;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    word-break: break-all;
    line-height: 1.5;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .line-link {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }

  .site-footer {
    padding:
      2.75rem
      calc(1.15rem + env(safe-area-inset-right, 0px))
      calc(2.5rem + env(safe-area-inset-bottom, 0px))
      calc(1.15rem + env(safe-area-inset-left, 0px));
  }

  .footer-brand {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }

  .footer-company,
  .footer-address,
  .footer-copy {
    font-size: 0.75rem;
    line-height: 1.7;
  }

  .footer-address {
    max-width: 18em;
    margin-left: auto;
    margin-right: auto;
    word-break: break-word;
  }
}

@media (max-width: 379px) {
  .hero-logo {
    width: 96px;
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .hero-date time {
    font-size: 1.35rem;
  }

  .mail-link {
    font-size: 0.95rem;
  }
}

@media (max-width: 879px) and (max-height: 720px) {
  .hero-content {
    padding-top: calc(4.1rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-logo {
    width: 96px;
    margin-bottom: 0.7rem;
  }

  .hero-lead {
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-date {
    margin-bottom: 0.9rem;
  }
}

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

  .hero-image,
  .hero-logo,
  .hero-kicker,
  .hero-title,
  .hero-lead,
  .hero-date,
  .hero-cta,
  .reveal,
  .place-figure img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
