/* ---------------------------------------------------- */
/* Modern Reset & Base Variables                        */
/* ---------------------------------------------------- */
:root {
  --primary-color: #2cddb4;
  --primary-dark: #22a98a;
  --accent-color: #3b82f6;
  --text-main: #334155;
  --text-light: #64748b;
  --bg-color: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --font-main: 'Poppins', 'Noto Sans JP', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------------------------------------------------- */
/* Background Decorations                               */
/* ---------------------------------------------------- */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
}

.bg-shape-1 {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(44,221,180,0.3) 0%, rgba(255,255,255,0) 70%);
}

.bg-shape-2 {
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, rgba(255,255,255,0) 70%);
}

/* ---------------------------------------------------- */
/* Header                                               */
/* ---------------------------------------------------- */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
}

.smart { color: var(--text-main); font-size: 2.5rem; letter-spacing: -1px; }
.dash { color: var(--text-light); font-size: 2.5rem; margin: 0 5px; }
.cv { color: var(--primary-color); font-size: 2.5rem; letter-spacing: -1px; }

.subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ---------------------------------------------------- */
/* Main Content                                         */
/* ---------------------------------------------------- */
.main-content {
  padding: 4rem 20px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: var(--text-main);
  font-weight: 700;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Card Styling */
.card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 400px;
  display: block;
  position: relative;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 280px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を枠いっぱいに */
  object-position: top; /* 上部を表示 */
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-overlay {
  opacity: 1;
}

.btn-action {
  background: var(--white);
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.card:hover .btn-action {
  transform: translateY(0);
}

.card-body {
  padding: 1.5rem;
  text-align: center;
}

.card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ---------------------------------------------------- */
/* Bottom Section                                       */
/* ---------------------------------------------------- */
.bottom-section {
  background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%);
  padding: 4rem 20px;
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.5);
}

.features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  background: rgba(255,255,255,0.6);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.8);
}

.problem {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.solution-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.solution-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.emphasis {
  color: #ef4444; /* Red accent for urgency */
  background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(239,68,68,0.2) 60%);
  padding: 0 5px;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--text-main);
  opacity: 0.9;
}

.sp-only {
  display: none;
}

/* ---------------------------------------------------- */
/* Footer                                               */
/* ---------------------------------------------------- */
.footer {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  color: var(--text-light);
  font-size: 0.8rem;
  border-top: 1px solid #f1f5f9;
}

/* ---------------------------------------------------- */
/* Responsive                                           */
/* ---------------------------------------------------- */
@media (max-width: 768px) {
  .header-inner {
    padding: 1rem;
  }
  
  .smart, .dash, .cv { font-size: 2rem; }
  
  .main-content {
    padding: 2rem 20px;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .card {
    max-width: 100%;
  }

  .card-image {
    height: 200px;
  }
  
  /* スマホでは常にオーバーレイを表示、またはタップしやすく調整 */
  .card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%);
    align-items: flex-end;
    padding-bottom: 1rem;
  }
  
  .btn-action {
    transform: translateY(0);
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .solution-text {
    font-size: 1.4rem;
  }
  
  .sp-only {
    display: block;
  }
}
