@charset "UTF-8";

/* ===================================================================
CAFE & BAKERY STYLE EXPO
サイト共通CSSとの干渉を避けるため、すべて .cbs-lp 配下に限定
=================================================================== */
.cbs-lp {
  --espresso: #33211A;  /* エスプレッソ（見出し・本文の濃色） */
  --roast: #7A4A2B;     /* 焙煎ブラウン */
  --copper: #B0672B;    /* 焙煎機の銅（アクセント） */
  --milk: #F6F1E7;      /* ミルク（背景） */
  --foam: #FFFDF8;      /* フォーム（カード面） */
  --line: #DDD2C0;
  --nav-orange: #E08A2E; /* ページ内メニューの罫線 */
  --muted: #6E5A4C;
  --site-header: 212px; /* サイト共通ヘッダー（固定）の高さ */

  margin-top: 136px; /* ヘッダー212px − 裏にある .header-top（PCでも通常フロー）76px */
  font-family: 'Noto Sans JP', sans-serif;
  font-feature-settings: normal;
  color: var(--espresso);
  background: var(--milk);
  line-height: 1.9;
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- サイト共通CSSのリセット ---------- */
.cbs-lp * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.cbs-lp p,
.cbs-lp h1,
.cbs-lp h2,
.cbs-lp h3 {
  line-height: inherit;
  letter-spacing: normal;
}

.cbs-lp strong {
  color: inherit;
}

.cbs-lp a {
  color: inherit;
}

.cbs-lp ul,
.cbs-lp li {
  list-style: none;
}

.cbs-lp :focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}

.cbs-lp .wrap {
  max-width: 1000px;
  margin: 111px auto 0;
}

/* ---------- hero ---------- */
.cbs-lp .hero {
  background: linear-gradient(180deg, #FBF7EF 0%, var(--milk) 55%, #EFE4D1 100%);
  color: var(--espresso);
  border-bottom: 1px solid var(--line);
  padding: 25px 0 72px;
  position: relative;
  overflow: hidden;
}

.cbs-lp .hero::before { /* 湯気のシグネチャー：右肩から立ち上る3本の蒸気線 */
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 30%, transparent 58px, #7A4A2B 59px, transparent 61px),
    radial-gradient(circle at 88% 16%, transparent 44px, #7A4A2B 45px, transparent 47px),
    radial-gradient(circle at 74% 8%, transparent 34px, #7A4A2B 35px, transparent 37px);
}

.cbs-lp .eyebrow {
  display: inline-block;
  border: 1px solid var(--roast);
  color: var(--roast);
  font-size: 12px;
  letter-spacing: .28em;
  padding: 6px 16px;
  margin-bottom: 26px;
}

.cbs-lp .hero h1 {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 75px);
  line-height: 1.15;
  letter-spacing: .02em;
}

.cbs-lp .hero-logo {
  display: block;
  width: 480px;
  max-width: 100%;
  margin-bottom: 24px;
}

.cbs-lp .hero .lead {
  max-width: 750px;
  margin-top: 26px;
  font-size: 17px;
}

.cbs-lp .hero .dates {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cbs-lp .chip {
  border: 1px solid #C9A87F;
  padding: 8px 18px;
  font-size: 14px;
  letter-spacing: .08em;
  background: rgba(255, 253, 248, .7);
}

.cbs-lp .chip strong {
  color: var(--roast);
  font-weight: 700;
}

/* ---------- ページ内メニュー（FVの上・追従） ---------- */
.cbs-lp nav {
  clear: none;
  min-width: 0;
  background: none;
}

.cbs-lp .subnav {
  position: sticky;
  top: var(--site-header);
  z-index: 1;
  background: #FBF7EF; /* FVのグラデーション上端と同じ色 */
}

.cbs-lp .subnav ul {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--nav-orange);
  border-left: 1px solid var(--nav-orange);
}

.cbs-lp .subnav li {
  border-right: 1px solid var(--nav-orange);
  border-bottom: 1px solid var(--nav-orange);
}

.cbs-lp .subnav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 62px; /* グローバルナビ（64px）と縦幅を揃える：上下罫線1px×2＋62px */
  padding: 4px 8px;
  color: var(--espresso);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.cbs-lp .subnav br { /* SPのみ改行 */
  display: none;
}

.cbs-lp .subnav br.br-all { /* PCでも2行に収め、グローバルナビより縦に広がらないようにする */
  display: inline;
}

.cbs-lp .subnav a:hover {
  color: var(--copper);
}

/* ---------- sections ---------- */
.cbs-lp section {
  padding: 76px 0;
  scroll-margin-top: calc(var(--site-header) + 64px); /* 共通ヘッダー＋追従メニュー */
}

.cbs-lp section.sec-alt {
  background: var(--foam);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cbs-lp section h2 {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: .06em;
  line-height: 1.5;
  margin-bottom: 10px;
}

.cbs-lp .kicker {
  color: var(--copper);
  font-size: 12px;
  letter-spacing: .3em;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cbs-lp .kicker::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: var(--copper);
}

.cbs-lp .sec-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
}

/* 見出し直下に .sec-note がないブロックの余白 */
.cbs-lp .bg-grid,
.cbs-lp .faq,
.cbs-lp table {
  margin-top: 36px;
}

/* 背景 */
.cbs-lp .bg-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  align-items: start;
}

.cbs-lp .bg-text p {
  margin-bottom: 1.2em;
}

.cbs-lp .stat-card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-top: 4px solid var(--copper);
  padding: 30px 26px;
}

.cbs-lp .stat-card .num {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 900;
  font-size: 52px;
  color: var(--copper);
  line-height: 1;
}

.cbs-lp .stat-card .num small {
  font-size: 20px;
  color: var(--espresso);
}

.cbs-lp .stat-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.cbs-lp .stat-card p.label { /* 数値の上に表示する項目名 */
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--espresso);
}

.cbs-lp .stat-card + .stat-card {
  margin-top: 16px;
}

/* 出展対象＝メニューカード（点線リーダー） */
.cbs-lp .menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cbs-lp .menu-card {
  background: var(--foam);
  border: 1px solid var(--line);
  padding: 30px 28px 26px;
  position: relative;
}

.cbs-lp .menu-card::before { /* メニューカードの留め具 */
  content: "";
  position: absolute;
  top: -7px;
  left: 28px;
  width: 46px;
  height: 13px;
  background: var(--copper);
  border-radius: 2px 2px 6px 6px;
}

.cbs-lp .menu-card h3 {
  font-family: 'Zen Old Mincho', serif;
  font-size: 19px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--espresso);
  padding-bottom: 8px;
}

.cbs-lp .menu-card li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14.5px;
  padding: 5px 0;
}

.cbs-lp .menu-card li::after {
  content: "";
  order: 2;
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
}

.cbs-lp .menu-card li span {
  order: 3;
}

/* 来場対象 */
.cbs-lp .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cbs-lp .chips li {
  background: var(--foam);
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 2px;
}

/* 最後の項目：枠付きの項目名＋枠なしの「など」を横並びで1セットにする */
.cbs-lp .chips li.chips-etc {
  display: flex;
  align-items: flex-end; /* 「など」を枠の下のラインに揃える */
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  line-height: 1.7; /* 「など」の上下の余白をなくし、文字の下端を枠の下端に近づける */
}

.cbs-lp .chips li.chips-etc span {
  line-height: 1.9; /* 枠の高さは他の項目と同じに保つ */
  background: var(--foam);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 2px;
}

/* 商談内容 */
.cbs-lp .deal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.cbs-lp .deal li {
  background: var(--foam);
  border-left: 4px solid var(--roast);
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
}

/* 概要表 */
.cbs-lp table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  background: var(--foam);
  font-size: 15px;
  line-height: 1.9;
}

.cbs-lp th,
.cbs-lp td {
  border: 1px solid var(--line);
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}

.cbs-lp th {
  background: #EFE5D4;
  width: 180px;
  font-weight: 700;
  white-space: nowrap;
}

/* FAQ */
.cbs-lp .faq details {
  background: var(--foam);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.cbs-lp .faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  gap: 12px;
  list-style: none;
}

.cbs-lp .faq summary::-webkit-details-marker {
  display: none;
}

.cbs-lp .faq summary::before {
  content: "Q";
  font-family: 'Zen Old Mincho', serif;
  color: var(--copper);
  font-weight: 900;
}

.cbs-lp .faq .a {
  padding: 0 22px 20px 46px;
  font-size: 14.5px;
  color: #4A3A2E;
  position: relative;
}

.cbs-lp .faq .a::before {
  content: "A";
  position: absolute;
  left: 22px;
  top: 0;
  font-family: 'Zen Old Mincho', serif;
  color: var(--roast);
  font-weight: 900;
}

/* CTA */
.cbs-lp section.cta-band {
  background: #fff;
  text-align: center;
  padding: 70px 24px;
}

.cbs-lp .contact-box {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--espresso);
  padding: 48px 32px;
}

/* 出展のお問合せ／来場のご案内：PCは2カラム */
.cbs-lp .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.cbs-lp .contact-grid .contact-box {
  max-width: none;
  margin: 0;
}

/* 問合せボタンとTELボタンを同じ横幅にする（幅は広いほうに合わせる） */
.cbs-lp .cbs-btns {
  display: inline-grid;
}

.cbs-lp .cbs-btns .cbs-btn {
  display: block;
}

@media (min-width: 761px) {
  /* PC：見出し／本文／ボタンの各段を左右のボックスで共有し、ボタンの高さを揃える */
  .cbs-lp .contact-grid {
    grid-template-rows: repeat(3, auto);
    row-gap: 0;
  }

  .cbs-lp .contact-grid .contact-box {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 0;
    justify-items: center;
    align-items: start; /* ボタン段の高さ（出展側の2ボタン分）に引き伸ばさない */
    align-content: start;
  }
}

.cbs-lp .cta-band p {
  margin: 14px 0 30px;
  text-align: left;
}

.cbs-lp .cbs-btn {
  display: inline-block;
  background: var(--copper);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 18px 54px;
  font-size: 17px;
  letter-spacing: .1em;
  border-radius: 2px;
  transition: filter .2s;
}

.cbs-lp .cbs-btn:hover {
  filter: brightness(1.1);
}

.cbs-lp .cbs-btn.ghost {
  background: transparent;
  border: 1px solid var(--roast);
  color: var(--roast);
  font-size: 14px;
  padding: 12px 30px;
  margin-top: 18px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .cbs-lp .subnav ul {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 760px) {
  .cbs-lp .bg-grid,
  .cbs-lp .menu-grid,
  .cbs-lp .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 640px) {
  .cbs-lp {
    --site-header: 0px; /* SPのサイト共通ヘッダーは固定ではない */
    margin-top: 0;
  }

  .cbs-lp .wrap {
    max-width: 1000px;
    margin: 0 auto;
  }

  .cbs-lp .hero {
    padding: 40px 0 72px;
  }

  .cbs-lp section .wrap {
    padding: 0 10px;
  }

  .cbs-lp .subnav {
    position: static; /* 2段のメニューが画面を占有するためSPは追従させない */
  }

  /* SP：上段3列・下段4列（12分割で上段は4マス、下段は3マスずつ） */
  .cbs-lp .subnav ul {
    grid-template-columns: repeat(12, 1fr);
  }

  .cbs-lp .subnav li {
    grid-column: span 3;
  }

  .cbs-lp .subnav li:nth-child(-n+3) {
    grid-column: span 4;
  }

  .cbs-lp .subnav a {
    min-height: 48px;
    padding: 4px;
    font-size: 12px;
  }

  .cbs-lp .subnav br {
    display: inline;
  }

  .cbs-lp .hero h1 { /* 2行の見出しが単語の途中で折り返さないサイズ */
    font-size: 6.4vw;
  }

  .cbs-lp .hero::before { /* SPではロゴに重なるため非表示 */
    display: none;
  }

  .cbs-lp .eyebrow {
    letter-spacing: .08em;
  }

  .cbs-lp .contact-box {
    padding: 32px 16px;
  }

  .cbs-lp section {
    scroll-margin-top: 0;
  }

  .cbs-lp section .wrap { /* メニューより下のコンテンツの左右・下の余白 */
    padding: 0 10px 10px;
  }

  .cbs-lp th,
  .cbs-lp td {
    padding: 12px;
    font-size: 14px;
  }

  .cbs-lp th {
    width: 116px;
    white-space: normal;
  }

  .cbs-lp .cbs-btn {
    padding: 16px 28px;
    font-size: 16px;
  }
}
