@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap");

:root {
  --primary: #0f172a;
  /* Midnight Blue */
  --secondary: #334155;
  /* Slate */
  --accent: #d4af37;
  /* Elegant Gold */
  --accent-glow: rgba(212, 175, 55, 0.4);
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;

  /* Marketing & Action Colors */
  --action-color: #d97706;
  --action-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --action-gradient-hover: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

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

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

.section-padding {
  padding: 100px 0;
}

/* Responsive Line Break */
.br-responsive {
  display: none;
}

@media (max-width: 1024px) {
  .br-responsive {
    display: inline;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  line-height: 1.3;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  /* Centering Fix */
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.section-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  margin: 15px auto 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  /* Increased to stay above custom cursor and hero */
  box-shadow: var(--shadow-sm);
  transition: height 0.3s ease;
}

.header_inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

/* Dropdown */
.has-child {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  min-width: 220px;
  padding: 15px 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.has-child:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dropdown a:hover {
  background: var(--bg-body);
  color: var(--primary);
}

.dropdown a::after {
  display: none;
}

/* Header Buttons */
.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 20px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

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

.header-ctas {
  display: flex;
  gap: 10px;
}

.menu-btn {
  display: none;
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
}

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

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  box-shadow: 0 4px 12px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-file {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn-file:hover {
  background: #b89628;
  border-color: #b89628;
}

/* Header Action Button (Orange/Copper) */
.btn-header.btn-action {
  background: var(--action-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.btn-header.btn-action:hover {
  background: var(--action-gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(217, 119, 6, 0.4);
}

/* NEW HERO SPLIT STYLES */
.hero-split {
  display: flex;
  min-height: 100vh;
  /* Changed from height:100vh to allow growing */
  height: auto;
  padding-top: 100px;
  /* More top padding */
  padding-bottom: 60px;
  /* Add bottom padding to separate from next section */
  position: relative;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  z-index: 0;
}

.hero-main-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  font-family: var(--font-serif);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 60px;
  font-weight: 500;
}

.split-cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 900px;
}

.cta-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cta-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
  background: #fff;
}

.cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
  font-family: var(--font-serif);
}

.cta-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  flex-grow: 1;
  /* Push button to bottom */
}

.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  margin-top: auto;
}

.btn-cta-biz {
  background: var(--primary);
  color: #fff;
}

.btn-cta-biz:hover {
  background: #1e3a8a;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.3);
}

.btn-cta-personal {
  background: var(--accent);
  color: #fff;
}

.btn-cta-personal:hover {
  background: #b89628;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Value Props */
.value-props {
  background: #fff;
  padding: 80px 0;
}

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

.value-item {
  text-align: center;
  padding: 20px;
}

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

/* --- Value Propositions Icons --- */
.value-icon-container {
  height: 100px;
  /* Fixed height for alignment */
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 50th Icon: Premium Gold Badge (CSS Fallback) */
.icon-50th-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  /* Gold Gradient Background */
  background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  display: flex;
  flex-direction: column;
  /* Stack vertically */
  align-items: center;
  justify-content: center;
  /* 3D Drop Shadow */
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.4),
    inset 0 0 0 4px rgba(179, 135, 40, 0.5);
  position: relative;
  color: #5a400a;
  font-family: var(--font-serif);
  border: 3px solid #fff;
  line-height: 1;
}

.icon-50th-badge .number {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
  margin-top: 5px;
}

.icon-50th-badge .th {
  font-size: 0.8rem;
  vertical-align: super;
  font-weight: 700;
}

.icon-50th-badge .text {
  font-size: 0.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.icon-50th-badge::after {
  /* Shininess / Reflection effect */
  content: '';
  position: absolute;
  top: 5px;
  left: 15px;
  width: 30px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(-45deg);
}

/* Middle Item: Rectangular Image */
.value-icon-image {
  display: block;
  width: 160px;
  /* Fixed width */
  height: auto;
  /* Allow natural aspect ratio */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid #eee;
}

/* Third Item: Cropped Image (Kilona) to match Salon Image height */
.value-icon-crop {
  display: block;
  width: 160px;
  /* Same width */
  height: 132px;
  /* Fixed height matching the rendered height of the Salon image */
  object-fit: cover;
  /* Crop to fit */
  object-position: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid #eee;
}

/* Third Item: Emoji Circle */
.value-icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-item h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.value-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Common Card Styles */
.solution-grid,
.options-grid,
.news-grid {
  display: grid;
  gap: 30px;
}

.solution-grid {
  grid-template-columns: 1fr 1fr;
}

.options-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.solution-card,
.option-card,
.news-card {
  border-radius: var(--radius-md);
  transition: 0.3s;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.solution-card {
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.option-card {
  padding: 30px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.option-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.option-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.news-card {
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-img {
  height: 180px;
  background: #eee;
  overflow: hidden;
}

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

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

.news-content {
  padding: 20px;
}

.news-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.news-title {
  font-weight: 600;
  line-height: 1.4;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 700;
  margin-top: 20px;
  border-bottom: 1px solid transparent;
}

.btn-link:hover {
  border-bottom-color: var(--primary);
}

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
}

/* Footer */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .header_inner {
    padding: 0 15px;
  }

  .nav {
    display: none;
    /* Logic in JS will handle .open class for mobile menu if implemented properly */
  }

  .menu-btn {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
    cursor: pointer;
  }

  .menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    position: absolute;
    top: 14px;
    transition: 0.3s;
  }

  .menu-btn span:nth-child(1) {
    top: 5px;
  }

  .menu-btn span:nth-child(3) {
    top: 23px;
  }

  .menu-btn.open span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
  }

  .menu-btn.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-btn.open span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
  }

  .nav.open {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background: #fff;
    padding: 80px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow-y: auto;
    /* Allow scrolling within menu if tall */
  }

  .nav.open ul {
    display: flex;
    flex-direction: column;
  }

  .nav.open .header-ctas {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
  }

  /* Mobile Layout Adjustments */
  .hero-split {
    height: auto;
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 1.7rem;
    word-break: keep-all;
    overflow-wrap: break-word;
    width: 100%;
  }

  /* Mobile Section Titles override */
  .section-title {
    font-size: 1.8rem;
    width: 100%;
    max-width: 100%;
    display: block;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .split-cta-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Force grids to single column on mobile */
  .value-grid,
  .solution-grid,
  .options-grid {
    grid-template-columns: 1fr;
  }

  /* Fix for Mobile Dropdowns: Always show inside open menu */
  .nav.open .dropdown {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding-left: 15px;
    margin-top: 10px;
    background: transparent;
    width: 100%;
    min-width: auto;
    border-left: 2px solid var(--accent);
  }

  .nav.open .dropdown a {
    color: var(--secondary);
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}

/* Anniversary Badge */
.anniversary-badge {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  /* Smaller, elegant size */
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 5px;
  display: inline-block;
}

.gold-text {
  color: var(--accent);
  font-size: 1.2em;
  /* Slightly larger emphasis */
}

/* Page Headers */
.page-header {
  background: #f1f5f9;
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.page-header p {
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem !important;
  }
}

/* Company Profile */
.company-profile-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.company-data {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}

.company-data dt {
  font-weight: bold;
  color: var(--primary);
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.company-data dd {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

/* History Timeline */
.history-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
  border-left: 2px solid #ddd;
}

.history-item {
  margin-bottom: 30px;
  position: relative;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
}

.history-year {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.history-desc {
  font-size: 1rem;
  line-height: 1.6;
}

/* Comparison Table */
.comparison-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.comparison-table th {
  background: #f8fafc;
  color: var(--primary);
  font-weight: bold;
}

.comparison-table td.feature-label {
  text-align: left;
  background: #f8fafc;
  font-weight: bold;
  color: var(--secondary);
  min-width: 150px;
}

.comparison-table .highlight-col {
  background: rgba(212, 175, 55, 0.05);
  /* Light gold tint */
  border-left: 2px solid rgba(212, 175, 55, 0.2);
  border-right: 2px solid rgba(212, 175, 55, 0.2);
}

.comparison-table th.highlight-col {
  background: var(--primary);
  color: #fff;
  border-top: 4px solid var(--accent);
}

.comparison-table th.highlight-col .prod-name {
  color: #fff;
}

.comparison-table th.highlight-col .prod-desc {
  color: rgba(255, 255, 255, 0.7);
}

.prod-name {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-serif);
}

.prod-desc {
  font-size: 0.85rem;
  font-weight: normal;
  margin-top: 5px;
  color: var(--text-muted);
}

.mark-circle {
  color: #16a34a;
  font-weight: bold;
  font-size: 1.5rem;
}

.mark-triangle {
  color: #f59e0b;
  font-weight: bold;
  font-size: 1.5rem;
}

.mark-cross {
  color: #ef4444;
  font-weight: bold;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .company-data {
    grid-template-columns: 1fr;
  }

  .company-data dt {
    border-bottom: none;
    padding-bottom: 5px;
    margin-top: 15px;
  }

  .company-data dd {
    padding-top: 0;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 5px;
    font-size: 0.9rem;
  }

  .prod-name {
    font-size: 1rem;
  }

  .feature-label {
    font-size: 0.8rem;
  }

  /* Comparison Table Mobile Scroll */
  .comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    /* Space for scrollbar */
  }

  .comparison-table {
    min-width: 600px;
    /* Force minimum width to trigger scroll */
  }
}

/* --- REALISTIC MEETING SCENE STYLES --- */
.meeting-overlay-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  /* Crop top 10% visually by restricting height */
  /* The image inside will be shifted up */
}

.meeting-base-img {
  width: 100%;
  display: block;
  /* Shift image up to hide top 20% */
  margin-top: -20%;
  margin-bottom: 0;
  /* Adjust if needed to remove gap at bottom */
}





/* Interaction Bubbles (Simulate Meeting) */
.chat-bubble {
  position: absolute;
  background: #fff;
  padding: 15px 20px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--text-main);
  max-width: 250px;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpBubble 0.5s forwards;
}

/* Interaction Bubbles (Simulate Meeting) */
.chat-bubble {
  position: absolute;
  background: #fff;
  padding: 15px 20px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--text-main);
  max-width: 250px;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpBubble 0.5s forwards;
}

.chat-bubble::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: #fff;
  transform: rotate(45deg);
}

/* Bubble Positions & Tails */
/* Common Tail Styles */
.chat-bubble::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: #fff;
  transform: rotate(45deg);
  /* Fix vertical alignment: overlap slightly to hide gap */
  top: -7px;
}

/* Left Bottom Bubble */
.bubble-left {
  animation-delay: 0.5s;
}

.bubble-left::after {
  /* Point to top-right */
  right: 30px;
  left: auto;
}

/* Right Bottom Bubble (Upper) */
.bubble-right {
  animation-delay: 1s;
}

.bubble-right::after {
  /* Point to top-left */
  left: 30px;
  right: auto;
}

/* Right Bottom Bubble (Lower/Accent) */
.bubble-bottom {
  /* Removed accent color to match others */
  background: #fff;
  color: var(--text-main);
  animation-delay: 1.5s;
}

.bubble-bottom::after {
  background: #fff;
  /* Point to top-center */
  left: 50%;
  margin-left: -7px;
}

@keyframes fadeUpBubble {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .monitor-frame {
    width: 100%;
  }

  /* Flex container for vertical chat flow */
  .meeting-overlay-container {
    padding-bottom: 20px;
    background: #f5f5f5;
    /* Light background for chat area */
    display: flex;
    flex-direction: column;
  }

  .meeting-base-img {
    margin-top: 0;
    /* Reset crop on mobile */
    margin-bottom: 20px;
  }

  /* Common Mobile Bubble Styles */
  .chat-bubble {
    position: relative;
    margin: 5px 15px;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    opacity: 1;
    text-align: left;
    max-width: 80%;
    width: fit-content;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    /* Standardize mobile border radius */
  }

  /* Mobile Tails Visibility */
  .chat-bubble::after {
    display: block !important;
    top: 15px !important;
    /* Lowered by 5px */
  }

  /* 1st Bubble: Left Side */
  .bubble-left {
    align-self: flex-start;
  }

  .bubble-left::after {
    left: -8px !important;
    right: auto !important;
  }

  /* 2nd Bubble: Right Side */
  .bubble-right {
    align-self: flex-end;
    background: #fff;
  }

  .bubble-right::after {
    right: -8px !important;
    left: auto !important;
  }

  /* 3rd Bubble: Left Side (Alternating pattern) */
  .bubble-bottom {
    align-self: flex-start;
    width: fit-content;
  }

  .bubble-bottom::after {
    left: -8px !important;
    right: auto !important;
    top: 15px !important;
    /* Lowered by 5px */
    margin-left: 0 !important;
  }
}

/* --- MARKETING ENHANCEMENTS & NEW ACTION COLORS --- */

/* Strong CTA Button */
.btn-cta-strong {
  display: inline-block;
  padding: 15px 40px;
  background: var(--action-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}

.btn-cta-strong:hover {
  background: var(--action-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #fff;
}

/* Shiny effect on hover */
.btn-cta-strong::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: 0.5s;
}

.btn-cta-strong:hover::after {
  left: 200%;
  transition: 0.5s;
}

/* Bottom Conversion Section */
.conversion-section {
  background: linear-gradient(to bottom, #0f172a, #1e293b);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.conversion-section h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.conversion-section p {
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Benefit List (Storytelling) */
.benefit-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  text-align: left;
}

.benefit-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-right: 15px;
  margin-top: 3px;
}

.benefit-text strong {
  color: var(--primary);
  display: block;
  margin-bottom: 2px;
  font-size: 1.05rem;
}

.benefit-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- TESTIMONIALS (お客様の声) --- */
.testimonials-section {
  background: #f8fafc;
  position: relative;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e2e8f0;
  margin-right: 15px;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-meta h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.testimonial-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-body {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-rating {
  margin-top: 15px;
  color: #f59e0b;
  font-size: 1.1rem;
}

/* --- FAQ (アコーディオン) --- */
.faq-section {
  background: #fff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--action-color);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 25px;
}

/* --- Responsive Utilities --- */
.view-sp {
  display: none;
}

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

  .view-pc {
    display: none;
  }

  .view-sp {
    display: block;
    /* or inline-block based on context, layout usually block for sections */
  }

  /* Specific for SmartSign/general text adjustments */
  .view-sp-inline {
    display: inline;
  }
}

/* --- FORM STYLES (Added for Demo Page) --- */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.form-label span.required {
  color: #ef4444;
  font-size: 0.8em;
  margin-left: 5px;
  background: #fee2e2;
  padding: 2px 8px;
  border-radius: 4px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  font-family: var(--font-sans);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radio-item input[type='radio'],
.checkbox-item input[type='checkbox'] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.date-inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.date-inputs .form-control {
  flex: 1;
  min-width: 150px;
}

.note-text {
  font-size: 0.85rem;
  color: #ef4444;
  margin-top: 5px;
}

.btn-submit {
  width: 100%;
  background: var(--action-gradient);
  color: #fff;
  font-weight: 800;
  padding: 15px;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3);
}

.btn-submit:hover {
  background: var(--action-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
}

.success-message {
  text-align: center;
  padding: 60px 20px;
  display: none;
  /* Hidden by default */
}

.success-message h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.success-message p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .form-container {
    padding: 30px 20px;
  }
}