/* ================================================================
   JOURNAL CINEMATIC — style.css
   TOP ページ + 共通スタイル
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Shippori+Mincho:wght@400;500;600;800&display=swap');

/* ── Variables ───────────────────────────────────────────────── */
:root {
  --bg-hero:    #F7F5F0;
  --bg-latest:  #EFEBE5;
  --bg-popular: #E6E1DA;
  --bg-about:   #F4F2ED;
  --bg-footer:  #1E1E1E;

  --text-primary:   #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-tertiary:  #9E9E9E;
  --text-inverse:   #F7F5F0;

  --accent-warm: #8B7355;

  --ff-en:   'Cormorant Garamond', Georgia, serif;
  --ff-ja:   'Shippori Mincho', 'Yu Mincho', 'Hiragino Mincho ProN', Georgia, serif;

  --header-h: 72px;
  --max-w:    1200px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:  cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--ff-ja);
  color: var(--text-primary);
  background-color: var(--bg-hero);
  transition: background-color 1.5s ease;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Header ──────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
}
#site-header.scrolled {
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.07);
}

.site-logo {
  font-family: var(--ff-en);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #F7F5F0;
  transition: color 0.4s ease;
  flex-shrink: 0;
}
#site-header.scrolled .site-logo { color: var(--text-primary); }

.site-nav {
  display: flex;
  gap: 40px;
}
.site-nav a {
  font-family: var(--ff-en);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.75);
  transition: color 0.3s ease;
}
#site-header.scrolled .site-nav a { color: var(--text-secondary); }
.site-nav a:hover,
#site-header.scrolled .site-nav a:hover { color: var(--text-primary); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 2px;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: #F7F5F0;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease, background 0.4s ease;
  transform-origin: center;
}
#site-header.scrolled .menu-toggle span { background: var(--text-primary); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ─────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--ff-en);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
}
.mobile-menu a:hover { opacity: 0.5; }

/* ── 01 Hero ─────────────────────────────────────────────────── */
.section-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: #111;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: all;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 9s ease;
}
.hero-slide.is-active .hero-slide-img {
  transform: scale(1);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.78) 0%,
    rgba(8, 8, 8, 0.18) 55%,
    rgba(8, 8, 8, 0.04) 100%
  );
}
.hero-slide-content {
  position: absolute;
  bottom: 110px;
  left: 0;
  right: 0;
  max-width: 660px;
  margin: 0 auto;
}
.hero-slide-category {
  font-family: var(--ff-en);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.6);
  margin-bottom: 18px;
  display: block;
}
.hero-slide-title {
  font-family: var(--ff-ja);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.55;
  color: #F7F5F0;
  margin-bottom: 10px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-slide-date {
  font-family: var(--ff-en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(247, 245, 240, 0.45);
  margin-bottom: 28px;
  display: block;
}
.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-en);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.85);
  border-bottom: 1px solid rgba(247, 245, 240, 0.3);
  padding-bottom: 7px;
  transition: gap 0.35s var(--ease-out), border-color 0.35s ease, color 0.35s ease;
}
.hero-slide-cta::after { content: '→'; font-size: 0.9em; }
.hero-slide-cta:hover {
  gap: 20px;
  color: #F7F5F0;
  border-color: rgba(247, 245, 240, 0.7);
}

.hero-controls {
  position: absolute;
  bottom: 44px;
  left: 72px;
  right: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-dot {
  height: 1px;
  width: 28px;
  background: rgba(247, 245, 240, 0.28);
  cursor: pointer;
  transition: width 0.45s var(--ease-out), background 0.45s ease;
}
.hero-dot.is-active {
  width: 48px;
  background: rgba(247, 245, 240, 0.85);
}
.hero-arrows {
  margin-left: auto;
  display: flex;
  gap: 16px;
}
.hero-arrow {
  font-family: var(--ff-en);
  font-size: 1rem;
  color: rgba(247, 245, 240, 0.45);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}
.hero-arrow:hover { color: rgba(247, 245, 240, 0.9); }

/* ── Section: shared ─────────────────────────────────────────── */
.section-label {
  font-family: var(--ff-en);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 56px;
  display: block;
}

/* ── 02 Latest Stories ───────────────────────────────────────── */
.section-latest {
  padding: 112px 72px;
  background: transparent;
}
.stories-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.story-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.story-item:hover { opacity: 0.85; }

.story-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}
.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.story-item:hover .story-img-wrap img { transform: scale(1.04); }

.story-body {
  padding: 36px 32px 40px;
  background: var(--bg-latest);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.story-category {
  font-family: var(--ff-en);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 16px;
  display: block;
}
.story-title {
  font-family: var(--ff-ja);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.story-excerpt {
  font-family: var(--ff-ja);
  font-size: 0.85rem;
  line-height: 2.1;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.story-meta {
  font-family: var(--ff-en);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--text-tertiary);
  margin-bottom: 20px;
  margin-top: auto;
}
.story-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-en);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(26, 26, 26, 0.4);
  padding-bottom: 6px;
  transition: gap 0.35s var(--ease-out), border-color 0.35s ease;
  width: fit-content;
}
.story-read::after { content: '→'; }
.story-read:hover { gap: 18px; border-color: var(--text-primary); }

/* ── 03 Featured Collection ──────────────────────────────────── */
.section-popular {
  padding: 112px 0;
  background: transparent;
}
.section-popular .section-label {
  padding: 0 72px;
  margin-bottom: 56px;
}

.collection-track {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 72px;
  cursor: grab;
}
.collection-track::-webkit-scrollbar { display: none; }
.collection-track.is-dragging { cursor: grabbing; }

.collection-card {
  flex: 0 0 calc(25vw - 18px);
  min-width: 140px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  cursor: pointer;
  background: #222;
  flex-shrink: 0;
}
.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  pointer-events: none;
}
.collection-card:hover img { transform: scale(1.05); }
.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.82) 0%,
    rgba(8,8,8,0.25) 55%,
    transparent 100%
  );
}
.collection-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 18px;
}
.collection-card-cat {
  font-family: var(--ff-en);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.7);
  margin-bottom: 8px;
  display: block;
}
.collection-card-title {
  font-family: var(--ff-ja);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: #F7F5F0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ── 04 Categories ───────────────────────────────────────────── */
.section-categories {
  padding: 112px 72px;
  background: transparent;
}
.cat-grid {
  display: flex;
  flex-direction: column;
}
.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}
.cat-item:first-child { border-top: 1px solid rgba(26, 26, 26, 0.1); }
.cat-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cat-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.cat-icon svg { width: 100%; height: 100%; }
.cat-item:hover .cat-icon {
  color: var(--text-primary);
  transform: scale(1.1);
}
.cat-name {
  font-family: var(--ff-en);
  font-size: clamp(1.6rem, 3.6vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  line-height: 1;
  transition: transform 0.55s var(--ease-out), letter-spacing 0.55s var(--ease-out);
}
.cat-item:hover .cat-name {
  transform: translateX(8px);
  letter-spacing: 0.06em;
}
.cat-count {
  font-family: var(--ff-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  border: 1px solid rgba(26, 26, 26, 0.15);
  border-radius: 20px;
  padding: 4px 12px;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.cat-item:hover .cat-count {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}
.cat-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.cat-arrow svg { width: 100%; height: 100%; }
.cat-item:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── 05 About ────────────────────────────────────────────────── */
.section-about {
  padding: 112px 72px;
  background: transparent;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.about-photo {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.about-photo:hover img { transform: scale(1.04); }
.about-label {
  display: block;
  font-family: var(--ff-en);
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}
.about-name {
  font-family: var(--ff-en);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.about-name-ja {
  font-family: var(--ff-ja);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  letter-spacing: 0.1em;
}
.about-bio {
  font-family: var(--ff-ja);
  font-size: 0.875rem;
  line-height: 2.2;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.about-sns {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.about-sns a {
  font-family: var(--ff-en);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.about-sns a:hover { color: var(--text-primary); border-color: var(--text-primary); }

/* ── Footer ──────────────────────────────────────────────────── */
#site-footer {
  background: var(--bg-footer);
  padding: 80px 72px 44px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247, 245, 240, 0.07);
  margin-bottom: 44px;
}
.footer-logo {
  font-family: var(--ff-en);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.75);
  display: block;
  margin-bottom: 10px;
}
.footer-tagline {
  font-family: var(--ff-ja);
  font-size: 0.75rem;
  color: rgba(247, 245, 240, 0.28);
  line-height: 1.9;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-nav a {
  font-family: var(--ff-en);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, 0.35);
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: rgba(247, 245, 240, 0.75); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-family: var(--ff-en);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(247, 245, 240, 0.2);
}
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-social-link {
  color: rgba(247, 245, 240, 0.28);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}
.footer-social-link:hover { color: rgba(247, 245, 240, 0.75); }

/* ── Reveal Animation ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .about-inner { grid-template-columns: 1fr; max-width: 540px; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  #site-header { padding: 0 24px; }
  .site-nav { display: none; }
  .menu-toggle { display: flex; }

  .section-latest,
  .section-categories,
  .section-about      { padding: 80px 24px; }
  .section-popular    { padding: 80px 0; }

  .stories-list       { grid-template-columns: repeat(2, 1fr); }
  .story-body         { padding: 20px 16px 24px; }
  .story-title        { font-size: clamp(0.85rem, 2.8vw, 1.2rem); }
  .story-excerpt      { display: none; }

  .section-popular .section-label { padding: 0 24px; }
  .collection-track   { padding: 0 24px; }
  .collection-card    { flex: 0 0 calc(25vw - 6px); min-width: 80px; }
  .collection-card-info    { display: none; }
  .collection-card-overlay { display: none; }

  .section-hero { height: auto; min-height: unset; aspect-ratio: 2/3; }
  .hero-slide-content { left: 24px; right: 24px; bottom: 90px; max-width: none; margin: 0; }
  .hero-controls      { left: 24px; right: 24px; bottom: 28px; }

  .footer-top { flex-direction: column; gap: 36px; }
  .footer-nav { justify-content: flex-start; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

  .cat-name { font-size: clamp(1.1rem, 5vw, 1.6rem); }
  .cat-icon { width: 20px; height: 20px; }
  .cat-left { gap: 14px; }
}

@media (max-width: 480px) {
  .hero-slide-title { font-size: 1.3rem; }
  .hero-dot { width: 20px; }
  .hero-dot.is-active { width: 36px; }
  .story-body { padding: 16px 12px 20px; }
  .story-category { font-size: 0.55rem; margin-bottom: 8px; }
  .story-read { display: none; }
}

/* ================================================================
   Contact Section
   ================================================================ */
.contact-section {
  padding: 120px 0;
  background: var(--bg-about);
}
.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.contact-header {
  text-align: center;
  margin-bottom: 56px;
}
.contact-title {
  font-family: var(--ff-ja);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 500;
  margin: 12px 0 16px;
  color: var(--text-primary);
}
.contact-lead {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 2;
}

.contact-form { display: flex; flex-direction: column; gap: 28px; }

.cf-row { display: flex; flex-direction: column; gap: 8px; }

.cf-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-family: var(--ff-en);
}
.cf-req { color: var(--text-primary); }

.cf-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  padding: 12px 0;
  font-size: 0.95rem;
  font-family: var(--ff-ja);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
}
.cf-input::placeholder { color: var(--text-tertiary); font-size: 0.875rem; }
.cf-input:focus { border-bottom-color: var(--text-primary); }

.cf-textarea { resize: vertical; min-height: 140px; line-height: 1.8; }

.cf-footer { display: flex; justify-content: flex-end; margin-top: 8px; }

.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: var(--bg-hero);
  border: none;
  padding: 14px 32px;
  font-family: var(--ff-en);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cf-submit:hover { opacity: 0.75; }
.cf-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.cf-submit-icon { width: 16px; height: 16px; flex-shrink: 0; }

.cf-status {
  font-size: 0.82rem;
  min-height: 1.4em;
  text-align: center;
  margin-top: 4px;
}
.cf-status.success { color: #3a7d44; }
.cf-status.error   { color: #b33a3a; }

@media (max-width: 600px) {
  .contact-section { padding: 80px 0; }
}

