@charset "UTF-8";

/* ==========================================================
   文学イベント東京 Vol.5
   白基調 × オレンジアクセント × 文芸イベントらしい落ち着いたトーン
   ========================================================== */

:root {
  --color-text: #1a1a1a;
  --color-bg: #ffffff;
  --color-accent: #e0a13a;        /* オレンジ */
  --color-accent-pale: #fbf1e2;   /* 淡いオレンジベージュ */
  --color-gray: #888888;
  --color-dark: #221d17;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --font-en: "Jost", sans-serif;
  --header-h: 72px;
  --fixed-cta-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--fixed-cta-h);
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

.pc-only { display: inline; }
.sp-only { display: none; }

/* ----------------------------------------------------------
   ヘッダー
---------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 40px;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.header__logo span { color: var(--color-accent); margin-left: 0.3em; }

.header__menu {
  display: flex;
  gap: 36px;
}

.header__menu a {
  display: block;
  text-align: center;
  position: relative;
  padding: 4px 0;
}

.header__menu .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.header__menu .ja {
  display: block;
  font-size: 0.6rem;
  color: var(--color-gray);
  letter-spacing: 0.1em;
}

.header__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.header__menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ハンバーガー（スマホ） */
.header__toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.header__toggle span {
  position: absolute;
  left: 10px;
  width: 24px; height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s ease, top 0.3s ease;
}

.header__toggle span:nth-child(1) { top: 18px; }
.header__toggle span:nth-child(2) { top: 26px; }

.header__toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(20deg); }
.header__toggle.is-open span:nth-child(2) { top: 22px; transform: rotate(-20deg); }

/* ----------------------------------------------------------
   ヒーロー
---------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
}

/* ①最初は全画面オレンジ→1.5秒表示→全体が右から左へ一方向にスライドして消える */
.hero__orange {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 3;
  background-image: linear-gradient(135deg, #f0a93a 0%, #e0a13a 60%, #d99326 100%);
  background-repeat: no-repeat;
  background-size: 100vw 100%;
  transition: transform 0.8s ease 1.5s;
}

.hero__orange--left {
  left: 0;
  width: 50%;
  background-position: 0 0;
  transform: translateX(0);
}

.hero.is-revealed .hero__orange--left {
  transform: translateX(-100%);
  pointer-events: none;
}

.hero__orange--right {
  left: 50%;
  width: 50%;
  background-position: -50vw 0;
  transform: translateX(0);
}

.hero.is-revealed .hero__orange--right {
  transform: translateX(-200%);
  pointer-events: none;
}

/* ②オレンジが消えるのに合わせて、右のイラスト（スマホは完成ポスター）が現れる */
.hero__sp,
.hero__pc-illust {
  width: 100%;
  opacity: 0;
  transform: scale(1.04) translateY(16px);
  transition: opacity 0.8s ease 1.5s, transform 0.8s ease 1.5s;
}

.hero.is-revealed .hero__sp,
.hero.is-revealed .hero__pc-illust {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ③左のオレンジが動き出すタイミング（右の1秒後）に合わせて、左の画像（PC版のみ）が現れる */
.hero__pc-text {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.8s ease 2.5s, transform 0.8s ease 2.5s;
}

.hero.is-revealed .hero__pc-text {
  opacity: 1;
  transform: translateX(0);
}

.hero__sp-img {
  width: 100%;
  display: block;
}

.hero__pc { display: none; }

.hero__scroll {
  position: absolute;
  bottom: 16px; left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

/* ----------------------------------------------------------
   PC版ヒーロー：文字（左）＋イラスト（右）
---------------------------------------------------------- */
.hero__pc {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.hero__pc-text {
  flex: 1 1 50%;
  background: #fff;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 1.5vw;
}

/* トップ画像1と縦横比を揃えたラッパー（座標指定のシャイン演出を正しい位置に重ねるため） */
.hero__pc-text-inner {
  position: relative;
  height: 100%;
  max-width: 48vw;
  aspect-ratio: 1414 / 2000;
}

.hero__pc-text-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 「文学イベント東京Vol.5」のタイトル部分にだけ座標指定で光を重ねる */
.hero__pc-shine {
  position: absolute;
  top: 15%;
  left: 0;
  width: 95%;
  height: 53%;
  overflow: hidden;
  pointer-events: none;
}

.hero__pc-shine::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.9) 50%, transparent 100%);
  transform: skewX(-20deg);
  opacity: 0;
}

.hero.is-revealed .hero__pc-shine::after {
  animation: heroShine 1.3s ease 3.3s 1;
}

@keyframes heroShine {
  0%   { opacity: 0; left: -60%; }
  15%  { opacity: 1; }
  60%  { opacity: 1; left: 120%; }
  100% { opacity: 0; left: 120%; }
}

.hero__pc-illust {
  flex: 1 1 50%;
  min-height: 100%;
  overflow: hidden;
}

.hero__pc-illust img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------
   タイトル・会場・申し込みボタン（ヒーロー画像の直下）
---------------------------------------------------------- */
.meta {
  background: #fff;
  padding: 64px 24px 80px;
  text-align: center;
}

.meta__inner {
  max-width: 560px;
  margin: 0 auto;
}

.meta__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.meta__title span {
  display: block;
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--color-accent);
  font-size: 0.6em;
  letter-spacing: 0.14em;
  margin-top: 6px;
}

.meta__lead {
  margin-top: 22px;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  letter-spacing: 0.08em;
  color: #333;
}

.meta__place {
  margin-top: 24px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.meta__addr {
  margin-top: 4px;
  font-size: clamp(0.72rem, 1.5vw, 0.82rem);
  letter-spacing: 0.08em;
  color: #555;
}

.hero__scroll span {
  display: block;
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--color-gray);
  padding-bottom: 40px;
  position: relative;
}

.hero__scroll span::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 1px; height: 30px;
  background: linear-gradient(to bottom, var(--color-gray), transparent);
  animation: scrollline 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollline {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ----------------------------------------------------------
   CTAボタン（共通）
---------------------------------------------------------- */
.cta-btn {
  display: inline-block;
  padding: 16px 44px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-accent);
  border-radius: 999px;
  box-shadow: 0 12px 28px -12px rgba(224, 161, 58, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.cta-btn:hover {
  background: #c98a26;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(224, 161, 58, 0.8);
}

.cta-btn--hero {
  margin-top: 36px;
}

/* 固定CTA（ページ下部に常時表示） */
.fixed-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--fixed-cta-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 0 16px;
}

.cta-btn--fixed {
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: 14px 20px;
  font-size: 0.9rem;
}

/* ----------------------------------------------------------
   セクション共通
---------------------------------------------------------- */
.section { padding: 120px 0; }

.section__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

.section__label {
  font-family: var(--font-en);
  font-weight: 300;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 28px;
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  letter-spacing: 0.14em;
  margin-bottom: 56px;
}

/* フェードイン */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
}

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

/* ----------------------------------------------------------
   About / 想いとして
---------------------------------------------------------- */
.about { background: #fff; }

.about__heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  letter-spacing: 0.12em;
  margin-bottom: 48px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.about__text p {
  font-size: clamp(0.9rem, 1.9vw, 1rem);
  line-height: 2.3;
  margin-bottom: 22px;
}

.about__text p:last-child { margin-bottom: 0; }

.about__text strong {
  font-weight: 500;
  color: var(--color-accent);
  font-size: 1.05em;
}

.about__img {
  overflow: hidden;
  border-radius: 4px;
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.25);
}

.about__info {
  margin-top: 80px;
  border-top: 1px solid #e5e0de;
}

.about__info > div {
  display: flex;
  gap: 32px;
  padding: 18px 4px;
  border-bottom: 1px solid #e5e0de;
  font-size: 0.95rem;
}

.about__info dt {
  flex-shrink: 0;
  width: 4em;
  color: var(--color-accent);
  font-weight: 400;
}

.about__info-addr {
  display: block;
  margin-top: 4px;
  font-size: 0.8em;
  color: var(--color-gray);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   Access
---------------------------------------------------------- */
.access { background: #faf8f7; }

.access__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.access__images figure img {
  background: #fff;
  padding: 12px;
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.18);
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.access__route > div {
  display: flex;
  gap: 28px;
  padding: 24px 4px;
  border-bottom: 1px solid #e5e0de;
  font-size: 0.9rem;
}

.access__route:first-of-type { border-top: 1px solid #e5e0de; }

.access__route dt {
  flex-shrink: 0;
  width: 9em;
  color: var(--color-accent);
  font-weight: 500;
  line-height: 1.6;
}

.access__route dt span {
  display: block;
  font-size: 0.8em;
  color: var(--color-gray);
  font-weight: 400;
}

.access__route dd {
  line-height: 1.9;
  color: #444;
}

/* ----------------------------------------------------------
   Movie
---------------------------------------------------------- */
.movie { background: #fff; }

.movie__frame {
  position: relative;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.25);
}

.movie__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.movie__frame--short {
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
}

/* ----------------------------------------------------------
   Circle（参加サークル）
---------------------------------------------------------- */
.circle { background: #faf8f7; }

.circle__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #e5e0de;
  border: 1px solid #e5e0de;
}

.circle__item {
  padding: 24px;
  background: #fff;
}

.circle__name {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.circle__creator {
  font-weight: 400;
  font-size: 0.85em;
  color: var(--color-gray);
}

.circle__sns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}

.circle__sns a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  border-bottom: 1px solid rgba(224, 161, 58, 0.4);
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
}

.circle__sns a:hover {
  color: #c98a26;
  border-color: #c98a26;
}

/* ----------------------------------------------------------
   フッター
---------------------------------------------------------- */
.footer {
  padding: 72px 32px;
  text-align: center;
  background: var(--color-dark);
  color: #f4f1ef;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.footer__copy {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #8d8885;
}

/* ----------------------------------------------------------
   レスポンシブ（スマホ）
---------------------------------------------------------- */
@media (max-width: 768px) {

  .pc-only { display: none; }
  .sp-only { display: inline; }

  .header { padding: 0 20px; }

  .header__toggle { display: block; }

  .header__nav {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .header__menu {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .header__menu .en { font-size: 1.4rem; }
  .header__menu .ja { font-size: 0.7rem; }

  .section { padding: 80px 0; }
  .section__inner { padding: 0 24px; }
  .section__title { margin-bottom: 40px; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__img { order: -1; max-width: 280px; margin: 0 auto; }

  .about__info { margin-top: 48px; }
  .about__info > div { gap: 20px; flex-wrap: wrap; }

  .access__images { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }

  .access__route > div { flex-direction: column; gap: 6px; padding: 18px 4px; }
  .access__route dt { width: auto; }

  .circle__grid { grid-template-columns: 1fr; }

  .meta { padding: 48px 20px 64px; }
  .meta__title { font-size: clamp(1.5rem, 7vw, 2rem); }

  /* 固定CTAの分だけボタンやコンテンツが隠れないよう余白確保 */
  .fixed-cta { padding: 0 12px; }
  .cta-btn--fixed { font-size: 0.85rem; padding: 13px 16px; }

  /* スマホはポスター画像（トップ画像3）を表示、PC用レイアウトは非表示 */
  .hero { min-height: 0; display: block; }
  .hero__sp { display: block; }
  .hero__pc { display: none; }
}

@media (min-width: 769px) {
  /* PC用レイアウト（文字＋イラスト）を表示、スマホ用ポスターは非表示 */
  .hero__sp { display: none; }
  .hero__pc { display: flex; }

  /* PC版のみ：右は上に、左は左にスライドして消える（左は右の1秒後） */
  .hero.is-revealed .hero__orange--right { transform: translateY(-100%); }
  .hero__orange--left { transition-delay: 2.5s; }
  .hero.is-revealed .hero__orange--left { transform: translateX(-100%); }

  /* PCでは固定CTAを画面右下に控えめに配置 */
  .fixed-cta {
    left: auto;
    right: 32px;
    bottom: 32px;
    height: auto;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
  }

  .cta-btn--fixed {
    width: auto;
    box-shadow: 0 16px 36px -12px rgba(224, 161, 58, 0.8);
  }

  body { padding-bottom: 0; }
}

/* アニメーションを減らす設定のユーザーへの配慮 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }

  .hero__orange--left { transform: translateX(-100%); transition: none; }
  .hero__orange--right { transform: translateX(-200%); transition: none; }
  .hero__sp, .hero__pc-illust, .hero__pc-text { opacity: 1; transform: none; transition: none; }
  .hero__pc-shine::after { animation: none; }
}
