/* ==========================================
   PayPayマネーライト買取ForYou
   Premium Design System - Complete Edition
   ========================================== */

/* ========== CSS Variables ========== */
:root {
  /* PayPay Brand Colors */
  --primary-red: #FF0000;
  --primary-red-dark: #D10000;
  --primary-red-light: #FF3333;
  --gradient-red: linear-gradient(135deg, #FF0000 0%, #FF3333 100%);
  --red: #ff1818;
  --red2: #ff5454;
  
  /* Accent Colors */
  --gold: #FFB800;
  --gold-light: #FFD700;
  --blue: #1E90FF;
  --green: #00C853;
  
  /* Neutral Colors */
  --black: #0A0A0A;
  --gray-900: #1A1A1A;
  --gray-800: #2A2A2A;
  --gray-700: #3A3A3A;
  --gray-600: #666666;
  --gray-500: #999999;
  --gray-400: #CCCCCC;
  --gray-300: #E5E5E5;
  --gray-200: #F0F0F0;
  --gray-100: #F8F8F8;
  --white: #FFFFFF;
  
  /* Semantic Colors */
  --success: #00C853;
  --warning: #FFB800;
  --error: #FF3333;
  --info: #1E90FF;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);
  --shadow-red: 0 8px 32px rgba(255, 0, 0, 0.25);
  --shadow-gold: 0 8px 32px rgba(255, 184, 0, 0.25);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(20px);
  
  /* Transitions */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-base);
}

input, textarea, select {
  font-family: inherit;
  outline: none;
  transition: var(--transition-base);
}

/* ========== Utility Classes ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.full-width {
  width: 100%;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: block; }
  .sp-br { display: inline; }
  .sp { display: block; }
}

/* ========== Fade-up Animation ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========== Section Styles ========== */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.bg-light {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.sec-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.sec-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 0.75rem;
}

.sec-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.sec-desc {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  color: var(--gray-600);
  line-height: 1.8;
}

.text-gold { color: var(--gold) !important; }
.text-white { color: var(--white) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.7) !important; }

/* ========== Header ========== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.logo svg {
  color: var(--primary-red);
  filter: drop-shadow(0 2px 4px rgba(255, 0, 0, 0.2));
}

.logo span {
  color: var(--primary-red);
}

.nav-pc {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-pc a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  position: relative;
  padding: 0.5rem 0;
}

.nav-pc a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--gradient-red);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pc a:hover {
  color: var(--primary-red);
}

.nav-pc a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tel-box {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.tel-label {
  font-size: 0.625rem;
  color: var(--gray-600);
  font-weight: 500;
}

.tel-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 0.05em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: var(--gradient-red);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-red-light) 0%, var(--primary-red) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 0, 0, 0.35);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-header {
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-media {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Ticker ========== */
.ticker-wrap {
  background: var(--gradient-red);
  color: var(--white);
  overflow: hidden;
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
}

.ticker {
  display: flex;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  flex-shrink: 0;
  padding: 0 3rem;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== News Section ========== */
.section-news {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

.news-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.news-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-red);
}

.news-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 900;
  color: var(--primary-red);
  letter-spacing: 0.05em;
}

.news-sub {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-list li {
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li:hover {
  background: var(--gray-100);
}

.news-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem;
  gap: 1.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.news-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 600;
}

.news-cat {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.cat-campaign {
  background: linear-gradient(135deg, #FFE5E5 0%, #FFD0D0 100%);
  color: var(--primary-red);
}

.cat-update {
  background: linear-gradient(135deg, #E5F3FF 0%, #D0E8FF 100%);
  color: var(--blue);
}

.cat-info {
  background: linear-gradient(135deg, #FFF8E5 0%, #FFEFD0 100%);
  color: #FF8C00;
}

.news-text {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.6;
}

/* ==========================================
   Highlight Banner（元の相方版）
   ========================================== */
.highlight-banner {
  background: #ffebb2cc;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  background-image: url(./images/bg1.png);
}

.highlight-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,24,24,0.04) 0px, rgba(255,24,24,0.04) 1px, transparent 1px, transparent 20px);
}

.highlight-banner::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,24,24,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.highlight-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.highlight-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(255, 24, 24);
  border: 1px solid rgb(255, 24, 24);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.highlight-text {
  font-size: clamp(20px, 3.5vw, 34px);
  font-weight: 900;
  color: #000;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hl-red {
  color: rgb(255, 24, 24);
  position: relative;
  display: inline;
}

.hl-box {
  background: rgb(255, 24, 24);
  border: 1px solid rgba(255,84,84,0.4);
  padding: 2px 10px;
  border-radius: 6px;
  color: #fff;
}

.highlight-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hl-primary {
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: #fff;
  padding: 15px 36px;
  border-radius: 12px;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(255,24,24,0.45);
  transition: all 0.2s;
  display: inline-block;
}

.btn-hl-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,24,24,0.55);
}

.btn-hl-line {
  background: #00b900;
  color: #fff;
  padding: 15px 36px;
  border-radius: 12px;
  font-size: 26px;
  font-weight: 800;
  transition: all 0.2s;
  display: inline-block;
}

.btn-hl-line:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ========== Reasons Section (Swiper) ========== */
.section-reasons {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.section-reasons::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.mySwiper {
  padding: 2rem 0 4rem;
}

.reason-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
  height: auto;
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.reason-img-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.reason-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reason-card:hover .reason-img-box img {
  transform: scale(1.05);
}

.reason-text-box {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.reason-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.reason-tag.red {
  background: linear-gradient(135deg, #FFE5E5 0%, #FFD0D0 100%);
  color: var(--primary-red);
}

.reason-tag.gold {
  background: linear-gradient(135deg, #FFF8E5 0%, #FFEFD0 100%);
  color: var(--gold);
}

.reason-tag.blue {
  background: linear-gradient(135deg, #E5F3FF 0%, #D0E8FF 100%);
  color: var(--blue);
}

.reason-tag.green {
  background: linear-gradient(135deg, #E5FFE5 0%, #D0FFD0 100%);
  color: var(--success);
}

.reason-head {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.reason-desc {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.25rem;
  color: var(--primary-red);
  font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-red);
  box-shadow: var(--shadow-red);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: var(--white);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--gray-400);
  opacity: 1;
  transition: var(--transition-base);
}

.swiper-pagination-bullet-active {
  background: var(--primary-red);
  width: 32px;
  border-radius: 6px;
}

/* ========== Simulator Section ========== */
.section-sim {
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 0, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 184, 0, 0.06) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.section-sim::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.02) 35px, rgba(255,255,255,0.02) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.02) 35px, rgba(255,255,255,0.02) 70px);
  pointer-events: none;
}


.sim-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.sim-left {
  color: var(--white);
}

.sim-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.sim-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sim-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.sim-check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sim-check li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.sim-check li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--gradient-red);
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.sim-check strong {
  color: var(--gold);
  font-weight: 700;
}

.sim-right {
  position: relative;
}

.sim-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sim-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sim-tab {
  padding: 1rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-300);
  color: var(--gray-600);
  transition: var(--transition-base);
  cursor: pointer;
}

.sim-tab:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.sim-tab.active {
  background: var(--gradient-red);
  border-color: var(--primary-red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.input-group {
  margin-bottom: 2rem;
}

.input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

.amount-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.yen {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-400);
  pointer-events: none;
}

#amountInput {
  width: 100%;
  padding: 1.25rem 1.25rem 1.25rem 3rem;
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

#amountInput:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
}

#amountRange {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--primary-red) 0%, var(--primary-red) 22.95%, var(--gray-300) 22.95%, var(--gray-300) 100%);
  outline: none;
  cursor: pointer;
}

#amountRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-red);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

#amountRange::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-red);
}

#amountRange::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--gradient-red);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

#amountRange::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-red);
}

/* Simulator Result Area (Breakdown Style) */
.result-area {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gray-200);
}

.result-breakdown {
  display: flex;
  flex-direction: column;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.result-row:last-child {
  border-bottom: none;
  background: linear-gradient(135deg, #FFF5F5 0%, #FFE5E5 100%);
}

.result-row.total {
  padding: 1.5rem 1.75rem;
}

.result-label-left {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
}

.result-label-left.total {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--gray-900);
}

.result-value-right {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.result-value-right.negative {
  color: var(--primary-red);
}

.result-value-right.total {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  color: var(--primary-red);
}

.result-value-right .unit {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 600;
  margin-left: 0.25rem;
}

/* ========== Flow Section ========== */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.flow-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.flow-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.flow-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   Voice Section (お客様の声)
   ========================================== */
.section-voice {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
  position: relative;
  overflow: hidden;
}

.section-voice::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.voice-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.voice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.voice-quote {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 0, 0, 0.08);
  line-height: 1;
  pointer-events: none;
}

.voice-stars {
  color: #FFB800;
  font-size: 1.125rem;
  letter-spacing: 0.125rem;
  margin-bottom: 1rem;
}

.voice-text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  flex: 1;
}

.voice-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}

.voice-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 900;
  flex-shrink: 0;
}

.voice-info {
  flex: 1;
}

.voice-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.voice-attr {
  font-size: 0.75rem;
  color: var(--gray-600);
}

.voice-tag {
  flex-shrink: 0;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, #FFE5E5 0%, #FFD0D0 100%);
  color: var(--primary-red);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ========== FAQ Section ========== */
.faq-container {
  max-width: 900px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-base);
}

.faq-q:hover {
  color: var(--primary-red);
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-red);
  font-weight: 700;
  transition: var(--transition-base);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-a {
  max-height: 500px;
}

.faq-a-inner {
  padding: 0 2rem 1.5rem 2rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--gray-600);
}

/* ========== Apply Section (Form) ========== */
.section-apply {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
  position: relative;
  overflow: hidden;
}

.section-apply::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.form-header-deco {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-red);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-red);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.badge-req {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: var(--primary-red);
  color: var(--white);
  font-size: 0.625rem;
  border-radius: var(--radius-sm);
  margin-left: 0.375rem;
  vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-footer {
  margin-top: 2rem;
}

.btn-submit {
  width: 100%;
  padding: 1.25rem 2rem;
  background: var(--gradient-red);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-red-light) 0%, var(--primary-red) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 0, 0, 0.4);
}

.btn-submit:hover::before {
  opacity: 1;
}

.privacy-text {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 1rem;
  line-height: 1.6;
}

.privacy-text a {
  color: var(--primary-red);
  text-decoration: underline;
}

/* ========== Footer ========== */
footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-info p {
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-base);
}

.footer-menu a:hover {
  color: var(--primary-red);
  padding-left: 0.25rem;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1024px) {
  .sim-wrapper {
    grid-template-columns: 1fr;
  }
  
  .nav-pc {
    gap: 1.5rem;
  }
  
  .voice-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }
  
  .header-inner {
    height: 64px;
  }
  
  .nav-pc,
  .header-right {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero {
    margin-top: 64px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .flow-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .footer-menu {
    grid-template-columns: 1fr;
  }
  
  .news-list li a {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .highlight-banner {
    background-image: url(./images/bg2.png);
    padding: 40px 0;
  }
  
  .hl-box {
    display: block;
    width: fit-content;
    margin: 15px auto 0;
    font-size: 24px;
  }
  
  .result-row {
    padding: 1rem 1.25rem;
  }
  
  .result-label-left {
    font-size: 0.875rem;
  }
  
  .result-value-right {
    font-size: 1.125rem;
  }
  
  .voice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ticker-item {
    padding: 0 2rem;
    font-size: 0.75rem;
  }
  
  #amountInput {
    font-size: 1.5rem;
    padding: 1rem 1rem 1rem 2.5rem;
  }
  
  .yen {
    font-size: 1.25rem;
    left: 1rem;
  }
  
  .result-value-right.total {
    font-size: 1.75rem;
  }
}


/* ==========================================
   追加：女性の装飾画像（シミュレーション・お客様の声）
   ========================================== */
.deco-woman-sim {
  position: absolute;
  right: -50px;    /* 位置は実際の画像に合わせて微調整してください */
  bottom: 0;
  width: 250px;    /* 画像の大きさ */
  z-index: 2;
  pointer-events: none; /* クリックの邪魔にならないように */
}

.deco-woman-voice {
  position: absolute;
  left: -80px;
  top: 100px;
  width: 220px;
  z-index: 2;
  pointer-events: none;
}

/* ==========================================
   追加：Floating Banner (追従バナー)
   ========================================== */
.floating-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
  border-top: 3px solid var(--primary-red);
  transform: translateY(120%); /* 初期状態は画面外に隠す */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-banner.show {
  transform: translateY(0); /* スクロールで表示 */
}

.fb-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 20px;
  position: relative;
}

.fb-woman {
  position: absolute;
  bottom: 100%; /* バナーのすぐ上に乗せる */
  left: 10%;
  width: 130px;
  pointer-events: none;
}

.fb-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 450px;
  margin-left: 100px; /* 女性画像のスペース分を空ける */
}

.fb-camp {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-red);
  background: #FFF0F0;
  padding: 4px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,0,0,0.2);
  white-space: nowrap;
}

.fb-btn {
  width: 100%;
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

/* スマホ表示用の微調整 */
@media (max-width: 768px) {
  .fb-woman {
    width: 90px;
    left: 5px;
  }
  .fb-box {
    margin-left: 70px;
  }
  .fb-camp {
    font-size: 0.75rem;
    padding: 2px 10px;
  }
  .fb-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }
}


/* ==========================================
   右下追従ポップアップ (Floating Box)
   ========================================== */
.floating-box {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 260px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--primary-red);
  z-index: 999;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-box.show {
  transform: translateY(0);
  opacity: 1;
}

.fb-woman-wrap {
  position: absolute;
  top: -90px;  /* ボックスの上に飛び出させる */
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  pointer-events: none; /* 画像がクリックの邪魔にならないように */
}

.fb-content {
  padding: 24px 20px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fb-badge {
  background: linear-gradient(135deg, #FFE5E5 0%, #FFD0D0 100%);
  color: var(--primary-red);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 900;
}

.fb-text {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
}

.fb-btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .floating-box {
    bottom: 20px;
    right: 20px;
    width: 220px;
  }
  .fb-woman-wrap {
    top: -75px;
    width: 110px;
  }
}



/* ==========================================
   お客様の声セクションに女性(women.png)を背景として配置
   ========================================== */
.section-voice {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* 既存の丸いグラデーション装飾はそのまま活かします */

/* 追加：左端の背景に右を指差す女性を透かして配置 */
.section-voice::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -5%; /* 左端に配置 */
  transform: translateY(-50%);
  width: 450px;
  height: 100%;
  background-image: url('./images/women.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  opacity: 0.15; /* 透かして背景に完全に馴染ませる */
  z-index: -1; /* コンテンツの後ろに配置 */
  pointer-events: none;
}


/* ==========================================
   シミュレーションセクションに女性(women2.png)を背景として配置
   ========================================== */
.section-sim {
  /* 既存の背景設定はそのまま */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* 追加：右側の背景に左を案内する女性を透かして配置 */
.section-sim::after {
  content: '';
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 400px;
  height: 100%;
  background-image: url('./images/women2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  opacity: 0.15; /* ダークトーンの背景に合わせて薄めに */
  z-index: 0; /* 背景グラデーションとコンテンツの間 */
  pointer-events: none;
}

@media (max-width: 768px) {
  .section-voice::after,
  .section-sim::after {
    opacity: 0.08; /* スマホでは主張しすぎないようさらに薄く */
  }
}

/* ==========================================
   追加実装：デザイン完全版（元のCSSの末尾に追加してください）
   ========================================== */

/* --- 赤・白の背景色切り替え（メリハリ用） --- */
.bg-white {
  background: var(--white) !important;
}
/* 元のsection-reasonsやsection-voiceなどの背景色を薄いグレーに統一し赤白交互を演出 */
.section-reasons,
.section-voice,
.section-news {
  background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%) !important;
}

/* ==========================================
   1. Hero直下の赤いCTAエリア
   ========================================== */
.hero-cta {
  background: var(--primary-red);
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}
.hero-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.hc-left {
  flex: 1.2;
}
.hc-badge {
  display: inline-block;
  background: var(--white);
  color: var(--primary-red);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.hc-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.hc-small { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; }
.hc-large { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--gold-light); line-height: 1; }
.hc-white { color: var(--white); }
.hc-check {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hc-check li {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
}
.hc-check li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  margin-right: 8px;
  font-size: 12px;
}
.hc-right {
  flex: 0.8;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.hc-rate-box {
  border: 2px solid var(--white);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.hc-rate-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
}
.hc-rate-body {
  color: var(--white);
  line-height: 1;
}
.hc-rate-num { font-size: 4.5rem; font-weight: 900; font-family: 'Inter', sans-serif; }
.hc-rate-percent { font-size: 2rem; font-weight: 700; }
.hc-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.btn-hc-white {
  background: var(--white);
  color: var(--primary-red);
  padding: 1rem;
  border-radius: var(--radius-full);
  font-size: 1.125rem;
  font-weight: 900;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}
.btn-hc-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-hc-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: var(--transition-base);
}
.btn-hc-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ==========================================
   2. 4つの実績数字エリア (白い背景)
   ========================================== */
.section-stats {
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item {
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--gray-200);
}
.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-unit {
  font-size: 1.25rem;
  margin-left: 2px;
}
.stat-title {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}
.stat-desc {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* ==========================================
   3. お客様の声の女性画像（左端に透過なしで配置）
   ========================================== */
.deco-woman-voice {
  position: absolute;
  left: -200px; /* コンテナの左外側に飛び出すように配置 */
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  z-index: 10;
  pointer-events: none;
  opacity: 1 !important; /* 絶対に透過させない */
}

/* ==========================================
   4. 右下追従ボックス (プロ仕様)
   ========================================== */
.floating-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  z-index: 9999;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-box.show {
  transform: translateY(0);
  opacity: 1;
}
.fb-woman {
  width: 110px;
  margin-right: -25px; /* ボックスに女性が少し被るように */
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.fb-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 3px solid var(--primary-red);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
  text-align: center;
  min-width: 220px;
}
.fb-rate {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.fb-rate-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-red);
  margin-left: 0.5rem;
}
.fb-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}

/* ==========================================
   レスポンシブ対応
   ========================================== */
@media (max-width: 1024px) {
  .deco-woman-voice { display: none; } /* タブレット以下はスペースがないため非表示 */
  .hc-left { flex: 1; }
  .hc-right { flex: 1; }
}
@media (max-width: 768px) {
  .hero-cta-inner { flex-direction: column; }
  .hc-right { width: 100%; padding: 1.5rem; }
  .hc-check { flex-direction: column; gap: 0.5rem; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat-item:not(:last-child)::after { display: none; }
  
  .floating-box { bottom: 10px; right: 10px; }
  .fb-woman { width: 80px; margin-right: -15px; }
  .fb-content { padding: 1rem; min-width: 180px; }
  .fb-rate-num { font-size: 1.25rem; }
  .fb-btn { padding: 0.5rem; font-size: 0.875rem; }
}

/* ==========================================
   背景色の修正 ＆ 不要要素の完全撤去
   ========================================== */

/* 1. お客様の声：白の連続を避けるため、上品な薄いグレーに変更 */
.section-voice {
  background: linear-gradient(180deg, #F8F9FA 0%, #E9ECEF 100%) !important;
}

/* 2. WEB買取お申し込み：背景を真っ赤（グラデーション）に変更 */
.section-apply {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%) !important;
}
/* お申し込みの文字色が黒にならないよう白に固定 */
.section-apply .sec-title,
.section-apply .sec-en {
  color: var(--white) !important;
}

/* 3. シミュレーション：閣下が作られた元の「ダーク背景」を強制復活 */
.section-sim {
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 0, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 184, 0, 0.06) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%) !important;
}
/* ダーク背景に合わせて文字色を白に */
.section-sim .sim-title, 
.section-sim .sim-desc {
  color: var(--white) !important;
}

/* 4. 保険：もしHTMLに女性画像が残っていても強制的に消し去ります */
.deco-woman-voice, 
.deco-woman-sim {
  display: none !important;
}

/* ==========================================
   修正パッチ：お客様の声の赤背景 ＆ 不要な女性の完全削除
   ========================================== */

/* 1. シミュレーションの薄い女性（過去の残骸）を完全に消滅させる */
.section-sim::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

/* 2. 「お客様の声」セクションの背景を赤（グラデーション）に変更 */
.section-voice {
  background: linear-gradient(135deg, #FF0000 0%, #D10000 100%) !important;
  position: relative;
  z-index: 1;
}

/* 3. 赤背景に合わせて、「お客様の声」の見出し文字を白に変更 */
.section-voice .sec-title,
.section-voice .sec-en,
.section-voice .sec-desc {
  color: #FFFFFF !important;
}

/* 4. 口コミカード自体は白背景を維持（文字が読めなくなるのを防ぐため） */
.section-voice .voice-card {
  background: #FFFFFF !important;
  border: none !important; /* 枠線を消してスッキリさせる */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important; /* 少し影を強めて立体感を出す */
}
.section-voice .voice-text {
  color: #333333 !important;
}
.section-voice .voice-name {
  color: #1A1A1A !important;
}
.section-voice .voice-attr {
  color: #666666 !important;
}


/* ==========================================
   修正パッチ：余白の圧縮 ＆ スマホレイアウトの最適化
   ========================================== */

/* -----------------------------------
   1. PC表示：余白をぎゅっと縮小
----------------------------------- */
/* 赤いCTAエリアの上下余白を圧縮 */
.hero-cta {
  padding: 1.5rem 0 !important;
}
/* 右側の88%ボックスの余白を圧縮 */
.hc-right {
  padding: 1.5rem !important;
}
.hc-title {
  margin-bottom: 1rem !important;
}
/* 白い実績数字エリアの上下余白も圧縮 */
.section-stats {
  padding: 1.5rem 0 !important;
}

/* -----------------------------------
   2. 「ご利用の流れ」をコンパクトに
----------------------------------- */
#flow {
  padding: 3rem 0 !important; /* セクション全体の上下余白を縮小 */
}
.flow-grid {
  gap: 1rem !important; /* 画像間の隙間を縮小 */
  grid-template-columns: repeat(4, 1fr) !important; /* PCでは4つを横1列に並べて高さを抑える */
}

/* -----------------------------------
   3. スマホ表示：美しく整理されたレイアウト
----------------------------------- */
@media (max-width: 768px) {
  /* CTAエリア全体の隙間を詰める */
  .hero-cta-inner {
    gap: 1rem !important;
  }
  
  /* 左側のテキストエリアを中央揃えにしてスマートに */
  .hc-left {
    text-align: center !important;
  }
  .hc-badge {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.8rem !important;
    margin-bottom: 0.75rem !important;
  }
  .hc-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
  }
  .hc-small { font-size: 0.85rem !important; }
  .hc-large { font-size: 2.2rem !important; }
  
  /* チェックマーク（✓）リストを中央に寄せてコンパクトに配置 */
  .hc-check {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-size: 0.85rem !important;
  }
  
  /* 右側のレート＆ボタンボックスの整理 */
  .hc-right {
    padding: 1.25rem 1rem !important;
    width: 100% !important;
    border-radius: 12px !important;
  }
  .hc-rate-box {
    padding: 0.5rem 1rem !important;
    margin-bottom: 1rem !important;
  }
  .hc-rate-header {
    font-size: 0.8rem !important;
    padding-bottom: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  .hc-rate-num { font-size: 3rem !important; }
  .hc-rate-percent { font-size: 1.5rem !important; }
  
  /* ボタンのサイズと隙間をスマホ向けに最適化 */
  .hc-actions { gap: 0.5rem !important; }
  .btn-hc-white {
    padding: 0.8rem !important;
    font-size: 1rem !important;
  }
  .btn-hc-outline {
    padding: 0.6rem !important;
    font-size: 0.85rem !important;
  }
  
  /* ご利用の流れ：スマホでは縦に長くなりすぎないよう「2列×2行」にする */
  .flow-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
}

/* ==========================================
   シミュレーションボタン装飾（女性配置）
   ========================================== */
.sim-btn-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

.sim-woman-deco {
  position: absolute;
  /* ↓ ここから数値を変更しました！ ↓ */
  width: 195px;    /* 【大きく】140px → 175px にサイズアップ！ */
  bottom: -45px;   /* 【下に下げる】 -10px → -35px にしてボタンにより被せる！ */
  right: -10px;      /* 【少し左へ】-30px（右にはみ出していた）→ 5px（ボタンの内側へ寄せる） */
  z-index: 10;
  pointer-events: none;
}





/* ==========================================
   追従バー（PC: ボックス / スマホ: 下部横長固定）
   ========================================== */
.floating-cta {
  position: fixed;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  transform: translateY(150%);
  opacity: 0;
  display: flex;
  /* align-items: flex-end; ← これを削除して各メディアクエリで制御します */
}
.floating-cta.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- PC表示：vw/vh/clampで完全レスポンシブ化 --- */
@media (min-width: 769px) {
  .floating-cta {
    bottom: clamp(10px, 2vh, 30px);
    right: clamp(10px, 2vw, 30px);
    flex-direction: column;
    align-items: center;
  }

  /* 女性画像：画面高さに対してサイズを相対指定 */
  .fc-woman {
    width: clamp(120px, 14vw, 220px);
    margin-bottom: clamp(-40px, -3vh, -20px);
    position: relative;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 -4px 6px rgba(0,0,0,0.1));
  }

  /* ボックス本体：画面幅に合わせて伸縮 */
  .fc-box {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border: 4px solid var(--primary-red);
    border-radius: clamp(12px, 1.5vw, 20px);
    padding: clamp(1.5rem, 2vw, 2.5rem) clamp(1rem, 1.5vw, 2rem) clamp(1rem, 1.5vw, 1.5rem);
    box-shadow: 0 15px 40px rgba(230,0,18,0.25);
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: clamp(200px, 18vw, 280px);
    max-width: clamp(200px, 20vw, 300px); /* ★最大幅を画面に合わせて制限 */
  }

  .fc-box::before {
    content: '＼ 初回限定キャンペーン中 ／';
    position: absolute;
    top: clamp(-14px, -1.2vh, -16px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: #fff;
    font-size: clamp(0.65rem, 0.8vw, 0.85rem); /* ★フォントも相対指定 */
    font-weight: 900;
    padding: clamp(4px, 0.5vh, 6px) clamp(12px, 1.5vw, 20px);
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(230,0,18,0.3);
    z-index: 2;
  }

  .fc-rate {
    font-size: clamp(0.85rem, 0.9vw, 1.1rem);
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: clamp(0.4rem, 0.6vh, 0.75rem);
    letter-spacing: 0.05em;
  }

  .fc-rate-num {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3vw, 3.5rem); /* ★vwで画面幅に連動 */
    font-weight: 900;
    color: var(--primary-red);
    margin-left: 0.5rem;
    line-height: 1;
  }

  .fc-btn {
    width: 100%;
    padding: clamp(0.6rem, 0.8vh, 1rem) clamp(0.8rem, 1vw, 1.5rem);
    font-size: clamp(0.9rem, 1vw, 1.25rem); /* ★フォントも相対指定 */
    font-weight: 900;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(230,0,18,0.4);
    animation: pulse-btn 2s infinite;
  }

  @keyframes pulse-btn {
    0%   { transform: scale(1);    box-shadow: 0 6px 20px rgba(230,0,18,0.4); }
    50%  { transform: scale(1.05); box-shadow: 0 8px 25px rgba(230,0,18,0.6); }
    100% { transform: scale(1);    box-shadow: 0 6px 20px rgba(230,0,18,0.4); }
  }
}



/* --- スマホ表示（画面下部にべったりくっつく横長バー） --- */
@media (max-width: 768px) {
  .floating-cta {
    bottom: 0;
    left: 0;
    width: 100%;
    align-items: flex-end; /* スマホは下揃え */
  }
  .fc-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-red);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
  }
  .fc-sp-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
  }
  .fc-sp-badge {
    color: var(--primary-red);
    font-weight: 900;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 2px;
  }
  .fc-sp-desc {
    color: var(--gray-600);
    font-size: 10px;
    font-weight: 700;
  }
  .fc-btn {
    flex: 1;
    margin-left: 15px;
    padding: 12px 10px;
    font-size: 15px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(230,0,18,0.2);
  }
}


/* ==========================================
   CTAエリアの超コンパクト化 ＆ 視認性アップ
   ========================================== */

/* --- PC表示のレイアウト圧縮 --- */
@media (min-width: 769px) {
  /* セクション全体の余白を極限まで削る */
  .hero-cta {
    padding: 1rem 0 !important; 
  }
  
  /* 左側の見出しサイズを圧縮し、縦幅を潰す */
  .hc-title {
    font-size: 1.5rem !important; 
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }
  .hc-small { font-size: 1rem !important; }
  .hc-large { font-size: 2.2rem !important; /* 巨大すぎた文字を調整 */ }
  
  /* ★チェックリストを「横一列のカプセル型」にして超見やすく！ */
  .hc-check {
    display: flex;
    flex-direction: row !important; /* 縦並びを横並びに変更 */
    gap: 0.75rem !important;
    flex-wrap: wrap; 
  }
  .hc-check li {
    font-size: 0.85rem !important;
    background: rgba(255, 255, 255, 0.15) !important; /* 薄い白背景でくっきり */
    padding: 0.4rem 0.8rem !important;
    border-radius: 50px !important; /* 丸っこいバッジ風に */
  }
  .hc-check li::before {
    color: #FFD700 !important; /* チェックマークを黄色にして目立たせる */
    background: transparent !important;
    font-size: 1rem !important;
    margin-right: 4px !important;
  }

  /* 右側のボックスをスリム化して縦の長さを抑える */
  .hc-right {
    padding: 1rem 1.25rem !important;
    width: 320px !important; /* ボックス幅を少し細く */
  }
  .hc-rate-box {
    padding: 0.5rem !important;
    margin-bottom: 0.75rem !important;
  }
  .hc-rate-header {
    font-size: 0.75rem !important;
    padding-bottom: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  .hc-rate-num { font-size: 3rem !important; /* 数字を少しスマートに */ }
  .hc-rate-percent { font-size: 1.5rem !important; }
  
  /* ボタンの余白も削る */
  .hc-actions { gap: 0.5rem !important; }
  .btn-hc-white {
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
  }
  .btn-hc-outline {
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
  }
}

/* --- スマホ表示のチェックリストも見やすく統一（おまけ） --- */
@media (max-width: 768px) {
  .hc-check li {
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 0.4rem 1rem !important;
    border-radius: 50px !important;
    width: fit-content;
  }
  .hc-check li::before {
    color: #FFD700 !important;
    background: transparent !important;
  }
}

/* ==========================================
   超進化版：リスト削除 ＆ 右側横長レイアウト
   ========================================== */

@media (min-width: 769px) {
  /* 1. リスト(チェック項目)を完全に非表示にしてスペースを空ける */
  .hc-check {
    display: none !important; 
  }

  /* 2. エリア全体の上下余白を極限まで詰める */
  .hero-cta {
    padding: 1.5rem 0 !important;
  }
  .hero-cta-inner {
    align-items: center !important;
  }

  /* 3. 左側のテキスト：上詰め＆サイズアップ */
  .hc-left {
    flex: 0 0 40% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  .hc-badge {
    align-self: flex-start !important;
    font-size: 1rem !important;
    padding: 0.4rem 1.2rem !important;
    margin-bottom: 0.5rem !important; /* 上に詰める */
  }
  .hc-title {
    font-size: 1.8rem !important; /* 全体的に大きく！ */
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
  }
  .hc-small { font-size: 1.2rem !important; }
  .hc-large { font-size: 3rem !important; } /* 「即日」をさらにドカンと大きく */

  /* 4. 右側のボックス：長細い「横長レイアウト」に変身！ */
  .hc-right {
    flex: 0 0 58% !important; /* 横幅を広く取る */
    display: flex !important;
    flex-direction: row !important; /* 中身を横並びに */
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    border-radius: 16px !important;
  }

  /* 88%のエリア：右側に線を引いてボタンと区切る */
  .hc-rate-box {
    margin-bottom: 0 !important;
    padding: 0 1.5rem 0 0 !important;
    border: none !important;
    border-right: 1px solid rgba(255,255,255,0.4) !important; /* 仕切り線 */
    border-radius: 0 !important;
    min-width: max-content !important;
  }
  .hc-rate-header { margin-bottom: 0 !important; font-size: 0.8rem !important; }
  .hc-rate-num { font-size: 4rem !important; line-height: 1 !important; }
  .hc-rate-percent { font-size: 2rem !important; }

  /* ボタンエリア：88%の横に配置し、2つのボタンをスッキリ収める */
  .hc-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding-left: 1.5rem !important;
    gap: 0.5rem !important; /* ボタン同士の隙間を詰める */
  }
  .btn-hc-white {
    padding: 0.8rem !important;
    font-size: 1.1rem !important;
  }
  .btn-hc-outline {
    padding: 0.6rem !important;
    font-size: 0.9rem !important;
  }
}

/* ==========================================
   ブラッシュアップ：左側上詰め・キラキラ・実績ボックス
   ========================================== */

@media (min-width: 769px) {
  /* -----------------------------------
     1. 左側の文字被り解消 ＆ 上に詰める
  ----------------------------------- */
  .hero-cta-inner {
    align-items: flex-start !important; /* 中央揃えから「上揃え」に変更して上に詰める */
    padding-top: 0.5rem !important; 
  }
  
  .hc-title {
    /* 行間を少し広げて文字同士の被りを解消しつつ、全体を美しく */
    line-height: 1.4 !important; 
    margin-bottom: 0 !important;
  }

  /* -----------------------------------
     2. バッジにキラキラ光る波のエフェクト！
  ----------------------------------- */
  .hc-badge {
    position: relative !important;
    overflow: hidden !important; /* 枠外にはみ出た光を隠す */
    /* 背景を白から、少しリッチなグラデーションに */
    background: linear-gradient(135deg, #ffffff 0%, #fff0f0 100%) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
  }
  
  /* 光の帯（斜めの白いグラデーション）を作る */
  .hc-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine-effect 3s infinite; /* 3秒に1回キラッと光る */
  }

  @keyframes shine-effect {
    0% { left: -100%; }
    20% { left: 200%; } /* スッと通り過ぎる */
    100% { left: 200%; } /* 残りの時間は待機 */
  }
}

/* -----------------------------------
   3. 実績数字の個別ボックス化（PC・スマホ共通）
----------------------------------- */
/* ボックスを目立たせるため、背景をほんの少しだけ薄いグレーに */
.section-stats {
  background: #F8F9FA !important; 
  padding: 3rem 0 !important;
}

.stats-grid {
  gap: 1.5rem !important; /* ボックス同士の隙間 */
}

/* 個別の実績を美しいカード型に進化！ */
.stat-item {
  background: #ffffff !important;
  border: 1px solid #E5E5E5 !important;
  border-radius: 16px !important; /* 角丸で優しく */
  padding: 1.5rem 1rem !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; /* ふんわりした影 */
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* マウスを乗せるとフワッと浮き上がる遊び心 */
.stat-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

/* 昔の縦の仕切り線はもういらないので消す */
.stat-item::after {
  display: none !important;
}

/* ==========================================
   ブラッシュアップ：左側上詰め・キラキラ・実績ボックス
   ========================================== */

@media (min-width: 769px) {
  /* -----------------------------------
     1. 左側の文字被り解消 ＆ 上に詰める
  ----------------------------------- */
  .hero-cta-inner {
    align-items: flex-start !important; /* 中央揃えから「上揃え」に変更して上に詰める */
    padding-top: 0.5rem !important; 
  }
  
  .hc-title {
    /* 行間を少し広げて文字同士の被りを解消しつつ、全体を美しく */
    line-height: 1.4 !important; 
    margin-bottom: 0 !important;
  }

  /* -----------------------------------
     2. バッジにキラキラ光る波のエフェクト！
  ----------------------------------- */
  .hc-badge {
    position: relative !important;
    overflow: hidden !important; /* 枠外にはみ出た光を隠す */
    /* 背景を白から、少しリッチなグラデーションに */
    background: linear-gradient(135deg, #ffffff 0%, #fff0f0 100%) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
  }
  
  /* 光の帯（斜めの白いグラデーション）を作る */
  .hc-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine-effect 3s infinite; /* 3秒に1回キラッと光る */
  }

  @keyframes shine-effect {
    0% { left: -100%; }
    20% { left: 200%; } /* スッと通り過ぎる */
    100% { left: 200%; } /* 残りの時間は待機 */
  }
}

/* -----------------------------------
   3. 実績数字の個別ボックス化（PC・スマホ共通）
----------------------------------- */
/* ボックスを目立たせるため、背景をほんの少しだけ薄いグレーに */
.section-stats {
  background: #F8F9FA !important; 
  padding: 3rem 0 !important;
}

.stats-grid {
  gap: 1.5rem !important; /* ボックス同士の隙間 */
}

/* 個別の実績を美しいカード型に進化！ */
.stat-item {
  background: #ffffff !important;
  border: 1px solid #E5E5E5 !important;
  border-radius: 16px !important; /* 角丸で優しく */
  padding: 1.5rem 1rem !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; /* ふんわりした影 */
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* マウスを乗せるとフワッと浮き上がる遊び心 */
.stat-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

/* 昔の縦の仕切り線はもういらないので消す */
.stat-item::after {
  display: none !important;
}



/* ==========================================
   【決定版】CTAエリア：リストなし ＆ 横長ボックス ＆ 究極圧縮
   ========================================== */

@media (min-width: 769px) {
  /* 1. リストを非表示にしてスペースを確保 */
  .hc-check { 
    display: none !important; 
  }

  /* 2. 枠の上下余白を極限まで削る（下に押し出される原因を排除！） */
  .hero-cta { 
    padding: 1rem 0 !important; 
  }
  .hero-cta-inner { 
    align-items: center !important; 
  }

  /* 3. 左側のテキストを「ギュッ」と圧縮して絶対に途切れさせない */
  .hc-left { 
    flex: 0 0 42% !important; 
  }
  .hc-badge {
    font-size: 0.9rem !important;
    padding: 0.3rem 1rem !important;
    margin-bottom: 0.3rem !important; /* バッジの下の隙間を削る */
  }
  .hc-title {
    font-size: 1.6rem !important;
    line-height: 1.1 !important; /* ★行間を限界まで詰める！これが縦に伸びる原因でした */
    margin-bottom: 0 !important;
  }
  .hc-small { font-size: 1.1rem !important; }
  .hc-large { 
    font-size: 2.5rem !important; 
    line-height: 1 !important; 
  }

  /* 4. 右側の横長スタイリッシュボックス（閣下に褒めていただいた形を維持！） */
  .hc-right {
    flex: 0 0 55% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    border-radius: 16px !important;
  }
  .hc-rate-box {
    margin-bottom: 0 !important;
    padding: 0 1.5rem 0 0 !important;
    border: none !important;
    border-right: 1px solid rgba(255,255,255,0.4) !important;
    border-radius: 0 !important;
    min-width: max-content !important;
  }
  .hc-rate-header { margin-bottom: 0 !important; font-size: 0.8rem !important; }
  .hc-rate-num { font-size: 3.5rem !important; line-height: 1 !important; }
  .hc-rate-percent { font-size: 1.8rem !important; }

  .hc-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding-left: 1.5rem !important;
    gap: 0.5rem !important;
  }
  .btn-hc-white { padding: 0.7rem !important; font-size: 1.1rem !important; }
  .btn-hc-outline { padding: 0.5rem !important; font-size: 0.9rem !important; }
}


/* ==========================================
   ティッカーの同化防止 ＆ 完璧な無限ループ
   ========================================== */
.ticker-wrap {
  /* ★上の赤いエリアと同化しないよう、上下に「白い縁」を引く！ */
  border-top: 3px solid #FFFFFF !important;
  border-bottom: 3px solid #FFFFFF !important;
  
  /* 背景を上のCTAより一段暗い赤（ワインレッド）にしてメリハリを出す */
  background: #B3000E !important; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
  color: #fff !important;
  padding: 12px 0 !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 20 !important;
}

.ticker {
  display: flex !important;
  width: max-content !important; /* ★中身の長さに合わせて枠を広げる（途切れ防止の要！） */
  animation: ticker-loop 30s linear infinite !important;
}

.ticker-item {
  flex-shrink: 0 !important; /* 画面が狭くても文字が潰れないようにする */
  padding: 0 30px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap !important;
}

/* 途切れずカクつかない無限ループのアニメーション */
@keyframes ticker-loop {
  0% { transform: translateX(0); }
  /* 半分(-50%)移動した瞬間に0%に戻る。全く同じ文字列が続いているので人間の目には無限に繋がって見えます */
  100% { transform: translateX(-50%); } 
}

/* ==========================================
   NEWSセクションの赤背景化 ＆ 白ボックス強調
   ========================================== */

/* セクション全体の背景を、高級感のある赤いグラデーションに変更 */
.section-news {
  background: linear-gradient(135deg, #FF0000 0%, #D10000 100%) !important;
  position: relative;
  z-index: 1;
}

/* 白いニュースボックスを際立たせる */
.news-wrapper {
  background: #FFFFFF !important;
  border: none !important; /* 枠線を消してスッキリ */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25) !important; /* 赤背景から少し浮かせる強めの影 */
  border-radius: 20px !important; /* 角を少し丸くして柔らかさをプラス */
}

/* ニュース内の日付やカテゴリが見やすくなるよう微調整 */
.news-list li {
  border-bottom: 1px solid #F0F0F0 !important;
}
.news-list li:last-child {
  border-bottom: none !important;
}

/* ==========================================
   お客様の声：モニター格差をなくす「絶対固定」レイアウト
   ========================================== */

/* セクションのはみ出し防止 */
.section-voice {
  position: relative;
  overflow: hidden !important; 
}

/* ★魔法のトリック：装飾エリアを「口コミコンテナ」と全く同じ幅・位置にする！ */
.voice-deco-area {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 92% !important;
  max-width: 1400px !important;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  /* ★overflow: hidden を追加してはみ出し防止 */
  overflow: hidden;
}

.voice-woman {
  position: absolute;
  bottom: -20px;
  left: clamp(-150px, -10vw, -80px); /* ★vwで追従 */
  width: clamp(280px, 28vw, 420px);  /* ★vwでサイズ追従 */
  filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.3));
}

.voice-bubble {
  position: absolute;
  bottom: clamp(150px, 15vw, 200px);
  left: clamp(100px, 8vw, 200px);
  width: clamp(160px, 14vw, 260px); /* ★vwでサイズ追従 */
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
  animation: float-bubble 3.5s ease-in-out infinite;
}

@keyframes float-bubble {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* 1200px以下のノートPC保険 */
@media (max-width: 1200px) {
  .voice-woman {
    left: clamp(-100px, -8vw, -50px);
    width: clamp(250px, 25vw, 360px);
  }
  .voice-bubble {
    bottom: clamp(130px, 12vw, 180px);
    left: clamp(80px, 7vw, 150px);
    width: clamp(140px, 12vw, 220px);
  }
}

/* タブレット・スマホは非表示 */
@media (max-width: 1024px) {
  .voice-deco-area {
    display: none !important;
  }
}



/* ==========================================
   究極のレスポンシブ：全体パーセンテージ ＆ モニター完全連動
   ========================================== */

/* 1. コンテナ（全体の枠）をパーセンテージ化 */
.container {
  width: 92% !important; /* 画面に対して常に92%の幅をキープ */
  max-width: 1400px !important; /* 超巨大モニターで間延びするのを防ぐ上限（お好みで外してもOK） */
  margin: 0 auto !important;
}

/* 2. 口コミエリアのグリッドと隙間をパーセンテージ化 */
.voice-grid {
  display: grid !important;
  /* 1fr は「利用可能なスペースを均等に分ける」という比率指定です */
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2% !important; /* カードとカードの隙間も % 指定！ */
}

/* 3. 口コミカード内の余白を画面幅に連動（%指定） */
.section-voice .voice-card {
  padding: 4% 5% !important; /* 縦と横の余白を % にすることで、モニターに合わせてカードが伸び縮みします */
  border-radius: 1vw !important; /* 角丸も画面幅(vw)に合わせて伸縮 */
}

/* 4. フォントサイズをモニターサイズに合わせて伸縮させる魔法（clamp） */
/* clamp(最小サイズ, 推奨サイズ(vw), 最大サイズ) */
.voice-text {
  font-size: clamp(13px, 1.1vw, 16px) !important; 
  line-height: 1.8 !important;
  margin-bottom: 3% !important;
}

.voice-name {
  font-size: clamp(11px, 0.9vw, 14px) !important;
}

.voice-stars {
  font-size: clamp(14px, 1.2vw, 18px) !important;
  margin-bottom: 2% !important;
}

/* =========================================
   お客様の声：装飾画像（女性＆吹き出し）の調整
========================================= */

/* 女性画像を「左上の口コミの裏側」に配置 */
.voice-woman {
  position: absolute;
  top: 0px;       /* ★ここを調整：マイナスを大きくすると上に移動します */
  left: -100px;     /* ★ここを調整：マイナスを大きくすると左に移動します */
  width: 400px;     /* 女性のサイズ */
  filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.3));
  z-index: 1;       /* 口コミカード（z-index: 10）の裏側に設定 */
  pointer-events: none;
}

/* 吹き出しを「女性の少し右側」に配置 */
.voice-bubble {
  position: absolute;
  top: -80px;       /* ★ここを調整：マイナスを大きくすると上に移動します */
  left: 180px;      /* ★ここを調整：プラスを大きくすると右に移動します */
  width: 280px;     /* 吹き出しのサイズ */
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
  animation: float-bubble 3.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* モニターサイズが小さい（ノートPCなど）時の微調整 */
@media (max-width: 1200px) {
  .voice-woman {
    top: -20px;
    left: -120px;
    width: 380px;
  }
  .voice-bubble {
    top: -60px;
    left: 120px;
    width: 240px;
  }
}

/* =========================================
   シミュレーションエリア：形を崩さず中央寄せ（最終版）
========================================= */
@media (min-width: 769px) {
  .sim-wrapper {
    display: flex !important;
    justify-content: center !important;
    gap: clamp(20px, 4vw, 60px) !important; /* ★gapもvwで伸縮 */
    max-width: min(950px, 90%) !important;  /* ★画面の90%を超えないよう制限 */
    margin: 0 auto !important;
  }
  .sim-left, .sim-right {
    flex: 1 1 0 !important;
    min-width: 0 !important; /* ★flexアイテムの縮み防止を解除して縮めるようにする */
  }
}


/* =========================================
   シミュレーションエリア：文字重なり解消＆女性の配置修正
========================================= */

/* ① 箱が細長くならないよう、左右にゆとりを持たせて中央寄せ */
@media (min-width: 769px) {
  .sim-wrapper {
    display: flex !important;
    justify-content: center !important;
    gap: 40px !important;
    max-width: 950px !important; /* 潰れないための十分な幅を確保 */
    margin: 0 auto !important;
  }
  .sim-left, .sim-right {
    flex: 1 !important; /* 左右で均等にスペースを取り、細長くなるのを防ぐ */
  }
}

/* ② 金額テキストの重なりを完全に防ぐ（縦並びでスッキリ見せる） */
#resultArea {
  display: flex !important;
  flex-direction: column !important; /* 文字と金額を縦に並べて重なりを回避 */
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
}
#resultArea strong {
  font-size: 3rem !important; /* 金額部分を大きくアピール */
  margin-top: 5px !important;
}

/* ③ 女性画像がボタンの文字に被らないよう、右の外側へ逃がす */
.sim-woman-deco {
  position: absolute !important;
  width: clamp(100px, 13vw, 195px) !important;  /* ★vwで縮小対応 */
  bottom: clamp(-60px, -4vh, -45px) !important;
  right: clamp(-80px, -6vw, -10px) !important;   /* ★vwで位置も追従 */
  z-index: 10 !important;
  pointer-events: none !important;
}



/* ==========================================
   【修正】口コミ吹き出し復活 ＆ 装飾エリアのoverflow解除
   ========================================== */

/* overflow: hidden を解除して吹き出しが見切れないようにする */
.voice-deco-area {
  overflow: visible !important;
}

/* セクション自体のoverflowも visible に（吹き出しが上にはみ出す分を許容） */
.section-voice {
  overflow: visible !important;
}

/* 吹き出しの位置を「消えない場所」に再調整 */
.voice-bubble {
  position: absolute;
  top: clamp(-20px, 3vh, -10px) !important;   /* ★上からの距離で指定（マイナス値をやめる） */
  left: clamp(160px, 8vw, 500px) !important;
  width: clamp(100px, 13vw, 250px) !important;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
  animation: float-bubble 3.5s ease-in-out infinite;
  z-index: 5 !important;
}

/* 女性画像のz-indexも念のため合わせる */
.voice-woman {
  z-index: 3 !important;
}

/* ノートPC（1200px以下）での吹き出し位置微調整 */
@media (max-width: 1200px) {
  .voice-bubble {
    top: clamp(10px, 2vh, 40px) !important;
    left: clamp(60px, 6vw, 150px) !important;
    width: clamp(120px, 11vw, 210px) !important;
  }
}

/* ==========================================
   【完全修正】ヒーロー＆CTAエリア：全モニター対応
   ========================================== */

/* ヒーロー画像エリア：縦幅を画面の高さから逆算して制御 */
.hero {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  /* ★最大高さを設定してモニターBでも収まるように */
  max-height: calc(100vh - 80px - 120px); /* 画面高さ - ヘッダー - CTAの最低限の高さ */
}

/* ヒーロー画像自体を枠に合わせてトリミング */
.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ★はみ出た部分はカット、縦が足りなくても横幅優先で表示 */
  object-position: center top; /* 上部（顔）を優先的に表示 */
  display: block;
}

/* ==========================================
   CTAエリア（赤いエリア）：高さを固定せず可変に
   ========================================== */
.hero-cta {
  padding: clamp(0.6rem, 1.5vh, 1rem) 0 !important;
  min-height: unset !important;
  height: auto !important; /* ★高さを内容に合わせて自動調整 */
}

.hero-cta-inner {
  align-items: center !important;
  gap: clamp(0.5rem, 2vw, 2rem) !important;
  /* ★縦にはみ出す場合は折り返す */
  flex-wrap: nowrap !important;
}

/* 左側テキスト：小さいモニターで縦幅を取りすぎないよう圧縮 */
.hc-left {
  flex: 0 0 42% !important;
}

.hc-badge {
  font-size: clamp(0.7rem, 0.85vw, 0.9rem) !important;
  padding: clamp(0.2rem, 0.4vh, 0.3rem) clamp(0.6rem, 1vw, 1rem) !important;
  margin-bottom: clamp(0.2rem, 0.4vh, 0.3rem) !important;
}

.hc-title {
  font-size: clamp(1.1rem, 1.6vw, 1.6rem) !important;
  line-height: 1.3 !important;
  margin-bottom: 0 !important;
  white-space: normal !important; /* ★nowrap解除 */
}

.hc-small {
  font-size: clamp(0.85rem, 1vw, 1.1rem) !important;
}

.hc-large,
.hc-white {
  display: inline !important;
  white-space: nowrap !important; /* ★「即日」「現金化」の間だけ改行禁止 */
}

.hc-white {
  display: inline !important;
  color: var(--white) !important;
}

/* 右側ボックス：縦幅を削って圧縮 */
.hc-right {
  flex: 0 0 55% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  padding: clamp(0.6rem, 1vh, 1rem) clamp(0.8rem, 1.5vw, 1.5rem) !important;
  border-radius: 16px !important;
}

.hc-rate-box {
  margin-bottom: 0 !important;
  padding: 0 clamp(0.8rem, 1.2vw, 1.5rem) 0 0 !important;
  border: none !important;
  border-right: 1px solid rgba(255,255,255,0.4) !important;
  border-radius: 0 !important;
  min-width: max-content !important;
}

.hc-rate-header {
  font-size: clamp(0.65rem, 0.75vw, 0.8rem) !important;
  margin-bottom: 0 !important;
  padding-bottom: clamp(0.15rem, 0.3vh, 0.25rem) !important;
}

.hc-rate-num {
  font-size: clamp(2rem, 3vw, 3.5rem) !important;
  line-height: 1 !important;
}

.hc-rate-percent {
  font-size: clamp(1rem, 1.5vw, 1.8rem) !important;
}

.hc-actions {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  padding-left: clamp(0.8rem, 1.2vw, 1.5rem) !important;
  gap: clamp(0.3rem, 0.5vh, 0.5rem) !important;
}

.btn-hc-white {
  padding: clamp(0.5rem, 0.8vh, 0.7rem) clamp(0.5rem, 1vw, 1rem) !important;
  font-size: clamp(0.85rem, 1vw, 1.1rem) !important;
}

.btn-hc-outline {
  padding: clamp(0.35rem, 0.6vh, 0.5rem) clamp(0.5rem, 1vw, 1rem) !important;
  font-size: clamp(0.75rem, 0.85vw, 0.9rem) !important;
}

/* ==========================================
   ティッカー：高さを最小限に
   ========================================== */
.ticker-wrap {
  padding: clamp(6px, 1vh, 12px) 0 !important;
}

.ticker-item {
  font-size: clamp(0.75rem, 0.9vw, 1rem) !important;
  padding: 0 clamp(15px, 2vw, 30px) !important;
}

/* ==========================================
   実績数字エリア：縦幅を画面高さに合わせて圧縮
   ========================================== */
.section-stats {
  padding: clamp(1rem, 2.5vh, 3rem) 0 !important;
}

.stat-item {
  padding: clamp(0.75rem, 1.5vh, 1.5rem) clamp(0.5rem, 1vw, 1rem) !important;
}

.stat-num {
  font-size: clamp(1.8rem, 3vw, 3.5rem) !important;
  margin-bottom: clamp(0.2rem, 0.5vh, 0.5rem) !important;
}

.stat-title {
  font-size: clamp(0.8rem, 1vw, 1.125rem) !important;
  margin-bottom: 0.125rem !important;
}

.stat-desc {
  font-size: clamp(0.65rem, 0.75vw, 0.75rem) !important;
}



/* ==========================================
   【スマホ完全リセット＆再構築】
   ========================================== */
@media (max-width: 768px) {

  /* 全体の横スクロール防止 */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* ==================
     ① 動画エリア
  ================== */
  .hero {
    margin-top: 64px !important;
    max-height: none !important;
  }

  .hero-media {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
  }

  /* ==================
     ② 赤いCTAエリア（動画の上に被らないよう完全分離）
  ================== */
  .hero-cta {
    position: relative !important;
    z-index: 10 !important;
    padding: 1.25rem 0 !important;
    background: var(--primary-red) !important;
  }

  .hero-cta-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    width: 100% !important;
    padding: 0 1rem !important;
  }

  /* 左側テキスト */
  .hc-left {
    flex: unset !important;
    width: 100% !important;
    text-align: center !important;
  }

  .hc-badge {
    display: none !important;
  }

  .hc-title {
    white-space: normal !important; /* ★nowrapを完全解除 */
    font-size: 1.25rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    word-break: keep-all !important;
  }

  .hc-small {
    font-size: 0.9rem !important;
    display: block !important;
    margin-bottom: 0.25rem !important;
  }

  .hc-large {
    font-size: 1.75rem !important;
    color: #FFD700 !important;
    display: inline !important;
    white-space: normal !important; /* ★nowrap解除 */
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  /* 右側ボックス（88%＋ボタン） */
  .hc-right {
    flex: unset !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
    gap: 0.75rem !important;
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    box-sizing: border-box !important;
  }

  .hc-rate-box {
    flex-shrink: 0 !important;
    border: none !important;
    border-right: 1px solid rgba(255,255,255,0.4) !important;
    padding: 0 0.75rem 0 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .hc-rate-header {
    display: flex !important;
    flex-direction: column !important;
    font-size: 0.65rem !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0.2rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.3) !important;
  }

  .hc-rate-body {
    line-height: 1 !important;
  }

  .hc-rate-num {
    font-size: 2.5rem !important;
    line-height: 1 !important;
  }

  .hc-rate-percent {
    font-size: 1.25rem !important;
  }

  .hc-actions {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .btn-hc-white,
  .btn-hc-outline {
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }

  .btn-hc-white {
    padding: 0.7rem 0.5rem !important;
    font-size: 0.9rem !important;
  }

  .btn-hc-outline {
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
  }

  /* ==================
     ③ ティッカー
  ================== */
  .ticker-item {
    font-size: 0.75rem !important;
    padding: 0 1rem !important;
  }

  /* ==================
     ④ 実績数字
  ================== */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .stat-item {
    padding: 0.875rem 0.5rem !important;
    box-sizing: border-box !important;
  }

  .stat-num {
    font-size: 2rem !important;
  }

  .stat-title {
    font-size: 0.8rem !important;
  }

  .stat-desc {
    font-size: 0.65rem !important;
  }

  /* ==================
     ⑤ シミュレーション
  ================== */
  .sim-wrapper {
    flex-direction: column !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .sim-left,
  .sim-right {
    width: 100% !important;
    flex: unset !important;
    min-width: 0 !important;
  }

  .sim-card {
    padding: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .sim-tabs {
    grid-template-columns: 1fr 1fr !important;
  }

  .sim-tab {
    font-size: 0.8rem !important;
    padding: 0.75rem 0.5rem !important;
  }

  .sim-woman-deco {
    display: none !important;
  }

  /* ==================
     ⑥ ご利用の流れ
  ================== */
  .flow-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  /* ==================
     ⑦ お客様の声
  ================== */
  .voice-deco-area {
    display: none !important;
  }

  .voice-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .section-voice .voice-card {
    padding: 1.25rem !important;
  }

  /* ==================
     ⑧ フォーム
  ================== */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .form-wrapper {
    padding: 2rem 1.25rem 1.5rem !important;
  }

  /* ==================
     ⑨ 追従バー（下部）
  ================== */
  .floating-cta {
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .fc-box {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .fc-sp-text {
    flex-shrink: 0 !important;
  }

  .fc-sp-badge {
    font-size: 0.8rem !important;
    font-weight: 900 !important;
    color: var(--primary-red) !important;
    display: block !important;
    white-space: nowrap !important;
  }

  .fc-sp-desc {
    font-size: 0.65rem !important;
    color: var(--gray-600) !important;
    display: block !important;
    white-space: nowrap !important;
  }

  .fc-btn {
    flex: 1 !important;
    padding: 0.7rem 0.5rem !important;
    font-size: 0.875rem !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  /* ==================
     ⑩ フッター
  ================== */
  .footer-inner {
    grid-template-columns: 1fr !important;
  }

  .footer-menu {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {

  /* チェックリスト非表示 */
  .hc-check {
    display: none !important;
  }

  /* 行間の隙間を詰める */
  .hc-title {
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .hc-small {
    display: block !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
  }
}

/* ==========================================
   即日現金化：ネオン発光エフェクト
   ========================================== */
.hc-large {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem) !important;
  color: #FFD700 !important;
  font-weight: 900 !important;
  display: inline !important;
  white-space: normal !important;
  line-height: 1.2 !important;
  /* ★ネオン発光アニメーション */
  animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
  0% {
    text-shadow: 
      0 0 5px #FFD700,
      0 0 10px #FFD700,
      0 0 20px #FFD700,
      0 0 40px #FF8C00;
  }
  100% {
    text-shadow: 
      0 0 10px #FFD700,
      0 0 25px #FFD700,
      0 0 50px #FFD700,
      0 0 80px #FF8C00,
      0 0 120px #FF4500;
  }
}

/* ==========================================
   ご利用の流れ：スマホで画像を大きく
   ========================================== */
@media (max-width: 768px) {
  .flow-grid {
    grid-template-columns: 1fr !important; /* ★1列にして大きく表示 */
    gap: 1rem !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }

  .flow-item {
    width: 100% !important;
  }

  .flow-item img {
    width: 100% !important;
    height: auto !important;
  }
}



/* ==========================================
   オープニング：完全置き換え版
   ========================================== */
#opening {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

#opening.fadeout {
  animation: opening-out 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

@keyframes opening-out {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.15); /* ふわーっと拡大しながら消える */
  }
}

.op-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #FFFFFF 0%, #F0F0F0 100%);
}

.op-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.op-logo {
  width: clamp(200px, 40vw, 500px);
  height: auto;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}

.op-logo.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.op-logo.clicked {
  animation: logo-bounce 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes logo-bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(0.92); }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.op-cursor {
  position: fixed;
  width: clamp(40px, 5vw, 70px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  top: 75%;
  left: 75%;
  transition: 
    top 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
}

.op-cursor.show {
  opacity: 1;
}

.op-cursor.clicking {
  animation: cursor-click 0.3s ease;
}

@keyframes cursor-click {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.8); }
  100% { transform: scale(1); }
}

.op-woman {
  display: none !important;
}

@media (max-width: 768px) {
  .op-logo {
    width: clamp(180px, 65vw, 300px);
  }
  .op-cursor {
    width: clamp(30px, 8vw, 50px);
  }
}




.header-logo-img {
  height: 35px; /* PCはそのまま */
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .header-logo-img {
    height: 28px; /* ★スマホは小さく */
  }

  /* ヘッダーの高さもスマホ用に固定 */
  .header-inner {
    height: 56px !important;
  }

  /* 動画のマージンもヘッダーに合わせて調整 */
  .hero {
    margin-top: 56px !important;
  }
}

/* ==========================================
   スマホナビ
   ========================================== */
.nav-sp {
  display: none;
  position: fixed;
  top: 56px; /* ヘッダーの高さ分下げる */
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border-top: 2px solid var(--primary-red);
}

.nav-sp.open {
  display: flex;
}

.nav-sp-item {
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.nav-sp-item:hover {
  background: var(--gray-100);
  color: var(--primary-red);
  padding-left: 2rem;
}

/* 申し込みボタンだけ赤背景 */
.nav-sp-cta {
  background: var(--gradient-red);
  color: #fff !important;
  text-align: center;
  margin: 1rem;
  border-radius: var(--radius-full);
  border-bottom: none !important;
}

.nav-sp-cta:hover {
  opacity: 0.9;
  padding-left: 1.5rem !important;
}

