/* ------------------------------
  UNIPET Styles (Full)
  Brand: #d48c8c / #C97E7E / #B56E6E / #F8EAEA
  Font: Noto Sans JP
------------------------------ */

/* Variables */
:root {
  --brand: #d48c8c;
  --brand-600: #C97E7E;
  --brand-700: #B56E6E;
  --brand-100: #F8EAEA;
  --brand-50: rgba(212, 140, 140, 0.12);
  --ink: #111111;
  --ink-2: #333333;
  --ink-3: #666666;
  --bg: #FFFFFF;
  --muted: #6B7280;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --container: 1200px;
  --transition: 200ms ease;
  --hdr-h: 88px;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand); }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.4; }

/* Utilities */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-fluid { width: 100%; padding: 0 40px; }
.pc-only { display: inline; }
@media (max-width: 767px) { .pc-only { display: none; } }
.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: inline; } }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 24px; height: 44px; font-size: 16px; font-weight: 600;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: all var(--transition); white-space: nowrap; outline: none;
}
.btn-lg { height: 52px; padding: 0 32px; font-size: 18px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-100); color: var(--brand-700); border-color: var(--brand-700); }
.btn:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; }

/* Header */
.header { position: sticky; top: 0; z-index: 1000; background: var(--bg); transition: all var(--transition); }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); }
.logo { display: block; transition: opacity var(--transition); }
.logo:hover { opacity: 0.8; }
.logo img { height: 32px; width: auto; display: block; }
.nav { flex: 1; display: flex; justify-content: center; margin-left: -120px; }
.nav-list { display: flex; list-style: none; gap: 48px; }
.nav-link { font-weight: 600; font-size: 17px; color: var(--ink); position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--brand); transition: width var(--transition); }
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-cta { flex-shrink: 0; font-size: 17px; height: 48px; padding: 0 28px; }

/* Mobile Menu */
.mobile-menu-toggle {
  display: none; /* Hidden by default */
  flex-direction: column; justify-content: center; align-items: center;
  width: 40px; height: 40px; background: transparent; border: 1px solid #e0e0e0; border-radius: 4px; cursor: pointer; padding: 0;
}
.mobile-menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-2); margin: 3px 0; transition: all var(--transition); }
.mobile-menu { position: fixed; top: var(--hdr-h); left: 0; right: 0; background: var(--bg); box-shadow: var(--shadow); transform: translateY(-100%); opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 999; }
.mobile-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav-list { list-style: none; padding: 24px; }
.mobile-nav-link { display: block; padding: 12px 0; font-weight: 600; border-bottom: 1px solid rgba(0,0,0,.1); }

@media (max-width: 1024px) {
  .nav { display: none; }
  .header-inner { padding: 0 16px; height: 60px; }
  :root { --hdr-h: 60px; }
  .logo img { height: 28px; display: block; }
  .header-actions { gap: 8px; }
  .header-cta {
    background: #ef4444;
    color: white;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
  }
  .header-cta:hover {
    background: #dc2626;
  }
  .mobile-menu-toggle { display: flex; }
}

/* Hero New - 1.png Design Reference */
.hero-new {
  padding: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  overflow: hidden;
  position: relative;
}

.hero-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/yazirushi_white.png');
  background-size: 800px auto;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 600px;
  padding: 10px 0 60px;
  position: relative;
  z-index: 2;
}

.hero-left {
  text-align: left;
  padding: 0 40px;
  z-index: 3;
}

/* Hero Catch */
.hero-catch {
  background: white;
  color: var(--brand);
  font-size: 24px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 32px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.02em;
}

.hero-catch::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 40px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid white;
}

/* Hero Title */
.hero-title {
  font-size: 56px;
  line-height: 1.3;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title-highlight {
  font-size: 64px;
  font-weight: 900;
  color: white;
  display: inline-block;
}

.hero-title-text {
  font-size: 48px;
}

.hero-title-sub {
  font-size: 48px;
  display: inline-block;
}

.hero-description {
  font-size: 20px;
  line-height: 1.8;
  color: white;
  margin-bottom: 32px;
  font-weight: 600;
}

.hero-description-yen {
  font-size: 28px;
  font-weight: 700;
}

.hero-description-zero {
  font-size: 48px;
  font-weight: 900;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: white;
  margin-bottom: 40px;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.hero-btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  min-width: 180px;
}

.hero-btn-download {
  background: white;
  color: var(--brand);
  border: none;
}

.hero-btn-download:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.hero-btn-online {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-btn-online:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Hero Image */
.hero-right {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
}

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

.hero-badge {
  position: absolute;
  bottom: 40px;
  right: 20px;
  width: 160px;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

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

/* Legacy Hero Elements - Hidden */
.hero-image {
  display: none;
}

.hero-cta {
  display: none;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid #ddd;
}

.btn-outline:hover {
  background: #f8f8f8;
  border-color: #ccc;
}

/* Hero Zero Badge - Hidden */
.hero-zero-badge {
  display: none;
}

.zero-badge-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url('../img/hiro_rotate.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.rotating {
  animation: rotateRing 6s linear infinite;
  transform-origin: center center;
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.zero-badge-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.zero-badge-line1 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  margin-bottom: 8px;
  white-space: nowrap;
  text-shadow: 
    -2px -2px 0 white,
    2px -2px 0 white,
    -2px 2px 0 white,
    2px 2px 0 white,
    0 -2px 0 white,
    -2px 0 0 white,
    2px 0 0 white,
    0 2px 0 white;
  -webkit-text-stroke: 2px white;
  paint-order: stroke fill;
}

.zero-highlight {
  font-size: 42px;
  font-weight: 900;
  color: var(--brand);
  display: inline-block;
  text-shadow: 
    -2px -2px 0 white,
    2px -2px 0 white,
    -2px 2px 0 white,
    2px 2px 0 white,
    0 -2px 0 white,
    -2px 0 0 white,
    2px 0 0 white,
    0 2px 0 white;
  -webkit-text-stroke: 2px white;
  paint-order: stroke fill;
}

.zero-badge-line2 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1;
  margin-bottom: 6px;
  white-space: nowrap;
  text-shadow: 
    -2px -2px 0 white,
    2px -2px 0 white,
    -2px 2px 0 white,
    2px 2px 0 white,
    0 -2px 0 white,
    -2px 0 0 white,
    2px 0 0 white,
    0 2px 0 white;
  -webkit-text-stroke: 2px white;
  paint-order: stroke fill;
}

.zero-badge-line3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 
    -2px -2px 0 white,
    2px -2px 0 white,
    -2px 2px 0 white,
    2px 2px 0 white,
    0 -2px 0 white,
    -2px 0 0 white,
    2px 0 0 white,
    0 2px 0 white;
  -webkit-text-stroke: 2px white;
  paint-order: stroke fill;
}









/* Character by Character Animation */
.typewriter {
  white-space: nowrap;
  margin: 0;
  opacity: 0;
  animation: fadeIn 0.3s ease-out 0.3s forwards;
}

.typewriter span {
  opacity: 0;
  animation: charFadeIn 0.3s ease-out forwards;
  visibility: hidden;
  animation-fill-mode: both;
}

@keyframes charFadeIn {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}
/* Pitatto Drop Animation */
.pitatto-drop {
  display: inline-block;
  opacity: 0;
  transform: translateY(-20px);
  animation: pitattoDrop 0.8s ease-out 1.8s forwards;
}
@keyframes pitattoDrop {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  80% {
    opacity: 1;
    transform: translateY(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Animation Keyframes */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide Controls - Removed */

/* Hero Stats Section - Staff Start Style */
.hero-stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  position: relative;
  overflow: hidden;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: slideGradient 3s ease-in-out infinite;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-title-top {
  font-size: 32px;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 30px;
}

.stat-number-highlight {
  color: #FFD700;
  font-weight: 900;
  font-size: 48px;
}

.growth-indicator-bottom {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  font-size: 24px;
  font-weight: 800;
  padding: 15px 30px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
  margin-top: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.growth-indicator-inframe {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  font-size: 24px;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(74, 144, 226, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.growth-indicator-inframe.orange {
  background: linear-gradient(135deg, #FF8A65 0%, #FF7043 100%);
  box-shadow: 0 6px 15px rgba(255, 138, 101, 0.3);
}

.section-title.white {
  color: white;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mobile sizing for "利用者急上昇中！" */
@media (max-width: 768px) {
  .hero-stats .section-title.white { font-size: 26px; }
}
@media (max-width: 480px) {
  .hero-stats .section-title.white { font-size: 24px; }
}

.section-subtitle.white {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 50px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.stat-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  width: 100%;
}


.stat-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.stat-total {
  color: var(--brand);
  font-size: 28px;
}

.growth-indicator {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.growth-indicator.orange {
  background: linear-gradient(135deg, #FF8A65 0%, #FF7043 100%);
  box-shadow: 0 4px 15px rgba(255, 138, 101, 0.3);
}

.stat-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 200px;
  gap: 12px;
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.chart-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
}

.chart-bar {
  width: 100%;
  background: linear-gradient(180deg, #4A90E2 0%, #357ABD 100%);
  border-radius: 8px 8px 0 0;
  position: absolute;
  bottom: 0;
  height: 0%;
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-item:nth-child(2) .chart-bar {
  background: linear-gradient(180deg, #FF8A65 0%, #FF7043 100%);
}

.chart-value {
  position: absolute;
  top: -25px;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
  animation-delay: 0.5s;
  z-index: 10;
}

.chart-date {
  position: absolute;
  bottom: -30px;
  font-size: 10px;
  font-weight: 600;
  color: #666;
  text-align: center;
  transform: rotate(-45deg);
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.stat-icon {
  margin-bottom: 16px;
}
.stat-icon i {
  font-size: 48px;
  color: var(--brand);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.stat-item:hover .stat-icon i {
  opacity: 1;
  transform: scale(1.1);
}



.stat-content {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-unit {
  font-size: 24px;
  font-weight: 600;
  color: var(--brand);
  margin-left: 4px;
}

.stat-label {
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Hero Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    min-height: 600px;
  }
  
  .hero-right {
    margin-right: -80px;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-image {
    height: 500px;
  }
  
  .hero-vertical-text {
    right: 30px;
    padding: 18px 20px;
  }
  
  .hero-vertical-text p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .container-fluid { padding: 0; }
  .hero-new {
    padding: 10px 0 0;
  }

  .hero-new::before {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding: 10px 0;
  }

  .hero-right {
    order: -1;
    margin-bottom: 0;
  }

  .hero-left {
    padding: 0 10px;
    text-align: center;
  }

  .hero-catch {
    font-size: 18px;
    padding: 12px 24px;
    margin-bottom: 20px;
    margin-top: -10px;
    line-height: 1.5;
  }

  .hero-catch::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .hero-title-highlight {
    font-size: 44px;
  }

  .hero-title-text {
    font-size: 32px;
  }

  .hero-title-sub {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-description-yen {
    font-size: 20px;
  }

  .hero-description-zero {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
  }

  .hero-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-image-wrapper {
    max-width: 95%;
    padding: 0;
    margin: 0;
    margin-left: -35px;
    margin-top: -35px;
    overflow: visible;
  }

  .hero-main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero-badge {
    bottom: 30px;
    right: 80px;
    width: 130px;
  }

  .hero-lead {
    font-size: 15px;
    margin: 0 auto;
    max-width: 400px;
  }
  
  .hero-vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    top: 50%;
    right: 16px;
    bottom: auto;
    transform: translateY(-50%);
    padding: 16px 12px;
    font-size: 14px;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.85);
  }
  
  .hero-vertical-text p {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
  }
  
  .typewriter {
    opacity: 0;
    animation: fadeIn 0.3s ease-out 0.3s forwards;
  }
  
  .typewriter span {
    opacity: 0;
    visibility: hidden;
    animation: charFadeIn 0.3s ease-out forwards;
    animation-fill-mode: both;
  }
  
  /* Mobile Pitatto Drop Animation */
  .pitatto-drop {
    animation: pitattoDrop 0.7s ease-out 1.6s forwards;
    transform: translateY(-15px);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .stat-item {
    padding: 30px 20px;
  }
  
  .stat-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .stat-title {
    font-size: 20px;
  }
  
  .stat-total {
    font-size: 24px;
  }
  
  .growth-indicator {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .stat-chart {
    height: 150px;
  }
  
  .chart-bar {
    border-radius: 6px 6px 0 0;
  }
  
  .chart-value {
    font-size: 9px;
  }
  
  .chart-date {
    font-size: 8px;
    bottom: -25px;
  }
}

/* Extra-small breakpoints for hero title */
@media (max-width: 480px) {
  .hero-title { font-size: 26px !important; }
}

@media (max-width: 375px) {
  .hero-title { font-size: 24px !important; }
}

/* Section header */
.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-size: 40px; margin-bottom: 16px; text-align: center; }
.section-lead { font-size: 18px; color: var(--muted); text-align: center; }
@media (max-width: 768px) {
  .section-header { margin-bottom: 48px; }
  .section-title { font-size: 24px; }
  .section-lead { font-size: 16px; }
  
  /* Fix specific section title overrides */
  .reservation-comparison .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  /* Smaller item titles/dates on mobile */
  .case-study-title { font-size: 16px; line-height: 1.5; }
  .news-title { font-size: 16px; line-height: 1.5; }
  .news-date { font-size: 13px; }
}

@media (max-width: 480px) {
  .case-study-title { font-size: 15px; }
  .news-title { font-size: 15px; }
  .news-date { font-size: 12px; }
}

@media (max-width: 375px) {
  .case-study-title { font-size: 14px; }
  .news-title { font-size: 14px; }
  .news-date { font-size: 12px; }
}

/* Rebrand Notice */
.notice.rebrand { padding: 60px 0; background: var(--brand-100); text-align: center; }
.rebrand__badge { display: inline-block; background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.rebrand__title { font-size: 28px; font-weight: 700; margin-bottom: 16px; color: var(--ink); }
.rebrand__text { font-size: 16px; color: var(--ink-2); line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* Mobile adjustments for rebrand section */
@media (max-width: 767px) {
  .rebrand__title { font-size: 22px; }
  .rebrand__text { font-size: 14px; }
}

/* Customer Concerns Section */
.customer-concerns {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand) 0%, #d68888 100%);
}

.customer-concerns .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

.concerns-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Features Section */
.features-section { padding: 100px 0; background: #fafafa; position: relative; }
.features-section .section-lead { max-width: 850px; }
/* anchor scroll margin (avoid header overlay) */
.features-section { scroll-margin-top: 80px; }

.features-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  pointer-events: auto;
}

.features-visual { display: flex; align-items: center; justify-content: center; }
.features-visual, .features-visual * { pointer-events: none; }
.features-orb {
  position: relative;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #fff 0%, #f9f9f9 60%, #f2f2f2 100%);
  box-shadow: 0 20px 60px rgba(0,0,0,.08) inset, 0 10px 30px rgba(0,0,0,.06);
}
.features-center-img {
  position: absolute; inset: 50%; transform: translate(-50%, -50%);
  width: 78%; height: auto; border-radius: 20px; object-fit: cover;
}
.orbit-layer { position: absolute; inset: 0; }
.bubble {
  position: absolute; width: 70px; height: 70px; border-radius: 50%;
  background: #fff; color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.06);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.bubble i { font-size: 40px !important; line-height: 1; width: 1em; height: 1em; }
/* 8 positions around the circle */
/* Fallback static positions (JS未実行時に等間隔で見せる) */
.features-orb .bubble.pos1 { top: 4%; left: 50%; transform: translate(-50%, -50%); }
.features-orb .bubble.pos2 { top: 18%; left: 86%; transform: translate(-50%, -50%); }
.features-orb .bubble.pos3 { top: 50%; left: 96%; transform: translate(-50%, -50%); }
.features-orb .bubble.pos4 { top: 82%; left: 86%; transform: translate(-50%, -50%); }
.features-orb .bubble.pos5 { top: 96%; left: 50%; transform: translate(-50%, -50%); }
.features-orb .bubble.pos6 { top: 82%; left: 14%; transform: translate(-50%, -50%); }
.features-orb .bubble.pos7 { top: 50%; left: 4%; transform: translate(-50%, -50%); }
.features-orb .bubble.pos8 { top: 18%; left: 14%; transform: translate(-50%, -50%); }

@media (max-width: 1024px) {
  .features-layout { grid-template-columns: 1fr; gap: 32px; }
  .features-orb { width: 420px; height: 420px; margin: 0 auto; }
  .features-content { text-align: center; }
}
@media (max-width: 768px) {
  .features-section { padding: 72px 0; }
  .features-layout { gap: 24px; }
  .features-orb { width: min(320px, 88vw); height: min(320px, 88vw); margin: 0 auto; }
  .bubble { width: 50px !important; height: 50px !important; }
  .bubble i { font-size: 20px !important; }
  .features-orb .bubble { transform: translate(-50%, -50%); }
  .features-content { padding: 0 16px; text-align: center; }
  /* Mobile carousel: scrollable cards */
  .f-carousel-track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; transform: none !important; width: auto !important; gap: 12px !important; padding: 8px !important; }
  .feature-slide { flex: 0 0 calc(100vw - 56px); max-width: calc(100vw - 56px); scroll-snap-align: start; border-radius: 12px; }
  .f-carousel-nav { display: none !important; }
  .fcr { display: none !important; }
  #fc-1:checked ~ .f-carousel-track,
  #fc-2:checked ~ .f-carousel-track,
  #fc-3:checked ~ .f-carousel-track,
  #fc-4:checked ~ .f-carousel-track,
  #fc-5:checked ~ .f-carousel-track,
  #fc-6:checked ~ .f-carousel-track,
  #fc-7:checked ~ .f-carousel-track,
  #fc-8:checked ~ .f-carousel-track { transform: none !important; width: auto !important; }
}
@media (max-width: 560px) {
  .features-orb { width: min(320px, 86vw); height: min(320px, 86vw); }
}
@media (max-width: 480px) {
  .features-orb { width: min(280px, 86vw); height: min(280px, 86vw); }
  .feature-slide { flex: 0 0 calc(100vw - 48px); max-width: calc(100vw - 48px); padding: 16px; }
  .slide-title { font-size: 16px; }
  .slide-desc { font-size: 13px; }
}

/* Horizontal carousel */
.features-content, .features-carousel, .f-carousel-nav { pointer-events: auto; }
.features-carousel { position: relative; margin-top: 24px; z-index: 3000; }
.f-carousel-track {
  display: flex; gap: 0; overflow: hidden; padding: 0;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  transition: transform .4s ease; will-change: transform;
  width: 800%; /* 8 slides */
}
.feature-slide { flex: 0 0 12.5%; scroll-snap-align: start; padding: 18px; }
.f-carousel-track::-webkit-scrollbar { display: none; }
.feature-slide { scroll-snap-align: start; background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 18px; box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.slide-icon { color: var(--brand-700); margin-bottom: 8px; }
.slide-icon i { font-size: 28px; }
.slide-title { font-size: 18px; margin-bottom: 8px; }
.slide-desc { color: var(--ink-2); font-size: 14px; line-height: 1.7; }

.f-carousel-nav { 
  position: absolute; bottom: 8px; transform: none;
  width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; box-shadow: var(--shadow); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  z-index: 2001;
  pointer-events: auto;
}
.f-carousel-nav.prev { left: 8px; }
.f-carousel-nav.next { right: 8px; }
.f-carousel-nav:hover { background: var(--brand-100); color: var(--brand-700); }
@media (max-width: 1024px) {
  .f-carousel-nav.prev { left: 8px; }
  .f-carousel-nav.next { right: 8px; }
}

@media (max-width: 768px) {
  .features-section { padding: 72px 0; }
}

/* CSS-only slider state */
.fcr { display: none; }

#fc-1:checked ~ .f-carousel-track { transform: translateX(0); }
#fc-2:checked ~ .f-carousel-track { transform: translateX(-12.5%); }
#fc-3:checked ~ .f-carousel-track { transform: translateX(-25%); }
#fc-4:checked ~ .f-carousel-track { transform: translateX(-37.5%); }
#fc-5:checked ~ .f-carousel-track { transform: translateX(-50%); }
#fc-6:checked ~ .f-carousel-track { transform: translateX(-62.5%); }
#fc-7:checked ~ .f-carousel-track { transform: translateX(-75%); }
#fc-8:checked ~ .f-carousel-track { transform: translateX(-87.5%); }

/* Strong desktop defaults to avoid theme overrides */
@media (min-width: 1025px) {
  .features-section .f-carousel-track { width: 800% !important; overflow: hidden; padding: 0 !important; gap: 0 !important; }
  .features-section .feature-slide { flex: 0 0 12.5% !important; padding: 18px !important; }
  .features-section .f-carousel-nav { display: inline-flex !important; }
}

.f-nav label { display: none; }
#fc-1:checked ~ .f-nav .to-2 { display: inline-flex; right: 8px; }
#fc-2:checked ~ .f-nav .to-3 { display: inline-flex; right: 8px; }
#fc-3:checked ~ .f-nav .to-4 { display: inline-flex; right: 8px; }
#fc-4:checked ~ .f-nav .to-5 { display: inline-flex; right: 8px; }
#fc-5:checked ~ .f-nav .to-6 { display: inline-flex; right: 8px; }
#fc-6:checked ~ .f-nav .to-7 { display: inline-flex; right: 8px; }
#fc-7:checked ~ .f-nav .to-8 { display: inline-flex; right: 8px; }

#fc-2:checked ~ .f-nav .to-1,
#fc-3:checked ~ .f-nav .to-2,
#fc-4:checked ~ .f-nav .to-3,
#fc-5:checked ~ .f-nav .to-4,
#fc-6:checked ~ .f-nav .to-5,
#fc-7:checked ~ .f-nav .to-6,
#fc-8:checked ~ .f-nav .to-7 { display: inline-flex; left: 8px; }

.concern-item {
  text-align: center;
  position: relative;
  padding-bottom: 30px;
}

.concern-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
  border-radius: 48% 52% 45% 55% / 52% 48% 55% 45%;
  border: 10px solid #fff;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.1), 0 20px 40px rgba(0, 0, 0, 0.15);
  background: #fff;
  position: relative;
  transition: transform 0.3s ease;
}

.concern-image:hover {
  transform: translateY(-5px);
}

/* Thinking bubble effect */
.concern-item::before,
.concern-item::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  left: 50%;
}

.concern-item::before {
  width: 25px;
  height: 25px;
  bottom: 110px;
  margin-left: 70px;
}

.concern-item::after {
  width: 15px;
  height: 15px;
  bottom: 90px;
  margin-left: 85px;
}

.concern-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.concern-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

/* Floating animation for each image */
@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

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

@keyframes float3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes float4 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

@keyframes float5 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.concern-item:nth-child(1) .concern-image {
  animation: float1 3s ease-in-out infinite;
  border-radius: 48% 52% 45% 55% / 52% 48% 55% 45%;
}

.concern-item:nth-child(1)::before,
.concern-item:nth-child(1)::after {
  animation: float1 3s ease-in-out infinite;
}

.concern-item:nth-child(2) .concern-image {
  animation: float2 3.5s ease-in-out infinite;
  animation-delay: 0.5s;
  border-radius: 52% 48% 55% 45% / 48% 52% 45% 55%;
}

.concern-item:nth-child(2)::before,
.concern-item:nth-child(2)::after {
  animation: float2 3.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.concern-item:nth-child(3) .concern-image {
  animation: float3 4s ease-in-out infinite;
  animation-delay: 1s;
  border-radius: 45% 55% 48% 52% / 55% 45% 52% 48%;
}

.concern-item:nth-child(3)::before,
.concern-item:nth-child(3)::after {
  animation: float3 4s ease-in-out infinite;
  animation-delay: 1s;
}

.concern-item:nth-child(4) .concern-image {
  animation: float4 3.2s ease-in-out infinite;
  animation-delay: 0.3s;
  border-radius: 55% 45% 52% 48% / 45% 55% 48% 52%;
}

.concern-item:nth-child(4)::before,
.concern-item:nth-child(4)::after {
  animation: float4 3.2s ease-in-out infinite;
  animation-delay: 0.3s;
}

.concern-item:nth-child(5) .concern-image {
  animation: float5 3.8s ease-in-out infinite;
  animation-delay: 0.8s;
  border-radius: 50% 50% 45% 55% / 48% 52% 55% 45%;
}

.concern-item:nth-child(5)::before,
.concern-item:nth-child(5)::after {
  animation: float5 3.8s ease-in-out infinite;
  animation-delay: 0.8s;
}

/* Desktop layout: 3 items on top, 2 items on bottom */
@media (min-width: 1024px) {
  .concerns-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
  }
  
  .concern-item:nth-child(1),
  .concern-item:nth-child(2),
  .concern-item:nth-child(3) {
    grid-column: span 2;
  }
  
  .concern-item:nth-child(4) {
    grid-column: 2 / span 2;
  }
  
  .concern-item:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* Tablet layout */
@media (min-width: 768px) and (max-width: 1023px) {
  .concerns-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .concern-item:nth-child(4),
  .concern-item:nth-child(5) {
    grid-column: span 1;
  }
  
  .concern-image {
    width: 140px;
    height: 140px;
    border-width: 8px;
  }
}

/* Concerns swipe hint (mobile only) */
.concerns-swipe-hint {
  display: none;
  text-align: center;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Concerns dots indicator */
.concerns-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.concern-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  transition: all 0.3s ease;
}

.concern-dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 4px;
}

/* Mobile layout */
@media (max-width: 767px) {
  .customer-concerns {
    padding: 60px 0;
  }

  .customer-concerns .section-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .concerns-swipe-hint {
    display: block;
  }

  .concerns-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px 20px 20px;
    scrollbar-width: none;
  }

  .concerns-grid::-webkit-scrollbar {
    display: none;
  }

  .concern-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    position: relative;
    z-index: 1;
    padding-top: 15px;
  }

  .concern-image {
    width: 160px;
    height: 160px;
    border-width: 8px;
    border-color: #fff;
    position: relative;
    z-index: 1;
  }

  /* Ensure thinking bubbles are above thumbnail images */
  .concern-item::before,
  .concern-item::after {
    z-index: 2;
  }

  .concerns-dots {
    display: flex;
  }

  /* Apply reduced animation on mobile */
  .concern-item:nth-child(1) .concern-image {
    animation: float1 4s ease-in-out infinite;
  }
  
  .concern-item:nth-child(1)::before,
  .concern-item:nth-child(1)::after {
    animation: float1 4s ease-in-out infinite;
  }
  
  .concern-item:nth-child(2) .concern-image {
    animation: float2 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
  }
  
  .concern-item:nth-child(2)::before,
  .concern-item:nth-child(2)::after {
    animation: float2 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
  }
  
  .concern-item:nth-child(3) .concern-image {
    animation: float3 5s ease-in-out infinite;
    animation-delay: 1s;
  }
  
  .concern-item:nth-child(3)::before,
  .concern-item:nth-child(3)::after {
    animation: float3 5s ease-in-out infinite;
    animation-delay: 1s;
  }
  
  .concern-item:nth-child(4) .concern-image {
    animation: float4 4.2s ease-in-out infinite;
    animation-delay: 0.3s;
  }
  
  .concern-item:nth-child(4)::before,
  .concern-item:nth-child(4)::after {
    animation: float4 4.2s ease-in-out infinite;
    animation-delay: 0.3s;
  }
  
  .concern-item:nth-child(5) .concern-image {
    animation: float5 4.8s ease-in-out infinite;
    animation-delay: 0.8s;
  }
  
  .concern-item:nth-child(5)::before,
  .concern-item:nth-child(5)::after {
    animation: float5 4.8s ease-in-out infinite;
    animation-delay: 0.8s;
  }
  
  /* Adjust thinking bubbles for mobile */
  .concern-item::before {
    width: 22px;
    height: 22px;
    bottom: 95px;
    margin-left: 75px;
  }
  
  .concern-item::after {
    width: 16px;
    height: 16px;
    bottom: 75px;
    margin-left: 90px;
  }
  
  .concern-item {
    padding-bottom: 20px;
  }
  
  .concern-text {
    font-size: 16px;
  }
}

/* Highlight */
.highlight { padding: 100px 0; background: var(--bg); }
.highlight__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 64px auto 0; }
.highlight__card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px; text-align: center; position: relative; transition: all var(--transition); overflow: hidden; }
.highlight__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.highlight__card--left { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.highlight__card--right { background: linear-gradient(135deg, var(--brand-100) 0%, #fdf2f8 100%); }
.ribbon { position: absolute; top: 20px; right: -30px; background: var(--brand); color: #fff; padding: 8px 40px; font-size: 12px; font-weight: 700; transform: rotate(45deg); text-transform: uppercase; letter-spacing: .5px; }
.highlight__icon { margin-bottom: 24px; }
.highlight__title { font-size: 24px; margin-bottom: 8px; color: var(--ink); }
.highlight__lead { font-size: 16px; color: var(--muted); margin-bottom: 24px; }
.highlight__list { list-style: none; text-align: left; margin-bottom: 32px; }
.highlight__list li { margin-bottom: 16px; padding-left: 24px; position: relative; line-height: 1.6; color: var(--ink-2); }
.highlight__list strong { color: var(--ink); font-weight: 600; }
@media (max-width: 768px) {
  .highlight { padding: 80px 0; }
  .highlight__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .highlight__card { padding: 32px 24px; }
  .highlight__title { font-size: 20px; }
}

/* Logo Wall - Staff Start Style */
.logo-wall { 
  padding: 100px 0; 
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFB 50%, #FFFFFF 100%);
  position: relative;
  text-align: center;
}

.logo-wall::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190,103,103,0.1), transparent);
  z-index: 0;
}

.logo-wall .section-title {
  font-size: 36px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-wall .section-lead {
  font-size: 18px;
  color: var(--ink-2);
  margin-bottom: 48px;
}

.logo-slider { 
  overflow: hidden; 
  margin-top: 48px; 
  position: relative; 
  display: flex; 
  flex-direction: column; 
  gap: 32px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logo-grid { 
  display: flex; 
  gap: 40px; 
  width: max-content; 
  flex-shrink: 0; 
}

.logo-grid-1 { 
  animation: logoSlideRight 20s linear infinite; 
}

.logo-grid-2 { 
  animation: logoSlideLeft 20s linear infinite; 
}

.logo-grid:hover { 
  animation-play-state: paused; 
}

.logo-item { 
  background: linear-gradient(135deg, #FFFFFF, #FAFAFA);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px; 
  padding: 24px 32px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  height: 90px; 
  min-width: 180px; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); 
  transition: all 0.3s ease; 
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(190,103,103,0.05), transparent);
  transition: left 0.5s ease;
}

.logo-item:hover::before {
  left: 100%;
}

.logo-item:hover { 
  transform: translateY(-4px) scale(1.02); 
  box-shadow: 0 8px 24px rgba(190,103,103,0.12); 
  border-color: var(--brand);
}

.logo-placeholder { 
  color: var(--ink-2); 
  font-size: 15px; 
  font-weight: 600; 
  text-align: center; 
  white-space: nowrap;
  letter-spacing: 0.3px;
}

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

@keyframes logoSlideLeft { 
  0% { transform: translateX(-50%); } 
  100% { transform: translateX(0); } 
}
@media (max-width: 768px) {
  .logo-wall { padding: 60px 0; }
  .logo-slider { margin-top: 32px; gap: 16px; }
  .logo-grid { gap: 20px; }
  .logo-grid-1 { animation-duration: 15s; }
  .logo-grid-2 { animation-duration: 15s; }
  .logo-item { height: 60px; padding: 16px; min-width: 120px; }
  .logo-placeholder { font-size: 12px; }
}

/*/* Reservation Comparison Section */
.reservation-comparison {
  padding: 100px 0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFB 100%);
}
.reservation-comparison .section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--ink);
}
.reservation-comparison .section-lead {
  text-align: center;
  font-size: 18px;
  color: var(--ink-2);
  margin-bottom: 60px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.comparison-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 30px 20px;
  position: relative;
}
.comparison-card--bad {
  border: 2px solid #EF4444;
}
.comparison-card--good {
  border: 2px solid #10B981;
}
.comparison-badge {
  position: absolute;
  top: -20px;
  left: 40px;
  padding: 8px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.comparison-badge--bad {
  background: #FEE2E2;
  color: #DC2626;
}
.comparison-badge--good {
  background: var(--brand);
  color: #fff;
}
.comparison-description {
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}
.comparison-description strong {
  color: var(--ink);
  font-weight: 700;
}
.comparison-description small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.schedule-demo {
  background: #F9FAFB;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
}
.time-slots span {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--ink-2);
}
.availability-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.availability-row .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.availability-slots {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
}
.slot-available, .slot-blocked {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.slot-available {
  color: #10B981;
}
.slot-blocked {
  color: #EF4444;
}
.staff-schedule {
  display: grid;
  gap: 12px;
}
.staff-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
}
.staff-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.time-blocks {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  height: 40px;
  position: relative;
}
.block {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px;
}
.block-trimming {
  background: #DBEAFE;
  color: #1E40AF;
}
.block-rest {
  background: #E5E7EB;
  color: #6B7280;
}
.block-reservable {
  background: #D1FAE5;
  color: #065F46;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.comparison-result {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}
.comparison-result--bad {
  background: #FEF2F2;
}
.comparison-result--good {
  background: #F0FDF4;
}
.comparison-result p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.comparison-result h3 {
  font-size: 18px;
  font-weight: 700;
}
.comparison-result--bad h3 {
  color: #DC2626;
}
.comparison-result--good h3 {
  color: #059669;
}
/* 予約アニメーション */
.new-reservation-attempt {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reservation-block {
  background: linear-gradient(135deg, #d48c8c, #B56E6E);
  color: white;
  padding: 6px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(212, 140, 140, 0.3);
  opacity: 0;
  border: 2px dashed #d48c8c;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes tryToFit {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(1.1);
  }
  20% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  40%, 60% {
    transform: translateY(0) translateX(5px);
    background: linear-gradient(135deg, #d48c8c, #B56E6E);
  }
  50% {
    transform: translateY(0) translateX(-5px);
  }
  80% {
    transform: translateY(0) scale(0.95);
    opacity: 1;
    background: linear-gradient(135deg, #d48c8c, #B56E6E);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.new-reservation-success {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reservation-block-success {
  background: linear-gradient(135deg, #86EFAC, #10B981);
  color: white;
  padding: 6px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  opacity: 0;
  border: 2px solid #059669;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes perfectFit {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(1.1);
  }
  30% {
    opacity: 1;
    transform: translateY(0) scale(1.05);
  }
  50% {
    transform: translateY(0) scale(1);
    background: linear-gradient(135deg, #86EFAC, #10B981);
  }
  70% {
    transform: translateY(0) scale(1.02);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    background: linear-gradient(135deg, #34D399, #10B981);
  }
}
/* Responsive */
@media (max-width: 1024px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}
@media (max-width: 768px) {
  .reservation-comparison {
    padding: 80px 0;
  }
  .comparison-card {
    padding: 20px 12px;
  }
  .comparison-badge {
    left: 16px;
    font-size: 12px;
    padding: 6px 16px;
  }
  .comparison-description {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .schedule-demo {
    padding: 16px;
    margin-bottom: 16px;
  }
  .time-slots {
    font-size: 9px;
    gap: 2px;
  }
  .availability-row {
    grid-template-columns: 60px 1fr;
    gap: 8px;
  }
  .availability-row .label {
    font-size: 10px;
  }
  .availability-slots {
    gap: 2px;
  }
  .slot-available, .slot-blocked {
    font-size: 14px;
  }
  .staff-row {
    grid-template-columns: 60px 1fr;
    gap: 8px;
  }
  .staff-name {
    font-size: 10px;
  }
  .time-blocks {
    gap: 2px;
    height: 32px;
  }
  .block {
    font-size: 9px;
    padding: 2px;
  }
  .reservation-block,
  .reservation-block-success {
    font-size: 9px;
    padding: 2px;
  }
  .comparison-result {
    padding: 16px;
    margin-top: 16px;
  }
  .comparison-result p {
    font-size: 12px;
  }
  .comparison-result h3 {
    font-size: 14px;
  }
}

/* Revenue Impact Highlight */
.revenue-impact {
  background: #fff;
  margin: 50px auto;
  position: relative;
}

.revenue-stats {
  text-align: center;
  padding: 40px 30px;
}

.revenue-title {
  font-size: 42px;
  font-weight: 700;
  color: #d48c8c;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.revenue-title::before {
  content: '\f201';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #d48c8c;
  font-size: 36px;
}

.revenue-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: #374151;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.revenue-subtitle::before {
  content: '\f083';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #10B981;
  font-size: 20px;
}

@media (max-width: 768px) {
  .revenue-impact {
    margin: 40px 20px;
  }
  
  .revenue-stats {
    padding: 30px 20px;
  }
  
  .revenue-title {
    font-size: 32px;
    margin-bottom: 12px;
  }
  
  .revenue-title::before {
    font-size: 28px;
  }
  
  .revenue-subtitle {
    font-size: 20px;
  }
  
  .revenue-subtitle::before {
    font-size: 18px;
  }
}

/* Pitatto detail */
.pitatto-detail { padding: 120px 0; background: linear-gradient(135deg, var(--bg) 0%, #f8fafc 100%); }
.pitatto-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-badge { display: inline-block; background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.pitatto-title, .free-title { font-size: 36px; font-weight: 700; margin-bottom: 24px; color: var(--ink); line-height: 1.3; }
.pitatto-lead, .free-lead { font-size: 18px; color: var(--ink-2); line-height: 1.8; margin-bottom: 48px; }
.pitatto-features { margin-bottom: 48px; }
.pitatto-feature { display: flex; gap: 24px; margin-bottom: 32px; padding: 24px; background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: all var(--transition); }
.pitatto-feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-step { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--brand); color: #fff; border-radius: 50%; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.feature-content h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.feature-content p { color: var(--ink-2); line-height: 1.6; }
.pitatto-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Revenue comparison */
.revenue-comparison { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; border: 1px solid #e5e7eb; }
.comparison-title { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 32px; color: var(--ink); }
.before-after { display: flex; gap: 24px; align-items: center; margin-bottom: 32px; }
.comparison-item { flex: 1; background: #f8fafc; border-radius: 8px; padding: 24px; border: 2px solid transparent; }
.comparison-item.before { border-color: #ef4444; }
.comparison-item.after { border-color: #10b981; }
.comparison-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.comparison-header h4 { font-size: 16px; font-weight: 600; color: var(--ink); }
.loss-indicator { background: #fef2f2; color: #dc2626; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.profit-indicator { background: #f0fdf4; color: #16a34a; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.schedule-demo { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.revenue-comparison .time-slot { font-size: 12px; font-weight: 600; color: var(--muted); width: 50px; display: inline-block; }
.slot { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 4px; transition: all var(--transition); }
.slot.booked { background: #dcfce7; color: #166534; }
.slot.empty { background: #f1f5f9; color: #64748b; }
.slot.cancelled { background: #fef2f2; color: #dc2626; }
.slot.recovered { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); color: #1d4ed8; animation: recover 1s ease-in-out; }
.revenue-loss { text-align: center; padding: 12px; background: #fef2f2; border-radius: 6px; }
.loss-text { color: #dc2626; font-weight: 600; font-size: 14px; }
.revenue-gain { text-align: center; padding: 12px; background: #f0fdf4; border-radius: 6px; }
.gain-text { color: #16a34a; font-weight: 700; font-size: 14px; display: block; margin-bottom: 4px; }
.revenue-gain small { color: #15803d; font-size: 12px; }
.vs-arrow { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.arrow-text { font-size: 12px; color: var(--brand); font-weight: 600; white-space: nowrap; }
.arrow-icon { font-size: 24px; color: var(--brand); }
.impact-stats { display: flex; justify-content: center; gap: 32px; padding: 24px; background: var(--brand-100); border-radius: 8px; }
.impact-item { text-align: center; }
.impact-number { font-size: 32px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.impact-label { font-size: 12px; color: var(--ink-2); font-weight: 600; }

@keyframes recover { 0%{transform:scale(.9);opacity:.7} 50%{transform:scale(1.05);opacity:1} 100%{transform:scale(1);opacity:1} }

/* Features New Section */
.features-new {
  padding: 100px 0;
  background: #F9FAFB;
}

.features-new-grid {
  margin-top: 60px;
}

.features-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.feature-new-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  width: 180px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-new-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(212, 140, 140, 0.15);
  border-color: var(--brand);
}

.feature-new-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
  color: var(--brand);
}

.feature-new-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* Industry Selector */
.industry-selector {
  margin-top: 80px;
  text-align: center;
}

.industry-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 40px;
}

.industry-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.industry-item {
  text-align: center;
}

.industry-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--brand-100);
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 768px) {
  .features-new {
    padding: 60px 0;
  }
  
  .features-row {
    flex-wrap: wrap;
  }
  
  .feature-new-card {
    width: calc(50% - 10px);
    padding: 20px 15px;
  }
  
  .industry-icons {
    gap: 20px;
  }
  
  .industry-image {
    width: 80px;
    height: 80px;
  }
}

/* Detailed Features Section */
.detailed-features {
  padding: 100px 0;
  background: white;
}

.detailed-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.detailed-feature-card {
  background: #F9FAFB;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.detailed-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(190,103,103,0.05), transparent);
  transition: left 0.5s ease;
}

.detailed-feature-card:hover::before {
  left: 100%;
}

.detailed-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(212, 140, 140, 0.15);
  border-color: var(--brand);
  background: white;
}

.detailed-feature-icon {
  width: 80px;
  height: 80px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: white;
  position: relative;
  z-index: 1;
}

.detailed-feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.detailed-feature-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
  position: relative;
  z-index: 1;
}

.detailed-feature-desc small {
  color: var(--muted);
  font-size: 13px;
}

/* Cases */
.cases { padding: 100px 0; }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px,1fr)); gap: 32px; }
.case-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all var(--transition); }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.case-header { background: var(--brand-100); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; }
.case-company { font-size: 20px; font-weight: 700; color: var(--ink); }
.case-industry { background: var(--brand); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.case-content { padding: 32px; }
.case-section { margin-bottom: 24px; }
.case-section:last-child { margin-bottom: 0; }
.case-label { font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 8px; letter-spacing: .5px; }
.case-text { color: var(--ink-2); line-height: 1.6; }
@media (max-width: 768px){
  .cases { padding: 80px 0; }
  .cases-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-header { padding: 20px 24px; }
  .case-content { padding: 24px; }
}

/* FAQ */
.faq { padding: 100px 0; background: var(--brand-100); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; padding: 24px 32px; background: transparent; border: none; font-size: 18px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all var(--transition); }
.faq-question:hover { background: var(--brand-100); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 300ms ease-out; }
.faq-answer p { padding: 0 32px 24px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 768px){
  .faq { padding: 80px 0; }
  .faq-question { padding: 20px 24px; font-size: 16px; }
  .faq-answer p { padding: 0 24px 20px; }
}

/* CTA */
.cta-band { padding: 100px 0; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%); }
.cta-content { max-width: 800px; margin: 0 auto; text-align: center; }
.cta-title { font-size: 40px; color: #fff; margin-bottom: 16px; }
.cta-text { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 48px; line-height: 1.8; }

/* Form */
.contact-form { background: var(--bg); padding: 48px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; }
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.required { color: var(--brand); }
.form-input, .form-textarea, select {
  width: 100%; padding: 12px 16px; border: 2px solid #E5E7EB; border-radius: 8px; font-size: 16px; font-family: inherit; transition: all var(--transition); background: var(--bg);
}
.form-input:focus, .form-textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 16px; margin-top: 8px; }
.form-checkbox input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; accent-color: var(--brand); }
.form-submit { text-align: center; margin-top: 32px; }
.form-error { color: #DC2626; font-size: 14px; margin-top: 4px; }
.form-help { color: #6B7280; font-size: 14px; margin-top: 4px; line-height: 1.4; }
.form-input.error, .form-textarea.error, select.error { border-color: #DC2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important; }

/* Privacy Policy Styles */
.privacy-policy {
  margin-top: 16px;
}

.privacy-scroll {
  max-height: 200px;
  overflow-y: auto;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 16px;
  background: white;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.privacy-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px 0;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 8px;
}

.privacy-content h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 16px 0 8px 0;
}

.privacy-content p {
  margin: 0 0 12px 0;
  color: #4B5563;
}

.privacy-content ul {
  margin: 8px 0 12px 20px;
  padding: 0;
}

.privacy-content li {
  margin-bottom: 4px;
  color: #4B5563;
}

.privacy-content a {
  color: var(--brand);
  text-decoration: underline;
}

.privacy-content a:hover {
  color: var(--brand-700);
}

.privacy-agreement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--brand);
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkmark {
  display: none; /* ブラウザ標準のチェックボックスを使用 */
}

.agreement-text {
  flex: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .privacy-scroll {
    max-height: 150px;
    padding: 12px;
    font-size: 13px;
  }

  .privacy-content h4 {
    font-size: 15px;
  }

  .privacy-content h5 {
    font-size: 13px;
  }

  .checkbox-label {
    font-size: 15px;
  }
}

/* Extra specificity to defeat theme overrides on WP */
/* フォームコンテナの見た目だけを強化（all: unset は使わない）*/
body.front-custom .contact-form { display: block; background: var(--bg); padding: 48px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; }
body.front-custom .contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
body.front-custom .contact-form .form-group { margin-bottom: 24px; }
body.front-custom .contact-form .form-label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
body.front-custom .contact-form .form-input,
body.front-custom .contact-form .form-textarea,
body.front-custom .contact-form select { width: 100%; padding: 12px 16px; border: 2px solid #E5E7EB !important; border-radius: 8px; font-size: 16px; font-family: inherit; background: var(--bg); box-shadow: none; }
body.front-custom .contact-form .form-input:focus,
body.front-custom .contact-form .form-textarea:focus,
body.front-custom .contact-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
body.front-custom .contact-form .form-textarea { resize: vertical; min-height: 120px; }
body.front-custom .contact-form .form-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 16px; margin-top: 8px; }
body.front-custom .contact-form .form-checkbox input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--brand); }
body.front-custom .contact-form .form-submit { text-align: center; margin-top: 32px; }

@media (max-width: 768px){
  .cta-band { padding: 80px 0; }
  .cta-title { font-size: 32px; }
  .cta-text { font-size: 16px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  body.front-custom .contact-form { padding: 32px 24px; }
  body.front-custom .contact-form .form-row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { background: var(--ink); color: #fff; padding: 48px 0 24px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; gap: 24px; }
.footer-logo { margin-bottom: 16px; }
.footer-text { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-nav { display: flex; list-style: none; gap: 32px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.7); font-size: 14px; transition: color var(--transition); }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.copyright { color: rgba(255,255,255,.5); font-size: 14px; }
@media (max-width: 768px){
  .footer-content { flex-direction: column; gap: 32px; }
  .footer-nav { flex-direction: column; gap: 16px; }
}

/* Generic animations */
@keyframes fadeIn { from{opacity:0; transform:translateY(20px)} to{opacity:1; transform:none} }
.fade-in { animation: fadeIn .6s ease-out both; }

/* Responsive tweaks for large sections */
@media (max-width: 1024px) {
  .pitatto-content { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .pitatto-detail, .free-detail { padding: 80px 0; }
  .pitatto-title, .free-title { font-size: 28px; }
  .pitatto-lead, .free-lead { font-size: 16px; }
  .pitatto-feature { flex-direction: column; text-align: center; padding: 20px; }
  .feature-step { align-self: center; }
  .revenue-comparison { margin-top: 32px; padding: 24px 16px; }
  .comparison-title { font-size: 20px; }
  .before-after { flex-direction: column; gap: 16px; }
  .impact-stats { flex-direction: column; gap: 16px; }
  .impact-number { font-size: 24px; }
}

/* Features New Section */
.features-new {
  padding: 100px 0;
  background: #F9FAFB;
}

.features-new-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.features-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.features-row:last-child {
  margin-bottom: 0;
}

.feature-new-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  width: 180px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-new-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-new-icon {
  width: 60px;
  height: 60px;
  background: #F8EAEA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-new-icon i {
  font-size: 28px;
  color: #d48c8c;
}

.feature-new-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

.industry-selector {
  margin-top: 60px;
  text-align: center;
}

.industry-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 40px;
}

.industry-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.industry-item {
  text-align: center;
}

.industry-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-name {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin: 0;
}

/* Booking Flow Section */
.booking-flow {
  padding: 100px 0;
  background: white;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.booking-step {
  text-align: center;
  position: relative;
}

/* Arrows between steps */
.booking-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  color: var(--brand-700);
  font-weight: 700;
  font-size: 22px;
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 768px) {
  .booking-step:not(:last-child)::after {
    right: -10px;
    font-size: 26px;
    opacity: 0.65;
  }
}

.step-phone {
  position: relative;
  width: 200px;
  height: 356px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.step-screen {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: white;
  border-radius: 20px;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.screen-header {
  font-size: 14px;
  font-weight: 600;
  color: #d48c8c;
  text-align: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.calendar-grid span {
  aspect-ratio: 1;
  background: #f8f9fa;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.screen-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.screen-content li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}

.screen-content button {
  background: #d48c8c;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  margin-top: 10px;
}

.step-number {
  display: inline-block;
  background: #d48c8c;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Album Feature Section */
.album-feature {
  padding: 100px 0;
  background: #F9FAFB;
}

.album-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.album-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
}

.album-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

.album-screen {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 400px;
}

.album-header {
  background: #f8f9fa;
  padding: 15px 20px;
  border-bottom: 1px solid #e9ecef;
}

.album-tabs {
  display: flex;
  gap: 20px;
}

.tab {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  color: #666;
  background: transparent;
}

.tab.active {
  background: #d48c8c;
  color: white;
}

.album-gallery {
  padding: 20px;
}

.pet-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pet-photos img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

/* Shift Management Section */
.shift-management {
  padding: 100px 0;
  background: white;
}

.shift-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.shift-calendar {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 400px;
}

.calendar-header {
  background: #f8f9fa;
  padding: 15px 20px;
  border-bottom: 1px solid #e9ecef;
}

.calendar-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.shift-grid {
  padding: 20px;
}

.shift-staff {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.shift-staff span:first-child {
  font-weight: 600;
  min-width: 40px;
}

.shift-blocks {
  display: flex;
  gap: 8px;
}

.shift-block {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.shift-block.available {
  background: #d4edda;
  color: #155724;
}

.shift-block.busy {
  background: #f8d7da;
  color: #721c24;
}

.shift-colors {
  padding: 15px 20px;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 20px;
  font-size: 12px;
}

.color-legend {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shift-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
}

.shift-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

/* Pricing Plans Section */
.pricing-plans {
  padding: 100px 0;
  background: #F9FAFB;
}

.pricing-plans .container {
  max-width: 100%;
  padding: 0 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 70px;
  padding-top: 28px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet and Mobile carousel for pricing */
@media (max-width: 1023px) {
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 24px 8px 14px;
    max-width: 100%;
  }
  .pricing-card,
  .pricing-item-popular {
    flex: 0 0 85%;
    scroll-snap-align: start;
    min-height: 520px;
  }
}

.pricing-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pricing-header {
  padding: 20px;
  text-align: center;
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0;
}

.pricing-body {
  padding: 30px 24px;
}

.plan-price {
  text-align: center;
  margin-bottom: 30px;
}

.price {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.price-tax {
  font-size: 14px;
  color: #666;
}

.plan-features {
  margin-bottom: 30px;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
}

.feature-divider {
  height: 1px;
  background: #e9ecef;
  margin: 0;
}

.feature-label {
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}

.feature-value {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.main-value {
  display: block;
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
}

.sub-value {
  font-size: 12px;
  color: #999;
  line-height: 1.3;
}

.plan-cta {
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.3;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 140, 140, 0.3);
}

.pricing-notes {
  margin-top: 40px;
  text-align: center;
}

.pricing-notes p {
  font-size: 12px;
  color: #666;
  margin: 4px 0;
}

/* Trial Offer Section */
.trial-offer-section {
  margin-top: 50px;
  text-align: center;
}

.trial-offer-content {
  background: linear-gradient(135deg, #d48c8c 0%, #B56E6E 100%);
  border-radius: 16px;
  padding: 40px 30px;
  display: inline-block;
  box-shadow: 0 8px 30px rgba(212, 140, 140, 0.3);
}

.trial-offer-content .trial-text {
  color: white;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.trial-offer-content .trial-text strong {
  font-size: 20px;
  font-weight: 700;
}

.trial-offer-content .trial-button {
  background: white;
  color: #d48c8c;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  line-height: 1;
}

.trial-offer-content .trial-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: #f8f9fa;
}

/* Case Studies Section */
.case-studies {
  padding: 100px 0;
  background: #FDF2F8;
}

.case-study-card {
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 60px;
}

.case-study-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-text {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-badge {
  margin-bottom: 24px;
}

.company-logo {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.company-info {
  font-size: 14px;
  color: #666;
}

.case-study-highlight {
  margin-bottom: 24px;
}

.case-study-highlight h3 {
  font-size: 24px;
  font-weight: 700;
  color: #d48c8c;
  line-height: 1.4;
  margin: 0;
}

.case-study-description p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
  .album-content,
  .shift-content,
  .case-study-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .booking-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .features-new,
  .booking-flow,
  .album-feature,
  .shift-management,
  .pricing-plans,
  .case-studies,
  .detailed-features {
    padding: 80px 0;
  }
  /* Booking steps: mobile carousel */
  .booking-steps {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .booking-step {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .step-phone {
    width: 180px;
    height: auto;
    min-height: 320px;
  }

  .step-phone img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 320px;
  }
  
  .detailed-features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
  }

  .detailed-feature-card {
    padding: 24px;
  }

  .detailed-feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .detailed-feature-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .detailed-feature-desc {
    font-size: 14px;
  }
  
  .features-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .feature-new-card {
    width: 160px;
    padding: 24px 16px;
  }
  
  .industry-icons {
    gap: 24px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
  }
  
  .case-study-content {
    grid-template-columns: 1fr;
  }
  
  .case-study-text {
    padding: 30px 24px;
  }
  
  .album-title,
  .shift-title {
    font-size: 28px;
  }
  
  .case-study-highlight h3 {
    font-size: 20px;
  }
}

/* Industries Section */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.industry-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.industry-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.industry-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-card-image img {
  transform: scale(1.05);
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 140, 140, 0.8), rgba(181, 110, 110, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-stats {
  text-align: center;
  color: white;
}

.stat-number {
  display: block;
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9em;
  opacity: 0.9;
}

.industry-card-content {
  padding: 20px;
  text-align: center;
}

.industry-card-title {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

/* Industry Modal */
.industry-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  animation: fadeIn 0.3s;
}

.industry-modal.show {
  display: block;
}

.industry-modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s;
}

.industry-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 10px 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.industry-modal-close:hover,
.industry-modal-close:focus {
  color: #000;
}

.industry-modal-body {
  padding: 30px;
}

.industry-modal-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.industry-modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  margin-right: 20px;
}

.industry-modal-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-modal-title {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.industry-modal-desc {
  font-size: 1.1em;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 25px;
}

.industry-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.industry-features li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--ink-2);
  font-size: 1em;
  display: flex;
  align-items: center;
}

.industry-features li:last-child {
  border-bottom: none;
}

.industry-features li::before {
  content: "✓";
  color: var(--brand);
  font-weight: bold;
  margin-right: 12px;
  font-size: 1.2em;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Updated Detailed Features for thumbnails */
.detailed-features-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-thumbnail {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.feature-thumbnail:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-thumbnail-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.feature-thumbnail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-thumbnail-content {
  padding: 20px;
  text-align: center;
}

.feature-thumbnail-title {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(50px) scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 1001;
}

.modal-close:hover {
  background-color: #f0f0f0;
}

.modal-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.modal-body {
  padding: 30px;
}

.modal-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}

.modal-description {
  color: var(--ink-2);
  line-height: 1.7;
  font-size: 1em;
}

/* Case Studies Slider */
.case-studies-slider {
  position: relative;
  margin-top: 50px;
}

.case-studies-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.case-study-slide {
  display: none;
  width: 100%;
}

.case-study-slide.active {
  display: block;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: 18px;
  color: var(--brand);
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: auto;
  user-select: none;
}

.slider-nav:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
  background: var(--brand);
  color: white;
}

.slider-prev {
  left: -30px;
}

.slider-next {
  right: -30px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: var(--brand);
  transform: scale(1.2);
}

/* News Section */
.news {
  padding: 120px 0;
  background: #fafafa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-link:hover .news-card {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-thumbnail img {
  transform: scale(1.05);
}

.news-content {
  padding: 25px;
}

.news-date {
  display: inline-block;
  font-size: 0.9em;
  color: #666;
  background: #f0f0f0;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
  font-weight: 500;
}

.news-title {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-description {
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 0.95em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.news-link:hover {
  color: #B56E6E;
  text-decoration: underline;
}

.news-more {
  text-align: center;
  margin-top: 50px;
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

/* Case Studies Section */
.case-studies {
  padding: 120px 0;
  background: white;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.case-study-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.case-study-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.case-study-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-thumbnail img {
  transform: scale(1.05);
}

.case-study-content {
  padding: 25px;
}

.case-study-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.case-study-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-study-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.case-study-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.case-study-result {
  display: inline-block;
  background: #f3f4f6;
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.case-study-link {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.case-study-link:hover {
  color: #B56E6E;
  text-decoration: underline;
}

.case-studies-more {
  text-align: center;
  margin-top: 50px;
}

.btn-outline:hover {
  background: var(--brand);
  color: white;
}

/* Pricing Plan Features */
.pricing-item-popular {
  position: relative;
}

.pricing-card-popular {
  position: relative;
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid #FFD700;
  color: #B8860B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
  white-space: nowrap;
}

/* Pricing details tweaks for new spec */
.feature-subtext {
  margin: 6px 0 10px 0;
  font-size: 12px;
  color: #6b7280;
}

.plan-tags { display: flex; gap: 10px; margin: 14px 0 4px; flex-wrap: wrap; }
.plan-tag {
  display: inline-block;
  border: 1px solid #e5e7eb;
  color: #374151;
  background: #fafafa;
  padding: 6px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}
.plan-tag.disabled { opacity: 0.45; text-decoration: line-through; }

.plan-features-list.collapsible .features-checklist {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.plan-features-list.collapsible:not(.expanded) .features-title { display: none; }
.plan-features-list.collapsible.expanded .features-checklist,
.plan-features-list.collapsible[data-expanded="true"] .features-checklist {
  max-height: 1000px;
}
.features-toggle { margin-top: 6px; color: var(--brand); font-weight: 700; background: transparent; border: none; cursor: pointer; }
.features-toggle { position: relative; z-index: 2; pointer-events: auto; display: inline-block; }
details.plan-features-list summary { list-style: none; }
details.plan-features-list summary::-webkit-details-marker { display: none; }
details.plan-features-list[open] .features-checklist { max-height: 1000px; }

.plan-features-list {
  margin-top: 25px;
}

.features-title {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 15px;
  text-align: center;
}

.features-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9em;
}

.feature-item i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

.feature-item.available i {
  color: #10b981;
}

.feature-item.unavailable i {
  color: #ef4444;
}

.feature-item.unavailable span {
  color: #9ca3af;
  text-decoration: line-through;
}

.feature-item.available span {
  color: var(--ink-2);
}

/* Additional responsive styles for new sections */
@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .industry-card-image {
    height: 150px;
  }

  .industry-card-content {
    padding: 15px;
  }

  .industry-card-title {
    font-size: 1em;
  }

  .industry-modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .industry-modal-body {
    padding: 20px;
  }

  .industry-modal-header {
    flex-direction: column;
    text-align: center;
  }

  .industry-modal-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .detailed-features-thumbnails {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .feature-thumbnail-image {
    height: 140px;
  }
  
  .modal-content {
    margin: 10px;
    max-height: 95vh;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-image {
    height: 200px;
  }
  
  .slider-nav {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  
  .slider-prev {
    left: -15px;
  }
  
  .slider-next {
    right: -15px;
  }
  
  /* News responsive */
  .news {
    padding: 80px 0;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .news-content {
    padding: 20px;
  }
  
  .news-thumbnail {
    height: 180px;
  }
  
  /* Pricing plans responsive */
  .pricing-item-popular {
    flex: 0 0 85%;
  }

  .pricing-card-popular {
    transform: none;
    margin-bottom: 20px;
  }

  .popular-badge {
    top: -18px;
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .plan-features-list {
    margin-top: 20px;
  }
  
  .features-title {
    font-size: 1em;
  }
  
  .feature-item {
    padding: 6px 0;
    font-size: 0.85em;
  }
  
  /* Trial offer responsive */
  .trial-offer-content {
    padding: 30px 20px;
    margin: 0 10px;
  }
  
  .trial-offer-content .trial-text {
    font-size: 16px;
  }
  
  .trial-offer-content .trial-text strong {
    font-size: 18px;
  }
  
  .trial-offer-content .trial-button {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-title, .hero-lead, .hero-cta { opacity: 1; transform: none; animation: none; }
  .typewriter { width: 100%; border-right: none; animation: none; }
}
*:focus-visible { outline: 3px solid var(--brand-100); outline-offset: 2px; }

/* ------------------------------
   Thanks Page
------------------------------ */
.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--brand-100) 0%, var(--bg) 100%);
}

.thanks-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 64px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--brand-100);
  border-radius: 50%;
  margin-bottom: 32px;
}

.thanks-icon svg {
  width: 40px;
  height: 40px;
}

.thanks-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.thanks-message {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 32px;
}

.thanks-note {
  background: var(--brand-100);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.thanks-note-title {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.thanks-note-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.thanks-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (max-width: 768px) {
  .thanks-card {
    padding: 48px 32px;
  }
  .thanks-title {
    font-size: 28px;
  }
  .thanks-message {
    font-size: 16px;
  }
  .thanks-actions {
    flex-direction: column;
  }
  .thanks-actions .btn {
    width: 100%;
  }
}

/* ===== Features Comparison Table ===== */
.pricing-features-toggle {
  text-align: center;
  margin: 40px 0 20px 0;
}

.all-features-comparison {
  margin: 20px 0 40px 0;
  padding: 30px 0px;
  background: #f9f9f9;
  border-radius: 16px;
}

.features-comparison-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.features-table {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #fff;
}

.features-table-header {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr 1fr;
  background: #d48c8c;
  color: white;
  font-weight: 600;
  font-size: 15px;
}

.features-table-header > div {
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.features-table-header > div:last-child {
  border-right: none;
}

.feature-name-col {
  text-align: left !important;
  font-weight: 700;
}

.features-table-body {
  background: #fff;
}

.feature-row {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.feature-row:hover {
  background: #f8f8f8;
}

.feature-row.highlight {
  background: #fff3cd;
}

.feature-row.highlight:hover {
  background: #ffeeba;
}

.feature-row.special-feature {
  background: #fffbf0;
}

.feature-row.special-feature:hover {
  background: #fff8e1;
}

.feature-row > div {
  padding: 12px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #f0f0f0;
  min-height: 40px;
}

.feature-row > div:last-child {
  border-right: none;
}

.feature-name {
  justify-content: flex-start !important;
  font-weight: 500;
  color: #333;
}

.feature-row i.available {
  color: #28a745;
  font-size: 18px;
}

.feature-row i.unavailable {
  color: #dc3545;
  font-size: 16px;
}

.optional-text {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
  padding: 2px 6px;
  background: #f8f9fa;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .optional-text {
    font-size: 10px;
    padding: 1px 4px;
  }
}

@media (max-width: 480px) {
  .optional-text {
    font-size: 9px;
    padding: 1px 3px;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .features-table-header,
  .feature-row {
    grid-template-columns: 1.8fr 0.7fr 0.7fr 0.7fr 0.7fr 0.7fr;
    font-size: 13px;
  }

  .features-table-header > div,
  .feature-row > div {
    padding: 10px 4px;
  }

  .feature-name {
    font-size: 13px;
  }

  .features-comparison-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .features-table-header,
  .feature-row {
    grid-template-columns: 1.5fr 0.6fr 0.6fr 0.6fr 0.6fr 0.6fr;
    font-size: 11px;
  }

  .features-table-header > div,
  .feature-row > div {
    padding: 8px 3px;
  }

  .feature-name {
    font-size: 12px;
  }

  .plan-col {
    font-size: 11px;
  }

  .feature-row i {
    font-size: 14px;
  }
}

/* === Features V2 (robust, no JS required) === */
.features-section.features-v2 { padding: 100px 0; background: #F9FAFB; scroll-margin-top: 80px; }
.featuresv2-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.featuresv2-visual { display: grid; place-items: center; }
.featuresv2-orb { position: relative; width: 560px; max-width: 100%; aspect-ratio: 1/1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0%, #f7f7f7 60%, #eee 100%); box-shadow: inset 0 12px 40px rgba(0,0,0,.06), 0 12px 24px rgba(0,0,0,.06); }
.featuresv2-screen { position: absolute; width: 72%; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.featuresv2-badges { position: absolute; inset: 0; }
.fv2-badge { position: absolute; width: 70px; height: 70px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--brand-700); box-shadow: 0 10px 24px rgba(0,0,0,.12); border: 1px solid rgba(0,0,0,.06); font-size: 26px; }
.fv2-badge:nth-child(1){ left:50%; top:6%; transform:translate(-50%,-50%);} /* top center */
.fv2-badge:nth-child(2){ left:86%; top:22%; transform:translate(-50%,-50%);} /* top-right */
.fv2-badge:nth-child(3){ left:94%; top:50%; transform:translate(-50%,-50%);} /* right middle */
.fv2-badge:nth-child(4){ left:86%; top:78%; transform:translate(-50%,-50%);} /* bottom-right */
.fv2-badge:nth-child(5){ left:50%; top:94%; transform:translate(-50%,-50%);} /* bottom center */
.fv2-badge:nth-child(6){ left:14%; top:78%; transform:translate(-50%,-50%);} /* bottom-left */
.fv2-badge:nth-child(7){ left:6%; top:50%; transform:translate(-50%,-50%);}  /* left middle */
.fv2-badge:nth-child(8){ left:14%; top:22%; transform:translate(-50%,-50%);} /* top-left */

.featuresv2-content .section-title { text-align:left; }
.featuresv2-content .section-lead { text-align:left; }
.featuresv2-list { margin-top: 24px; }
.featuresv2-list .swiper-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.featuresv2-list .swiper-slide { height: auto; }
.fv2-card { background:#fff; border:1px solid #eee; border-radius: 16px; padding:20px; box-shadow: 0 6px 16px rgba(0,0,0,.06); transition: transform .2s ease; }
.fv2-card:hover { transform: translateY(-2px); }
.fv2-card h3 { font-size:16px; margin:8px 0 6px; }
.fv2-card p { font-size:14px; color:var(--ink-2); line-height:1.7; }
.fv2-ic { width:36px; height:36px; display:grid; place-items:center; color: var(--brand-700); }
.fv2-ic i,
.fv2-card .fv2-ic i,
.swiper-slide .fv2-ic i {
  font-size: 22px !important;
  line-height: 1 !important;
}

@media (max-width: 1024px){
  .featuresv2-grid { grid-template-columns: 1fr; gap: 32px; }
  .featuresv2-content .section-title, .featuresv2-content .section-lead { text-align:center; }
}
@media (max-width: 768px){
  .features-section.features-v2 { padding: 72px 0; }
  .featuresv2-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Flatten content so children can be reordered at the grid root */
  .featuresv2-content { display: contents; }
  .featuresv2-content .section-title { order: 1; text-align: center !important; margin-bottom: 6px; }
  .featuresv2-content .section-lead { order: 1; text-align: center !important; margin-bottom: 8px; }
  .featuresv2-visual { order: 2; }
  .featuresv2-list { order: 3; }
  .featuresv2-orb { width: min(360px, 90vw); margin: 0 auto; }
  .fv2-badge { width:56px; height:56px; font-size:20px; }
  /* Card stack carousel (no lib) */
  .featuresv2-list { width: calc(100vw - 56px); margin-left: auto; margin-right: auto; }
  .featuresv2-list.fv2-stack { position: relative; min-height: 220px; }
  .featuresv2-list.fv2-stack .swiper-wrapper { position: relative; height: auto; }
  .featuresv2-list.fv2-stack .swiper-slide { position: absolute; left: 0; right: 0; width: 100%; margin: 0 auto; will-change: transform; }
}
@media (max-width: 480px){
  .featuresv2-orb { width: min(300px, 86vw); }
  .featuresv2-list { width: calc(100vw - 48px); }
}
/* (reverted) Transition Callout styles removed */

/* stats: animate bars */
.stat-chart { display:flex; align-items:flex-end; gap:12px; }
.chart-bar { height:0; transition:height 2.5s ease; }

/* Service Modal Popup Styles */
.service-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.service-modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.service-modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

.service-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--brand-100);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1;
}

.service-modal .modal-close:hover {
  background: var(--brand);
  color: white;
  transform: rotate(90deg);
}

.service-modal .modal-body {
  padding: 40px;
  text-align: center;
}

.service-modal .modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--brand-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--brand);
}

.service-modal .modal-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--ink);
}

.service-modal .modal-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 30px;
}

.service-modal .modal-features {
  text-align: left;
}

.service-modal .modal-features h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--brand);
}

.service-modal .modal-features ul {
  list-style: none;
  padding: 0;
}

.service-modal .modal-features li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--ink-2);
  line-height: 1.6;
}

.service-modal .modal-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

/* Modal detail button */
.modal-detail-button-container {
  margin-top: 30px;
  text-align: center;
}

.modal-detail-button {
  background: var(--brand);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.modal-detail-button:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 140, 140, 0.3);
}

.modal-detail-button i {
  font-size: 18px;
}

/* Header Phone Styles - PC Only */
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
  color: var(--ink);
}

@media (max-width: 767px) {
  .header-phone {
    display: none;
  }
}

.header-phone i {
  color: var(--brand);
  font-size: 16px;
}

.header-phone .phone-number {
  font-weight: 600;
  font-size: 16px;
}

.header-phone .phone-hours {
  font-size: 12px;
  color: var(--muted);
}

/* Mobile Menu Phone Styles */
.mobile-phone-info {
  padding: 20px;
  border-top: 1px solid #eee;
  margin-top: 20px;
}

.mobile-phone-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--brand-100);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.3s ease;
}

.mobile-phone-link:hover {
  background: var(--brand);
  color: white;
}

.mobile-phone-link i {
  font-size: 20px;
  color: var(--brand);
}

.mobile-phone-link:hover i {
  color: white;
}

.phone-details {
  display: flex;
  flex-direction: column;
}

.phone-details .phone-number {
  font-weight: 600;
  font-size: 16px;
}

.phone-details .phone-hours {
  font-size: 14px;
  color: var(--muted);
}

.mobile-phone-link:hover .phone-details .phone-hours {
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile Floating Contact Buttons */
.mobile-floating-contacts {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

@media (min-width: 768px) {
  .mobile-floating-contacts {
    display: none;
  }
}

.floating-contact-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  font-size: 20px;
}

.floating-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.phone-btn {
  background: #25D366;
  color: white;
}

.email-btn {
  background: var(--brand);
  color: white;
}

/* CTA Contact Methods */
.cta-contact-methods {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 30px 0;
  justify-content: center;
}

.cta-method-item {
  text-align: center;
}

.cta-method-item h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--ink);
}

.cta-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-phone-link:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 140, 140, 0.3);
}

.cta-phone-link i {
  font-size: 16px;
}

.cta-method-item .phone-hours {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.cta-method-divider {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

/* Footer Contact Styles */
.footer-contact {
  margin-top: 20px;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.footer-phone i {
  color: var(--brand) !important;
  font-size: 16px;
}

.footer-phone-link {
  color: var(--ink) !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-phone-link:hover {
  color: var(--brand) !important;
}

.footer-phone-hours {
  font-size: 14px;
  color: var(--muted) !important;
}

/* Exit Intent Modal Styles */
.exit-intent-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15000;
}

.exit-intent-modal.active {
  display: block;
}

.exit-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.exit-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: bounceIn 0.6s ease;
}

.exit-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1;
}

.exit-modal-close:hover {
  background: var(--brand);
  color: white;
  transform: rotate(90deg);
}

.exit-modal-body {
  padding: 50px 40px 40px;
  text-align: center;
}

.exit-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #FF6B35;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  animation: pulse 2s infinite;
}

.exit-modal-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 700;
}

.exit-trial-offer {
  margin: 30px 0;
}

.exit-trial-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 30px;
}

.exit-trial-text strong {
  color: var(--brand);
  font-weight: 700;
  font-size: 20px;
}

.exit-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.exit-trial-button {
  background: var(--brand);
  color: white;
  padding: 18px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(212, 140, 140, 0.3);
  line-height: 1;
}

.exit-trial-button:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 140, 140, 0.4);
  color: white;
}

.exit-modal-dismiss {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.exit-modal-dismiss:hover {
  color: var(--ink);
}

/* Bounce in animation */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
  70% {
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ピタッと予約 Section Styles */
.pitatto-reservation {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand-100) 0%, white 50%, var(--brand-100) 100%);
}

.pitatto-header {
  text-align: center;
  margin-bottom: 50px;
}

.pitatto-patent-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 88, 88, 0.12);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pitatto-header .section-title i {
  margin-right: 10px;
  color: var(--brand);
}

.pitatto-content {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pitatto-card {
  position: relative;
  padding: 0 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pitatto-card__title {
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 12px;
  text-align: center;
}

.pitatto-card__subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 auto 48px;
  max-width: 640px;
}


.pitatto-visuals {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
  margin: 0 auto 56px;
  max-width: 1200px;
  width: 100%;
}

.pitatto-visuals__arrow {
  font-size: 28px;
  color: var(--brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 28px;
  animation: pulse-arrow 2.4s infinite;
}

.pitatto-visuals__arrow .arrow-mobile {
  display: none;
}

@keyframes pulse-arrow {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}

.pitatto-board {
  background: var(--brand-50);
  border-radius: 20px;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  text-align: center;
  width: clamp(360px, 40vw, 520px);
  flex: 1 1 clamp(360px, 40vw, 520px);
}

.pitatto-board--before {
  background: rgba(255, 210, 210, 0.35);
}

.pitatto-board--after {
  background: rgba(202, 242, 225, 0.6);
}

.pitatto-board__header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.pitatto-timeline {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
}

.pitatto-timeline-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  opacity: 0.75;
}

.timeline-hour {
  background: white;
  border-radius: 999px;
  padding: 6px 0;
  font-weight: 600;
  font-feature-settings: 'palt';
}

.pitatto-slots {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  position: relative;
}

.slot {
  position: relative;
  display: block;
  height: 48px;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slot--open {
  background: white;
  border: 2px dashed rgba(255, 102, 102, 0.5);
}

.slot--open::before {
  content: '○';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: rgba(255, 102, 102, 0.8);
  font-weight: 600;
}

.slot--blocked {
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(2px);
}

.slot--blocked::before {
  content: '×';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.35);
  font-weight: 700;
}


.slot--fit {
  background: white;
  border: 2px dashed rgba(255, 102, 102, 0.5);
}

.slot--fit:hover {
  transform: translateY(-4px);
}

.pitatto-animation {
  position: relative;
  display: grid;
  gap: 18px;
}


.pitatto-pieces {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  pointer-events: none;
  padding-top: 0;
  align-items: start;
  z-index: 2;
  animation: piecesGroup 6s linear infinite;
  animation-fill-mode: both;
}

.pitatto-waste {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  align-items: center;
  z-index: 1;
  opacity: 0;
  animation: wasteGroup 6s linear infinite;
  animation-fill-mode: both;
}

.waste-chip {
  grid-column: var(--waste-index);
  justify-self: center;
  background: rgba(66, 135, 245, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
}

.pitatto-waste .waste-chip:nth-child(1) {
  animation: wasteChipEarly 6s ease-in-out infinite;
}

.pitatto-waste .waste-chip:nth-child(2) {
  animation: wasteChipMid 6s ease-in-out infinite;
}

.pitatto-waste .waste-chip:nth-child(3) {
  animation: wasteChipLate 6s ease-in-out infinite;
}

@keyframes wasteGroup {
  0%, 18% {
    opacity: 0;
  }
  20%, 74% {
    opacity: 1;
  }
  82%, 100% {
    opacity: 0;
  }
}

@keyframes wasteChipEarly {
  0%, 4% {
    opacity: 0;
    visibility: hidden;
  }
  8%, 74% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes wasteChipMid {
  0%, 14% {
    opacity: 0;
    visibility: hidden;
  }
  18%, 74% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes wasteChipLate {
  0%, 24% {
    opacity: 0;
    visibility: hidden;
  }
  28%, 74% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}


.piece {
  grid-column: var(--piece-start, 1) / span var(--piece-span, 1);
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 102, 102, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 24px rgba(255, 102, 102, 0.25);
  transform: translateY(-140%);
  opacity: 0;
  visibility: hidden;
  animation: pieceDrop 6s cubic-bezier(0.45, 0.02, 0.2, 1) infinite;
  animation-delay: var(--drop-delay, 0s);
  animation-fill-mode: both;
}

.piece::after {
  content: attr(data-label);
  white-space: nowrap;
}


@keyframes pieceDrop {
  0%, 10% {
    transform: translateY(-160%);
    opacity: 0;
    visibility: hidden;
  }
  15% {
    transform: translateY(-160%);
    opacity: 1;
    visibility: visible;
  }
  35%, 60% {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  70% {
    transform: translateY(6%);
    opacity: 1;
    visibility: visible;
  }
  75%, 100% {
    opacity: 0;
    transform: translateY(0);
    visibility: hidden;
  }
}

@keyframes piecesGroup {
  0%, 74% {
    opacity: 1;
  }
  82%, 100% {
    opacity: 0;
  }
}

@keyframes slotFill {
  0% {
    background: #fff;
    border-color: rgba(255, 102, 102, 0.5);
    box-shadow: none;
  }
  35% {
    background: #fff;
    border-color: rgba(255, 102, 102, 0.5);
    box-shadow: none;
  }
  50%, 60% {
    background: var(--brand);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(224, 83, 93, 0.35);
  }
  80% {
    background: var(--brand);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(224, 83, 93, 0.25);
  }
  100% {
    background: #fff;
    border-color: rgba(255, 102, 102, 0.5);
    box-shadow: none;
  }
}

@keyframes slotCircle {
  0%, 32% {
    opacity: 1;
  }
  40%, 80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slotLabel {
  0%, 40% {
    opacity: 0;
  }
  48%, 78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.pitatto-board__footer {
  font-size: 14px;
  color: var(--ink);
  text-align: center;
}

.pitatto-board__footer strong {
  color: var(--brand);
}



.pitatto-steps {
  display: grid;
  gap: 28px;
  margin: 0 auto 36px;
  max-width: 960px;
}

.pitatto-how {
  background: white;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(212, 140, 140, 0.12);
  text-align: center;
}

.pitatto-how__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(212, 140, 140, 0.12);
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 24px;
}

.pitatto-duration-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.duration-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 16px;
  background: var(--brand-100);
  font-weight: 600;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(212, 140, 140, 0.15);
}

.duration-chip__label {
  font-size: 15px;
}

.duration-chip__time {
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
}

.pitatto-how__note {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.pitatto-how__result {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-700);
}

.pitatto-impact {
  background: linear-gradient(135deg, rgba(212, 140, 140, 0.16), rgba(212, 140, 140, 0.05));
  border-radius: 24px;
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 16px 45px rgba(212, 140, 140, 0.12);
  display: grid;
  gap: 8px;
}

.pitatto-impact__lead {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.pitatto-impact__main {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.06em;
}

.pitatto-impact__sub {
  font-size: 14px;
  color: var(--ink-2);
}

.pitatto-caption {
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 1024px) {
  .pitatto-card {
    padding: 0 8px 12px;
  }

  .pitatto-visuals {
    flex-direction: column;
    gap: 24px;
    max-width: 520px;
    align-items: center;
  }

  .pitatto-visuals__arrow {
    font-size: 24px;
    animation: none;
  }

  .pitatto-visuals__arrow .arrow-desktop {
    display: none;
  }

  .pitatto-visuals__arrow .arrow-mobile {
    display: inline-block;
  }

  .pitatto-board {
    padding: 26px 20px 22px;
    width: 100%;
    flex: 1 1 auto;
  }

  .pitatto-timeline,
  .pitatto-slots {
    gap: 6px;
  }

  .slot {
    height: 44px;
  }

  .pitatto-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pitatto-card {
    padding: 0;
  }

  .pitatto-card__title {
    font-size: 24px;
  }

  .timeline-hour {
    font-size: 11px;
  }

  .pitatto-board {
    border-radius: 18px;
    padding: 24px 16px 20px;
  }

  .slot--fit::after {
    font-size: 11px;
  }

  .pitatto-steps {
    gap: 20px;
    padding: 0 8px;
  }

  .pitatto-how {
    padding: 28px 20px;
  }

  .duration-chip {
    padding: 10px 16px;
  }

  .pitatto-impact {
    padding: 28px 20px;
  }

  .piece {
    font-size: 12px;
  }
}

/* Make swiper cards clickable */
.fv2-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.fv2-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 140, 140, 0.2);
}

.fv2-card:hover .tap-indicator {
  opacity: 0;
}

/* Tap indicator inside each card */
.tap-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

.tap-indicator i,
.fv2-card .tap-indicator i,
.swiper-slide .tap-indicator i,
.tap-indicator i.fas,
.tap-indicator i.fa-hand-pointer {
  font-size: 12px;
  color: #FFD700 !important;
  animation: tap-pulse 2s ease-in-out infinite;
}

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

@keyframes tap-pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .service-modal .modal-body {
    padding: 30px 20px;
  }

  .service-modal .modal-title {
    font-size: 24px;
  }

  .pitatto-description {
    padding: 30px 20px;
  }

  .pitatto-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pitatto-stats .stat-card {
    padding: 20px 15px;
  }

  .pitatto-stats .stat-number {
    font-size: 28px;
  }

  .tap-indicator {
    width: 20px;
    height: 20px;
    top: 8px;
    right: 8px;
  }

  .tap-indicator i {
    font-size: 10px;
  }

  .modal-detail-button {
    padding: 12px 24px;
    font-size: 15px;
  }

  .modal-detail-button i {
    font-size: 16px;
  }

  .cta-contact-methods {
    flex-direction: column;
    gap: 20px;
  }

  .cta-method-divider {
    font-size: 14px;
  }

  .header-phone .phone-number {
    font-size: 14px;
  }

  .header-phone .phone-hours {
    font-size: 11px;
  }

  .floating-contact-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .mobile-floating-contacts {
    bottom: 15px;
    right: 15px;
  }

  .exit-modal-body {
    padding: 40px 20px 30px;
  }

  .exit-modal-title {
    font-size: 28px;
  }

  .exit-trial-text {
    font-size: 16px;
  }

  .exit-trial-text strong {
    font-size: 18px;
  }

  .exit-trial-button {
    padding: 15px 30px;
    font-size: 16px;
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .exit-modal-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
}

/* ========================================
   Snow Monkey テーマとの競合解決用CSS
   ======================================== */

/* 投稿・固定ページでプラグインスタイルを優先 */
.single-custom .container,
.page-custom .container,
.archive-custom .container {
  max-width: var(--container) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* Snow Monkeyテーマの基本スタイルを保持しつつプラグインを優先 */
.single-custom,
.page-custom,
.archive-custom {
  font-family: 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif !important;
}

/* 見出しスタイルを維持 */
.single-custom h1, .single-custom h2, .single-custom h3, .single-custom h4, .single-custom h5, .single-custom h6,
.page-custom h1, .page-custom h2, .page-custom h3, .page-custom h4, .page-custom h5, .page-custom h6,
.archive-custom h1, .archive-custom h2, .archive-custom h3, .archive-custom h4, .archive-custom h5, .archive-custom h6 {
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--ink) !important;
}

/* 段落の余白調整 */
.single-custom p, .page-custom p, .archive-custom p {
  margin-bottom: 1em !important;
  line-height: 1.7 !important;
}

/* リストの余白調整 */
.single-custom ul, .single-custom ol,
.page-custom ul, .page-custom ol,
.archive-custom ul, .archive-custom ol {
  margin-bottom: 1em !important;
  padding-left: 1.5em !important;
}

.single-custom li, .page-custom li, .archive-custom li {
  margin-bottom: 0.5em !important;
}

/* テーブルスタイル */
.single-custom table, .page-custom table, .archive-custom table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 1.5em !important;
}

.single-custom th, .single-custom td,
.page-custom th, .page-custom td,
.archive-custom th, .archive-custom td {
  padding: 12px !important;
  border: 1px solid #ddd !important;
  text-align: left !important;
}

.single-custom th, .page-custom th, .archive-custom th {
  background-color: #f9f9f9 !important;
  font-weight: 700 !important;
}

/* ブロックエディター要素の調整 */
.single-custom .wp-block, .page-custom .wp-block, .archive-custom .wp-block {
  margin-bottom: 1.5em !important;
}

/* 画像の調整 */
.single-custom img, .page-custom img, .archive-custom img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* ボタンスタイルの継承 */
.single-custom .btn, .page-custom .btn, .archive-custom .btn {
  display: inline-block !important;
  padding: 12px 24px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all var(--transition) !important;
  cursor: pointer !important;
  border: none !important;
  font-size: 16px !important;
}

.single-custom .btn-primary, .page-custom .btn-primary, .archive-custom .btn-primary {
  background-color: var(--brand) !important;
  color: white !important;
}

.single-custom .btn-primary:hover, .page-custom .btn-primary:hover, .archive-custom .btn-primary:hover {
  background-color: var(--brand-600) !important;
  transform: translateY(-2px) !important;
}

/* ========================================
   ヘッダー関連のSnow Monkey競合解決
   ======================================== */

/* ヘッダーのスタイルを強制優先 */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: var(--bg) !important;
  transition: all var(--transition) !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

.header.scrolled {
  box-shadow: var(--shadow-sm) !important;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: var(--hdr-h) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.header .logo {
  display: block !important;
  transition: opacity var(--transition) !important;
  flex-shrink: 0 !important;
}

.header .logo:hover {
  opacity: 0.8 !important;
}

.header .logo img {
  height: 32px !important;
  width: auto !important;
  display: block !important;
}

.header .nav {
  display: flex !important;
  align-items: center !important;
}

.header .nav-list {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 32px !important;
}

.header .nav-link {
  position: relative !important;
  color: var(--ink) !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  transition: color var(--transition) !important;
  text-decoration: none !important;
  padding: 8px 0 !important;
}

.header .nav-link:hover {
  color: var(--brand) !important;
}

.header .nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: var(--brand) !important;
  transition: width var(--transition) !important;
}

.header .nav-link:hover::after {
  width: 100% !important;
}

.header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
}

.header .header-cta {
  flex-shrink: 0 !important;
  font-size: 17px !important;
  height: 48px !important;
  padding: 0 28px !important;
  background-color: var(--brand) !important;
  color: white !important;
  border-radius: var(--radius) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  transition: all var(--transition) !important;
}

.header .header-cta:hover {
  background-color: var(--brand-600) !important;
  transform: translateY(-2px) !important;
}

.header .header-phone {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--ink) !important;
  font-size: 14px !important;
}

.header .header-phone i {
  color: var(--brand) !important;
  font-size: 16px !important;
}

.header .header-phone .phone-number {
  font-weight: 600 !important;
  font-size: 16px !important;
}

.header .header-phone .phone-hours {
  font-size: 12px !important;
  color: var(--muted) !important;
}

.mobile-menu-toggle {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  display: none !important;
  flex-direction: column !important;
  padding: 8px !important;
  gap:none !important
}

.mobile-menu-toggle span {
  width: 24px !important;
  height: 2px !important;
  background: var(--ink) !important;
  border-radius: 2px !important;
  transition: all var(--transition) !important;
}

/* モバイル対応 */
@media (max-width: 1024px) {
  .header .nav {
    display: none !important;
  }

  .header-inner {
    padding: 0 16px !important;
    height: 60px !important;
  }

  .header .logo img {
    height: 28px !important;
  }

  .header .header-actions {
    gap: 8px !important;
  }

  .header .header-cta {
    background: #ef4444 !important;
    color: white !important;
    height: 40px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
  }

  .header .header-cta:hover {
    background: #dc2626 !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .header .header-phone {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .header .header-phone {
    display: none !important;
  }
}

/* ローディングオーバーレイ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.loading-content {
  background: white;
  padding: 48px 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 90%;
}

.loading-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid #E5E7EB;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 24px;
}

.loading-text {
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 送信ボタンのローディング状態 */
.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-loading .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .loading-content {
    padding: 32px 24px;
  }

  .loading-spinner {
    width: 48px;
    height: 48px;
  }

  .loading-text {
    font-size: 14px;
  }
}
