@charset "utf-8";
/* ============================================================
   HAPPY SMILE 倶楽部 — style.css
   Design tokens
   ------------------------------------------------------------
   ink    #1C1712  ダンス/ヨガの手描きロゴを支える基調インク
   yellow #F5B92E  元ロゴの値札イエロー（ブランドコア）
   coral  #FF5D45  ダンスのエネルギー
   plum   #5B3358  ヨガの落ち着き
   cream  #FBF3E1  紙のような明るい面
   ============================================================ */

:root {
  --ink: #1c1712;
  --ink-soft: #3a322b;
  --yellow: #efd32a;
  --yellow-deep: #d4b910;
  --coral: #ff5d45;
  --plum: #5b3358;
  --plum-deep: #3f2340;
  --cream: #fbf3e1;
  --cream-2: #f4e9d2;
  --white: #ffffff;
  --line: rgba(28, 23, 18, 0.12);

  --font-main: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "YuGothic",
    "Yu Gothic", "Noto Sans JP", "Meiryo", sans-serif;

  --radius: 14px;
  --shadow-card: 0 6px 24px rgba(28, 23, 18, 0.08);
  --shadow-pop: 0 10px 30px rgba(28, 23, 18, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tag / label motif (signature element) ----------
   Recreates the die-cut price-tag shape from the original
   HAPPY SMILE logo: a pointed left edge + a small "hole".
--------------------------------------------------------------- */
.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px 9px 30px;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%);
  font-weight: 700;
}
.tag::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  transform: translateY(-50%);
  z-index: 2;
}
.tag-yellow { background: var(--yellow); color: var(--ink); }
.tag-ink    { background: var(--ink); color: var(--yellow); }
.tag-coral  { background: var(--coral); color: var(--white); }
.tag-plum   { background: var(--plum); color: var(--white); }
.tag-white  { background: var(--white); color: var(--ink); }

.tag-sm { padding: 5px 16px 5px 22px; font-size: 0.8rem; }
.tag-sm::before { width: 5px; height: 5px; left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px 15px 34px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-card);
}
.btn::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  z-index: 2;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.btn-ink { background: var(--ink); color: var(--yellow); }
.btn-outline {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: none;
}
.btn-outline::before { background: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- Header ---------- */
#siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
}
.headerBar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.68rem;
  line-height: 1.1;
  text-align: center;
  flex: none;
}
.brand-text .en {
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-text .ja {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

#gNav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
#gNav a {
  display: inline-block;
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
#gNav a:hover,
#gNav a.is-current { background: var(--ink); color: var(--yellow); }
#gNav .nav-cta {
  background: var(--coral);
  color: var(--white);
  margin-left: 6px;
}
#gNav .nav-cta:hover { background: var(--ink); color: var(--yellow); }

.navToggle {
  display: none;
  width: 58px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex: none;
  position: relative;
}
.navToggle span {
  position: absolute;
  left: 17px;
  right: 17px;
  top: 13px;
  height: 2px;
  background: var(--ink);
}
.navToggle span::before,
.navToggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}
.navToggle span::before { top: -6px; }
.navToggle span::after { top: 6px; }
/* ハンバーガーの下に MENU の文字 */
.navToggle::after {
  content: "MENU";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  color: var(--ink);
}

/* ---------- Hero ---------- */
/* ===== HERO（お試し版：top.png を背景に敷いて文言を重ねる） =====
   元に戻す場合は、この「お試し版」ブロックを削除して、下のコメントアウト部分を復活させる */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  min-height: 780px;   /* 写真の表示サイズ ≒ この高さ（大きくすると写真も大きくなる） */
  display: flex;
  align-items: center;
}
/* 背景写真。opacity で「文字が読める暗さ」を調整（0.3〜0.5 あたりが目安） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* contain = 上下左右を切らずに全体表示。右寄せにして左は文言スペース */
  background: url(../img/top.png) right center / contain no-repeat;
  opacity: 0.55;
  z-index: 0;
}
/* 左側だけ少し暗くして、見出し・本文の可読性を確保 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,23,18,0.9) 0%, rgba(28,23,18,0.6) 40%, rgba(28,23,18,0.05) 70%, rgba(28,23,18,0) 100%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 72px;
  display: block;          /* 2カラムをやめて1カラムに */
}
.hero-inner > div:first-child { max-width: 620px; }
.hero h1, .hero .lead { text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero-photo { display: none; }  /* 右カラムの写真は非表示（HTMLはそのまま） */

/* ---- 元のレイアウト（2カラム・右に写真）。戻すときはこちらを有効化 ----
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
------------------------------------------------------------------- */
.hero-eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.hero h1 .hl { color: var(--yellow); }
.hero p.lead {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  max-width: 46ch;
}
.hero-ctas { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  /* 枠線・影を外し、黒背景に溶け込ませる（画像自体の黒い余白が目立たないように） */
  border: 0;
  box-shadow: none;
  background: transparent;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
/* 画像の縦横比に合わせて高さを自動調整（固定比率なし） */
.hero-photo img { display: block; width: 100%; height: auto; }

.strip {
  background: var(--yellow);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 40px;
  padding: 10px 0;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  animation: scroll-strip 26s linear infinite;
}
.strip-track span { opacity: 0.85; }
@keyframes scroll-strip {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  margin-top: 14px;
  line-height: 1.4;
}
.section-head p { margin-top: 14px; color: var(--ink-soft); }

.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink .section-head p { color: rgba(255,255,255,0.72); }
.bg-plum { background: var(--plum); color: var(--white); }
.bg-plum .section-head p { color: rgba(255,255,255,0.75); }
.bg-white { background: var(--white); }

/* ---------- News list ---------- */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.news-item:first-child { padding-top: 0; }
.news-date { font-weight: 800; color: var(--ink-soft); padding-top: 4px; }
.news-body h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.6; }
.news-body p { margin-top: 6px; color: var(--ink-soft); font-size: 0.94rem; }
.news-body .news-img { margin-top: 12px; border-radius: 10px; overflow: hidden; max-width: 460px; }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.1rem; font-weight: 800; }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: 0.94rem; }
.card .tag { margin-bottom: 14px; }

/* Instructor cards */
.staff-card { text-align: left; }
.staff-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}
.staff-card h3 { font-size: 1.05rem; }
.staff-card .role { color: var(--coral); font-weight: 700; font-size: 0.84rem; margin-top: 2px; }
.staff-card p.bio {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-height: 6.6em;
  overflow: hidden;
}
.staff-card.open p.bio { max-height: none; }
.staff-more {
  margin-top: 10px;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--plum);
  cursor: pointer;
  border-bottom: 1px solid var(--plum);
}

/* ---------- Schedule table ---------- */
.day-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.day-tabs button {
  font-family: inherit;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  font-size: 0.9rem;
}
.day-tabs button.is-active { background: var(--ink); color: var(--yellow); }

.day-panel { display: none; }
.day-panel.is-active { display: block; }

.class-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.class-table th, .class-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.class-table th {
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.class-table tr:last-child td { border-bottom: none; }
.class-table tr:hover td { background: var(--cream); }
.class-table td.time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.class-table td.fee { white-space: nowrap; font-weight: 800; }
.badge-ticket {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  margin-left: 6px;
}

.fee-note {
  margin-top: 22px;
  padding: 20px 24px;
  background: var(--cream-2);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.fee-note strong { color: var(--ink); }

/* Category descriptions */
.category-block { display: grid; grid-template-columns: 200px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid var(--line); }
.category-block:first-of-type { border-top: none; }
.category-block h3 { font-size: 1.1rem; font-weight: 900; }
.category-block .tag { margin-bottom: 10px; }
.category-block p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Info blocks (rental / access etc) ---------- */
.info-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.info-card h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.spec-table th { width: 38%; color: var(--ink-soft); font-weight: 700; }

.price-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.price-row:last-child { border-bottom: none; }
.price-row .amount { font-weight: 800; }

/* ---------- Form ---------- */
.form-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-card); border: 1px solid var(--line); max-width: 680px; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.92rem; }
.form-row .req { color: var(--coral); font-size: 0.76rem; margin-left: 6px; }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  font-family: inherit;
  padding: 13px 15px;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: var(--cream);
  font-size: 0.96rem;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--plum);
  background: var(--white);
}
.form-actions { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.form-actions input[type="submit"] { font-family: inherit; }
.form-actions input[type="reset"] {
  font-family: inherit;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Contact strip (footer CTA) ---------- */
.contact-band {
  background: var(--plum);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.contact-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; }
.contact-band p { margin-top: 12px; color: rgba(255,255,255,0.78); }
.contact-band .hero-ctas { justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */
#siteFooter { background: var(--ink); color: rgba(255,255,255,0.7); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .en { color: var(--yellow); font-weight: 900; font-size: 1.2rem; }
.footer-brand p { margin-top: 12px; font-size: 0.86rem; line-height: 1.9; }
.footer-col h4 { color: var(--white); font-size: 0.86rem; font-weight: 800; margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-col li { margin-bottom: 9px; font-size: 0.86rem; }
.footer-col a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800;
}
.footer-social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page header (sub pages) ---------- */
.page-head {
  background: var(--ink);
  color: var(--white);
  padding: 52px 0 44px;
}
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 900; margin-top: 14px; }
.page-head p { margin-top: 12px; color: rgba(255,255,255,0.7); max-width: 60ch; }
.crumb { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.crumb a:hover { color: var(--yellow); }

.gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.gallery-2 img { border-radius: var(--radius); }

.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

.rule-list { margin-top: 16px; }
.rule-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); }
.rule-list li b { color: var(--ink); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.small { font-size: 0.84rem; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { min-height: 620px; }
  .hero::before { background-position: center bottom; }
  .hero-inner { padding: 48px 20px 40px; }
  .hero::after { background: rgba(28,23,18,0.62); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-block { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  #gNav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--yellow);
    border-bottom: 3px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    display: none;
    gap: 6px;
  }
  #gNav.is-open { display: flex; }
  #gNav a { padding: 12px 14px; }
  #gNav .nav-cta { margin-left: 0; text-align: center; }
  .navToggle { display: block; }
}

@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-2 { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  /* ヘッダーのスタジオ名を1行に収める */
  .headerBar { padding: 12px 16px; gap: 12px; }
  .brand { gap: 10px; }
  .brand-text .en { font-size: 1rem; letter-spacing: 0; }
  .brand-text .ja { font-size: 0.66rem; letter-spacing: 0; }
}
@media (max-width: 360px) {
  .brand-text .en { font-size: 0.92rem; }
  .brand-text .ja { display: none; }
}
