/* ==============================================
   drum-school.css
   OFFBEAT Drum School Page Styles
   ============================================== */

/* ----------------------------------------------
   Inner Page Base
   ---------------------------------------------- */
.ob-inner-page {
  --bg: #f7f7f5;
  --paper: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: rgba(0, 0, 0, .08);
  --accent: #EFA25C;
  --accent-light: rgba(239, 162, 92, .12);
  --accent-border: rgba(239, 162, 92, .6);
  background: var(--bg);
  color: var(--text);
}

/* ----------------------------------------------
   Inner Hero
   ---------------------------------------------- */
.ob-inner-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 24px clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
  background-size: cover;
  background-position: center;
}

/* 背景画像オーバーレイ（数値を上げると薄くなる: 0.88〜0.95） */
.ob-inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(247, 247, 245, 0.75);
  z-index: 1;
}

.ob-inner-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.ob-inner-hero__label {
  font-family: 'Space Grotesk', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 20px;
}

.ob-inner-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 14vw, 180px);
  line-height: .92;
  letter-spacing: .03em;
  margin: 0 0 clamp(24px, 4vw, 40px);
  font-weight: 400;
  color: var(--text);
}

.ob-inner-hero__title--accent {
  color: var(--accent);
}

.ob-inner-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

.ob-inner-hero__bg-text {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(140px, 22vw, 320px);
  line-height: 1;
  color: rgba(0, 0, 0, .04);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

/* ----------------------------------------------
   Section utility
   ---------------------------------------------- */
.ob-section--gray {
  background: rgba(0, 0, 0, .02);
}

/* ----------------------------------------------
   Features Grid
   ---------------------------------------------- */
.ob-features {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line);
}

.ob-feature {
  display: flex;
  gap: 20px;
  padding: clamp(28px, 4vw, 40px);
  background: var(--paper);
  transition: background .2s ease;
}

.ob-feature:hover {
  background: rgba(239, 162, 92, .04);
}

.ob-feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ob-feature__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: .04em;
}

.ob-feature__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* ----------------------------------------------
   Pricing
   ---------------------------------------------- */
.ob-pricing {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* メイン料金テーブル */
.ob-price-table {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.ob-price-table__header {
  display: grid;
  grid-template-columns: 2fr 1.2fr 2fr;
  background: var(--text);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ob-price-table__header span {
  padding: 14px 28px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.ob-price-table__header span:last-child {
  border-right: none;
}

.ob-price-table__row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 2fr;
}

.ob-price-table__cell {
  padding: 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.ob-price-table__cell:last-child {
  border-right: none;
}

.ob-price-table__amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: .04em;
  color: var(--accent);
  line-height: 1;
}

.ob-price-table__per {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.ob-price-table__val {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
}

.ob-price-table__sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* 注記カード */
.ob-price-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ob-price-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 24px 28px;
  border-left: 4px solid var(--line);
}

.ob-price-note--accent {
  border-left-color: var(--accent);
  background: linear-gradient(135deg, #fff 60%, rgba(239, 162, 92, .04) 100%);
}

.ob-price-note__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 10px;
}

.ob-price-note--accent .ob-price-note__label {
  color: var(--accent);
}

.ob-price-note__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

.ob-price-note__text strong {
  color: var(--text);
  font-weight: 700;
}

/* ----------------------------------------------
   FAQ Accordion
   ---------------------------------------------- */
.ob-faqs {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.ob-faq {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background .2s ease;
}

.ob-faq:last-child {
  border-bottom: none;
}

.ob-faq[open] {
  background: rgba(239, 162, 92, .04);
}

.ob-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  letter-spacing: .02em;
  transition: color .2s ease;
}

.ob-faq__q::-webkit-details-marker {
  display: none;
}

.ob-faq__q::after {
  content: "+";
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .3s ease;
}

.ob-faq[open] .ob-faq__q::after {
  transform: rotate(45deg);
}

.ob-faq__q:hover {
  color: var(--accent);
}

.ob-faq__a {
  padding: 0 28px 22px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

/* ----------------------------------------------
   CTA (Dark)
   ---------------------------------------------- */
.ob-cta {
  background: var(--text);
  padding: clamp(60px, 10vw, 100px) 24px;
  text-align: center;
}

.ob-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}

.ob-cta__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 20px;
}

.ob-cta__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 80px);
  letter-spacing: .04em;
  color: #fff;
  margin: 0 0 20px;
  font-weight: 400;
}

.ob-cta__text {
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.8;
  margin: 0 0 40px;
}

.ob-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.ob-cta .ob-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.ob-cta .ob-btn:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
}

.ob-cta .ob-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ob-cta .ob-btn--accent:hover {
  background: #d4863e;
  border-color: #d4863e;
}

.ob-cta .ob-btn--line {
  background: rgba(239, 162, 92, .15);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* btn accent (global for this page) */
.ob-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ob-btn--accent:hover {
  background: #d4863e;
  border-color: #d4863e;
  color: #fff;
}

/* ----------------------------------------------
   Responsive
   ---------------------------------------------- */
@media (max-width: 899px) {
  .ob-features {
    grid-template-columns: 1fr;
  }

  .ob-price-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ob-inner-hero__bg-text {
    right: -20px;
    opacity: .5;
  }

  .ob-price-table__header {
    display: none;
  }

  .ob-price-table__row {
    grid-template-columns: 1fr;
  }

  .ob-price-table__cell {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .ob-price-table__cell:last-child {
    border-bottom: none;
  }

  .ob-price-table__cell::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--muted);
    text-transform: uppercase;
    min-width: 48px;
    flex-shrink: 0;
  }

  .ob-faq__q {
    padding: 18px 20px;
  }

  .ob-faq__a {
    padding: 0 20px 18px;
  }
}
