/* ==================================================
   Consulting Page 用：個別上書き・追加スタイル
   ※ common.css の基本スタイルを前提に、ページ固有の調整のみ実施
================================================== */

/* ---------- 無料相談の流れ ---------- */
.flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.flow-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.circle-bg-card {
  box-sizing: border-box;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  font-size: 1em;
  padding: 10px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: none; /* ホバー時のアニメーションを完全に無効化 */
  position: relative; /* z-indexを適用するため */
  z-index: 0;
}

/* もし既存の擬似要素がある場合は、テキストを上に出す */
.circle-bg-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  z-index: 1;
}

/* テキストが常に白く、かつ擬似要素より上に表示されるように */
.circle-bg-card h3,
.circle-bg-card p {
  position: relative;
  z-index: 2;
  color: #fff
}

/* 子要素のスタイルは従来と同様 */
.circle-bg-card h3 {
  margin: 5px 0;
  font-size: 1.2em;
}

.circle-bg-card p {
  margin: 5px 0 0;
  font-size: 0.9em;
  font-weight: normal;
}

.circle-bg-card:hover {
  transition: none;
  transform: none;
  box-shadow: none;
  cursor: default;
}


/* consulting.css での circle-fill の上書き例 */
.circle-fill {
  box-sizing: border-box;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  font-size: 1em; 
  padding: 10px;
  flex-shrink: 0;
}

/* 追加の子要素用スタイル */
.circle-fill h3 {
  margin: 5px 0;
  font-size: 1.2em;
}

.circle-fill p {
  margin: 5px 0 0;
  font-size: 0.9em;
  font-weight: normal;
}


/* ステップ間の矢印 */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 20px;
  flex-shrink: 0;
}

.step-arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--brand-color);
}

/* スマホ時：流れの各項目を縦並びに */
@media (max-width: 768px) {
  .flow-item {
    flex-direction: column;
  }
  .step-arrow::before {
    transform: rotate(90deg);
  }
}

/* ---------- ご相談いただけるテーマ ---------- */
.voc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-content: center;
  padding: 0 60px;
}

@media (max-width: 1024px) {
  .voc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .voc-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* カード：ご相談テーマ用（common.css の .card 定義を上書き） */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0;  /* 内部は各部品で調整 */
  text-align: center;
  overflow: hidden;
  transition: none;
}

.card-header {
  background-color: var(--brand-color);
  color: #fff;
  padding: 15px;
  border-radius: 10px 10px 0 0;
  font-weight: bold;
}

.card-content {
  padding: 20px;
}

/* ホバー効果を無効化（相談テーマカードのみ） */
.voc-grid .card:hover {
  transform: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  filter: none !important;
}

/* ---------- サービス内容 ---------- */
.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  text-align: center;
  margin-top: 20px;
}

.service-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .w60-center {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
  }
}