/* ============================================
   折り紙作品展「折々 — ORIORI —」LP
   コンセプト：余白・静謐・和紙の質感
   ============================================ */

:root {
  --bg: #FAF8F4;          /* 和紙のオフホワイト */
  --ink: #2B2926;         /* 墨色 */
  --ink-soft: #6E6A63;    /* 薄墨 */
  --accent: #B0492F;      /* 朱色（アクセントは最小限に） */
  --line: #DDD8CF;        /* 罫線 */
  --serif: "Shippori Mincho", serif;
  --sans: "Zen Kaku Gothic New", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- フェードイン（JS有効時のみ。無効時は常に表示） ---------- */
.js .fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.js .fade.is-visible { opacity: 1; transform: none; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  z-index: 10;
  mix-blend-mode: multiply;
}
.header__logo {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.3em;
}
.header__logo span {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  margin-left: 6px;
}
.header__cta {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: opacity 0.3s;
}
.header__cta:hover { opacity: 0.5; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
}
.hero__vertical {
  position: absolute;
  top: 50%;
  right: clamp(16px, 6vw, 90px);
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.45em;
  color: var(--ink-soft);
}
.hero__img-wrap {
  width: min(400px, 72vw);
  margin: 0 auto 56px;
}
.hero__img {
  mix-blend-mode: multiply; /* 写真の縁を和紙背景に溶け込ませる */
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at center, #000 48%, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 62% at center, #000 48%, transparent 74%);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero__en {
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 4.2vw, 40px);
  letter-spacing: 0.18em;
  line-height: 1.9;
}
.hero__title-sub {
  font-size: 0.55em;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
}
.hero__line {
  width: 1px;
  height: 56px;
  background: var(--ink-soft);
  margin: 36px auto;
  opacity: 0.5;
}
.hero__date {
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 21px);
  letter-spacing: 0.22em;
}
.hero__date span {
  font-size: 0.6em;
  color: var(--accent);
  margin: 0 2px;
}
.hero__place {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  margin-top: 12px;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll span {
  width: 1px;
  height: 34px;
  background: var(--ink-soft);
  display: block;
  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; }
}

/* ---------- 共通：セクション英字ラベル・見出し ---------- */
.concept__en, .works__en, .workshop__en, .outline__en, .access__en {
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--accent);
  text-align: center;
  margin-bottom: 18px;
}
.concept__title, .works__title, .workshop__title, .outline__title, .access__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 3vw, 28px);
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- コンセプト ---------- */
.concept {
  max-width: 640px;
  margin: 0 auto;
  padding: 140px 24px;
  text-align: center;
}
.concept__text {
  margin-bottom: 40px;
  line-height: 2.6;
}
.concept__text:last-child { margin-bottom: 0; }

/* ---------- みどころ ---------- */
.works {
  max-width: 1040px;
  margin: 0 auto;
  padding: 100px 24px 140px;
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.work img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 26px;
}
.work__num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.work h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.work p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 2.2;
}

/* ---------- ワークショップ ---------- */
.workshop {
  background: #F2EEE6;
  padding: 120px 24px;
}
.workshop__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.workshop__text { line-height: 2.6; margin-bottom: 44px; }
.workshop__detail {
  display: inline-block;
  text-align: left;
  margin-bottom: 52px;
}
.workshop__detail div {
  display: flex;
  gap: 28px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.workshop__detail dt {
  color: var(--accent);
  letter-spacing: 0.2em;
  flex-shrink: 0;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 16px 56px;
  transition: background 0.4s, color 0.4s;
}
.btn:hover { background: var(--ink); color: var(--bg); }

/* ---------- 開催概要 ---------- */
.outline {
  max-width: 680px;
  margin: 0 auto;
  padding: 140px 24px;
}
.outline__table div {
  display: flex;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.outline__table div:first-of-type { border-top: 1px solid var(--line); }
.outline__table dt {
  width: 120px;
  flex-shrink: 0;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}
.outline__table small {
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- アクセス ---------- */
.access {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 140px;
}
.access__map { margin-bottom: 28px; }
.access__map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(1);
}
.access__map-placeholder {
  width: 100%;
  height: 340px;
  background: #EDE8DF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
}
.access__list {
  list-style: none;
  font-size: 16px;
}
.access__list li {
  padding-left: 1.2em;
  position: relative;
}
.access__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- クロージング ---------- */
.closing {
  text-align: center;
  padding: 140px 24px 160px;
}
.closing__img {
  width: min(220px, 50vw);
  margin: 0 auto 48px;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at center, #000 48%, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 62% at center, #000 48%, transparent 74%);
}
.closing__text {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 27px);
  letter-spacing: 0.24em;
  line-height: 2.2;
  margin-bottom: 28px;
}
.closing__date {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
}

/* ---------- フッター ---------- */
.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 44px 24px;
}
.footer__logo {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.footer__logo span {
  font-size: 9px;
  color: var(--ink-soft);
  margin-left: 6px;
}
.footer__copy {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

/* ---------- レスポンシブ ---------- */
.sp { display: none; }

@media (max-width: 768px) {
  body { font-size: 16px; }
  .sp { display: inline; }
  /* スマホでは文中の強制改行を解除して自然に折り返す */
  .concept__text br, .workshop__text br { display: none; }
  .concept__text, .workshop__text { text-align: left; }
  .hero { padding: 100px 20px 90px; }
  .hero__vertical { display: none; }
  .hero__img-wrap { margin-bottom: 44px; }
  .works__grid { grid-template-columns: 1fr; gap: 60px; }
  .work { max-width: 420px; margin: 0 auto; }
  .concept, .outline { padding: 100px 24px; }
  .workshop { padding: 90px 24px; }
  .outline__table dt { width: 92px; }
  .access { padding-bottom: 100px; }
  .closing { padding: 100px 24px 120px; }
}
