@charset "UTF-8";

/* ==========================================================
   1. デザインシステム（基本変数・カラー）
============================================================ */
:root {
  /* カラーバリエーション */
  --color-primary: #12283F;       /* ネイビー：見出し・強調テキスト */
  --color-primary-dark: #0A1A2B;
  --color-accent: #0078D7;        /* アクセント：リンク・CTA・ポイント */
  --color-accent-light: #EAF4FF;  /* 薄いアクセント背景 */
  
  /* ニュートラルカラー */
  --color-bg: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-surface-sub: #FAFAF9;
  --color-border: #E4E4E0;
  --color-border-strong: #12283F;
  --color-text: #1C1C1C;
  --color-text-sub: #6B6B66;
  --color-quote-bg: #FAFAF9;
  --color-point-bg: #FFFFFF;
  --color-point-border: #0078D7;

  /* フォント・レイアウト */
  --font-base: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --radius: 4px;
  --max-width: 860px;
}

/* ==========================================================
   2. ベーススタイル（全画面共通）
============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 1rem; /* 16px相当 */
  line-height: 1.85;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;

  &:hover {
    opacity: 0.8;
  }
}

/* レイアウトコンテナ */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}


/* ==========================================================
   3. 共通レイアウトパーツ（ヘッダー・コンテンツ）
============================================================ */
.l-header {
  position: relative;
  width: 100vw;
}

.main-content-area {
  position: relative;
}

/* interview-grid クラス配下「以外」の img に適用 */
:not(.interview-grid) > img,
img:not(.interview-grid img) {
  /* 幅と高さのレスポンシブ維持 */
  max-width: 100%;
  height: auto;

  /* 親ブロック（.wrap）内でのセンタリング */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================
   4. ナビゲーション（パンくず）
============================================================ */
.breadcrumb {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
  font-size: 0.78rem; /* 約12.5px */
  letter-spacing: .02em;

  ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  li {
    &:not(:last-child)::after {
      content: ">";
      margin-left: 6px;
      color: var(--color-text-sub);
    }
    
    &:last-child {
      color: var(--color-text);
    }
  }

  a {
    color: var(--color-text-sub);
    
    &:hover {
      color: var(--color-accent);
    }
  }
}


/* ==========================================================
   5. 記事ヘッダー・ヒーロー領域
============================================================ */
.hero {
  padding: 40px 0 18px;
}

.tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  display: inline-block;
  padding: 3px 11px;
  border: 1px solid var(--color-primary);
  border-radius: 2px;
  color: var(--color-primary);
  font-size: 0.72rem; /* 約11.5px */
  font-weight: 700;
  letter-spacing: .04em;

  &.outline {
    border: 1px solid var(--color-border);
    color: var(--color-text-sub);
  }
}

h1.headline {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: clamp(23px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.01em;
}

.meta-line {
  margin-bottom: 10px;
  color: var(--color-text-sub);
  font-size: 0.78rem; /* 約12.5px */
}


/* ==========================================================
   6. 基本テキストコンポーネント（リード・サマリー・カード）
============================================================ */
.card {
  padding: 22px 22px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.lead-box {
  margin: 8px 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.94rem; /* 約15px */
}

.summary-block {
  margin: 44px 0;
  padding: 26px 24px;
  background: var(--color-surface-sub);
  border: 1px solid var(--color-border);

  h2 {
    margin: 0 0 14px;
    color: var(--color-text-sub);
    font-size: 1.1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  p {
    margin: 0;
    font-size: 0.94rem; /* 約15px */
  }
}


/* ==========================================================
   7. 目次 (TOC)
============================================================ */
.toc {
  margin: 0 0 40px;
  padding: 18px 4px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);

  .toc-title {
    margin-bottom: 10px;
    color: var(--color-text-sub);
    font-size: 0.9rem; /* 約14px */
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 24px;
    margin: 0;
    padding-left: 1.2em;
    font-size: 0.84rem; /* 約13.5px */
  }

  li {
    margin: 0;
  }

  a {
    color: var(--color-text);
    
    &:hover {
      color: var(--color-accent);
    }
  }
}


/* ==========================================================
   8. 記事本文・セクション
============================================================ */
.section-block {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 1.6rem;
  font-family: sans-serif;
}

h2.section-title {
  margin: 0 0 4px;
  padding: 0 0 16px 0;
  border-bottom: 2px solid var(--color-primary);
  background: none;
  color: var(--color-primary);
  font-size: clamp(22px, 3.2vw, 27px);
  font-weight: 700;
  line-height: 1.6;
}

.section-body {
  padding: 8px 0;
  background: var(--color-surface);

  h3.question:first-child {
    margin-top: 8px;
  }
}

h3.question {
  margin: 30px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--color-primary);
  color: var(--color-text);
  font-size: 1.1rem; /* 約17.5px */
  font-weight: 700;
}


/* ==========================================================
   9. 特殊記述ボックス（引用・ポイント・理由・リスト）
============================================================ */
/* 引用ブロック */
.quote {
  margin: 0 0 26px;
  padding: 4px 20px;
  background: var(--color-quote-bg);
  border-left: 2px solid var(--color-border);
  font-size: 0.94rem; /* 約15px */

  p {
    margin: 0 0 12px;
    color: var(--color-text);
    
    &:last-child {
      margin-bottom: 0;
    }
  }

  ul {
    margin: 6px 0;
    padding-left: 1.1em;
  }

  li {
    margin: 5px 0;
  }
}

/* ポイント枠 */
.point-box {
  margin: 20px 0 28px;
  padding: 16px 20px;
  background: var(--color-point-bg);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-point-border);

  .point-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--color-point-border);
    font-size: 0.9rem; /* 約14px */
    font-weight: 700;
    letter-spacing: .08em;
  }

  p, ul {
    margin: 6px 0 0;
    font-size: 0.9rem; /* 約14.5px */
  }

  ul {
    padding-left: 1.2em;
  }
}

/* 理由ブロック */
.reason-block {
  margin: 44px 0;
  padding: 28px 28px 26px;
  background: var(--color-surface-sub);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  color: var(--color-text);

  .reason-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-accent);
    font-size: 0.9rem; /* 約14px */
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  h2 {
    margin: 0 0 18px;
    color: var(--color-primary);
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    line-height: 1.6;
  }

  .reason-body {
    padding: 16px 0 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.94rem; /* 約15px */

	.reason-question {
      font-size: 1.1rem; 
      margin-bottom: 16px; /* 下との余白を少し広げるとさらに見やすくなります */
    }

    p {
      margin: 0 0 10px;
      color: var(--color-text);
      
      &:last-child {
        margin-bottom: 0;
      }
    }
    
    strong {
      color: var(--color-primary);
    }
  }

  ul {
    margin: 10px 0;
    padding-left: 1.2em;
  }

  li {
    margin: 6px 0;
  }
}

/* 簡易箇条書き */
.simple-list {
  margin: 10px 0 20px;
  padding-left: 1.15em;
  border: 0;
  list-style: disc;

  li {
    margin: 3px 0;
    padding: 0;
    border: 0;
    font-size: 0.9rem; /* 約14.5px */
    line-height: 1.48;
    
    &::marker {
      color: var(--color-primary);
      font-size: .85em;
    }
  }
}


/* ==========================================================
   10. インタビュー・事例専用レイアウト
============================================================ */
/* 2カラムレイアウト */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px;
  align-items: start;
  margin: 6px 0 24px;
}

/* 企業紹介カード・連絡先 */
.case-company-info {
  padding: 0;
  background: #fff;
  border: none;
}

.case-company-name {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: 1.06rem; /* 約17px */
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .01em;
}

.case-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.81rem; /* 約13px */
  line-height: 1.42;

  li {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 10px;
    position: relative;
    margin: 0 0 5px;
    padding-left: 12px;
    align-items: start;
    
    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: .68em;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: #0078D7;
    }
  }
}

.case-info-label {
  color: #4c6572;
  font-weight: 700;
  white-space: nowrap;
}

.case-info-value {
  color: var(--color-text);
  font-weight: 400;
}

.case-contact {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
  color: #3d4650;
  font-size: 0.78rem; /* 約12.5px */
  line-height: 1.42;
}

.case-contact-label {
  color: #4c6572;
  font-weight: 700;
  white-space: nowrap;
}

/* 効果サマリー（Before / After） */
.case-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 18px 0 34px;
}

.case-summary-panel {
  padding: 24px 26px 22px;
  background: var(--color-accent-light);

  &.before {
    background: #E2E9F0;
    
    .case-summary-icon svg {
      stroke: #5A6E80;
    }
  }

  h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.03rem; /* 約16.5px */
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .03em;
  }

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem; /* 約14.5px */
    line-height: 1.75;
  }

  li {
    position: relative;
    padding-left: 1.2em;
    margin: 4px 0;
    
    &::before {
      content: "・";
      position: absolute;
      left: 0;
    }
  }
}

.case-summary-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.case-summary-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;

  svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #0078D7;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}


/* ==========================================================
   11. 数値・実績表示（KPI）
============================================================ */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 26px 0 10px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.kpi {
  padding: 22px 10px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;

  &:last-child {
    border-bottom: none;
  }

  .num {
    color: var(--color-primary);
    font-size: 1.75rem; /* 28px */
    font-weight: 650;
    letter-spacing: -.01em;
  }

  .label {
    margin-top: 8px;
    color: #3F4F5F;
    font-size: 0.84rem; /* 約13.5px */
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: .02em;
  }
}


/* ==========================================================
   12. 画像・プレースホルダーパーツ
============================================================ */
.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 20px;
  background: #eef2f3;
  border: 1px solid var(--color-border);
  color: #777;
  text-align: center;
  font-size: 1rem; /* 16px */
  font-weight: 700;
}

figure.figure {
  margin: 22px 0 28px;

  .img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 20px;
    background: #eef2f3;
    border: 1px solid var(--color-border);
    color: #777;
    text-align: center;
    font-size: 0.88rem; /* 14px */
    font-weight: 700;
  }

  figcaption {
    margin-top: 8px;
    color: var(--color-text-sub);
    font-size: 0.75rem; /* 12px */
  }
}


/* ==========================================================
   13. アクション（CTAエリア・ボタン）
============================================================ */
.cta-band {
  margin: 48px 0;
  padding: 32px 24px;
  background: var(--color-surface-sub);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-align: center;

  p {
    margin: 0 0 20px;
    color: var(--color-text-sub);
    font-size: 0.94rem; /* 約15px */
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 2px;
  font-size: 0.87rem; /* 約14px */
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  transition: opacity .15s ease;

  &:hover {
    opacity: .85;
  }
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-outline {
  background: #fff;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}


/* ==========================================================
   14. 関連導入事例カードリスト
============================================================ */
/* リストグリッド */
.related-grid > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

/* 個別カード */
.related-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: opacity .2s ease;

  &:hover {
    opacity: .8;
  }
}

/* カードサムネイル */
.card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f9f9f9;
  border-bottom: 1px solid var(--color-border);

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* カード本文 */
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.tag-small {
  color: var(--color-text-sub);
  font-size: .75rem;
  font-weight: 500;
}

.ttl {
  color: var(--color-text);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.6;
}


/* ==========================================================
   15. その他・共通注釈
============================================================ */
.note-list {
  margin-top: 16px;
  color: var(--color-text-sub);
  font-size: 0.75rem; /* 12px */
  line-height: 1.7;
}

.page-footnote {
  margin: 30px 0 60px;
  color: var(--color-text-sub);
  font-size: 0.75rem; /* 12px */
  text-align: right;
}


/* ==========================================================
   16. レスポンシブメディアクエリ
============================================================ */
/* タブレット・SP用 (max-width: 768px) */
@media (max-width: 768px) {
  .related-grid > div {
    grid-template-columns: 1fr;
  }
}

/* デスクトップ向け微調整 (min-width: 701px) */
@media (min-width: 701px) {
  .kpi {
    border-right: 1px solid var(--color-border);
    border-bottom: none;
    
    &:last-child {
      border-right: none;
    }
  }
}