/* ═══════════════════════════════════════
   FLOATING HEADER ELEMENTS（pokewaku式）
   ロゴと三本線のみが画面隅に浮かぶ
═══════════════════════════════════════ */
.site-header {
  /* 透明なラッパー：レイアウト用領域のみ確保 */
  position: relative;
  height: 0;
}

.site-header__inner {
  /* 内部要素を個別fixedで配置するためflex不要 */
  display: contents;
}

/* 左上に浮かぶRippleロゴ（背景なし・隅寄せ） */
.site-header__logo {
  position: fixed;
  top: 6px;
  left: 8px;
  z-index: 500;
  display: inline-block;
  padding: 4px 6px;
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: var(--fw-black);
  color: var(--text);
  letter-spacing: var(--ls-tight);
  text-decoration: none;
}
.site-header__logo span {
  color: var(--text);
}

/* ═══════════════════════════════════════
   HAMBURGER BUTTON（右上に浮く・背景なし）
═══════════════════════════════════════ */
.hamburger {
  position: fixed;
  top: 6px;
  right: 8px;
  z-index: 500;
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ═══════════════════════════════════════
   SLIDE-IN NAV DRAWER
═══════════════════════════════════════ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.5);
  z-index: 399;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
  backdrop-filter: blur(2px);
}
.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: 280px;
  max-width: 84vw;
  background: var(--bg1);   /* #FAF8F5 オフホワイト（旧: #FFF8F0） */
  z-index: 400;
  visibility: hidden;
  transition: right 0.36s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.36s;
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(26,26,46,0.18);
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer.is-open {
  right: 0;
  visibility: visible;
  transition: right 0.36s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0s;
}

/* ドロワーヘッダー */
.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-drawer__logo {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--primary);
  letter-spacing: var(--ls-tight);
  margin: 0;
}
.nav-drawer__logo span {
  color: var(--accent);
}
.nav-drawer__close {
  width: 32px;
  height: 32px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.nav-drawer__close span:nth-child(1) {
  transform: translate(-50%,-50%) rotate(45deg);
}
.nav-drawer__close span:nth-child(2) {
  transform: translate(-50%,-50%) rotate(-45deg);
}

/* セクションリスト */
.nav-drawer__nav {
  flex: 1;
  padding: 6px 0;
  overflow-y: auto;
}
.nav-drawer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-drawer__nav li + li {
  border-top: 1px dashed rgba(232,165,152,0.25);
}
.nav-drawer__nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  font-size: var(--fs-base);
  color: var(--text);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.nav-drawer__nav a:hover,
.nav-drawer__nav a:active {
  background: rgba(232,165,152,0.08);
  color: var(--accent);
}
.nav-num {
  font-family: var(--font-num);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--accent);
  line-height: var(--lh-flat);
  flex-shrink: 0;
  width: 22px;
}
.nav-label {
  flex: 1;
  letter-spacing: var(--ls-body);
}

/* ドロワーフッターのCTA */
.nav-drawer__cta {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-drawer__cta-label {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  color: var(--text-sub);
  letter-spacing: var(--ls-heading);
  text-align: center;
  margin-bottom: 4px;
}
.nav-drawer__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ボディロック */
body.is-drawer-open {
  overflow: hidden;
}


/* ═══════════════════════════════════════
   LP MAIN — single center column
═══════════════════════════════════════ */
.lp-main {
  /* sections stack vertically — each handles its own bg */
  /* コンテナクエリ単位 (cqw) の基準として登録：
     PC では 393px 中央カラム、スマホでは viewport 全幅 を基準にする */
  container-type: inline-size;
}

/* ═══════════════════════════════════════
   LP SIDEBAR — PC専用（モバイルでは非表示）
   実体スタイルは responsive.css の @media (min-width: 768px) に定義
═══════════════════════════════════════ */
.lp-sidebar {
  display: none;
}


/* ═══════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════ */
.sec {
  padding: var(--section-py) var(--section-px);
}

.sec__inner {
  max-width: var(--col-w);
  margin: 0 auto;
}

/* LP 全体は基本白背景に統一。装飾色は中のカード・バンドで表現 */
.sec--bg1   { background: var(--bg-white); }
.sec--bg2   { background: var(--bg-white); }
.sec--white { background: var(--bg-white); }


/* ═══════════════════════════════════════
   INLINE CTA STRIP (between sections)
═══════════════════════════════════════ */
.inline-cta {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px var(--section-px);
  text-align: center;
}
.inline-cta__inner {
  max-width: var(--col-w);
  margin: 0 auto;
}
.inline-cta__text {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--text-sub);
  margin-bottom: 16px;
}
/* アイブロウテキスト（CTA上部の小見出し） */
.inline-cta__eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--text-sub);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin: 0 0 8px;
}
/* 在宅時給保証の訴求バナー（各 inline-CTA 上部に配置） */
.inline-cta__guarantee {
  font-size: var(--fs-base);
  font-weight: var(--fw-black);
  color: var(--text);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-heading);
  margin: 0 0 14px;
}
/* microcopy をボタンの下に配置するための調整 */
.inline-cta .cta-microcopy {
  margin: 12px 0 0;
}
.inline-cta__guarantee-hl {
  color: var(--accent);
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
}
.inline-cta__guarantee-amp {
  color: var(--accent);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin: 0 2px;
}
.inline-cta .cta-pair { justify-content: center; }


/* ═══════════════════════════════════════
   FLOATING CTA BAR (bottom fixed)
═══════════════════════════════════════ */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--floating-h);
  display: flex;
  z-index: 300;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.34,1.4,0.64,1);
  box-shadow: 0 -3px 20px rgba(0,0,0,0.14);
}

.floating-cta.is-visible {
  transform: translateY(0);
}

/* TOP（独立フローティング円形ボタン）— CTA バー右上に浮かす */
.floating-top {
  position: fixed;
  bottom: calc(var(--floating-h) + 14px);
  right: 14px;
  z-index: 301;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
  font-size: var(--fs-xs);
  font-weight: var(--fw-black);
  color: var(--text);
  letter-spacing: var(--ls-default);
  transform: translateY(120%);
  transition: transform 0.38s cubic-bezier(0.34,1.4,0.64,1), background var(--transition);
}
.floating-top.is-visible {
  transform: translateY(0);
}
.floating-top:active {
  background: var(--gray-100);
}

.floating-cta__line {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--cta-line);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: background var(--transition);
}
.floating-cta__line:active { background: var(--cta-line-drk); }

.floating-cta__form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--cta-form);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  text-decoration: none;
  border-left: 1px solid rgba(255,255,255,0.3);
  transition: background var(--transition);
}
.floating-cta__form:active { background: var(--cta-form-drk); }


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: #1A1A2E;
  color: var(--gray-500);
  padding: 44px 24px calc(32px + var(--floating-h));
}

.footer__inner {
  max-width: var(--col-w);
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #2a2a40;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer__logo {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: var(--ls-tight);
}

.footer__tagline { font-size: var(--fs-xs); }

.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a {
  font-size: var(--fs-xs);
  color: var(--gray-600);
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }

.footer__copy {
  font-size: var(--fs-2xs);
  text-align: center;
  color: var(--gray-700);
  margin-top: 4px;
}
