/* ============================================================
   Art of Hosting 旭川 2026 ハーベストサイト 共通スタイル
   2025年版（Studio製）のデザインを踏襲
   ============================================================ */

:root {
  --ink: #333333;          /* 基本の文字色 */
  --ink-light: #555555;    /* 薄めの文字色 */
  --bg: #ffffff;           /* 白背景 */
  --bg-gray: #efefef;      /* セクションのライトグレー */
  --btn: #4a4a4a;          /* 濃グレーのボタン */
  --btn-hover: #2e2e2e;
  --footer: #3a3a3a;       /* フッターの濃グレー */
  --placeholder: #d9d9d9;  /* 写真プレースホルダー */
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0.12em;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.en {
  font-family: "Poppins", "Helvetica Neue", sans-serif;
}

/* ---------- レイアウト ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 90px 0; }
.section-gray { background: var(--bg-gray); }

/* ---------- ヒーロー（写真カルーセル） ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #222;
}

.hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero .slide.active { opacity: 1; }
.hero .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-title {
  position: absolute;
  left: 6%;
  bottom: 8%;
  z-index: 5;
  color: #fff;
  font-family: "Poppins", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
  max-width: 60%;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 14px;
}
.hero-controls button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(240,240,240,.92);
  color: #333;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s;
}
.hero-controls button:hover { background: #fff; }

/* ---------- 問い（イントロ） ---------- */
.question {
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  letter-spacing: 0.28em;
  line-height: 2.3;
}

.question-en {
  text-align: center;
  margin-top: 42px;
  color: var(--ink-light);
  font-size: clamp(.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.14em;
  line-height: 2.2;
}

.intro {
  max-width: 860px;
  margin: 80px auto 0;
  font-size: 1rem;
  line-height: 2.4;
}
.intro p + p { margin-top: 2.2em; }

/* ---------- 写真ストリップ（3枚並び） ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.photo-strip .ph { aspect-ratio: 3 / 2; }

/* ---------- チームのクレジット ---------- */
.team-credit { text-align: center; padding: 56px 0 16px; line-height: 2; }
.team-credit .team-core { font-weight: 700; margin-top: 20px; }
.team-credit .team-role { margin-top: 6px; }
.strip-note { color: #888; font-size: 0.85em; line-height: 1.8; margin-top: 14px; }
.team-credit .team-org { color: #888; font-size: 0.88em; margin-top: 16px; }

/* ---------- 写真プレースホルダー共通 ----------
   images/ に該当ファイルを置けば自動で表示されます。
   無い間はグレーの枠＋ラベルが表示されます。 */
.ph {
  position: relative;
  background: var(--placeholder);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #888;
  font-size: .8rem;
  letter-spacing: .15em;
  text-align: center;
  padding: 0 1em;
}
.ph img {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- 動画 ---------- */
.video-wrap {
  max-width: 906px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Dayカード ---------- */
.day-card {
  background: #fff;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 44px;
  align-items: center;
  padding: 0 44px 0 0;
  margin-bottom: 28px;
}
.day-card .ph { aspect-ratio: 3 / 2; }

.day-card-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.day-name {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.6rem;
  letter-spacing: .02em;
  line-height: 1.2;
}
.day-sub {
  width: 100%;
  color: var(--ink-light);
  font-size: 1.02rem;
  letter-spacing: .2em;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  background: var(--btn);
  color: #fff;
  font-size: .85rem;
  letter-spacing: .25em;
  padding: 16px 34px;
  border-radius: 6px;
  transition: background .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--btn-hover); }

.btn-outline {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-size: .85rem;
  letter-spacing: .25em;
  padding: 14px 34px;
  border-radius: 6px;
  transition: background .2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--bg-gray); }

.btn-center { text-align: center; margin-top: 56px; }

/* ---------- セクション見出し ---------- */
.label-small {
  font-size: .85rem;
  letter-spacing: .2em;
  color: var(--ink-light);
}
.heading-big {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.3;
  letter-spacing: .01em;
}
.heading-italic {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  text-align: center;
  letter-spacing: .02em;
}

/* ---------- Photo セクション ---------- */
.photo-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.photo-section .ph { aspect-ratio: 4 / 3; }
.photo-carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--placeholder);
}
.photo-carousel .slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
}
.photo-carousel .slide.active { opacity: 1; }
.photo-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.photo-carousel .hero-controls { bottom: 16px; }
.photo-note {
  margin-top: 40px;
  font-size: .92rem;
  line-height: 2.2;
  color: var(--ink-light);
}
.photo-lead {
  margin-top: 32px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .2em;
}

/* ---------- Stories ---------- */
.stories-intro {
  text-align: center;
  margin-top: 56px;
  font-size: .98rem;
  line-height: 2.4;
}
.stories-intro p + p { margin-top: 2em; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 72px;
}
.story-card .ph { aspect-ratio: 4 / 3; margin-bottom: 24px; }
.story-title {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.9;
  letter-spacing: .15em;
  margin-bottom: 18px;
}
.story-excerpt {
  font-size: .88rem;
  line-height: 2.1;
  color: var(--ink-light);
}
.story-excerpt .more { color: var(--ink); font-weight: 500; }

/* ---------- Photo Gallery（3×3） ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 56px;
}
.gallery-grid .ph { aspect-ratio: 1 / 1; }
.gallery-item { display: block; margin: 0; }
a.gallery-item .ph { transition: opacity .3s ease; }
a.gallery-item:hover .ph { opacity: .82; }

/* ---------- Team ---------- */
.team-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.team-section .ph { aspect-ratio: 4 / 3; }
.team-body .btn { margin-top: 48px; }

/* ---------- フッター ---------- */
footer {
  background: var(--footer);
  color: #f2f2f2;
  padding: 72px 0 56px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer-site-name {
  font-family: "Poppins", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .05em;
}
.footer-site-sub { margin-top: 8px; color: #cccccc; font-size: .85rem; }
.footer-links p { margin-bottom: 10px; line-height: 1.9; }
.footer-links a { text-decoration: underline; text-underline-offset: 4px; }
.copyright {
  margin-top: 56px;
  text-align: center;
  color: #aaaaaa;
  font-size: .8rem;
  letter-spacing: .2em;
}

/* ---------- Dayページ ---------- */
.day-hero {
  text-align: center;
  padding: 120px 24px 60px;
}
.day-hero h1 {
  font-family: "Poppins", "Zen Kaku Gothic New", sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: .03em;
  color: #444;
}
.day-hero .day-hero-sub {
  margin-top: 18px;
  letter-spacing: .25em;
  color: var(--ink-light);
}

.day-carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--placeholder);
}
.day-carousel .slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
}
.day-carousel .slide.active { opacity: 1; }
.day-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.day-carousel .hero-controls { bottom: 16px; }

.flow-heading {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: .1em;
  margin: 90px 0 50px;
}
.flow-list {
  max-width: 620px;
  margin: 0 auto;
  list-style: none;
  font-size: 1rem;
  line-height: 2.4;
}
.flow-list li::before { content: "●"; margin-right: .4em; font-size: .9em; }

.landscape-heading {
  text-align: center;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .15em;
  margin: 110px 0 50px;
}
.landscape-stack {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.landscape-stack .ph { aspect-ratio: 16 / 7; }

.day-nav {
  text-align: center;
  padding: 110px 24px 90px;
}
.day-nav .btn,
.day-nav .btn-outline {
  display: block;
  max-width: 220px;
  margin: 0 auto;
  text-align: center;
}
.day-nav .btn + .btn-outline,
.day-nav .btn-outline + .btn-outline { margin-top: 18px; }
.day-nav .btn-outline { margin-top: 18px; }

/* ---------- Teamページ ---------- */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 36px;
  margin-top: 72px;
}
.member-card .ph { aspect-ratio: 1 / 1; margin-bottom: 20px; }
.member-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .2em;
}
.member-role {
  margin-top: 4px;
  font-size: .82rem;
  color: var(--ink-light);
  letter-spacing: .15em;
}
.member-bio {
  margin-top: 14px;
  font-size: .88rem;
  line-height: 2.1;
  color: var(--ink-light);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero-title { max-width: 85%; }
  .photo-strip { grid-template-columns: 1fr; }
  .day-card {
    grid-template-columns: 1fr;
    padding: 0 28px 28px;
    gap: 8px;
  }
  .day-card .ph { margin: 0 -28px; }
  .photo-section, .team-section { grid-template-columns: 1fr; gap: 36px; }
  .story-grid { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
