/* [テーマ組み込み版] 元データ: new_html/creins-tikusan-lp/assets/css/base.css
   変更点は spec_creins.md の 6章を参照（仮ヘッダー・フッター・スキップリンクのCSS削除、リセットの範囲限定、画像パス変更） */
/* ===================================================
   クリアンス 畜産向け LP — design tokens / reset / shared parts
   トークン値は Figma（fileKey XuoCeuo5tm3gWbi1HNXN1y）の実測値。
   1種目（src/creins-lp）の base.css を出発点に、畜産版のティール系の値を追加している。
   =================================================== */

:root {
  /* ---------- color（Figma variables） ---------- */
  --color-bg-page: #ffffff;
  --color-bg-footer: #101b4b;

  --color-text-heading: #084d9f;
  --color-text-body: #333333;
  --color-text-muted: #5f6a75;
  --color-text-secondary: #556270;
  --color-text-accent: #0f6fae;
  --color-text-inverse: #ffffff;
  --color-text-inverse-muted: #d6e4f5;
  --color-text-bad: #b03030;

  --color-brand-primary: #5bc3ec;
  --color-brand-primary-deep: #084d9f;

  --color-border-default: #d9e7f1;
  --color-border-strong: #c2d6e5;
  --color-border-action: #0f6fae;
  --color-border-on-dark-subtle: #ffffff3d;
  --color-border-on-dark-muted: rgba(255, 255, 255, 0.4);

  --color-cta-start: #d92c5e;
  --color-cta-end: #c2410c;

  --color-chart-high: #2ca6e0;
  --color-chart-mid: #8cc9e6;
  --color-chart-low: #2b5ea8;
  --color-chart-track: #d4dfed;

  /* Google フォーム（color/gform/*） */
  --color-gform-required: #d93025;
  --color-gform-bg: #f0ebf8;
  /* [テーマ組み込み時の追加] 独自デザインのフォーム用（/creins/ の base.css と同じ値：2026-11-05） */
  --color-gform-theme: #673ab7;
  --color-gform-on-theme: #ffffff;
  --color-gform-text: #202124;
  --color-gform-text-secondary: #70757a;
  --color-gform-card: #ffffff;
  --color-gform-border: #dadce0;
  --color-gform-control: #5f6368;

  /* 畜産版のティール系（Figma のレイヤーに直書きされている色。変数未定義のため実測値で追加） */
  --color-teal-deep: #278184;          /* 見出し・CardHeader・比較表クリアンス列ヘッダ */
  --color-teal: #3baeb0;               /* FAQ カテゴリ・アイコン・ティールグラデ開始 */
  --color-teal-head: #61aeb0;          /* 比較表ヘッダ */
  --color-teal-num: #97dcd5;           /* Card/Info の番号・Dot・Card/Feature 枠 */
  --color-teal-num-light: #aae1e3;     /* Card/Reason の番号・Card/Step 枠 */
  --color-teal-tag: #d4ede3;           /* Timeline タグ・Card/Science 番号 */
  --color-teal-th: #dbe8e8;            /* Regulation の Th 背景・SourceLabel 文字 */
  --color-teal-border: #d1eaeb;        /* RegulationCard・Timeline・PhChart の枠 */
  --color-teal-row: #f0f8f8;           /* Regulation 行罫・比較表クリアンス列 */
  --color-bg-teal-subtle: #eaf2f2;     /* Problem / Product / Scenes / Comparison / Flow / FAQ の背景 */
  --color-bg-note: #feffe0;            /* Alert・Result の背景 */
  --color-tag-now: #fff2a0;            /* Timeline「Now」タグ */
  --color-card-border-light: #9ed6ee;  /* Card/Reason の枠 */
  --color-stat-highlight: #fdffa0;     /* GoalBanner の強調文字・FloatingCTA 背景 */
  --color-secondary-start: #feffe0;    /* Button/Secondary グラデ開始 */
  --color-secondary-end-hero: #c4ebfa; /* Hero の Button/Secondary グラデ終端 */
  --color-secondary-end-cta: #d3feff;  /* CTA の Button/Secondary グラデ終端 */
  --color-floating-border: #ffd268;    /* FloatingCTA 枠 */

  /* ---------- gradient ---------- */
  --gradient-cta: linear-gradient(to right, var(--color-cta-start), var(--color-cta-end));
  --gradient-secondary-hero: linear-gradient(to right, var(--color-secondary-start), var(--color-secondary-end-hero));
  --gradient-secondary-cta: linear-gradient(to right, var(--color-secondary-start), var(--color-secondary-end-cta));
  --gradient-banner: linear-gradient(to right, var(--color-brand-primary), var(--color-brand-primary-deep));
  --gradient-hero-fade: linear-gradient(to right, var(--color-bg-page) 28.365%, transparent);
  --gradient-hero-fade-sp: linear-gradient(to bottom, var(--color-bg-page) 28.365%, transparent);
  --gradient-banner-fade: linear-gradient(to right, var(--color-bg-page) 70.607%, transparent);
  --gradient-teal-pc: linear-gradient(157.11deg, var(--color-teal) 14.286%, var(--color-teal-deep) 85.714%);
  --gradient-teal-sp: linear-gradient(125.66deg, var(--color-teal) 14.286%, var(--color-teal-deep) 85.714%);
  --gradient-goal-pc: linear-gradient(165.33deg, var(--color-teal) 14.286%, var(--color-teal-deep) 85.714%);
  --gradient-goal-sp: linear-gradient(136.79deg, var(--color-teal) 14.286%, var(--color-teal-deep) 85.714%);
  --gradient-reasons-glow: radial-gradient(closest-side, var(--color-brand-primary), transparent);

  /* ---------- space（space/*） ---------- */
  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --space-120: 120px;

  /* ---------- radius / border ---------- */
  --radius-2: 2px;
  --radius-4: 4px;
  --radius-8: 8px;
  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;
  --radius-32: 32px;
  --radius-full: 999px;
  --border-1: 1px;
  --border-2: 2px;

  /* ---------- typography ---------- */
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --font-latin: 'Montserrat', var(--font-jp);

  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-22: 22px;   /* CTA 見出し（SP） */
  --fs-24: 24px;
  --fs-26: 26px;   /* Alert「!」（PC 25.973） */
  --fs-27: 27px;   /* Hero バッジ「100」（SP） */
  --fs-30: 30px;   /* Hero h1 2 行目（SP） */
  --fs-32: 32px;
  --fs-34: 34px;
  --fs-hero-lead-pc: 44.064px;   /* Hero h1 1 行目（PC） */
  --fs-hero-title-pc: 62.208px;  /* Hero h1 2 行目（PC） */
  --fs-badge-label-pc: 15.741px; /* Hero バッジ見出し（PC） */
  --fs-badge-note-pc: 12.037px;  /* Hero バッジ「（CLOX社調べ）」（PC） */
  --fs-badge-num-pc: 52.593px;   /* Hero バッジ「100」（PC） */
  --fs-badge-unit-pc: 26.296px;  /* Hero バッジ「ヶ所 以上」（PC） */
  --fs-banner-pc: 19.122px;      /* Hero バナー文字（PC） */
  --fs-chart-title-pc: 25.6px;
  --fs-chart-sub: 17.92px;
  --fs-chart-label: 18.123px;

  --lh-100: 1;
  --lh-110: 1.1;
  --lh-120: 1.2;
  --lh-135: 1.35;
  --lh-140: 1.4;
  --lh-145: 1.45;
  --lh-150: 1.5;
  --lh-154: 1.54;
  --lh-155: 1.55;
  --lh-160: 1.6;
  --lh-169: 1.69;
  --lh-170: 1.7;
  --lh-175: 1.75;
  --lh-185: 1.85;

  /* Figma の letterSpacing（% of font size）を em に換算 */
  --ls-1: 0.01em;
  --ls-2: 0.02em;
  --ls-4: 0.04em;
  --ls-5: 0.05em;
  --ls-6: 0.06em;
  --ls-8: 0.08em;
  --ls-12: 0.12em;
  --ls-16: 0.16em;

  /* ---------- shadow ---------- */
  --shadow-card: 0 12px 32px rgba(8, 77, 159, 0.08);
  --shadow-cta: 0 10px 24px rgba(217, 44, 94, 0.28);
  --shadow-float: 0 20px 42px rgba(8, 77, 159, 0.14);
  --shadow-header: 0 8px 28px rgba(8, 77, 159, 0.06);
  --shadow-floating-cta: 0 10px 24px rgba(217, 145, 44, 0.28);
  --shadow-chart: 0 13.496px 17.994px rgba(8, 77, 159, 0.08);

  /* ---------- layout ---------- */
  --content-w: 1024px;
  --content-w-wide: 1200px;
  --gutter: var(--space-20);
  --floating-cta-h-sp: 84px;  /* 画面下の固定 CTA バー高さ（上下余白 12×2 + CONTACT 21.6 + 本文 2 行 36 + 枠 1×2 ≒ 84）。450px 以下で使用 */
  --focus-ring: 3px solid var(--color-text-accent);
  --focus-ring-on-dark: 3px solid var(--color-text-inverse); /* ティール帯・フッター上で 3:1 以上を確保 */
  --tap-min: 44px;           /* UD: タップ領域の最小寸法 */

  /* ---------- section spacing（Figma 実測値。space/* に無い値のみ。±4px 以内の差は既存トークンに丸めている） ---------- */
  --space-section-84: 84px;     /* PC Reasons/UseCases/Scenes/Science: ラベル top 83〜87 − セクション top / Science 下端 85 */
  --space-section-88: 88px;     /* PC Problem: ラベル top 980 − 889 = 91 */
  --space-section-112: 112px;   /* PC Regulation 下端 111 / UseCases 下端 115 / Comparison 下端 115 */
  --space-section-130: 130px;   /* PC Regulation/Comparison/FAQ: ラベル top 128〜132 / Scenes 下端 131 */
  --space-section-144: 144px;   /* PC Flow 下端 683 − 540 = 143 */
  --space-section-160: 160px;   /* PC Reasons 下端 816 − 656 */
  --space-problem-bottom-pc: 210px; /* PC Problem: セクション下端 1086 − Alert 下端 876（写真の見える帯） */
  --space-problem-bottom-sp: 82px;  /* SP Problem pb-82 */
  --space-problem-gap-sp: 18px;     /* SP Problem gap-18 */
  --space-hero-top-sp: 32px;        /* SP Hero: h1 top 32 */
  --space-hero-top-pc: 71px;        /* PC Hero: h1 top 154 − Header 83 */
  --space-hero-bottom-pc: 51px;     /* PC Hero: 下端 889 − Notice 下端 838 */
  --space-hero-title-gap-sp: 6px;   /* SP h1: 2 行目 top 67 − 1 行目下端 61 */
  --space-hero-title-gap-pc: 10px;  /* PC h1: 2 行目 top 228.5 − 1 行目下端 218 */
  --space-hero-lead-sp: 23px;       /* SP Lead top 171 − h1 下端 148 */
  --space-hero-lead-pc: 36px;       /* PC Lead top 433 − h1 下端 396.5 */
  --space-hero-actions-sp: 17px;    /* SP Actions top 323 − Lead 下端 306 */
  --space-hero-actions-pc: 37px;    /* PC Buttons top 578 − Lead 下端 541 */
  --space-hero-note-sp: 18px;       /* SP CtaNote top 386 − Actions 下端 368 */
  --space-hero-photo-sp: 46px;      /* SP HeroImage top 476 − CtaNote 下端 430 */
  --space-hero-notice-sp: 18px;     /* SP ProductNotice top 717 − HeroImage 下端 699 */
  --space-hero-notice-pc: 27px;     /* PC Notice top 737 − CtaNote 下端 710 */
  --space-hero-notice-y-pc: 13px;   /* PC Notice: LabelTitle top 750 − 737 */
  --space-hero-notice-x-pc: 23px;   /* PC Notice: LabelTitle left 231 − 208 */
  --space-hero-btn-gap-sp: 7px;     /* SP Actions gap-7 */
  --space-hero-btn-gap-pc: 16.5px;  /* PC Button/Secondary left 462.5 − Primary 右端 446 */
  --space-banner-x-sp: 8.5px;       /* SP Banner: ImageMask left 177.46 − 169 */
  --space-banner-y-sp: 6px;         /* SP Banner: ImageMask top 628.94 − 623 */
  --space-banner-x-pc: 10px;        /* PC Group 21: Mask left 1143.21 − 1133 */
  --space-banner-y-pc: 7px;         /* PC Group 21: Mask top 744.17 − 737 */
  --space-product-x-pc: 56px;       /* PC ProductCard: Paragraph left 263 − 207 */
  --space-product-label-x-pc: 8px;  /* PC ProductCard: Title left 271 − Paragraph left 263 */
  --space-product-desc-pc: 36px;    /* PC Paragraph1 top 3661 − Title 下端 3625 */
  --space-product-para-pc: 15px;    /* PC Paragraph2 top 3780 − Paragraph1 下端 3765 */
  --space-product-feature-gap-pc: 18px; /* PC Rectangle 22 left 502 − 21 右端 484 */
  --space-feature-title-h-pc: 81px;     /* PC 特長カード: Title 3 行分の高さ */
  --space-feature-body-pc: 17px;        /* PC 特長カード: Body top 4076 − Title 領域下端 4059 */
  --space-reason-num-pc: 22px;      /* PC Reasons: Num top 4720 − Card top 4698 */
  --space-reason-title-pc: 7px;     /* PC Reasons: Title top 4763 − Num 下端 4756 */
  --space-reason-body-pc: 19px;     /* PC Reasons: Body top 4838 − Title 下端 4819 */
  --space-reason-x-pc: 42px;        /* PC Reasons: Title left 251 − Card left 209 */
  --space-reason-gap-pc: 14px;      /* PC Reasons: Card 25 left 554 − Card 8 右端 541 = 13〜14 */
  --space-usecase-num-pc: 27px;     /* PC UseCases: Num top 27 */
  --space-usecase-body-pc: 47px;    /* PC UseCases: Body top 162 − Title 領域下端 115 */
  --space-goal-y-pc: 46px;          /* PC GoalBanner: Title top 46 */
  --space-goal-bottom-pc: 45px;     /* PC GoalBanner: 高さ 201 − Body 下端 156 */
  --space-scene-title-pc: 23px;     /* PC Card/Photo: Title top 223 − 画像下端 200 */
  --space-science-head-x-pc: 28px;  /* PC Card/Science: 番号 left 28 */
  --space-science-body-bottom-pc: 45px; /* PC Card/Science: Body 高さ 192 − 本文下端 147 */
  --space-science-chart-top-pc: 93px;   /* PC PhChart top 785 − 説明見出し top 692 */
  --space-compare-sub-pc: 22px;     /* PC Comparison: 注記 top 934 − 表下端 912 */
  --space-regulation-x-pc: 45px;    /* PC RegulationCard: DetailTable left (1023 − 933) / 2 */
  --space-regulation-gap-pc: 32px;  /* PC Timeline top 355 − DetailTable 下端 323 */
  --space-regulation-result-pc: 23px; /* PC Result top 597 − Timeline 下端 574 */
  --space-regulation-note-pc: 21px; /* PC 注記 top 842 − Result 下端 821（Card 基準） */
  --space-timeline-pad-pc: 28px;    /* PC Item/TimelineStep: Tag top 28 */
  --space-faq-answer-bottom-pc: 30px; /* PC FAQ/Item: Answer 下余白（旧 70px） */
  --space-flow-gap-sp: 22px;        /* SP Steps: gap 4 + 矢印 14 + gap 4 */
  --space-flow-right-sp: 22px;      /* SP Card/Step: right-[22px] */
  --space-flow-gap-pc: 41px;        /* PC Card/Step 間隔 474 − 433 */
  --space-gform-x-pc: 17px;         /* PC GForm カード left 17 */
  --space-gform-bottom-pc: 36px;    /* PC GoogleFormEmbed 高さ 1663 − SubmitRow bottom 1627 */
  /* Google フォーム埋め込みの高さ。フォーム自体の幅が SP 最小約250px・PC 640px のときに下端まで収まるよう実測した値 */
  --space-floating-btn-l-sp: 18px;  /* SP FloatingCTA Button pl-18 */
  --space-floating-btn-r-sp: 14px;  /* SP FloatingCTA Button pr-14 */
  --space-floating-top-pc: 14px;    /* PC FloatingCTA: 1種目と同じ実測値 */
  --space-floating-bottom-pc: 25px; /* PC FloatingCTA 高さ 197 − Button bottom 172 */
  --space-chart-gap-pc: 22px;       /* PC PhChart: bars top 118.6 − title bottom 96.6 */
  --space-chart-pad-pc: 31px;       /* PC PhChart: 内側余白 31.63 − 枠 */
  --space-chart-row-pc: 21px;       /* PC BarRow 間隔 170.41 − 149.70 */
  --space-chart-col-pc: 15.5px;     /* PC BarRow: track left 93.2 − label 77.67 */
  --space-chart-note-pc: 18px;      /* PC PhChart: note top 344.6 − bars bottom 305 − gap */
  --space-chart-col-sp: 10px;       /* SP BarRow gap-10 */
  --space-science-detail-pc: 106px; /* PC 説明見出し top 692 − Card/Science 下端 586 */
  --space-banner-top-sp: 147px;     /* SP Banner top 623 − HeroImage top 476 */
  --space-hero-photo-x-pc: -158px;  /* PC 写真 left 562 − 中心 720 */
  --space-hero-badge-x-pc: 404px;   /* PC バッジ left 1124 − 中心 720 */
  --space-product-image-top-sp: 65px;   /* SP Image/Product top 65 */
  --space-product-image-right-sp: 15px; /* SP Image/Product: Card 幅 335 − 右端 320 */
  --space-product-head-right-sp: 69px;  /* SP 画像幅 74 + 右余白 15 − カード余白 20（見出しと画像の重なり防止） */
  --radius-chart-pc: 27px;          /* PC PhChart rounded 26.992 */
  --radius-banner-sp: 43.954px;     /* SP Banner/Bg rounded */
  --border-chart: 3.374px;          /* PhChart border 3.374 */

  /* ---------- fixed sizes（Figma 実測値） ---------- */
  --size-badge-sp: 160px;           /* SP Badge/Ring */
  --size-badge-pc: 250px;           /* PC Ellipse 10 */
  --size-hero-photo-h-sp: 223px;    /* SP HeroImage 高さ */
  --size-hero-photo-w-pc: 1236px;   /* PC pixta_108368510 幅 */
  --size-hero-photo-h-pc: 846px;    /* PC pixta_108368510 高さ */
  --size-hero-fade-w-pc: 597px;     /* PC Rectangle 2 幅 */
  --size-hero-fade-h-sp: 152px;     /* SP HeroImage 上部の白フェード高さ */
  --size-banner-w-sp: 309px;        /* SP Banner/Bg 幅 */
  --size-banner-w-pc: 373px;        /* PC Group 21 幅 */
  --size-banner-h-sp: 81px;         /* SP Banner/Bg 高さ */
  --size-banner-h-pc: 98px;         /* PC Group 21 高さ */
  --size-banner-visible-sp: 206px;  /* SP Banner: 画面幅 375 − left 169（右側ははみ出し） */
  --size-banner-visible-pc: 307px;  /* PC Group 21: 1440 − left 1133 */
  --size-banner-text-sp: 166px;     /* SP Banner テキスト幅 166.067 */
  --size-banner-text-pc: 200px;     /* PC Banner テキスト幅 200.446 */
  --size-hero-photo-max-sp: 460px;  /* 768〜1023px で写真帯が間延びしないための上限（デザイン外の補間値） */
  --size-text-col-pc: 479px;        /* PC Lead / CtaNote 幅 */
  --size-notice-w-pc: 494px;        /* PC Notice 幅 */
  --size-product-text-pc: 528px;    /* PC Paragraph1 幅 */
  --size-product-image-sp: 74px;    /* SP Image/Product 幅 */
  --size-product-image-pc: 235px;   /* PC アセット 4@2x 幅 */
  --size-product-image-min-pc: 160px; /* 768〜1023px で画像列が潰れないための下限（デザイン外の補間値） */
  --size-feature-w-pc: 210px;       /* PC 特長カード幅 */
  --size-feature-h-pc: 284px;       /* PC 特長カード高さ */
  --size-th-pc: 200px;              /* PC Regulation Th 幅 */
  --size-scene-image-h: 200px;      /* Card/Photo 画像高さ */
  --size-goal-text-pc: 710px;       /* PC GoalBanner 本文幅 */
  --size-science-text-pc: 471px;    /* PC 説明テキスト幅 */
  --size-chart-pc: 511px;           /* PC PhChart 幅 */
  --size-compare-item-sp: 160px;    /* SP 比較表 項目列幅 */
  --size-faq-list-pc: 960px;        /* PC FaqList 幅 */
  --size-alert-icon-sp: 39.5px;     /* SP Icon/Alert */
  --size-alert-icon-pc: 79px;       /* PC Polygon 1 */
}

@media (min-width: 768px) {
  :root {
    --gutter: var(--space-24);
  }
}

/* ---------- reset ----------
   [テーマ組み込み時の調整] 元は html/body/* などページ全体に効く指定。
   現行テーマ（common.css）のヘッダー・フッターに影響しないよう、本文（.p-creins）の中だけに効かせる。
   :where() で詳細度を元の要素セレクタと同じに保ち、支給CSSのクラス指定が優先される関係を変えない。
   html の scroll-behavior は削除（ページ内スクロールは現行の common.js が担当）。 */
.p-creins {
  display: block;
  font-family: var(--font-jp);
  font-size: var(--fs-16);
  line-height: var(--lh-170);
  color: var(--color-text-body);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* 現行 common.css の「* { line-height: … }」を打ち消し、行間を親から引き継ぐ */
:where(.p-creins) *, :where(.p-creins) *::before, :where(.p-creins) *::after {
  box-sizing: border-box;
  line-height: inherit;
}

:where(.p-creins) img {
  max-width: 100%;
  height: auto;
  display: block;
}

:where(.p-creins) :is(ul, ol, dl, dd) {
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(.p-creins) :is(h1, h2, h3, h4, p, figure) {
  margin: 0;
}

:where(.p-creins) a {
  color: inherit;
  text-decoration: none;
}

:where(.p-creins) :is(button, input) {
  font: inherit;
  color: inherit;
}

:where(.p-creins) table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 現行 common.css の「* { font: inherit; margin: 0; padding: 0; }」で消える、ブラウザ標準の書式を戻す */
:where(.p-creins) :is(h1, h2, h3, h4, h5, h6, th) {
  font-weight: bold;
}

:where(.p-creins) :is(b, strong) {
  font-weight: bolder;
}

:where(.p-creins) :is(th, td) {
  padding: 1px;
}

:where(.p-creins) :focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

/* 現行ヘッダーは SP（768px 以下）で本文の上に重なる（背景透明・高さ 80px）。
   ヒーローの見出しがロゴと重ならないよう、本文を下げる（60px：2026-11-04 指定） */
@media only screen and (max-width: 768px) {
  .p-creins {
    padding-top: 60px;
  }
}

/* 500px 以下で画面下部の固定ボタン（横長バー）にフッターが隠れないよう、ボタンの高さ分の余白を取る
   （支給データは 450px 以下。切り替えの境界を 500px にしたため 500px 以下に変えた：2026-11-05） */
body:has(.p-creins) {
  padding-bottom: var(--floating-cta-h-sp);
}

@media (min-width: 501px) {
  body:has(.p-creins) {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.p-creins) *, :where(.p-creins) *::before, :where(.p-creins) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- utilities ---------- */
.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.u-line {
  display: block;
}

.u-nowrap {
  white-space: nowrap;
}

/* ---------- layout ---------- */
.l-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--content-w) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.l-section {
  position: relative;
  overflow: clip;
}

/* ---------- decorative bubbles ---------- */
.deco-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: clip;
}

.deco {
  position: absolute;
  top: var(--y);
  width: var(--s);
  height: var(--s);
  max-width: none;
}

.deco--sp {
  left: calc(50% + var(--x));
}

.deco--pc {
  display: none;
  left: calc(50% + var(--x));
}

@media (min-width: 768px) {
  .deco--sp {
    display: none;
  }

  .deco--pc {
    display: block;
  }
}

/* ---------- section heading ---------- */
.c-sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
  text-align: center;
}

.c-sec-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: var(--fs-13);
  line-height: var(--lh-150);
  letter-spacing: var(--ls-16);
  text-transform: uppercase;
  color: var(--color-teal-deep);
}

.c-sec-label--start {
  align-self: flex-start;
}

.c-sec-label--inverse {
  color: var(--color-text-inverse);
}

.c-sec-label__icon {
  width: 44px;
  height: 40px;
  flex-shrink: 0;
}

.c-sec-label__icon--flip {
  transform: rotate(180deg);
}

.c-sec-title {
  font-weight: 700;
  font-size: var(--fs-24);
  line-height: var(--lh-140);
  letter-spacing: var(--ls-2);
  color: var(--color-teal-deep);
}

.c-sec-sub {
  font-weight: 700;
  font-size: var(--fs-16);
  line-height: var(--lh-170);
  color: var(--color-text-body);
}

@media (min-width: 768px) {
  .c-sec-head {
    gap: var(--space-12);
  }

  .c-sec-title {
    font-size: var(--fs-34);
    line-height: var(--lh-145);
    letter-spacing: var(--ls-4);
  }

  .c-sec-sub {
    font-weight: 500;
  }
}

/* ---------- buttons ---------- */
.c-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  min-height: 44px;
  border-radius: var(--radius-full);
  font-weight: 700;
  line-height: var(--lh-150);
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.c-btn:hover {
  filter: brightness(1.06);
}

.c-btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.c-btn--primary,
.c-btn--floating {
  background: var(--gradient-cta);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-cta);
}

.c-btn--primary,
.c-btn--secondary {
  height: 56px;
  padding-inline: var(--space-40);
  font-size: var(--fs-16);
  letter-spacing: var(--ls-5);
}

.c-btn--secondary {
  background: var(--gradient-secondary-hero);
  border: var(--border-2) solid var(--color-border-action);
  color: var(--color-text-accent);
  box-shadow: var(--shadow-float);
}

.c-btn--catalog {
  background: var(--gradient-secondary-cta);
  box-shadow: var(--shadow-card);
}
