/* ============================================================
   JHE 血糖値セミナー LP - Style
   モードボード v1（2026-05-06）に準拠
   ============================================================ */

/* ---------- カラー / 設計トークン ---------- */
:root {
  --color-bg: #F7F1E3;          /* 米色／生成り */
  --color-bg-sub: #FBF7EE;      /* 淡いオフホワイト */
  --color-text: #3A2E22;        /* 墨色（黒寄り茶） */
  --color-text-mute: #6B5C4D;
  --color-accent: #D9883E;      /* 琥珀／柿（CTA） */
  --color-accent-dark: #B86E2A;
  --color-leaf: #9DBA7E;        /* 若葉色 */
  --color-emphasis: #C76845;    /* 朱赤（希少性） */
  --color-line: #E5DBC6;

  --font-mincho: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  --font-gothic: "Noto Sans JP", "Yu Gothic", "游ゴシック", "Hiragino Kaku Gothic ProN", sans-serif;

  --max-content: 720px;
  --max-wide: 1100px;
  --radius: 8px;
  --radius-lg: 12px;

  --shadow-soft: 0 6px 20px rgba(58, 46, 34, 0.08);
  --shadow-cta: 0 6px 18px rgba(217, 136, 62, 0.35);
}

/* ---------- ベース ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-gothic);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

/* スマホ優先で17pxへ */
@media (min-width: 768px) {
  body { font-size: 17px; }
}

.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 20px;
}
.container--wide { max-width: var(--max-wide); }

/* ---------- タイポグラフィ ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-mincho);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 1.2em;
  text-align: center;
}
h3 { font-size: 1.2rem; margin-bottom: 0.8em; }

.section-num {
  display: inline-block;
  font-family: var(--font-gothic);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 0.4em;
  letter-spacing: 0.2em;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.95;
  margin-bottom: 1.2em;
}

strong, .em {
  color: var(--color-emphasis);
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(217, 136, 62, 0.2) 60%);
  padding: 0 0.1em;
}

/* ---------- セクション共通 ---------- */
section {
  padding: 70px 0;
}
section:nth-of-type(even) {
  background: var(--color-bg-sub);
}

@media (min-width: 768px) {
  section { padding: 100px 0; }
}

.divider {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  opacity: 0.7;
}

/* ---------- ファーストビュー（FV） ---------- */
.fv {
  position: relative;
  padding: 0;
  background: var(--color-bg);
}
.fv__layout {
  display: block; /* モバイルは縦積み */
}
.fv__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.fv__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.fv__panel {
  background: var(--color-bg);
  padding: 50px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fv__inner {
  width: 100%;
  max-width: 540px;
  text-align: center;
}
.fv__shoulder {
  font-family: var(--font-mincho);
  font-size: 0.95rem;
  color: var(--color-accent);
  letter-spacing: 0.3em;
  margin-bottom: 1.4em;
  font-weight: 500;
}
.fv__title {
  font-family: var(--font-mincho);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1em;
}
.fv__sub {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.8em;
  color: var(--color-text);
}

/* PC: 左写真60% / 右パネル40% */
@media (min-width: 900px) {
  .fv__layout {
    display: grid;
    grid-template-columns: 6fr 4fr;
    align-items: stretch;
    min-height: 580px;
  }
  .fv__media {
    aspect-ratio: auto;
    height: auto;
    min-height: 100%;
  }
  .fv__media img {
    min-height: 100%;
  }
  .fv__panel {
    padding: 60px 50px;
  }
  .fv__inner {
    text-align: left;
  }
  .fv__shoulder {
    font-size: 1rem;
  }
  .fv__title {
    font-size: clamp(2rem, 3vw, 2.6rem);
  }
}

@media (min-width: 1200px) {
  .fv__layout {
    min-height: 640px;
  }
  .fv__panel {
    padding: 80px 70px;
  }
  .fv__title {
    font-size: 2.8rem;
  }
}

/* 導入文セクション（FV直下） */
.intro {
  background: var(--color-bg-sub);
  padding: 50px 0;
}
.intro__body {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.95;
}
.intro__body p {
  margin-bottom: 1.2em;
}
.intro__body p:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .intro {
    padding: 70px 0;
  }
  .intro__body {
    font-size: 1.05rem;
  }
}

/* ---------- CTA ---------- */
.cta-block {
  text-align: center;
  margin: 30px auto;
  padding: 24px 0;
}
.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 18px 40px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.cta::after {
  content: "▶";
  margin-left: 0.6em;
  font-size: 0.85em;
}
.cta:hover, .cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 136, 62, 0.45);
}
.cta--note {
  display: block;
  margin-top: 0.8em;
  font-size: 0.88rem;
  color: var(--color-text-mute);
}

/* ---------- リスト（こんな方／わかること） ---------- */
.check-list {
  margin: 1.5em auto;
  padding: 30px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.check-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px solid var(--color-line);
  font-size: 1rem;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "●";
  position: absolute;
  left: 8px;
  top: 12px;
  color: var(--color-accent);
  font-size: 0.7em;
}

/* ---------- 人物紹介カード ---------- */
.person {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}
.person__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  background: var(--color-bg);
}
.person__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.person__role {
  display: block;
  font-family: var(--font-gothic);
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.4em;
  text-align: center;
}
.person__name {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1em;
}
.person__title {
  font-size: 0.95rem;
  color: var(--color-text-mute);
  text-align: center;
  margin-bottom: 1em;
}
.person__bio { font-size: 0.95rem; }
.person__bio li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.4em;
}
.person__bio li::before {
  content: "・";
  position: absolute; left: 0;
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .person {
    grid-template-columns: 200px 1fr;
    padding: 40px;
  }
  .person__photo { margin: 0; width: 200px; height: 200px; }
  .person__role, .person__name, .person__title { text-align: left; }
}

/* ---------- 参加者の声 ---------- */
.voices {
  display: grid;
  gap: 16px;
}
.voice {
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-leaf);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}

/* ---------- セミナー概要テーブル ---------- */
.seminar-info {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}
.seminar-info dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.seminar-info dt {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 4px;
}
.seminar-info dd { margin-bottom: 12px; }
.seminar-info dd:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .seminar-info dl { grid-template-columns: 160px 1fr; gap: 12px 24px; }
  .seminar-info dt { border: 0; padding-bottom: 0; }
  .seminar-info dd { margin-bottom: 0; }
}

.bonus {
  text-align: center;
  background: rgba(217, 136, 62, 0.1);
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 16px;
}
.bonus__label {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-accent-dark);
  letter-spacing: 0.2em;
  margin-bottom: 0.4em;
}
.bonus__value {
  font-family: var(--font-mincho);
  font-size: 1.3rem;
  font-weight: 700;
}

/* ---------- 日程表 ---------- */
.schedule-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin: 2em 0;
  border-collapse: separate;
  border-spacing: 0;
}

.schedule-table thead {
  background: var(--color-bg-sub);
}

.schedule-table th {
  color: var(--color-accent-dark);
  font-weight: 700;
  padding: 14px 8px;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--color-line);
}

.schedule-table td {
  padding: 18px 8px;
  text-align: center;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
  vertical-align: middle;
}

.schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.schedule-table .col-no {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.95rem;
  white-space: nowrap;
}

.schedule-table .col-date {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--color-text);
}

.schedule-table .col-teacher {
  font-size: 0.95rem;
  white-space: nowrap;
}

.schedule-table .col-note {
  font-size: 0.85rem;
  color: var(--color-text-mute);
  line-height: 1.5;
}

/* スマホ：縦並び（行ブロック表示） */
@media (max-width: 599px) {
  .schedule-table thead {
    display: none;
  }
  .schedule-table,
  .schedule-table tbody,
  .schedule-table tr,
  .schedule-table td {
    display: block;
    width: 100%;
  }
  .schedule-table tr {
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-line);
  }
  .schedule-table tbody tr:last-child {
    border-bottom: 0;
  }
  .schedule-table td {
    padding: 4px 0;
    border: 0;
    text-align: left;
    font-size: 0.95rem;
  }
  .schedule-table td::before {
    content: attr(data-label) "：";
    display: inline-block;
    width: 4em;
    color: var(--color-accent-dark);
    font-weight: 700;
    font-size: 0.85rem;
  }
  .schedule-table .col-no {
    text-align: left;
    margin-bottom: 4px;
  }
  .schedule-table .col-no::before {
    display: none;
  }
  .schedule-table .col-date {
    font-size: 1.05rem;
  }
  .schedule-table .col-date br {
    display: none;
  }
}

/* ---------- クロージング強調メッセージ ---------- */
.closing-msg {
  font-family: var(--font-mincho);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin-top: 2.5em;
}

@media (min-width: 768px) {
  .closing-msg {
    font-size: 1.85rem;
    letter-spacing: 0.1em;
  }
}

/* ---------- お申込みについて ---------- */
.application-notes-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-top: 2.5em;
  box-shadow: var(--shadow-soft);
}

.application-notes-block h3 {
  text-align: center;
  margin-bottom: 1.2em;
  font-size: 1.15rem;
}

.application-notes-block ul {
  margin-bottom: 1.5em;
}

.application-notes-block ul li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
  line-height: 1.75;
}

.application-notes-block ul li:last-child {
  border-bottom: 0;
}

.application-notes-block ul li::before {
  content: "・";
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--color-accent);
}

.application-notes-block .application-links {
  text-align: center;
  font-size: 0.92rem;
  line-height: 2.2;
  margin-bottom: 0;
}

.application-notes-block .application-links a {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.application-notes-block .application-links a:hover {
  color: var(--color-accent);
}

/* ---------- 希少性 ---------- */
.scarcity {
  text-align: center;
  margin: 1em 0;
}
.scarcity__badge {
  display: inline-block;
  background: var(--color-emphasis);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 0.15em;
}

/* ---------- フッター ---------- */
.footer {
  background: var(--color-text);
  color: var(--color-bg);
  padding: 40px 20px;
  text-align: center;
  font-size: 0.85rem;
}
.footer a { color: var(--color-bg); text-decoration: underline; }

/* ---------- アクセシビリティ ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
