/* ===============================
   SERVICEページ専用：2×2固定グリッド
=============================== */
#service .service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列固定 */
  gap: 24px;
  margin-top: 24px;
}

/* 小型端末（極端に狭い画面）のみ1列に */
@media (max-width: 400px) {
  #service .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   SERVICE MENU セクション
=============================== */
#service {
  padding: 80px 20px;
  background: #f8f8f8;
}

#service .section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 16px;
}

#service p {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.8;
  color: #333;
}

/* ===============================
   GRID LAYOUT
=============================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

/* ===============================
   CARD
=============================== */
.service-grid .card {
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ===============================
   ICON（スマート配置）
=============================== */
.service-grid .card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

/* ===============================
   CONTENT
=============================== */
.service-grid .card .content h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

.service-grid .card .content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75em;
  color: #444;
}

.service-grid .card .content small {
  font-size: 0.85rem;
  color: #777;
}
/* ===============================
   制作フロー（FLOW）
=============================== */
.section {
  padding: 80px 20px;
  background: #f8f8f8;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

/* フローステップ全体 */
.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-left: 4px solid #000; /* 強調ライン */
  padding: 20px 24px;
  margin: 0 auto 24px;
  max-width: 720px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ステップタイトル */
.flow-step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.4;
}

/* ステップ本文 */
.flow-step p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

/* ステップ番号（左側タイムラインの丸） */
.flow-step::before {
  content: attr(data-step);
  position: absolute;
  left: -34px;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* スマホ対応 */
@media (max-width: 600px) {
  .flow-step {
    padding: 16px 20px;
  }

  .flow-step::before {
    left: -24px;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}
