/* ============================================
   吉野式顎関節症公認治療士HP - スタイルシート
   カラーパレット: クリーム × ゴールド × ダークブラウン
   ============================================ */

:root {
  --cream: #F5F0E6;
  --cream-light: #FAF7F0;
  --gold: #C9A84C;
  --gold-dark: #A07830;
  --gold-light: #E8D5A3;
  --brown-dark: #2C1A0E;
  --brown: #5C3D2E;
  --brown-light: #8B6347;
  --white: #FFFFFF;
  --border-gold: #C9A84C;
  --text-dark: #2C1A0E;
  --text-mid: #5C3D2E;
  --shadow: rgba(44, 26, 14, 0.15);
  --font-serif-en: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-sans-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-serif-jp: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans-jp);
  background-color: var(--cream-light);
  color: var(--text-dark);
  line-height: 1.8;
}

/* ============================================
   共通パーツ
   ============================================ */

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title .en {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-family: var(--font-serif-jp);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brown-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.gold-divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.gold-divider-icon {
  color: var(--gold);
  font-size: 1rem;
}

.section-wrapper {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.btn-gold {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-serif-jp);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transition: left 0.3s ease;
}

.btn-gold:hover::before {
  left: 0;
}

.btn-gold span {
  position: relative;
  z-index: 1;
}

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: transparent;
  color: var(--gold-dark);
  text-decoration: none;
  font-family: var(--font-serif-jp);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border: 1.5px solid var(--gold);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ============================================
   ヘッダー
   ============================================ */

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-light);
  transition: all 0.3s ease;
}

#header.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.header-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo-text .en {
  font-family: var(--font-serif-en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.header-logo-text .ja {
  font-family: var(--font-serif-jp);
  font-size: 0.78rem;
  color: var(--brown-dark);
  font-weight: 600;
  line-height: 1.45;
}

.header-nav {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  flex-wrap: nowrap;
}

.header-nav a {
  text-decoration: none;
  font-size: 0.72rem;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--brown-dark);
  transition: all 0.3s ease;
}

/* ============================================
   ヒーローセクション
   ============================================ */

#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-light) 50%, #EDE8DC 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

#hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  top: 5%;
  right: 5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.1);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--gold-light);
  background: rgba(201, 168, 76, 0.08);
  margin-bottom: 1.5rem;
}

.hero-badge span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-family: var(--font-serif-en);
}

.hero-badge::before,
.hero-badge::after {
  content: '—';
  color: var(--gold);
  font-size: 0.6rem;
}

.hero-title {
  font-family: var(--font-serif-jp);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: var(--gold-dark);
  display: inline;
}

.hero-subtitle {
  font-family: var(--font-serif-en);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-description {
  font-size: 0.9rem;
  color: var(--brown);
  line-height: 2;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.06);
  border: 2px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-logo-circle::before {
  content: '';
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.3);
}

.hero-logo-circle img {
  width: 240px;
  height: 240px;
  object-fit: contain;
}

/* ============================================
   お知らせ
   ============================================ */

#news {
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--gold-light);
}

.news-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  gap: 2rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gold-light);
  transition: all 0.2s ease;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  padding-left: 0.5rem;
}

.news-date {
  font-family: var(--font-serif-en);
  font-size: 0.8rem;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  white-space: nowrap;
  min-width: 100px;
}

.news-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  white-space: nowrap;
}

.news-text {
  font-size: 0.85rem;
  color: var(--text-dark);
  flex: 1;
}

.news-text a {
  color: inherit;
  text-decoration: none;
}

.news-text a:hover {
  color: var(--gold-dark);
}

.news-item--has-body {
  cursor: pointer;
}

.news-item--has-body:hover {
  background: rgba(201, 168, 76, 0.06);
}

.news-read-more {
  color: var(--gold);
  font-size: 0.78rem;
  margin-left: 0.5rem;
  font-style: italic;
}

/* ── ニュースモーダル ── */
.news-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.news-modal.open {
  display: flex;
}

.news-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 26, 14, 0.55);
}

.news-modal-card {
  position: relative;
  background: var(--cream-light);
  border: 1px solid var(--gold-light);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 2.5rem;
  max-width: 660px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 1;
  animation: newsModalIn 0.22s ease;
}

@keyframes newsModalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.news-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid var(--gold-light);
  color: var(--brown-light);
  font-size: 1rem;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s;
}

.news-modal-close:hover {
  background: var(--gold-light);
  color: var(--brown-dark);
}

.news-modal-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.news-modal-date {
  font-family: var(--font-serif-en);
  font-size: 0.8rem;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
}

.news-modal-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
}

.news-modal-title {
  font-family: var(--font-serif-jp);
  font-size: 1.15rem;
  color: var(--brown-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gold-light);
}

.news-modal-body p {
  font-size: 0.9rem;
  color: var(--brown);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.news-modal-body p:last-child {
  margin-bottom: 0;
}

.news-modal-link {
  margin-top: 1.75rem;
}

.news-modal-link .btn-gold {
  display: inline-flex;
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
}

/* ============================================
   ご挨拶
   ============================================ */

#greeting {
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
}

.greeting-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.greeting-photo {
  text-align: center;
}

.greeting-photo-frame {
  display: inline-block;
  position: relative;
  padding: 8px;
  background: var(--white);
  box-shadow: 0 8px 32px var(--shadow);
}

.greeting-photo-frame::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  pointer-events: none;
  z-index: 1;
}

.greeting-photo-frame img {
  width: 220px;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.greeting-photo-placeholder {
  width: 220px;
  height: 280px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.greeting-photo-placeholder .icon {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.5;
}

.greeting-photo-placeholder .label {
  font-size: 0.7rem;
  color: var(--brown-light);
  letter-spacing: 0.1em;
}

.greeting-name {
  font-family: var(--font-serif-en);
  font-size: 0.9rem;
  color: var(--gold-dark);
  letter-spacing: 0.15em;
  margin-top: 1rem;
  text-align: center;
}

.greeting-name-ja {
  font-family: var(--font-serif-jp);
  font-size: 1.1rem;
  color: var(--brown-dark);
  font-weight: 600;
  text-align: center;
  margin-top: 0.2rem;
}

.greeting-content h3 {
  font-family: var(--font-serif-jp);
  font-size: 1.4rem;
  color: var(--brown-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold-light);
}

.greeting-content p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 2.2;
  margin-bottom: 1.2rem;
}

.greeting-signature {
  margin-top: 2rem;
  text-align: right;
}

.greeting-signature .sig-name-en {
  font-family: var(--font-serif-en);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--brown-dark);
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.greeting-signature .sig-name-ja {
  font-size: 0.85rem;
  color: var(--brown-light);
  margin-top: 0.3rem;
}

/* ============================================
   LP紹介
   ============================================ */

#lp {
  background: var(--brown-dark);
  position: relative;
  overflow: hidden;
}

#lp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.lp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.lp-inner .section-title .en {
  color: var(--gold-light);
}

.lp-inner .section-title h2 {
  color: var(--white);
}

.lp-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 2.5rem;
  text-align: center;
}

.lp-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 2;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.lp-url-display {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  margin-bottom: 2rem;
}

.lp-url-display span {
  font-family: var(--font-serif-en);
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

/* ============================================
   講座カリキュラム
   ============================================ */

#curriculum {
  background: var(--white);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.curriculum-card {
  background: var(--cream-light);
  border: 1px solid var(--gold-light);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.curriculum-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.curriculum-card:hover {
  box-shadow: 0 8px 24px var(--shadow);
  transform: translateY(-2px);
}

.curriculum-number {
  font-family: var(--font-serif-en);
  font-size: 2.5rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.curriculum-day {
  font-size: 0.75rem;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.curriculum-title {
  font-family: var(--font-serif-jp);
  font-size: 1rem;
  color: var(--brown-dark);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.curriculum-items {
  list-style: none;
}

.curriculum-items li {
  font-size: 0.8rem;
  color: var(--brown-light);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.curriculum-items li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* ── 2日間カリキュラム テーブルレイアウト ── */

.curriculum-day-block {
  margin-bottom: 2.5rem;
}

.curriculum-day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  padding: 0.9rem 1.8rem;
  border-left: 4px solid var(--gold);
  margin-bottom: 0;
}

.curriculum-day-header .day-number {
  font-family: var(--font-serif-en);
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.15em;
}

.curriculum-day-header .day-label {
  font-family: var(--font-serif-jp);
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
}

.curriculum-day-body {
  border: 1px solid var(--gold-light);
  border-top: none;
  background: var(--white);
}

.curriculum-session {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--gold-light);
}

.curriculum-session:last-child {
  border-bottom: none;
}

.session-time {
  padding: 1.2rem 1.5rem;
  background: var(--cream);
  font-family: var(--font-serif-jp);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-dark);
  border-right: 1px solid var(--gold-light);
  display: flex;
  align-items: center;
}

.session-content {
  padding: 0;
}

.session-content .curriculum-items {
  list-style: none;
}

.session-content .curriculum-items li {
  padding: 0.85rem 1.5rem;
  font-size: 0.87rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  padding-left: 2rem;
  position: relative;
}

.session-content .curriculum-items li:last-child {
  border-bottom: none;
}

.session-content .curriculum-items li::before {
  content: '›';
  position: absolute;
  left: 1rem;
  color: var(--gold);
  font-weight: bold;
  font-size: 1rem;
}

.curriculum-note {
  background: linear-gradient(135deg, var(--cream) 0%, #EDE8DC 100%);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.curriculum-note p {
  font-size: 0.85rem;
  color: var(--brown);
  line-height: 2;
}

/* ============================================
   ディプロマ紹介
   ============================================ */

#diploma {
  background: var(--cream);
}

.diploma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.diploma-card {
  text-align: center;
}

.diploma-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.diploma-image-wrap {
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 8px 32px var(--shadow);
  position: relative;
  display: inline-block;
  width: 100%;
}

.diploma-image-wrap::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  pointer-events: none;
  z-index: 1;
}

.diploma-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}

.diploma-description {
  margin-top: 1.5rem;
  text-align: left;
}

.diploma-description h3 {
  font-family: var(--font-serif-jp);
  font-size: 1rem;
  color: var(--brown-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.diploma-description p {
  font-size: 0.82rem;
  color: var(--brown-light);
  line-height: 1.9;
}

/* ============================================
   開講スケジュール
   ============================================ */

#schedule {
  background: var(--cream-light);
}

.schedule-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 4px 20px var(--shadow);
}

.schedule-table thead {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  color: var(--white);
}

.schedule-table thead th {
  padding: 1rem 1.5rem;
  font-family: var(--font-serif-jp);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: left;
  border-bottom: 2px solid var(--gold);
}

.schedule-table tbody tr {
  border-bottom: 1px solid var(--gold-light);
  transition: background 0.2s ease;
}

.schedule-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.05);
}

.schedule-table tbody td {
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dark);
  vertical-align: middle;
}

.schedule-status {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.schedule-status.open {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-dark);
  border: 1px solid var(--gold);
}

.schedule-status.soon {
  background: rgba(92, 61, 46, 0.1);
  color: var(--brown);
  border: 1px solid var(--brown-light);
}

.schedule-status.full {
  background: #f5f5f5;
  color: #999;
  border: 1px solid #ddd;
}

.schedule-note {
  font-size: 0.8rem;
  color: var(--brown-light);
  text-align: center;
  margin-top: 1.5rem;
}

/* ============================================
   公認治療士一覧
   ============================================ */

#clinics {
  background: var(--white);
}

.clinic-intro {
  text-align: center;
  color: var(--brown);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.clinic-search-wrap {
  max-width: 420px;
  margin: 0 auto 1.8rem;
}

.clinic-search-input {
  width: 100%;
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
  font-family: var(--font-sans-jp);
  border: 1px solid var(--gold-light);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.clinic-search-input:focus {
  border-color: var(--gold);
}

.clinic-search-input::placeholder {
  color: var(--brown-light);
  opacity: 0.7;
}

.clinic-card-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.clinic-period {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-dark);
  border: 1px solid var(--gold-light);
}

.clinic-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.4rem 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--gold-light);
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans-jp);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

/* ── カード全体 ── */
.clinic-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold-light);
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--cream-light);
}

.clinic-card:hover {
  box-shadow: 0 8px 30px var(--shadow);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* ── 写真エリア ── */
.clinic-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 100%);
  position: relative;
}

.clinic-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.clinic-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clinic-card-photo-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.6;
}

/* ── カード本体 ── */
.clinic-card-body {
  padding: 1.3rem 1.3rem 1.1rem;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* 右上の認定バッジ */
.clinic-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.55;
}

/* 認定番号 */
.clinic-cert-num {
  font-family: var(--font-serif-en);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* 種別タグ */
.clinic-type {
  display: inline-block;
  padding: 0.12rem 0.65rem;
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
  width: fit-content;
}

.clinic-type.clinic {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-dark);
  border: 1px solid var(--gold-light);
}

.clinic-type.dental {
  background: rgba(92, 61, 46, 0.08);
  color: var(--brown);
  border: 1px solid rgba(92, 61, 46, 0.2);
}

.clinic-type.acupuncture {
  background: rgba(44, 26, 14, 0.06);
  color: var(--brown-dark);
  border: 1px solid rgba(44, 26, 14, 0.15);
}

/* 治療士名 */
.clinic-therapist {
  font-family: var(--font-serif-jp);
  font-size: 1.1rem;
  color: var(--brown-dark);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}

/* 専門資格タグ群 */
.clinic-therapist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.therapist-tag {
  font-size: 0.65rem;
  padding: 0.1rem 0.55rem;
  background: var(--cream);
  color: var(--brown);
  border: 1px solid var(--gold-light);
  letter-spacing: 0.04em;
}

/* 区切り線 */
.clinic-separator {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0.4rem 0;
}

/* 医院名 */
.clinic-name {
  font-family: var(--font-serif-jp);
  font-size: 0.92rem;
  color: var(--brown-dark);
  font-weight: 600;
}

/* 住所 */
.clinic-address {
  font-size: 0.75rem;
  color: var(--brown-light);
  line-height: 1.7;
}

.clinic-address::before {
  content: '📍 ';
}

/* 電話番号 */
.clinic-phone {
  font-size: 0.78rem;
  color: var(--brown);
  letter-spacing: 0.04em;
}

.clinic-phone::before {
  content: '📞 ';
}

/* 資格取得日 */
.clinic-certified-at {
  font-size: 0.65rem;
  color: var(--brown-light);
  letter-spacing: 0.04em;
}

/* 資格分野バッジ */
.clinic-qual {
  display: inline-block;
  padding: 0.12rem 0.7rem;
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
  font-weight: 600;
  width: fit-content;
}

.clinic-qual.医師 {
  background: rgba(44, 90, 60, 0.08);
  color: #2c5a3c;
  border: 1px solid rgba(44, 90, 60, 0.25);
}

.clinic-qual.歯科医師 {
  background: rgba(44, 70, 120, 0.08);
  color: #2c4678;
  border: 1px solid rgba(44, 70, 120, 0.25);
}

.clinic-qual.鍼灸師 {
  background: rgba(100, 44, 100, 0.08);
  color: #642c64;
  border: 1px solid rgba(100, 44, 100, 0.25);
}

/* Googleマップ */
.clinic-map {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-top: 1px solid var(--gold-light);
}

.clinic-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* フッター行 */
.clinic-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gold-light);
}

/* 都道府県バッジ */
.clinic-prefecture-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.7rem;
  background: var(--gold-light);
  color: var(--brown-dark);
  border-radius: 20px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* 公式サイトボタン */
.clinic-website-btn {
  font-size: 0.7rem;
  color: var(--gold-dark);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gold-light);
  transition: all 0.2s ease;
  padding-bottom: 1px;
}

.clinic-website-btn:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Coming soon */
.clinic-coming-soon {
  text-align: center;
  grid-column: 1 / -1;
  padding: 3rem 2rem;
  color: var(--brown-light);
  font-size: 0.88rem;
  line-height: 1.8;
  border: 2px dashed var(--gold-light);
  background: var(--cream-light);
}

/* ============================================
   日本地図 検索
   ============================================ */

.map-search {
  background: var(--cream);
  border: 1px solid var(--gold-light);
  padding: 2rem 1.5rem 1.6rem;
  margin-bottom: 2rem;
}

.map-search-title {
  text-align: center;
  font-size: 0.82rem;
  color: var(--brown-light);
  letter-spacing: 0.06em;
  margin-bottom: 1.6rem;
}

/* ── グリッドレイアウト（JNA風・地理配置） ── */
.map-grid {
  display: grid;
  grid-template-areas:
    ".       chubu   hokkaido"
    "chugoku map     tohoku"
    "kyushu  map     kanto"
    ".       kinki   okinawa";
  grid-template-columns: 1fr 200px 1fr;
  grid-template-rows: auto 1fr 1fr auto;
  gap: 0.65rem;
  align-items: start;
}

.r-chubu    { grid-area: chubu; }
.r-hokkaido { grid-area: hokkaido; }
.r-chugoku  { grid-area: chugoku; }
.map-svg-area { grid-area: map; align-self: stretch; }
.r-tohoku   { grid-area: tohoku; }
.r-kyushu   { grid-area: kyushu; }
.r-kinki    { grid-area: kinki; }
.r-kanto    { grid-area: kanto; }
.r-okinawa  { grid-area: okinawa; }

/* ── 地図 SVG エリア ── */
.map-svg-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
}

.japan-svg-map {
  width: 100%;
  height: 100%;
  max-height: 340px;
  display: block;
}

/* 島のシルエット */
.island-fill {
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-linejoin: round;
  fill: var(--cream-light);
}

.island-hokkaido { fill: rgba(201, 168, 76, 0.18); }
.island-honshu   { fill: rgba(201, 168, 76, 0.14); }
.island-shikoku  { fill: rgba(201, 168, 76, 0.16); }
.island-kyushu   { fill: rgba(201, 168, 76, 0.16); }
.island-okinawa  { fill: rgba(201, 168, 76, 0.22); stroke-width: 1; }

/* ── 地域ボックス共通 ── */
.map-region-box {
  border: 1px solid var(--gold-light);
  border-style: dashed;
  padding: 0.65rem 0.75rem;
  background: var(--white);
  transition: border-color 0.2s;
}

.map-region-box:has(.pref-btn.active) {
  border-color: var(--gold);
  border-style: solid;
}

.region-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold-light);
  text-align: center;
}

.pref-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
  justify-content: center;
}

/* ── 都道府県ボタン ── */
.pref-btn {
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--gold-light);
  background: var(--cream-light);
  color: var(--brown);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-sans-jp);
  line-height: 1.6;
  min-width: 2.8rem;
  text-align: center;
}

.pref-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--brown-dark);
}

.pref-btn.active {
  background: var(--gold);
  border-color: var(--gold-dark);
  color: var(--white);
  font-weight: 600;
}

/* リセット行 */
.map-reset-row {
  margin-top: 1.3rem;
  text-align: center;
}

.map-reset-btn {
  font-size: 0.72rem;
  padding: 0.3rem 1.6rem;
  border: 1px solid var(--gold-light);
  background: transparent;
  color: var(--brown-light);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans-jp);
  letter-spacing: 0.08em;
}

.map-reset-btn:hover {
  border-color: var(--gold);
  color: var(--brown-dark);
  background: var(--cream);
}

/* ── レスポンシブ（タブレット） ── */
@media (max-width: 900px) {
  .map-grid {
    grid-template-areas:
      "map     map"
      "chubu   hokkaido"
      "chugoku tohoku"
      "kyushu  kanto"
      "kinki   okinawa";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .map-svg-area {
    grid-column: 1 / -1;
    max-height: 200px;
  }

  .japan-svg-map {
    max-height: 200px;
  }
}

/* ── レスポンシブ（スマホ） ── */
@media (max-width: 600px) {
  .map-grid {
    grid-template-areas:
      "map"
      "hokkaido"
      "tohoku"
      "kanto"
      "chubu"
      "kinki"
      "chugoku"
      "kyushu"
      "okinawa";
    grid-template-columns: 1fr;
  }

  .map-svg-area {
    max-height: 180px;
  }

  .pref-row {
    justify-content: flex-start;
  }
}

/* ============================================
   フッター
   ============================================ */

#footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-brand .footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-serif-jp);
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
}

.footer-brand-en {
  font-family: var(--font-serif-en);
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.78rem;
  line-height: 2;
}

.footer-nav h4 {
  font-family: var(--font-serif-jp);
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 0.5rem;
}

.footer-nav ul li a {
  text-decoration: none;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
  color: var(--gold-light);
}

.footer-nav ul li a::before {
  content: '› ';
  color: var(--gold);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-family: var(--font-serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-gold-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.5;
}

/* ============================================
   モバイルナビ
   ============================================ */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 247, 240, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  font-family: var(--font-serif-jp);
  font-size: 1.2rem;
  color: var(--brown-dark);
  letter-spacing: 0.1em;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gold-light);
  width: 200px;
  text-align: center;
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brown-dark);
  background: none;
  border: none;
}

/* ============================================
   スクロールアニメーション
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   レスポンシブ
   ============================================ */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-description {
    text-align: left;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-logo-circle {
    width: 220px;
    height: 220px;
  }

  .hero-logo-circle img {
    width: 160px;
    height: 160px;
  }

  .greeting-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .greeting-content h3,
  .greeting-content p,
  #greeting-body {
    text-align: left;
  }

  .greeting-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .greeting-signature {
    text-align: center;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .diploma-grid {
    grid-template-columns: 1fr;
  }

  .clinic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-nav {
    display: none;
  }

  .header-cta .btn-gold {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .section-wrapper {
    padding: 3.5rem 1rem;
  }

  .section-title h2 {
    font-size: 1.4rem;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .clinic-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ページヘッダー（プライバシー・特商法等）
   ============================================ */

.page-header {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.page-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-header-en {
  font-family: var(--font-serif-en);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-header-title {
  font-family: var(--font-serif-jp);
  font-size: 2rem;
  color: var(--white);
  font-weight: 600;
}

/* ============================================
   セクション（汎用）
   ============================================ */

.section-default {
  padding: 5rem 2rem;
  background: var(--cream-light);
}

/* ============================================
   法的ページ（プライバシー・特商法）本文
   ============================================ */

.legal-content {
  font-family: var(--font-sans-jp);
  color: var(--text-dark);
  line-height: 1.9;
  font-size: 0.95rem;
}

.legal-content h2 {
  font-family: var(--font-serif-jp);
  font-size: 1.15rem;
  color: var(--brown-dark);
  border-left: 4px solid var(--gold);
  padding-left: 0.75rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-family: var(--font-sans-jp);
  font-size: 1rem;
  color: var(--brown);
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.legal-date {
  margin-top: 3rem;
  color: var(--text-mid);
  font-size: 0.9rem;
}

.legal-company {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--brown-dark);
}

/* 特商法テーブル */
.tokusho-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans-jp);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.tokusho-table th,
.tokusho-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gold-light);
  vertical-align: top;
  line-height: 1.8;
}

.tokusho-table th {
  background: var(--cream);
  font-weight: 600;
  color: var(--brown-dark);
  width: 35%;
  white-space: nowrap;
}

.tokusho-table td ul {
  padding-left: 1.2rem;
  margin: 0;
}

.tokusho-table td li {
  margin-bottom: 0.3rem;
}

.tokusho-table a {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* フッターリーガルリンク */
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .page-header {
    padding: 5rem 1.5rem 3rem;
  }

  .page-header-title {
    font-size: 1.5rem;
  }

  .tokusho-table th {
    width: 40%;
    white-space: normal;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}
