/* ============================
   銀座サステナブルファッション＆アート展
   style.css — POP & READABLE / split hero
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&family=Noto+Sans+JP:wght@400;500;700&family=Cormorant+Garamond:ital,wght@0,600;1,500&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* Orange palette */
  --orange:       #F07030;
  --orange-light: #FF9B5E;
  --orange-pale:  #FFF0E8;
  --orange-deep:  #C04E10;

  /* Warm neutrals */
  --cream:        #FFFAF5;
  --linen:        #F5EDE3;
  --sand:         #EFE5D8;
  --brown:        #5C3A1E;
  --dark:         #2A1A0A;
  --gray:         #7A6A60;
  --white:        #FFFFFF;

  /* Accent */
  --green:        #5A9050;
  --green-light:  #EBF5E8;

  /* Typography — POPで読みやすい */
  --font-main:    'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  --font-sub:     'Noto Sans JP', sans-serif;
  --font-en:      'Cormorant Garamond', serif;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { color: inherit; }

/* ======================================
   HERO — 左右50%分割
   ====================================== */
#hero {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.5rem 0 1.5rem; /* 上・左・右 均一スキマ */
  background: linear-gradient(150deg, #FFF5EE 0%, #FFE8D5 60%, #FFD9BC 100%);
  gap: 1.5rem;
}

/* ---- 左：タイトルエリア ---- */
.hero-left {
  flex: 0 0 calc(50% - 0.75rem);
  background: linear-gradient(150deg, #FFF5EE 0%, #FFE8D5 60%, #FFD9BC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 1;
  border-radius: 16px 0 0 0;
}

/* 背景の装飾サークル */
.hero-left::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  max-width: 400px;
  max-height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,155,94,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-left::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 30vw;
  height: 30vw;
  max-width: 240px;
  max-height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,112,48,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left-inner {
  position: relative;
  z-index: 2;
  max-width: 440px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
  background: rgba(255,255,255,0.7);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.04em;
  line-height: 1.3;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--orange);
  display: inline-block;
}

.hero-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  margin: 1.2rem 0;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.6s forwards;
}

.hero-copy {
  font-family: var(--font-sub);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--brown);
  line-height: 2;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

/* 開催情報バッジ */
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  box-shadow: 0 2px 12px rgba(192,78,16,0.1);
}

.badge-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.hero-badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.hero-badge strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.hero-badge span {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ---- 右：スライドショー ---- */
.hero-right {
  flex: 0 0 calc(50% - 0.75rem);
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-radius: 0 16px 0 0;
}

.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* 画像が設定されていない場合のプレースホルダー */
.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sub);
  gap: 0.5rem;
}

.slide-placeholder .slide-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}

.slide-placeholder .slide-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.slide-item:hover .slide-img {
  transform: scale(1.04);
}

/* 矢印ボタン */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.3);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.slide-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.slide-prev { left: 1rem; }
.slide-next { right: 1rem; }

/* ドット */
.slide-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.slide-dot.active {
  background: var(--orange-light);
  transform: scale(1.3);
}

/* スクロール矢印 */
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  right: calc(25% - 1rem); /* 右エリアの中央あたり */
  transform: translateX(50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.6s forwards;
}

.hero-scroll span {
  font-family: var(--font-sub);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-scroll-line {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollLine 2s ease infinite;
}

/* ======================================
   SHARED SECTION STYLES
   ====================================== */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--white);
  background: var(--orange);
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.04em;
}

.section-rule {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  margin: 0.9rem auto 0;
}

/* ======================================
   ABOUT
   ====================================== */
#about {
  background: var(--white);
}

.about-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--brown);
  line-height: 2.2;
}

.about-text p + p { margin-top: 1.2rem; }

/* ======================================
   BOOTHS
   ====================================== */
#booths {
  background: var(--linen);
}

.booths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

.booth-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 16px rgba(92,58,30,0.07);
}

.booth-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(192,78,16,0.14);
}

.booth-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.booth-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--orange-pale) 0%, var(--linen) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.booth-card-img-placeholder span {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange-light);
  text-transform: uppercase;
}

.booth-card-body { padding: 1.4rem 1.5rem 1.6rem; }

.booth-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.booth-card-desc {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.85;
}


/* ======================================
   VENUE
   ====================================== */
#venue {
  background: linear-gradient(145deg, #3D2010 0%, #5C3A1E 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

#venue::before {
  content: '';
  position: absolute;
  top: -25%; right: -10%;
  width: 55vw; height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,112,48,0.12) 0%, transparent 70%);
  pointer-events: none;
}

#venue .section-label { background: var(--orange-deep); }
#venue .section-title { color: var(--cream); }
#venue .section-rule  { background: var(--orange-light); }

.venue-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.venue-info {
  flex: 1 1 340px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.venue-map {
  flex: 1 1 340px;
  border-radius: 20px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.venue-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: none;
  display: block;
}

.venue-info-row {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
}

.venue-info-row:last-of-type { border-bottom: none; }

.venue-info-key {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange-light);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 3.5rem;
}

.venue-info-val {
  color: rgba(255,250,245,0.88);
  font-weight: 400;
  line-height: 1.7;
}

.venue-info-val a {
  color: var(--orange-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.venue-contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.venue-contact p {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: rgba(255,250,245,0.7);
  line-height: 2;
}

.venue-contact a { color: var(--orange-light); text-decoration: none; }

/* ======================================
   FOOTER
   ====================================== */
footer {
  background: #1A0C04;
  color: rgba(255,250,245,0.35);
  text-align: center;
  padding: 1.8rem;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

/* ======================================
   ANIMATIONS
   ====================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ======================================
   RESPONSIVE
   ====================================== */

/* タブレット：ヒーローを上下積みに */
@media (max-width: 900px) {
  #hero {
    flex-direction: column;
    height: auto;
    min-height: auto;
    padding: 1rem 1rem 0 1rem;
    gap: 1rem;
  }
  .hero-left  { flex: 0 0 auto; padding: 3rem 1.5rem 2rem; border-radius: 12px 12px 0 0; }
  .hero-right { flex: 0 0 auto; height: 56vw; min-height: 260px; border-radius: 0 0 0 0; }
  .hero-scroll { right: 50%; transform: translateX(50%); }
  .venue-inner { flex-direction: column; }
  .venue-map { min-height: 280px; }
}

@media (max-width: 600px) {
  #hero { padding: 0.8rem 0.8rem 0 0.8rem; gap: 0.8rem; }
  section { padding: 3.5rem 1.2rem; }
  .hero-left { padding: 2.5rem 1.2rem 2rem; }
  .hero-right { height: 65vw; }
  .hero-title { font-size: 1.8rem; }
  .event-item { flex-direction: column; align-items: flex-start; }
  .event-btn  { align-self: flex-start; }
  .venue-info { padding: 1.5rem; }
  .venue-map { min-height: 240px; }
}
