@charset "UTF-8";
/*-----------------------------------------------------

  Lab CSS（おいしい×うごくLAB 講座ページ）
  [LastUpDate:2026.09.04]

  paguu.jp 全体のトーン（メインカラー #523e07 / アクセント #ffea45 /
  背景 #f8f7f4）に合わせつつ、子ども向け講座らしいポップな配色を
  ところどころに残しています。

  見出しフォントについて：
  本文・他の細かい見出しはサイト共通の Klee One のままですが、
  「おいしい×うごくLAB」のロゴタイプと、各セクションの大見出し
  （.lab-sec-tit）だけは、子ども向け講座に合う丸ゴシック体
  「M PLUS Rounded 1c」に変更しています（Google Fonts）。
  このファイルの中だけで完結しており、他ページには影響しません。

-----------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700;800;900&display=swap");

:root {
  --lab-main: #523e07;
  --lab-accent: #ffea45;
  --lab-bg: #f8f7f4;
  --lab-pink: #ff8fa3;
  --lab-mint: #3fb8a8;
  --lab-sky: #5aa9e6;

  /* セクションの背景色（章の区切りを分かりやすくするための交互配色）。
     すべてサイトカラーから作った淡いトーンで、黄色を主役に、
     白・淡いベージュ・淡い水色を交互に置いて隣り合う色が
     連続しないようにしている。 */
  --lab-tone-white: #ffffff;
  --lab-tone-yellow: #fff6d6;
  --lab-tone-yellow-strong: #ffe9a3;
  --lab-tone-sky: #eaf4fb;
  --lab-tone-beige: #f3ede0;

  /* 見出しの色付き囲み（チップ）用。黄色を主役に、オレンジ・水色・
     黄緑を補助的に、セクションごとに切り替えて使う。 */
  --lab-chip-yellow: #ffea45;
  --lab-chip-orange: #ffc266;
  --lab-chip-sky: #8ed3ef;
  --lab-chip-green: #c3e86b;
}

/*-----------------------------------------------------
  共通パーツ
-----------------------------------------------------*/
#wrapper .lab-section {
  padding: 0;
}

#wrapper .lab-section .inner {
  padding: 64px 0;
}

#wrapper .lab-section:first-of-type .inner {
  padding-top: 0;
}

#wrapper .lab-section + .lab-section {
  border-top: 1px solid rgba(82, 62, 7, 0.08);
}

.lab-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 0.35em 1.2em;
  border-radius: 999px;
  background: var(--lab-accent);
  color: var(--lab-main);
  font-family: "Klee One";
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* 見出しは「色付きの囲み」に文字を乗せる形にして、セクションの
   区切りを一目で分かるようにしている。囲みの色はセクションごとに
   下の各セクションのブロックで指定（黄色を主役に、オレンジ・
   水色・黄緑を補助的にローテーション）。文字色はどの色の上でも
   コントラストが取れるメインカラー（茶色）で統一。 */
.lab-sec-tit {
  display: inline-block;
  margin: 0 0 36px;
  padding: 0.6em 1.15em;
  border-radius: 20px;
  color: var(--lab-main);
  background: var(--lab-chip-yellow);
  font-family: "M PLUS Rounded 1c", "Klee One", sans-serif;
  font-weight: 800;
  line-height: 1.4;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 0 rgba(82, 62, 7, 0.08);
}

.lab-sec-tit .small {
  display: block;
  margin-top: 8px;
  font-size: 0.5em;
  font-weight: 700;
  opacity: 0.85;
}

.lab-lead {
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 2;
  text-align: left;
}

@media only screen and (min-width: 768px) {
  #wrapper .lab-section .inner { padding: 96px 0; }
  .lab-sec-tit { font-size: 2.2rem; margin-bottom: 44px; padding: 0.6em 1.3em; }
}

@media only screen and (min-width: 1024px) {
  .lab-sec-tit { font-size: 2.5rem; }
}

/*-----------------------------------------------------
  1. メインビジュアル
  画像を大きく見せてから、ロゴタイプ「おいしい×うごくLAB」を
  主役として最大サイズで表示し、副題は控えめに添える構成。
-----------------------------------------------------*/
.lab-hero { background: var(--lab-tone-white); }
.lab-hero .inner { padding-top: 0; padding-bottom: 40px; text-align: center; }

.lab-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.lab-hero-badges li {
  padding: 0.4em 1em;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid var(--lab-main);
  color: var(--lab-main);
  font-size: 0.8rem;
  font-weight: 600;
}

.lab-hero-visual {
  margin: 0 0 28px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(82, 62, 7, 0.15);
}

.lab-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.lab-logo-type {
  margin: 0 0 14px;
  color: var(--lab-main);
  font-family: "M PLUS Rounded 1c", "Klee One", sans-serif;
  font-weight: 900;
  line-height: 1.15;
  font-size: 2.9rem;
  letter-spacing: 0.01em;
}

.lab-logo-type .cross {
  display: inline-block;
  margin: 0 0.05em;
  color: var(--lab-accent);
  -webkit-text-stroke: 2px var(--lab-main);
}

.lab-hero-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: var(--lab-main);
  line-height: 1.9;
  font-size: 0.95rem;
  font-weight: 600;
}

@media only screen and (min-width: 768px) {
  .lab-logo-type { font-size: 4.6rem; margin-bottom: 18px; }
  .lab-hero-subtitle { font-size: 1.15rem; }
}

@media only screen and (min-width: 1024px) {
  .lab-hero-visual { max-width: 1000px; margin-left: auto; margin-right: auto; }
  .lab-logo-type { font-size: 5.6rem; }
  .lab-hero-subtitle { font-size: 1.25rem; }
}

/*-----------------------------------------------------
  2. キャッチコピー＋講座概要＋CTA
-----------------------------------------------------*/
.lab-intro { background: var(--lab-tone-sky); }
.lab-intro .lab-sec-tit { background: var(--lab-chip-yellow); }
.lab-intro .inner { text-align: center; }
.lab-intro .lab-lead { text-align: center; }
.lab-intro .lab-note,
.lab-closing .lab-note {
  margin-top: 18px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/*-----------------------------------------------------
  CTA ボタン（.btn-rounded_accent を流用。文言だけこのページ用）
-----------------------------------------------------*/
.lab-cta-row { margin-top: 8px; }
.lab-cta-row + .lab-cta-row { margin-top: 16px; }

/* お申し込みフォーム（メインCTA）：LINEボタン（サブ・枠線のみ）より
   大きく、濃い色の塗りで目立たせる。スマホでも押しやすい高さを確保 */
.btn-rounded_accent.lab-btn-apply a {
  min-height: 64px;
  border-color: var(--lab-main);
  background: var(--lab-main);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(82, 62, 7, 0.3);
  font-size: 4.6vw;
}

@media only screen and (min-width: 414px) {
  .btn-rounded_accent.lab-btn-apply a { font-size: 1.9rem; }
}

@media only screen and (min-width: 768px) {
  .btn-rounded_accent.lab-btn-apply a {
    min-height: 76px;
    border-radius: 38px;
    font-size: 2.2rem;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1365px) {
  .btn-rounded_accent.lab-btn-apply a { font-size: 1.75vw; }
}

@media only screen and (min-width: 1366px) {
  .btn-rounded_accent.lab-btn-apply a { font-size: 2.2rem; }
}

@media only screen and (min-width: 1024px) {
  .btn-rounded_accent.lab-btn-apply a:hover {
    border-color: var(--lab-accent);
    background: var(--lab-accent);
    color: var(--lab-main);
  }
}

/*-----------------------------------------------------
  3. 開催概要
-----------------------------------------------------*/
.lab-overview { background: var(--lab-tone-white); }
.lab-overview .lab-sec-tit { background: var(--lab-chip-orange); }
.lab-overview .inner { max-width: 760px; }

.lab-overview-box {
  border: 2px solid var(--lab-accent);
  border-radius: 20px;
  background: #ffffff;
  padding: 28px 20px;
  text-align: left;
}

.lab-overview-notice {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--lab-bg);
  color: var(--lab-main);
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}

.lab-overview-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  margin: 0 0 24px;
}

.lab-overview-table dt {
  font-family: "Klee One";
  font-weight: 600;
  color: var(--lab-main);
  white-space: nowrap;
}

.lab-overview-table dd { line-height: 1.7; }

.lab-overview-table dd .small {
  display: block;
  font-size: 0.85em;
  opacity: 0.8;
}

.lab-overview .lab-cta-row { text-align: center; }

@media only screen and (min-width: 768px) {
  .lab-overview-box { padding: 40px; }
}

/*-----------------------------------------------------
  4. こんな悩みはありませんか？
-----------------------------------------------------*/
.lab-worries { background: var(--lab-tone-yellow); }
.lab-worries .lab-sec-tit { background: var(--lab-chip-sky); }

.lab-worries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
  text-align: left;
}

.lab-worries-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(82, 62, 7, 0.06);
  line-height: 1.8;
}

.lab-worries-grid li::before {
  content: "?";
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lab-pink);
  color: #ffffff;
  font-weight: 700;
  font-family: "Klee One";
}

.lab-worries-visual {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.lab-worries-visual img { display: block; width: 100%; height: auto; }

@media only screen and (min-width: 768px) {
  .lab-worries-grid { grid-template-columns: 1fr 1fr; }
}

/*-----------------------------------------------------
  5. AIの時代だけれど…
-----------------------------------------------------*/
.lab-ai-safety { background: var(--lab-tone-beige); }
.lab-ai-safety .lab-sec-tit { background: var(--lab-chip-green); }

.lab-ai-safety-visual {
  max-width: 640px;
  margin: 0 auto 28px;
  border-radius: 16px;
  overflow: hidden;
}

.lab-ai-safety-visual img { display: block; width: 100%; height: auto; }

.lab-ai-safety .lab-lead p { margin-bottom: 1.4em; }
.lab-ai-safety .lab-lead p:last-child { margin-bottom: 0; }

.lab-ai-safety .lab-highlight {
  padding: 16px 18px;
  border-radius: 12px;
  background: #ffffff;
  border-left: 4px solid var(--lab-accent);
}

/*-----------------------------------------------------
  6. その悩みを解決するのが「おいしい×うごくLAB」
-----------------------------------------------------*/
.lab-solution { background: var(--lab-tone-sky); }
.lab-solution .lab-sec-tit { background: var(--lab-chip-yellow); }
.lab-solution .lab-lead { text-align: center; }

.lab-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: left;
}

.lab-step {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(82, 62, 7, 0.08);
}

.lab-step-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.lab-step-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lab-step-body { padding: 20px; }

.lab-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--lab-main);
  color: var(--lab-accent);
  font-family: "Klee One";
  font-weight: 600;
}

.lab-step-body h3 {
  margin: 0 0 10px;
  font-family: "Klee One";
  font-weight: 600;
  color: var(--lab-main);
  font-size: 1.15rem;
  line-height: 1.5;
}

.lab-step-body p { line-height: 1.8; margin: 0; }

@media only screen and (min-width: 768px) {
  .lab-steps { grid-template-columns: repeat(3, 1fr); }
}

/*-----------------------------------------------------
  7. 講師紹介
-----------------------------------------------------*/
.lab-instructors { background: var(--lab-tone-white); }
.lab-instructors .lab-sec-tit { background: var(--lab-chip-orange); }

.lab-instructors-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 32px;
}

.lab-instructors-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.lab-instructor-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}

.lab-instructor-card {
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(82, 62, 7, 0.08);
}

.lab-instructor-card .role {
  display: inline-block;
  margin-bottom: 10px;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.lab-instructor-card.cooking .role { background: var(--lab-mint); }
.lab-instructor-card.video .role { background: var(--lab-sky); }

.lab-instructor-card h3 {
  margin: 0 0 4px;
  font-family: "Klee One";
  font-weight: 600;
  color: var(--lab-main);
  font-size: 1.2rem;
}

.lab-instructor-card .org {
  margin: 0 0 14px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.lab-instructor-card p { line-height: 1.8; margin: 0; }

@media only screen and (min-width: 768px) {
  .lab-instructors-visual { grid-template-columns: 1fr 1fr; }
  .lab-instructor-cards { grid-template-columns: 1fr 1fr; }
}

/*-----------------------------------------------------
  8. この講座で得られること
-----------------------------------------------------*/
.lab-benefits { background: var(--lab-tone-yellow); }
.lab-benefits .lab-sec-tit { background: var(--lab-chip-sky); }

.lab-benefits-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
}

.lab-benefits-list li {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(82, 62, 7, 0.06);
}

.lab-benefits-list .num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lab-accent);
  color: var(--lab-main);
  font-family: "Klee One";
  font-weight: 700;
}

.lab-benefits-list h3 {
  margin: 0 0 6px;
  font-family: "Klee One";
  font-weight: 600;
  color: var(--lab-main);
  font-size: 1.05rem;
  line-height: 1.6;
}

.lab-benefits-list p { margin: 0; line-height: 1.8; }

@media only screen and (min-width: 768px) {
  .lab-benefits-list { grid-template-columns: 1fr 1fr; }
}

/*-----------------------------------------------------
  9. 参加した親御さんの声
-----------------------------------------------------*/
.lab-voices { background: var(--lab-tone-beige); }
.lab-voices .lab-sec-tit { background: var(--lab-chip-green); }

.lab-voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  text-align: left;
}

.lab-voice {
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(82, 62, 7, 0.08);
}

.lab-voice .stars {
  color: var(--lab-accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.lab-voice p.comment {
  line-height: 1.9;
  margin: 0 0 14px;
}

.lab-voice .attr {
  font-size: 0.85rem;
  color: var(--lab-main);
  font-weight: 600;
}

@media only screen and (min-width: 768px) {
  .lab-voices-grid { grid-template-columns: repeat(3, 1fr); }
}

/*-----------------------------------------------------
  10. よくあるご質問
-----------------------------------------------------*/
.lab-faq { background: var(--lab-tone-white); }
.lab-faq .lab-sec-tit { background: var(--lab-chip-yellow); }

.lab-faq-list { text-align: left; }

.lab-faq-item {
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(82, 62, 7, 0.06);
  margin-bottom: 14px;
  overflow: hidden;
}

.lab-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  font-family: "Klee One";
  font-weight: 600;
  color: var(--lab-main);
  line-height: 1.6;
  position: relative;
}

.lab-faq-item summary::-webkit-details-marker { display: none; }

.lab-faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--lab-accent);
  color: var(--lab-main);
  font-size: 0.8rem;
  vertical-align: middle;
}

.lab-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 1.3rem;
  color: var(--lab-main);
  transition: transform 0.2s;
}

.lab-faq-item[open] summary::after { transform: rotate(45deg); }

.lab-faq-item .a {
  padding: 0 20px 20px 20px;
  line-height: 1.9;
}

.lab-faq-item .a::before { content: "A. "; font-weight: 700; color: var(--lab-main); }

/*-----------------------------------------------------
  11. 申込者限定の特典
-----------------------------------------------------*/
.lab-gift { background: var(--lab-tone-sky); }
.lab-gift .lab-sec-tit { background: var(--lab-chip-orange); }

.lab-gift-box {
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 28px 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 2px dashed var(--lab-main);
  text-align: center;
}

.lab-gift-box .gift-icon { font-size: 2.4rem; display: block; margin-bottom: 10px; }
.lab-gift-box p { line-height: 1.9; margin: 0; }

.lab-video-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.lab-video-wrap .video-frame {
  position: relative;
  width: 100%;
  padding-top: 177.77%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.lab-video-wrap .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lab-video-wrap p.caption {
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.75;
}

/*-----------------------------------------------------
  12. 締めのメッセージ＋CTA
-----------------------------------------------------*/
.lab-closing { background: var(--lab-tone-yellow-strong); }
.lab-closing .lab-sec-tit {
  background: #ffffff;
  box-shadow: 0 6px 0 rgba(82, 62, 7, 0.15);
}
.lab-closing .inner { max-width: 760px; text-align: center; }
.lab-closing .lab-lead { text-align: center; }

.lab-closing-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.lab-closing-badges li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 220px;
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(82, 62, 7, 0.06);
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.7;
}

.lab-closing-badges li .icon { flex: none; font-size: 1.2rem; }

.lab-closing-notes {
  margin-top: 16px;
  font-size: 0.8rem;
  line-height: 1.9;
  opacity: 0.8;
}

.lab-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em 1.5em;
  margin-top: 20px;
  font-size: 0.85rem;
}

.lab-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media only screen and (min-width: 768px) {
  .lab-closing-badges li { max-width: 260px; }
}

/*-----------------------------------------------------

  アニメーション
  [子どもが見て楽しい4箇所だけに動きを付ける。他は静かなまま]

  ① ヒーローのロゴタイプ … 読み込み時にバウンドして登場
  ② 悩みカード6枚 … スクロールで下からふわっと、0.1秒ずつずらして
  ③ 3ステップ … スクロールで1→2→3の順に、数字がスタンプのように
  ④ CTAボタン … ゆっくり控えめに拡大縮小をくり返す

  スクロール検知は js/lab.js で jquery.inview（index.htmlと同じ
  プラグイン）を使い、対象要素に is-inview クラスを付けている。
  JSが動かない場合や prefers-reduced-motion の場合でも本文が
  読めなくなることがないよう、初期状態は「表示済み」を基本にし、
  アニメーション用の非表示状態は html.lab-js-anim が付いたときだけ
  有効になるようにしている（js/lab.js が prefers-reduced-motion を
  見て、必要な場合はこのクラスを付けない）。

-----------------------------------------------------*/

/* ① ヒーローロゴのバウンドイン */
@keyframes lab-anim-logo-bounce {
  0%   { opacity: 0; transform: translateY(-26px) scale(0.85); }
  55%  { opacity: 1; transform: translateY(6px) scale(1.06); }
  78%  { transform: translateY(-3px) scale(0.98); }
  100% { transform: translateY(0) scale(1); }
}

html.lab-js-anim .lab-logo-type {
  animation: lab-anim-logo-bounce 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* ② 悩みカード：下からふわっと、0.1秒ずつずらして表示 */
html.lab-js-anim .lab-worries-grid li {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.lab-js-anim .lab-worries-grid.is-inview li {
  opacity: 1;
  transform: translateY(0);
}

html.lab-js-anim .lab-worries-grid.is-inview li:nth-child(1) { transition-delay: 0s; }
html.lab-js-anim .lab-worries-grid.is-inview li:nth-child(2) { transition-delay: 0.1s; }
html.lab-js-anim .lab-worries-grid.is-inview li:nth-child(3) { transition-delay: 0.2s; }
html.lab-js-anim .lab-worries-grid.is-inview li:nth-child(4) { transition-delay: 0.3s; }
html.lab-js-anim .lab-worries-grid.is-inview li:nth-child(5) { transition-delay: 0.4s; }
html.lab-js-anim .lab-worries-grid.is-inview li:nth-child(6) { transition-delay: 0.5s; }

/* ③ 3ステップ：1→2→3の順に、数字がスタンプのように出て収まる */
@keyframes lab-anim-stamp {
  0%   { opacity: 0; transform: scale(0.5); }
  60%  { opacity: 1; transform: scale(1.18); }
  80%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}

html.lab-js-anim .lab-steps .lab-step {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.lab-js-anim .lab-steps.is-inview .lab-step {
  opacity: 1;
  transform: translateY(0);
}

html.lab-js-anim .lab-steps.is-inview .lab-step:nth-child(1) { transition-delay: 0s; }
html.lab-js-anim .lab-steps.is-inview .lab-step:nth-child(2) { transition-delay: 0.3s; }
html.lab-js-anim .lab-steps.is-inview .lab-step:nth-child(3) { transition-delay: 0.6s; }

html.lab-js-anim .lab-steps .lab-step-num { opacity: 0; }

html.lab-js-anim .lab-steps.is-inview .lab-step:nth-child(1) .lab-step-num {
  animation: lab-anim-stamp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
html.lab-js-anim .lab-steps.is-inview .lab-step:nth-child(2) .lab-step-num {
  animation: lab-anim-stamp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s both;
}
html.lab-js-anim .lab-steps.is-inview .lab-step:nth-child(3) .lab-step-num {
  animation: lab-anim-stamp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s both;
}

/* ④ CTAボタン：控えめな拡大縮小のくり返し（ボタン本体ではなく
   外側のブロックを動かすので、内側の a のホバー演出とは干渉しない） */
@keyframes lab-anim-cta-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}

.lab-cta-row .btn-rounded_accent {
  transform-origin: center;
}

html.lab-js-anim .lab-cta-row .btn-rounded_accent {
  animation: lab-anim-cta-pulse 2.6s ease-in-out infinite;
}

/* 動きを減らす設定のユーザーには、すべてのアニメーションを止めて
   最終状態（見える状態）をそのまま表示する */
@media (prefers-reduced-motion: reduce) {
  .lab-logo-type,
  .lab-worries-grid li,
  .lab-steps .lab-step,
  .lab-steps .lab-step-num,
  .lab-cta-row .btn-rounded_accent {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/*-----------------------------------------------------
  1.5 体験ブース出店のお知らせ（マルシェ等の一時的な告知）
  主役は本講座なので、ボタンは置かず、文字サイズも控えめ。
  ハロウィンらしさはオレンジの点線枠と紫のラベルで添える。
  表示切り替えは data/lab.json の marche.status（js/render.js）。
-----------------------------------------------------*/
[data-lab-marche][hidden] { display: none !important; }

.lab-marche { background: var(--lab-tone-white); }
.lab-marche .inner { max-width: 640px; }

.lab-marche-box {
  border: 2px dashed #f08a24;
  border-radius: 16px;
  background: #fff8ef;
  padding: 20px 18px;
  text-align: left;
}

.lab-marche-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin: 0 0 10px;
  padding: 0.25em 0.9em;
  border-radius: 999px;
  background: #5b3f8c;
  color: #ffffff;
  font-family: "Klee One";
  font-weight: 600;
  font-size: 1.2rem;
}

.lab-marche-tit {
  margin: 0 0 10px;
  color: var(--lab-main);
  font-family: "M PLUS Rounded 1c", "Klee One", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.5;
}

.lab-marche-desc {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.8;
}

.lab-marche-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 1.35rem;
}

.lab-marche-table dt {
  font-family: "Klee One";
  font-weight: 600;
  color: #c0661a;
  white-space: nowrap;
}

.lab-marche-table dd { line-height: 1.6; }

.lab-marche-table dd .small {
  display: block;
  font-size: 0.85em;
  opacity: 0.8;
}

.lab-marche-link {
  margin: 14px 0 0;
  text-align: center;
  font-size: 1.3rem;
}

.lab-marche-link a {
  color: var(--lab-main);
  text-decoration: underline;
}

@media only screen and (min-width: 768px) {
  .lab-marche-box { padding: 28px 32px; }
  .lab-marche-tit { font-size: 1.9rem; }
}

/*-----------------------------------------------------
  13. 過去のイベント（marche.status が "past" のときだけ表示）
-----------------------------------------------------*/
#wrapper .lab-past-events .inner { padding: 32px 0; }

.lab-past-tit {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--lab-main);
}

.lab-past-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.8;
}

/*-----------------------------------------------------
  ヒーロー直下の申し込みボタン
-----------------------------------------------------*/
.lab-hero-cta { margin-top: 28px; }

.lab-next-link {
  margin: 18px 0 0;
  text-align: center;
  font-size: 1.3rem;
}

.lab-next-link a {
  color: var(--lab-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*-----------------------------------------------------
  スマホ用：画面下に固定する申し込みボタン（767px以下のみ）
  ページ内の申し込みボタンやフッターが見えている間は
  js/lab.js が .is-show を外して画面外へ下げる。
-----------------------------------------------------*/
.lab-fixed-cta { display: none; }

@media only screen and (max-width: 767px) {
  .lab-fixed-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -4px 14px rgba(82, 62, 7, 0.12);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }

  .lab-fixed-cta.is-show {
    transform: translateY(0);
    visibility: visible;
  }

  .lab-fixed-cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    border-radius: 28px;
    background: var(--lab-main);
    color: #ffffff;
    font-family: "Klee One";
    font-weight: 700;
    font-size: 1.7rem;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-fixed-cta { transition: none; }
}
