/**
 * AutIm LP CSS
 * Tones: 清潔感 (Clean), 信頼感 (Trust), スマート (Smart)
 * Colors: White(Base), Blue(Main), Navy/Slate(Text)
 */

:root {
  /* Colors */
  --c-base: #FFFFFF;
  --c-light: #F8FAFC;
  --c-main: #2563EB;
  /* 鮮やかで信頼感のあるブルー */
  --c-main-dark: #1D4ED8;
  --c-main-light: #EFF6FF;
  --c-text: #1E293B;
  /* 濃紺/スレート */
  --c-text-muted: #64748B;
  --c-border: #E2E8F0;

  --c-line: #06C755;
  /* LINEグリーン */
  --c-line-hover: #05A546;

  /* Typography */
  --font-base: 'Inter', 'Noto Sans JP', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);

  /* Radius */
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Layout */
  --container-w: 1000px;
  --px-sp: 20px;
}

/* =========================================
   Reset & Base
========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--c-text);
  background-color: var(--c-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   Typography & Logo
========================================= */
.logo,
.logo-text {
  font-family: 'Inter', sans-serif;
  /* 直線的・スマート・AI感 */
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--c-main);
}

.header .logo {
  font-size: 1.75rem;
}

/* =========================================
   Layout
========================================= */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--px-sp);
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--c-light);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title.left {
  text-align: left;
}

/* =========================================
   Buttons
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-sm {
  padding: 8px 24px;
  font-size: 0.9rem;
  background-color: var(--c-base);
  color: var(--c-main);
  border: 1px solid var(--c-main);
}

.btn-sm:hover {
  background-color: var(--c-main-light);
}

.btn-cta {
  background-color: var(--c-line);
  /* LINEグリーン */
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-cta:hover {
  background-color: var(--c-line-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 1;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.25rem;
  width: 100%;
  max-width: 400px;
}

.line-icon {
  margin-right: 8px;
  font-size: 1.5rem;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: 12px;
  font-weight: 500;
}

/* Pulse Animation for CTA */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(6, 199, 85, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0);
  }
}

.pulse-anim {
  animation: pulse 2s infinite;
}

/* =========================================
   Header
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
  z-index: 100;
  height: 70px;
}

.header-nav {
  margin-left: auto;
  margin-right: 40px;
}

.nav-list {
  display: flex;
  gap: 24px;
}

.nav-list a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
  transition: color 0.3s;
}

.nav-list a:hover {
  color: var(--c-main);
  opacity: 1;
}

.header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--px-sp);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================
   FV (First View)
========================================= */
.fv {
  padding-top: 100px;
  /* Header space */
  padding-bottom: 60px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, var(--c-main-light), transparent 50%);
  overflow: hidden;
}

.fv-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--px-sp);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.fv-content {
  flex: 1;
  max-width: 600px;
}

.fv-subcopy {
  display: inline-block;
  background-color: var(--c-text);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.fv-catchcopy {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 30px;
  color: var(--c-text);
}

.fv-catchcopy .logo-text {
  font-size: 3rem;
  vertical-align: bottom;
}

.fv-benefits {
  margin-bottom: 40px;
}

.fv-benefits li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.icon-check {
  color: var(--c-main);
  margin-right: 8px;
}

.fv-image {
  flex: 1;
  max-width: 500px;
}

/* =========================================
   Worries (こんな悩み)
========================================= */
.worries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.worry-card {
  background: var(--c-base);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  width: calc(33.333% - 14px);
  text-align: center;
  border: 1px solid var(--c-border);
  transition: transform 0.3s;
}

.worry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-main-light);
}

.worry-icon {
  font-size: 2.5rem;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}

.worry-card p {
  font-size: 0.95rem;
  font-weight: 500;
}

.worries-solution {
  text-align: center;
  margin-top: 40px;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid var(--c-main);
  margin: 0 auto 20px;
}

.worries-solution p {
  font-size: 1.5rem;
  font-weight: 700;
}

.worries-solution .logo-text {
  font-size: 1.8rem;
}

/* =========================================
   About (できること)
========================================= */
.about-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-desc {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  background: var(--c-main-light);
  color: var(--c-main-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
}

.about-image {
  flex: 1;
}

/* =========================================
   Features (選ばれる理由)
========================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--c-base);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.feature-num {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 6rem;
  font-weight: 900;
  color: var(--c-light);
  line-height: 1;
  z-index: 0;
  font-family: 'Inter', sans-serif;
}

.feature-title {
  font-size: 1.25rem;
  color: var(--c-main);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.feature-card p {
  position: relative;
  z-index: 1;
}

/* =========================================
   Cases (事例)
========================================= */
.cases-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-card {
  background: var(--c-base);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.case-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.case-badge {
  background: var(--c-text);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-right: 16px;
}

.case-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.case-content {
  background: var(--c-light);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.case-row {
  display: flex;
  align-items: center;
}

.case-row.before {
  margin-bottom: 16px;
  color: var(--c-text-muted);
}

.case-row.after {
  font-weight: 600;
}

.case-row.after strong {
  color: var(--c-main);
}

.status-label {
  display: inline-block;
  width: 70px;
  text-align: center;
  padding: 4px 0;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 16px;
  flex-shrink: 0;
}

.before-label {
  background: #E2E8F0;
  color: #475569;
}

.after-label {
  background: var(--c-main-light);
  color: var(--c-main);
}

.case-effect {
  display: flex;
  align-items: center;
  background: rgba(37, 99, 235, 0.05);
  border-left: 4px solid var(--c-main);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--c-main-dark);
  font-weight: 600;
}

.case-effect .material-symbols-outlined {
  margin-right: 12px;
  font-size: 1.5rem;
}

.case-effect strong {
  font-size: 1.1em;
}

/* 中間CTA */
.cta-box {
  background: var(--c-main-light);
  padding: 50px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 60px;
}

.cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* =========================================
   Flow (導入の流れ)
========================================= */
.flow-steps {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: var(--c-main-light);
}

.step-card {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.step-card:last-child {
  margin-bottom: 0;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--c-main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--c-light);
}

.step-content {
  margin-left: 24px;
  background: var(--c-base);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1;
  border: 1px solid var(--c-border);
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.step-num {
  font-size: 0.8rem;
  background: var(--c-main-light);
  color: var(--c-main);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 12px;
  font-weight: 700;
}

/* =========================================
   Price & Support
========================================= */
.price-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.price-box,
.support-box {
  background: var(--c-base);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
}

.price-box {
  border-top: 6px solid var(--c-main);
}

.support-box {
  border-top: 6px solid var(--c-text);
}

.price-amount {
  font-size: 4rem;
  font-weight: 900;
  text-align: center;
  color: var(--c-main);
  margin: 20px 0;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

.price-currency {
  font-size: 2rem;
  vertical-align: super;
}

.price-suffix {
  font-size: 1.5rem;
  color: var(--c-text);
}

.price-notes {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.price-notes li {
  margin-bottom: 8px;
}

.support-duration {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--c-border);
}

.support-duration strong {
  color: var(--c-main);
  font-size: 1.4rem;
}

.support-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.support-list .material-symbols-outlined {
  color: var(--c-main);
  margin-right: 12px;
}

.after-support {
  margin-top: 30px;
  background: var(--c-light);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
}

.after-support h4 {
  color: var(--c-main-dark);
  margin-bottom: 8px;
}

.after-support p {
  font-size: 0.9rem;
}

/* =========================================
   FAQ
========================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--c-base);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  overflow: hidden;
}

.faq-q {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-q:hover {
  background: var(--c-light);
}

.faq-icon-q,
.faq-icon-a {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 16px;
  flex-shrink: 0;
}

.faq-icon-q {
  color: var(--c-main);
}

.faq-icon-a {
  color: var(--c-text-muted);
}

.faq-q h3 {
  flex: 1;
  font-size: 1.1rem;
  margin-right: 20px;
}

.toggle-icon {
  color: var(--c-text-muted);
  transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  /* アイコンを上揃えにする */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--c-light);
  border-top: 1px solid transparent;
}

.faq-icon-a {
  line-height: 1.6;
  /* テキストのline-heightと合わせる */
  font-size: 1.25rem;
  /* 少しサイズを調整 */
}

.faq-a p {
  padding-top: 2px;
  /* アイコンとの微調整 */
}

.faq-item.active .faq-a {
  padding: 24px;
  max-height: 500px;
  border-top-color: var(--c-border);
}

/* =========================================
   Bottom CTA & Footer
========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--c-main), var(--c-text));
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.cta-heading {
  font-size: 2rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

.cta-box-main {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-box-main .cta-note {
  color: rgba(255, 255, 255, 0.8);
}

.footer {
  background: var(--c-text);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.footer-logo .logo-accent {
  color: #60A5FA;
  /* フッター用に少し明るい青 */
}

.footer-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', sans-serif;
}

/* =========================================
   Animations
========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.appear {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 768px) {
  .hidden-sp {
    display: none;
  }

  .fv {
    padding-top: 80px;
    flex-direction: column;
    text-align: center;
  }

  .fv-inner {
    flex-direction: column;
  }

  .fv-benefits {
    display: inline-block;
    text-align: left;
  }

  .worries-grid {
    flex-direction: column;
  }

  .worry-card {
    width: 100%;
  }

  .about-flex {
    flex-direction: column;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
    margin-bottom: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .price-support-grid {
    grid-template-columns: 1fr;
  }

  .case-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-label {
    margin-bottom: 8px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }
}