/* style.css */

:root {
  /* Color Palette - Elegant Greige & Soft Coral (40s Women) */
  --primary-color: #4A4A4A; /* Charcoal / Dark Greige */
  --primary-dark: #333333;
  --secondary-color: #8C8279; /* Warm Taupe / Greige */
  --accent-color: #E07A5F; /* Soft Coral */
  --accent-hover: #D46648;
  --highlight-pink: #E85D75; /* Vibrant Pink for important parts */
  --bg-color: #FDFBF9; /* Warm Off-white */
  --bg-light: #F4F1EE; /* Light Greige */
  --bg-accent: #FAEBE8; /* Pale Pink/Coral */
  
  --text-main: #3D3D3D;
  --text-muted: #8C8279;
  --text-white: #FFFFFF;

  /* Typography */
  --font-family: 'Noto Sans JP', sans-serif;
  --font-heading: 'Noto Serif JP', serif;
  
  /* Shadows & Radius - Softer & more feminine */
  --shadow-sm: 0 4px 15px rgba(140, 130, 121, 0.08);
  --shadow-md: 0 8px 25px rgba(140, 130, 121, 0.12);
  --shadow-lg: 0 15px 35px rgba(140, 130, 121, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
}

p {
  margin: 0;
  padding: 0;
}

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

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

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

/* Utilities */
.text-accent { color: var(--accent-color); }
.text-pink { color: var(--highlight-pink); font-weight: bold; }
.text-white { color: var(--text-white); }
.bg-light { background-color: var(--bg-light); }
.bg-accent-light { background-color: var(--bg-accent); }
.bg-accent { background-color: var(--primary-color); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.radius-md { border-radius: var(--radius-md); }
.radius-lg { border-radius: var(--radius-lg); }

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-small, .btn-primary-large {
  display: inline-block;
  text-align: center;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary:active, .btn-secondary:active, .btn-primary-small:active, .btn-primary-large:active, .btn-gold-header:active, .sim-btn:active {
  /* PCでもクリック時に少し潰れるぷにぷに感 */
  transform: scale(0.95) scaleX(1.03) scaleY(0.9) !important;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  color: var(--text-white);
  padding: 16px 32px;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(211, 97, 53, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 97, 53, 0.5);
}

.btn-secondary {
  background-color: var(--text-white);
  color: var(--primary-color);
  padding: 16px 32px;
  font-size: 1.1rem;
  border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-primary-small {
  background-color: var(--accent-color);
  color: var(--text-white);
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-primary-small:hover {
  background-color: var(--accent-hover);
}

.btn-primary-large {
  background-color: var(--accent-color);
  color: var(--text-white);
  padding: 20px 40px;
  font-size: 1.2rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}
.btn-primary-large:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.pulse-effect {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(211, 84, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 84, 0, 0); }
}

/* --- New Main Header --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(250, 250, 249, 0.85); /* Glassmorphism */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 10px 0;
  transition: transform 0.3s ease;
}
.main-header.hidden {
  transform: translateY(-100%);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}
.header-logo-img {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.header-logo-img img {
  width: 90%;
  height: auto;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
}
.header-logo-text .logo-sub {
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.header-logo-text .logo-main {
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.header-logo-text .logo-highlight {
  color: var(--accent-color);
}
.header-nav {
  display: flex;
}
.header-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}
.header-nav a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  transition: color 0.3s ease;
}
.header-nav a:hover {
  color: var(--accent-color);
}
.header-cta {
  display: flex;
  align-items: center;
}
.btn-gold-header {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(211, 97, 53, 0.3);
}
.btn-gold-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(211, 97, 53, 0.5);
  color: #fff;
}
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .header-logo-text .logo-main { font-size: 1rem; }
}
@media (max-width: 768px) {
  .btn-gold-header { padding: 8px 15px; font-size: 0.85rem; }
  .header-logo-text .logo-sub { font-size: 0.6rem; }
  .header-logo-text .logo-main { font-size: 0.85rem; }
}

/* Section Common */
section {
  padding: 100px 20px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}
.bg-light .section-header h2,
.bg-accent-light .section-header h2 {
  color: var(--text-main);
}

/* 1. Hero Particles (First View) */
.hero-particles {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-bg-images {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}
.hero-bg-images.show {
  opacity: 1;
}
.hero-bg-images::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.4); /* Reduced overlay to show blue sky */
  z-index: 1;
}
.bg-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: top;
  opacity: 1;
  animation: slowZoom 20s infinite alternate ease-in-out;
  z-index: 0;
}
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.hero-subtitle {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 1.4rem;
  color: var(--secondary-color);
  text-align: center;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  pointer-events: none;
  width: 100%;
  z-index: 2;
  letter-spacing: 0.1em;
  font-weight: bold;
}
.hero-subtitle.show {
  opacity: 1;
}

/* 1-2. Hero Message */
.hero-message {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  background-color: #f8fafc;
}

/* Fluid Animated Background (Mesh Gradient) */
.hero-bg-animated {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #ffffff; /* White background */
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.85;
  animation: float-orb 12s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.orb-1 {
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  background: rgba(30, 58, 138, 0.15); /* Deep Blue */
  top: -20%; left: -20%;
  animation-duration: 12s;
}
.orb-2 {
  width: 50vw; height: 50vw;
  max-width: 700px; max-height: 700px;
  background: rgba(59, 130, 246, 0.12); /* Bright Blue */
  bottom: -20%; right: -10%;
  animation-delay: -3s;
  animation-duration: 15s;
}
.orb-3 {
  width: 40vw; height: 40vw;
  max-width: 600px; max-height: 600px;
  background: rgba(14, 165, 233, 0.1); /* Sky Blue */
  top: 30%; left: 20%;
  animation-delay: -5s;
  animation-duration: 10s;
}
.orb-4 {
  width: 55vw; height: 55vw;
  max-width: 750px; max-height: 750px;
  background: rgba(29, 78, 216, 0.08); /* Mid Blue */
  bottom: 0%; left: -10%;
  animation-delay: -1s;
  animation-duration: 13s;
}

@keyframes float-orb {
  0% { transform: translate(0, 0) scale(0.8) rotate(0deg); opacity: 0.7; }
  25% { transform: translate(15vw, 10vh) scale(1.1) rotate(45deg); opacity: 0.9; }
  50% { transform: translate(30vw, -15vh) scale(0.9) rotate(90deg); opacity: 0.6; }
  75% { transform: translate(-10vw, 20vh) scale(1.2) rotate(135deg); opacity: 0.8; }
  100% { transform: translate(0, 0) scale(1) rotate(180deg); opacity: 0.7; }
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text {
  flex: 1.35;
}
.hero-badge {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid var(--primary-color);
}
.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 25px;
  color: var(--secondary-color);
}
.hero-text h1 .highlight {
  color: var(--primary-color);
}
.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  color: var(--text-muted);
}
.cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-image {
  flex: 0.65;
  position: relative;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.arrow-down {
  width: 2px;
  height: 40px;
  background: var(--primary-color);
  margin-top: 10px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 2. Worries */
.worries-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.worries-image {
  flex: 1;
}
.worries-image img {
  height: 100%;
  object-fit: cover;
  animation: float-image 4s ease-in-out infinite;
}
.worries-list {
  flex: 1.2;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.worries-list li {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.worries-list li i {
  margin-top: 5px;
  font-size: 1.2rem;
  display: inline-block;
  animation: pulse-check 2s infinite ease-in-out;
}
.worries-list li:last-child {
  margin-bottom: 0;
}

/* 3. Risk */
.risk-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
}
.risk-card {
  flex: 1;
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--accent-color);
}
.risk-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.risk-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.risk-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* 4. Simulator */
.simulator-box {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.step-badge {
  background: var(--primary-color);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  vertical-align: middle;
  margin-right: 10px;
}
.sim-step h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.sim-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sim-btn {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  padding: 20px 25px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  color: #334155;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}
.sim-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 6px; height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
}
.sim-btn::after {
  content: '\f054'; /* FontAwesome chevron-right */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 25px;
  color: #cbd5e1;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.sim-btn i {
  font-size: 1.5rem;
  color: var(--primary-color);
  background: rgba(30, 58, 138, 0.08);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 10px;
}
.sim-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border-color: #bfdbfe;
  transform: translateY(-3px) translateX(3px);
  box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.1);
  color: var(--primary-color);
}
.sim-btn:hover::before {
  width: 12px;
}
.sim-btn:hover::after {
  right: 20px;
  color: var(--primary-color);
}

/* Simulator Button Colors */
.sim-btn.color-good::before { background: #3b82f6; }
.sim-btn.color-good i { color: #3b82f6; background: rgba(59, 130, 246, 0.1); }
.sim-btn.color-good:hover { border-color: #bfdbfe; color: #3b82f6; }
.sim-btn.color-good:hover::after { color: #3b82f6; }

.sim-btn.color-medium::before { background: #f59e0b; }
.sim-btn.color-medium i { color: #f59e0b; background: rgba(245, 158, 11, 0.1); }
.sim-btn.color-medium:hover { border-color: #fde68a; color: #f59e0b; }
.sim-btn.color-medium:hover::after { color: #f59e0b; }

.sim-btn.color-bad::before { background: #ef4444; }
.sim-btn.color-bad i { color: #ef4444; background: rgba(239, 68, 68, 0.1); }
.sim-btn.color-bad:hover { border-color: #fecaca; color: #ef4444; }
.sim-btn.color-bad:hover::after { color: #ef4444; }
.hidden {
  display: none !important;
}

/* Animations for Worries Section */
@keyframes float-image {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}
@keyframes pulse-check {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Responsive Line Breaks */
.pc-br { display: block; }
.sp-br { display: none; }
@media (max-width: 768px) {
  .pc-br { display: none; }
  .sp-br { display: block; }
}
.sim-result {
  animation: fadeIn 0.5s ease;
}
.result-badge {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.sim-result h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.sim-result p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.btn-link {
  display: block;
  margin: 20px auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: 1rem;
}

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

/* 5. Features */
.feature-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
}
.feature-item {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-img {
  height: 200px;
  overflow: hidden;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-item:hover .feature-img img {
  transform: scale(1.05);
}
.feature-content {
  padding: 30px;
}
.feature-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-content .number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--bg-light);
  -webkit-text-stroke: 1px var(--primary-color);
  line-height: 1;
}

/* 6. Flow */
.flow-steps {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: var(--primary-color);
  z-index: 1;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 15px;
}
.step-icon {
  width: 100px;
  height: 100px;
  background: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step:hover .step-icon {
  background: var(--primary-color);
  color: #fff;
}
.step-num {
  font-weight: 900;
  color: var(--accent-color);
  margin-bottom: 10px;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* 7. Cases */
.case-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.case-box {
  display: flex;
  gap: 40px;
  align-items: center;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.case-box.reverse {
  flex-direction: row-reverse;
}
.case-img {
  flex: 1;
}
.case-img img {
  border-radius: var(--radius-md);
}
.case-content {
  flex: 1.5;
}
.case-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.case-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}
.customer-name {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.quote {
  position: relative;
  padding-left: 30px;
  margin-bottom: 30px;
}
.quote i {
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 1.5rem;
  color: var(--bg-accent);
}
.quote p {
  font-style: italic;
  color: var(--text-main);
  font-weight: 500;
}
.staff-comment {
  display: flex;
  gap: 20px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-sm);
  align-items: center;
}
.staff-thumb {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.staff-comment strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 5px;
}
.staff-comment p {
  font-size: 0.9rem;
  margin: 0;
}

/* 8. FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 20px 30px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.accordion-header:hover {
  background: var(--bg-light);
}
.accordion-header i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}
.accordion-header.active i {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fff;
}
.accordion-content p {
  padding: 0 30px 20px;
  color: var(--text-muted);
}

/* 9. Cautions */
.caution-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}
.caution-card {
  flex: 1;
  padding: 40px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.caution-card.bad {
  background: #FFF5F5;
  border: 2px solid #FEB2B2;
}
.caution-card.good {
  background: #F0FFF4;
  border: 2px solid #9AE6B4;
}
.caution-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}
.bad .caution-icon { color: #E53E3E; }
.good .caution-icon { color: #38A169; }
.caution-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.caution-card p {
  color: var(--text-muted);
}

/* 10. Media & Blog */
.blog-grid {
  max-width: 1200px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.blog-banner {
  position: relative;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.blog-banner-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.blog-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}
.blog-banner:hover .blog-banner-bg {
  transform: scale(1.05);
}
.blog-banner-text {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #fff;
}
.area-tag {
  display: inline-block;
  background: var(--accent-color);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.blog-banner-text h4 {
  font-size: 1.2rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.sns-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}
.sns-feed h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: var(--secondary-color);
}
.sns-placeholder {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 50px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.sns-placeholder p {
  color: var(--text-muted);
  font-weight: 700;
}

/* 11. Reviews */
.review-cards {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}
.review-card {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}
.avatar {
  width: 50px; height: 50px;
  background: var(--bg-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
}
.name {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}
.stars {
  color: #FBBC05;
  font-size: 0.9rem;
}
.google-icon {
  font-size: 1.5rem;
  color: #4285F4;
}
.review-text {
  color: var(--text-muted);
  font-style: italic;
}

/* 12. Closing */
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.closing h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.closing p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.9;
}
.final-cta {
  display: flex;
  gap: 30px;
}
.contact-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-card h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.tel-number {
  font-size: 2.2rem !important;
  font-weight: 900;
  margin-bottom: 10px !important;
}
.business-hours {
  font-size: 0.9rem !important;
  opacity: 0.8;
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: #fff;
  padding: 50px 20px;
  text-align: left;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}
footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 5px;
}


/* Responsive Design (Mobile First adjustments handled via max-width) */
@media (max-width: 992px) {
  .hero-text h1 { font-size: 2.2rem; }
  .feature-grid, .caution-grid, .sns-grid, .review-cards {
    flex-direction: column;
  }
  .flow-steps::before { display: none; }
  .flow-steps {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    padding-left: 50px;
  }
  .step {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 15px;
  }
  .step-icon {
    width: 60px; height: 60px; font-size: 1.5rem;
    margin: 0; flex-shrink: 0;
  }
  .step-num { margin-bottom: 5px; }
  
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-tel { display: none; }
  
  .hero-message {
    padding-top: 60px;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 1.45rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    top: 55%;
  }
  .hero-container {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .cta-group {
    justify-content: center;
    flex-direction: column;
  }
  
  .worries-container, .case-box {
    flex-direction: column !important;
  }
  .worries-list {
    padding: 30px 20px;
  }
  .risk-cards, .final-cta {
    flex-direction: column;
  }
  
  .section-header h2 { font-size: 1.8rem; }
  .closing h2 { font-size: 1.6rem; }
}

/* =========================================
   New Sections (Intro, Trademarks, Solutions)
   ========================================= */

/* Intro */
.intro-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
}
.intro-text-card {
  flex: 2;
}
.intro-text-card .intro-p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.intro-text-card .intro-p.lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
}
.intro-side-card {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Trademarks */
.trademarks-section {
  padding: 100px 20px;
  background: var(--bg-color);
}
.trademarks-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.trademark-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
}
.trademark-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.trademark-header {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  font-weight: bold;
}
.trademark-card h3 {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}
.trademark-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Solutions Tabs */
.tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--bg-light);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-link {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.tab-link .tab-num {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-right: 5px;
}
.tab-link.active {
  color: var(--primary-color);
}
.tab-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.tab-link.active::after {
  transform: scaleX(1);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}
.tab-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.tab-text {
  flex: 1.2;
}
.tab-text .badge {
  display: inline-block;
  background: var(--bg-accent);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 0.9rem;
}
.tab-text h3 {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}
.tab-text p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.tab-text ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tab-image {
  flex: 1;
}
.tab-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .intro-grid { flex-direction: column; }
  .tab-grid { flex-direction: column-reverse; }
  .tabs { flex-direction: column; gap: 10px; border-bottom: none; }
  .tab-link { background: #fff; border-radius: var(--radius-sm); border: 1px solid #ddd; }
  .tab-link.active::after { display: none; }
  .tab-link.active { border-color: var(--primary-color); background: var(--bg-accent); }
  .split-contact-card { flex-direction: column !important; }
}

/* --- Split Contact Card --- */
.split-contact-card {
  display: flex;
  flex-direction: row;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  background: #fcfcfc;
  text-align: left;
}
.split-contact-left {
  flex: 1.2;
  background-color: #0056b3; /* 明るい青 */
  color: #fff;
  padding: 50px 40px;
}
.split-contact-left .assessment-label {
  color: #f1c40f;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}
.split-contact-left h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}
.split-contact-left p.desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
}
.split-contact-left .contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}
.split-contact-left .contact-info-item:last-child {
  margin-bottom: 0;
}
.split-contact-left .contact-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(0,0,0,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1c40f;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}
.split-contact-left .contact-text-block h4 {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 5px;
  font-weight: normal;
}
.split-contact-left .contact-text-block .number {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #fff;
}
.split-contact-left .contact-text-block .note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.split-contact-right {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fcfcfc;
}
.split-contact-right .btn-gold {
  background-color: #cda036;
  color: #fff;
  padding: 20px 30px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 15px rgba(205, 160, 54, 0.4);
  transition: all 0.3s ease;
  border: none;
}
.split-contact-right .btn-gold:hover {
  background-color: #b38827;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(205, 160, 54, 0.5);
  color: #fff;
}
.split-contact-right .note-right {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #777;
}

/* --- Floating Action Buttons (Bottom Right) --- */
.floating-action-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  align-items: center;
}
.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 25px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 220px;
  box-sizing: border-box;
}
.fab-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.fab-green:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  color: #fff;
}
.fab-gold {
  background: linear-gradient(135deg, var(--highlight-pink) 0%, #D9455F 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(232, 93, 117, 0.4);
  animation: pulse-fab 2s infinite;
}
@keyframes pulse-fab {
  0% { box-shadow: 0 0 0 0 rgba(232, 93, 117, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(232, 93, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 93, 117, 0); }
}
.fab-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 93, 117, 0.5);
  color: #fff;
}
.fab-outline-blue {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(224, 122, 95, 0.4);
}
.fab-outline-blue:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #B85032 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(224, 122, 95, 0.5);
  color: #fff;
}
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
  .floating-action-buttons {
    bottom: 0;
    left: 0;
    right: auto;
    transform: none;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 4px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.15);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-sizing: border-box;
  }
  .fab-btn {
    flex: 1;
    min-width: 0 !important;
    font-size: 0.75rem !important;
    padding: 7px 2px !important;
    border-radius: 8px !important;
    gap: 3px !important;
    flex-direction: column !important;
    letter-spacing: -0.5px;
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: none !important;
  }
  .fab-btn i {
    font-size: 1.15rem !important;
    margin: 0 !important;
  }
}

/* --- Google Reviews Redesign --- */
.google-reviews-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  overflow: hidden;
  padding: 40px;
  gap: 40px;
}
.gr-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #eee;
  padding-right: 40px;
}
.gr-score {
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 10px;
}
.gr-stars {
  color: #f1c40f;
  font-size: 1.5rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.gr-label {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333;
}
.gr-btn {
  background-color: #cda036;
  color: #1e293b;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(205, 160, 54, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gr-btn:hover {
  background-color: #b38827;
  transform: translateY(-2px);
  color: #fff;
}
.gr-right {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gr-item {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: transform 0.3s ease;
}
.gr-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.gr-item-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.gr-name {
  font-weight: bold;
  font-size: 1.1rem;
  color: #1e293b;
}
.gr-tag {
  background-color: #e8f0fe;
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
}
.gr-item-stars {
  color: #f1c40f;
  font-size: 1rem;
  margin-bottom: 15px;
}
.gr-item-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}
@media (max-width: 768px) {
  .google-reviews-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .gr-left {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-right: 0;
    padding-bottom: 30px;
  }
  .gr-score {
    font-size: 4rem;
  }
  .gr-item-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* VS Badge Base & PC Styles */
.vs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: #1e3a8a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  z-index: 10;
  border: 4px solid #f8f9fa;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  animation: pulse-vs 2s infinite ease-in-out;
}

@keyframes pulse-vs {
  0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
  50% { transform: translate(-50%, -50%) scale(1.15); box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4); }
  100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
}

/* VS Badge Mobile Styles */
@media (max-width: 992px) {
  .vs-row {
    display: flex;
    flex-direction: column;
  }
  .vs-badge {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: -30px auto;
    animation: pulse-vs-mobile 2s infinite ease-in-out;
    order: 2;
  }
  .vs-row > div:last-child {
    order: 3;
  }
}

@keyframes pulse-vs-mobile {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
  50% { transform: scale(1.15); box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
}

/* Map Container Responsive Fix */
.map-container {
  flex: 1;
  min-width: 320px;
  position: sticky;
  top: 100px;
  text-align: center;
  z-index: 5;
}
@media (max-width: 992px) {
  .map-container {
    position: relative;
    top: auto;
  }
}

/* Visibility Utilities */
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 992px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}
@media (max-width: 768px) {
  .sp-center { text-align: center !important; }
  .sp-center-img { display: block !important; margin-left: auto !important; margin-right: auto !important; }
}


/* --- Scroll Animations --- */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

strong {
  color: var(--highlight-pink);
  font-weight: 700;
}

/* --- Scroll Animations --- */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
