/* ============================================================
   area--new-content（area--2-5）: 生成AI活用支援セクション
   専用 CSS — style.css を一切変更しません
   ============================================================ */

/* ---------- カスタムプロパティ ---------- */
:root {
  --anc-orange: #f08300;
  --anc-orange-light: #fff3e0;
  --anc-orange-pale: #fefaf2;
  --anc-dark: #3d3d3d;
  --anc-gray: #888;
  --anc-border: #f08300;
  --anc-bubble-1: #b2d9f0;  /* 水色系 */
  --anc-bubble-2: #f4c6e8;  /* ピンク系 */
  --anc-bubble-3: #ffd6b3;  /* オレンジ系 */
}

/* ---------- セクション全体 ---------- */
.area--new-content {
  padding: 80px 0 100px;
  background-color: #fff;
  position: relative;
}

/* ---------- 見出しブロック ---------- */
.anc__heading {
  text-align: center;
  margin-bottom: 60px;
}

.anc__heading-en {
  color: var(--anc-orange);
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: .15em;
  margin: 0 0 8px;
}

.anc__heading-ja {
  font-family: "KaiseiOpti", serif;
  font-size: 3.6rem;
  line-height: 1.5;
  letter-spacing: .05em;
  color: var(--anc-dark);
  margin: 0 0 16px;
  /* 下線：オレンジの点線 */
  display: inline-block;
  padding-bottom: 12px;
  background-image: linear-gradient(to right, var(--anc-orange) 4px, transparent 4px, transparent 8px);
  background-size: 8px 2px;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.anc__heading-accent {
  color: var(--anc-orange);
}

.anc__heading-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: var(--anc-dark);
  margin: 12px 0 0;
}

.anc__br-sp {
  display: none;
}

/* ---------- 本文 ＋ バブル：横並びレイアウト ---------- */
.anc__body-row {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 80px;
}

/* --- テキストブロック --- */
.anc__text-block {
  flex: 1;
}

.anc__question {
  font-family: "KaiseiOpti", serif;
  font-size: 1.8rem;
  color: var(--anc-orange);
  line-height: 1.8;
  margin: 0 0 8px;
}

.anc__lead {
  font-size: 1.6rem;
  margin: 0 0 16px;
  font-weight: bold;
  color: var(--anc-dark);
}

.anc__text-block p {
  font-size: 1.6rem;
  line-height: 2.1;
  margin: 0 0 32px;
}

.anc__viewmore {
  display: block;
  width: fit-content;
}

/* --- バブル図 --- */
.anc__bubble-wrap {
  flex: 0 0 340px;
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anc__bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-sizing: border-box;
}

.anc__bubble--top {
  width: 180px;
  height: 180px;
  background-color: var(--anc-bubble-1);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.anc__bubble--left {
  width: 170px;
  height: 170px;
  background-color: var(--anc-bubble-2);
  bottom: 10px;
  left: 0;
}

.anc__bubble--right {
  width: 170px;
  height: 170px;
  background-color: var(--anc-bubble-3);
  bottom: 10px;
  right: 0;
}

.anc__bubble-title {
  font-family: "KaiseiOpti", serif;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.5;
  color: var(--anc-dark);
  margin: 0 0 4px;
}

.anc__bubble-small {
  font-size: 1.1rem;
}

.anc__bubble-sub {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--anc-dark);
  margin: 0;
}

/* ---------- 実績見出し ---------- */
.anc__results-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
}

.anc__results-heading h3 {
  font-family: "KaiseiOpti", serif;
  font-size: 2.8rem;
  color: var(--anc-dark);
  white-space: nowrap;
  letter-spacing: .08em;
  margin: 0;
}

.anc__deco-line {
  display: block;
  flex: 1;
  height: 1px;
  /* 斜め線のような装飾 */
  background: linear-gradient(to right, transparent, var(--anc-gray));
}

.anc__deco-line:last-child {
  background: linear-gradient(to left, transparent, var(--anc-gray));
}

/* ---------- CASE ブロック ---------- */
.anc__case-block {
  margin-bottom: 80px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

/* CASEラベル行 */
.anc__case-label {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 24px 32px 16px;
}

.anc__case-num {
  font-family: "Jost", sans-serif;
  font-size: 3.6rem;
  font-weight: bold;
  color: var(--anc-dark);
  letter-spacing: .05em;
  line-height: 1;
}

.anc__case-num em {
  font-style: normal;
  font-size: 5rem;
  color: var(--anc-orange);
}

.anc__case-name {
  font-family: "KaiseiOpti", serif;
  font-size: 1.8rem;
  color: var(--anc-dark);
  border-left: 3px solid var(--anc-orange);
  padding-left: 12px;
}

/* 区切り線 */
.anc__case-divider {
  height: 2px;
  background-image: linear-gradient(to right, var(--anc-orange), var(--anc-orange) 4px, transparent 4px, transparent 8px);
  background-size: 8px 2px;
  background-repeat: repeat-x;
  margin: 0 32px;
}

/* GSC画像エリア */
.anc__gsc-image {
  padding: 24px 32px;
  background-color: var(--anc-orange-pale);
}

.anc__gsc-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* 実績数値グリッド */
.anc__stats {
  display: flex;
  flex-wrap: wrap;
  padding: 24px 32px 8px;
  gap: 0;
}

.anc__stat-item {
  width: 50%;
  box-sizing: border-box;
  padding: 10px 16px;
  border-bottom: 1px dashed #e0e0e0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.anc__stat-item dt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  color: var(--anc-dark);
  white-space: nowrap;
  flex: 0 0 140px;
}

.anc__stat-item dd {
  font-size: 1.5rem;
  color: var(--anc-dark);
  flex: 1;
}

.anc__stat-up {
  font-family: "Jost", sans-serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--anc-orange);
  margin-left: 8px;
  white-space: nowrap;
}

/* コメント */
.anc__case-comment {
  background-color: var(--anc-orange-pale);
  margin: 16px 32px 24px;
  border-radius: 8px;
  padding: 20px 24px;
  border-left: 4px solid var(--anc-orange);
}

.anc__case-comment p {
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--anc-dark);
  margin: 0;
}

/* ---------- 下部 View more ---------- */
.anc__results-more {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ============================================================
   レスポンシブ対応（スマホ: max-width 768px）
   ============================================================ */
@media only screen and (max-width: 768px) {

  .area--new-content {
    padding: 60px 0 80px;
  }

  /* 見出し */
  .anc__heading-ja {
    font-size: 2.2rem;
    display: block;
    padding-left: 0;
    padding-right: 0;
  }

  .anc__br-sp {
    display: block;
  }

  .anc__heading-sub {
    font-size: 1.4rem;
    padding: 0 16px;
  }

  /* 本文 + バブル → 縦並び */
  .anc__body-row {
    flex-direction: column;
    gap: 40px;
  }

  .anc__text-block {
    width: 100%;
  }

  .anc__text-block p {
    font-size: 1.4rem;
  }

  /* バブル：縦並び＆中央揃え */
  .anc__bubble-wrap {
    width: 100%;
    flex: none;
    height: auto;
    position: static;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .anc__bubble {
    position: static;
    transform: none;
    width: 100% !important;
    height: auto !important;
    border-radius: 20px;
    padding: 20px;
  }

  .anc__bubble-title {
    font-size: 1.6rem;
  }

  .anc__bubble-sub {
    font-size: 1.3rem;
  }

  /* 実績見出し */
  .anc__results-heading {
    gap: 12px;
  }

  .anc__results-heading h3 {
    font-size: 1.8rem;
    white-space: normal;
    text-align: center;
  }

  /* CASE ブロック */
  .anc__case-label {
    padding: 16px 20px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .anc__case-num {
    font-size: 2.4rem;
  }

  .anc__case-num em {
    font-size: 3.2rem;
  }

  .anc__case-name {
    font-size: 1.5rem;
  }

  .anc__case-divider {
    margin: 0 20px;
  }

  .anc__gsc-image {
    padding: 16px 20px;
  }

  .anc__stats {
    padding: 16px 20px 4px;
  }

  /* 数値グリッド：スマホは1カラム */
  .anc__stat-item {
    width: 100%;
    flex-direction: row;
    align-items: baseline;
    padding: 8px 0;
  }

  .anc__stat-item dt {
    flex: 0 0 120px;
    font-size: 1.3rem;
  }

  .anc__stat-item dd {
    font-size: 1.4rem;
  }

  .anc__stat-up {
    font-size: 1.4rem;
  }

  .anc__case-comment {
    margin: 12px 20px 20px;
    padding: 16px 20px;
  }

  .anc__case-comment p {
    font-size: 1.3rem;
  }
}
