/*
Theme Name: プマネロ合同会社
Theme URI: https://pumanero.com
Description: プマネロ合同会社 公式ウェブサイト オリジナルテーマ
Version: 1.0
Author: プマネロ合同会社
Author URI: https://pumanero.com
License: All Rights Reserved
*/
/* ============================================
   プマネロ合同会社 公式ウェブサイト
   style.css - メインスタイルシート
   ============================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Colors */
  --color-primary: #1A73E8;
  --color-primary-dark: #1558B0;
  --color-primary-light: #4A90E8;
  --color-secondary: #0D1B2A;
  --color-accent: #E3F2FD;
  --color-accent-light: #F0F8FF;
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #E0E0E0;
  --color-bg-gray: #F8F9FA;
  --color-success: #4CAF50;
  --color-error: #E53935;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1A73E8 0%, #0D47A1 100%);
  --gradient-hero: linear-gradient(135deg, #1565C0 0%, #0D47A1 50%, #1A237E 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(26, 115, 232, 0.9) 0%, rgba(13, 71, 161, 0.85) 100%);

  /* Typography */
  --font-primary: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-english: 'Inter', 'Noto Sans JP', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section Common --- */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 24px;
  transition: padding var(--transition-normal);
}

.header.scrolled .header-inner {
  padding: 12px 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: auto;
  border-radius: 8px;
  transition: height var(--transition-normal);
}

.header.scrolled .logo-img {
  height: 46px;
}

.nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.header.scrolled .nav-link {
  color: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.cta-link {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-link.cta-link:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.nav-link.cta-link::after {
  display: none;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-normal);
}

.header.scrolled .hamburger span {
  background: var(--color-secondary);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1565C0 0%, #0288D1 30%, #03A9F4 60%, #4FC3F7 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.hero-bg-placeholder::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.2);
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.5;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, rgba(13, 71, 161, 0.6) 0%, transparent 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-text {
  max-width: 550px;
}

.hero-label {
  display: inline-block;
  background: rgba(255, 160, 60, 0.2);
  backdrop-filter: blur(10px);
  color: #FFB74D;
  padding: 10px 28px;
  border-radius: var(--radius-xl);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 183, 77, 0.4);
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(255, 183, 77, 0.3);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-title span {
  display: block;
}

.hero-title span+span {
  margin-top: 8px;
}

.hero-catchphrase {
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: subtlePulse 3s ease-in-out infinite;
}

.hero-catchphrase-lead {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 8px;
}

.hero-catchphrase-main {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.6;
}

.hero-highlight {
  color: #FFB74D;
  font-weight: 800;
  font-size: 1.3rem;
  text-shadow: 0 0 20px rgba(255, 183, 77, 0.3);
}

@keyframes subtlePulse {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 183, 77, 0);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 183, 77, 0.15);
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 16px 40px;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  background: var(--color-accent);
}

.hero-cta .arrow {
  transition: transform var(--transition-normal);
}

.hero-cta:hover .arrow {
  transform: translateX(5px);
}

/* Hero decorative shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 80px;
  left: 30%;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 40%;
}

/* --- Pain Points Section --- */
.pain-points {
  background: var(--color-bg-gray);
  padding: 80px 0;
}

.pain-points .section-title {
  font-size: 1.8rem;
}

.pain-points-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.pain-point-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-white);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
  transition: all var(--transition-normal);
}

.pain-point-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.pain-point-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.pain-point-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
}

.pain-point-text strong {
  color: var(--color-error);
  font-weight: 700;
}

.pain-points-bottom {
  max-width: 800px;
  margin: 0 auto;
}

.pain-points-conclusion {
  background: linear-gradient(135deg, #1565C0 0%, #1A73E8 50%, #1558B0 100%);
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 32px rgba(74, 144, 232, 0.25);
  position: relative;
  overflow: hidden;
}



.pain-points-conclusion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.conclusion-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  font-weight: 500;
}

.conclusion-main {
  font-size: 1rem;
  color: var(--color-white);
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 16px;
}

.conclusion-main strong {
  color: #FFB74D;
  font-size: 1.3rem;
  font-weight: 800;
}

.conclusion-cta {
  font-size: 1.2rem;
  color: var(--color-white);
  font-weight: 800;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* --- Services Section --- */
.services {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.service-image-placeholder.marketing {
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.service-image-placeholder.consulting {
  background: linear-gradient(135deg, #E8EAF6 0%, #C5CAE9 100%);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  padding: 32px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* --- Reasons Section --- */
.reasons {
  background: var(--color-bg-gray);
}

.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.reason-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.reason-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.reason-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.reason-number-label {
  font-family: var(--font-english);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reason-number-value {
  font-family: var(--font-english);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.reason-content {
  flex: 1;
}

.reason-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.reason-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* Stats Counter in Reason 01 */
.stats-row {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-english);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-number .unit {
  font-size: 1rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* --- Flow Section --- */
.flow {
  background: var(--color-white);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.flow-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 48px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step-marker {
  flex-shrink: 0;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.flow-step-number {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  position: relative;
  z-index: 2;
}

.flow-step-number .step-label {
  font-family: var(--font-english);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flow-step-number .step-num {
  font-family: var(--font-english);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

.flow-step:not(:last-child) .flow-step-marker::after {
  content: '';
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% - 16px);
  background: var(--color-primary);
  opacity: 0.3;
}

.flow-step-content {
  flex: 1;
  padding-top: 8px;
}

.flow-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.flow-step-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --- CEO Section --- */
.ceo {
  background: var(--color-bg-gray);
}

.ceo-content {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.ceo-image {
  flex-shrink: 0;
  width: 280px;
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ceo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E3F2FD 0%, #90CAF9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--color-primary);
  opacity: 0.5;
}

.ceo-text {
  flex: 1;
}

.ceo-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.ceo-role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.ceo-message {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 2;
}

.ceo-message p {
  margin-bottom: 16px;
}

.ceo-message p:last-child {
  margin-bottom: 0;
}

/* --- Cases Section (Peek Carousel) --- */
.cases {
  background: var(--color-bg-gray);
  overflow: hidden;
}

.cases-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* 横スライドトラック */
.cases-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.case-slide {
  flex: 0 0 70%;
  max-width: 70%;
  padding: 0 16px;
  box-sizing: border-box;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0.4;
  transform: scale(0.92);
}

.case-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* カード本体 */
.case-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
  height: 100%;
}

.case-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.case-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-xl);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.case-client {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.case-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.5;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
}

.case-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 28px;
  text-align: left;
}

/* アピールポイント */
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.case-stat {
  text-align: center;
  padding: 18px 10px 14px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #E3F2FD 100%);
  border-radius: 12px;
  border: 1px solid rgba(26, 115, 232, 0.08);
}

.case-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.case-stat-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* --- 矢印ナビゲーション --- */
.cases-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-normal);
}

.cases-nav:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 28px rgba(26, 115, 232, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.cases-nav svg {
  width: 22px;
  height: 22px;
}

.cases-nav-prev {
  left: calc(15% - 27px);
}

.cases-nav-next {
  right: calc(15% - 27px);
}

/* --- ドットインジケーター --- */
.cases-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.cases-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.cases-indicator.active {
  background: var(--color-primary);
  transform: scale(1.25);
}

.cases-indicator:hover:not(.active) {
  background: rgba(26, 115, 232, 0.3);
}

/* --- FAQ Section --- */
.faq {
  background: var(--color-bg-gray);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-accent-light);
}

.faq-q-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-family: var(--font-english);
  font-size: 1.1rem;
  font-weight: 800;
}

.faq-q-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.7;
}

.faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  background: var(--color-accent);
  transition: background var(--transition-normal), transform var(--transition-normal);
}

.faq-item.active .faq-toggle {
  background: var(--color-primary);
  transform: rotate(45deg);
}

.faq-toggle-icon {
  position: relative;
  width: 14px;
  height: 2px;
  background: var(--color-primary);
  transition: background var(--transition-normal);
}

.faq-toggle-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 2px;
  background: var(--color-primary);
  transform: rotate(90deg);
  transition: background var(--transition-normal);
}

.faq-item.active .faq-toggle-icon,
.faq-item.active .faq-toggle-icon::after {
  background: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  display: flex;
  gap: 20px;
  padding: 0 28px 28px;
  align-items: flex-start;
  border-top: 1px solid var(--color-border);
  margin: 0 28px;
  padding: 24px 0 4px;
}

.faq-a-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  font-family: var(--font-english);
  font-size: 1.1rem;
  font-weight: 800;
}

.faq-answer-inner p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.9;
  padding-top: 10px;
}

/* --- Company Section --- */
.company {
  background: var(--color-bg-gray);
}

.company-table {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.company-row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
}

.company-row:last-child {
  border-bottom: none;
}

.company-label {
  width: 200px;
  flex-shrink: 0;
  padding: 20px 32px;
  background: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-secondary);
}

.company-value {
  flex: 1;
  padding: 20px 32px;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* --- Contact Section --- */
.contact {
  background: var(--color-white);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

/* CF7のレスポンス出力のスタイリング */
.wpcf7-response-output {
  border: none !important;
  padding: 12px 0 !important;
  margin: 16px 0 0 !important;
  font-size: 0.9rem;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: var(--color-success);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  color: var(--color-error);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  color: var(--color-error);
}

.wpcf7-not-valid-tip {
  color: var(--color-error);
  font-size: 0.8rem;
  margin-top: 4px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--color-error);
  font-size: 0.8rem;
  margin-left: 6px;
}

.form-label .optional {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-left: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--color-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-textarea {
  height: 180px;
  resize: vertical;
}

.form-error {
  color: var(--color-error);
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-error.show {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
}

.form-checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-checkbox a:hover {
  color: var(--color-primary-dark);
}

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.form-success-text {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* --- Footer --- */
.footer {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.15s;
}

.fade-in-delay-2 {
  transition-delay: 0.3s;
}

.fade-in-delay-3 {
  transition-delay: 0.45s;
}

.fade-in-delay-4 {
  transition-delay: 0.6s;
}

.fade-in-delay-5 {
  transition-delay: 0.75s;
}

.section-header .section-title {
  transition-delay: 0s;
}

.section-header .section-subtitle {
  transition-delay: 0.1s;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--gradient-primary);
  padding: 60px 0;
  text-align: center;
}

.cta-banner-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.cta-banner-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 16px 48px;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* --- Privacy Policy Page --- */
.privacy-page {
  padding: 120px 0 80px;
  min-height: 80vh;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 40px;
  text-align: center;
}

.privacy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

.privacy-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

.privacy-content .contact-box {
  background: var(--color-bg-gray);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  margin-top: 8px;
}

.privacy-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.privacy-content ul li {
  list-style: disc;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 4px;
}

/* --- Mobile Responsive --- */
@media (max-width: 1023px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-bg {
    width: 50%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .reason-item {
    flex-direction: column;
    gap: 20px;
    padding: 32px;
  }

  .ceo-content {
    flex-direction: column;
    text-align: center;
  }

  .ceo-image {
    width: 220px;
    height: 280px;
  }

  .stats-row {
    justify-content: center;
  }

  .company-label {
    width: 160px;
  }

  .cases-carousel {
    padding: 0;
  }

  .case-slide {
    flex: 0 0 80%;
    max-width: 80%;
    padding: 0 10px;
  }

  .cases-nav {
    width: 40px;
    height: 40px;
  }

  .cases-nav-prev {
    left: calc(10% - 20px);
  }

  .cases-nav-next {
    right: calc(10% - 20px);
  }

  .pain-point-item {
    padding: 20px 24px;
  }

  .faq-question {
    padding: 18px 20px;
    gap: 14px;
  }

  .faq-q-label,
  .faq-a-label {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .faq-q-text {
    font-size: 0.95rem;
  }

  .faq-toggle {
    width: 28px;
    height: 28px;
  }

  .faq-answer-inner {
    margin: 0 20px;
    padding: 18px 0 4px;
    gap: 14px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 64px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    padding: 80px 32px 32px;
    z-index: 1000;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    color: var(--color-text) !important;
    padding: 16px 0;
    display: block;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.cta-link {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    clip-path: none;
    opacity: 0.2;
  }

  .hero-overlay {
    width: 100%;
    clip-path: none;
    background: rgba(13, 71, 161, 0.6);
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-catchphrase-lead {
    font-size: 0.85rem;
  }

  .hero-catchphrase {
    padding: 14px 16px;
  }

  .hero-catchphrase-main {
    font-size: 1rem;
  }

  .hero-highlight {
    font-size: 1.1rem;
  }

  .pain-points-conclusion {
    padding: 24px 20px;
  }

  .conclusion-main {
    font-size: 1rem;
  }

  .conclusion-cta {
    font-size: 1rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .flow-step {
    gap: 20px;
  }

  .flow-step-marker {
    width: 48px;
  }

  .flow-step-number {
    width: 48px;
    height: 48px;
  }

  .flow-step-number .step-label {
    font-size: 0.45rem;
  }

  .flow-step-number .step-num {
    font-size: 1rem;
  }

  .ceo-image {
    width: 180px;
    height: 230px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .company-row {
    flex-direction: column;
  }

  .company-label {
    width: 100%;
    padding: 14px 24px;
  }

  .company-value {
    padding: 14px 24px;
  }

  .contact-form {
    padding: 32px 20px;
  }

  .pain-point-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 12px;
  }

  .pain-points-conclusion {
    padding: 20px;
    font-size: 0.9rem;
  }

  .pain-points .section-title {
    font-size: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }

  .stats-row {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .header-inner {
    padding: 14px 16px;
  }
}