/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "palt";
  color: #1A1715;
  background: #FAF7F2;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, figure { list-style: none; }

:root {
  --bg: #FAF7F2;              /* 漆喰白 */
  --bg-warm: #F5EFE3;         /* バターベース */
  --green: #1F4D3A;           /* コピティアムグリーン */
  --green-soft: #2E6B4F;
  --butter: #F4C46E;          /* バターイエロー */
  --butter-deep: #E8B547;
  --coffee: #3C2418;          /* コピブラウン */
  --coffee-deep: #1F140C;
  --rooster: #C8392E;         /* 鶏柄レッド */
  --ink: #1A1715;             /* テキスト主役 */
  --ink-soft: #5C4F46;
  --line: #E8E0D2;
  --card: #FFFEFA;
  --max: 1080px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.pc-only { display: none; }
@media (min-width: 768px) { .pc-only { display: inline; } }

/* Serif heading helper */
.serif {
  font-family: 'Noto Serif JP', 'Cormorant Garamond', serif;
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(232, 224, 210, 0.6);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em; color: var(--green);
}
.nav__cta {
  font-size: 13px; font-weight: 700;
  background: var(--green); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}
.nav__cta:hover { background: var(--green-soft); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 24px 100px;
  overflow: hidden;
  isolation: isolate;
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 24s ease-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.14); }
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 247, 242, 0.78) 0%, rgba(250, 247, 242, 0.62) 45%, rgba(250, 247, 242, 0.92) 100%),
    radial-gradient(60% 50% at 15% 25%, rgba(31, 77, 58, 0.18), transparent 70%),
    radial-gradient(50% 50% at 90% 80%, rgba(200, 57, 46, 0.10), transparent 70%);
}

.hero__inner {
  max-width: var(--max); margin: 0 auto; width: 100%;
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.hero__inner.is-visible { opacity: 1; transform: translateY(0); }

.hero__eyebrow {
  display: inline-block;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-style: italic;
  font-size: 14px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--green);
  background: rgba(255, 254, 250, 0.92);
  padding: 8px 20px; border-radius: 999px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(31, 77, 58, 0.10);
  border: 1px solid rgba(31, 77, 58, 0.15);
}
.hero__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(34px, 5.8vw, 60px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 32px;
  text-shadow: 0 2px 24px rgba(255, 254, 250, 0.6);
}
.hero__title-accent {
  display: inline-block;
  background: linear-gradient(120deg, var(--green) 0%, var(--green-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}
.hero__sub {
  font-size: clamp(15px, 1.55vw, 17px);
  color: var(--ink);
  margin-bottom: 40px;
  line-height: 2;
  font-weight: 500;
  background: rgba(255, 254, 250, 0.78);
  padding: 18px 22px;
  border-radius: 14px;
  display: inline-block;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(232, 224, 210, 0.7);
}

.hero__author {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 8px 32px rgba(60, 36, 24, 0.10);
  width: fit-content;
  border: 1px solid var(--line);
}
.hero__author-icon {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--green);
}
.hero__author-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.hero__author-label {
  font-size: 11px; color: var(--ink-soft); font-weight: 700; letter-spacing: 0.14em;
}
.hero__author-name { font-size: 18px; font-weight: 800; color: var(--ink); }

/* ===== Section base ===== */
.section {
  padding: 110px 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.section.is-visible { opacity: 1; transform: translateY(0); }
.section__label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px; font-weight: 600; letter-spacing: 0.28em;
  color: var(--green);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900; line-height: 1.55;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.section__title-accent {
  background: linear-gradient(120deg, var(--green) 0%, var(--green-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__lead {
  font-size: 16px; color: var(--ink-soft);
  line-height: 2; margin-bottom: 48px;
  max-width: 720px;
}

/* ===== Story ===== */
.section--story { background: var(--bg); }
.story-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 56px 56px;
  box-shadow: 0 6px 32px rgba(60, 36, 24, 0.05);
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.story-card::before {
  content: "”";
  position: absolute;
  top: 8px; left: 28px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 120px;
  color: rgba(31, 77, 58, 0.10);
  line-height: 1;
  font-weight: 600;
  pointer-events: none;
}
.story-card__lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px; font-weight: 700; line-height: 1.9;
  margin-bottom: 28px;
  color: var(--ink);
  position: relative;
}
.story-card__lead strong {
  color: var(--rooster); font-weight: 900;
}
.story-card__body {
  font-size: 16px; color: var(--ink); line-height: 2.05;
  margin-bottom: 22px;
}
.story-card__body strong {
  color: var(--green); font-weight: 700;
  background: linear-gradient(transparent 65%, rgba(244, 196, 110, 0.30) 65%);
  padding: 0 2px;
}
.story-card__figure {
  margin: 36px -16px 28px;
  position: relative;
}
.story-card__figure img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(60, 36, 24, 0.16);
  display: block;
}
.story-card__figure figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.story-card__hook {
  margin-top: 36px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(31, 77, 58, 0.06), rgba(244, 196, 110, 0.10));
  border-left: 4px solid var(--green);
  border-radius: 8px;
  font-family: 'Noto Serif JP', serif;
  font-size: 18px; font-weight: 700; line-height: 2;
  color: var(--ink);
}

/* ===== Pandan decoration ===== */
.deco-pandan {
  position: absolute;
  width: 220px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
  filter: saturate(0.85);
}
.deco-pandan--what {
  top: 40px;
  right: -40px;
  transform: rotate(28deg);
}
.deco-pandan--jam {
  bottom: 60px;
  left: -50px;
  transform: rotate(-32deg) scaleX(-1);
  width: 200px;
  opacity: 0.42;
}
@media (max-width: 800px) {
  .deco-pandan { width: 140px; opacity: 0.35; }
  .deco-pandan--what { top: 20px; right: -50px; }
  .deco-pandan--jam { bottom: 30px; left: -60px; }
}
.section--what,
.section--jam { position: relative; overflow: hidden; }
.section--what .container,
.section--jam .container { position: relative; z-index: 1; }

/* ===== What ===== */
.section--what { background: var(--bg-warm); }
.what-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.what-card__img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(60, 36, 24, 0.12);
  aspect-ratio: 4 / 3;
}
.what-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.what-card__img-wrap:hover img { transform: scale(1.04); }
.what-card__body p {
  font-size: 16px; color: var(--ink); line-height: 2;
  margin-bottom: 18px;
}
.what-card__body p strong {
  color: var(--green); font-weight: 700;
}
.what-card__lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px !important; font-weight: 700 !important;
  line-height: 1.8 !important;
}
.what-card__note {
  font-size: 13px !important;
  color: var(--ink-soft) !important;
  padding: 14px 16px;
  background: rgba(255, 254, 250, 0.6);
  border-radius: 10px;
  border-left: 3px solid var(--butter);
  margin-top: 24px !important;
}
@media (max-width: 800px) {
  .what-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Event ===== */
.section--event { background: var(--bg); position: relative; }
.event-feature {
  max-width: 760px;
  margin: 0 auto 56px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(60, 36, 24, 0.16);
  position: relative;
}
.event-feature img {
  width: 100%; height: auto; display: block;
  transition: transform .8s ease;
}
.event-feature:hover img { transform: scale(1.03); }
.event-feature figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 28px 22px;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, transparent 0%, rgba(31, 20, 12, 0.85) 100%);
}
.event-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.event-meta__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.event-meta__item:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 16px 36px rgba(31, 77, 58, 0.10);
}
.event-meta__label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px; font-weight: 600;
  color: var(--green); letter-spacing: 0.16em;
}
.event-meta__value {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px; font-weight: 800; color: var(--ink);
  line-height: 1.4;
}
.event-meta__sub {
  font-size: 12px; color: var(--ink-soft);
  margin-top: 2px;
}
@media (max-width: 800px) {
  .event-meta { grid-template-columns: repeat(2, 1fr); }
}

.event-note {
  background: linear-gradient(135deg, rgba(60, 36, 24, 0.04), rgba(244, 196, 110, 0.10));
  border: 1px solid rgba(232, 224, 210, 0.8);
  border-radius: 20px;
  padding: 32px 36px;
  max-width: 720px;
  margin: 0 auto;
}
.event-note__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px; font-weight: 800;
  color: var(--coffee); margin-bottom: 14px;
}
.event-note p:not(.event-note__title) {
  font-size: 15px; color: var(--ink); line-height: 1.95;
}
.event-note strong { color: var(--rooster); font-weight: 800; }

/* ===== Jam ===== */
.section--jam {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  position: relative;
}
.jam-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.jam-gallery figure {
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(60, 36, 24, 0.12);
}
.jam-gallery img {
  width: 100%; height: auto; display: block;
  transition: transform .8s ease;
}
.jam-gallery figure:hover img { transform: scale(1.04); }
.jam-gallery figcaption {
  padding: 14px 20px 16px;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.6;
  background: var(--card);
}
@media (max-width: 800px) {
  .jam-gallery { grid-template-columns: 1fr; gap: 18px; }
}

/* ===== Talk ===== */
.section--talk { background: var(--bg); }
.talk-list {
  display: flex; flex-direction: column;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.talk-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 40px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.talk-item:hover {
  transform: translateX(4px);
  border-color: var(--green);
  box-shadow: 0 12px 32px rgba(31, 77, 58, 0.08);
}
.talk-item__num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 36px; font-weight: 600;
  color: var(--butter-deep);
  position: absolute;
  top: 24px; right: 32px;
  line-height: 1;
}
.talk-item__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px; font-weight: 800; line-height: 1.6;
  margin-bottom: 14px;
  color: var(--ink);
  padding-right: 60px;
}
.talk-item p {
  font-size: 15px; color: var(--ink); line-height: 1.95;
}
.talk-item p strong {
  color: var(--green); font-weight: 700;
}

/* ===== Project ===== */
.section--project {
  background: var(--bg);
  padding: 90px 0;
}
.project-card {
  background: linear-gradient(135deg, #1F4D3A 0%, #2E6B4F 100%);
  color: #fff;
  border-radius: 28px;
  padding: 56px 60px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(31, 77, 58, 0.24);
  position: relative;
  overflow: hidden;
}
.project-card::after {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(244, 196, 110, 0.18), transparent 70%);
  pointer-events: none;
}
.project-card__label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px; font-weight: 600;
  color: var(--butter); letter-spacing: 0.24em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.project-card__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; line-height: 1.6;
  color: #fff;
  margin-bottom: 28px;
}
.project-card__title strong {
  color: var(--butter);
  font-weight: 900;
}
.project-card__body {
  font-size: 16px; line-height: 2.05;
  color: rgba(255, 254, 250, 0.92);
  margin-bottom: 18px;
  position: relative;
}
.project-card__body:last-child { margin-bottom: 0; }
.project-card__body strong {
  color: var(--butter); font-weight: 700;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 16px;
  padding: 18px 36px; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn--cta {
  background: var(--butter);
  color: var(--coffee-deep);
  font-size: 18px; padding: 22px 44px;
  box-shadow: 0 16px 40px rgba(244, 196, 110, 0.45);
  font-weight: 800;
}
.btn--cta:hover {
  transform: translateY(-2px);
  background: var(--butter-deep);
  box-shadow: 0 20px 48px rgba(232, 181, 71, 0.55);
}
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ===== CTA ===== */
.section--cta {
  position: relative;
  text-align: center;
  padding: 140px 0;
  overflow: hidden;
  isolation: isolate;
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.section--cta.is-visible { opacity: 1; transform: translateY(0); }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.cta__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 77, 58, 0.82) 0%, rgba(31, 20, 12, 0.92) 100%);
}
.cta__inner { position: relative; color: #fff; }
.cta__eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px; font-weight: 600; letter-spacing: 0.28em;
  color: var(--butter); margin-bottom: 18px;
}
.cta__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 900; line-height: 1.5;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
.cta__body {
  font-size: 16px; color: rgba(255, 254, 250, 0.92);
  line-height: 2;
  margin-bottom: 40px;
}
.cta__meta {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 16px;
  margin: 40px 0 48px;
}
.cta__meta-item {
  background: rgba(255, 254, 250, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px 26px; border-radius: 16px;
  border: 1px solid rgba(255, 254, 250, 0.20);
  display: flex; flex-direction: column; gap: 6px;
  min-width: 160px;
}
.cta__meta-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px; color: var(--butter);
  letter-spacing: 0.18em; font-weight: 600;
}
.cta__meta-value {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px; font-weight: 800; color: #fff;
}
.cta__final {
  font-size: 16px; line-height: 1.9;
  color: rgba(255, 254, 250, 0.92);
  margin-top: 28px;
}
.cta__final strong {
  color: var(--butter);
  font-weight: 800; font-size: 18px;
}

/* ===== Footer ===== */
.footer {
  background: var(--coffee-deep); color: rgba(255, 254, 250, 0.7);
  padding: 36px 0;
  text-align: center;
}
.footer__inner { font-size: 13px; line-height: 1.8; }
.footer__sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  margin-top: 4px;
  color: var(--butter);
  letter-spacing: 0.06em;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 640px) {
  .hero { padding: 110px 22px 70px; min-height: auto; }
  .section { padding: 80px 0; }
  .story-card { padding: 36px 26px; }
  .story-card__lead { font-size: 18px; }
  .story-card__hook { padding: 22px 22px; font-size: 16px; }
  .talk-item { padding: 28px 24px; }
  .talk-item__num { font-size: 28px; top: 18px; right: 22px; }
  .talk-item__title { font-size: 17px; padding-right: 50px; }
  .project-card { padding: 36px 28px; }
  .event-note { padding: 24px 22px; }
  .nav__inner { padding: 12px 20px; }
  .hero__author { padding: 10px 16px; gap: 12px; }
  .hero__author-icon { width: 44px; height: 44px; }
  .hero__author-name { font-size: 16px; }
  .section--cta { padding: 90px 0; }
  .cta__meta-item { min-width: 140px; padding: 14px 20px; }
}
