/* =========================================================
   HEALTHCARE MARKETING DAY 2026 秋（FB修正版デザイン準拠）
   トークンは「Ask総研 サイトリニューアル デザイントークン」(Figma) に準拠
   ＋ LP固有の拡張（KVディスプレイ書体・ネイビー面）
   ========================================================= */

:root {
  /* color / text */
  --text-heading: #0c4f86;
  --text-label: #000000;
  --text-body: #333333;
  --text-ink: #000000; /* LP固有：KVタイトルの黒（Figma実測） */
  --text-link: #0072b5;
  --text-placeholder: #767676;
  --text-on-dark: #ffffff;

  /* color / bg */
  --bg-default: #ffffff;
  --bg-subtle: #f6f7f6;
  --bg-tint: #e8f3f9;
  --bg-navy: #0c4f86;
  --grad-navy-section: linear-gradient(160deg, #1b5f9d 0%, #0c4f86 45%, #083a64 100%);
  --bg-gradient-page: linear-gradient(180deg, #f1f4f3, #f1f1f1);
  --bg-gradient-page-to-tint: linear-gradient(180deg, #f1f4f3, #e8f3f9);

  /* color / border */
  --border-default: #cccccc;
  --border-header: #d6dde1;

  /* accent / gradient */
  --accent-brand: #0072b5;
  --grad-pink: linear-gradient(90deg, #f392a5, #f5446a);
  --grad-pink-hover: linear-gradient(90deg, #db8395, #dd3d5f);
  --grad-navy: linear-gradient(90deg, #296fa9, #0c4f86);
  --glow-pink: 0 8px 24px rgba(245, 68, 106, 0.28);
  --text-error: #c8102e;

  /* space */
  --gap-line: 8px;
  --gap-tight: 16px;
  --gap-small: 24px;
  --gap-element: 32px;
  --gap-block: 40px;
  --gap-section-inner: 56px;
  --pad-section-y: 120px;
  --pad-card: 48px;
  --pad-card-sm: 24px;

  /* size */
  --size-content: 1056px;
  --size-narrow: 816px;
  --size-wide: 1280px;
  --margin-x: 20px;
  --header-h: 64px;
  --btn-w: 340px;
  --btn-h: 60px;
  --touch: 44px;

  /* radius */
  --radius-card: 0;
  --radius-control: 5px;

  /* type（FB: 全体+1〜2段階） */
  --font: 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Sans', sans-serif;
  --fs-body: 15px;
  --lh-body: 26px;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--bg-gradient-page);
  font-feature-settings: 'palt';
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: var(--text-link);
}
a:hover {
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--accent-brand);
  outline-offset: 3px;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--bg-default);
  color: var(--text-heading);
  font-weight: 700;
}
.skip-link:focus {
  top: 8px;
}
.u-pc {
  display: none;
}
@media (min-width: 768px) {
  .u-pc {
    display: inline;
  }
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--size-content) + var(--margin-x) * 2);
  margin: 0 auto;
  padding: 0 var(--margin-x);
}
.container--narrow {
  max-width: calc(var(--size-narrow) + var(--margin-x) * 2);
}

.section {
  padding: calc(var(--pad-section-y) / 2) 0;
}
.section > .container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-block);
}
.section--white {
  background: var(--bg-default);
}
/* Figmaの各セクション背景（fillの合成をそのまま書き出したもの） */
.section--tint {
  background: #ffffff url('../images/bg-tint.jpg') center / cover no-repeat;
}
.section--timetable {
  background: #eef4f9 url('../images/bg-timetable.jpg') center / cover no-repeat;
}
.section--faq {
  background: #ffffff url('../images/bg-faq.jpg') center / cover no-repeat;
}
.section--navy {
  background: #0c4f86 url('../images/bg-registration.jpg') center / cover no-repeat;
}
.section--paper {
  background: #f4f7fd;
}

@media (min-width: 768px) {
  :root {
    --margin-x: 40px;
  }
  .section {
    padding: var(--pad-section-y) 0;
  }
  .section > .container {
    gap: var(--gap-section-inner);
  }
}

.card {
  background: var(--bg-default);
  border-radius: var(--radius-card);
}

/* ---------- heading ---------- */
.heading-block {
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight);
  text-align: center;
  align-items: center;
}
.h2 {
  font-size: 26px;
  line-height: 38px;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
}
.heading-block__sub {
  font-size: 16px;
  line-height: 28px;
}
.heading-block--ondark .h2,
.heading-block--ondark .heading-block__sub {
  color: var(--text-on-dark);
}
@media (min-width: 768px) {
  .h2 {
    font-size: 40px;
    line-height: 54px;
  }
  .heading-block__sub {
    font-size: 17px;
    line-height: 30px;
  }
}
@media (max-width: 767px) {
  .h2--multi br {
    display: none;
  }
}

/* ---------- button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-control);
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn--cv {
  width: 100%;
  max-width: var(--btn-w);
  height: 52px;
  background: var(--grad-pink);
  color: var(--text-on-dark);
  box-shadow: var(--glow-pink);
  text-shadow: 0 1px 2px rgba(160, 20, 50, 0.45);
}
.btn--cv:hover {
  background: var(--grad-pink-hover);
}
.btn--header {
  width: auto;
  height: var(--touch);
  padding: 0 16px;
  font-size: 18px;
  box-shadow: none;
  white-space: nowrap;
}
/* SPではヘッダーの申込ボタンを出さない（FV内のボタン1つに） */
@media (max-width: 767px) {
  .btn--header {
    display: none;
  }
}
.btn-row {
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .btn--lg {
    height: var(--btn-h);
    font-size: 22px;
  }
}

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.header.is-scrolled {
  background: var(--bg-default);
  border-bottom-color: var(--border-header);
}
/* SPはヘッダー白帯＋タイトルまで24px（添付モック準拠） */
@media (max-width: 767px) {
  .header {
    background: var(--bg-default);
    border-bottom-color: var(--border-header);
  }
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--gap-small);
  max-width: calc(var(--size-wide) + var(--margin-x) * 2);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--margin-x);
}
.header__logo {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  margin-right: auto;
}
.header__logo img {
  width: 132px;
  height: auto;
}
.header__nav {
  display: none;
}
.header__nav ul {
  display: flex;
  gap: var(--gap-small);
}
.header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-label);
  text-decoration: none;
}
.header__nav a:hover {
  color: var(--text-link);
}
@media (min-width: 1024px) {
  .header__logo img {
    width: 168px;
  }
  .header__nav {
    display: block;
  }
}
@media (max-width: 374px) {
  .header__inner {
    gap: var(--gap-line);
  }
  .header__logo img {
    width: 104px;
  }
  .btn--header {
    font-size: 14px;
    padding: 0 10px;
  }
}

/* ---------- KV ---------- */
.kv {
  position: relative;
  /* Figmaの背景合成（白→薄青グラデ＋写真）をそのまま書き出したもの */
  background: #eaf4fb url('../images/kv-bg-sp.jpg') center top / cover no-repeat;
  overflow: hidden;
}
@media (min-width: 768px) {
  .kv {
    background-image: url('../images/kv-bg-pc.jpg');
  }
}
.kv__inner {
  display: flex;
  flex-direction: column;
  gap: var(--gap-element);
  max-width: calc(var(--size-wide) + var(--margin-x) * 2);
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--margin-x) 8px;
}
.kv__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-small);
}
.kv__title {
  display: flex;
  flex-direction: column;
  color: var(--text-ink);
  font-weight: 900;
}
.kv__catch {
  display: block;
  align-self: stretch;
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-ink);
  border-bottom: 1px solid #0c4f86;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.kv__en {
  font-size: clamp(34px, 12.6vw, 94px);
  line-height: 1.06;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.kv__en--2 {
  font-size: clamp(18px, 7.2vw, 51px);
  line-height: 1.15;
  margin-top: 2px;
}
.kv__year {
  white-space: nowrap;
}

.kv__tags {
  display: flex;
  gap: 10px;
}
.kv__tags li {
  padding: 8px 16px;
  background: #000000;
  color: var(--text-on-dark);
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  border-radius: var(--radius-control);
}
.kv__date {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  color: var(--text-ink);
  font-weight: 900;
  font-size: clamp(19px, 5.9vw, 22px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.kv__dow {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  background: #000;
  color: var(--text-on-dark);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.kv__time {
  font-size: clamp(16px, 5.1vw, 19px);
}
.kv__btn {
  align-self: stretch;
}

/* KV 開催情報（タイトル右のカラム） */
.kv {
  padding-bottom: 40px;
}
.kv__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-tight);
}
.kv__btn {
  align-self: stretch;
  max-width: none;
}

/* KV 登壇者カード帯（白カード1列・自動スクロール） */
.kv__speakers {
  display: flex;
  gap: 20px;
  width: max-content;
  margin-top: 20px;
  animation: kv-marquee 60s linear infinite;
}
.kv__speakers.is-paused {
  animation-play-state: paused;
}
@keyframes kv-marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .kv__speakers {
    animation: none;
  }
  .kv {
    overflow-x: auto;
  }
}
.kv-card {
  position: relative;
  flex: none;
  width: 280px;
  height: 183px;
  background: var(--bg-default);
  overflow: hidden;
}
.kv-card__photo {
  position: absolute;
  inset: 0;
  width: 280px;
  height: 183px;
  max-width: none;
}
.kv-card__chip {
  position: absolute;
  left: 15px;
  top: 57px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 131px;
}
.kv-card__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 47px;
  padding: 8px 0;
}
.kv-card__logo img {
  max-width: 111px;
  max-height: 30px;
  width: auto;
  height: auto;
}
img.kv-card__logo--tall {
  max-height: 34px;
}
.kv-card__logo img.kv-logo-xl {
  max-height: 52px;
}
.kv-card__text {
  padding: 0 2px;
  font-size: 10px;
  line-height: 15px;
  color: #0a0a0a;
}
.kv-card__name {
  font-size: 12px;
  font-weight: 700;
}

/* PC: KV＋登壇企業帯で100vh（帯の下辺＝FVの下辺） */
@media (min-width: 1024px) {
  /* 高さはデザイン基準(900px画面)で打ち止め。縦長画面ではロゴ帯を下辺に固定せず次セクションを見せる */
  .kv {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: min(calc(100vh - 168px), 732px);
  }
  /* 余白をカード上下に等分し、カードがタイトルとロゴ帯の中間に来るようにする */
  .kv::after {
    content: '';
    height: 0;
  }
  .partners {
    height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .kv__inner {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    padding: calc(var(--header-h) + 48px) var(--margin-x) 0;
  }
  .kv__title {
    flex: 0 0 500px;
  }
  .kv__info {
    flex: 0 0 483px;
  }
  .kv__tags {
    align-self: center;
  }
  .kv__catch {
    font-size: 20px;
    line-height: 30px;
  }
  .kv__en {
    font-size: clamp(56px, 6.55vw, 94px);
  }
  .kv__en--2 {
    font-size: clamp(30px, 3.55vw, 51px);
  }
  .kv__tags li {
    padding: 10px 20px;
    font-size: 18px;
    line-height: 26px;
  }
  /* 日付と時刻はPCでは1行に */
  .kv__date {
    font-size: 38px;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .kv__dow {
    width: 30px;
    height: 30px;
    font-size: 15px;
    flex: none;
  }
  .kv__time {
    font-size: 30px;
  }
  .kv__btn {
    height: 58px;
  }
}

/* PC・高さの低い画面（Windowsの表示倍率125〜150%のノートPCなど）: KVを一回り小さくし、
   タイトル＋カードのかたまりをヘッダーとロゴ帯の中間に置いて、FVにロゴ帯まで収める */
@media (min-width: 1024px) and (max-height: 800px) {
  .kv {
    justify-content: center;
    padding-top: var(--header-h);
    padding-bottom: 0;
    min-height: min(calc(100vh - 128px), 732px);
  }
  .kv::after {
    display: none;
  }
  .kv__inner {
    gap: 64px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .kv__speakers {
    margin-top: 32px;
  }
  .kv__title {
    flex-basis: auto;
  }
  .kv__info {
    flex-basis: 420px;
  }
  .kv__catch {
    font-size: 17px;
    line-height: 26px;
  }
  .kv__en {
    font-size: clamp(56px, min(6.55vw, 11.5vh), 94px);
  }
  .kv__en--2 {
    font-size: clamp(30px, min(3.55vw, 6.25vh), 51px);
  }
  .kv__tags li {
    padding: 7px 16px;
    font-size: 15px;
    line-height: 22px;
  }
  .kv__date {
    font-size: 32px;
  }
  .kv__dow {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  .kv__time {
    font-size: 25px;
  }
  .kv__btn {
    height: 50px;
  }
  .kv-card {
    zoom: 0.8;
  }
  .partners {
    height: 128px;
  }
}

/* ---------- 登壇企業 ---------- */
.partners {
  background: var(--bg-default);
  padding: 28px var(--margin-x) 32px;
  border-bottom: 1px solid var(--border-header);
}
.partners__label {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-body);
  margin-bottom: 18px;
}
.partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
  max-width: var(--size-wide);
  margin: 0 auto;
}
.partners__logos img {
  width: auto;
  max-height: 56px;
}
.partners__logos li:nth-child(1) img {
  height: 22px;
}
.partners__logos li:nth-child(2) img {
  height: 36px;
}
.partners__logos li:nth-child(3) img {
  height: 56px;
}
.partners__logos li:nth-child(4) img {
  height: 44px;
}
.partners__logos li:nth-child(5) img {
  height: 54px;
}
.partners__logos li:nth-child(6) img {
  height: 56px;
}
@media (min-width: 1024px) {
  .partners__logos {
    gap: 24px 56px;
  }
}

/* ---------- concept ---------- */
.concept__lead {
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight);
  max-width: var(--size-narrow);
  margin: 0 auto;
  font-size: 16px;
  line-height: 30px;
}
.themes {
  display: grid;
  gap: var(--gap-tight);
}
.theme {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--gap-element) var(--pad-card-sm);
  background: var(--bg-navy);
  color: var(--text-on-dark);
}
.theme__num {
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  opacity: 0.85;
}
.theme__title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
}
.theme__text {
  font-size: 14px;
  line-height: 25px;
}
@media (min-width: 768px) {
  .themes {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-small);
  }
}

/* ---------- overview ---------- */
.overview {
  padding: var(--pad-card-sm);
}
.overview__row {
  display: grid;
  gap: 4px;
  padding: var(--gap-tight) 0;
  border-bottom: 1px solid #e4e9ee;
}
.overview__row:first-child {
  padding-top: 0;
}
.overview__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.overview dt {
  font-size: 15px;
  line-height: 26px;
  font-weight: 700;
  color: var(--text-heading);
}
.overview dd {
  font-size: 16px;
  line-height: 28px;
  color: #222;
}
@media (min-width: 768px) {
  .overview {
    padding: var(--pad-card);
  }
  .overview__row {
    grid-template-columns: 172px 1fr;
    gap: var(--gap-small);
    padding: var(--gap-small) 0;
  }
}

/* ---------- timetable ---------- */
.tt {
  background: var(--bg-default);
} /* イベント概要と同じく外枠線なし */
.tt__day {
  padding: 16px;
  background: var(--grad-navy);
  color: var(--text-on-dark);
  text-align: center;
  font-size: 17px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tt__row {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #e4e9ee;
} /* 区切り線はさりげなく */
.tt__time {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 8px var(--gap-tight);
  font-size: 15px;
  line-height: 24px;
  font-weight: 700;
  color: var(--text-heading);
}
.tt__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  padding: 24px var(--gap-tight) 0;
}
/* セッションのテーマタグ */
.tt__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 11px;
} /* 余白: 行上下(①⑤) > タグ↔キャッチ(②) > キャッチ↔タイトル(③) > タイトル行間(④) */
.tt-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: var(--bg-navy);
  color: var(--text-on-dark);
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.tt__catch {
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
  color: var(--text-label);
  margin-bottom: 2px;
}
.tt__title {
  font-size: 19px;
  line-height: 30px;
  font-weight: 700;
  color: var(--text-heading);
}
.tt__speakers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px var(--gap-tight);
}
.tt__speakers li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tt__name {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  color: var(--text-label);
}
.tt__org {
  font-size: 12px;
  line-height: 18px;
}
@media (min-width: 768px) {
  .tt__row {
    grid-template-columns: 96px 1fr;
  }
  .tt__time {
    grid-row: span 2;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: var(--gap-tight) 0;
  }
  .tt__body {
    padding: 28px var(--gap-small) 0;
  }
  .tt__speakers {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--gap-small);
    padding: 12px var(--gap-small) 20px;
  }
  .tt__speakers li {
    width: 220px;
  }
}
@media (min-width: 1024px) {
  .tt__row {
    grid-template-columns: 96px 1fr auto;
  }
  .tt__time {
    grid-row: span 1;
  }
  .tt__body {
    padding: 28px var(--gap-small) 24px;
  } /* 下端はタイトルの行送り分を足して上端28pxと揃える */
  .tt__title {
    font-size: 22px;
    line-height: 31px;
  }
  .tt__speakers {
    grid-column: 3;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 28px var(--gap-small) 20px;
    justify-content: flex-end;
  }
  .tt__speakers li {
    width: 210px;
  }
}

/* ---------- speakers（横型カード・縦積み） ---------- */
.speakers {
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
}
.speaker {
  display: flex;
  flex-direction: column;
  background: var(--bg-default);
}
.speaker__photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.speaker__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-line);
  padding: var(--pad-card-sm);
}
.speaker__name {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: #222;
}
.speaker__org {
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
  color: var(--text-link);
}
.speaker__bio {
  font-size: 14px;
  line-height: 25px;
  margin-top: var(--gap-line);
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .speaker {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-element);
    padding: var(--pad-card-sm);
  }
  .speaker__photo {
    width: 336px;
    height: 210px;
    flex: none;
    aspect-ratio: auto;
  }
  .speaker__body {
    padding: 0;
    flex: 1;
  }
  .speaker__name {
    font-size: 24px;
    line-height: 34px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight);
}
.faq__item {
  background: var(--bg-default);
} /* 囲い枠なし */
.faq__q {
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  align-items: center;
  gap: var(--gap-tight);
  min-height: 64px;
  padding: 12px var(--pad-card-sm);
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  color: #222;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__q:hover .faq__q-text {
  color: var(--text-link);
}
.faq__mark {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: var(--text-link);
}
.faq__mark--a {
  color: #d2365a;
}
.faq__icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-brand);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--text-on-dark);
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s;
}
.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--gap-tight);
  align-items: baseline;
  margin: 0 var(--pad-card-sm);
  padding: var(--gap-tight) 0 var(--pad-card-sm);
  border-top: 1px solid var(--border-default);
  font-size: 15px;
  line-height: 26px;
}

/* ---------- registration (navy) ---------- */
.form {
  padding: var(--pad-card-sm);
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
}
.form__note {
  font-size: 14px;
  line-height: 24px;
}
.form__grid {
  display: grid;
  gap: var(--gap-small);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--gap-line);
}
.field__label {
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}
.field__input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  font-size: 16px;
  color: #222;
  background: var(--bg-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-control);
}
.field__input::placeholder {
  color: var(--text-placeholder);
}
.field__input:focus-visible {
  outline: 3px solid var(--accent-brand);
  outline-offset: 0;
  border-color: var(--accent-brand);
}
.field__input[aria-invalid='true'] {
  border-color: var(--text-error);
}
.field__error {
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  color: var(--text-error);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  background: var(--bg-navy);
  color: var(--text-on-dark);
  border-radius: 3px;
}
.badge--optional {
  background: #666b78;
}
.consent {
  display: flex;
  flex-direction: column;
  gap: var(--gap-line);
}
.consent__label {
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.consent__check {
  display: flex;
  align-items: center;
  gap: 12px;
}
.consent__check label {
  font-size: 15px;
  line-height: 24px;
}
.consent__input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--accent-brand);
  cursor: pointer;
}
.form__submit {
  display: flex;
  justify-content: center;
}
.form__status:empty {
  display: none;
}
.form__status {
  padding: var(--gap-tight);
  background: var(--bg-tint);
  color: var(--text-heading);
  font-weight: 700;
  text-align: center;
}
@media (min-width: 768px) {
  .form {
    padding: var(--pad-card);
  }
}

.privacy {
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
}
.privacy__title {
  text-align: center;
  color: var(--text-on-dark);
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
}
.privacy__links {
  display: grid;
  gap: var(--gap-tight);
}
.privacy__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-tight);
  min-height: var(--btn-h);
  padding: 10px var(--pad-card-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-control);
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: background 0.2s;
}
.privacy__link:hover {
  background: rgba(255, 255, 255, 0.14);
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 768px) {
  .privacy__links {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-small);
  }
}

.contact {
  display: flex;
  flex-direction: column;
  gap: var(--gap-line);
  color: var(--text-on-dark);
  font-size: 15px;
  line-height: 26px;
}
.contact a {
  color: #9fd3ff;
}
.contact__title {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}

/* ---------- previous ---------- */
.previous {
  display: grid;
  gap: var(--gap-block);
}
.previous__item {
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight);
}
.previous__title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  color: var(--text-heading);
}
.previous__img {
  width: 100%;
  border: 1px solid var(--border-header);
  display: block;
}
.previous__link {
  display: block;
  transition: opacity 0.2s;
}
.previous__link:hover {
  opacity: 0.8;
}
@media (min-width: 768px) {
  .previous {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-small);
  }
}

/* ---------- footer ---------- */
.footer {
  background: #121618;
  color: var(--text-on-dark);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  max-width: calc(var(--size-wide) + var(--margin-x) * 2);
  margin: 0 auto;
  padding: var(--gap-small) var(--margin-x);
  font-size: 13px;
  line-height: 24px;
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- SP sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 12px var(--margin-x) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border-header);
  transform: translateY(0);
  transition:
    transform 0.25s,
    visibility 0.25s;
}
.sticky-cta .btn {
  height: 52px;
  box-shadow: none;
}
.sticky-cta.is-hidden {
  transform: translateY(100%);
  visibility: hidden;
}
@media (max-width: 767px) {
  body {
    padding-bottom: 80px;
  }
}
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- SP上書き（base定義より後ろで後勝ちさせる） ---------- */
@media (max-width: 767px) {
  .kv__inner {
    padding-top: calc(var(--header-h) + 24px);
  }
  .kv__inner,
  .kv__title {
    width: 100%;
  }
  .kv__catch {
    font-size: clamp(11px, 3.9vw, 13px);
    letter-spacing: 0.06em;
  }
}

/* イベント概要: 値の強調(Figma準拠) */
.overview__row dd strong {
  font-weight: 700;
}

/* SMP埋め込みフォーム */
.smp-form-wrap {
  padding: 32px 24px;
}
@media (min-width: 768px) {
  .smp-form-wrap {
    padding: 40px 48px;
  }
}
.smp-form-fallback {
  text-align: center;
  color: #5a6b7a;
  font-size: 14px;
  line-height: 22px;
  padding: 24px 0;
}
.smp-consent-link {
  color: #0c4f86;
  text-decoration: underline;
}

/* ===== SMPフォームをFigmaデザインに合わせる上書き ===== */
.smpForm .ss_container {
  background: transparent;
}
.smpForm .ss_contents {
  padding: 0;
}
.smpForm .ss_field {
  background: transparent !important;
  border: 0 !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}
.smpForm .ss_form_title {
  font-size: 15px;
  font-weight: 700;
  color: #19242e;
  background: transparent !important;
  padding: 0 0 8px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  float: none !important;
  width: auto !important;
}
/* ※ → 必須バッジ */
.smpForm .ss_user_notnull {
  font-size: 0 !important;
  color: transparent !important;
}
.smpForm .ss_user_notnull::after {
  content: '必須';
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: #0c4f86;
  border-radius: 3px;
  padding: 3px 6px;
  vertical-align: middle;
}
/* 任意バッジ(必須でない項目) */
.smpForm .ss_field:not(.ss_required_field) .ss_form_title::after {
  content: '任意';
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: #5a6b7a;
  background: #e4e9ee;
  border-radius: 3px;
  padding: 3px 6px;
}
.smpForm .ss_grid {
  background: transparent !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}
.smpForm .ss_input {
  margin: 0 0 6px;
}
.smpForm input[type='text'],
.smpForm input[type='tel'],
.smpForm input[type='email'],
.smpForm select {
  height: 44px;
  border: 1px solid #c7d1da !important;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 15px;
  background: #fff;
  color: #19242e;
  box-sizing: border-box;
}
.smpForm input[type='text']:focus,
.smpForm select:focus {
  outline: 2px solid #0c4f86;
  outline-offset: 1px;
}
.smpForm .ss_input input[type='text'] {
  width: min(480px, 100%);
}
#ss_name .ss_input input[type='text'] {
  width: min(200px, 100%);
}
.smpForm select {
  width: min(480px, 100%);
}
.smpForm .ss_leftComment {
  margin-right: 6px;
  font-size: 14px;
  color: #19242e;
}
.smpForm .ss_rightComment,
.smpForm .ss_bottomComment {
  font-size: 12px;
  color: #7b8a98;
  margin-left: 8px;
}
.smpForm .ss_bottomComment {
  margin: 4px 0 0;
}
/* 同意チェック */
.smpForm input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: #0c4f86;
  vertical-align: -3px;
}
#ss_VisitorData\.attribute1 .ss_input {
  font-size: 15px;
  font-weight: 500;
}
/* 登録ボタン → CVボタン様式 */
.smpForm .ss_btnArea {
  padding: 8px 0 0;
}
.smpForm .ss_btnArea p {
  margin: 0;
  text-align: center;
}
.smpForm input[name='smpSubmit'] {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  min-width: 320px;
  padding: 18px 32px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f2a0ac 0%, #f2425f 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 10px rgba(242, 66, 95, 0.3);
  transition: opacity 0.2s;
}
.smpForm input[name='smpSubmit']:hover {
  opacity: 0.85;
}
@media (max-width: 767px) {
  .smpForm input[name='smpSubmit'] {
    min-width: 100%;
  }
  .smpForm .ss_input input[type='text'],
  .smpForm select {
    width: 100%;
  }
  #ss_name .ss_input input[type='text'] {
    width: 130px;
  }
}
/* アンケート項目(本セミナーを知ったきっかけ)も同様式に */
.smpForm .ss_enquete_form {
  background: transparent;
}
.smpForm .ss_enquete_field {
  background: transparent !important;
  border: 0 !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}
.smpForm .ss_enquete_title {
  font-size: 15px;
  font-weight: 700;
  color: #19242e;
  background: transparent !important;
  padding: 0 0 8px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.smpForm .ss_enquete_title::after {
  content: '任意';
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: #5a6b7a;
  background: #e4e9ee;
  border-radius: 3px;
  padding: 3px 6px;
}
/* 電話番号(type=tel)・E-mailの幅も揃える */
.smpForm .ss_input input[type='tel'] {
  width: min(300px, 100%);
}
.smpForm .ss_input input[type='email'] {
  width: min(480px, 100%);
}
/* 注記は入力欄の下に統一 */
.smpForm .ss_rightComment {
  display: block;
  margin: 4px 0 0;
}
