/* ============================================================
   琉球ジムキ
   ============================================================ */

/* ---- 0. 実装規約 ---- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, dl, dt, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ---- 1. トークン ---- */
:root{
  --bg          : #FFFFFF;
  --surface     : #F2F5F4;
  --dark        : #18221F;
  --ink         : #1B201F;
  --ink-2       : #4B5754;
  --line        : #DAE2DF;
  --dark-ink    : #EEF3F1;
  --dark-ink-2  : #A7B6B2;
  --dark-line   : #34443F;
  --accent      : #1E6962;
  --accent-lt   : #72C3B7;
  --pad         : 40px;
}
@media (max-width: 767px){
  :root{ --pad: 20px; }
}

html{ -webkit-text-size-adjust: 100%; }
body{
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

/* ---- 2. コンテナ（100vw を使わない） ---- */
main > section{ width: 100%; }
.wrap{
  width: min(1120px, 100% - var(--pad) * 2);
  margin-inline: auto;
}

/* ---- 3. フォーカス可視化 ---- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.sec-dark a:focus-visible, .sec-dark button:focus-visible{
  outline-color: var(--accent-lt);
}

/* ---- 4. 見出しの意味のまとまり折返し ---- */
.h-phrase{ display: inline-block; }

/* ---- 5. タイポグラフィ ---- */
h1, .h1{
  font-size: 44px; line-height: 1.40; font-weight: 700; letter-spacing: .02em; color: var(--ink);
}
h2, .h2{
  font-size: 32px; line-height: 1.50; font-weight: 700; letter-spacing: .02em; color: var(--ink);
}
h3, .h3{
  font-size: 26px; line-height: 1.45; font-weight: 700; letter-spacing: .02em; color: var(--ink);
}
.lead{
  font-size: 19px; line-height: 2.00; font-weight: 400; letter-spacing: .02em; color: var(--ink-2);
}
.intro-title{
  font-size: 19px; line-height: 1.75; font-weight: 500; letter-spacing: .02em; color: var(--ink);
}
.price{
  font-size: 20px; line-height: 1.40; font-weight: 700; letter-spacing: 0; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.eyebrow{
  font-size: 13px; line-height: 1.60; font-weight: 700; letter-spacing: .10em;
}
.note, .caption{
  font-size: 14px; line-height: 1.70; font-weight: 400; letter-spacing: .02em; color: var(--ink-2);
}
@media (max-width: 767px){
  h1, .h1{ font-size: 30px; line-height: 1.45; }
  h2, .h2{ font-size: 24px; line-height: 1.50; }
  h3, .h3{ font-size: 21px; line-height: 1.50; }
  .lead{ font-size: 17px; line-height: 1.95; }
  .intro-title{ font-size: 17px; line-height: 1.75; }
  .price{ font-size: 19px; }
  .eyebrow{ font-size: 12px; }
  .note, .caption{ font-size: 13px; line-height: 1.70; }
  body{ font-size: 16px; line-height: 1.9; }
}

.sec-dark{ background: var(--dark); }
.sec-dark, .sec-dark h1, .sec-dark h2, .sec-dark h3{ color: var(--dark-ink); }
.sec-dark .lead, .sec-dark p{ color: var(--dark-ink); }
.sec-dark .note, .sec-dark .caption{ color: var(--dark-ink-2); }
a[href^="tel:"]{ font-variant-numeric: tabular-nums; }

/* ---- 6. ヘッダー（sticky） ---- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  height: 72px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .brand{
  font-size: 21px; font-weight: 700; letter-spacing: .06em; color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; min-height: 44px;
}
.site-header .brand-logo{ flex: none; display: block; width: auto; height: 50px; }
.site-header .brand-logo img{ display: block; width: auto; height: 100%; }
.btn-tel-header{
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px;
  border: 1px solid var(--accent); border-radius: 4px;
  font-size: 17px; font-weight: 700; color: var(--accent);
  text-decoration: none; white-space: nowrap;
}
@media (max-width: 767px){
  .site-header{ height: 60px; }
  .site-header .brand{ font-size: 17px; }
  .site-header .brand-logo{ width: auto; height: 45px; }
  .btn-tel-header{ height: 44px; font-size: 15px; padding: 0 16px; }
}

/* ---- 7. ヒーロー（動画のみ。文字を載せない） ---- */
.hero{ width: 100%; background: var(--dark); }
.hero-media, .hero-still{
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; max-height: 720px; object-fit: cover; object-position: center center;
  background: var(--dark);
}
.hero-still{ display: none; }
@media (max-width: 767px){
  .hero-media, .hero-still{ height: 500px; max-height: none; aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce){
  video.hero-media{ display: none; }
  .hero-still{ display: block; }
}

/* ---- 8. セクション共通の帯 ---- */
.sec{ padding: 96px 0; }
@media (max-width: 767px){ .sec{ padding: 64px 0; } }
.sec-surface{ background: var(--surface); }
.sec-bg{ background: var(--bg); }

.sec-map{ padding-bottom: 72px; }
.sec-contact{ padding-top: 72px; padding-bottom: 48px; }
.sec-footer{ padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 767px){
  .sec-map{ padding-bottom: 48px; }
  .sec-contact{ padding-top: 48px; padding-bottom: 32px; }
  .sec-footer{ padding-top: 32px; padding-bottom: 32px; }
}
/* ★ border-top のみ。上下72/48px・40/32pxの間隔は section 側の padding-top で作る（二重加算を避ける） */
.divider-line{ border-top: 1px solid var(--dark-line); }

/* ---- 9. 見出しブロック共通 ---- */
.sec-head-block{ margin-bottom: 40px; }
@media (max-width: 767px){ .sec-head-block{ margin-bottom: 28px; } }
.sec-sub{ margin-top: 8px; color: var(--ink-2); font-size: 19px; font-weight: 500; }
@media (max-width: 767px){ .sec-sub{ font-size: 17px; } }
.sec-lead{ margin-top: 20px; }
@media (max-width: 767px){ .sec-lead{ margin-top: 14px; } }

/* ---- 10. 導入＋お知らせ（セクション3） ---- */
.intro-grid{
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 340px);
  gap: 60px;
  align-items: start;
}
@media (max-width: 899px){
  .intro-grid{ grid-template-columns: minmax(0, 1fr); gap: 56px; }
}
.intro-col p{ margin-top: 20px; color: var(--ink-2); font-size: 19px; line-height: 2.00; }
.intro-col p:first-of-type{ margin-top: 24px; }
@media (max-width: 767px){
  .intro-col p{ font-size: 17px; line-height: 1.95; margin-top: 18px; }
}
.news-heading{ font-size: 13px; font-weight: 700; letter-spacing: .10em; color: var(--ink); }
.news-list{ margin-top: 16px; }
.news-list li{
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.news-list li:last-child{ border-bottom: 1px solid var(--line); }
.news-date{
  display: block; font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .06em; color: var(--ink-2);
}
.news-title{
  display: block; margin-top: 4px; font-size: 15px; line-height: 1.7; color: var(--ink);
}
@media (max-width: 767px){ .news-title{ font-size: 16px; } }

/* ---- 11. 商品ブロック（セクション4） ---- */
.dish-list{ margin-top: 40px; }
.dish-block + .dish-block{ margin-top: 88px; }
@media (max-width: 767px){
  .dish-list{ margin-top: 28px; }
  .dish-block + .dish-block{ margin-top: 56px; }
}

.media-grid{
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
  gap: 64px;
  align-items: start;   /* ★ center ではなく start */
}
@media (max-width: 1119px) and (min-width: 900px){
  .media-grid{
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
  }
}
@media (max-width: 899px){
  .media-grid{
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

.dish-photo{ margin: 0; }
.dish-photo img{
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover;
  background: var(--surface);
}

.dish-body > *{ margin: 0; }
.dish-body > * + *{ margin-top: 12px; }
.dish-body > .intro-title{ margin-top: 16px; }
.dish-body > .dish-desc{ margin-top: 18px; }
.dish-body > .dish-points{
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--line);
}

.dish-name{ display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.dish-desc{ color: var(--ink-2); font-size: 17px; line-height: 1.90; }
@media (max-width: 767px){ .dish-desc{ font-size: 16px; } }

.dish-points{ font-size: 15px; line-height: 1.80; color: var(--ink); }
.dish-points li{ padding-left: 1.1em; position: relative; }
.dish-points li + li{ margin-top: 8px; }
.dish-points li::before{
  content: "";
  position: absolute; left: 0; top: .72em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

.menu-note{ margin-top: 56px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 767px){ .menu-note{ margin-top: 40px; } }

/* ---- 12. 会社・店舗紹介（セクション5） ---- */
/* 画像は .dish-photo を共用（3:2・width100%・height:auto は既に定義済み） */
.company-body p{ font-size: 17px; line-height: 1.90; color: var(--ink-2); }
.company-body p + p{ margin-top: 20px; }
@media (max-width: 767px){
  .company-body p{ font-size: 16px; }
  .company-body p + p{ margin-top: 18px; }
}
.company-body h2{ margin-bottom: 20px; }
@media (max-width: 767px){ .company-body h2{ margin-bottom: 14px; } }

/* ---- 13. FAQ（セクション6） ---- */
.faq-list{ margin-top: 40px; }
@media (max-width: 767px){ .faq-list{ margin-top: 28px; } }
.faq-row{
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.faq-row:last-child{ border-bottom: 1px solid var(--line); }
.faq-row dt{
  max-width: 680px;
  font-size: 20px; line-height: 1.55; font-weight: 700; color: var(--ink);
}
.faq-row dd{
  max-width: 680px; margin-top: 12px; margin-left: 0;
  font-size: 17px; line-height: 1.90; color: var(--ink-2);
}
@media (max-width: 767px){
  .faq-row{ padding: 22px 0; }
  .faq-row dt{ font-size: 18px; }
  .faq-row dd{ font-size: 16px; }
}

/* ---- 14. 地図＋店舗情報（セクション7・濃色） ---- */
.map-grid{
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 560px);
  gap: 0;
  align-items: start;
}
@media (max-width: 899px){
  .map-grid{ grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
.map-figure{ margin: 0; }
.map-figure svg{ display: block; width: 100%; height: auto; }
.map-note{ margin-top: 12px; font-size: 13px; color: var(--dark-ink-2); }

.info-panel{ padding-left: 0; }
@media (min-width: 900px){ .info-panel{ padding-left: 64px; } }
.info-list li{
  display: flex; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--dark-line);
}
.info-list .info-label{
  flex: 0 0 110px;
  font-size: 13px; font-weight: 700; letter-spacing: .10em; color: var(--accent-lt);
}
.info-list .info-value{
  flex: 1 1 auto; min-width: 0;
  font-size: 17px; line-height: 1.7; color: var(--dark-ink);
}
.info-list .info-value a{
  color: var(--accent-lt);
  text-decoration: underline; text-underline-offset: 4px;
}
@media (max-width: 767px){
  .info-list .info-label{ flex-basis: 92px; }
  .info-list .info-value{ font-size: 16px; }
}

/* 白地版（2ページ目・店舗詳細） */
.info-list.on-light li{ border-bottom: 1px solid var(--line); }
.info-list.on-light .info-label{ color: var(--accent); }
.info-list.on-light .info-value{ color: var(--ink); }
.info-list.on-light .info-value a{ color: var(--accent); }

/* ---- 15. 問い合わせ導線（セクション8） ---- */
.contact-cta{ margin-top: 20px; }
.contact-cta p{ font-size: 17px; line-height: 1.9; color: var(--dark-ink); }
.contact-cta.on-light p{ color: var(--ink-2); }
.contact-cta p + p{ margin-top: 8px; }
.btn-row{
  margin-top: 28px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
@media (max-width: 767px){
  .btn-row{ flex-direction: column; gap: 12px; }
}
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  height: 60px; padding: 0 36px; border-radius: 4px;
  font-size: 19px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
@media (max-width: 767px){
  .btn{ height: 56px; width: 100%; font-size: 17px; padding: 0 24px; }
}
.btn-primary{ background: var(--accent-lt); color: var(--dark); border: none; }
.btn-primary.on-light{ background: var(--accent); color: #FFFFFF; }
.btn-outline{ background: transparent; color: var(--dark-ink); border: 1px solid var(--dark-ink); }
.btn-outline.on-light{ color: var(--ink); border: 1px solid var(--ink); }

/* ---- 16. フッター（セクション9） ---- */
.site-footer .wrap{ display: block; }
.footer-brand{ font-size: 17px; font-weight: 700; color: var(--dark-ink); }
.footer-info{ margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--dark-ink-2); }
.footer-sample{ margin-top: 24px; font-size: 13px; color: var(--dark-ink-2); }

/* ---- 18. 問い合わせフォーム（about.html セクション3） ---- */
.form-section{ max-width: 640px; }

.form-divider{ margin: 40px 0; border-top: 1px solid var(--line); }
@media (max-width: 767px){ .form-divider{ margin: 32px 0; } }

.field + .field{ margin-top: 24px; }
@media (max-width: 767px){ .field + .field{ margin-top: 20px; } }
.field label{ display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.field .req{ font-size: 13px; color: var(--accent); margin-left: 8px; letter-spacing: .04em; }
.field .field-note{ display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); font-weight: 400; }
.field input, .field textarea{
  width: 100%;
  font-size: 17px; font-family: inherit; line-height: 1.5; letter-spacing: .02em;
  color: var(--ink); background: #FFFFFF;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 0 16px; height: 56px;
  transition: none;
}
.field textarea{ height: auto; min-height: 200px; padding: 14px 16px; resize: vertical; }
@media (max-width: 767px){
  .field input{ height: 52px; }
  .field textarea{ min-height: 176px; }
}
.field input:focus-visible, .field textarea:focus-visible{
  outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent);
}

.btn-submit{
  margin-top: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  height: 60px; padding: 0 40px; width: 280px; max-width: 100%;
  border: none; border-radius: 4px;
  background: var(--accent); color: #FFFFFF;
  font-size: 19px; font-weight: 700; cursor: pointer;
}
@media (max-width: 767px){
  .btn-submit{ width: 100%; height: 56px; font-size: 17px; }
}
.form-sample-note{ margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* ---- 19. SNSリンク（フッター） ---- */
.sns-row{ margin-top: 20px; display: flex; gap: 12px; }
.sns-btn{
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--dark-line); color: var(--dark-ink-2);
  text-decoration: none;
}
.sns-btn svg{ width: 18px; height: 18px; }

/* ---- 20. 上に戻るボタン ---- */
.back-to-top{
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--dark-line);
  background: var(--dark); color: var(--dark-ink);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  cursor: pointer;
}
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg{ width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce){
  .back-to-top{ transition: none; }
}
@media (max-width: 767px){
  .back-to-top{ right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ---- 22. ロボット確認（表示のみ・実際の検証は行わない） ---- */
.robot-check{
  margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; max-width: 400px;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--surface);
}
.robot-check-row{ display: flex; align-items: center; gap: 12px; cursor: pointer; }
.robot-check-input{ width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.robot-check-text{ font-size: 15px; color: var(--ink); }
.robot-check-icon{ width: 28px; height: 28px; color: var(--ink-2); flex: none; }
@media (max-width: 767px){
  .robot-check{ padding: 14px 16px; max-width: none; }
}


/* ---- 23. お問い合わせフォーム（送信・同意・BOT対策） ---- */
.form-lead{ margin-bottom: 24px; font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.field .opt{ font-size: 13px; color: var(--ink-2); margin-left: 8px; letter-spacing: .04em; font-weight: 400; }
.cf-hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-consent{
  margin-top: 28px; padding: 16px 20px; max-width: 460px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--surface);
}
.cf-consent-row{ display: flex; align-items: center; gap: 12px; cursor: pointer; }
.cf-consent-input{ width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.cf-consent-text{ font-size: 15px; line-height: 1.6; color: var(--ink); }
.cf-consent-text a{ color: var(--accent); }
.cf-consent-note{ margin-top: 8px; margin-left: 32px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 767px){ .cf-consent{ padding: 14px 16px; max-width: none; } }
.cf-bot{ margin-top: 20px; }
.cf-bot.is-on{ min-height: 70px; }
.form-status{ margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--accent); min-height: 1.7em; }
.btn-submit[disabled]{ opacity: .55; cursor: default; }
.cf-done{ max-width: 640px; padding: 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.cf-done-title{ font-size: 17px; font-weight: 700; line-height: 1.7; }
.cf-done-note{ margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 767px){ .cf-done{ padding: 20px; } }
.footer-legal{ margin-top: 16px; font-size: 14px; }
.footer-legal a{ color: var(--dark-ink-2); }

/* ---- 24. プライバシーポリシー本文 ---- */
.legal{ max-width: 720px; }
.legal h2{ font-size: 21px; line-height: 1.6; margin-top: 44px; }
.legal h2:first-child{ margin-top: 0; }
.legal p{ margin-top: 14px; font-size: 16px; line-height: 1.95; }
.legal-list{ margin-top: 14px; }
.legal-list li{ margin-top: 12px; padding-left: 18px; position: relative; font-size: 16px; line-height: 1.95; }
.legal-list li::before{ content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 1px; background: var(--accent); }
.legal-provider{ margin-top: 14px; font-size: 16px; line-height: 1.95; }
@media (max-width: 767px){
  .legal h2{ font-size: 19px; margin-top: 36px; }
  .legal p, .legal-list li, .legal-provider{ font-size: 15px; }
}

/* ============================================================
   ヒーロー最大3枚スライダー（追加スタイル）
   クラス接頭辞は hs- に限る。既存の規則は変更しない。
   .hero-media の既存規則は変えず、.hs の内側でだけ上書きする。
   ============================================================ */

/* ---- ファーストビュー条件：写真の高さ ----
   「現行の高さ」と「表示高 − ヘッダー高 − 帯の見出し・補足までの高さ − 操作部品の行(--hs-ctrl-row-h。スマートフォンのみ) − 余白(--hs-fv-gap)」の小さい方。
   --hs-band-text-h は JS が実測して上書きする。初期値は帯の実際の構成から
   計算した算術値：
   PC = 20(padding-top) + 20×1.4(見出しline-height) + 4(補足margin-top) + 15×1.6(補足line-height) = 76px
   SP = 16(padding-top) + 56（同上の見出し+margin+補足分） = 72px
   表示高は svh を使う（後段の同名プロパティが対応ブラウザで上書きする。dvh は使わない）。 */
.hs{
  --hs-header-h: 72px;
  --hs-band-text-h: 76px;
  --hs-ctrl-row-h: 0px;
  --hs-fv-gap: 16px;
  --hs-lo: 360px;
  --hs-hi: 720px;
  --hs-dot-off: #7F8A86;
  position: relative;
}
@media (max-width: 767px){
  .hs{ --hs-header-h: 60px; --hs-band-text-h: 72px; --hs-ctrl-row-h: 56px; --hs-lo: 300px; --hs-hi: 500px; }
}

.hs .hs-stage{
  position: relative;
  display: grid;
  background: var(--dark);
  overflow: hidden;
  touch-action: pan-y;
}

/* .hero-media の既存規則（16:9・max-height:720px・aspect-ratio）を .hs の内側でだけ上書きする */
.hs .hero-media.hs-photo{
  grid-area: 1 / 1;
  width: 100%;
  height: clamp(var(--hs-lo), calc(100vh - var(--hs-header-h) - var(--hs-band-text-h) - var(--hs-ctrl-row-h) - var(--hs-fv-gap)), var(--hs-hi));
  height: clamp(var(--hs-lo), calc(100svh - var(--hs-header-h) - var(--hs-band-text-h) - var(--hs-ctrl-row-h) - var(--hs-fv-gap)), var(--hs-hi));
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  z-index: 0;
}
/* JS 未実行時：1枚目の写真だけを見せる */
.hs .hero-media.hs-photo:first-child{ opacity: 1; z-index: 1; }
.hs.hs-js .hero-media.hs-photo:first-child{ opacity: 0; z-index: 0; }
/* ★ reduced-motion でも写真フェード200ms linear（0msにしない）にするため、
   ここに transition:none の reduced-motion 規則を置かない。時間は JS が hsFadeDurationFor の
   値でインライン transition を設定する。CSS 側は時間を持たない。 */

/* ---- 帯（写真の直下） ---- */
.hs .hs-band{
  background: var(--surface);
}
.hs .hs-band-in{
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 767px){
  .hs .hs-band-in{
    padding: 16px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

/* ---- キャプション（見出し・補足）。全スライド分を同じマスへ重ねる ---- */
.hs .hs-caps{
  position: relative;
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
}
/* 見え方は状態クラスだけで決める。aria-hidden は読み上げのためだけに使う */
.hs .hs-cap{ grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.hs:not(.hs-js) .hs-cap:first-child{ opacity: 1; visibility: visible; }
.hs .hs-cap.hs-on{ opacity: 1; visibility: visible; }
.hs .hs-cap.hs-out{ opacity: 0; visibility: visible; }

.hs .hs-name{
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
}
.hs .hs-sub{
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink-2);
}

/* ---- 操作部品（停止／再生 → 前へ → 点 → 次へ） ---- */
.hs .hs-ctrl{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  visibility: hidden;
}
.hs.hs-js .hs-ctrl{ visibility: visible; }

.hs .hs-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-2);
  cursor: pointer;
}
.hs .hs-btn svg{ width: 18px; height: 18px; }
.hs .hs-pause[data-hs-playing="0"] svg{ color: var(--accent); }

.hs .hs-dots{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}
.hs .hs-dot{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.hs .hs-dot::before{
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hs-dot-off);
}
.hs .hs-dot[aria-current="true"]::before{
  background: var(--accent);
}

@media (max-width: 767px){
  .hs .hs-ctrl{ justify-content: flex-start; }
}
