@charset "UTF-8";
/* ==========================================================
   カラーテーマ：SAP Business AI のトーン（青→紫グラデーション）
   参考：SAP「Joule ビジネスAI」ページのヒーロー
         linear-gradient(#470ced 0%, #a100c2 100%)
         = udexColorIndigo8 → udexColorPink8
   ※色の変更はこの変数だけで完結するようにしています
   ========================================================== */
:root {
  --c-blue: #0070f2;          /* udexColorBlue7 */
  --c-indigo: #470ced;        /* udexColorIndigo8 */
  --c-purple: #a100c2;        /* udexColorPink8 */
  --c-primary: #470ced;       /* 見出しライン・アイコン等のアクセント */
  --c-primary-dark: #2c13ad;  /* udexColorIndigo9（ホバー等） */
  --c-navy: #1c0c6e;          /* udexColorIndigo10（濃い文字） */
  --c-deep: #0e0637;          /* udexColorIndigo11（ヘッダー・フッター） */
  --c-line: #e2d8ff;          /* udexColorIndigo2 */
  --c-line-strong: #b894ff;   /* udexColorIndigo4 */
  --c-tint: #f6f3ff;          /* 薄い背景 */
  --c-dot: #e2d8ff;
  --grad-main: linear-gradient(180deg, #470ced 0%, #a100c2 100%);        /* 面（MV・CV） */
  --grad-accent: linear-gradient(90deg, #0070f2 0%, #470ced 55%, #a100c2 100%); /* ボタン・ライン */
  --grad-soft: linear-gradient(180deg, #f1ecff 0%, #fff0fa 100%);        /* 薄い面 */
}
/* ==========================================================
   SAP S/4HANA Cloud Public Edition 導入支援LP 追加CSS
   ベース：saperp_management/css/style.css（そのまま流用）
   ここには新LPで追加した要素のみを記述
   ========================================================== */

/* ---------- アタリ（画像・作図の仮置き） ---------- */
.atari {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 200px;
  margin: 20px auto;
  padding: 20px;
  background: repeating-linear-gradient(45deg, #f2f2f2, #f2f2f2 12px, #e8e8e8 12px, #e8e8e8 24px);
  border: 2px dashed #9a9a9a;
  border-radius: 8px;
  color: #666;
  text-align: center;
  font-size: 0.9rem;
}
.atari::before {
  content: "アタリ";
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  background: #666;
  color: #fff;
  font-size: 0.7rem;
  border-radius: 3px;
}
.atari .atari-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #444;
}
.atari .atari-note {
  font-size: 0.8rem;
  text-align: left;
  margin: 6px 0 0;
  padding: 0;
}
.atari .atari-note li {
  margin-bottom: 2px;
  list-style: disc;
  margin-left: 1.2em;
}

/* ---------- 制作メモ（確認事項。公開時は削除） ---------- */
.memo {
  margin: 10px 0 20px;
  padding: 10px 14px;
  background: #fff8d6;
  border-left: 4px solid #f2c200;
  font-size: 0.85rem;
  color: #5a4a00;
}
.memo::before {
  content: "制作メモ：";
  font-weight: 700;
}

/* ---------- メインビジュアル（アタリ版） ---------- */
.top_visual.is-gradient {
  background-image: none;
  background: repeating-linear-gradient(45deg, #dcdcdc, #dcdcdc 14px, #d2d2d2 14px, #d2d2d2 28px);
  border: 2px dashed #9a9a9a;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.top_visual.is-gradient::before {
  content: "メインビジュアル アタリ（成長企業向けのスタイリッシュなイメージ）";
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 0.75rem;
  color: #666;
}
.top_visual h1 {
  margin-bottom: 0;
}
.top_visual .h1-sub {
  display: block;
  font-size: 0.45em;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 10px;
}
/* キャンペーン訴求（MV内） */
.mv-campaign {
  margin: 10px 40px 0;
  padding: 12px 20px;
  background: #FF643C;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.mv-campaign small {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
}
.mv-campaign strong {
  font-size: 1.6rem;
}

/* ---------- 見出し補足 ---------- */
h4 {
  border-left: 4px solid var(--c-primary);
  padding-left: 10px;
  line-height: 1.4;
}
h5 {
  font-size: 1.05rem;
  margin: 15px 0 8px;
  color: var(--c-primary-dark);
}
.lead-strong {
  font-weight: 700;
  font-size: 1.1rem;
}

/* ---------- 副CTA（相談する・青） ---------- */
.cta-button.is-sub {
  background-color: var(--c-primary-dark);
}
.cta-button.is-sub:hover {
  background-color: var(--c-navy);
}
.btn-center {
  text-align: center;
}

/* ---------- 適している企業（2カラムカード） ---------- */
.target-cols {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}
.target-card {
  flex: 1;
  padding: 10px 25px 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.target-card h3 {
  font-size: 1.2rem;
}
.target-card .check-list {
  box-shadow: none;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
}

/* ---------- 2つの導入モデル（カード） ---------- */
.model-cards {
  display: flex;
  gap: 20px;
  margin: 20px 0 10px;
}
.model-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 5px 25px 20px;
  border: 2px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
}
.model-card p {
  flex: 1;
}
.model-card .service-link {
  margin: 10px auto 0;
}
.model-card .tag-campaign {
  display: inline-block;
  margin-top: 15px;
  padding: 2px 10px;
  background: #FF643C;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 3px;
}

/* ---------- 導入モデル詳細ブロック ---------- */
.model-block {
  margin: 40px 0;
  padding: 10px 30px 20px;
  background: var(--c-tint);
  border-radius: 14px;
}
.model-block > h3:first-child {
  margin-top: 20px;
}
.model-head {
  display: flex;
  gap: 30px;
  align-items: center;
}
.model-head > div {
  flex: 1;
}
.model-head .atari {
  flex: 0 0 420px;
  min-height: 180px;
}
.campaign-box {
  margin: 30px 0;
  padding: 20px 30px 10px;
  background: #fff;
  border: 2px solid #FF643C;
  border-radius: 10px;
}
.campaign-box h4 {
  border-left-color: #FF643C;
}
.campaign-box .campaign-visual {
  max-width: 820px;
  margin: 0 auto 10px;
}
.campaign-box .campaign-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.campaign-box .cta-button {
  margin: 30px auto 20px;
}
.price {
  color: #FF643C;
  font-size: 1.4em;
  font-weight: 900;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  background: #fff;
}
.info-table th,
.info-table td {
  border: 1px solid #ccc;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 200px;
  background: #f5f5f5;
}
.dot-list li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 6px;
}
.dot-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.text-link {
  color: var(--c-primary-dark);
}
.note-list {
  font-size: 0.9rem;
  padding: 10px 15px;
  background: #fff;
  border-radius: 8px;
}
.scope-box {
  margin: 15px 0;
  padding: 15px 20px;
  background: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
}
.scope-box dt {
  margin-top: 8px;
  color: var(--c-primary-dark);
}
.scope-box dd {
  margin-bottom: 8px;
}

/* ---------- 3つのポイント（.reason流用の補足） ---------- */
.reason .reason-list {
  padding: 5px 30px 15px;
}
.reason .reason-list > div:first-child {
  flex: 1;
}
/* 正方形イメージのアタリ（本番は <img class="reason_image"> に差し替え） */
.reason .reason_atari {
  flex: 0 0 160px;
  height: 160px;
  min-height: 0;
  padding: 10px;
  font-size: 0.75rem;
}
.reason .column-box {
  margin-top: 30px;
  padding: 10px 30px 20px;
  background: #fff;
  border: 2px solid var(--c-primary);
  border-radius: 14px;
}
.reason .column-box h4 {
  margin-top: 15px;
}

/* ---------- 選ばれる理由 ---------- */
.why-block {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 20px;
}
.why-block > div {
  flex: 1;
}
.why-block .atari {
  flex: 0 0 380px;
  min-height: 160px;
}

/* 画像の縦横比を維持（width/height属性指定時のつぶれ防止） */
.vars_img img {
  height: auto;
}

/* ---------- 最終CV ---------- */
.final-cv {
  margin-top: 40px;
  padding: 10px 30px 10px;
  background: var(--c-tint);
  border-radius: 14px;
  text-align: center;
}
.final-cv h2 {
  border: none;
  padding-left: 0;
  font-weight: 900;
}

/* ---------- FAQ（アコーディオン） ---------- */
.faq-tools {
  text-align: right;
  margin: -10px 0 10px;
}
.faq-all {
  padding: 4px 14px;
  background: #fff;
  border: 1px solid var(--c-primary);
  border-radius: 40px;
  color: var(--c-primary);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.faq-all:hover {
  background: var(--c-primary);
  color: #fff;
}
.faq {
  counter-reset: faq;
  border-top: 1px solid #ccc;
}
.faq-item {
  counter-increment: faq;
  border-bottom: 1px solid #ccc;
}
/* 既存h3の下線装飾を打ち消し */
.faq .faq-q {
  margin: 0;
  border: none;
  font-size: 1.1rem;
  text-indent: 0;
}
.faq .faq-q::after {
  content: none;
}
/* 既存の h3 span（番号用の斜体・大文字）を打ち消し */
.faq .faq-q span {
  font-family: inherit;
  font-style: normal;
  font-size: inherit;
  color: inherit;
  margin-right: 0;
}
.faq-toggle {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 18px 50px 18px 0;
  position: relative;
  background: none;
  border: none;
  color: #333;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}
.faq-toggle::before {
  content: "Q" counter(faq) ".";
  flex: 0 0 3em;
  color: var(--c-primary);
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 900;
}
.faq-toggle:hover .faq-q-text {
  color: var(--c-primary-dark);
}
.faq-q-text {
  flex: 1;
}
.faq-toggle:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
/* ＋／−アイコン */
.faq-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--c-primary);
  transition: background-color 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: #fff;
  transition: transform 0.3s;
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq-item.is-open .faq-icon {
  background: var(--c-primary-dark);
}
.faq-item.is-open .faq-icon::after {
  transform: rotate(0deg);
}
/* 回答 */
.faq-a-inner {
  position: relative;
  margin: 0 0 18px;
  padding: 15px 20px 15px calc(20px + 3em);
  background: var(--c-tint);
  border-radius: 8px;
}
.faq-a-inner::before {
  content: "A.";
  position: absolute;
  left: 20px;
  top: 15px;
  color: #FF643C;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 900;
}
.faq-a-inner p:last-child {
  margin-bottom: 0;
}
/* JS有効時のみ回答を閉じる（JS無効・クローラーには全文表示） */
.faq.is-js .faq-a {
  display: none;
}

/* ---------- 吸着バナー（アタリ） ---------- */
.sticky-banner .atari {
  width: 200px;
  min-height: 120px;
  margin: 0;
  background: #fff;
  font-size: 0.8rem;
}
.sticky-banner_sp .atari {
  min-height: 70px;
  margin: 0;
  border-radius: 0;
  background: #fff;
}

/* ---------- レスポンシブ ---------- */
@media print, screen and (max-width: 768px) {
  .mv-campaign {
    margin: 10px 0 0;
    font-size: 0.9rem;
  }
  .mv-campaign strong {
    font-size: 1.2rem;
  }
  .top_visual.is-gradient {
    height: auto;
    min-height: 30vh;
  }
  .target-cols,
  .model-cards,
  .model-head,
  .why-block {
    flex-direction: column;
  }
  .model-head .atari,
  .why-block .atari {
    flex: none;
  }
  .model-block {
    padding: 5px 15px 15px;
  }
  .info-table th {
    width: 100px;
  }
  .campaign-box {
    padding: 15px 15px 5px;
  }
  .reason .reason-list,
  .reason .column-box {
    padding: 5px 15px 15px;
  }
  .reason .reason_atari {
    flex-basis: 100px;
    height: 100px;
    margin: 20px 0 20px 15px;
  }
  .reason .reason_atari .atari-title {
    font-size: 0.75rem;
  }
  .reason .reason_atari p:not(.atari-title) {
    display: none;
  }
  .final-cv {
    padding: 5px 15px;
  }
  .faq .faq-q {
    font-size: 1rem;
  }
  .faq-toggle {
    padding: 15px 44px 15px 0;
  }
  .faq-toggle::before {
    flex-basis: 2.6em;
  }
  .faq-icon {
    right: 6px;
  }
  .faq-a-inner {
    padding: 12px 14px 12px calc(14px + 2em);
  }
  .faq-a-inner::before {
    left: 14px;
    top: 12px;
  }
}


/* ==========================================================
   余白調整（見出し・本文・セクション間をゆったりと）
   ※ style.css の値を上書き。数値の調整はここでまとめて行う
   ========================================================== */
p {
  margin-bottom: 16px;
  line-height: 1.9;
}
li {
  line-height: 1.8;
}
h2 {
  margin-top: 0;
  margin-bottom: 36px;
  line-height: 1.5;
}
h3 {
  margin-top: 56px;
  margin-bottom: 26px;
  padding-bottom: 6px;
  line-height: 1.5;
}
h4 {
  margin-top: 36px;
  margin-bottom: 16px;
}
h5 {
  margin: 28px 0 10px;
}

/* セクション間 */
main {
  padding: 40px 0 80px;
}
.container > section {
  padding-top: 100px;
}
.top_catch {
  padding-bottom: 70px;
}
.top_catch h2 {
  margin: 30px 0 30px;
}
.check-list li {
  margin-bottom: 14px;
}
.reason {
  margin-top: 100px;
  padding: 90px 0 90px;
}
.reason h2 {
  margin-bottom: 30px;
}
.reason-list {
  margin-bottom: 30px;
}
.reason .reason-list h3 {
  margin-top: 30px;
}
.reason .column-box {
  margin-top: 40px;
  padding: 20px 36px 26px;
}
.container > section.final-cv {
  margin-top: 100px;
  padding: 60px 40px 30px;
}
.faq .faq-q {
  padding-bottom: 0;
}
.final-cv h2 {
  margin-bottom: 24px;
}

/* ブロック間 */
.cta-button {
  margin: 50px auto;
}
.service-link {
  margin: 24px auto 10px;
}
.target-cols,
.model-cards {
  gap: 30px;
  margin: 30px 0;
}
.target-card {
  padding: 10px 30px 20px;
}
.target-card h3,
.model-card h4 {
  margin-top: 26px;
}
.model-block {
  margin: 70px 0;
  padding: 20px 40px 40px;
}
.model-block > h3:first-child {
  margin-top: 30px;
}
.campaign-box {
  margin: 40px 0;
  padding: 30px 40px 10px;
}
.campaign-box h4 {
  margin-top: 30px;
}
.scope-box {
  margin: 20px 0 10px;
  padding: 20px 26px;
}
.note-list {
  padding: 16px 22px;
}
.atari {
  margin: 30px auto;
}
.vars_img {
  margin: 36px auto 20px;
}
#grand-design {
  margin-top: 90px;
}
.faq-tools {
  margin: -16px 0 14px;
}
.faq-toggle {
  padding: 22px 50px 22px 0;
}
.faq-a-inner {
  margin-bottom: 24px;
  padding: 20px 24px 20px calc(24px + 3em);
}
.faq-a-inner::before {
  left: 24px;
  top: 20px;
}
.btn_utxt {
  margin-bottom: 50px;
}

@media print, screen and (max-width: 768px) {
  p {
    margin-bottom: 14px;
    line-height: 1.8;
  }
  h2 {
    margin-bottom: 24px;
  }
  h3 {
    margin-top: 40px;
    margin-bottom: 20px;
  }
  h4 {
    margin-top: 28px;
  }
  main {
    padding-bottom: 60px;
  }
  .container > section {
    padding-top: 64px;
  }
  .top_catch {
    padding-bottom: 40px;
  }
  .reason {
    margin-top: 64px;
    padding: 56px 0 60px;
  }
  .reason .column-box {
    padding: 14px 18px 18px;
  }
  .container > section.final-cv {
    margin-top: 64px;
    padding: 40px 18px 20px;
  }
  .cta-button {
    margin: 36px auto;
  }
  .target-cols,
  .model-cards {
    gap: 20px;
  }
  .target-card {
    padding: 5px 18px 15px;
  }
  .model-block {
    margin: 50px 0;
    padding: 10px 18px 26px;
  }
  .campaign-box {
    padding: 20px 18px 5px;
  }
  .scope-box {
    padding: 14px 16px;
  }
  #grand-design {
    margin-top: 64px;
  }
  .faq-toggle {
    padding: 18px 44px 18px 0;
  }
  .faq-a-inner {
    padding: 14px 16px 14px calc(16px + 2em);
  }
  .faq-a-inner::before {
    left: 16px;
    top: 14px;
  }
}


/* ==========================================================
   コラム（3つのポイント内）— 他ブロックと雰囲気を変える
   ========================================================== */
.reason .column-box {
  position: relative;
  margin-top: 70px;
  padding: 48px 44px 30px;
  background-color: #fff;
  background-image: radial-gradient(var(--c-dot) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  border: 2px solid var(--c-primary);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(71, 12, 237, 0.14);
}
/* アイコン付きラベル */
.column-label {
  position: absolute;
  top: -20px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 22px 7px 16px;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  border-radius: 40px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.column-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reason .column-box .column-title {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-left: none;
  border-bottom: 1px dashed var(--c-line-strong);
  color: var(--c-navy);
  font-size: 1.3rem;
  line-height: 1.6;
}
.reason .column-box p {
  margin-bottom: 0;
}

@media print, screen and (max-width: 768px) {
  .reason .column-box {
    margin-top: 56px;
    padding: 40px 20px 22px;
  }
  .column-label {
    left: 18px;
    top: -18px;
    font-size: 0.85rem;
    padding: 6px 18px 6px 12px;
  }
  .column-icon {
    width: 18px;
    height: 18px;
  }
  .reason .column-box .column-title {
    font-size: 1.1rem;
  }
}



/* ==========================================================
   カラーテーマ適用（style.css の色指定を上書き）
   ========================================================== */
/* ヘッダー・フッター */
header,
.footerblock02 {
  background-color: var(--c-deep);
}
.header-links a.contact {
  background-color: transparent;
  background-image: var(--grad-accent);
}
@media print, screen and (max-width: 768px) {
  .header-links {
    background-color: var(--c-deep);
  }
}

/* メインビジュアル：グラデーション面 */
.top_visual.is-gradient {
  background: var(--grad-main);
  border: none;
}
.top_visual.is-gradient::before {
  color: rgba(255, 255, 255, 0.7);
}
.top_visual h1 {
  background-color: transparent;
  padding-left: 0;
}

/* 薄い面のセクション */
.top_catch,
.reason {
  background: var(--grad-soft);
}

/* 見出し */
h2 {
  border-left: none;
  position: relative;
  padding-left: 20px;
}
h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--c-blue), var(--c-indigo) 55%, var(--c-purple));
}
.top_catch h2::before,
.reason h2::before,
.final-cv h2::before {
  content: none;
}
.top_catch h2,
.reason h2 {
  padding-left: 0;
  color: var(--c-navy);
}
h3 {
  border-bottom-color: var(--c-line);
}
h3::after {
  border-bottom: none;
  height: 3px;
  background: var(--grad-accent);
}
h3 span {
  color: var(--c-indigo);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.1em;
}
.faq .faq-q span {
  -webkit-text-fill-color: currentColor;
  background: none;
}

/* リスト・リンク */
.check-list li::before {
  color: var(--c-indigo);
}
.service-link {
  background-color: transparent;
  background-image: var(--grad-accent);
  transition: opacity 0.3s, box-shadow 0.3s;
}
.service-link:hover {
  background-color: transparent;
  opacity: 0.9;
  box-shadow: 0 4px 14px rgba(71, 12, 237, 0.3);
}
.text-link {
  color: var(--c-blue);
}

/* 副CTA（相談する）：青→紫 */
.cta-button.is-sub {
  background-color: transparent;
  background-image: var(--grad-accent);
}
.cta-button.is-sub:hover {
  background-color: transparent;
  opacity: 0.92;
}

/* カード類 */
.target-card,
.reason-list {
  box-shadow: 0 4px 18px rgba(71, 12, 237, 0.08);
}
.model-card {
  border-color: var(--c-line);
}

/* 最終CV：グラデーション面＋白文字 */
.container > section.final-cv {
  background: var(--grad-main);
  color: #fff;
}
.final-cv h2 {
  color: #fff;
}

/* FAQ */
.faq-icon {
  background: var(--grad-accent);
}
.faq-item.is-open .faq-icon {
  background: var(--c-primary-dark);
}

/* ページトップ */
.page-top {
  background-color: transparent;
  background-image: var(--grad-main);
}
.page-top:hover {
  background-color: transparent;
  opacity: 0.9;
}

/* アタリの色味も合わせる */
.atari {
  background: repeating-linear-gradient(45deg, #f4f1fb, #f4f1fb 12px, #ebe6f7 12px, #ebe6f7 24px);
  border-color: #b3a8d6;
}



/* ==========================================================
   メインビジュアル：背景画像（images/top_back.webp）
   左側にごく薄い暗めのグラデーションを重ねて白文字の可読性を確保
   ========================================================== */
.top_visual.is-gradient {
  height: 430px;            /* style.css 460px → 上側の余白を30px詰める */
  padding: 10px 0 0 40px;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  background:
    linear-gradient(90deg, rgba(30, 0, 90, 0.28) 0%, rgba(30, 0, 90, 0) 55%),
    url("../images/top_back.webp") right center / cover no-repeat #4a0fd6;
  overflow: hidden;
}
.top_visual.is-gradient::before {
  content: none;
}
.mv-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 40px;
}
.top_visual.is-gradient h1 {
  margin: 0 0 0 40px;
  padding: 0;
  text-shadow: 0 2px 12px rgba(14, 6, 55, 0.3);
}
.top_visual.is-gradient .mv-campaign {
  align-self: flex-start;
  margin: 24px 0 0 40px;
}

@media print, screen and (max-width: 768px) {
  .top_visual.is-gradient {
    height: auto;
    min-height: 0;
    padding: 28px 20px 30px;
    background:
      linear-gradient(90deg, rgba(30, 0, 90, 0.55) 0%, rgba(30, 0, 90, 0.35) 100%),
      url("../images/top_back.webp") 85% center / cover no-repeat #4a0fd6;
  }
  .mv-text {
    padding-bottom: 0;
  }
  .top_visual.is-gradient h1 {
    margin: 0;
    font-size: 1.9rem;
  }
  .top_visual.is-gradient .mv-campaign {
    margin: 18px 0 0;
  }
}

/* 吸着バナー：画像の縦横比を維持（width/height属性指定のため） */
.sticky-banner img,
.sticky-banner_sp img {
  display: block;
  height: auto;
}


/* 3つのポイント：正方形イメージ */
.reason .reason_image {
  flex: 0 0 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}
@media print, screen and (max-width: 768px) {
  .reason .reason_image {
    flex-basis: 100px;
    height: 100px;
    margin: 20px 0 20px 15px;
  }
}


/* ==========================================================
   図版（進め方フェーズ図・業務フロー図）
   ========================================================== */
figure {
  margin: 0;
}
.phase-fig {
  margin: 30px 0 10px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
}
.phase-fig img,
.flow-fig img {
  display: block;
  width: 100%;
  height: auto;
}
.scroll-hint {
  display: none;
}
.flow-fig {
  flex: 0 0 460px;
}
@media print, screen and (max-width: 768px) {
  /* SPはフェーズ図の文字が小さくなるため横スクロールで表示 */
  .phase-fig {
    padding: 12px;
  }
  .phase-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .phase-scroll img {
    width: 720px;
    max-width: none;
  }
  .scroll-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #777;
    text-align: center;
  }
  .flow-fig {
    flex: none;
    width: 100%;
  }
}


/* ==========================================================
   クライアント修正（11/25）
   ========================================================== */
/* FVのキャンペーン表示：ボタンに見えないよう白地＋青紫文字の情報パネルに */
.top_visual.is-gradient .mv-campaign {
  position: relative;
  padding: 14px 22px 14px;
  background: #fff6c9;      /* 薄い黄色（udexColorMango系） */
  color: var(--c-navy);
  border-radius: 4px;
  border-left: 5px solid var(--c-indigo);
  box-shadow: none;
  cursor: default;
}
.mv-campaign-label {
  display: inline-block;
  margin: 0 8px 6px 0;
  padding: 2px 10px;
  background: var(--c-indigo);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 2px;
  vertical-align: middle;
}
.mv-campaign small {
  display: inline;
  color: var(--c-navy);
  font-size: 0.85rem;
  font-weight: 700;
  vertical-align: middle;
}
.mv-campaign small::after {
  content: "";
  display: block;
}
.top_visual.is-gradient .mv-campaign strong {
  color: var(--c-indigo);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.8rem;
  font-weight: 900;
}

/* キャンペーン適用条件：チェックマーク付き箇条書き */
.campaign-conditions {
  margin: 10px 0 0;
  padding: 18px 24px 8px;
  background: #fff8f5;
  border-radius: 8px;
}
.campaign-conditions li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-weight: 500;
}
.campaign-conditions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FF643C;
}
.campaign-conditions li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(0.25em + 4px);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

@media print, screen and (max-width: 768px) {
  .top_visual.is-gradient .mv-campaign {
    padding: 12px 16px;
  }
  .top_visual.is-gradient .mv-campaign strong {
    font-size: 1.4rem;
  }
  .mv-campaign-label {
    display: table;
    margin-bottom: 6px;
  }
  .campaign-conditions {
    padding: 14px 16px 4px;
  }
}


/* ==========================================================
   クライアント修正（11/27）
   ========================================================== */
/* ページ内リンク：固定ヘッダーに隠れないよう余白を確保 */
[id] {
  scroll-margin-top: 100px;
}

/* FVキャンペーン：#model-fi へのリンク化 */
a.mv-campaign {
  display: block;
  padding-right: 48px !important;
  text-decoration: none;
  cursor: pointer !important;
  transition: transform 0.25s, box-shadow 0.25s;
}
a.mv-campaign:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 6, 55, 0.25) !important;
}
.mv-campaign-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-top: 2px solid var(--c-indigo);
  border-right: 2px solid var(--c-indigo);
  transform: rotate(45deg);
  transition: right 0.25s;
}
a.mv-campaign:hover .mv-campaign-arrow {
  right: 15px;
}

/* 図版：クリックで拡大 */
.js-zoom {
  position: relative;
  display: block;
  cursor: zoom-in;
}
.js-zoom img {
  transition: opacity 0.25s;
}
.js-zoom:hover img {
  opacity: 0.85;
}
.zoom-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 10px;
  background: rgba(14, 6, 55, 0.75);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 40px;
  pointer-events: none;
}
.zoom-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 4px 4px 0 -2px #fff;
}
.zoom-hint {
  display: none;
}
/* 拡大モーダル */
.zoom-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(14, 6, 55, 0.85);
}
.zoom-modal.is-open {
  display: block;
}
.zoom-body {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px 30px;
  cursor: zoom-out;
}
.zoom-body img {
  display: block;
  width: 100%;
  max-width: 1500px;
  height: auto;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  cursor: default;
}
.zoom-close {
  position: absolute;
  top: 12px;
  right: 20px;
  z-index: 1;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}
body.zoom-lock {
  overflow: hidden;
}

@media print, screen and (max-width: 768px) {
  a.mv-campaign {
    padding-right: 40px !important;
  }
  .mv-campaign-arrow {
    right: 16px;
  }
  .zoom-badge {
    display: none;
  }
  .zoom-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #777;
    text-align: center;
  }
  /* SPの拡大表示は横幅を大きく取り、スワイプで見られるように */
  .zoom-body {
    display: block;
    padding: 64px 0 20px;
  }
  .zoom-body img {
    width: 1100px;
    max-width: none;
    margin: 20vh 0 0;
  }
}
