/* =====================================================
   CES 2027 特集 v2（2026-11-04）
   目的：なぜCESか → 参加方法4つ → 申込へ。
   配色は style.css v4.2 の青系トークンのみ（アンバー不使用・面の最暗＝ロゴ青）。
   クラスは cx- 接頭辞で既存ページと衝突させない。
   ===================================================== */

.cx { --cx-radius: 6px; }

/* ---------- HERO ---------- */
.cx-hero {
  background: linear-gradient(180deg, #1a568f 0%, #2b6cb4 58%, #3f83d1 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.cx-hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cx-hero__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--ice); text-transform: uppercase; }
.cx-hero h1 { font-family: var(--serif-jp); font-weight: 600; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.32; margin: 18px 0 20px; letter-spacing: .02em; }
.cx-hero__sub { font-size: clamp(15.5px, 1.6vw, 18px); line-height: 1.95; color: #f2f7fd; max-width: 30em; }
.cx-hero__sub b { font-weight: 500; color: #fff; }
.cx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border: 1px solid transparent; font-size: 15px; font-weight: 500; letter-spacing: .04em; border-radius: 2px; transition: background .2s, color .2s, border-color .2s; line-height: 1.4; }
.cx-btn--white { background: #fff; color: var(--blue-deep); border-color: #fff; }
.cx-btn--white:hover { background: var(--ice); border-color: var(--ice); }
.cx-btn--line-white { border-color: rgba(255,255,255,.75); color: #fff; }
.cx-btn--line-white:hover { background: #fff; color: var(--blue-deep); }
.cx-btn--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.cx-btn--blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.cx-btn--line { border-color: var(--blue); color: var(--blue); background: #fff; }
.cx-btn--line:hover { background: var(--blue); color: #fff; }
.cx-btn small { font-weight: 400; opacity: .85; font-size: 12.5px; }

.cx-hero__photo { margin: 0; }
.cx-hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--cx-radius); box-shadow: 0 18px 40px rgba(10, 40, 80, .28); }
.cx-hero__photo figcaption { font-size: 12px; color: var(--ice); margin-top: 8px; }

.cx-keyfacts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid rgba(255,255,255,.35); }
.cx-keyfacts li { padding: 16px 18px 4px 0; }
.cx-keyfacts li + li { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.35); }
.cx-keyfacts .k { display: block; font-size: 12.5px; color: var(--ice); letter-spacing: .06em; }
.cx-keyfacts .v { display: block; font-family: var(--serif-jp); font-size: clamp(17px, 2vw, 21px); font-weight: 600; margin-top: 4px; line-height: 1.5; }

/* ---------- 共通 ---------- */
.cx-sec { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--hairline); }
.cx-sec--tint { background: var(--paper-warm); }
.cx-eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 12px; }
.cx-sec h2 { font-family: var(--serif-jp); font-weight: 600; font-size: clamp(27px, 3.6vw, 42px); line-height: 1.45; color: var(--ink); letter-spacing: .02em; }
.cx-lede { margin-top: 18px; max-width: 40em; color: var(--ink-soft); font-size: 16px; }
.cx-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; line-height: 1.8; }
.cx-photo { margin: 0; }
.cx-photo img { width: 100%; border-radius: var(--cx-radius); object-fit: cover; }
.cx-photo figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.cx-center { text-align: center; }
.cx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cx-ctas--center { justify-content: center; }

/* ---------- VIDEO ---------- */
.cx-video { max-width: 920px; margin: 32px auto 0; }
.cx-video__frame { position: relative; aspect-ratio: 16 / 9; background: #0f2f52; border-radius: var(--cx-radius); overflow: hidden; }
.cx-video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cx-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cx-video__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; background: none; border: 0; cursor: pointer; font: inherit; text-align: center; padding: 16px; }
.cx-video__play .icon { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; }
.cx-video__play .icon::after { content: ""; border-left: 22px solid var(--blue); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.cx-video__play .t { font-family: var(--serif-jp); font-size: clamp(17px, 2.4vw, 24px); font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.cx-video__play .s { font-size: 13.5px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.cx-video__frame.is-pending .icon { opacity: .55; }
.cx-video__chapters { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.cx-video__chapters li { font-size: 13.5px; color: var(--ink-soft); border-top: 2px solid var(--sky); padding-top: 8px; }
.cx-video__chapters b { display: block; color: var(--ink); font-weight: 500; }

/* ---------- WHY：年表 ---------- */
.cx-timeline { list-style: none; margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cx-year { background: #fff; border: 1px solid var(--hairline); border-radius: var(--cx-radius); overflow: hidden; display: flex; flex-direction: column; }
.cx-year img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cx-year__noimg { aspect-ratio: 4 / 3; background: linear-gradient(160deg, #1a568f, #4a8bd8); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif-jp); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; text-align: center; padding: 16px; line-height: 1.5; }
.cx-year__body { padding: 18px 18px 22px; }
.cx-year__y { font-family: var(--serif-en); font-size: 30px; color: var(--blue); line-height: 1; }
.cx-year h3 { font-family: var(--serif-jp); font-size: 19px; font-weight: 600; margin: 10px 0 8px; line-height: 1.5; }
.cx-year p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
.cx-year--next { border: 2px solid var(--blue); }
.cx-year--next .cx-year__y { color: var(--signal); }
.cx-year .cx-small { display: block; font-size: 12px; color: var(--muted); margin-top: 10px; }

.cx-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 72px); }
.cx-compare h3 { grid-column: 1 / -1; font-family: var(--serif-jp); font-size: clamp(22px, 2.8vw, 30px); font-weight: 600; line-height: 1.5; }
.cx-compare p.cx-lede { grid-column: 1 / -1; margin-top: 0; }
.cx-compare .cx-photo img { aspect-ratio: 16 / 10; }
.cx-tag { display: inline-block; font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 2px; margin-bottom: 6px; }
.cx-tag--grey { background: #eef1f5; color: var(--ink-soft); }
.cx-tag--blue { background: var(--blue); color: #fff; }

/* ---------- VALUE ---------- */
.cx-value { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; list-style: none; }
.cx-value li { border-top: 2px solid var(--blue); padding-top: 16px; }
.cx-value h3 { font-family: var(--serif-jp); font-size: 19px; font-weight: 600; line-height: 1.55; }
.cx-value p { font-size: 14.5px; color: var(--ink-soft); margin-top: 8px; }
.cx-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.cx-who div { background: #fff; border: 1px solid var(--hairline); padding: 16px; border-radius: var(--cx-radius); }
.cx-who h4 { font-size: 15px; font-weight: 500; color: var(--blue-deep); }
.cx-who p { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.75; }

.cx-pitch { margin-top: clamp(40px, 5vw, 56px); background: #fff; border: 1px solid var(--sky); border-left: 6px solid var(--blue); border-radius: var(--cx-radius); padding: clamp(22px, 3vw, 32px); }
.cx-pitch h3 { font-family: var(--serif-jp); font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; }
.cx-pitch > p { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; }
.cx-pitch ol { margin: 16px 0 0 1.4em; }
.cx-pitch li { font-size: 15px; margin-top: 8px; line-height: 1.85; }
.cx-pitch li b { font-weight: 500; color: var(--blue-deep); }
.cx-copy { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 10px 18px; border: 1px solid var(--blue); color: var(--blue); background: #fff; cursor: pointer; border-radius: 2px; font-family: inherit; }
.cx-copy:hover { background: var(--blue); color: #fff; }
.cx-copy.is-done { background: var(--blue); color: #fff; }

/* ---------- WATCH ---------- */
.cx-watch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 48px); margin-top: 36px; align-items: start; }
.cx-official { background: #fff; border: 1px solid var(--hairline); border-radius: var(--cx-radius); padding: 24px; }
.cx-official h3, .cx-forecast h3 { font-size: 15px; font-weight: 500; color: var(--blue); letter-spacing: .04em; }
.cx-official ul { list-style: none; margin-top: 12px; }
.cx-official li { padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 14.5px; line-height: 1.8; }
.cx-official li b { display: block; font-family: var(--serif-jp); font-size: 17px; font-weight: 600; color: var(--ink); }
.cx-forecast__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.cx-forecast figure { margin: 0; background: #fff; border: 1px solid var(--hairline); border-radius: var(--cx-radius); overflow: hidden; }
.cx-forecast img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cx-forecast figcaption { padding: 12px 14px 16px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }
.cx-forecast figcaption b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

/* ---------- JOIN ---------- */
.cx-chooser { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.cx-chooser a { display: block; height: 100%; background: #fff; border: 1px solid var(--hairline); border-top: 4px solid var(--blue); border-radius: var(--cx-radius); padding: 16px 16px 18px; transition: border-color .2s, transform .2s; }
.cx-chooser a:hover { border-color: var(--blue); transform: translateY(-2px); }
.cx-chooser .n { font-family: var(--serif-en); font-size: 26px; color: var(--blue); line-height: 1; }
.cx-chooser .q { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.7; }
.cx-chooser .a { display: block; font-family: var(--serif-jp); font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 6px; line-height: 1.5; }
.cx-chooser .go { display: block; font-size: 13px; color: var(--blue); margin-top: 10px; }

.cx-option { margin-top: clamp(40px, 5vw, 64px); background: #fff; border: 1px solid var(--hairline); border-radius: var(--cx-radius); overflow: hidden; scroll-margin-top: 24px; }
.cx-option__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 36px) 0; }
.cx-option__no { font-family: var(--serif-en); font-size: 44px; line-height: 1; color: var(--blue); }
.cx-option__for { font-size: 13.5px; color: var(--blue-deep); font-weight: 500; }
.cx-option h3 { font-family: var(--serif-jp); font-size: clamp(23px, 3vw, 32px); font-weight: 600; line-height: 1.4; margin-top: 4px; }
.cx-option__by { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cx-option__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 36px) clamp(24px, 3vw, 36px); }
.cx-option__body > div > p { font-size: 15px; line-height: 1.95; }
.cx-list { list-style: none; margin-top: 14px; }
.cx-list li { position: relative; padding-left: 1.4em; font-size: 14.5px; line-height: 1.85; margin-top: 6px; }
.cx-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.cx-facts { background: var(--paper-warm); border-radius: var(--cx-radius); padding: 18px 20px; }
.cx-facts dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; font-size: 14px; }
.cx-facts dt { color: var(--muted); white-space: nowrap; }
.cx-facts dd { color: var(--ink); line-height: 1.75; }
.cx-facts dd b { font-weight: 500; color: var(--blue-deep); }
.cx-facts .cx-btn { width: 100%; justify-content: center; margin-top: 16px; }
.cx-facts .cx-note { margin-top: 10px; }
.cx-alert { margin-top: 14px; font-size: 13.5px; background: #fff; border: 1px solid var(--sky); border-radius: var(--cx-radius); padding: 10px 14px; line-height: 1.8; }

.cx-tourtable { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.cx-tourtable th, .cx-tourtable td { padding: 12px 10px; border-top: 1px solid var(--hairline); text-align: left; vertical-align: top; line-height: 1.75; }
.cx-tourtable thead th { font-size: 12.5px; color: var(--muted); font-weight: 400; border-top: 0; }
.cx-tourtable td.price { white-space: nowrap; font-weight: 500; color: var(--blue-deep); }
.cx-tourtable .name { font-family: var(--serif-jp); font-size: 16.5px; font-weight: 600; color: var(--ink); display: block; }
.cx-tourtable .when { display: block; font-size: 12.5px; color: var(--muted); }

.cx-voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.cx-voices blockquote { background: var(--paper-warm); border-radius: var(--cx-radius); padding: 16px 18px; font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.cx-voices cite { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.cx-voices__title { font-size: 13.5px; font-weight: 500; color: var(--blue-deep); margin-top: 24px; }

/* ---------- GUIDE ---------- */
.cx-guide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); margin-top: 32px; align-items: center; }
.cx-guide .cx-photo img { aspect-ratio: 3 / 2; }
.cx-guide__facts { list-style: none; margin-top: 16px; }
.cx-guide__facts li { padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 15px; line-height: 1.8; }
.cx-guide__facts li b { font-weight: 500; color: var(--blue-deep); }

/* ---------- SCHEDULE ---------- */
.cx-cal { list-style: none; margin-top: 32px; border-left: 2px solid var(--sky); padding-left: 0; }
.cx-cal li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding: 12px 0 12px 20px; position: relative; font-size: 15px; line-height: 1.75; }
.cx-cal li::before { content: ""; position: absolute; left: -7px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); }
.cx-cal li.is-key::before { background: var(--blue); border-color: var(--blue); }
.cx-cal .d { font-family: var(--serif-jp); font-weight: 600; color: var(--ink); }
.cx-cal .t small { display: block; font-size: 12.5px; color: var(--muted); }
.cx-cal .opt { display: inline-block; font-size: 11.5px; padding: 1px 8px; border: 1px solid var(--blue); color: var(--blue); border-radius: 2px; margin-right: 6px; vertical-align: 1px; }

/* ---------- FAQ ---------- */
.cx-faq { margin-top: 28px; }
.cx-faq details { border-top: 1px solid var(--hairline); padding: 16px 0; }
.cx-faq details:last-child { border-bottom: 1px solid var(--hairline); }
.cx-faq summary { cursor: pointer; font-weight: 500; font-size: 16px; list-style: none; position: relative; padding-right: 2em; }
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--blue); }
.cx-faq details[open] summary::after { content: "−"; }
.cx-faq details p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); line-height: 1.9; }
.cx-faq a { color: var(--blue); border-bottom: 1px solid currentColor; }

/* ---------- FINAL ---------- */
.cx-final { background: linear-gradient(180deg, #1a568f 0%, #2b6cb4 100%); color: #fff; padding: clamp(56px, 7vw, 96px) 0; text-align: center; }
.cx-final h2 { font-family: var(--serif-jp); font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.5; }
.cx-final p { margin-top: 12px; color: var(--ice); font-size: 15px; }

/* ---------- スマホ追従ボタン ---------- */
.cx-sticky { display: none; }
@media (max-width: 760px) {
  .cx-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.97); border-top: 1px solid var(--hairline); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
  .cx-sticky.is-on { transform: none; }
  .cx-sticky a { display: block; text-align: center; background: var(--blue); color: #fff; padding: 12px; font-weight: 500; border-radius: 2px; }
  body.cx { padding-bottom: 72px; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .cx-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-chooser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-watch { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cx-hero .wrap { grid-template-columns: 1fr; }
  .cx-hero__photo { order: -1; }
  .cx-keyfacts { grid-template-columns: 1fr; }
  .cx-keyfacts li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .cx-keyfacts li { padding: 12px 0; }
  .cx-video__chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-timeline, .cx-compare, .cx-value, .cx-option__body, .cx-guide, .cx-voices { grid-template-columns: 1fr; }
  .cx-forecast__grid { grid-template-columns: 1fr 1fr; }
  .cx-option__head { grid-template-columns: 1fr; gap: 6px; }
  .cx-option__no { font-size: 34px; }
  .cx-cal li { grid-template-columns: 1fr; gap: 2px; }
  .cx-tourtable thead { display: none; }
  .cx-tourtable tr { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--hairline); padding: 10px 0; }
  .cx-tourtable td { border: 0; padding: 2px 0; }
  .cx-tourtable td.desc { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .cx-chooser, .cx-who, .cx-forecast__grid { grid-template-columns: 1fr; }
  .cx-btn { width: 100%; justify-content: center; }
}

/* 画像の縦横比：width/height属性があっても比率どおりに収める */
.cx-hero__photo img, .cx-year img, .cx-photo img, .cx-forecast img, .cx-video__frame img { height: auto; }
.cx-video__frame img { height: 100%; }
.cx-hero .nw { display: inline-block; }
.cx-hero .wrap.cx-hero__factswrap { display: block; }
.cx-hero h1 { font-size: clamp(32px, 4.6vw, 54px); }
.cx-keyfacts .v { white-space: nowrap; }
@media (max-width: 1000px) { .cx-keyfacts .v { white-space: normal; } }
.cx-tourtable td:first-child, .cx-tourtable th:first-child { white-space: nowrap; padding-right: 18px; }
.cx-tourtable th.price-h, .cx-tourtable thead th:last-child { white-space: nowrap; }
.cx-facts dd { overflow-wrap: anywhere; }
@media (max-width: 760px) { .cx-hero__photo { order: 0; } .cx-hero__photo figcaption { display: none; } }

/* 2026-11-05 review fixes */
html { scroll-padding-top: 96px; }
.cx-anchor { display: block; height: 0; overflow: hidden; }
.cx-hero__offer { margin-top: 14px; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.8; color: #fff; font-weight: 500; max-width: 32em; }
.cx-chooser .m { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.6; padding-top: 8px; border-top: 1px solid var(--hairline); }
@media (max-width: 560px) { .cx-btn { padding: 13px 18px; font-size: 14.5px; } .cx-btn small { font-size: 12px; } }
[hidden] { display: none !important; }
