/* =========================================================
   Arry Fusion Belly Dance Studio — style.css
   生成りの明るい地 / 古金(主アクセント)/ 緑青(副アクセント)
   ========================================================= */

:root {
  --bg: #faf6ee;          /* 生成り */
  --bg-2: #f3ecdf;        /* 少し濃い生成り(区切り用) */
  --bg-3: #ebe2d1;
  --text: #2b2622;        /* 焦げ茶寄りの黒(本文) */
  --text-sub: #6b6257;    /* 補足文 */
  --gold: #a67c3a;        /* 古金(罫線・ボタン) */
  --gold-light: #86621f;  /* 明るい地で読める金(文字用) */
  --teal: #2c5f5a;        /* 緑青(深いティール) */
  --teal-light: #2c6b64;  /* 明るい地で読める緑青(文字用) */
  --line: rgba(166, 124, 58, 0.45);
  --line-soft: rgba(43, 38, 34, 0.12);

  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-latin: "Cormorant Garamond", "Shippori Mincho", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --gutter: 20px;
  --max: 1040px;
  --max-narrow: 720px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;           /* 16px */
  line-height: 1.95;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--gold-light);
  text-underline-offset: 0.2em;
}
a:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--bg);
}
.skip-link:focus { top: 16px; }

.sp-only { display: inline; }
.pc-only { display: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: var(--max-narrow); }

/* ---------- 装飾 ---------- */
.ornament {
  display: block;
  width: 120px;
  height: 12px;
  margin: 28px 0;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
}
.ornament path { fill: none; stroke: var(--gold); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--gold);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn--primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fdfaf3;
}
.btn--primary:hover {
  background: transparent;
  color: var(--teal);
}

/* ---------- 写真枠(差し替え用) ---------- */
.photo-frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(44, 95, 90, 0.18), rgba(18, 17, 16, 0) 60%),
    var(--bg-3);
  border: 1px solid var(--line);
  outline: 1px solid var(--line-soft);
  outline-offset: -9px;
}
.photo-frame__label {
  margin: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-sub);
}
.photo-frame--portrait { aspect-ratio: 3 / 4; }
.photo-frame--landscape { aspect-ratio: 4 / 3; }
.photo-frame--wide { aspect-ratio: 16 / 9; }
.photo { width: 100%; object-fit: cover; }

/* ---------- 写真 ---------- */
.hero { min-height: 0 !important; }
.lesson-photo { margin: 48px auto 0; max-width: 760px; }
.photo { display: block; height: auto; border: 1px solid var(--line); }
/* 白背景の切り抜き写真を、地の色になじませる */
.teacher__photo { border: 0; mix-blend-mode: multiply; margin-inline: auto; }
.event__photo { aspect-ratio: 3 / 2; margin-bottom: 20px; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  outline: 0;
}
.photo-frame--hero { align-items: flex-start; }
.photo-frame--hero .photo-frame__label { margin: 20px var(--gutter); }
/* 写真の上でも文字が読めるよう、下側を生成りでぼかす */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250, 246, 238, 0.2) 0%, rgba(250, 246, 238, 0.88) 50%, var(--bg) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter) 72px;
}
.hero__brand {
  margin: 0 0 20px;
  font-family: var(--font-latin);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}
.hero__title {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.5rem, 6.4vw, 3rem);
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.55;
  letter-spacing: 0.08em;
}
.hero__lead {
  max-width: 34em;
  margin-bottom: 36px;
  color: var(--text);
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line-soft);
}
.section__en {
  margin: 0 0 6px;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  color: var(--teal-light);
}
.section__title {
  position: relative;
  margin: 0 0 48px;
  padding-bottom: 20px;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(1.5rem, 5.4vw, 2.125rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 1px;
  background: var(--gold);
}

/* ---------- トライバルフュージョンとは ---------- */
.about__body {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

/* ---------- こんな方へ ---------- */
.for-you { background: var(--bg-2); }
.for-you__list {
  list-style: none;
  margin: 0 0 64px;
  padding: 0;
}
.for-you__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
}
.for-you__item:last-child { border-bottom: 1px solid var(--line-soft); }
.for-you__num {
  font-family: var(--font-latin);
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--gold);
}
.for-you__title {
  margin: 0 0 10px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
}
.for-you__note {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 12px;
  font-size: 0.875rem;
  color: var(--teal-light);
  border: 1px solid rgba(44, 107, 100, 0.45);
}
.for-you__item p { color: var(--text); }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery .photo-frame--landscape { grid-column: 1 / -1; }

/* ---------- レッスンと料金 ---------- */
.lessons__course {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  font-family: var(--font-mincho);
  font-size: 1.125rem;
  color: var(--gold-light);
}
.lessons__course::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.price {
  margin-bottom: 28px;
  padding: 24px 0 8px;
  border-top: 1px solid var(--line);
}
.price__heading {
  margin: 0 0 8px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}
.price__list { margin: 0; }
.price__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--line-soft);
}
.price__row dt { color: var(--text-sub); }
.price__row dd { margin: 0; }
.price__yen {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.price__plus {
  margin-left: 6px;
  font-size: 0.875rem;
  color: var(--text-sub);
}
.price__note {
  margin: 0 0 56px;
  font-size: 0.9375rem;
  color: var(--text-sub);
}
.info { margin: 0; }
.info__row {
  padding: 20px 0 20px 18px;
  border-left: 2px solid var(--teal);
}
.info__row + .info__row { margin-top: 16px; }
.info dt {
  margin-bottom: 4px;
  font-family: var(--font-mincho);
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.1em;
}
.info dd { margin: 0; }
.info__sub { font-size: 0.9375rem; color: var(--text-sub); }

/* ---------- 講師紹介 ---------- */
.teacher { background: var(--bg-2); }
.teacher__layout {
  display: grid;
  gap: 36px;
}
.teacher__photo { max-width: 360px; width: 100%; }
.teacher__name {
  margin-bottom: 16px;
  font-family: var(--font-latin);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

/* ---------- イベント ---------- */
.events__list {
  display: grid;
  gap: 0;
  margin-top: 40px;
}
.event {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.event__freq {
  margin: 0 0 4px;
  font-size: 0.875rem;
  color: var(--teal-light);
  letter-spacing: 0.1em;
}
.event__title {
  margin: 0 0 12px;
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

/* ---------- 体験までの流れ ---------- */
.flow__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-bottom: 40px;
}
.flow__step:last-child { padding-bottom: 0; }
/* ステップ間の縦線 */
.flow__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-latin);
  font-size: 1.375rem;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.flow__title {
  margin: 4px 0 8px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: 0.06em;
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq__item {
  border-top: 1px solid var(--line-soft);
}
.faq__item:last-child { border-bottom: 1px solid var(--line-soft); }
.faq__item summary {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 22px 36px 22px 0;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 20px;
  font-family: var(--font-latin);
  font-size: 1.5rem;
  color: var(--gold);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__q {
  font-family: var(--font-latin);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--gold);
  flex-shrink: 0;
}
.faq__a {
  padding: 0 0 24px 30px;
  color: var(--text);
}

/* ---------- 下部の問い合わせ ---------- */
.contact {
  text-align: center;
  border-bottom: 0;
}
.contact .ornament { margin: 0 auto 32px; }
.contact .section__title { margin-bottom: 28px; }
.contact .section__title::after { left: 50%; transform: translateX(-50%); }
.contact .btn { margin-top: 20px; }
.contact__handle {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--text-sub);
}

/* ---------- フッター ---------- */
.footer {
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: #21403d;   /* 深い緑青で締める */
  color: #f3ecdf;
}
.footer__name {
  margin-bottom: 20px;
  font-family: var(--font-latin);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: #ecd9ad;
}
.footer a { color: #ecd9ad; }
.footer a:hover { color: #ffffff; }
.footer :focus-visible { outline-color: #ecd9ad; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.footer__links a { display: inline-block; padding: 6px 0; }
.footer__copy { color: #cdd8d3; }
.contact__example {
  max-width: 26em;
  margin: 0 auto;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  text-align: left;
}

/* ---------- スマホ用 固定DMボタン ---------- */
.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #fdfaf3;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(43, 38, 34, 0.22);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.sticky-cta:hover { color: #fdfaf3; }
.sticky-cta.is-hidden {
  visibility: hidden;   /* 隠れている間はキーボード操作でも選ばれない */
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
/* 固定ボタンで最後の本文が隠れないよう、下に余白を確保 */
body { padding-bottom: 72px; }

/* ---------- PC幅 ---------- */
@media (min-width: 768px) {
  :root { --gutter: 40px; }

  .sp-only { display: none; }
  .pc-only { display: inline; }

  .section { padding: 128px 0; }

  .hero__inner { padding-bottom: 96px; }

  .gallery {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: end;
  }
  .gallery .photo-frame--landscape { grid-column: auto; }

  .for-you__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 40px;
  }
  .for-you__item {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }
  .for-you__item:last-child { border-bottom: 0; }

  .teacher__layout {
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items: center;
  }

  .events__list {
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }

  /* PCでは固定ボタンを出さない */
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
