/*
Theme Name: SECOND LIFE Pop Theme
Theme URI: https://second-life-sapporo.jp
Author: SECOND LIFE
Author URI: https://second-life-sapporo.jp
Description: 札幌の警備会社 SECOND LIFE のポップなWordPressテーマ
Version: 1.4.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: second-life
*/

/* ===================================================
   DESIGN TOKENS
   =================================================== */
:root {
  --pink:       #FF4FA3;
  --pink-light: #FFB3D9;
  --yellow:     #FFE033;
  --purple:     #7B3FE4;
  --purple-dark:#4A1DA8;
  --orange:     #FF6B1A;
  --cyan:       #00D4FF;
  --black:      #1A1A2E;
  --white:      #FFFFFF;
  --cream:      #FFFDF0;

  --font-display: 'Bangers', 'Boogaloo', 'M PLUS Rounded 1c', sans-serif;
  --font-body:    'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;

  --shadow-pop:  4px 4px 0px var(--black);
  --shadow-text: 3px 3px 0px var(--black), -1px -1px 0px var(--black),
                  1px -1px 0px var(--black), -1px  1px 0px var(--black);
  --shadow-text-white: 3px 3px 0px rgba(0,0,0,0.5), -1px -1px 0px rgba(0,0,0,0.3);
  --border-comic: 3px solid var(--black);
  --radius-card:  16px;
}

/* ===================================================
   RESET & BASE
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 20px; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ===================================================
   TYPOGRAPHY — POP DISPLAY HEADINGS
   =================================================== */
.heading-pop {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: var(--shadow-text);
  line-height: 1.1;
}

.heading-pop--pink   { color: var(--pink); }
.heading-pop--yellow { color: var(--yellow); }
.heading-pop--white  { color: var(--white); text-shadow: var(--shadow-text); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--yellow);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ===================================================
   COMIC BACKGROUND PATTERNS
   =================================================== */
.bg-stripe {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--pink-light) 0px,
    var(--pink-light) 14px,
    var(--white) 14px,
    var(--white) 28px
  );
}

.bg-dots {
  background-color: var(--yellow);
  background-image: radial-gradient(circle, var(--orange) 2px, transparent 2px);
  background-size: 22px 22px;
}

.bg-dots-purple {
  background-color: var(--purple);
  background-image: radial-gradient(circle, var(--purple-dark) 2px, transparent 2px);
  background-size: 22px 22px;
}

.bg-checker {
  background-color: var(--pink);
  background-image:
    linear-gradient(45deg, var(--pink-light) 25%, transparent 25%),
    linear-gradient(-45deg, var(--pink-light) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--pink-light) 75%),
    linear-gradient(-45deg, transparent 75%, var(--pink-light) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* ===================================================
   SECTION DIVIDER — SLANTED
   =================================================== */
.section-slant {
  position: relative;
}
.section-slant::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 80px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  z-index: 1;
}
.section-slant--reverse::after {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
}

/* ===================================================
   SITE HEADER
   =================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--black);
  border-bottom: 4px solid var(--pink);
  padding: 0 20px;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__img {
  width: 56px;
  height: auto;
  display: block;
  /* ロゴ画像は透過済みのためそのまま表示 */
}

.site-logo__text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--pink);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Nav */
.site-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--white);
  padding: 8px 16px;
  border: 3px solid transparent;
  border-radius: 999px;
  letter-spacing: 0.05em;
  transition: all 0.15s ease;
}
.site-nav a:hover {
  background: var(--pink);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px) rotate(-1deg);
}

/* Burger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.2s;
}

/* CTA in nav */
.nav-cta {
  background: var(--pink) !important;
  border-color: var(--pink) !important;
  color: var(--white) !important;
  box-shadow: 3px 3px 0 var(--white);
}
.nav-cta:hover {
  background: var(--yellow) !important;
  color: var(--black) !important;
  box-shadow: 3px 3px 0 var(--black) !important;
}

/* ===== 警備員のご依頼ボタン（ヘッダー右端） ===== */
.header-inquiry {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  /* nav-ctaと同等のサイズ感に揃える */
  background: var(--yellow);
  color: var(--black);
  border: 3px solid var(--white);
  border-radius: 999px;
  padding: 8px 16px;           /* nav-ctaと同じpadding */
  font-family: var(--font-display);
  font-size: 0.95rem;          /* nav-ctaと同じfont-size */
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(255,255,255,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.3;
}
.header-inquiry:hover {
  background: var(--pink);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 5px 5px 0 rgba(255,255,255,0.5);
}
.header-inquiry__label {
  font-size: inherit;
  color: inherit;
  border-right: 2px solid rgba(0,0,0,0.25);
  padding-right: 6px;
}
.header-inquiry__tel {
  font-size: inherit;
  color: inherit;
}

/* 1100px以下ではラベルを隠して電話番号のみ（ハンバーガー表示時） */
@media (max-width: 1100px) {
  .header-inquiry {
    padding: 7px 12px;
    font-size: 0.82rem;
    gap: 0;
  }
  .header-inquiry__label { display: none; }
}

/* ===================================================
   SECTION: PHILOSOPHY — 理念
   =================================================== */
.section-philosophy {
  padding: 100px 32px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* 背景の集中線風装飾 */
.section-philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from 0deg at 100% 50%,
    rgba(255,79,163,0.08) 0deg 6deg,
    transparent 6deg 12deg
  );
  z-index: 0;
}

.philosophy-inner {
  max-width: 1050px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.philosophy-content { }

.philosophy-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 900;
  color: var(--yellow);
  text-shadow:
    3px 3px 0 var(--pink),
    -1px -1px 0 rgba(255,79,163,0.4);
  line-height: 1.15;
  margin-bottom: 16px;
}

.philosophy-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.philosophy-body {
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255,255,255,0.85);
}

.philosophy-deco {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.philosophy-kyara {
  width: 100%;
  max-width: 280px;
  height: auto;
  animation: kyaraFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255,200,0,0.4));
}

@media (max-width: 860px) {
  .philosophy-inner { grid-template-columns: 1fr; }
  .philosophy-deco  { display: none; }
}



/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}

/* FV画像: 全面背景（拡大して人物シルエットを大きく見せる） */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/fv.jpg');
  background-size: 140%;
  background-position: 30% center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* オーバーレイ: 左側のみ濃く覆い、右側のシルエットはしっかり見せる */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 20, 120, 0.85) 0%,
    rgba(255, 79, 163, 0.68) 30%,
    rgba(255, 107, 26, 0.22) 55%,
    rgba(0, 0, 0, 0) 75%
  );
  z-index: 1;
}

/* アメコミ斜めストライプ: 薄くテクスチャとして重ねる */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 10px,
    transparent 10px,
    transparent 20px
  );
  z-index: 2;
}

/* 右側: FV画像が見えるように burst は非表示 */
.hero-burst {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  /* テキストブロックを広げ、キャラとのバランスを調整 */
  grid-template-columns: 62% 1fr;
  gap: 24px;
  align-items: center;
}

.hero-text-block {
  padding-bottom: 40px;
  order: 1;
  position: relative;
}

.hero-kyara-block {
  order: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 6px 20px;
  border: 3px solid var(--black);
  border-radius: 999px;
  box-shadow: var(--shadow-pop);
  margin-bottom: 16px;
  transform: rotate(-2deg);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  text-shadow:
    4px 4px 0 var(--black),
    -2px -2px 0 var(--black),
     2px -2px 0 var(--black),
    -2px  2px 0 var(--black);
  margin-bottom: 20px;
  /* 折り返しを防ぐためwhite-space nowrapに近い制御をwhite-spaceではなくmax-widthで */
  white-space: nowrap;
}

.hero-title span {
  color: var(--yellow);
  /* display: blockをやめてインライン表示に — 「変えていく。」が別行になるのを防ぐ */
  display: inline;
  font-size: inherit;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
  /* 末尾の1〜2文字だけ孤立しないよう禁則を強化 */
  overflow-wrap: break-word;
  word-break: keep-all;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* FV背景にヒーローが映るので旧hero-image-blockは不使用 */
.hero-image-block {
  display: none;
}

/* ===== kyara キャラクター — PC ===== */
.hero-kyara-block {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  align-self: flex-end;
}

.hero-kyara-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  /* kyara.png は透過処理済みのため blend mode 不要 */
  margin-bottom: -60px;
  filter: drop-shadow(0 0 30px rgba(255,200,0,0.5));
  animation: kyaraFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 12;
}

@keyframes kyaraFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-18px) scale(1.01); }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 16px 36px;
  border: 3px solid var(--black);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: 5px 5px 0 var(--black);
  white-space: nowrap;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--black);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--black);
}

.btn--pink   { background: var(--pink);   color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--purple { background: var(--purple); color: var(--white); }
.btn--white  { background: var(--white);  color: var(--black); }
.btn--lg     { font-size: 1.5rem; padding: 20px 50px; }

/* ===================================================
   COMIC PANEL — SECTION CONTAINER
   =================================================== */
.comic-panel {
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--black);
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* ===================================================
   SECTION: MISSION — WHO WE ARE
   =================================================== */
.section-mission {
  padding: 100px 24px 80px;
  position: relative;
  background: var(--white);
}

.section-mission .section-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--purple);
  text-shadow: var(--shadow-text);
  margin-bottom: 20px;
}

.mission-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
}

.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.stat-card {
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 4px 4px 0 var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 136px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1.1;
}
.stat-card .stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
  line-height: 1.4;
}

.mission-image { border: 4px solid var(--black); border-radius: 16px; box-shadow: 8px 8px 0 var(--black); overflow: hidden; }
.mission-image img { width: 100%; height: 440px; object-fit: cover; }

/* ===================================================
   SECTION: CHARACTERS — JOB TYPES (アメコミ風キャラ紹介)
   =================================================== */
.section-characters {
  padding: 130px 32px;
  position: relative;
}

.characters-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-heading-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-pop {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  display: block;
}

/* Comic grid */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.chara-card {
  border: 4px solid var(--black);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--black);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: grid;
  grid-template-columns: 180px 1fr;
}
.chara-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--black);
}

.chara-card--pink   { background: var(--pink); }
.chara-card--yellow { background: var(--yellow); }
.chara-card--purple { background: var(--purple); }
.chara-card--cyan   { background: var(--cyan); }

.chara-image {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.chara-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 施設・交通は後ろ姿が多いので center を基準に */
  object-position: center center;
  transition: transform 0.4s ease;
}
.chara-card:hover .chara-image img {
  transform: scale(1.05);
}
/* Diagonal clipping on image */
.chara-image::after {
  content: '';
  position: absolute;
  top: 0; right: -20px;
  width: 40px; height: 100%;
  background: inherit;
  clip-path: polygon(50% 0, 100% 0, 50% 100%, 0 100%);
}

.chara-body {
  padding: 24px 24px 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chara-role {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--yellow);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.chara-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  text-shadow: var(--shadow-text);
  line-height: 1.1;
  margin-bottom: 8px;
}
.chara-card--yellow .chara-name { color: var(--black); text-shadow: 2px 2px 0 rgba(0,0,0,0.2); }
.chara-card--cyan   .chara-name { color: var(--black); text-shadow: 2px 2px 0 rgba(0,0,0,0.15); }

.chara-power {
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 10px;
  color: rgba(0,0,0,0.7);
  display: inline-block;
}
.chara-card--pink   .chara-power,
.chara-card--purple .chara-power { color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.25); }

.chara-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(0,0,0,0.75);
}
.chara-card--pink   .chara-desc,
.chara-card--purple .chara-desc { color: rgba(255,255,255,0.9); }

/* ===================================================
   SECTION: BENEFITS — COMIC PANEL LAYOUT
   =================================================== */
.section-benefits {
  padding: 130px 32px;
  position: relative;
  overflow: hidden;
}

.benefits-inner {
  max-width: 1300px;
  margin: 0 auto;
}


.benefit-card {
  background: var(--white);
  border: 4px solid var(--black);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 6px 6px 0 var(--black);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: visible; /* 吹き出しがはみ出るように */
}
.benefit-card:hover {
  transform: translate(-4px,-4px) rotate(-1deg);
  box-shadow: 10px 10px 0 var(--black);
}

/* カード内の背景装飾円（overflow:hidden の代わりに clip で制御） */
.benefit-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}
.benefit-card:nth-child(1)::before { background: var(--pink); }
.benefit-card:nth-child(2)::before { background: var(--yellow); }
.benefit-card:nth-child(3)::before { background: var(--purple); }
.benefit-card:nth-child(4)::before { background: var(--cyan); }
.benefit-card:nth-child(5)::before { background: var(--orange); }
.benefit-card:nth-child(6)::before { background: var(--pink); }

/* ===== benefit 吹き出し: カード外にはみ出す ===== */
.benefit-huki {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  width: clamp(90px, 10vw, 130px);
}
.benefit-huki--omg {
  top: -52px;
  right: -28px;
  transform: rotate(15deg);
  animation: hukiBounce 2.4s ease-in-out infinite;
}
.benefit-huki--pow {
  top: -52px;
  right: -28px;
  transform: rotate(-10deg);
  animation: hukiBounce 3s ease-in-out infinite 0.3s;
}
.benefit-huki--wow {
  top: -52px;
  right: -28px;
  transform: rotate(12deg);
  animation: hukiBounce 2.7s ease-in-out infinite 0.5s;
}

/* benefits-grid に overflow: visible を確保 */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 72px; /* 吹き出しのはみ出し分だけ上部マージンを追加 */
  overflow: visible;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--purple);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
}

/* 前払いバッジ */
.benefit-prepay {
  display: inline-block;
  margin-top: 14px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  padding: 8px 16px;
  border: 3px solid var(--black);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--black);
  letter-spacing: 0.04em;
  animation: wiggle 1.2s ease-in-out infinite alternate;
}

/* ===================================================
   SECTION: RECRUIT — CTA
   =================================================== */
.section-recruit {
  padding: 130px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.recruit-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.recruit-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--white);
  text-shadow:
    4px 4px 0 var(--black),
    -2px -2px 0 var(--black),
     2px -2px 0 var(--black),
    -2px  2px 0 var(--black);
  line-height: 1.05;
  margin-bottom: 20px;
}

.recruit-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 36px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}

.recruit-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Rotating deco text — 3倍大きく */
.recruit-starburst {
  position: absolute;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2rem;       /* 0.7rem → 2rem (約3倍) */
  font-weight: 900;
  letter-spacing: 0.08em;
  width: 300px;          /* 100px → 300px */
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.18);
  animation: spinSlow 18s linear infinite;
  line-height: 1.3;
  pointer-events: none;
}
.recruit-starburst--1 { top: -80px; left: -80px; }
.recruit-starburst--2 { bottom: -80px; right: -80px; animation-direction: reverse; }

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* CTA 吹き出し — 左右にしっかり分散、テキストに被らない位置 */
.recruit-huki {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  animation: hukiBounce 2.8s ease-in-out infinite;
}
.recruit-huki--go {
  width: clamp(100px, 12vw, 180px);
  left: clamp(10px, 5vw, 60px);
  top: 50%;
  transform: translateY(-60%) rotate(-12deg);
  animation-duration: 3s;
}
.recruit-huki--ok {
  width: clamp(90px, 11vw, 160px);
  right: clamp(10px, 5vw, 60px);
  top: 30%;
  transform: translateY(-50%) rotate(8deg);
  animation-duration: 2.5s;
  animation-delay: 0.4s;
}
.recruit-huki--omg {
  width: clamp(100px, 12vw, 170px);
  right: clamp(10px, 6vw, 80px);
  bottom: 12%;
  transform: rotate(15deg);
  animation-duration: 3.2s;
  animation-delay: 0.8s;
}

/* スマホでは吹き出しを隠す（テキストと干渉防止） */
@media (max-width: 768px) {
  .recruit-huki { display: none; }
  .recruit-starburst { width: 160px; height: 160px; font-size: 1.1rem; }
  .recruit-starburst--1 { top: -40px; left: -40px; }
  .recruit-starburst--2 { bottom: -40px; right: -40px; }
}

/* ===================================================
   SECTION: VOICE — カルーセル版（6人）
   =================================================== */
.section-voice {
  padding: 130px 32px;
  background: var(--white);
}

.voice-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== カルーセル外枠 ===== */
.voice-carousel-outer {
  position: relative;
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== スクロールコンテナ ===== */
.voice-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 30px 4px 16px; /* 上: イラストはみ出し分 */
  flex: 1;
}
.voice-carousel::-webkit-scrollbar { display: none; }

/* ===== 前後ボタン ===== */
.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--black);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background: var(--pink);
  color: var(--white);
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--black);
}
.carousel-btn:active {
  transform: translate(1px,1px);
  box-shadow: 1px 1px 0 var(--black);
}

/* ===== ドットインジケーター ===== */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.is-active {
  background: var(--pink);
  transform: scale(1.3);
}

/* ===== カード本体 ===== */
.voice-card {
  border: 4px solid var(--black);
  border-radius: 20px;
  overflow: visible;
  box-shadow: 6px 6px 0 var(--black);
  background: var(--cream);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  /* カルーセル用: 幅固定・スナップ */
  flex: 0 0 280px;
  scroll-snap-align: start;
}
.voice-card:hover {
  transform: translate(-3px, -6px) rotate(-1deg);
  box-shadow: 10px 12px 0 var(--black);
}

/* カラーアクセント */
.voice-card--pink   { border-top: 8px solid var(--pink); }
.voice-card--purple { border-top: 8px solid var(--purple); }
.voice-card--orange { border-top: 8px solid var(--orange); }
.voice-card--cyan   { border-top: 8px solid var(--cyan); }

/* ===== イラストエリア ===== */
.voice-illust {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 200px;
  margin-top: -20px;
  overflow: visible;
}
.voice-illust img {
  /* 透過PNG済みのためblend mode不要 */
  height: 220px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 5;
  filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}
.voice-card:hover .voice-illust img {
  transform: translateY(-8px) scale(1.04);
}

.voice-tag {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 14px;
  border: 2px solid var(--black);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--black);
  z-index: 10;
}

/* ===== テキストエリア ===== */
.voice-body {
  padding: 24px 16px 20px;
  border-top: 3px dashed rgba(0,0,0,0.12);
  flex: 1;
}
.voice-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 2px;
}
.voice-tenure {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 吹き出し風クォート */
.voice-balloon {
  font-size: 0.85rem;
  line-height: 1.85;
  color: #333;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 16px;
  padding: 12px 14px;
  position: relative;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}
.voice-balloon::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 24px;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 14px solid var(--black);
}
.voice-balloon::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 26px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 11px solid var(--white);
}

/* カラーごとのアクセント */
.voice-card--pink   .voice-balloon { border-color: var(--pink);   }
.voice-card--pink   .voice-balloon::before { border-bottom-color: var(--pink); }
.voice-card--purple .voice-balloon { border-color: var(--purple); }
.voice-card--purple .voice-balloon::before { border-bottom-color: var(--purple); }
.voice-card--orange .voice-balloon { border-color: var(--orange); }
.voice-card--orange .voice-balloon::before { border-bottom-color: var(--orange); }
.voice-card--cyan   .voice-balloon { border-color: var(--cyan);   }
.voice-card--cyan   .voice-balloon::before { border-bottom-color: var(--cyan); }

/* スマホ: ボタンを小さく */
@media (max-width: 680px) {
  .carousel-btn { width: 36px; height: 36px; font-size: 1.4rem; }
  .voice-card   { flex: 0 0 240px; }
}


/* ===================================================
   SITE FOOTER
   =================================================== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 24px 30px;
  position: relative;
  border-top: 6px solid var(--pink);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo__img {
  width: 56px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.footer-logo__text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--pink);
  letter-spacing: 0.05em;
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
}

.footer-nav-link {
  color: rgba(255,255,255,0.65);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.04em;
}
.footer-nav-link:hover { color: var(--yellow); }

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  color: var(--pink);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--yellow); }

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  /* ===== ナビ → ハンバーガー ===== */
  .site-nav  { display: none; position: fixed; top: 84px; left: 0; right: 0; background: var(--black); padding: 24px 20px; border-bottom: 4px solid var(--pink); z-index: 998; }
  .site-nav.is-open { display: block; }
  .site-nav ul       { flex-direction: column; gap: 10px; }
  .nav-toggle        { display: block; }

  /* ===== コンテンツレイアウト ===== */
  .hero-inner              { grid-template-columns: 1fr; }
  .hero-image-block        { display: none; }
  .hero-kyara-block        { display: none; } /* タブレット幅ではFV写真のみ */
  .hero-bg {
    background-size: 180%;
    background-position: 60% center;
  }
  .hero-bg::after {
    background: linear-gradient(
      100deg,
      rgba(255, 20, 120, 0.90) 0%,
      rgba(255, 79, 163, 0.75) 45%,
      rgba(255, 107, 26, 0.25) 70%,
      rgba(0,0,0,0) 90%
    );
  }
  .section-mission .section-inner { grid-template-columns: 1fr; }
  .characters-grid         { grid-template-columns: 1fr; }
  .benefits-grid           { grid-template-columns: repeat(2, 1fr); }
  .footer-inner            { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {

  /* ===== ベースフォントを30%縮小（20px → 14px） ===== */
  html { font-size: 14px; }

  /* ===== ヘッダー ===== */
  .site-header { padding: 0 12px; }
  .header-inner { height: 56px; }
  .site-logo__img { width: 32px; }
  .site-logo__text { font-size: 1rem; }
  .header-inquiry {
    padding: 5px 10px;
    font-size: 0.75rem;
    gap: 0;
  }
  .header-inquiry__label { display: none; }
  .nav-toggle span { width: 22px; }

  /* ===== ハンバーガーメニュー（展開時）===== */
  .site-nav { top: 56px !important; padding: 16px 14px; }
  .site-nav a { font-size: 0.85rem; padding: 7px 12px; }

  /* ===== ヒーロー ===== */
  .hero { padding: 70px 16px 48px; min-height: 100svh; }
  .hero-bg {
    background-size: 260%;
    background-position: 72% 60%;
  }
  .hero-bg::after {
    background: linear-gradient(
      160deg,
      rgba(255, 20, 120, 0.92) 0%,
      rgba(255, 79, 163, 0.82) 40%,
      rgba(255, 107, 26, 0.30) 70%,
      rgba(0,0,0,0.05) 100%
    );
  }

  /* kyara: 縮小して右上に */
  .hero-kyara-block {
    display: block;
    position: absolute;
    top: 4%;
    right: -4vw;
    width: 52vw;
    max-width: 260px;
    z-index: 3;
    pointer-events: none;
  }
  .hero-kyara-img {
    width: 100%;
    filter: drop-shadow(0 0 14px rgba(255,200,0,0.4));
    animation: kyaraFloat 4s ease-in-out infinite;
    opacity: 1;
  }

  .hero-text-block { position: relative; z-index: 10; }
  .hero-inner { grid-template-columns: 1fr; position: relative; }

  .hero-badge { font-size: 0.65rem; padding: 4px 12px; }
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.4rem);
    max-width: 100%;
    white-space: normal;
  }
  .hero-title span { display: block; }
  .hero-subtitle { font-size: 0.82rem; padding: 10px 14px; }

  .hero-cta-group { gap: 10px; }
  .btn--lg { font-size: 1rem; padding: 14px 28px; }

  /* ===== 吹き出し非表示 ===== */
  .huki-hero-wow,
  .huki-hero-pow { display: none; }

  /* ===== セクション共通 ===== */
  .section-eyebrow { font-size: 0.85rem; padding: 3px 10px; } /* 9.1px→11.9px→12px相当 */

  /* ===== キャラカード ===== */
  .chara-card { grid-template-columns: 1fr; }
  .chara-image { min-height: 150px; }
  .chara-name { font-size: 1.6rem; }
  .chara-desc { font-size: 1rem; }
  .chara-power { font-size: 0.9rem; }
  .chara-body { padding: 20px 16px; }
  /* キャラカードの吹き出しはスマホでは非表示 */
  .characters-grid > img.huki { display: none; }

  /* ===== 福利厚生 ===== */
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: 24px 16px; }
  .benefit-icon { font-size: 2rem; }
  .benefit-title { font-size: 1.1rem; }
  .benefit-desc { font-size: 1rem; }      /* 10.9px → 14px */

  /* ===== stat-card ===== */
  .stat-card .stat-num { font-size: 1.8rem; }
  .stat-card { min-height: 90px; }
  .stat-card .stat-label { font-size: 1rem; } /* 10.9px → 14px */

  /* ===== スタッフカルーセル ===== */
  .voice-card { flex: 0 0 240px; }        /* カード幅も少し広げて余裕を持たせる */
  .voice-illust { height: 160px; }
  .voice-illust img { height: 175px; }
  .voice-name { font-size: 1.1rem; }      /* 12.6px → 15.4px */
  .voice-tenure { font-size: 1rem; }      /* 10.5px → 14px */
  .voice-balloon { font-size: 1rem; }     /* 10.5px → 14px */
  .voice-tag { font-size: 0.85rem; }      /* 10.5px → 11.9px（タグは少し控えめでOK）*/
  .carousel-btn { width: 34px; height: 34px; font-size: 1.3rem; }

  /* ===== 採用CTA ===== */
  .recruit-title { font-size: 2.5rem; }
  .recruit-subtitle { font-size: 0.82rem; }
  .recruit-cta-group { flex-direction: column; align-items: center; }
  .recruit-huki { display: none; }

  /* ===== stat-card ===== */
  .stat-card .stat-num { font-size: 1.8rem; }
  .stat-card { min-height: 90px; }

  /* ===== フッター ===== */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-logo__img { width: 40px; }
  .footer-logo__text { font-size: 1.3rem; }
  .footer-tagline { font-size: 0.75rem; }
}

/* reCAPTCHA バッジを非表示 */
.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; }

/* ===================================================
   SINGLE POST / PAGE — 投稿・固定ページ共通スタイル
   =================================================== */

/* ヒーロー帯 */
.single-hero {
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
}
.single-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.single-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--black);
  text-shadow: var(--shadow-text);
  line-height: 1.2;
  margin: 12px 0 16px;
}
.single-date {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--purple);
  letter-spacing: 0.05em;
}

/* 本文ラッパー */
.single-body-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

/* 記事カード */
.single-article {
  padding: 48px 52px;
}

/* 本文タイポグラフィ */
.single-content {
  font-size: 1rem;
  line-height: 2;
  color: #333;
}
.single-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--purple);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.08);
  margin: 2em 0 0.6em;
  padding-left: 14px;
  border-left: 5px solid var(--pink);
}
.single-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--black);
  margin: 1.5em 0 0.5em;
}
.single-content p { margin-bottom: 1.4em; }
.single-content ul,
.single-content ol {
  padding-left: 1.6em;
  margin-bottom: 1.4em;
}
.single-content li { margin-bottom: 0.4em; }
.single-content a {
  color: var(--purple);
  text-decoration: underline;
  font-weight: 700;
}
.single-content a:hover { color: var(--pink); }
.single-content strong { color: var(--black); font-weight: 900; }

/* プライバシーポリシー専用 */
.privacy-content h2 {
  font-size: 1.15rem;
  margin-top: 2.4em;
}

/* 記事下CTA */
.single-cta {
  margin-top: 48px;
  padding: 36px 24px;
  background: var(--black);
  border-radius: 20px;
  border: 4px solid var(--pink);
  box-shadow: 6px 6px 0 var(--black);
  text-align: center;
}
.single-cta__lead {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

/* 前後ナビ */
.single-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 3px dashed rgba(0,0,0,0.12);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
}
.single-nav a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.15s;
}
.single-nav a:hover { color: var(--pink); }

/* レスポンシブ */
@media (max-width: 680px) {
  .single-hero { padding: 90px 16px 40px; }
  .single-article { padding: 28px 20px; }
  .single-body-wrap { padding: 32px 12px 60px; }
  .single-nav { flex-direction: column; gap: 8px; }
}



/* ===================================================
   COMIC BUBBLE DECORATIONS — 吹き出し装飾
   =================================================== */

/* 汎用: 位置固定の吹き出し画像 */
.huki {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  user-select: none;
}

/* ヒーローセクション用 */
.huki-hero-wow {
  width: clamp(160px, 20vw, 280px);
  top: 10%;
  right: 2%;
  transform: rotate(10deg);
  animation: hukiBounce 2.5s ease-in-out infinite;
}
.huki-hero-pow {
  width: clamp(130px, 16vw, 220px);
  bottom: 14%;
  left: 1%;
  transform: rotate(-8deg);
  animation: hukiBounce 3s ease-in-out infinite 0.5s;
}

/* キャラカードセクション用 */
.huki-char-cool {
  width: clamp(90px, 11vw, 150px);
  top: -30px;
  right: -20px;
  transform: rotate(12deg);
  animation: hukiBounce 2.8s ease-in-out infinite;
}
.huki-char-go {
  width: clamp(90px, 11vw, 150px);
  bottom: -20px;
  left: -15px;
  transform: rotate(-10deg);
  animation: hukiBounce 3.2s ease-in-out infinite 0.3s;
}
.huki-char-omg {
  width: clamp(80px, 10vw, 130px);
  top: -25px;
  left: -10px;
  transform: rotate(-15deg);
  animation: hukiBounce 2.6s ease-in-out infinite 0.8s;
}
.huki-char-ok {
  width: clamp(80px, 10vw, 130px);
  bottom: -20px;
  right: -10px;
  transform: rotate(8deg);
  animation: hukiBounce 3s ease-in-out infinite 0.6s;
}

/* 福利厚生セクション用 */
.huki-benefit-wow {
  width: clamp(70px, 9vw, 120px);
  top: -15px;
  right: -10px;
  transform: rotate(15deg);
  animation: hukiBounce 2.4s ease-in-out infinite;
}
.huki-benefit-pow {
  width: clamp(70px, 9vw, 120px);
  top: -15px;
  right: -10px;
  transform: rotate(-12deg);
  animation: hukiBounce 3s ease-in-out infinite 0.4s;
}
.huki-benefit-omg {
  width: clamp(70px, 9vw, 120px);
  top: -20px;
  right: -8px;
  transform: rotate(10deg);
  animation: hukiBounce 2.7s ease-in-out infinite 0.2s;
}

/* 採用CTAセクション用 */
.huki-recruit-go {
  width: clamp(110px, 14vw, 200px);
  top: 8%;
  left: 8%;
  transform: rotate(-8deg);
  animation: hukiBounce 2.5s ease-in-out infinite;
}
.huki-recruit-omg {
  width: clamp(110px, 14vw, 200px);
  bottom: 10%;
  right: 8%;
  transform: rotate(12deg);
  animation: hukiBounce 3s ease-in-out infinite 0.6s;
}
.huki-recruit-cool {
  width: clamp(90px, 12vw, 160px);
  top: 15%;
  right: 12%;
  transform: rotate(-5deg);
  animation: hukiBounce 2.8s ease-in-out infinite 0.3s;
}

@keyframes hukiBounce {
  0%, 100% { transform: translateY(0)   rotate(var(--r, 10deg)) scale(1); }
  50%       { transform: translateY(-10px) rotate(var(--r, 10deg)) scale(1.05); }
}

/* ===================================================
   ANIMATIONS & UTILITIES
   =================================================== */
.wiggle {
  animation: wiggle 0.8s ease-in-out infinite alternate;
}
@keyframes wiggle {
  from { transform: rotate(-2deg); }
  to   { transform: rotate(2deg); }
}

.pop-in {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pop-in.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
