/* ============================================================
   VOLUNTAS — 公開ページ共有スタイル（index / about / members 等）
   ブランド配色(styles.css :root)を流用。
   編集(エディトリアル)文法：ヘアライン罫線・控えめな見出し・
   写真は額装せず素直に・全幅写真とコンテンツ行の交互リズム。
   ============================================================ */

.hm-section { padding: clamp(52px, 7vw, 96px) 0; }
.hm-section.cream { background: var(--cream); }

/* ---- 見出し（既定：左寄せ・下罫線）。.center で中央 ---- */
.hm-head { margin: 0 0 clamp(28px, 4vw, 44px); padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.hm-head.center { text-align: center; }
.hm-head.bare { border-bottom: none; padding-bottom: 0; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 13.5px; letter-spacing: .12em; color: var(--gold-deep); }
.hm-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.hm-head.center .hm-eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
.hm-title { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 32px); line-height: 1.45; color: var(--ink); margin: 10px 0 0; letter-spacing: .05em; font-feature-settings: "palt" 1; }
.hm-sub { font-size: clamp(13.5px, 1.5vw, 15px); color: var(--muted); line-height: 2; margin: 12px 0 0; max-width: 66ch; }
.hm-head.center .hm-sub { margin-inline: auto; }

/* 見出し行の右端リンク（「すべて見る」） */
.hm-headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hm-more { font-family: var(--sans); font-weight: 500; font-size: 13.5px; color: var(--ink); text-decoration: none; border: 1px solid var(--hairline-ink); border-radius: var(--r-pill); padding: 7px 18px; transition: all .2s ease; white-space: nowrap; }
.hm-more:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-soft); }

/* ============================================================
   HERO — 全幅写真（テキストは写真上・左下。唯一のオーバーレイ許可地点）
   ============================================================ */
.hm-hero {
  position: relative; overflow: hidden;
  min-height: clamp(520px, 78vh, 760px);
  display: flex; align-items: flex-end;
  background: var(--ink);
}
.hm-hero .bg { position: absolute; inset: 0; }
.hm-hero .bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-hero .scrim { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(44,40,32,.42) 0%, rgba(44,40,32,0) 22%),
    linear-gradient(76deg, rgba(44,40,32,.86) 0%, rgba(44,40,32,.52) 38%, rgba(44,40,32,.08) 72%);
}
.hm-hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 7vw, 88px); padding-top: clamp(120px, 18vw, 180px); }
.hm-hero .hm-ey { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: clamp(13px, 1.5vw, 15px); letter-spacing: .14em; color: #f0e6d2; }
.hm-hero .hm-ey::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hm-h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5.6vw, 62px); line-height: 1.42; color: #fff; letter-spacing: .05em; margin: 18px 0 0; font-feature-settings: "palt" 1; }
.hm-h1 .u { border-bottom: 1px solid var(--gold); padding-bottom: .04em; }
.hm-lead { font-size: clamp(14px, 1.6vw, 16.5px); color: rgba(255,255,255,.92); line-height: 2.1; margin: 22px 0 0; max-width: 46ch; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; align-items: center; }
.hm-textlink { font-family: var(--sans); font-weight: 500; font-size: 14.5px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 3px; transition: border-color .2s ease, color .2s ease; }
.hm-textlink:hover { color: #f0e6d2; border-color: var(--gold); }
/* 写真クレジット（右下 12px） */
.hm-hero .credit { position: absolute; right: clamp(16px, 3vw, 36px); bottom: 14px; z-index: 2; font-size: 11.5px; letter-spacing: .06em; color: rgba(255,255,255,.75); font-family: var(--sans); }

/* アニメーション前の非表示（anime.js 読込時のみ。失敗時は site.js が .anim を外す） */
html.anim .hm-hero .hm-ey,
html.anim .hm-hero .hm-h1,
html.anim .hm-hero .hm-lead,
html.anim .hm-hero .hm-cta,
html.anim .hm-hero .credit { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html.anim .hm-hero .hm-ey, html.anim .hm-hero .hm-h1, html.anim .hm-hero .hm-lead,
  html.anim .hm-hero .hm-cta, html.anim .hm-hero .credit { opacity: 1 !important; }
}

/* ヒーロー直下：事実ストリップ（数字は正確に・静かに） */
.hm-facts { background: var(--cream); border-bottom: 1px solid var(--hairline); }
.hm-facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hm-fact { padding: clamp(18px, 2.6vw, 28px) 18px; }
.hm-fact + .hm-fact { border-left: 1px solid var(--hairline); }
.hm-fact .n { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.6vw, 28px); color: var(--ink); line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hm-fact .n small { font-size: .62em; font-weight: 500; color: var(--muted); margin-left: 2px; }
.hm-fact .l { display: block; font-size: 11.5px; letter-spacing: .1em; color: var(--muted); margin-top: 6px; font-family: var(--sans); }
@media (max-width: 720px) {
  .hm-facts .wrap { grid-template-columns: 1fr 1fr; }
  .hm-fact:nth-child(3) { border-left: none; }
  .hm-fact:nth-child(n+3) { border-top: 1px solid var(--hairline); }
}

/* ============================================================
   VALUE — 活動テーマ（静かな一行）
   ============================================================ */
.hm-values { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; align-items: center; }
.hm-pill { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--hairline-ink); border-radius: var(--r-pill); padding: 7px 18px; font-family: var(--sans); font-weight: 500; font-size: 13.5px; color: var(--ink); box-shadow: none; }
.hm-pill .dot { width: 7px; height: 7px; border-radius: 50%; }

/* ============================================================
   参加スタイル — 編集的な横組みリスト（写真左・本文右・罫線区切り）
   ============================================================ */
.hm-styles { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.hm-style { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(20px, 3.5vw, 44px); align-items: center; padding: clamp(22px, 3.2vw, 34px) 0; border-bottom: 1px solid var(--hairline); text-decoration: none; background: transparent; border-radius: 0; overflow: visible; box-shadow: none; transition: background .25s ease; }
.hm-style:hover { transform: none; box-shadow: none; background: rgba(180,145,87,.05); }
.hm-style .ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-img); }
.hm-style .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.hm-style:hover .ph img { transform: scale(1.035); }
.hm-style .tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.94); color: var(--gold-deep); font-family: var(--sans); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; padding: 3px 10px; border-radius: 3px; }
.hm-style .bd { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.hm-style h3 { font-family: var(--sans); font-weight: 700; font-size: clamp(17px, 2vw, 20px); color: var(--ink); letter-spacing: .04em; }
.hm-style p { font-size: 14px; color: var(--muted); line-height: 2; max-width: 58ch; }
.hm-style .go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 500; font-size: 13.5px; color: var(--gold-deep); margin-top: 4px; border-bottom: 1px solid var(--gold-line); padding-bottom: 2px; align-self: flex-start; transition: border-color .2s ease; }
.hm-style:hover .go { border-color: var(--gold); }
.hm-style .go svg { width: 15px; height: 15px; transition: transform .25s ease; }
.hm-style:hover .go svg { transform: translateX(3px); }
@media (max-width: 680px) {
  .hm-style { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .hm-style .ph { aspect-ratio: 16 / 9; }
}

/* ============================================================
   ABOUT（写真＋テキスト・キャプションは写真の下）
   ============================================================ */
.hm-about .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 880px) { .hm-about .wrap { grid-template-columns: 1fr; } }
.hm-about-art { position: relative; }
.hm-about-art img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; border-radius: var(--r-img); }
.hm-about-badge { position: static; margin-top: 12px; background: transparent; backdrop-filter: none; border-radius: 0; padding: 0 2px; font-family: var(--sans); font-size: 12.5px; color: var(--muted); line-height: 1.9; box-shadow: none; border-left: 2px solid var(--gold); padding-left: 12px; }
.hm-about-badge b { color: var(--gold-deep); font-weight: 700; }
.hm-about-text p { font-size: 15px; color: var(--muted); line-height: 2.1; margin: 18px 0 0; }
.hm-about-text .hl { color: var(--ink); font-weight: 700; }
.hm-about-text .hl-b { color: var(--blue-deep); font-weight: 700; }

/* About：くわしく見る（静かな下線リンク） */
.hm-about-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-family: var(--sans); font-weight: 500; font-size: 14.5px; color: var(--gold-deep); background: transparent; padding: 0 0 3px; border-radius: 0; box-shadow: none; text-decoration: none; border-bottom: 1px solid var(--gold-line); transition: border-color .2s ease; }
.hm-about-link:hover { transform: none; box-shadow: none; border-color: var(--gold); }
.hm-about-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.hm-about-link:hover svg { transform: translateX(3px); }

/* About：実績数値バー（罫線のみ） */
.hm-about .wrap > .hm-statsbar { grid-column: 1 / -1; }
.hm-statsbar { margin-top: clamp(30px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); background: transparent; border: none; border-top: 1px solid var(--hairline); border-radius: 0; overflow: visible; box-shadow: none; }
.hm-statc { padding: clamp(18px, 2.6vw, 28px) 16px 0; text-align: left; }
.hm-statc + .hm-statc { border-left: 1px solid var(--hairline); padding-left: clamp(16px, 2.4vw, 28px); }
.hm-statc .n { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3.4vw, 36px); color: var(--gold-deep); line-height: 1.15; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.hm-statc .n .u2 { font-size: .5em; font-weight: 500; color: var(--muted); margin-left: 3px; }
.hm-statc .l { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 8px; letter-spacing: .06em; }
@media (max-width: 620px) {
  .hm-statsbar { grid-template-columns: 1fr 1fr; }
  .hm-statc { border-left: none !important; padding-left: 0 !important; }
  .hm-statc:nth-child(even) { border-left: 1px solid var(--hairline) !important; padding-left: 16px !important; }
  .hm-statc:nth-child(n+3) { margin-top: 18px; }
}

/* ============================================================
   フォトギャラリー（キャプションは常時・写真の下）
   ============================================================ */
.hm-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px) clamp(12px, 1.6vw, 18px); }
@media (max-width: 980px) { .hm-gallery { grid-template-columns: repeat(2, 1fr); } }
.hm-shot { position: relative; overflow: visible; border-radius: 0; box-shadow: none; text-decoration: none; display: block; }
.hm-shot .ph, .hm-shot > img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; border-radius: var(--r-img); }
.hm-shot .ph { overflow: hidden; }
.hm-shot .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.6,.2,1), opacity .3s ease; }
.hm-shot:hover .ph img, .hm-shot:hover > img { transform: scale(1.03); }
.hm-shot.feat { grid-column: span 2; grid-row: span 2; }
.hm-shot.feat .ph, .hm-shot.feat > img { aspect-ratio: auto; height: 100%; }
.hm-shot.feat .ph { height: calc(100% - 30px); }
/* キャプション：写真の下・常時表示（雑誌のノンブル的に） */
.hm-shot .cap { position: static; display: block; padding: 8px 2px 0; color: var(--muted); font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .05em; background: none; opacity: 1; transform: none; }
.hm-shot .cap::before { content: "— "; color: var(--gold); }
@media (max-width: 520px) { .hm-shot.feat { grid-column: span 2; grid-row: auto; } .hm-shot.feat .ph { height: auto; } .hm-shot.feat .ph, .hm-shot.feat > img { aspect-ratio: 4/3; } }

/* ============================================================
   STEPS（罫線カラム・セリフ数字）
   ============================================================ */
.hm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--hairline); }
.hm-step { position: relative; background: transparent; border: none; border-radius: 0; padding: clamp(24px, 3.4vw, 36px) clamp(18px, 2.6vw, 32px) 8px 0; box-shadow: none; }
.hm-step + .hm-step { border-left: 1px solid var(--hairline); padding-left: clamp(18px, 2.6vw, 32px); }
.hm-step .num { width: auto; height: auto; border-radius: 0; display: block; font-family: var(--serif); font-weight: 600; font-style: italic; font-size: clamp(28px, 3.4vw, 38px); color: var(--gold); background: none; box-shadow: none; margin-bottom: 14px; line-height: 1; }
.hm-step:nth-child(2) .num { background: none; color: var(--blue-deep); box-shadow: none; }
.hm-step h3 { font-family: var(--sans); font-weight: 700; font-size: 17.5px; color: var(--ink); margin-bottom: 10px; letter-spacing: .06em; }
.hm-step p { font-size: 14px; color: var(--muted); line-height: 2; }
.hm-steps.flow .hm-step:not(:last-child)::after { content: none; }
@media (max-width: 880px) {
  .hm-steps { grid-template-columns: 1fr; border-top: none; }
  .hm-step { border-top: 1px solid var(--hairline); padding: 22px 0 14px; }
  .hm-step + .hm-step { border-left: none; padding-left: 0; }
}
.hm-steps-cta { margin-top: 36px; }

/* ============================================================
   CTA バンド（全幅写真＋墨色スクリム・左寄せ）
   ============================================================ */
.hm-cta-band { position: relative; border-radius: 0; overflow: hidden; padding: clamp(64px, 10vw, 130px) 0; text-align: left; color: #fff; }
.hm-cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(80deg, rgba(44,40,32,.94) 0%, rgba(44,40,32,.82) 42%, rgba(44,40,32,.38) 100%); z-index: 1; }
.hm-cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hm-cta-band > *:not(img) { position: relative; z-index: 2; }
.hm-cta-band .hm-ey2 { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 13.5px; letter-spacing: .14em; color: #f0e6d2; }
.hm-cta-band .hm-ey2::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.hm-cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.5; letter-spacing: .05em; margin-top: 14px; font-feature-settings: "palt" 1; }
.hm-cta-band p { font-size: clamp(13.5px, 1.6vw, 15.5px); line-height: 2.1; margin: 16px 0 0; max-width: 52ch; color: rgba(255,255,255,.92); }
.hm-cta-band .hm-cta { justify-content: flex-start; margin-top: 30px; }

/* ============================================================
   スポンサー（協賛ロゴ・横スクロールマーキー）
   ============================================================ */
.sp-section { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(44px, 6vw, 72px); }
#sponsors .hm-head { max-width: none; }
#sponsors .hm-title { white-space: nowrap; font-size: clamp(16px, 3vw, 24px); letter-spacing: .04em; }
.sp-marquee { overflow: hidden; margin-top: 30px; }
.sp-track { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px) clamp(44px, 6vw, 88px); width: 100%; }
.sp-marquee.sp-measure .sp-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
.sp-marquee.sp-animate { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.sp-marquee.sp-animate .sp-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: sp-scroll 36s linear infinite; }
.sp-marquee.sp-animate:hover .sp-track { animation-play-state: paused; }
.sp-item { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.sp-item img { height: clamp(36px, 4.4vw, 52px); width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .3s ease, opacity .3s ease; }
.sp-item:hover img { filter: none; opacity: 1; }
@keyframes sp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .sp-marquee.sp-animate .sp-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .sp-marquee.sp-animate { -webkit-mask-image: none; mask-image: none; }
}
