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

:root {
  --color-sumi: #1a1a1a;
  --color-sumi-soft: #2b2b2b;
  --color-gold: #b8963e;
  --color-vermillion: #a83232;
  --color-deco-orange: #c1592c;
  --color-paper: #f7f4ee;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-paper);
  color: var(--color-sumi);
  line-height: 1.8;
  overflow-x: hidden;
}

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

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
}

.hero-logo {
  height: 1.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .hero-logo-link {
    top: 1.5rem;
    left: 1.5rem;
  }
  .hero-logo {
    height: 2rem;
  }
}

.hero-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  height: 3.1rem;
  width: auto;
}

@media (min-width: 768px) {
  .hero-badge {
    top: 1.5rem;
    right: 1.5rem;
    height: 4.3rem;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-paper);
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-size: .85rem;
  letter-spacing: .25em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: 2.5rem;
}

.hero-dates {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .85rem;
  letter-spacing: .05em;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.deco-kanji {
  position: absolute;
  top: -1rem;
  right: 1rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 1;
  color: var(--color-deco-orange);
  opacity: .15;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.greeting-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.greeting-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.25) contrast(1.05);
  border-radius: 2px;
}

.greeting-image--object img {
  object-fit: contain;
  filter: sepia(.15) contrast(1.05);
  border-radius: 0;
}

.tenkoku-anim {
  mix-blend-mode: multiply;
  opacity: 0;
  transform: scale(.92) translateY(16px);
  transition: opacity 2.2s ease-out, transform 2.2s ease-out;
}

.tenkoku-anim.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (max-width: 768px) {
  .greeting-inner {
    grid-template-columns: 1fr;
  }
}

.section-label {
  font-size: .8rem;
  letter-spacing: .25em;
  color: var(--color-vermillion);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.greeting-body {
  font-size: .95rem;
  line-height: 2.2;
  margin-bottom: 2rem;
  color: var(--color-sumi-soft);
}

.greeting-signature {
  font-family: var(--font-serif);
  font-size: .95rem;
  line-height: 1.8;
}

.timeline-list {
  list-style: none;
  position: relative;
  margin-top: 3rem;
  padding-left: 2rem;
  border-left: 1px solid var(--color-gold);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: .3rem;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--color-vermillion);
}

.timeline-year {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.timeline-event {
  font-size: .9rem;
  color: var(--color-sumi-soft);
}

.timeline-item--photo {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.timeline-text {
  flex: 1 1 260px;
  min-width: 0;
}

.timeline-photo {
  flex: 0 0 160px;
  width: 160px;
}

.timeline-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: sepia(.3) contrast(1.05);
  border: 1px solid var(--color-gold);
}

.timeline-photo-caption {
  margin-top: .5rem;
  font-size: .68rem;
  line-height: 1.6;
  color: var(--color-sumi-soft);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.business-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(26,26,26,.08);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(26,26,26,.12);
}

.business-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  filter: sepia(.2) contrast(1.05);
}

.card-img-rekishi {
  object-position: top !important;
}

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

.business-card-body {
  padding: 1.5rem;
}

.business-card-label {
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--color-vermillion);
  margin-bottom: .5rem;
}

.business-card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: .8rem;
}

.business-card-desc {
  font-size: .85rem;
  line-height: 1.8;
  color: var(--color-sumi-soft);
}

.report-banner {
  display: block;
  width: 100%;
  max-width: 360px;
  margin-top: 2rem;
  border-radius: 4px;
}

.report-note {
  margin-top: 2rem;
  font-size: .95rem;
  line-height: 2;
  color: var(--color-sumi-soft);
  max-width: 640px;
}

.report-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.report-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 8px 20px rgba(26,26,26,.15);
}

.report-photo--tall img {
  aspect-ratio: 3 / 4;
  max-width: 80%;
  margin: 0 auto;
  display: block;
}

.report-photo-caption {
  margin-top: .6rem;
  font-size: .75rem;
  line-height: 1.6;
  color: var(--color-sumi-soft);
  text-align: right;
}

.report-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #ece7dc, #ece7dc 10px, #e2ddd0 10px, #e2ddd0 20px);
  color: var(--color-sumi-soft);
  font-size: .8rem;
  letter-spacing: .1em;
  border: 1px dashed rgba(26,26,26,.2);
}

@media (max-width: 768px) {
  .report-gallery {
    grid-template-columns: 1fr;
  }
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.community-body {
  font-size: .95rem;
  line-height: 2.2;
  color: var(--color-sumi-soft);
}

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.2) contrast(1.05);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .community-inner {
    grid-template-columns: 1fr;
  }
  .community-image {
    order: -1;
  }
}

.future {
  background-color: var(--color-sumi);
  color: var(--color-paper);
}

.future-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.future .section-label {
  color: var(--color-gold);
}

.future .deco-kanji {
  color: var(--color-paper);
  opacity: .20;
}

.community .deco-kanji {
  right: auto;
  left: 1rem;
}

.future-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.future-body {
  font-size: .95rem;
  line-height: 2.2;
  color: rgba(247,244,238,.85);
}

.footer {
  background-color: var(--color-sumi);
  color: var(--color-paper);
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 2rem;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--color-paper);
  text-decoration: none;
  font-size: .85rem;
  border-bottom: 1px solid rgba(247,244,238,.3);
  padding-bottom: 2px;
}

.footer-links a:hover {
  border-color: var(--color-gold);
}

.footer-copy {
  font-size: .75rem;
  color: rgba(247,244,238,.5);
}

.crest-anim {
  transform: scale(.25);
  filter: brightness(.55);
  opacity: .4;
  transition: transform 1.4s ease-out, filter 1.4s ease-out, opacity 1.4s ease-out;
}

.crest-anim.visible {
  transform: scale(1);
  filter: brightness(1);
  opacity: 1;
}

.craft-gallery {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.craft-gallery::before,
.craft-gallery::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}

.craft-gallery::before {
  left: 0;
  background: linear-gradient(to right, var(--color-paper), transparent);
}

.craft-gallery::after {
  right: 0;
  background: linear-gradient(to left, var(--color-paper), transparent);
}

.craft-gallery-track {
  display: flex;
  width: max-content;
  animation: gallery-scroll 32s linear infinite;
}

@keyframes gallery-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.craft-gallery-row {
  display: flex;
  gap: 1.2rem;
  padding: 0 .6rem;
}

.craft-gallery-item {
  flex: 0 0 auto;
  width: 220px;
}

.craft-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: sepia(.2) contrast(1.05);
  border-radius: 2px;
  box-shadow: 0 8px 20px rgba(26,26,26,.15);
}

.crest-section {
  display: flex;
  justify-content: center;
  padding: 5rem 1.5rem;
  background-color: var(--color-paper);
}

.crest-frame {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.crest-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 480px) {
  .crest-frame {
    width: 160px;
    height: 160px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease-out, transform .9s ease-out;
}

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

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,.55) 0%, rgba(26,26,26,.35) 45%, rgba(26,26,26,.8) 100%);
}
