/* ============================================================
   喫茶メモリー kissa memory — style.css
   ============================================================ */

/* ----------------------------------------
   0. Custom Properties
   ---------------------------------------- */
:root {
  /* Colors */
  --clr-bg:           #FAF8F5;
  --clr-bg-alt:       #F2EDE5;
  --clr-bg-dark:      #2C1F14;
  --clr-text:         #2C1F14;
  --clr-text-mid:     #5A4030;
  --clr-text-light:   #9A8070;
  --clr-accent:       #B5896E;
  --clr-accent-light: #E8D5C4;
  --clr-accent-dark:  #8A6349;
  --clr-border:       #E0D7CE;
  --clr-white:        #FFFDF9;

  /* Tag colors */
  --clr-tag-event:  #C8736A;
  --clr-tag-report: #7B9E87;
  --clr-tag-info:   #7A8FAD;

  /* Typography */
  --font-en:  'Cormorant Garamond', Georgia, serif;
  --font-ja:  'Shippori Mincho', 'Yu Mincho', 'YuMincho', serif;
  --font-body: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic Pro', sans-serif;

  /* Spacing scale */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  8rem;

  /* Layout */
  --container:    1100px;
  --pad:          1.5rem;
  --nav-h:        68px;

  /* Motion */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur:          0.4s;
  --dur-slow:     0.8s;
}

@media (max-width: 768px) {
  :root {
    --nav-h:  58px;
    --pad:    1.25rem;
    --sp-xl:  5rem;
    --sp-lg:  3rem;
  }
}

/* ----------------------------------------
   1. Reset & Base
   ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

address {
  font-style: normal;
}

/* ----------------------------------------
   2. Layout Helpers
   ---------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: var(--sp-xl) 0;
}

/* ----------------------------------------
   3. Section Title
   ---------------------------------------- */
.section-title {
  margin-bottom: var(--sp-lg);
}

.section-title.centered {
  text-align: center;
}

.section-title__en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--clr-text);
  line-height: 1;
}

.section-title__ja {
  display: block;
  font-family: var(--font-ja);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--clr-text-light);
  margin-top: 0.6rem;
}

/* ----------------------------------------
   4. Buttons
   ---------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.8rem 2.4rem;
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-text);
  color: var(--clr-white);
  border-color: var(--clr-text);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--clr-accent-dark);
  border-color: var(--clr-accent-dark);
}

.btn--outline {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-text);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--clr-text);
  color: var(--clr-white);
}

/* ----------------------------------------
   5. Scroll Animation — fade-up
   ---------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

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

[data-delay="150"] { transition-delay: 150ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }

/* section-more */
.section-more {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
  margin-top: var(--sp-md);
}

/* ----------------------------------------
   6. SNS Link
   ---------------------------------------- */
.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--clr-accent-dark);
  transition: opacity var(--dur) var(--ease);
}

.sns-link:hover {
  opacity: 0.65;
}

/* ----------------------------------------
   7. Navigation
   ---------------------------------------- */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 90;
  height: var(--nav-h);
  transition:
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.nav.scrolled {
  background-color: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--clr-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__links a {
  font-family: var(--font-ja);
  font-size: 0.775rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--dur) var(--ease);
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.nav.scrolled .nav__links a {
  color: var(--clr-text);
}

.nav.scrolled .nav__links a:hover {
  color: var(--clr-accent-dark);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--clr-white);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav.scrolled .nav__hamburger span {
  background: var(--clr-text);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 820px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    inset-block-start: var(--nav-h);
    inset-inline: 0;
    background: var(--clr-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--dur) var(--ease),
      opacity var(--dur) var(--ease);
    box-shadow: 0 6px 24px rgba(44, 31, 20, 0.1);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__links a {
    display: block;
    padding: 0.9rem var(--pad);
    color: var(--clr-text) !important;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--clr-border);
  }

  .nav__links a::after {
    display: none;
  }
}

/* ----------------------------------------
   8. Hero
   ---------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background */
.hero__bg {
  position: absolute;
  inset: 0;
  /* Fallback gradient when image is missing */
  background:
    radial-gradient(ellipse at 25% 75%, rgba(181, 137, 110, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(181, 137, 110, 0.12) 0%, transparent 55%),
    linear-gradient(150deg, #1A0E0A 0%, #3D2B1F 55%, #2A1A10 100%);
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Smooth load */
  transition: opacity 0.6s ease;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 10, 5, 0.28) 0%,
    rgba(20, 10, 5, 0.50) 50%,
    rgba(20, 10, 5, 0.65) 100%
  );
}

/* Film grain */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--pad);
}

.hero__eyebrow {
  font-family: var(--font-ja);
  font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
  opacity: 0;
  animation: heroIn 1s 0.5s var(--ease) both;
}

.hero__title {
  font-family: var(--font-en);
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--clr-white);
  opacity: 0;
  animation: heroIn 1.2s 0.85s var(--ease) both;
}

.hero__tagline {
  font-family: var(--font-ja);
  font-size: clamp(0.75rem, 1.8vw, 0.9375rem);
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.75rem;
  opacity: 0;
  animation: heroIn 1s 1.35s var(--ease) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero logo (h1 with image) */
.hero__logo {
  width: min(480px, 80vw);
  margin-left: auto;
  margin-right: auto;
  font-size: 0;
}

.hero__logo-img {
  width: 100%;
  height: auto;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  opacity: 0;
  animation: heroIn 1s 2s var(--ease) both;
}

.hero__scroll-text {
  font-family: var(--font-en);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  animation: scrollPulse 2.2s 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ----------------------------------------
   9. About
   ---------------------------------------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
}

.about__body {
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--clr-text-mid);
  margin-bottom: 0.9rem;
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

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

/* ----------------------------------------
   10. Concept
   ---------------------------------------- */
.concept__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
}

.concept__about {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--clr-border);
}

.concept__catchcopy {
  font-family: var(--font-ja);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: var(--clr-text);
  margin-bottom: 1.25rem;
}

.concept__lead {
  font-family: var(--font-ja);
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
  line-height: 2.2;
  color: var(--clr-text-mid);
}

.concept__body {
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--clr-text-mid);
  margin-bottom: 0.9rem;
}

.concept__sns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
}

/* Image with decorative frame */
.concept__image {
  position: relative;
}

.concept__image-frame {
  position: relative;
}

.concept__image-frame::before {
  content: '';
  position: absolute;
  inset: -18px -18px 18px 18px;
  border: 1px solid var(--clr-border);
  pointer-events: none;
  z-index: 0;
}

.concept__image-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--clr-bg-alt); /* fallback */
}

.concept__image-wrap img {
  width: 100%;
  height: clamp(320px, 50vw, 520px);
  object-fit: cover;
  object-position: center top;
  transition: transform 0.9s var(--ease);
}

.concept__image-wrap:hover img {
  transform: scale(1.04);
}

@media (max-width: 860px) {
  .concept__inner {
    grid-template-columns: 1fr;
  }
  .concept__image {
    order: -1;
  }
  .concept__image-frame::before {
    inset: -10px -10px 10px 10px;
  }
  .concept__image-wrap img {
    height: 300px;
  }
}

/* ----------------------------------------
   10. Next Event
   ---------------------------------------- */
.next-event {
  background-color: var(--clr-bg-alt);
}

.event-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  overflow: hidden;
}

/* Header */
.event-card__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-md);
  padding: var(--sp-md);
  border-bottom: 1px solid var(--clr-border);
  align-items: start;
}

.event-card__date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.75rem;
  background: #00316c;
  color: var(--clr-white);
  min-width: 110px;
  flex-shrink: 0;
  gap: 0.25rem;
  border-radius: 12px;
}

.event-card__year {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  opacity: 0.5;
}

.event-card__month-day {
  font-family: var(--font-en);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
}

.event-card__dow {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.6;
}

.event-card__no {
  font-family: var(--font-ja);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--clr-text-light);
  margin-bottom: 0.25rem;
}

.event-card__desc {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--clr-text-mid);
  margin-bottom: 0.75rem;
}

.event-card__title {
  font-family: var(--font-ja);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.event-card__details {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.event-card__details li {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--clr-text-mid);
  align-items: baseline;
}

.event-card__label {
  font-family: var(--font-ja);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--clr-text-light);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  min-width: 2.5rem;
}

/* Body: Map + Menu */
.event-card__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.event-card__section {
  padding: var(--sp-md);
}

.event-card__map {
  border-right: 1px solid var(--clr-border);
}

.event-card__section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ja);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--clr-text-light);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--clr-border);
}

/* Map embed */
.map-embed {
  position: relative;
  margin-bottom: 0.75rem;
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

.map-embed__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 280px;
  background: var(--clr-bg-alt);
  color: var(--clr-text-light);
  font-family: var(--font-ja);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-align: center;
  border: 1px dashed var(--clr-border);
}

/* When a real iframe src is set, hide placeholder */
.map-embed iframe:not([src="about:blank"]) + .map-embed__placeholder {
  display: none;
}

.map-address {
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--clr-text-mid);
}

/* Seats */
.event-card__seats {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--clr-border);
}

.seats-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.seats-area__name {
  font-family: var(--font-ja);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--clr-accent);
  margin-bottom: 0.5rem;
}

.seats-area ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.seats-area li {
  font-size: 0.8rem;
  color: var(--clr-text-mid);
  line-height: 1.7;
  padding-bottom: 0.3rem;
  border-bottom: 1px dotted var(--clr-border);
}

.seats-note {
  font-size: 0.72rem;
  color: var(--clr-text-light);
}

.seats-note--full {
  font-size: 0.8rem;
  color: var(--clr-text-light);
  font-style: italic;
  border-bottom: none;
}

/* Menu */
.menu-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  background: var(--clr-bg-alt); /* fallback */
}

.menu-category {
  margin-bottom: 1.25rem;
}

.menu-category__name {
  font-family: var(--font-ja);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--clr-accent);
  margin-bottom: 0.6rem;
}

.menu-category ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.menu-category li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dotted var(--clr-border);
  gap: 0.5rem;
}

.menu-item__name {
  color: var(--clr-text);
  flex: 1;
}

.menu-item__price {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--clr-text-light);
  white-space: nowrap;
}

.menu-note {
  font-size: 0.73rem;
  color: var(--clr-text-light);
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

/* Venue photo (inside map section) */
.event-card__venue-photo {
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--clr-bg-alt);
  border-radius: 2px;
}

.event-card__venue-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}

.event-card__venue-photo:hover img {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 900px) {
  .event-card__header {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }

  .event-card__date-block {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    min-width: auto;
  }

  .event-card__body {
    grid-template-columns: 1fr;
  }

  .event-card__map {
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
  }
}

@media (max-width: 480px) {
  .event-card__section {
    padding: var(--sp-sm);
  }
}

/* ----------------------------------------
   11. News
   ---------------------------------------- */
.news-list {
  border-top: 1px solid var(--clr-border);
}

.news-item {
  border-bottom: 1px solid var(--clr-border);
}

.news-item__link {
  display: grid;
  grid-template-columns: 130px auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  transition: color var(--dur) var(--ease);
}

.news-item__link:hover {
  color: var(--clr-accent-dark);
}

/* Meta: date + tag */
.news-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}

.news-item__date {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--clr-text-light);
}

.news-item__tag {
  font-family: var(--font-ja);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.55rem;
  display: inline-block;
  border-radius: 1px;
}

.news-item__tag--event {
  background: rgba(200, 115, 106, 0.12);
  color: var(--clr-tag-event);
}

.news-item__tag--report {
  background: rgba(123, 158, 135, 0.12);
  color: var(--clr-tag-report);
}

.news-item__tag--info {
  background: rgba(122, 143, 173, 0.12);
  color: var(--clr-tag-info);
}

/* Thumbnail */
.news-item__thumb {
  width: 90px;
  height: 68px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--clr-bg-alt);
}

.news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.news-item__link:hover .news-item__thumb img {
  transform: scale(1.06);
}

/* Text */
.news-item__title {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.news-item__excerpt {
  font-size: 0.8rem;
  color: var(--clr-text-light);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Arrow */
.news-item__arrow {
  font-family: var(--font-en);
  font-size: 1.125rem;
  color: var(--clr-text-light);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
  padding-right: 0.25rem;
}

.news-item__link:hover .news-item__arrow {
  transform: translateX(5px);
  color: var(--clr-accent-dark);
}

/* Mobile news */
@media (max-width: 720px) {
  .news-item__link {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 0.6rem;
    column-gap: 1rem;
  }

  .news-item__meta {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
  }

  .news-item__thumb {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 72px;
    height: 72px;
  }

  .news-item__text {
    grid-column: 1;
    grid-row: 2;
  }

  .news-item__arrow {
    display: none;
  }
}

/* ----------------------------------------
   12. Gallery
   ---------------------------------------- */
.gallery {
  background-color: var(--clr-bg-alt);
}

.gallery__caption {
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--clr-text-light);
  margin-top: calc(var(--sp-lg) * -0.6);
  margin-bottom: var(--sp-md);
}

.gallery__caption a {
  color: var(--clr-accent-dark);
  transition: opacity var(--dur) var(--ease);
}

.gallery__caption a:hover {
  opacity: 0.65;
}

/* Grid */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 0;
}

.gallery__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  background: var(--clr-bg-alt);
  padding: 0;
  border: none;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 31, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.gallery__item-overlay span {
  font-family: var(--font-en);
  font-size: 2.5rem;
  color: var(--clr-white);
  line-height: 1;
  font-weight: 300;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.07);
}

.gallery__item:hover .gallery__item-overlay,
.gallery__item:focus-visible .gallery__item-overlay {
  opacity: 1;
}

@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Instagram embed feed */
.gallery__instagram-feed {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
  padding: 0 var(--pad) var(--sp-lg);
}

.gallery__instagram-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  min-width: 280px;
  max-width: 380px;
}

.gallery__instagram-feed .instagram-media {
  width: 100%;
  min-width: unset;
  max-width: unset;
  margin: 0 !important;
}

.gallery__instagram-btn {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  padding: 0.45em 1.2em;
}

/* ----------------------------------------
   13. Goods
   ---------------------------------------- */
.goods {
  background-color: var(--clr-bg-alt);
}

.goods__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}

.goods__text {
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--clr-text-mid);
}

.goods__images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: var(--sp-md);
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.goods__img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--clr-bg);
  border-radius: 4px;
}

.goods__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}

.goods__img-wrap:hover img {
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .goods__images {
    gap: 0.5rem;
  }
}

/* ----------------------------------------
   14. Contact
   ---------------------------------------- */
.contact__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact__logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto var(--sp-md);
}

.contact__text {
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--clr-text-mid);
  margin-bottom: var(--sp-md);
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: color var(--dur) var(--ease);
  padding: 0.4rem 0;
}

.contact__link:hover {
  color: var(--clr-accent-dark);
}

@media (max-width: 480px) {
  .contact__links {
    flex-direction: column;
    align-items: center;
  }
}

/* ----------------------------------------
   14. Footer
   ---------------------------------------- */
.footer {
  background: var(--clr-bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--sp-lg) 0 var(--sp-md);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.footer__logo img {
  height: 44px;
  width: auto;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
}

.footer__nav a {
  font-family: var(--font-ja);
  font-size: 0.725rem;
  letter-spacing: 0.12em;
  transition: color var(--dur) var(--ease);
}

.footer__nav a:hover {
  color: var(--clr-white);
}

.footer__sns {
  display: flex;
  gap: 1.25rem;
}

.footer__sns a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px;
  transition: color var(--dur) var(--ease);
}

.footer__sns a:hover {
  color: var(--clr-white);
}

.footer__sns-name {
  font-family: var(--font-ja);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.footer__copy {
  font-family: var(--font-en);
  font-size: 0.675rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
}

/* ----------------------------------------
   15. Lightbox
   ---------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 8, 4, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s var(--ease);
}

.lightbox:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(90vw, 900px);
  max-height: 88vh;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.lightbox__close:hover {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.1);
}

/* ----------------------------------------
   16. Focus Visible (Accessibility)
   ---------------------------------------- */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
}

/* ----------------------------------------
   17. Print
   ---------------------------------------- */
@media print {
  .nav, .hero__scroll, .lightbox { display: none; }
  .fade-up { opacity: 1; transform: none; }
}
