/*
  style-course.css
  講座（コース）ページ専用スタイル
  Okoh Risnn — 白基調・シック
*/

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

:root {
  --gold:       #c8a86a;
  --gold-light: #d4b483;
  --text-main:  #1a2c42;
  --text-sub:   rgba(26,44,66,0.70);
  --text-light: rgba(26,44,66,0.42);
  --bg:         #f2f8ff;
  --bg-card:    #F7FAFF;
  --border:     rgba(0,72,152,0.18);
  --ruri-light:  #4d8fcc;
    
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(to bottom, rgba(0,72,152,0.1) 0px, var(--bg) 80px);
  color: var(--text-main);
  font-family: 'Noto Serif JP', serif;
  overflow-x: hidden;
  cursor: auto;
  -webkit-font-smoothing: antialiased;
}

/* ── Custom cursor ── */
.cursor {
  width: 6px; height: 6px;
  background: var(--ruri-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: multiply;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(0,72,152,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: transform 0.4s ease;
}

/* ── ナビゲーション ── */
.incense-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  height: 64px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  transition: background 0.5s ease;
}
.admin-bar .incense-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .incense-header { top: 46px; }
}

.header-logo {
  font-family: 'Pinyon Script', cursive;
  font-size: 22px;
  color: var(--ruri-light);
  opacity: 0.75;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.header-logo:hover { opacity: 1; }

.incense-nav { display: flex; align-items: center; }

.incense-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0; padding: 0;
}
.incense-nav-list li a {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.45em;
  color: rgba(42, 37, 32, 0.62);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
  white-space: nowrap;
}
.incense-nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--ruri-light);
  transition: width 0.35s ease;
}
.incense-nav-list li a:hover { color: var(--ruri-light); }
.incense-nav-list li a:hover::after { width: 100%; }

.incense-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px; height: 28px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.incense-nav-toggle span {
  display: block;
  width: 100%; height: 1px;
  background: rgba(42, 37, 32, 0.55);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.incense-nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.incense-nav-toggle.open span:nth-child(2) { opacity: 0; }
.incense-nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {
  .incense-nav-toggle { display: flex; }
  .incense-nav {
    position: fixed;
    top: 64px; left: 0; width: 100%;
    background: var(--bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding: 32px 6% 40px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.45s ease;
    pointer-events: none;
  }
  .incense-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .incense-nav-list { flex-direction: column; align-items: flex-start; gap: 28px; }
  .incense-nav-list li a { font-size: 13px; letter-spacing: 0.5em; color: rgba(42,37,32,0.75); }
}

/* ── ページヒーロー ── */
.cs-hero {
  padding: 148px 8% 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.cs-hero::before {
  content: '';
  display: block;
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--ruri-light));
  margin: 0 auto 40px;
}
.cs-hero-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.55em;
  color: var(--ruri-light);
  opacity: 0.7;
  display: block;
  margin-bottom: 18px;
}
.cs-hero-ja {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: 0.45em;
  color: var(--text-main);
}
.cs-hero-lead {
  max-width: 560px;
  margin: 32px auto 0;
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 2.4;
  color: var(--text-sub);
  letter-spacing: 0.1em;
}

/* ── 共通 セクション構造 ── */
.cs-section {
  padding: 96px 8%;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.cs-section.visible { opacity: 1; transform: translateY(0); }

.cs-section-header {
  text-align: center;
  margin-bottom: 64px;
}
.cs-section-header-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(11px, 1vw, 12px);
  letter-spacing: 0.55em;
  color: var(--ruri-light);
  opacity: 0.65;
  display: block;
  margin-bottom: 14px;
}
.cs-section-header h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: 0.4em;
  color: var(--text-main);
}

/* ── コース一覧グリッド ── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.cs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 52px 36px 48px;
  position: relative;
  transition: background 0.4s ease;
  display: flex;
  flex-direction: column;
}
.cs-card:hover { background: #f2f8ff; }

/* おすすめバッジ */
.cs-card-badge {
  position: absolute;
  top: -1px; right: 28px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--bg);
  background: var(--ruri-light);
  padding: 6px 14px 5px;
}

.cs-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.6em;
  color: var(--ruri-light);
  opacity: 0.6;
  margin-bottom: 20px;
  display: block;
}
.cs-card-title-ja {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: 0.3em;
  color: var(--text-main);
  margin-bottom: 8px;
  display: block;
}
.cs-card-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.2em;
  color: var(--ruri-light);
  opacity: 0.6;
  display: block;
  margin-bottom: 28px;
}

.cs-card-divider {
  width: 32px; height: 1px;
  background: var(--ruri-light);
  opacity: 0.35;
  margin-bottom: 28px;
}

.cs-card-desc {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 2.4;
  color: var(--text-sub);
  letter-spacing: 0.07em;
  flex: 1;
  margin-bottom: 36px;
}

/* スペック表 */
.cs-card-specs {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.cs-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.cs-spec-row:last-child { border-bottom: none; }
.cs-spec-label {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--text-light);
}
.cs-spec-value {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(12px, 1.2vw, 13px);
  letter-spacing: 0.1em;
  color: var(--text-main);
}
.cs-spec-value em {
  font-style: normal;
  font-size: 10px;
  color: var(--text-light);
  margin-left: 4px;
}

/* ── 含まれるもの（インクルード） ── */
.cs-includes {
  max-width: 760px;
  margin: 0 auto;
}
.cs-include-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cs-include-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.cs-include-item:nth-child(odd) { padding-right: 48px; }
.cs-include-item:nth-child(even) { padding-left: 48px; border-left: 1px solid var(--border); }

.cs-include-icon {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 22px;
  color: var(--ruri-light);
  opacity: 0.65;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.cs-include-text {}
.cs-include-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--text-main);
  display: block;
  margin-bottom: 6px;
}
.cs-include-desc {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 11px;
  line-height: 2.1;
  color: var(--text-light);
  letter-spacing: 0.07em;
}

/* ── 受講の流れ ── */
.cs-flow {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.cs-flow::before {
  content: '';
  position: absolute;
  left: 18px; top: 24px;
  width: 1px;
  height: calc(100% - 48px);
  background: linear-gradient(to bottom, var(--ruri-light), transparent);
  opacity: 0.25;
}
.cs-flow-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.cs-flow-step:last-child { margin-bottom: 0; }

.cs-flow-num {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--ruri-light);
  background: var(--bg);
  z-index: 1;
}
.cs-flow-content {}
.cs-flow-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.25em;
  color: var(--text-main);
  display: block;
  margin-bottom: 8px;
  padding-top: 6px;
}
.cs-flow-desc {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 2.3;
  color: var(--text-sub);
  letter-spacing: 0.07em;
}

/* ── 注意事項 ── */
.cs-notes {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 44px 52px;
}
.cs-notes-list {
  list-style: none;
}
.cs-notes-list li {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(11px, 1.2vw, 13px);
  line-height: 2.4;
  color: var(--text-sub);
  letter-spacing: 0.07em;
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 4px;
}
.cs-notes-list li::before {
  content: '※';
  position: absolute;
  left: 0;
  color: var(--ruri-light);
  opacity: 0.6;
  font-size: 11px;
}

/* ── CTAボタン ── */
.cs-cta {
  text-align: center;
  padding: 80px 8%;
}
.cs-cta-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 2.4;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.cs-btn {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--ruri-light);
  border: 1px solid var(--border);
  padding: 18px 56px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}
.cs-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ruri-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 0;
}
.cs-btn:hover { color: var(--bg); }
.cs-btn:hover::before { transform: scaleX(1); }
.cs-btn span { position: relative; z-index: 1; }

/* ── フッター ── */
.cs-footer {
  text-align: center;
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}
.cs-footer .brand {
  font-family: 'Pinyon Script', cursive;
  font-size: 24px;
  color: var(--ruri-light);
  opacity: 0.45;
}
.cs-footer .copy {
  font-family: 'Noto Serif JP', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-top: 12px;
  display: block;
}

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; gap: 0; }
  .cs-include-list { grid-template-columns: 1fr; }
  .cs-include-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
}
@media (max-width: 640px) {
  .cs-notes { padding: 32px 24px; }
  .cs-flow::before { display: none; }
}