@charset "utf-8";

/* ===================================================
   1. FV全体・背景画像（PC / SP切り替え）
=================================================== */
.kds-ai .hedding-block {
  background-image: url(/content/dam/yayoi-corp/pap/service/efficiency/kichodaiko-ai/img/bg-mv-ksd-ai-pc.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.kds-ai .hedding-block a {
  text-decoration: none;
}

/* ===================================================
   2. レイアウト構造（パンくず & 左右2カラム）
=================================================== */
.kds-ai .pap-breadcrumb_inner {
  padding: 12px 16px;
  max-width: 1140px;
  margin: 0 auto;
}
.kds-ai .pap-breadcrumb_inner li {
  font-size: 1.2rem;
  padding-right: 32px;
}
.kds-ai .pap-breadcrumb_inner li a {
  font-weight: 400;
}

/* コンテナ全体 */
.kds-ai .hedding-block-inner {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1140px !important;
  margin: 20px auto 0 !important;
  padding: 0 20px 40px !important;
  box-sizing: border-box;
  gap: 36px;
}

/* ===================================================
   3. 左カラム（見出し・ロゴ・リード文）
=================================================== */
.kds-ai .hedding-01 {
  flex: 1 1 520px;
  max-width: 560px;
}

.kds-ai .hedding-01 .ta-l {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* 見出し */
.kds-ai h1 {
  font-size: 4.0rem;
  line-height: 1.35;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* 見出し内の青文字＋黄色下線マーカー（文字に密着） */
.kds-ai .kds-highlight {
  color: #005bac;
  background: linear-gradient(transparent 70%, #fff100 70%);
  display: inline;
  padding: 0 2px;
}

/* ロゴエリア */
.kds-ai .kds-logos-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  width: 100%;
}

.kds-ai .kds-logos-wrap .img {
  padding: 0 !important;
  width: 100% !important;
  max-width: 480px !important;
}

.kds-ai .kds-logos-wrap img {
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* 下部リード文 */
.kds-ai .kds-lead-text {
  font-size: 1.7rem;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
  margin: 0;
  white-space: nowrap;
}

.kds-ai .kds-lead-text .fc-blue {
  color: #005bac;
}

/* ===================================================
   4. 右カラム（MV画像拡大 ＆ 赤枠余白詰め ＆ テキスト調整）
=================================================== */
.kds-ai .kds-mv-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 490px;          /* 画像とボタンを大きく見せるため幅を拡張 */
  max-width: 490px;
  width: 100%;
}

/* MV画像：大きく配置し、下の余白（赤枠部分）を最小限に短縮 */
.kds-ai .kds-img-pc {
  width: 100% !important;
  max-width: 490px !important;
  margin-bottom: 8px !important; /* ★赤枠部分の余白を短縮 */
}

.kds-ai .kds-img-pc img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto;
}

/* 入会ボタン */
.kds-ai .kds-cta-btn {
  margin-bottom: 10px;
  width: 100% !important;
  display: flex;
  justify-content: center;
}

.kds-ai .kds-cta-btn a {
  width: 100% !important;
  min-width: unset !important;
  max-width: 490px !important;
  font-size: 1.8rem;
  padding: 16px 20px;
  display: block;
  text-align: center;
  box-sizing: border-box;
}

/* ボックス装飾を完全解除（面・影をなくしてボタンを主役に） */
.kds-ai .kds-info-box {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  width: 100%;
  max-width: 490px;
  box-sizing: border-box;
  text-align: center;
}

/* 資料請求リンク：白文字＋自然な影でボタンを引き立てる */
.kds-ai .kds-info-box .link-blank-01 {
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  line-height: 1.3;
}

.kds-ai .kds-info-box .link-blank-01 a {
  color: #ffffff !important;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-shadow: 0 1px 3px rgba(0, 20, 60, 0.45);
  opacity: 0.95;
}

/* 注釈テキスト：控えめな白文字 */
.kds-ai .kds-info-box .u-fs-xs {
  font-size: 1.15rem;
  color: #ffffff !important;
  opacity: 0.85;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 20, 60, 0.45);
}

.kds-ai .kds-info-box .u-fs-xs a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* PC時のSP要素非表示ガード */
@media screen and (min-width: 769px) {
  .kds-ai .sp-only {
    display: none !important;
  }
}


/* ===================================================
   レスポンシブ：タブレット（max-width: 1200px）
=================================================== */
@media screen and (max-width: 1200px) {
  .kds-ai h1 {
    font-size: 3.2rem;
  }
  .kds-ai .kds-logos-wrap .img {
    max-width: 380px !important;
  }
  .kds-ai .kds-lead-text {
    font-size: 1.4rem;
  }
  .kds-ai .kds-mv-right {
    flex: 0 0 400px;
    max-width: 400px;
  }
}


/* ===================================================
   レスポンシブ：スマートフォン（max-width: 768px）
=================================================== */
@media screen and (max-width: 768px) {
  .kds-ai .hedding-block {
    background-image: url(/content/dam/yayoi-corp/pap/service/efficiency/kichodaiko-ai/img/bg-mv-ksd-ai-sp.png);
    background-size: cover;
    background-position: center top;
    min-height: auto !important;
    height: auto !important;
  }

  .kds-ai .pc-only {
    display: none !important;
  }

  .kds-ai .hedding-block-inner {
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 24px 16px 36px !important;
    margin-top: 0 !important;
    gap: 0 !important;
    height: auto !important;
    min-height: auto !important;
  }

  .kds-ai .hedding-01 {
    max-width: 100%;
    width: 100%;
    flex: none !important;
    margin-bottom: 20px !important;
  }

  .kds-ai .hedding-01 .ta-l {
    align-items: center !important;
  }

  .kds-ai h1 {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 14px;
    white-space: normal;
    line-height: 1.4;
  }

  .kds-ai .kds-logos-wrap {
    justify-content: center;
    margin-bottom: 14px;
  }

  .kds-ai .kds-logos-wrap .img {
    max-width: 260px !important;
  }

  .kds-ai .kds-lead-text {
    font-size: 1.25rem;
    text-align: center;
    white-space: normal;
    margin-bottom: 0;
  }

  .kds-ai .kds-mv-right {
    width: 100%;
    max-width: 100%;
    flex: none !important;
    margin-top: 0 !important;
  }

  .kds-ai .kds-mv-right .img.sp-only {
    display: block !important;
    margin: 0 auto 12px !important;
    width: 100%;
    max-width: 320px;
  }
  .kds-ai .kds-mv-right .img.sp-only img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .kds-ai .kds-cta-btn a.sp-only {
    display: block !important;
    width: 100% !important;
    max-width: 311px !important;
    font-size: 1.6rem;
    margin: 0 auto;
  }

  .kds-ai .kds-info-box {
    max-width: 311px;
    margin: 0 auto;
  }
}