/* ==========================================================
   共通：色・フォント・余白は :root で一括管理
   ★ メインカラー：現行サイト（lp.rise1-web.jp）のCSSで最も多い色 #ff6900（2026-10-20 確認）
      サブ：#38b6ff（現行サイトの水色）／アクセント：#ffe600（現行バナーの黄色）
      各所では必ず var(--変数名) で読み込む（カラーコードの直書き禁止）。
   ========================================================== */
:root {
  /* ブランド */
  --web_LP_color-brand: #ff6900;          /* ★メインカラー（オレンジ） */
  --web_LP_color-brand-soft: #ff8f45;     /* サブ（明るい側） */
  --web_LP_color-brand-dark: #e25400;     /* ボタンのホバー・グラデーション下側など（暗い側） */
  --web_LP_color-brand-pale: #fff1e6;     /* 淡い背景 */

  --web_LP_color-sub: #38b6ff;            /* 水色 */
  --web_LP_color-sub-dark: #1590dc;
  --web_LP_color-sub-pale: #e8f6ff;
  --web_LP_color-accent: #ffe600;         /* 黄色（マーカー・バッジ） */

  /* ベース */
  --web_LP_color-base: #fffaf5;           /* ページの地色（ほんのり暖色） */
  --web_LP_color-white: #ffffff;
  --web_LP_color-line-green: #06c755;      /* 公式LINE のボタン（LINE のブランドカラー） */
  --web_LP_color-insta-1: #feda75;         /* Instagram のアイコン（ブランドのグラデーション） */
  --web_LP_color-insta-2: #fa7e1e;
  --web_LP_color-insta-3: #d62976;
  --web_LP_color-insta-4: #962fbf;
  --web_LP_color-insta-5: #4f5bd5;
  --web_LP_color-notice: #ff3b30;          /* 右下の Instagram ボタンの「まだ見ていない」赤い丸 */
  --web_LP_color-ink: #1b1b1f;            /* 濃い背景（比較表・フッター） */
  --web_LP_color-ink-soft: #2a2a31;
  --web_LP_color-text: #222222;
  --web_LP_color-text-sub: #666666;
  --web_LP_color-text-on-ink: #f4f1ee;
  --web_LP_color-line: #ecdfd4;
  --web_LP_color-card-shadow: rgba(80, 40, 10, 0.1);
  --web_LP_color-overlay-white: rgba(255, 255, 255, 0.82);   /* 固定ヘッダーの背景 */
  --web_LP_color-overlay-modal: rgba(20, 20, 20, 0.6);
  --web_LP_color-brand-alpha: rgba(255, 105, 0, 0.14);       /* オレンジの淡い影・ぼかし */
  --web_LP_color-sub-alpha: rgba(56, 182, 255, 0.16);
  --web_LP_color-white-alpha: rgba(255, 255, 255, 0.3);      /* オレンジ地の上の、まだ塗られていない文字 */
  --web_LP_color-ink-alpha: rgba(27, 27, 31, 0.08);          /* 大きな英字の輪郭など */
  --web_LP_color-required: #db3025;
  --web_LP_color-optional: #777777;

  /* フォント（functions.php の Google Fonts と合わせる） */
  --web_LP_font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --web_LP_font-en: "Montserrat", "Noto Sans JP", sans-serif;

  /* 余白 */
  --web_LP_gutter: clamp(16px, 4vw, 56px);
  --web_LP_header-h: 80px;
}
@media (max-width: 767px) {
  :root {
    --web_LP_header-h: 60px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

/* Lenis（スクロールの慣性）の推奨CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--web_LP_color-base);
  color: var(--web_LP_color-text);
  font-family: var(--web_LP_font-sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.web_LP_u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================
   共通パーツ（web_LP_common__）
   ========================================================== */
.web_LP_common__inner {
  width: min(1120px, 100% - var(--web_LP_gutter) * 2);
  margin-inline: auto;
}

.web_LP_common__section {
  padding-block: 140px;
}
@media (max-width: 767px) {
  .web_LP_common__section {
    padding-block: 80px;
  }
}

/* 見出し：大きな英字（Montserrat）＋日本語 */
.web_LP_common__heading {
  text-align: center;
  margin: 0 0 64px;
}
@media (max-width: 767px) {
  .web_LP_common__heading {
    margin-bottom: 40px;
  }
}

.web_LP_common__heading--left {
  text-align: left;
}

.web_LP_common__heading-en {
  display: block;
  font-family: var(--web_LP_font-en);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: var(--web_LP_color-brand);
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  .web_LP_common__heading-en {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

.web_LP_common__heading-ja {
  display: block;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--web_LP_color-text);
}
@media (max-width: 767px) {
  .web_LP_common__heading-ja {
    font-size: 26px;
  }
}

.web_LP_common__lead {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 2;
  color: var(--web_LP_color-text-sub);
  text-align: start;
}
@media (max-width: 767px) {
  .web_LP_common__lead {
    font-size: 14px;
    line-height: 1.95;
  }
}

/* 黄色のマーカー（スクロールで左から引かれる）
   見出しの中は見出しのフェードと一緒に。本文の線（<strong class="web_LP_common__marker"> など）は、js/web_LP_common.js が線そのものを監視して web_LP_is-visible
   2行にまたがる線は、1行目の左 → 1行目の右 → 2行目 の順に伸びる */
.web_LP_common__marker {
  background-image: linear-gradient(transparent 62%, var(--web_LP_color-accent) 62%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.web_LP_common__marker.web_LP_is-visible,
.web_LP_common__heading.web_LP_is-visible .web_LP_common__marker {
  background-size: 100% 100%;
}

/* ボタン */
.web_LP_common__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 300px;
  padding: 20px 36px;
  border: 2px solid var(--web_LP_color-brand);
  border-radius: 999px;
  background: var(--web_LP_color-white);
  color: var(--web_LP_color-brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s ease, transform 0.3s ease;
}
.web_LP_common__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--web_LP_color-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.web_LP_common__btn:hover {
  color: var(--web_LP_color-white);
}
.web_LP_common__btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
@media (max-width: 767px) {
  .web_LP_common__btn {
    min-width: 0;
    width: 100%;
    padding: 18px 24px;
    font-size: 15px;
  }
}

.web_LP_common__btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.web_LP_common__btn:hover::after {
  transform: translateX(4px) rotate(45deg);
}

/* 塗りのボタン（オレンジ地 → ホバーで濃いオレンジ） */
.web_LP_common__btn--fill {
  background: var(--web_LP_color-brand);
  color: var(--web_LP_color-white);
  box-shadow: 0 10px 24px var(--web_LP_color-brand-alpha);
}
.web_LP_common__btn--fill::before {
  background: var(--web_LP_color-brand-dark);
}
.web_LP_common__btn--fill:hover {
  transform: translateY(-2px);
}

.web_LP_common__btn-wrap {
  margin-top: 56px;
  text-align: center;
}
@media (max-width: 767px) {
  .web_LP_common__btn-wrap {
    margin-top: 36px;
  }
}

/* PC / SP の出し分け */
.web_LP_common__sp {
  display: none;
}
@media (max-width: 767px) {
  .web_LP_common__sp {
    display: inline;
  }
}

@media (max-width: 767px) {
  .web_LP_common__pc {
    display: none;
  }
}

/* スクロールで現れる（下から） */
.web_LP_common__fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--web_LP_fade-delay, 0s);
}
.web_LP_common__fade.web_LP_is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .web_LP_common__fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
