/* トップページ専用スタイル（白基調・余白多め・英字見出し＋和文サブ見出し） */
:root {
  --paper: #ffffff;
  --ink: #2e2d29;
  --muted: #7a776d;
  --leaf: #c9dd72;
  --leaf-tint: #f4f8e6;
  --line: #e6e4dc;
  --en: "Cormorant Garamond", "Times New Roman", serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- ヘッダー ---------- */
.h-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(255, 255, 255, 0.96);
}
.h-logo { text-decoration: none; font-family: var(--mincho); font-size: 13px; line-height: 1.5; letter-spacing: 0.12em; }
.h-logo span { display: block; font-family: var(--en); font-size: 24px; letter-spacing: 0.04em; }
.h-tools { display: flex; align-items: center; gap: 20px; }
.h-tools .insta { display: inline-flex; width: 22px; height: 22px; }
.h-tools .insta svg { width: 100%; height: 100%; }
.nav-toggle {
  position: relative; z-index: 60;
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-family: var(--en); font-size: 17px; letter-spacing: 0.08em; color: var(--ink);
}
.nav-toggle .bars { position: relative; width: 28px; height: 10px; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
  transition: transform 0.3s ease, top 0.3s ease;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { top: 9px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(20deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-20deg); }

.h-nav {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  overflow-y: auto; padding: 72px 0 32px;
  background: var(--paper);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.h-nav.open { opacity: 1; visibility: visible; }
.h-nav a { display: block; padding: 10px 24px; text-align: center; text-decoration: none; }
.h-nav a .en { display: block; font-family: var(--en); font-size: 30px; line-height: 1.3; }
.h-nav a .ja { display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.16em; }
.h-nav a:hover .en { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- ヒーロー ---------- */
.h-hero {
  display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 48px;
  max-width: 1280px; margin: 0 auto; padding: 40px var(--gutter) 120px;
}
.h-hero-text h1 { font-family: var(--en); font-weight: 300; font-size: clamp(56px, 8vw, 112px); line-height: 1; letter-spacing: 0.01em; }
.h-hero-text .area { font-family: var(--mincho); font-size: 15px; letter-spacing: 0.3em; margin-bottom: 20px; }
.h-hero-text .lead { margin-top: 36px; font-family: var(--mincho); font-size: 20px; line-height: 2; letter-spacing: 0.12em; }
.h-hero-text .note { margin-top: 20px; font-size: 13px; color: var(--muted); }
.h-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.h-hero-figure { position: relative; margin: 0; padding: 0 0 48px 48px; }
.h-hero-figure::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 82%;
  background: var(--leaf);
}
.h-hero-figure img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- ボタン ---------- */
.h-btn {
  display: inline-block; padding: 14px 32px;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-size: 14px; letter-spacing: 0.12em; text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.h-btn:hover { background: #fff; color: var(--ink); }
.h-btn.ghost { background: transparent; color: var(--ink); }
.h-btn.ghost:hover { background: var(--ink); color: #fff; }
.h-more { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.12em; text-decoration: none; }
.h-more::before { content: ""; width: 48px; height: 1px; background: var(--ink); }
.h-more:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- セクション共通 ---------- */
.h-section { padding: 120px 0; }
.h-section.tint { background: var(--leaf-tint); }
.h-title { margin-bottom: 56px; }
.h-title h2 { font-family: var(--en); font-weight: 300; font-size: clamp(40px, 5vw, 60px); line-height: 1.1; }
.h-title p { display: flex; align-items: center; gap: 14px; margin-top: 12px; font-family: var(--mincho); font-size: 14px; color: var(--muted); letter-spacing: 0.16em; }
.h-title p::before { content: ""; width: 32px; height: 2px; background: var(--leaf); }
.h-title.right { text-align: right; }
.h-title.right p { justify-content: flex-end; }
.h-title.center { text-align: center; }
.h-title.center p { justify-content: center; }

/* ---------- メッセージ ---------- */
.h-message .poem { text-align: center; font-family: var(--mincho); font-size: 16px; line-height: 2.4; letter-spacing: 0.14em; }
.h-message .poem p + p { margin-top: 36px; }
.h-message .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 64px; }

/* ---------- Link×Linkについて ---------- */
.h-about-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: start; }
.h-about-text p + p { margin-top: 24px; }
.h-stagger { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.h-stagger img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.h-stagger img:nth-child(2) { margin-top: 96px; }
.h-stagger img:nth-child(3) { margin-top: -72px; grid-column: 1; width: 82%; justify-self: end; }

/* ---------- スケジュール ---------- */
.h-schedule { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.h-schedule li { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.h-schedule .when { font-family: var(--mincho); font-size: 15px; line-height: 1.8; }
.h-schedule .when small { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.h-schedule h3 { font-family: var(--mincho); font-size: 19px; margin-bottom: 8px; }
.h-schedule p { font-size: 14px; }
.h-events { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
.h-event { background: var(--paper); padding: 36px; }
.h-event .month { font-family: var(--mincho); font-size: 13px; color: var(--muted); letter-spacing: 0.16em; }
.h-event h3 { font-family: var(--mincho); font-size: 20px; margin: 8px 0 16px; }
.h-event dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 0 0 16px; font-size: 14px; }
.h-event dt { color: var(--muted); }
.h-event dd { margin: 0; }
.h-event p { font-size: 14px; }
.h-event .h-more { margin-top: 20px; }
.h-schedule-cta { margin-top: 56px; text-align: center; }

/* ---------- 今までの活動 ---------- */
.h-activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.h-activity { margin: 0; }
.h-activity:nth-child(2) { margin-top: 80px; }
.h-activity:nth-child(3) { margin-top: 32px; }
.h-activity img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.h-activity figcaption { margin-top: 18px; }
.h-activity h3 { font-family: var(--mincho); font-size: 17px; }
.h-activity p { font-size: 13px; color: var(--muted); }
.h-section-foot { margin-top: 56px; text-align: right; }

/* ---------- スタッフ ---------- */
.h-staff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.h-staff figure { margin: 0; }
.h-staff img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.h-staff figcaption { margin-top: 16px; }
.h-staff .name { font-family: var(--mincho); font-size: 18px; }
.h-staff .role { font-size: 13px; color: var(--muted); }

/* ---------- Instagram ---------- */
.h-insta-feed { min-height: 120px; }
.h-insta-fallback { padding: 56px 24px; border: 1px solid var(--line); text-align: center; }
.h-insta-fallback p { margin-bottom: 24px; font-size: 14px; }
.h-insta-handle { margin-top: 24px; text-align: center; font-family: var(--en); font-size: 20px; }
.h-insta-handle a { text-decoration: none; }
.h-insta-handle a:hover { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- お問い合わせ ---------- */
.h-contact .intro { text-align: center; font-size: 14px; margin-bottom: 40px; }
.contact-form { max-width: 760px; margin: 0 auto; background: #fff; overflow: hidden; }
.contact-form iframe { display: block; width: 100%; height: 1000px; border: 0; }
.h-contact .alt { margin-top: 24px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- フッター ---------- */
.h-footer { padding: 72px var(--gutter) 40px; border-top: 1px solid var(--line); text-align: center; }
.h-footer .h-logo { display: inline-block; }
.h-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 32px 0; font-size: 13px; }
.h-footer nav a { text-decoration: none; }
.h-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.h-footer small { color: var(--muted); font-size: 12px; }

/* ---------- 読み込み時の演出（ヒーローのみ） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .h-hero-figure::before { animation: h-mat 0.9s cubic-bezier(.2, .7, .2, 1) both 0.15s; transform-origin: left bottom; }
  .h-hero-figure img { animation: h-fade 1s ease both; }
  @keyframes h-mat { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes h-fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  :root { --gutter: 16px; }
  body { font-size: 14px; }
  .h-header { padding: 12px var(--gutter); }
  .h-logo span { font-size: 20px; }
  .nav-toggle .label { display: none; }
  .h-hero { grid-template-columns: 1fr; gap: 32px; padding: 16px var(--gutter) 72px; }
  .h-hero-figure { order: -1; padding: 0 0 24px 24px; }
  .h-hero-text .lead { margin-top: 24px; font-size: 17px; }
  .h-hero-actions { margin-top: 28px; }
  .h-section { padding: 80px 0; }
  .h-title { margin-bottom: 36px; }
  .h-message .poem { font-size: 15px; letter-spacing: 0.08em; }
  .h-about-grid { grid-template-columns: 1fr; gap: 48px; }
  .h-stagger img:nth-child(2) { margin-top: 48px; }
  .h-stagger img:nth-child(3) { margin-top: -36px; }
  .h-schedule li { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .h-events { grid-template-columns: 1fr; margin-top: 48px; }
  .h-event { padding: 28px 20px; }
  .h-activities { grid-template-columns: 1fr 1fr; gap: 16px; }
  .h-activity:nth-child(2) { margin-top: 48px; }
  .h-activity:nth-child(3) { margin-top: 0; grid-column: 1 / -1; width: 70%; justify-self: center; }
  .h-staff { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .h-staff .name { font-size: 15px; }
  .h-staff .role { font-size: 11px; line-height: 1.6; }
  .contact-form iframe { height: 1110px; }
}
