@charset "utf-8";

/*---------------------------
DX推進室アドバイザリー支援とは
---------------------------*/

/* コンテナ全体のデザイン */
.sp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  box-sizing: border-box;
}

.sp-container *,
.sp-container *::before,
.sp-container *::after {
  box-sizing: border-box;
}

/* セクション間隔 */
.sp-section {
  margin-bottom: 30px;
}

/* 大見出し */
.sp-main-title {
  color: #003366; /* 濃い紺色 */
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  border: none;
  background: none;
  padding: 0;
}

/* リード文 */
.sp-lead-text {
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 25px;
}
.sp-lead-text strong {
  font-weight: bold;
}

/* 改行コントロール */
.sp-pc-only {
  display: none;
}

/* カードグリッド（レスポンス対応） */
.sp-card-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* カード本体 */
.sp-card {
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

/* カードヘッダー */
.sp-card-header {
  padding: 15px;
  color: #ffffff;
}
.sp-card-tag {
  display: block;
  font-weight: bold;
}
.sp-card-title {
  margin: 5px 0 0 0;
  font-weight: bold;
  color: #ffffff;
  border: none;
  background: none;
  padding: 0;
}

/* ヘッダー背景色バリエーション */
.sp-bg-blue-dark {
  background-color: #003366;
}
.sp-bg-blue-mid {
  background-color: #005bb5;
}
.sp-bg-blue-light {
  background-color: #5194d1;
}

/* カードボディ */
.sp-card-body {
  padding: 20px;
  flex-grow: 1;
}

/* 解決アプローチタイトル */
.sp-approach-title {
  margin: 0 0 10px 0;
  font-weight: bold;
  color: #333333;
}

/* リストスタイル */
.sp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sp-list li {
  position: relative;
  padding-left: 15px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #333333;
}
.sp-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #888888; /* 箇条書きのドット色 */
}
.sp-list li:last-child {
  margin-bottom: 0;
}

/* 画面幅が768px以上（PC・タブレット）のスタイル */
@media (min-width: 768px) {
  .sp-pc-only {
    display: inline;
  }
  .sp-card-grid {
    flex-direction: row;
    align-items: stretch;
  }
  .sp-card {
    flex: 1; /* 3枚を均等幅に */
  }
}



/*----------------------------
なぜ、多くのの中小企業で「DX」が進まないのか？
----------------------------*/

/* コンテナ全体の定義 */
.sp-dx-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  box-sizing: border-box;
}

.sp-dx-container *,
.sp-dx-container *::before,
.sp-dx-container *::after {
  box-sizing: border-box;
}

/* --- PC用：テーブルスタイル --- */
.sp-dx-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  display: none; /* デフォルト（スマホ）では非表示 */
}

.sp-dx-table th {
  background-color: #000000; /* ヘッダーは黒 */
  color: #ffffff;
  padding: 15px;
  font-weight: bold;
  text-align: left;
  line-height: 1.4;
  vertical-align: middle;
}

.sp-dx-table td {
  padding: 20px 15px;
  line-height: 1.6;
  vertical-align: top;
  color: #000000;
}

/* 行ごとの背景色の薄いグレーの交互シマシマ */
.sp-dx-row-even td {
  background-color: #ededed;
}
.sp-dx-row-odd td {
  background-color: #dbdbdb;
}

/* 左端のタイトル列のみ少しフォントサイズや調整を入れる場合用 */
.sp-dx-td-title {
  white-space: nowrap;
}


/* --- スマホ用：カード型スタイル --- */
.sp-dx-mobile-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.sp-dx-card {
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sp-dx-card-header {
  background-color: #000000;
  color: #ffffff;
  padding: 12px 15px;
  font-weight: bold;
}

.sp-dx-card-body {
  padding: 15px;
  background-color: #f9f9f9;
}

.sp-dx-card-body .sp-dx-card-body:nth-child(even) {
  background-color: #ededed;
}

.sp-dx-card-label {
  font-size: 0.85em;
  color: #666666;
  font-weight: bold;
  margin-bottom: 4px;
  border-left: 3px solid #000000;
  padding-left: 6px;
}

.sp-dx-card-text {
  margin: 0 0 15px 0;
  line-height: 1.5;
}
.sp-dx-card-text:last-child {
  margin-bottom: 0;
}


/* --- 下部メッセージメッセージ --- */
.sp-dx-message-box {
  margin-top: 30px;
  text-align: left;
}

.sp-dx-lead-p {
  font-weight: bold;
  line-height: 1.7;
  margin: 0;
}

/* オレンジの強調マーカー */
.sp-dx-highlight {
  color: #ff6600; /* 明るいオレンジ */
}

.sp-dx-pc-only {
  display: none;
}


/* --- レスポンシブ切り替え（タブレット・PC以上） --- */
@media (min-width: 768px) {
  /* テーブルを表示してカードを隠す */
  .sp-dx-table {
    display: table;
  }
  .sp-dx-mobile-cards {
    display: none;
  }
  
  /* PCでの改行調整 */
  .sp-dx-pc-only {
    display: inline;
  }
  
  .sp-dx-message-box {
    /* PCでは少し文字を際立たせるための余白調整 */
    padding-left: 5px; 
  }
}

/*----------------------------
よくあるご相談内容
----------------------------*/

/* 全体のコンテナ */
.sp-faq-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  box-sizing: border-box;
}

.sp-faq-container *,
.sp-faq-container *::before,
.sp-faq-container *::after {
  box-sizing: border-box;
}

/* グリッドレイアウト（スマホ表示時は1列） */
.sp-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* カード本体 */
.sp-faq-card {
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

/* ナンバリングバッジ */
.sp-faq-badge {
  background-color: #5b9bd5; /* やや明るめのブルー */
  color: #ffffff;
  padding: 6px 15px;
  font-weight: bold;
  font-size: 1.1em;
  letter-spacing: 0.05em;
}

/* テキストエリア */
.sp-faq-body {
  padding: 25px 20px;
  flex-grow: 1;
  display: flex;
  align-items: center; /* 上下中央揃え */
}

.sp-faq-text {
  margin: 0;
  line-height: 1.7;
  color: #333333;
}

/* 画面幅が768px以上（PC・タブレット）の場合の2列表示 */
@media (min-width: 768px) {
  .sp-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 11fr); /* 2列に分割 */
    gap: 30px 25px; /* 行間と列間の余白 */
  }
}


/*----------------------------
船井総研のDX推進室アドバイザリー支援の特長
----------------------------*/
/* 全体のコンテナ */
.sp-feat-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  box-sizing: border-box;
}

.sp-feat-container *,
.sp-feat-container *::before,
.sp-feat-container *::after {
  box-sizing: border-box;
}

/* リスト全体の配置（上下の間隔） */
.sp-feat-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 各アイテムの外枠（スマホ時は縦並び） */
.sp-feat-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #dcdcdc;
  background-color: #ffffff;
}

/* ナンバリング部分の共通スタイル */
.sp-feat-badge {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  min-width: 100px;
}

/* ナンバリングの背景色グラデーション（上から順に濃くなる） */
.sp-feat-bg-01 {
  background-color: #0093d0; /* 明るい青 */
}
.sp-feat-bg-02 {
  background-color: #4472c4; /* くすんだ青 */
}
.sp-feat-bg-03 {
  background-color: #2f5597; /* 深い紺 */
}

/* テキストコンテンツを包むエリア */
.sp-feat-content {
  padding: 20px;
  flex-grow: 1;
}

/* 各項目のタイトル */
.sp-feat-title {
  margin: 0 0 12px 0;
  font-weight: bold;
  color: #000000;
  line-height: 1.4;
  border: none;
  background: none;
  padding: 0;
}

/* 各項目の説明文 */
.sp-feat-text {
  margin: 0;
  line-height: 1.6;
  color: #333333;
}

/* 画面幅が768px以上（PC・タブレット）の場合の横並びレイアウト切替 */
@media (min-width: 768px) {
  .sp-feat-item {
    flex-direction: row; /* 横並びにする */
    align-items: stretch; /* 左右の高さの揃え */
  }
  
  .sp-feat-badge {
    width: 16%; /* 全体に対する数字ブロックの横幅割合 */
    min-width: 120px;
    font-size: 1.8em;
  }
  
  .sp-feat-content {
    padding: 25px 30px; /* PC時は余白を広げてゆったり見せる */
    width: 84%;
  }
}



/*-------------------------
ご支援の流れ
-------------------------*/

/* ==========================================================================
   フェーズ全体のレイアウト（共通・PCベース）
   ========================================================================== */
.s-list-contents-3-wrap {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

.phase-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0;
}

/* ==========================================================================
   フェーズのヘッダータイトル（矢印デザイン）
   ========================================================================== */
.phase-title__first {
    color: #fff;
    line-height: 150%;
    font-size: 100%;
    -webkit-clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%);
    background-color: #0350a3;
    position: relative;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.phase-title {
    color: #fff;
    line-height: 150%;
    font-size: 95%;
    -webkit-clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 3% 50%);
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 3% 50%);
    background-color: #0350a3;
    position: relative;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ==========================================================================
   フェーズのコンテンツ本体（白い外枠）
   ========================================================================== */
.phase-body-box {
    border: 1px solid #c2c2c2;
    padding: 20px 15px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    height: 100%;
}

/* ==========================================================================
   箇条書きリストの共通設定（標準マーク無効化）
   ========================================================================== */
.phase-task-list, .role-list {
    margin: 0;
    padding: 0;
    list-style: none !important;
    text-align: left;
}

.phase-task-list {
    margin-bottom: 20px;
    min-height: 180px; /* PC用：白背景部分の空白を詰めるための設定 */
}

/* ==========================================================================
   擬似要素を使って「・」を強制的に自作する設定
   ========================================================================== */
.phase-task-list li, .role-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 100%;
    color: #333;
    display: block !important;
}

.phase-task-list li::before, .role-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #333;
    font-size: 14px;
}

/* ==========================================================================
   下部の強調エリア（船井総研の役割：薄黄色ボックス）
   ========================================================================== */
.role-box {
    background-color: #fdf3d6;
    border: 1px solid #b8b8b8;
    padding: 15px;
    margin-top: auto;
    min-height: 130px; /* PC用：テキストが1行でも、2行分の高さで揃うように固定 */
    box-sizing: border-box;
}

.role-title {
    font-weight: bold;
    font-size: 110%;
    margin: 0 0 10px 0;
    padding: 0;
    color: #000;
}

.role-list li {
    margin-bottom: 4px;
}
.role-list li:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   スマホ用表示（画面横幅 769px 以下）
   ========================================================================== */
@media screen and (max-width: 769px) {

    .s-list-contents-3-wrap {
        flex-direction: column; /* 縦並びに変更 */
        gap: 25px; /* 縦に並んだ時のボックス同士の隙間 */
    }

    /* フェーズ */
    .phase-section {
        width: 100%;
        flex: none;
    }

    .phase-title__first,
    .phase-title {
        font-size: 100%;
        height: auto;
        padding: 15px 10px; /* 高さがautoなので上下にクッションを付与 */
    }

    /* スマホ時は縦に並んで高さを揃える必要がないため、制限を解除してスッキリさせる */
    .phase-task-list {
        min-height: 0; 
        margin-bottom: 15px;
    }

    .role-box {
        min-height: 0; 
    }
}