/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --primary-color: #0056b3;
  --secondary-color: #00b900;
  --accent-color: #e60033;
  --text-color: #333333;
  --bg-color: #ffffff;
  --gray-light: #f8fafc;
  --gray-dark: #475569;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.font-bold { font-weight: bold; }
.font-black { font-weight: 900; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* ==========================================================================
   Specific Layout Elements (To be expanded)
   ========================================================================== */
.section-title {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 900;
  color: #0f172a;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* 3D Highlight Style (Ported from live site) */
h2.highlight-3d-text {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 0px transparent !important;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2) !important;
  padding: 25px 20px !important;
  border-radius: 12px !important;
  box-shadow: 
    0 6px 0 #023e8a, 
    0 15px 20px rgba(0,0,0,0.2) !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  border: none !important;
}

h2.highlight-3d-text a,
h2.highlight-3d-text span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ==========================================================================
   Mobile Floating CTA (Footer)
   ========================================================================== */
.mobile-floating-cta { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }

.mobile-cta-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
  }
  
  .mobile-cta-tel {
    background: var(--accent-color);
  }
  
  .mobile-cta-line {
    background: var(--secondary-color);
  }
  
  .mobile-cta-icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
  }
  
  .mobile-cta-text {
    font-size: 0.8rem;
  }

/* --- LP GLOBALS --- */

/* 背景青 ＋ シンプルな白文字 */
h2.highlight-3d-text {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 0px transparent !important;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2) !important;
  padding: 25px 20px !important;
  border-radius: 12px !important;
  box-shadow: 
    0 6px 0 #023e8a, 
    0 15px 20px rgba(0,0,0,0.2) !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  border: none !important;
}

/* 内部の目次タグ(span, a)などが原因で緑になるのを防ぐため、色だけを白に強制 */
h2.highlight-3d-text a,
h2.highlight-3d-text span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

h2.section-title {
  margin-top: 80px !important;
  margin-bottom: 60px !important;
}
.pain-points .lp-container > div {
  margin-top: 40px !important;
}
#three-stages .lp-container > p {
  margin-top: 30px !important;
}








.custom-lp-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #333;
}

/* LP Navigation Bar (Below Hero) */
.lp-nav-bar {
  background: linear-gradient(180deg, #0066cc 0%, #004b99 100%);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border-bottom: 3px solid #ffcc00;
}
.nav-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}
.nav-inner a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 16px 15px;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-inner a i {
  font-size: 1.3rem;
  margin-bottom: 2px;
  color: #ffcc00;
  transition: all 0.3s ease;
}
.nav-inner a:first-child {
  border-left: none;
}
.nav-inner a:last-child {
  border-right: none;
}
/* Shine effect on hover */
.nav-inner a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: all 0.5s ease;
}
.nav-inner a:hover::after {
  left: 150%;
}
.nav-inner a:hover {
  background: linear-gradient(180deg, #ffdb4d 0%, #ffcc00 100%);
  color: #333;
  text-shadow: none;
}
.nav-inner a:hover i {
  color: #0056b3;
}
@media (max-width: 768px) {
  .lp-nav-bar {
    position: static;
  }
  .nav-inner a {
    flex: 1 1 33.333%; /* 3 items per row on mobile looks better with icons */
    padding: 10px 5px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-inner a i {
    font-size: 1.1rem;
  }
}

/* Hero Section */
.hero {
  margin-top: 0;
  background: url('https://tomisato-ippanhaiki.com/wp-content/uploads/2026/06/hero_bg-6.jpg') center/cover no-repeat;
  padding: 40px 5% 100px 5%;
  min-height: 500px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  border-bottom: 5px solid #0056b3;
}
.hero-content-box {
  background: rgba(255, 255, 255, 0.92);
  padding: 40px 50px;
  border-radius: 12px;
  max-width: 850px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(to bottom, #0069d9, #0056b3);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  border-left: 8px solid #ffc107;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-weight: 900;
  font-size: 1.45rem;
  margin-bottom: 30px;
  box-shadow: 0 6px 0 #003d82, 0 15px 25px rgba(0,0,0,0.3);
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}
.hero-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #333;
}
.hero-title span {
  color: #0056b3;
  font-size: 3.1rem;
}
.hero-sub {
  font-size: 1.2rem;
  font-weight: bold;
  color: #d9534f;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero {
    background: #f4f9ff !important; /* Remove image from background, set solid color */
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .hero::after {
    content: "";
    display: block;
    width: 100%;
    height: 350px; /* Fixed height for image area */
    background: url('https://tomisato-ippanhaiki.com/wp-content/uploads/2026/06/hero_bg-6.jpg') 85% center/cover no-repeat;
  }
  .hero-content-box {
    margin: 20px 15px;
    width: auto;
    text-align: center;
    padding: 25px 15px;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  .hero-title { font-size: 1.4rem; margin-bottom: 15px; }
  .hero-title span { font-size: 1.8rem; display: block; margin-top: 5px; }
  .hero-badge { font-size: 0.85rem; padding: 10px 15px; margin-bottom: 15px; box-shadow: 0 4px 0 #003d82, 0 8px 15px rgba(0,0,0,0.2); }
  .hero-sub { font-size: 0.95rem; }
}

/* Sections Common */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #0056b3;
  border-bottom: 2px solid #e6f2ff;
  display: inline-block;
  padding-bottom: 10px;
}
.lp-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Infection Control */
.infection-control {
  background: #fdfdfd;
  padding: 30px 20px;
  border-bottom: 1px solid #eee;
}
.infection-box {
  max-width: 900px;
  margin: 0 auto;
  border: 2px solid #0056b3;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}
.infection-box h3 { color: #0056b3; margin-top: 0; font-size: 1.2rem; }
.infection-box p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }

/* Pain Points */
.pain-points {
  background: #f4f8fc;
  padding: 60px 20px;
}
.pain-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.pain-bubble {
  background: #fff;
  border: 2px solid #0056b3;
  border-radius: 30px;
  padding: 20px 30px;
  position: relative;
  font-weight: bold;
  color: #333;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  flex: 1 1 400px;
  font-size: 1.1rem;
}
.pain-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 40px;
  border-width: 15px 15px 0 0;
  border-style: solid;
  border-color: #0056b3 transparent transparent transparent;
}
.pain-bubble::before {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 42px;
  border-width: 12px 12px 0 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  z-index: 1;
}

/* Reasons */
.reasons {
  background: #e6f2ff;
  padding: 60px 20px;
}
.reason-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.reason-card {
  flex: 1 1 300px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
}
.reason-card h3 {
  color: #0056b3;
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Services Banners */
.services {
  padding: 60px 20px;
  background: #fff;
}
.services-banner-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.service-banner {
  background: #0056b3;
  color: white;
  border-radius: 12px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.service-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.service-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.service-banner:hover::before {
  transform: translateX(0);
}
.service-banner.corp { background: #d9534f; }
.service-banner.partner { background: #f0ad4e; }
.service-banner-content { position: relative; z-index: 2; }
.service-banner-content h4 { font-size: 1.8rem; margin: 0 0 10px 0; font-weight: bold; color: white;}
.service-banner-content p { margin: 0; font-size: 1.1rem; color: #fff;}
.service-banner-arrow { font-size: 2rem; font-weight: bold; position: relative; z-index: 2; color: white;}

/* Pricing */
.pricing { padding: 60px 20px; background: #fdfdfd; }
.pricing-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.price-pack {
  flex: 1 1 300px;
  border: 3px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.3s;
  background: #fff;
}
.price-pack:hover { border-color: #0056b3; }
.price-header { background: #eee; padding: 20px; font-size: 1.4rem; font-weight: bold; color: #333;}
.price-pack.recommended { border-color: #0056b3; transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.price-pack.recommended .price-header { background: #0056b3; color: #fff; }
.price-amount { font-size: 2.5rem; font-weight: bold; color: #d9534f; padding: 30px 0 10px; line-height: 1;}
.price-amount span { font-size: 1.2rem; color: #333; }
.price-desc { padding: 0 20px 30px; font-size: 0.95rem; color: #666; line-height: 1.6;}

/* Cases */
.cases { padding: 60px 20px; background: #e6f2ff; }
.case-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.case-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  flex: 1 1 300px;
}
.case-img-placeholder {
  width: 100%;
  height: 180px;
  background: #ddd;
  border-radius: 4px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: bold;
}
.case-title { font-weight: bold; margin-bottom: 10px; color: #0056b3; font-size: 1.1rem;}
.case-detail { font-size: 0.95rem; line-height: 1.5; color: #444;}

/* Voices */
.voices { padding: 60px 20px; background: #fff; }
.voice-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.voice-item { flex: 1 1 300px; background: #fffde7; padding: 25px; border-radius: 10px; border: 2px solid #f0e68c; }
.voice-meta { font-size: 0.9rem; color: #666; margin-bottom: 15px; font-weight: bold;}
.voice-text { font-size: 1rem; line-height: 1.7; color: #333;}

/* Service Area */
.service-area { padding: 60px 20px; background: #f9f9f9; text-align: center; }
.area-box { max-width: 800px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.area-box p { font-size: 1.1rem; margin-bottom: 20px;}
.area-tags { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.area-tag { background: #0056b3; color: white; padding: 10px 25px; border-radius: 30px; font-weight: bold; font-size: 1.1rem;}

/* Company & CTA */
.company-info { background: #333; color: white; padding: 60px 20px; text-align: center; }
.fixed-cta { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; background: white; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 9999; }
.cta-btn { flex: 1; text-align: center; padding: 15px 0; font-size: 1.2rem; font-weight: bold; color: white; text-decoration: none !important; }
.cta-tel { background: #f0ad4e; }
.cta-line { background: #00B900; }

@media (max-width: 768px) {
  .price-pack.recommended { transform: none; }
  .service-banner { padding: 20px; flex-direction: column; text-align: center;}
  .service-banner-arrow { margin-top: 10px; transform: rotate(90deg); }
  .cta-btn { font-size: 1rem; padding: 12px 0;}
}

  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  .warning-banner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  }

/* Mobile Hero Fixes */
@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    padding: 30px 15px 50px !important;
    background-position: center !important;
  }
  .hero-content-box {
    padding: 20px !important;
  }
}



/* PC View */
@media (min-width: 769px) {
    .global-nav-menu {
        display: none !important;
    }
    .lp-nav-bar {
        display: block !important;
        background: linear-gradient(180deg, #0066cc 0%, #004b99 100%) !important;
        width: 100% !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
        border-bottom: 3px solid #ffcc00 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .lp-nav-bar .nav-inner {
        max-width: 1200px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: stretch !important;
        padding: 0 !important;
    }
    .lp-nav-bar a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        padding: 12px 5px !important;
        transition: all 0.3s !important;
        border-right: 1px solid rgba(255,255,255,0.1) !important;
        text-align: center !important;
        box-sizing: border-box !important;
        background: transparent;
    }
    .lp-nav-bar a:first-child {
        border-left: 1px solid rgba(255,255,255,0.1) !important;
    }
    .lp-nav-bar a:hover { 
        background: #0056b3 !important; 
    }
    .lp-nav-bar i { 
        font-size: 1.4rem !important; 
        margin-bottom: 8px !important; 
        color: #ffcc00 !important; 
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .lp-nav-bar {
        display: none !important;
    }
    .global-nav-menu {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        background: #004d9e !important;
        gap: 1px !important;
        margin: 0 0 30px !important;
        width: 100% !important;
    }
    .global-nav-menu a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: #0056b3 !important;
        color: #fff !important;
        text-decoration: none !important;
        padding: 15px 5px !important;
        font-size: clamp(0.65rem, 2.5vw, 0.95rem) !important;
        font-weight: bold !important;
        text-align: center !important;
        transition: background 0.2s !important;
        line-height: 1.3 !important;
        box-sizing: border-box !important;
        border: none !important;
    }
    .global-nav-menu a:hover {
        background: #004494 !important;
        color: #fff !important;
    }
    .global-nav-menu i {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
        color: #ffcc00 !important;
    }
}


    /* Add hover effect for the 3 stages links */
    #three-stages a:hover {
      transform: translateY(-5px) !important;
      box-shadow: 0 12px 25px rgba(0,0,0,0.15) !important;
      border-color: #e60033 !important;
    }
    #three-stages a:hover > div:first-child {
      background: #e60033 !important;
    }
    #three-stages a:hover h3 {
      color: #e60033 !important;
    }
    @media (max-width: 768px) {
      #three-stages .pc-only { display: none; }
    }
  

    .reason-z-pattern { display: flex; align-items: center; background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); flex-wrap: wrap; }
    .reason-z-img { flex: 1 1 400px; min-height: 350px; }
    .reason-z-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .reason-z-text { flex: 1 1 400px; padding: 50px 40px; }
    .swipe-hint { display: none; }
    
    @media (max-width: 768px) {
      .swipe-hint { 
        display: block !important; 
        text-align: center; 
        color: #0056b3; 
        font-size: 0.95rem; 
        font-weight: bold;
        margin-bottom: 15px; 
        animation: swipeAnim 1.5s infinite;
      }
      @keyframes swipeAnim {
        0% { transform: translateX(-5px); }
        50% { transform: translateX(5px); }
        100% { transform: translateX(-5px); }
      }
      
      .mobile-carousel-wrapper {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px !important;
        padding: 10px 5vw 30px !important;
        margin: 0 -20px !important; /* Bleed to screen edges */
        -webkit-overflow-scrolling: touch;
      }
      .mobile-carousel-wrapper::-webkit-scrollbar {
        display: none; /* Hide scrollbar for clean look */
      }
      
      .reason-z-pattern { 
        flex: 0 0 85% !important; /* Show 85% of card so next one peeks */
        flex-direction: column !important; 
        scroll-snap-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      }
      .reason-z-img { width: 100%; height: 220px; min-height: auto; }
      .reason-z-text { padding: 25px 20px; }
    }
  

    .flow-wrapper { display: flex; gap: 15px; align-items: stretch; justify-content: center; }
    .flow-card { flex: 1; background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: relative; display: flex; flex-direction: column; transition: transform 0.3s ease; border: 2px solid transparent; }
    .flow-card:hover { transform: translateY(-5px); border-color: #0056b3; box-shadow: 0 10px 25px rgba(0,86,179,0.15); }
    .flow-badge { position: absolute; top: 15px; left: -10px; background: #e60033; color: white; padding: 5px 20px; font-weight: 900; font-size: 1.1rem; font-family: 'Arial Black', sans-serif; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
    .flow-badge::after { content: ''; position: absolute; bottom: -8px; left: 0; border-width: 8px 10px 0 0; border-style: solid; border-color: #990022 transparent transparent transparent; }
    .flow-img { width: 100%; height: 180px; object-fit: cover; border-bottom: 3px solid #0056b3; }
    .flow-text-box { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
    .flow-title { color: #0056b3; font-size: 1.2rem; font-weight: bold; margin: 0 0 15px 0; line-height: 1.4; text-align: center; }
    .flow-desc { font-size: 0.95rem; color: #444; line-height: 1.6; margin: 0; }
    .flow-arrow { display: flex; align-items: center; justify-content: center; color: #0056b3; font-size: 2rem; opacity: 0.5; }
    .mobile-arrow { display: none; }
    
    @media (max-width: 900px) {
      .flow-wrapper { flex-direction: column; max-width: 500px; margin: 0 auto; gap: 0; }
      .flow-card { border: 2px solid #e6f2ff; }
      .flow-arrow.pc-arrow { display: none; }
      .mobile-arrow { display: flex; justify-content: center; color: #0056b3; font-size: 2.5rem; padding: 15px 0; opacity: 0.7; }
      .flow-img { height: 220px; }
    }
  
.flow-badge[style*="0056b3"]::after { border-color: #003d82 transparent transparent transparent; }

      @import url('https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Yomogi&family=Zen+Kurenaido&display=swap');
      
      .letter-paper {
        background-color: #fdfaf0;
        background-image: repeating-linear-gradient(transparent, transparent 31px, #e8dcc3 31px, #e8dcc3 32px);
        padding: 34px 20px 20px 20px;
        border: 1px solid #e0d4bc;
        border-radius: 2px;
        box-shadow: 2px 4px 10px rgba(0,0,0,0.04), inset 0 0 20px rgba(230,220,200,0.2);
        font-size: 1.15rem;
        line-height: 32px;
        color: #3b3a37;
        letter-spacing: 0.05em;
        position: relative;
        height: 220px;
        overflow: hidden;
        margin: 10px;
      }
      
      /* 筆跡を変えるためのクラス */
      .handwriting-1 { font-family: 'Yomogi', cursive; transform: rotate(-1deg); }
      .handwriting-2 { font-family: 'Klee One', cursive; font-weight: 600; transform: rotate(1.5deg); }
      .handwriting-3 { font-family: 'Zen Kurenaido', sans-serif; transform: rotate(-0.5deg); font-size: 1.25rem; } /* 少し大きめに調整 */
      
      /* A subtle tape/clip effect */
      .letter-paper::before {
        content: '';
        position: absolute;
        top: -5px; left: 50%;
        transform: translateX(-50%);
        width: 60px; height: 15px;
        background: rgba(255,255,255,0.6);
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      }
    
      .btn-more-voices {
        display: inline-block;
        background: #e60033; /* Make it pop like CTA */
        color: white;
        text-decoration: none;
        padding: 16px 50px;
        font-size: 1.2rem;
        font-weight: bold;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(230,0,51,0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      .btn-more-voices:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(230,0,51,0.4);
        color: white;
      }
      

      .area-box {
        background: #fff;
        border-radius: 12px;
        padding: 40px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        border: 2px solid #0056b3;
        position: relative;
      }
      .area-box::before {
        content: '対応エリア';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        background: #0056b3;
        color: #fff;
        padding: 5px 30px;
        font-weight: bold;
        font-size: 1.2rem;
        border-radius: 50px;
        box-shadow: 0 4px 10px rgba(0,86,179,0.3);
      }
      .area-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        margin-top: 25px;
      }
      .area-tag {
        background: #fdfdfd;
        color: #333;
        padding: 10px 25px;
        border-radius: 50px;
        font-weight: bold;
        border: 1px solid #ccc;
        transition: all 0.3s ease;
        text-decoration: none;
      }
      .area-tag.area-link {
        border-color: #0056b3;
        color: #0056b3;
        background: #fff;
      }
      .area-tag.area-link:hover {
        background: #0056b3;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,86,179,0.2);
      }
    

    @keyframes pulse-btn {
      0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 0, 51, 0.7); }
      70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(230, 0, 51, 0); }
      100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 0, 51, 0); }
    }
    @keyframes pulse-btn-line {
      0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 185, 0, 0.7); }
      70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 185, 0, 0); }
      100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 185, 0, 0); }
    }
    .cta-tel-float { animation: pulse-btn 2s infinite; }
    .cta-line-float { animation: pulse-btn-line 2s infinite 1s; }
  
/* Table Fixes */
table { background: #fff; color: #333; border-collapse: collapse; width: 100%; }
td, th { padding: 10px; border: 1px solid #ccc; }
th { background: #f4f4f4; }
.company-info table, .company-info td, .company-info th { color: #333 !important; }

/* WordPress Menu Support */
.global-nav-menu ul.menu-wrapper {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; width: 100%;
}
.global-nav-menu li {
  margin: 0; padding: 0;
}
.lp-nav-bar .nav-inner ul.menu-wrapper {
  display: flex; width: 100%; list-style: none; margin: 0; padding: 0;
}
.lp-nav-bar .nav-inner li {
  flex: 1; border-right: 1px solid rgba(255,255,255,0.2); margin: 0; padding: 0;
}
.lp-nav-bar .nav-inner li:last-child {
  border-right: none;
}
.lp-nav-bar .nav-inner a {
  border-right: none !important; height: 100%; width: 100%; box-sizing: border-box;
}
