/* =========================================
   Playfactogarden 共通スタイル
   （WordPress標準CSSより強い指定）
   + Design Token / Theme System
========================================= */

/* ---------- 基本設定（CSS変数） ---------- */
:root {

  /* カラートークン（ナチュラルテーマ） */
  /* --color-primary: #8ccd01; */
  --color-primary: #4eab4e;
  --color-secondary: #97c97e;
  --color-accent: #ffcb5c;
  --color-secondary-accent: #fff3bb;
  --accent-extra-accent: #ccecf3;
  --color-gray: #c0aa9b;
  --color-bg: #fffbe6;
  --color-text: #5b4636;
  --white: #ffffff;

  --color-footer-bg: radial-gradient(#ffeddd 2.5px, transparent 2.5px) 0 0,
    radial-gradient(#ffeddd 2.5px, transparent 2.5px) 10px 10px,
    var(--color-bg);

  /* フォント */
  --font-main: "M PLUS 1p", "Noto Sans JP", sans-serif;
  --font-heading: "M PLUS 1p", "Noto Sans JP", sans-serif;

  /* フォントサイズ */
  /* ヒーロータイトル */
  --fs-hero-min: 2.6rem;
  --fs-hero-max: 3.8rem;
  --fs-hero-fluid: clamp(var(--fs-hero-min), 2.2rem + 1.2vw, var(--fs-hero-max));

  /* セクションタイトル（H2級） */
  --fs-title-min: 1.6rem;
  --fs-title-max: 2.8rem;
  --fs-title-fluid: clamp(var(--fs-title-min), 1.5rem + 1.2vw, var(--fs-title-max));

  /* リード文（イントロ） */
  --fs-lead-min: 1.3rem;
  --fs-lead-max: 2rem;
  --fs-lead-fluid: clamp(var(--fs-lead-min), 1rem + 1.2vw, var(--fs-lead-max));

  /* 本文（最も標準） */
  --fs-body-min: 1rem;
  --fs-body-max: 1.6rem;
  --fs-body-fluid: clamp(var(--fs-body-min), 0.6rem + 0.5vw, var(--fs-body-max));

  /* キャプション・補足・小さめテキスト */
  --fs-small-min: 0.8rem;
  --fs-small-max: 1rem;
  --fs-small-fluid: clamp(var(--fs-small-min), 0.7rem + 0.4vw, var(--fs-small-max));

  /* サブタイトル */
  --fs-sub-title-fluid: clamp(1.1rem, 1.3rem + 1vw, 1.5rem);

  /* レイアウト */
  --max-width: 1200px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-soft: 0 4px 10px rgba(165, 150, 130, 0.15);
  --transition-base: 0.35s ease-in-out;

  /* 余白 */
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 40px;
  --space-xl: 64px;
  --space-xxl: 128px;
}

body.boardgame {
  --color-bg: #f8feff;
  --color-accent: #5cc0eb;
  --accent-deep: #25aad1;
  --accent-light: #dbf3f9;

  --color-footer-bg: #dbf3f9;

  /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f1f1f1 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #f1f1f1 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;

  /* 以下任意のスタイル */
  padding: 20px;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  letter-spacing: 0.02em;

  overflow-x: hidden !important;
}

/* ---------- html, body ---------- */
html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  letter-spacing: 0.02em;

  overflow-x: hidden !important;
}

/* ---------- 背景（WordPress上書き） ---------- */
body.home,
body.page,
body.single,
body.archive,
body.search {
  min-height: 100vh;
}

/* ---------- レイアウト ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}





/* =========================================
   Header Base
========================================= */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #f4efe6;
  position: fixed;
  top: 0;
  z-index: 200;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 0;
  margin: 0;
  width: 100vw;
}

/* 表示状態 */
.site-header.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-inner {
  margin: 0 20px auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================
   Logo
========================================= */
.logo img {
  height: 38px;
  width: auto;
  transition: opacity .25s;
}

.logo img:hover {
  opacity: .8;
}

/* =========================================
   Navigation
========================================= */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 10px 0 0;
  padding: 0;
}

.main-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.07em;
  padding: 6px 0;
  transition: color .25s;
}

.main-nav a:hover {
  color: var(--color-accent);
}

/* =========================================
   Cart
========================================= */
.header-cart {
  position: relative;
}

.header-cart__icon {
  width: 32px;
  height: auto;
  margin-top: 4px;
}

.header-cart__link:hover .header-cart__icon {
  filter: opacity(1);
}

.header-cart__count {
  position: absolute;
  top: -6px;
  right: -12px;
  background: #ffcb5c;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
}

/* =========================================
   Dropdown (Submenu)
========================================= */

/* 親メニュー */
.has-submenu {
  position: relative;
}

/* =========================================
   Dropdown Menu（行全体に反応）
========================================= */

/* 開くメニュー */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;

  width: 208px;
  /* ★ 横幅広めに固定 → 全体に余裕が出る */
  background: #fff;
  border-radius: 16px;
  padding: 0;
  /* ★ パディングは個別 li 側で管理 */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;

  display: flex;
  flex-direction: column;

  margin-top: 8px !important;

  gap: 0 !important;
  overflow: hidden;

  padding: 6px 0 !important;
}

/* ホバーで表示 */
.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ================================
   各項目のデザイン（行全体に適用）
================================ */

/* 1行をブロックで扱う */
.submenu li {
  list-style: none;
  display: block;
  width: 100%;
  border-bottom: 1px solid #f0e9dd;
  /* ★ 全幅の下線 */
}

.submenu li:last-child {
  border-bottom: none;
  /* 最後だけ線なし */
}

/* クリック範囲を広げる */
.submenu a {
  display: block;
  /* ★ これで行全体がホバー反応 */
  width: 100%;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}

/* ホバー時：行全体を薄いグレーに */
.submenu a:hover {
  background: #fcf7f3;
  color: var(--color-accent);
}

/* 縦書きバグ対策（必要最低限） */
.submenu,
.submenu * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}


/* ===============================
   ヘッダーのLINEバナー
=============================== */
.header-banner {
  flex-shrink: 0;
  padding: 3px 6px;
}

.header-banner__link {
  display: flex;
  align-items: center;
  background: #4cc764;
  /* LINEグリーン */
  padding: 2px 16px 2px 14px !important;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .25s;
}

.header-banner__link:hover {
  opacity: 0.85;
}

.header-banner__icon {
  height: 32px !important;
  width: auto;
  margin-right: 0px;
}

.header-banner__text {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* スマホは非表示 */
@media (max-width: 768px) {
  .header-banner {
    display: none;
  }
}

/* 初期状態：ヘッダー隠す */
.site-header {
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

/* 表示状態 */
.site-header.is-visible {
  transform: translateY(0);
}

/* スクロール中に影つけるなどオプション */
.site-header.is-active {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================
   SPメニュー用オーバーレイ
========================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /* 少し暗めの黒レイヤー */
  backdrop-filter: blur(1px);
  /* ほんのりぼかし（上質感UP） */
  opacity: 0;
  pointer-events: none;
  z-index: 140;
  /* mobile-nav (150) の下 */
  transition: opacity 0.3s ease;
  height: 100vh;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/* ===============================
   フッターのLINEバナー
=============================== */
.header-banner__link-2 {
  display: flex;
  align-items: center;
  background: var(--color-text);
  /* LINEグリーン */
  padding: 2px 16px 2px 14px !important;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .25s;
  justify-content: center;
}

.header-banner__link-2:hover {
  opacity: 0.85;
}

.header-banner__icon-first {
  height: 32px !important;
  width: auto;
  font-size: 18px;
  /* ← サイズ自由 */
  color: #ffffff;
  /* ← 色を指定（例：白） */
  margin-right: 6px;
  /* 文字との余白 */
  vertical-align: middle;
}

.header-banner__icon-first {
  margin-top: 4px;
}

.header-top-inner {
  margin: 0 0 0 12px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ヘッダーレスポンシブ */
@media (max-width: 768px) {
  .site-header {
    background-color: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }

  .logo {
    display: none;
  }

  .logo-sp img {
    height: 38px;
    width: auto;
    transition: opacity .25s;
  }

  .logo-sp img:hover {
    opacity: .8;
  }

  .main-nav {
    display: none;
  }
}

.header-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.header-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 4px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .header-toggle {
    display: flex;
    background-color: white;
    padding: 16px;
    border-radius: 99px;
    box-shadow: 0px 1px 9px 0px rgba(0, 0, 0, 0.31);
  }
}

/* ドロワー本体 */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  /* ← 画面の外に待機 */
  width: 70%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  padding: 20px;
  gap: 4px;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 18px rgba(0, 0, 0, 0.12);
  z-index: 150;

  opacity: 0;
  pointer-events: none;
  transition: right 0.3s ease, opacity 0.3s ease;
}

/* 開いているとき */
.mobile-nav.active {
  right: 0;
  /* ← 画面内にスライドイン */
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-item {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  /* padding: 8px 0; */
  cursor: pointer;
}

.main-menu a {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  /* padding: 8px 0; */
  cursor: pointer;
  text-decoration: none;
}

.main-menu {
  gap: 10px;
  display: flex;
  flex-direction: column;
}

/* サブメニュー（クリック展開） */
.mobile-submenu {
  display: none;
  flex-direction: column !important;
  gap: 2px;
  padding-left: 16px;
  border-left: 3px solid #e2c79c;
}

.mobile-submenu.active {
  display: flex;
}

@media (max-width: 768px) {

  /* PCのドロップダウンを完全に無効化 */
  .submenu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: static !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

}

/* サブメニューの各リンク */
.mobile-submenu a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  padding: 0;
  text-decoration: none;
}


/* ---------- セクション ---------- */
.section {
  padding: var(--space-xxl) 0;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  text-align: center;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .section {
    min-height: auto;
    padding: 60px 0 !important;
  }
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-title-fluid);
  text-align: center;
  margin-bottom: var(--space-l);
  color: var(--color-primary);
  font-weight: 700;
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: "・・・・・・・・・・・・・・・・・・・・";
  display: block;
  font-size: 1.1rem;
  color: var(--color-gray);
  margin-top: 4px;
  letter-spacing: 2px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .section-title::after {
    content: "・・・・・・";
  }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-s);
  text-decoration: none;
  font-size: 1rem;
  transition: background-color var(--transition-base);
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  background: #5ba75b;
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 60px 0 10px;
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-footer-bg);
  background-size: 20px 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo a {
  text-decoration: none;
  font-weight: 700;
  color: var(--color-text);
}

.footer-logo img {
  height: 42px;
  width: auto;
  transition: opacity var(--transition-base);
}

.footer-logo img:hover {
  opacity: 0.8;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

.footer-social a {
  margin-left: 12px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 2rem;
  transition: color var(--transition-base);
}

.footer-social a:hover {
  color: var(--color-primary);
}

.fukidashi-01-12 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
  padding: 0px;
}

.fukidasi-text {
  margin-left: 5px;
}

.fukidashi-01-12::before {
  content: "";
  width: 20px;
  height: 1.5px;
  transform: rotate(60deg);
  box-sizing: border-box;
  background-color: var(--color-text);
}

.fukidashi-01-12::after {
  content: "";
  width: 20px;
  height: 1.5px;
  transform: rotate(-60deg);
  box-sizing: border-box;
  background-color: var(--color-text);
  margin-right: -5px;
}

/* ---------- カラム構成 ---------- */
.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--color-primary);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
  width: 70%;
}

.footer-col a {
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  color: var(--color-gray);
  font-size: 0.8rem;
}


/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    margin: 10px;
    padding: 0;
  }

  .terms-sp {
    display: flex;
    flex-direction: column;
  }

  .terms-sp a {
    font-weight: 400;
    font-size: 14px;
    margin: 3px 0;
    text-decoration: none;
    color: inherit;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .footer-columns {
    flex-direction: column;
    gap: 32px;
  }

  .footer-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-footer {
    display: none;
  }

  .header-social {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: flex-start;
    width: 70%;
    margin-top: 14px;
  }

  .header-social a {
    margin-left: 12px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 2rem;
    transition: color var(--transition-base);
    margin: 0 auto;
  }

  .header-social a:hover {
    color: var(--color-primary);
  }

  .header-fukidashi-01-12 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    padding: 0px;
    margin: 0 auto;
  }

  .header-fukidasi-text {
    margin-left: 5px;
  }

  .header-fukidashi-01-12::before {
    content: "";
    width: 20px;
    height: 1.5px;
    transform: rotate(60deg);
    box-sizing: border-box;
    background-color: var(--color-text);
  }

  .header-fukidashi-01-12::after {
    content: "";
    width: 20px;
    height: 1.5px;
    transform: rotate(-60deg);
    box-sizing: border-box;
    background-color: var(--color-text);
    margin-right: -5px;
  }
}

/* ===============================
   フッターのLINEバナー
=============================== */
.footer-banner {
  flex-shrink: 0;
  padding: 3px 0;
}

.footer-banner__link {
  display: flex;
  align-items: center;
  background: var(--color-text);
  /* LINEグリーン */
  padding: 2px 16px 2px 14px !important;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .25s;
  justify-content: center;
}

.footer-banner__link-2 {
  display: flex;
  align-items: center;
  background: #4cc764;
  /* LINEグリーン */
  padding: 2px 16px 2px 14px !important;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .25s;
  justify-content: center;
}

.footer-banner__link-3 {
  display: flex;
  align-items: center;
  background: #5cc0eb;
  /* LINEグリーン */
  padding: 2px 16px 2px 14px !important;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .25s;
  justify-content: center;
}

.footer-banner__link:hover {
  opacity: 0.85;
}

.footer-banner__link-2:hover {
  opacity: 0.85;
}

.footer-banner__link-3:hover {
  opacity: 0.85;
}

.footer-banner__icon,
.footer-banner__icon-first,
.footer-banner__icon-last {
  height: 42px !important;
  width: auto;
  font-size: 24px;
  /* ← サイズ自由 */
  color: #ffffff;
  /* ← 色を指定（例：白） */
  margin-right: 6px;
  /* 文字との余白 */
  vertical-align: middle;
}

.footer-banner__icon-first,
.footer-banner__icon-last {
  margin-top: 4px;
}

.footer-banner__text {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* スマホは非表示 */
@media (max-width: 768px) {
  .footer-banner {
    display: none;
  }
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  color: var(--color-gray);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--color-gray);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* ========== CTA Section ========== */
.cta-section {
  position: relative;
  color: var(--white);
  padding: 32px 0;
  overflow: hidden;
  text-align: center;
  margin-top: 128px;
}

.present-mask-bg {
  position: relative;
  padding: 52px 0;
  background: var(--color-bg);
  /* 薄めにすれば馴染む */
}

/* 背景を波ギザギザでくり抜く */
.present-mask-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  /* お好みで調整 */
  --mask:
    radial-gradient(13.79px at 50% 19.5px, #000 99%, #0000 101%) calc(50% - 20px) 0/40px 51% repeat-x,
    radial-gradient(13.79px at 50% -9.5px, #0000 99%, #000 101%) 50% 10px/40px calc(51% - 10px) repeat-x,
    radial-gradient(13.79px at 50% calc(100% - 19.5px), #000 99%, #0000 101%) calc(50% - 20px) 100%/40px 51% repeat-x,
    radial-gradient(13.79px at 50% calc(100% + 9.5px), #0000 99%, #000 101%) 50% calc(100% - 10px)/40px calc(51% - 10px) repeat-x;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  z-index: 0;

}

/* CTA の中身は前に出す */
.present-mask-bg .cta-section,
.present-mask-bg .cta-inner {
  position: relative;
  z-index: 2;
}

/* 右上の円形写真 */
.cta-bg {
  position: absolute;
  top: -3px;
  right: -10px;
  width: 40%;
  max-width: 360px;
  z-index: 0;
}

.cta-bg-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 1;
  transform: rotate(-6deg);
}

.cta-bg-2 {
  position: absolute;
  top: 2px;
  left: -10px;
  width: 40%;
  max-width: 360px;
  z-index: 0;
}

.cta-bg-img-2 {
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 1;
  transform: rotate(2deg);
}

/* テキスト部分 */
.cta-inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: var(--space-xl) 0;
  width: 45%;
  /* ← ココから追加 */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 横を中央揃えのままに */
  gap: 28px;
  /* ← 好きな値で間隔調整できる！ */
}

.cta-text-img img {
  width: 500px;
}

.cta-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-text {
  font-size: var(--fs-body-fluid);
  line-height: 1.5;
  margin: 0;
  color: var(--white);
}

/* ボタン */
.cta-btn {
  display: flex;
  align-items: center;
  background: var(--white);
  color: var(--color-primary);
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  gap: 10px;
}

.cta-btn:hover {
  transform: scale(1.1, 1.1);
}

/* ==============================
   CTA Recruit Box
============================== */
.recruit.section {
  margin: 60px 0 128px 0;
  min-height: 100px;
  padding: 0;
}


.cta-recruit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  background: var(--color-bg);
  padding: 24px 48px;
  max-width: 980px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex-direction: column;
}

/* 左側テキスト（横並び用） */
.cta-recruit-text {
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 24px;
}

/* タイトルと本文を横並び */
.cta-recruit-title {
  flex-shrink: 0;
  font-size: var(--fs-lead-fluid);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  width: 180px;
  /* タイトル幅固定で整列 */
}

.cta-recruit-text p {
  flex: 1;
  font-size: var(--fs-body-fluid);
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
  text-align: left;
}

/* ボタン部分 */
.cta-recruit-btn-wrap {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.cta-recruit-btn {
  display: inline-block;
  color: var(--white);
  background: var(--color-primary);
  border-radius: 4px;
  padding: 10px 24px;
  font-size: var(--fs-body-fluid);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: -24px;
  margin-right: 20px;
  overflow: hidden;
  position: relative;
}

/* 右向きの subtle 押し出し影 */
.cta-recruit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  /* ← 明るい光をサッと通す感じ */
  transition: width 0.25s ease;
}

/* ホバー時 */
.cta-recruit-btn:hover {
  transform: translateX(3px);
  /* ← 右に「スッ」と押される */
}

.cta-recruit-btn:hover::after {
  width: 100%;
  /* ← 光がスッと流れる */
}


/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .recruit.section {
    margin: 0px 0 78px 0;
  }

  .present-mask-bg .cta-section,
  .present-mask-bg .cta-inner {
    width: 80%;
  }

  .cta-section {
    padding: 0px 0px;
  }

  .cta-bg {
    position: absolute;
    top: 5px;
    bottom: -60px;
    right: -60px;
    width: 40%;
    opacity: 1;
  }

  .cta-bg-2 {
    top: 5px;
    left: -60px;
  }

  .cta-title {
    font-size: 1.1rem;
  }

  .cta-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .cta-recruit {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    border-radius: 24px;
    gap: 20px;
  }

  .cta-recruit-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-recruit-title {
    width: auto;
  }

  .cta-recruit-text p {
    font-size: 0.9rem;
  }

  .cta-recruit-btn {
    margin-top: -20px;
    padding: 6px 10px;
  }
}







/* ===== CTA 全体 ===== */
.pf-cta {
  background: #8AD450;
  padding: 60px 20px;
}

.pf-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ===== 上部ラベル ===== */
.pf-cta__label {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

/* ===== 白カード ===== */
.pf-cta__card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* ===== 青い吹き出しタグ ===== */
.pf-cta__tag {
  display: inline-block;
  background: #0062CC;
  color: #fff;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ===== タイトル ===== */
.pf-cta__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
  margin-bottom: 16px;
}

/* ===== テキスト ===== */
.pf-cta__text {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 28px;
}

/* ===== プレゼント枠 ===== */
.pf-cta__present-box {
  border: 2px solid #0062CC;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
}

.pf-cta__present-label {
  color: #0062CC;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.pf-cta__present-text {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

/* ===== LINE ボタン ===== */
.pf-cta__btn {
  display: inline-block;
  background: #00C300;
  color: #fff;
  padding: 16px 30px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.pf-cta__btn:hover {
  opacity: 0.85;
}

/* ===== SP調整 ===== */
@media (max-width: 480px) {

  .pf-cta__label {
    font-size: 20px;
  }

  .pf-cta__tag {
    font-size: 18px;
  }

  .pf-cta__title {
    font-size: 20px;
  }

  .pf-cta__text,
  .pf-cta__present-text,
  .pf-cta__present-label {
    font-size: 16px;
  }

  .pf-cta__btn {
    font-size: 18px;
    padding: 14px 26px;
  }
}

.emphasis_design23 {
  font-size: var(--fs-title-fluid);
  margin: 0;
}

.emphasis_design23 span:not(.badge) {
  background-color: var(--color-accent);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8em;
  height: 1.8em;
  margin: 0 -0.1em;
  border-radius: 100vh;
  font-weight: 700;
}

/* 実施中！バッジ */
.emphasis_design23 .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  /* ← 中身を透明にする */
  font-weight: 900;
  font-size: var(--fs-title-fluid);
  letter-spacing: 0.5rem;
  /* 白抜き（白いアウトライン） */
  -webkit-text-stroke: 1px #fff;
  /* Safari対応 */
  text-stroke: 1px #fff;
  /* 一般ブラウザ */
}


.heading04 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-body-fluid);
  text-align: center;
  margin: -15px 0;
}

.heading04::before,
.heading04::after {
  content: "";
  width: 3px;
  height: 30px;
  background-image: radial-gradient(circle, #ffcb5c 50%, transparent 51%);
  background-size: 3px 6px;
  background-repeat: repeat-y;
}

.heading04::before {
  margin-right: 25px;
  transform: rotate(-35deg)
}

.heading04::after {
  margin-left: 25px;
  transform: rotate(35deg)
}

.cta-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  border-radius: 12px;
}

.cta-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
  color: #ffffff;
  width: fit-content;
}

.cta-list li {
  margin-bottom: 8px;
  font-size: var(--fs-body-fluid);
  line-height: 1.6;
  padding-left: 1.2em;
  position: relative;
}

/* ●を中央揃えで安定させる */
.cta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  /* ← これがズレ防止の決め手！ */
  width: 0.45em;
  height: 0.45em;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ================================
   Floating Banners
================================ */
.floating-banners {
  position: fixed;
  right: -8px;
  bottom: 10px;
  /* 位置は調整OK */
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* 1個1個のバナー */
.floating-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 48px; */
  width: 78px;
  height: auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 8px 0 0 8px;
  /* border-radius: 58px 0 0 58px; */
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  transform: translateX(0);
  flex-direction: column;
  padding: 6px 5px 6px 0;
}

.banner-1 {
  background: #76d776;
  border: 2px solid var(--color-text);
  color: var(--color-text);
  border-right: none;

}

.banner-2 {
  background: #ffcb5c;
  border: 2px solid var(--color-text);
  color: var(--color-text);
  border-right: none;
}

.floating-banner .floating-icon {
  display: flex;
  /* ← 追加 */
  align-items: center;
  justify-content: center;

  font-size: 32px;
  line-height: 1;
  /* ← 必須 */
  margin-bottom: 4px;
}

.floating-banner .floating-text {
  writing-mode: vertical-rl;
  font-size: 18px;
  line-height: 1.1;
  /* ← 追加（超重要） */
  letter-spacing: 0.15em;
  /* ← px指定をやめる */
}

.floating-banner .material-symbols-rounded {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 32;
}

/* ホバーで少しせり出す */
.floating-banner:hover {
  transform: translateX(-8px);
  opacity: 0.95;
}


.floating-banner:hover .material-symbols-rounded {
  animation: wobble 0.5s ease;
}

@keyframes wobble {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}


/* =========================================
   SP（スマホ）専用 Floating 設定
========================================= */
@media (max-width: 768px) {

  .floating-banners {
    position: fixed;
    bottom: 5px;
    display: flex;
    flex-direction: row;
    gap: 2px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    z-index: 9999;
    justify-content: center;
  }


  .floating-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 48%;
    height: auto;
    padding: 5px 2px;
    border-radius: 10px;
    flex-direction: row;

  }

  /* アイコンとテキストの横並び用 */
  .floating-banner .floating-icon {
    font-size: 20px;
    margin: 0 6px 0 0;
  }

  .floating-banner .floating-text {
    writing-mode: horizontal-tb;
    /* 横書き */
    margin: 0;
    letter-spacing: 1px;
    font-size: 14px;
  }

  /* SP のホバーアクション（軽めにする） */
  .floating-banner:hover {
    transform: translateY(-3px);
    opacity: 0.95;
  }

  .banner-2,
  .banner-1 {
    border: 1.5px solid var(--color-text);
  }
}

/* PC（768px以上）は非表示 */
.br-sp {
  display: none;
}

/* スマホ（768px以下）は表示 */
@media (max-width: 768px) {
  .br-sp {
    display: block;
  }
}

.pc-only {
  display: block;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
}