/* ==========================================================================
   Design System - LP Redesign
   カラーパレット・タイポグラフィ・ユーティリティ
   ========================================================================== */

/* NOTE: Google Fonts は HTML 側の <link> タグで読み込み済み */

:root {
  /* Colors */
  --color-base: #ffffff;
  --color-navy: #1a2b4c;
  --color-navy-light: #2a3d62;
  --color-navy-dark: #0f1a30;
  --color-orange: #ff6b35;
  --color-orange-hover: #e85a28;
  --color-white: #ffffff;
  --color-gray-50: #f7f8fa;
  --color-gray-100: #f0f2f5;
  --color-gray-200: #e0e4eb;
  --color-gray-400: #9aa3b3;
  --color-gray-600: #666d7a;
  --color-text: #1a2b4c;
  --color-text-light: #4a5568;
  --color-text-muted: #8892a4;

  /* Schedule / Gantt Chart Colors */
  --color-schedule-customer-main: #0284c7;
  --color-schedule-customer-light: #e0f2fe;
  --color-schedule-company-main: var(--color-navy);
  --color-schedule-company-light: #e2e8f0;
  --color-schedule-header-bg: var(--color-gray-50);
  --color-schedule-holiday-bg: var(--color-gray-100);
  --color-schedule-border: var(--color-gray-200);

  /* Typography */
  --font-family:
    "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --section-padding-mobile: 64px;
  --container-max: 1200px;
  --container-padding: 24px;

  /* Transitions */
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.8;
  background-color: var(--color-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background-color: rgba(15, 26, 48, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    padding 0.4s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 43, 76, 0.08);
  border-bottom-color: transparent;
  padding: 10px 0;
}

.site-header.is-scrolled .header-nav a.header-cta {
  color: var(--color-white);
}

.site-header.is-scrolled .header-nav a.header-cta:hover {
  color: var(--color-white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--color-white);
  transition: color var(--transition-base);
}

.site-header.is-scrolled .header-logo {
  color: var(--color-navy);
}

.header-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 4px;
  transition: all var(--transition-base);
}

.header-doc-link:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.site-header.is-scrolled .header-doc-link {
  color: var(--color-text-light);
  border-color: var(--color-gray-200);
}

.site-header.is-scrolled .header-doc-link:hover {
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
}

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

.site-header.is-scrolled .header-nav a {
  color: var(--color-text-light);
}

.site-header.is-scrolled .header-nav a:hover {
  color: var(--color-navy);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-orange);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: background-color var(--transition-base);
}

.header-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.header-cta:hover::after {
  left: 120%;
}

.header-cta:hover {
  background-color: var(--color-orange-hover);
  color: var(--color-white);
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 0;
  }
  .header-logo {
    font-size: 15px;
    white-space: nowrap;
  }
  .header-nav {
    gap: 12px;
  }
  .header-nav > a:not(.header-cta):not(.header-doc-link) {
    display: none;
  }
  .header-cta {
    padding: 8px 12px;
    font-size: 11px;
    white-space: nowrap;
  }
  .header-doc-link {
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh; /* 少し高さを出して矢印のスペースを確保 */
  display: flex;
  align-items: center;
  background-color: #ffffff;
  overflow: hidden;
  padding: 120px 0 60px;
}

.hero-container {
  width: 90%;
  z-index: 2;
}

/* PC時のGridレイアウト（テキスト左、画像右） */
.hero-text-block {
  width: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  grid-template-areas:
    "title visual"
    "bottom visual";
  column-gap: 20px;
  align-items: center;
}

.hero-title-wrapper {
  grid-area: title;
  align-self: end;
  padding-bottom: 24px;
}

.hero-bottom-wrapper {
  grid-area: bottom;
  align-self: start;
}

.hero-visual-block {
  grid-area: visual;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SVGコンテナのサイズ調整 */
.hero-visual-block svg {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
}

.hero-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 0;
  letter-spacing: -0.01em;
  color: #333333;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line span {
  display: inline-block;
  transform: translateY(120%);
}

.hero-sub-copy {
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-trust-badges {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.trust-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1a2b4c;
  box-shadow:
    0 4px 12px rgba(255, 215, 0, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.trust-badge-text {
  font-size: 11px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.05em;
}

.hero-cta-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-cta-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  min-height: 64px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 900;
  font-family: var(--font-family);
  color: #ffffff;
  background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 6px 24px rgba(255, 69, 0, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-cta-main::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 69, 0, 0.45);
  color: #ffffff;
}

.btn-cta-main:hover::after {
  left: 120%;
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.btn-cta-pulse {
  animation: ctaPulse 2.5s ease-in-out infinite;
}

.btn-cta-pulse:hover {
  animation: none;
  transform: translateY(-2px);
}

.cta-microcopy-bubble {
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 24px;
  line-height: 1.7;
  position: relative;
  display: inline-block;
}

.cta-microcopy-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #333333;
  opacity: 0.3;
}

.cta-microcopy-bubble--dark {
  color: #ffffff;
}

.cta-microcopy-bubble--dark::after {
  border-top-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   SVG Animation & Scroll Prompt
   ========================================================================== */
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeInFill {
  to {
    fill-opacity: 1;
  }
}

/* ==========================================================================
   Responsive adjustments for Hero
   ========================================================================== */
@media (max-width: 1024px) {
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero-container {
    width: 100%;
  }
  .hero-text-block {
    display: flex;
    flex-direction: column;
  }
  .hero-title-wrapper {
    order: 1;
    text-align: center;
    padding-bottom: 0;
    align-self: center;
  }
  .hero-visual-block {
    order: 2;
    margin: 32px 0;
    width: 100%;
  }
  .hero-bottom-wrapper {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .hero-sub-copy {
    max-width: 100%;
  }
  .hero-trust-badges {
    justify-content: flex-start;
  }
  .hero-cta-area {
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 40px;
  }
  .hero-visual-block {
    margin: 24px 0;
  }
  .hero-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .trust-badge {
    flex-direction: row;
    gap: 10px;
  }
  .btn-cta-main {
    font-size: 14px;
    min-height: 56px;
    padding: 14px 20px;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-family);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}
.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.5s ease;
}
.btn-primary:hover::after {
  left: 120%;
}
.btn-primary:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}
.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.btn-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}
.btn-navy:hover {
  background-color: var(--color-navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 43, 76, 0.3);
}
.btn-large {
  padding: 18px 48px;
  font-size: 16px;
  border-radius: 8px;
}
.btn i {
  font-size: 12px;
  transition: transform var(--transition-base);
}
.btn:hover i {
  transform: translateX(3px);
}

/* Flyer Ticker Section */
.flyer-ticker {
  overflow: hidden;
  background-color: var(--color-base);
  padding: 60px 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 35s linear infinite;
  transform: translateZ(0);
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-item {
  flex-shrink: 0;
  width: calc(100vw / 7);
  padding: 0 12px;
}
.ticker-item img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(26, 43, 76, 0.08);
  display: block;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  cursor: pointer;
}
.ticker-item img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 43, 76, 0.15);
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .flyer-ticker {
    padding: 40px 0;
  }
  .ticker-item {
    width: calc(100vw / 3);
    padding: 0 8px;
  }
}

/* Section Common */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-top: 20px;
  max-width: 600px;
}

/* Feature Section */
.features {
  padding: var(--section-padding) 0;
  background-color: var(--color-base);
}
.features-header {
  text-align: center;
  margin-bottom: 100px;
}
.features-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.feature-item:last-child {
  margin-bottom: 0;
}
.feature-item.reverse {
  direction: rtl;
}
.feature-item.reverse > * {
  direction: ltr;
}
.feature-number {
  font-size: 80px;
  font-weight: 900;
  color: rgba(26, 43, 76, 0.06);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.feature-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 24px;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy);
  background-color: var(--color-gray-100);
  border-radius: 100px;
}
.feature-tag i {
  color: var(--color-orange);
  font-size: 10px;
}
.feature-visual {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.feature-visual-inner {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(
    135deg,
    var(--color-gray-100),
    var(--color-gray-200)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
}
.feature-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card-visual {
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    var(--color-navy-light) 100%
  );
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}
.feature-card-visual .big-number {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.feature-card-visual .big-number span {
  font-size: 36px;
}
.feature-card-visual .big-label {
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
@media (max-width: 1024px) {
  .feature-item {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .feature-item.reverse {
    direction: ltr;
  }
  .feature-number {
    font-size: 56px;
  }
}

/* Benefit Section */
.benefits {
  padding: var(--section-padding) 0;
  background-color: var(--color-base);
  position: relative;
  transition: background-color 0.8s ease;
}
.benefits-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.benefits-header {
  margin-bottom: 80px;
}
.benefits-header .section-title {
  margin-bottom: 24px;
}
.benefits-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.benefit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.benefit-card {
  padding: 48px 32px;
  border-radius: 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-smooth);
  text-align: center;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 43, 76, 0.08);
  border-color: transparent;
}
.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1),
    rgba(255, 107, 53, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
  color: var(--color-orange);
}
.benefit-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.benefit-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
}
@media (max-width: 768px) {
  .benefit-cards {
    grid-template-columns: 1fr;
  }
}

/* Price Section */
.pricing {
  padding: var(--section-padding) 0;
  background-color: var(--color-gray-50);
}
.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}
.pricing-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid var(--color-gray-200);
  position: relative;
  transition: all var(--transition-smooth);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 43, 76, 0.08);
}
.pricing-card.featured {
  border: 2px solid var(--color-orange);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
  z-index: 2;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.pricing-plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  text-align: center;
}
.pricing-amount {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-gray-200);
}
.pricing-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1;
}
.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-light);
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--color-text-light);
}
.pricing-features li i {
  color: var(--color-orange);
  font-size: 14px;
  flex-shrink: 0;
}
.pricing-notes {
  max-width: 800px;
  margin: 48px auto 0;
  padding: 24px 32px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(26, 43, 76, 0.04);
}
.pricing-notes p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 1.5em;
  text-indent: -1.5em;
}
.pricing-notes p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 32px 24px;
  }
  .pricing-price {
    font-size: 36px;
  }
}

/* FAQ Section */
.faq {
  padding: var(--section-padding) 0;
  background-color: var(--color-base);
}
.faq-header {
  text-align: center;
  margin-bottom: 64px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-gray-200);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  gap: 24px;
  transition: color var(--transition-base);
  user-select: none;
}
.faq-question:hover {
  color: var(--color-orange);
}
.faq-q-text {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
}
.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}
.faq-toggle i {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: transform var(--transition-base);
}
.faq-item.is-open .faq-toggle {
  background-color: var(--color-navy);
}
.faq-item.is-open .faq-toggle i {
  transform: rotate(45deg);
  color: var(--color-white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-inner {
  padding: 0 0 24px 44px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-light);
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-padding) 0;
  background-color: var(--color-base);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}
.testimonials-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-smooth);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26, 43, 76, 0.08);
  border-color: transparent;
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gray-200);
}
.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
}
.testimonial-meta {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.testimonial-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
}
@media (max-width: 1024px) {
  .testimonial-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    var(--color-navy-light) 100%
  );
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(255, 107, 53, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.cta-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 40px;
}
.cta-microcopy {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.cta-microcopy-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.cta-microcopy-item i {
  color: var(--color-orange);
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (max-width: 768px) {
  .cta-microcopy {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

/* Contact Section */
.contact {
  padding: var(--section-padding) 0;
  background-color: var(--color-gray-50);
}
.contact-header {
  text-align: center;
  margin-bottom: 48px;
}
.contact-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.contact-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 56px 48px;
  box-shadow: 0 4px 24px rgba(26, 43, 76, 0.04);
}
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.form-required {
  display: inline-block;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-orange);
  border-radius: 3px;
}
.form-optional {
  display: inline-block;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
  background-color: var(--color-gray-100);
  border-radius: 3px;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-family);
  border: 1px solid var(--color-gray-200);
  border-radius: 8px;
  background-color: var(--color-gray-50);
  color: var(--color-text);
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(26, 43, 76, 0.08);
  background-color: var(--color-white);
}
.form-textarea {
  height: 140px;
  resize: vertical;
}
.form-checkbox-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
}
.form-submit {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-family);
  color: var(--color-white);
  background-color: var(--color-navy);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.form-submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}
.form-submit:hover {
  background-color: var(--color-navy-light);
  transform: translateY(-1px);
}
.form-submit:hover::after {
  left: 120%;
}
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 32px 24px;
  }
}

/* Schedule Section */
.p-schedule {
  background-color: var(--color-white);
  padding: var(--section-padding) 0;
}
.p-schedule-header {
  text-align: center;
  margin-bottom: 80px;
}
.p-schedule-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.p-schedule__scroll-hint {
  text-align: right;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xs);
  animation: flash 2s infinite;
}
@keyframes flash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@media (min-width: 769px) {
  .u-sp-only {
    display: none !important;
  }
}
.p-schedule__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
  padding-top: 1px;
  padding-left: 1px;
  position: relative;
  z-index: 1;
}
.p-schedule__table {
  width: 100%;
  min-width: 850px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 0.9rem;
}
.p-schedule__table th,
.p-schedule__table td {
  border-bottom: 1px solid var(--color-schedule-border);
  border-right: 1px solid var(--color-schedule-border);
  padding: 1.2em 0.8em;
  vertical-align: middle;
}
.p-schedule__table thead th {
  background-color: var(--color-schedule-header-bg);
  padding: 1em;
  font-weight: 700;
  text-align: center;
  color: var(--color-navy);
  border-top: 1px solid var(--color-schedule-border);
}
.p-schedule__table th:first-child {
  border-left: 1px solid var(--color-schedule-border);
}
.p-schedule__th-task {
  width: 260px;
  background-color: var(--color-white) !important;
  position: sticky;
  left: 0;
  top: 0;
  z-index: 20;
}
.p-schedule__table tbody th {
  background-color: var(--color-white);
  text-align: left;
  font-weight: normal;
  position: sticky;
  left: 0;
  z-index: 10;
}
.p-schedule__table tbody tr:hover td,
.p-schedule__table tbody tr:hover th {
  background-color: var(--color-gray-50);
}
.p-schedule__task-name--inline {
  display: inline-block;
  font-weight: 900;
  font-size: 0.85rem;
  margin-left: 4px;
}
.p-schedule__task-sub {
  display: block;
  font-size: 0.85rem;
  margin-top: 4px;
  margin-left: 1.5em;
  color: var(--color-navy);
}
.p-schedule__dot {
  font-size: 0.8rem;
  line-height: 1;
}
.p-schedule__dot--customer {
  color: var(--color-schedule-customer-main);
}
.p-schedule__dot--company {
  color: var(--color-schedule-company-main);
}
.u-text-customer {
  color: var(--color-schedule-customer-main);
}
.u-text-company {
  color: var(--color-schedule-company-main);
}
.p-schedule__td-holiday {
  background-color: var(--color-schedule-holiday-bg);
}
.p-schedule__td-holiday--text {
  text-align: center !important;
  vertical-align: middle !important;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: bold;
}
.p-schedule__bar {
  display: block;
  padding: 0.4em 0.8em;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}
.p-schedule__bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.p-schedule__bar--customer {
  background-color: var(--color-schedule-customer-light);
  color: var(--color-schedule-customer-main);
  border: 1px solid var(--color-schedule-customer-main);
}
.p-schedule__bar--company {
  background-color: var(--color-schedule-company-light);
  color: var(--color-schedule-company-main);
  border: 1px solid var(--color-schedule-company-main);
}
.p-schedule__td-relative {
  position: relative;
}
.p-schedule__bar--span-3 {
  position: absolute;
  top: 50%;
  left: 0.8em;
  transform: translateY(-50%);
  width: calc(300% + 2px - 1.6em);
  z-index: 5;
}
.p-schedule__bar--span-3:hover {
  transform: translateY(calc(-50% - 2px));
}

/* Footer */
.site-footer {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 64px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.05em;
}
.footer-company {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-links {
  display: flex;
  gap: 40px;
}
.footer-link-group h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-link-group a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  transition: color var(--transition-base);
}
.footer-link-group a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright {
  font-size: 12px;
}
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-title-line span {
    transform: none !important;
  }
  .feature-visual-inner {
    clip-path: none !important;
  }
  .btn::after,
  .header-cta::after,
  .form-submit::after,
  .btn-cta-main::after {
    display: none !important;
  }
  .btn-cta-pulse {
    animation: none !important;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

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

.u-text-right {
  text-align: right;
}

/* ==========================================================================
   Component Overrides (インラインスタイル移行用)
   ========================================================================== */

/* Pricing */
.pricing-price--no-margin {
  margin-bottom: 0;
}

.pricing-price--featured {
  color: var(--color-orange);
  margin-bottom: 0;
}

.pricing-plan-sub {
  font-size: 13px;
  font-weight: normal;
  color: var(--color-text-light);
}

.pricing-feature--highlight {
  font-weight: 900;
  color: var(--color-navy);
}

.pricing-feature--accent {
  font-weight: 900;
  color: var(--color-orange);
}

/* Feature Card */
.big-number--small {
  font-size: 56px;
}

/* Schedule */
.p-schedule__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 56px 48px;
  background: #ffffff;
  border-radius: 16px;
}

.form-success__icon {
  font-size: 48px;
  color: #ff6b35;
  margin-bottom: 16px;
}

.form-success__title {
  font-size: 24px;
  font-weight: 700;
  color: #1a2b4c;
  margin-bottom: 16px;
}

.form-success__text {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.8;
}

/* Form Privacy Agreement */
.form-privacy-agreement {
  margin-top: 32px;
  margin-bottom: 24px;
}

.form-privacy-agreement .form-checkbox-wrap {
  cursor: pointer;
}

.form-privacy-agreement input[type="checkbox"] {
  cursor: pointer;
}

.form-privacy-agreement a {
  color: var(--color-navy);
  text-decoration: underline;
  font-weight: 500;
}

/* Schedule Dot Inline */
.schedule-dot--customer-inline {
  color: var(--color-schedule-customer-main);
  font-weight: bold;
}

.schedule-dot--company-inline {
  color: var(--color-schedule-company-main);
  font-weight: bold;
}
