/*
Theme Name: シロクマくんLP
Theme URI: https://shirokuma-tax.com
Author: 株式会社税務のシロクマくん
Author URI: https://shirokuma-tax.com
Description: シロクマくん税務調査あんしんメンバーシップ ランディングページ専用テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: All Rights Reserved
License URI: https://shirokuma-tax.com
Text Domain: shirokuma-lp
*/

/* ===== CSS Variables ===== */
:root {
  --primary: #2C5F8A;
  --primary-dark: #1E4466;
  --secondary: #EEF7FF;
  --accent: #FF7043;
  --accent-hover: #FF8A65;
  --warm-white: #FFFDF9;
  --text: #2D2D2D;
  --text-light: #5A5A5A;
  --success: #4CAF82;
  --bear-white: #FFFFFF;
  --bear-outline: #E8E8E8;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1100px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.4;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img { max-width: 100%; }

/* Focus indicator */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Animations ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes waveHand {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(14deg); }
  75% { transform: rotate(-8deg); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Sticky Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

.header-logo-icon {
  font-size: 1.5rem;
}

.header-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.header-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(255,112,67,0.3);
}

/* ===== CTA Button (shared) ===== */
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 18px 48px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: center;
  min-height: 44px;
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(255,112,67,0.35);
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-micro {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.cta-micro span {
  margin: 0 6px;
}

.cta-secondary {
  display: inline-block;
  background: transparent;
  border: 1.5px solid #AAAAAA;
  color: #666;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 10px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-align: center;
  min-height: 44px;
  margin-top: 12px;
  text-decoration: none;
}

.cta-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== CSS Polar Bear ===== */
.bear {
  position: relative;
  width: 200px;
  height: 220px;
  animation: float 3s ease-in-out infinite;
}

.bear-head {
  position: absolute;
  width: 160px;
  height: 150px;
  background: var(--bear-white);
  border-radius: 50% 50% 45% 45%;
  top: 40px;
  left: 20px;
  box-shadow: 0 0 0 3px var(--bear-outline);
}

.bear-ear {
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--bear-white);
  border-radius: 50%;
  top: 24px;
  box-shadow: 0 0 0 3px var(--bear-outline);
}

.bear-ear-inner {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--secondary);
  border-radius: 50%;
  top: 10px;
  left: 10px;
}

.bear-ear.left { left: 18px; }
.bear-ear.right { right: 18px; }

.bear-eye {
  position: absolute;
  width: 14px;
  height: 16px;
  background: var(--text);
  border-radius: 50%;
  top: 95px;
}

.bear-eye.left { left: 58px; }
.bear-eye.right { right: 58px; }

.bear-eye-shine {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  right: 2px;
}

.bear-nose {
  position: absolute;
  width: 22px;
  height: 16px;
  background: #3D3D3D;
  border-radius: 50% 50% 45% 45%;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
}

.bear-mouth {
  position: absolute;
  top: 138px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 10px;
  border-bottom: 2.5px solid #888;
  border-radius: 0 0 50% 50%;
}

.bear-blush {
  position: absolute;
  width: 24px;
  height: 14px;
  background: rgba(255, 182, 170, 0.45);
  border-radius: 50%;
  top: 125px;
}

.bear-blush.left { left: 38px; }
.bear-blush.right { right: 38px; }

.bear-body {
  position: absolute;
  width: 130px;
  height: 90px;
  background: var(--bear-white);
  border-radius: 50% 50% 40% 40%;
  bottom: 0;
  left: 35px;
  box-shadow: 0 0 0 3px var(--bear-outline);
}

.bear-arm {
  position: absolute;
  width: 40px;
  height: 65px;
  background: var(--bear-white);
  border-radius: 50%;
  bottom: 20px;
  box-shadow: 0 0 0 3px var(--bear-outline);
}

.bear-arm.left {
  left: 14px;
  transform: rotate(20deg);
  animation: waveHand 2s ease-in-out infinite;
  transform-origin: top center;
}

.bear-arm.right {
  right: 14px;
  transform: rotate(-15deg);
}

/* Hero bear image (replacing CSS art in hero only) */
.hero-bear-img {
  width: 280px;
  height: auto;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
  margin-right: 40px;
}

/* Mini bear for decorations */
.bear-mini {
  display: inline-block;
  width: 40px;
  height: 40px;
  position: relative;
}

.bear-mini .bm-head {
  position: absolute;
  width: 30px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  top: 8px;
  left: 5px;
  box-shadow: 0 0 0 1.5px var(--bear-outline);
}

.bear-mini .bm-ear {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  top: 4px;
  box-shadow: 0 0 0 1.5px var(--bear-outline);
}

.bear-mini .bm-ear.l { left: 5px; }
.bear-mini .bm-ear.r { right: 5px; }

.bear-mini .bm-eye {
  position: absolute;
  width: 3px;
  height: 4px;
  background: var(--text);
  border-radius: 50%;
  top: 18px;
}

.bear-mini .bm-eye.l { left: 14px; }
.bear-mini .bm-eye.r { right: 14px; }

.bear-mini .bm-nose {
  position: absolute;
  width: 5px;
  height: 4px;
  background: #3D3D3D;
  border-radius: 50%;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
}

/* ===== Section 1: Hero ===== */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--warm-white) 100%);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(44, 95, 138, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
}

.hero-scroll {
  display: block;
  text-align: center;
  margin-top: 48px;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== Section 2: Problem ===== */
.problem {
  padding: 80px 0;
  background: var(--warm-white);
}

.section-heading {
  text-align: center;
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 48px;
}

.section-sub {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-light);
  margin-top: -32px;
  margin-bottom: 48px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.problem-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary);
  white-space: nowrap;
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

.problem-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

/* ===== Section 3: Late ===== */
.late-section {
  padding: 80px 0;
  background: #fff;
}

.late-section-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text);
  line-height: 2;
}

.late-section-body p {
  margin-bottom: 24px;
}

.late-section-emphasis {
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  margin-top: 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  text-align: center;
}

/* ===== Section 4: Why Us ===== */
.why-us {
  padding: 80px 0;
  background: var(--warm-white);
}

.why-us-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 2;
}

.why-us-sub {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-top: -32px;
  margin-bottom: 24px;
}

.why-us-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.why-us-card {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.why-us-card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.why-us-card h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.why-us-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}

.why-us-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.why-us-stat {
  text-align: center;
  padding: 16px 24px;
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1px solid var(--bear-outline);
}

.why-us-stat strong {
  display: block;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.why-us-stat span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.why-us-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.why-us-compare-col {
  padding: 28px 24px;
  border-radius: var(--radius);
}

.why-us-compare-col.general {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

.why-us-compare-col.kokuzei {
  background: var(--secondary);
  border: 2px solid var(--primary);
}

.why-us-compare-col h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  text-align: center;
}

.why-us-compare-col.general h3 { color: var(--text-light); }
.why-us-compare-col.kokuzei h3 { color: var(--primary); }

.why-us-compare-col ul {
  list-style: none;
  padding: 0;
}

.why-us-compare-col ul li {
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text);
}

.why-us-compare-col ul li:last-child { border-bottom: none; }

/* ===== Section 5: Service ===== */
.service {
  padding: 80px 0;
  background: var(--secondary);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Section 6: Flow ===== */
.flow {
  padding: 80px 0;
  background: var(--warm-white);
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  position: relative;
}

.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 14px;
}

.flow-step-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 14px;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.flow-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== Section 7: Pricing ===== */
.pricing {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--warm-white) 100%);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  border: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.recommended {
  border-color: var(--accent);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--text);
  line-height: 1.2;
}

.pricing-price small {
  font-size: 0.9rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

.pricing-detail {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 8px;
  line-height: 1.6;
}

.pricing-tax {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
}

.pricing-compare {
  text-align: center;
  margin-bottom: 36px;
  padding: 24px;
  background: rgba(44, 95, 138, 0.05);
  border-radius: var(--radius);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-compare p {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pricing-compare .compare-old {
  color: var(--text-light);
  text-decoration: line-through;
}

.pricing-compare .compare-new {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.pricing-cta {
  text-align: center;
  margin-top: 32px;
}

/* ===== Section 8: Trust ===== */
.trust {
  padding: 80px 0;
  background: var(--warm-white);
}

.trust-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.trust-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.trust-item p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Section 9: FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--secondary);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  line-height: 1.6;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(44, 95, 138, 0.03);
}

.faq-question-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 12px;
}

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
}

.faq-toggle::before {
  width: 16px;
  height: 2px;
  top: 11px;
  left: 4px;
}

.faq-toggle::after {
  width: 2px;
  height: 16px;
  top: 4px;
  left: 11px;
  transition: transform 0.3s, opacity 0.3s;
}

.faq-item.open .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer {
  padding: 0 24px 20px;
  padding-left: 64px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Section 10: Final CTA ===== */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--secondary) 100%);
  text-align: center;
}

.final-cta h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.final-cta-sub {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.8;
}

.final-cta .bear {
  margin: 0 auto 32px;
}

/* ===== Footer ===== */
.site-footer {
  padding: 56px 0 32px;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-brand-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-brand-name span {
  margin-right: 6px;
}

.footer-brand-catch {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-brand-contact {
  color: rgba(255,255,255,0.7);
  font-size: 0.84rem;
  margin-bottom: 20px;
}

.footer-brand-contact a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-brand-contact a:hover {
  color: #fff;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.2s, transform 0.2s;
}

.footer-sns a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.footer-sns svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.85);
}

.footer-sns a:hover svg {
  fill: #fff;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 28px auto;
  max-width: 400px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  font-size: 12px;
  color: #999;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.footer-copyright {
  font-size: 12px;
  color: #999;
  margin-top: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-bear-img {
    width: 200px;
    margin-right: 0;
  }

  .hero-badges {
    justify-content: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 360px;
    font-size: 1.05rem;
    padding: 16px 32px;
  }

  .section-heading {
    font-size: 1.35rem;
    margin-bottom: 36px;
  }

  .problem-cards,
  .service-cards,
  .why-us-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-us-compare {
    grid-template-columns: 1fr;
  }

  .why-us-stats {
    gap: 16px;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .flow-step {
    max-width: 280px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .final-cta h2 {
    font-size: 1.4rem;
  }

  .header-logo span {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .problem-cards,
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1025px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-bear-img {
    width: 320px;
  }

  .bear {
    width: 240px;
    height: 260px;
  }

  .bear-head {
    width: 190px;
    height: 178px;
    top: 46px;
    left: 25px;
  }

  .bear-ear { width: 52px; height: 52px; top: 26px; }
  .bear-ear-inner { width: 28px; height: 28px; top: 12px; left: 12px; }
  .bear-ear.left { left: 22px; }
  .bear-ear.right { right: 22px; }
  .bear-eye { width: 16px; height: 19px; top: 112px; }
  .bear-eye.left { left: 68px; }
  .bear-eye.right { right: 68px; }
  .bear-eye-shine { width: 6px; height: 6px; }
  .bear-nose { width: 26px; height: 18px; top: 142px; }
  .bear-mouth { top: 162px; width: 24px; height: 12px; }
  .bear-blush { width: 28px; height: 16px; top: 148px; }
  .bear-blush.left { left: 45px; }
  .bear-blush.right { right: 45px; }
  .bear-body { width: 155px; height: 105px; left: 42px; }
  .bear-arm { width: 48px; height: 78px; bottom: 24px; }
  .bear-arm.left { left: 16px; }
  .bear-arm.right { right: 16px; }
}

/* Font size guard */
@media (max-width: 375px) {
  html { font-size: 15px; }
  body { font-size: 17px; }
}
