﻿/* ==========================================================
   D W D オリジナルカスタムスタイル
   背景色・フォント・アクセントカラーの上書き定義
   ========================================================== */

/* UD明朝（Google Fonts: BIZ UDMincho）読み込み */
@import url('https://fonts.cdnfonts.com/css/brittany-signature');
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDMincho:wght@400;700&display=swap');

html,
body {
  font-family: "BIZ UDMincho", "Noto Serif JP", serif !important;
}

/* ページ全体の背景色 */
body {
  background: #222222 !important;
  color: #f2f2f2;
}

/* カーソル追従の線エフェクト（旧:赤 → 新:DWDブルー #004AAD） */
.cursor {
  background-color: #004AAD !important;
}

.line {
  background-color: #004AAD !important;
}

/* 図形(SVGイラスト)のアクセントカラーをグラデーション化 */
.pink {
  fill: url(#dwd-shape-gradient) !important;
}

/* ヘッダー（スクロール時）の背景をロゴ画像の背景色(#222222)に統一 */
body.scroll header {
  background: #222222 !important;
}

/* ==========================================================
   中央コンテンツカード（Vision / Portfolio / Service / News）
   黒に近いダークグレー背景＋白文字に変更（視認性改善）
   ========================================================== */
.commonSection::before,
footer::before {
  background: #2b2b2b !important;
}

.commonSection,
.commonSection * {
  color: #f2f2f2 !important;
}

.p-top-sponsor__inner {
  background-color: #2b2b2b !important;
}

.p-top-sponsor__title,
.p-top-sponsor__title * {
  color: #f2f2f2 !important;
}

/* 事業案内アイコンの黒い輪郭線をダーク背景でも見えるように調整 */
section#service .container div.serviceDetail ul li .illust svg path,
section#service .container div.serviceDetail ul li .illust svg circle,
section#service .container div.serviceDetail ul li .illust svg polygon,
section#service .container div.serviceDetail ul li .illust svg rect,
section#service .container div.serviceDetail ul li .illust svg ellipse,
section#service .container div.serviceDetail ul li .illust svg line {
  stroke: #f2f2f2 !important;
}
section#service .container div.serviceDetail ul li .illust svg .pink,
section#service .container div.serviceDetail ul li .illust svg .black {
  stroke: none !important;
}

/* 見出しロゴ下の小さい区切り線もダーク背景向けに調整 */
.head-imgtext::after {
  background: #f2f2f2 !important;
}

/* ハンバーガーメニューのアイコン線（ダーク背景での視認性向上） */
header .container label.nav-btn span::before,
header .container label.nav-btn span::after {
  background: #f2f2f2 !important;
}

/* フッター固定SNSアイコン・フッター内SNSアイコンをダーク背景向けに白く反転 */
footer .container .address nav ul.sns img,
nav.sns-fix ul img {
  filter: brightness(0) invert(1);
}

/* フッターの箇条書きアイコン（about/serviceなど）を白系に変更 */
footer .container .address nav ul.content li a {
  background-image: url(../img/common/footer-ico-white.svg) !important;
}

/* ==========================================================
   「こんな状態になっていませんか？」カード
   枠線：赤 → DWDブルー／文字：白上書きを打ち消して黒に戻す
   ========================================================== */
/* 白枠・青枠を廃止し、写真をカード全面に拡大。
   説明文は写真の上に白文字で重ねて配置する（下部に暗いグラデーションを敷いて視認性を確保）。 */
.serviceMarketingAiProblemList li {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 0 !important;
  display: block !important;
}
.serviceMarketingAiProblemList img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  transform: none !important;
  margin: 0 !important;
}
.serviceMarketingAiProblemList li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  border-radius: 0 0 16px 16px;
  z-index: 1;
}
.commonSection .serviceMarketingAiProblemList .serviceMarketingAiProblem_label {
  position: absolute !important;
  left: 6px !important;
  right: 6px !important;
  top: auto !important;
  bottom: 18px !important;
  transform: none !important;
  color: #ffffff !important;
  z-index: 2 !important;
}
/* 子要素(行スパン)は絶対配置にせず、通常のブロックとして縦に並べる
   （以前は子要素も同じ位置に絶対配置していたため、行同士が重なって表示されていた） */
.commonSection .serviceMarketingAiProblemList .serviceMarketingAiProblem_label * {
  position: static !important;
  color: #ffffff !important;
}

/* グリッド内の各カードを行ごとにストレッチさせず、
   高さが異なるカードがあっても他のカードの正方形が崩れないようにする */
.serviceMarketingAiProblemList {
  align-items: start !important;
}

/* 統合ダッシュボードのテキストが折り返されず切れてしまう問題を修正 */
.serviceMarketingAiPointLine {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Vision下部の「Read more」を「お問合せはコチラ」に変更したため、
   ボックス内に収まるよう文字サイズを少し小さく調整 */
.more-contact {
  font-size: min(1.2rem, 2.6vw) !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

/* ポートフォリオカード（白背景）内の文字を黒に変更 */
.p-top-sponsor__swiper--card,
.p-top-sponsor__swiper--card * {
  color: #040000 !important;
}

/* ==========================================================
   AI Business 4カード（薄い背景 #f2f2f2）内の文字が
   ダーク背景用の白文字強制で見えなくなっていたのを黒に戻す
   ========================================================== */
.serviceAI-business_card,
.serviceAI-business_card * {
  color: #040000 !important;
}
/* カード背景を白から少しグレー寄りに変更（さらに暗めに調整） */
.serviceAI-business_card {
  background-color: #9a9a9a !important;
}

/* ==========================================================
   ローディングアニメーション
   旧ロゴの手描き署名（balloon/dwdパス）を非表示にし、
   「D W D」のテキストを手描き風（ストローク描画）で表示するアニメーションに置き換え
   ========================================================== */
.loader #loader-balloon,
.loader #loader-dwd,
.loader #loader-infinity {
  display: none !important;
}
/* 文字の輪郭をなぞるアニメーションは廃止し、
   「D W D」をそのままフェードインさせるだけのシンプルな表示に変更 */
.loader .loader-inner #loader-dwd-text svg #loader-dwd-text-path {
  font-family: "Helvetica Neue", Arial, "BIZ UDMincho", sans-serif;
  font-weight: 700;
  font-size: 62px;
  letter-spacing: 2px;
  fill: url(#dwd-shape-gradient) !important;
  stroke: none !important;
  stroke-dasharray: none !important;
  stroke-dashoffset: 0 !important;
  opacity: 0;
}
body.loaded .loader .loader-inner #loader-dwd-text svg #loader-dwd-text-path {
  transition: opacity 600ms ease-out 200ms !important;
  opacity: 1 !important;
}

/* 色幕アニメーション：元の全高さに戻し、展開→折りたたみをずらして正しく動くよう修正 */

/* 4帯解除：元の full-height に戻す */
.loader .color-mat #color-mat-1,
.loader .color-mat #color-mat-2,
.loader .color-mat #color-mat-3,
.loader .color-mat #color-mat-4 {
  height: 100% !important;
  top: auto !important;
  bottom: 0 !important;
}

/* 展開(transition)→折りたたみ(animation)を時間差でずらす
   展開: 2000ms〜2180ms（80ms刻み）、500ms で完了 → 最終完了 2680ms
   折りたたみ: 2750ms（全帯展開後）から500ms → 完了 3250ms
   ローダー非表示: 3400ms */
body.loaded .loader .color-mat #color-mat-1 {
  transition-delay: 2000ms !important;
  animation-delay: 2750ms !important;
}
body.loaded .loader .color-mat #color-mat-2 {
  transition-delay: 2060ms !important;
  animation-delay: 2750ms !important;
}
body.loaded .loader .color-mat #color-mat-3 {
  transition-delay: 2120ms !important;
  animation-delay: 2750ms !important;
}
body.loaded .loader .color-mat #color-mat-4 {
  transition-delay: 2180ms !important;
  animation-delay: 2750ms !important;
}

/* ローダー全体を opacity:0 で完全非表示（紫残像バグ解消） */
body.loaded .loader {
  transition-delay: 3400ms !important;
  transition-duration: 0ms !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body.loaded .loader .loader-inner {
  transition-delay: 3400ms !important;
}

/* ==========================================================
   ファーストビュー：背景を高速道路.mp4動画に変更
   ========================================================== */
section#fv {
  background-color: #222222 !important;
  background-image: none !important;
  overflow: hidden !important;
}
section#fv::before {
  background-image: none !important;
  background-color: transparent !important;
}

/* FV動画背景 — Vision外枠に合わせた中央フレーム */
.fv-bg-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
  width: 77% !important;
  max-width: 590px !important;
  height: 75% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 5 !important;
  pointer-events: none !important;
  opacity: 0.85;
}

/* 新キャッチコピー「感動をデザインする」— 明朝体・縦並びセンタリング */
section#fv .container h1.fv-catch {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 90% !important;
  height: auto !important;
  max-width: none !important;
  text-align: center !important;
  font-family: "BIZ UDMincho", "Noto Serif JP", serif !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-size: clamp(2.2rem, 4.5vw, 4rem) !important;
  line-height: 1.7 !important;
  letter-spacing: 0.08em !important;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 0 60px rgba(0,0,0,0.4) !important;
  z-index: 12 !important;
  mix-blend-mode: normal !important;
}
.fv-catch-sub {
  display: block !important;
  font-size: clamp(1.0rem, 1.4vw, 1.2rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.15em !important;
  opacity: 0.88;
  margin-top: 0.4em !important;
  text-align: center !important;
}

/* fv-1/fv-2 オーバーレイと fv.svg は不要になったので無効化 */
section#fv .container h1::before,
section#fv .container h1::after {
  display: none !important;
}
section#fv .container h1 img {
  display: none !important;
}

/* mix-blend-mode を通常に */
section#fv .container,
section#fv .container h1 {
  mix-blend-mode: normal !important;
}
section#fv .container div.illust img {
  mix-blend-mode: normal !important;
}

/* ==========================================================
   FVイラストを「人物×吹き出し」の横長バナー画像に変更したため、
   元のロゴ用の縦長ボックス（横幅65%）ではなく、他の生成画像
   （AI解析モック・マーケ写真）と同じように横幅をしっかり使う
   バランスに調整する。object-fit:contain のままなので画像自体は
   歪まず、自然な比率で大きく表示される。
   ========================================================== */
section#fv .container div.illust {
  width: 60% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
}
@media screen and (max-aspect-ratio: 12/10) {
  section#fv .container div.illust {
    width: 62% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
  }
}
/* スマホ縦画面でイラストが画面最下部にくっついて足元の余白が
   なくなっていたのを、少し上に持ち上げて調整する */
@media screen and (max-aspect-ratio: 8/10) {
  section#fv .container div.illust {
    bottom: 0vw !important;
  }
}
@media screen and (max-aspect-ratio: 7/10) {
  section#fv .container div.illust {
    bottom: 9vw !important;
  }
}

/* ==========================================================
   ヘッダー／フッターのロゴサイズを少し小さく調整
   ========================================================== */
header .container h1 img {
  width: 9.2rem !important;
}
footer .container .address h1 img {
  width: 5.9rem !important;
}
@media only screen and (max-width: 1600px) {
  header .container h1 img {
    width: 6.7rem !important;
  }
  body.scroll header .container h1 img {
    width: 4.4rem !important;
  }
}

/* ==========================================================
   AI解析モック画像（dwd-mockup.jpg）をセクション幅いっぱいに表示
   ========================================================== */
.serviceMarketingAiBlock_logo {
  width: 118% !important;
  max-width: none !important;
  margin-left: -9% !important;
  margin-right: -9% !important;
}
@media screen and (max-width: 599px) {
  .serviceMarketingAiBlock_logo {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }
}

/* ==========================================================
   ポートフォリオカード（dwd-portfolio-0X）内の写真が
   サイズ指定なしで原寸表示されていたのを、カード全面に
   きれいに収まるよう調整。キャプションは写真下に白文字で重ねる。
   ========================================================== */
.p-top-sponsor__swiper--card {
  position: relative !important;
  overflow: hidden !important;
}
.p-top-sponsor__swiper--card img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  margin: 0 !important;
}
.p-top-sponsor__swiper--card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  border-radius: 0 0 16px 16px;
  z-index: 1;
}
.p-top-sponsor__swiper--card .portfolio-title {
  position: absolute !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 12px !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  z-index: 2 !important;
}

/* ==========================================================
   Vision セクション：テキストを左揃えに変更
   ========================================================== */
/* Vision ロゴはセンター */
section#vision .container h2 {
  text-align: center !important;
}
section#vision .container h2 img {
  display: inline-block !important;
  margin: 0 auto !important;
}
/* 本文は左揃え＋少し右にオフセット */
section#vision .container p,
section#vision .container .text p,
section#vision .container .bottom p {
  text-align: left !important;
  padding-left: 1.4em !important;
}
/* 大見出し「想いは、もっと届くはずだ。」は左寄り */
section#vision .container p.top {
  text-align: left !important;
  padding-left: 0.8em !important;
}
/* PC：Vision コンテナを狭く絞って中央に */
@media screen and (min-width: 600px) {
  section#vision .container {
    max-width: 700px !important;
  }
}

/* 「お問合せはコチラ」ボタンはセンタリング＋小さいボックス・大きい文字 */
section#vision .container .more-contact {
  display: table !important;
  margin: 0 auto !important;
  text-align: center !important;
  width: auto !important;
  min-width: unset !important;
  max-width: unset !important;
  padding: 0.7rem 2.5em !important;
  font-size: 1.4rem !important;
  letter-spacing: 0.05em !important;
}

/* ==========================================================
   広告運用：問題チェックリスト / DWDだからできること
   ========================================================== */
.dwd-ad-checklist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto 2.5rem auto !important;
  max-width: 640px;
}
.dwd-ad-checklist li {
  padding: 14px 16px 14px 38px !important;
  position: relative !important;
  border-bottom: none !important;
  font-size: clamp(1.15rem, 4.8vw, 1.35rem) !important;
  color: rgba(242,242,242,0.88) !important;
  letter-spacing: 0.06em !important;
}
.dwd-ad-checklist li::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(to right, #004AAD, #6C5CCB, #CB6CE6) !important;
}
.dwd-ad-checklist li::before {
  content: "" !important;
  display: inline-block !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 0.75em !important;
  height: 0.75em !important;
  border: 1.5px solid rgba(255,255,255,0.7) !important;
  background: transparent !important;
  position: absolute !important;
  left: 12px !important;
  color: #004AAD !important;
}
.dwd-ad-desc {
  text-align: center !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  color: rgba(242,242,242,0.75) !important;
  font-size: clamp(1rem, 4vw, 1.15rem) !important;
  letter-spacing: 0.05em !important;
  padding-left: 0 !important;
}
.serviceMarketingAiSectionTitle-points {
  margin-bottom: 12px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
}

/* ターゲット分析以降：フォントをサイト見出しに統一 */
.serviceMarketingAiPointItem h5 {
  font-family: "BIZ UDMincho", "Noto Serif JP", serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.4rem, 5vw, 1.75rem) !important;
  letter-spacing: 0.06em !important;
}
.serviceMarketingAiPointList {
  margin-top: 3rem !important;
}
.serviceMarketingAiPointItem {
  margin-bottom: 3.5rem !important;
}
.serviceMarketingAiPointItem p {
  font-family: "BIZ UDMincho", "Noto Serif JP", serif !important;
  font-size: clamp(1.15rem, 4.2vw, 1.35rem) !important;
  letter-spacing: 0.04em !important;
  line-height: 2.0 !important;
}

/* お問い合わせはこちら ボタンを下げる */
.serviceMarketingAiBlock_more {
  margin-top: 3rem !important;
}

/* ポートフォリオの背景を宇宙の写真に変更 */
.p-top-sponsor {
  background-image: none !important;
  background-color: #888888 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}


/* ===== Round3: Great Vibsフォント ===== */
/* Vision・Service・Portfolio見出しグラデーション */
.dwd-section-title {
  display: block;
  font-family: 'Brittany Signature', sans-serif !important;
  font-size: clamp(3rem, 12vw, 5.5rem) !important;
  line-height: 1.3 !important;
  background: linear-gradient(135deg, #004AAD 0%, #6C5CCB 55%, #CB6CE6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 0.1em;
}

section#vision h2.head-imgtext::after,
section#service h2.head-imgtext::after {
  background: linear-gradient(to right, #004AAD, #6C5CCB, #CB6CE6) !important;
}
.head-imgtext::after {
  background: #f2f2f2 !important;
}

.dwd-em {
  background: linear-gradient(to right, #004AAD, #6C5CCB, #CB6CE6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  font-size: 1.4em;
  letter-spacing: -0.05em;
}

.p-top-sponsor__title--black {
  font-family: 'Brittany Signature', sans-serif !important;
  font-size: clamp(3rem, 12vw, 5.5rem) !important;
  line-height: 1.3 !important;
  background: linear-gradient(135deg, #004AAD 0%, #6C5CCB 55%, #CB6CE6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

.dwd-ad-checklist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto 2.5rem auto !important;
  max-width: 640px;
}
.dwd-ad-checklist li {
  padding: 14px 16px 14px 38px !important;
  position: relative !important;
  font-size: clamp(1.15rem, 4.8vw, 1.35rem) !important;
  color: rgba(242,242,242,0.88) !important;
  letter-spacing: 0.06em !important;
}
.dwd-ad-checklist li::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(to right, #004AAD, #6C5CCB, #CB6CE6) !important;
}
.dwd-ad-checklist li::before {
  content: "\u25A1" !important;
  position: absolute !important;
  left: 12px !important;
}
.dwd-ad-desc {
  text-align: center !important;
  margin-bottom: 1.5rem !important;
  color: rgba(242,242,242,0.75) !important;
  font-size: clamp(1rem, 4vw, 1.15rem) !important;
}



.serviceMarketingAiBlock_more {
  margin-top: 8rem !important;
  font-size: clamp(1.1rem, 4vw, 1.3rem) !important;
  letter-spacing: 0.15em !important;
  padding: 1.2em 3.5em !important;
  white-space: nowrap !important;
}

/* PC版のみ */
@media (min-width: 1025px) {
  img[alt="Vision"],
  img[alt="Service"],
  img[alt="Portfolio"] {
    width: 420px !important;
  }
  .p-top-sponsor__title {
    text-align: center !important;
  }
  .serviceDetail_lead br {
    display: none !important;
  }
  br.sp-only {
    display: none !important;
  }
}
/* ===== Other Services cards ===== */
/* 英語タイトル (Website / Social Media / DX·AI Tools / Creative) */
.serviceAI-business_card_en {
  font-family: 'Brittany Signature', 'Cormorant Garamond', serif !important;
  font-size: clamp(2.6rem, 7vw, 3.4rem) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.1 !important;
  color: rgba(255,255,255,0.75) !important;
  margin-bottom: 0.4em !important;
  text-align: center !important;
}
/* 日本語サブタイトル */
.serviceAI-business_card .serviceAI-business_card_title {
  font-size: clamp(1.1rem, 3.5vw, 1.3rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  color: rgba(255,255,255,0.9) !important;
  display: block !important;
  width: 100% !important;
  margin-left: 0 !important;
  border-bottom: none !important;
  background-image: linear-gradient(to right, #0073e6, #9b4dca) !important;
  background-size: 100% 1px !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  padding-bottom: 0.7em !important;
  margin-bottom: 0.8em !important;
  text-align: left !important;
}
/* 円アイコン非表示（card_en がある場合） */
.serviceAI-business_card:has(.serviceAI-business_card_en) .serviceAI-business_card_title::before {
  display: none !important;
}

/* ===== 吹き出しアイコン非表示 ===== */
.serviceDetail_dt::before {
  display: none !important;
}

/* ===== Ad platform icons ===== */
.serviceDetail_icon {
  display: block;
  margin-bottom: 10px;
}

/* ===== SP FVサブタイトル文字サイズ ===== */
@media (max-width: 1024px) {
  .fv-catch-sub {
    font-size: 1rem !important;
    letter-spacing: 0.08em;
  }
}

/* ===== ロゴ+タイトル横並び ===== */
section#service .container div.serviceDetail ul li.serviceDetail_dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
section#service .container div.serviceDetail ul li .serviceDetail_icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 12px 0 0 !important;
  flex-shrink: 0;
}
section#service .container div.serviceDetail .serviceDetail_dt {
  flex: 1;
  min-width: 0;
  margin-bottom: 4px !important;
  padding: 0 !important;
}
section#service .container div.serviceDetail .serviceDetail_dd {
  width: 100%;
  padding-left: 0 !important;
}


/* ===== SP FVサブタイトル文字サイズ拡大（追加） ===== */
@media (max-width: 1024px) {
  .fv-catch-sub {
    font-size: 1.2rem !important;
    letter-spacing: 0.08em;
  }
}

/* ===== サービスカード左揃え ===== */
.serviceAI-business_card,
.serviceAI-business_card_en,
.serviceAI-business_card_title,
.serviceAI-business_card_text {
  text-align: left !important;
}
/* media icons spacing */
.serviceDetail_list {
  margin-top: 2.5em !important;
  padding-top: 0.5em !important;
}


/* ===== 2026-07-06k: Service card en+JP title same row ===== */
.serviceAI-business_card_en {
  display: inline !important;
  margin-right: 0.5em !important;
  vertical-align: middle !important;
}
.serviceAI-business_card_title {
  display: inline !important;
  width: auto !important;
}

/* Meta広告 icon list - space above first item so scroll animation fires */
.serviceMarketing > ul > li:nth-child(2).serviceDetail_dl {
  margin-top: 3em !important;
}

/* ===== 2026-07-07 余白・アニメーション追加 ===== */

/* B: TikTok広告 ↔ こんなお悩みありませんか？ の間に余白 */
.serviceMarketingAiBlock {
  margin-top: 8em !important;
}

/* C: こんなお悩みありませんか？ ↔ DWDだからできること の間に余白 */
.serviceMarketingAiSectionTitle-points {
  margin-top: 3em !important;
}

/* A: Google広告もスクロールアニメーション対応 - stagger delay */
.serviceMarketing > ul > li:nth-child(3).serviceDetail_dl {
  margin-top: 1em !important;
  transition-delay: 0.15s !important;
}
/* F: serviceMarketingAiBlock_more ボタンをセンタリング */
a.serviceMarketingAiBlock_more.more {
  display: block !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ▼ 広告項目タイトル↔説明文の余白 (2026-07-07) */
.serviceDetail_dl .serviceDetail_dd {
  margin-top: 0.7em;
}


/* ===== 2026-07-09 修正ここから ===== */

/* 1) ポートフォリオセクションの背景を真っ黒に */
.p-top-sponsor,
.p-top-sponsor__inner {
  background: #000000 !important;
}

/* 2) サービスカード料金：白文字＋カード右端ぎりぎりに */
.serviceAI-business_card .serviceAI-business_card_title {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.serviceAI-business_card .serviceAI-business_card_title span {
  color: #ffffff !important;
  margin-left: auto !important;
  margin-right: -12px !important;
}

/* 3) 「お問い合わせはこちら」ボタン：文字を枠の中央に */
.more-contact.serviceMarketingAiBlock_more {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding-left: 1em !important;
  padding-right: 1em !important;
}

/* ===== 2026-07-09 修正ここまで ===== */


/* ===== 2026-07-09 PC版調整 ここから ===== */

/* PC: FV動画をvision等の枠(commonSection::before)と同じ幅に */
@media only screen and (min-width: 768px){
  .fv-bg-video{
    width: 129rem !important;
    max-width: 84% !important;
  }
}
@media only screen and (min-width: 1601px){
  .fv-bg-video{
    max-width: 67.2% !important;
  }
}

@media only screen and (min-width: 768px){
  /* PC: お問合せボタンを大きく（vision内・既存ルールより高詳細度） */
  section#vision .container a.more.more-contact{
    font-size: 1.8rem !important;
    padding: 1.1em 3.2em !important;
  }
  /* PC: Portfolio見出し＋制作実績をセンターに */
  .p-top-sponsor__flex{ justify-content: center !important; }
  .p-top-sponsor__title{ text-align: center !important; }
  .p-top-sponsor__title img{ margin: 0 auto 0.2em !important; }
  /* PC: WEB広告見出しブロックをMeta広告などの列に揃える */
  .serviceMarketing > ul > li:first-child .text{ margin-left: 3.85rem !important; }
}

/* ===== 2026-07-09 PC版調整 ここまで ===== */


/* ===== 2026-07-09 PC版調整 その2 ここから ===== */

/* PC: ポートフォリオ3枚を中央寄せ（3枚が収まる幅のみ） */
@media only screen and (min-width: 910px){
  .p-top-sponsor .swiper-wrapper{
    justify-content: center;
  }
}

@media only screen and (min-width: 768px){
  /* PC: リード文のPC用改行(pc-br)を表示 */
  .serviceDetail_lead br.pc-br{
    display: inline !important;
  }
  /* PC: serviceのお問合せボタンをvisionのボタンと同サイズに */
  a.more-contact.serviceMarketingAiBlock_more{
    display: table !important;
    width: auto !important;
    max-width: none !important;
    min-width: unset !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 1.8rem !important;
    letter-spacing: 0 !important;
    padding: 1.1em 3.2em !important;
  }
}

/* ===== 2026-07-09 PC版調整 その2 ここまで ===== */


/* ===== 2026-07-09 SP版調整 ここから ===== */

/* SP: serviceのお問合せボタンをvisionのボタンと同サイズに統一 */
@media only screen and (max-width: 767px){
  a.more-contact.serviceMarketingAiBlock_more{
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    padding: 0.7rem 2.5em !important;
    font-size: 1.4rem !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
  }
}

/* ===== 2026-07-09 SP版調整 ここまで ===== */


/* ===== 2026-08-01 SEO調整 ここから ===== */

/* h1をFVのみに統一したため、旧h1のロゴ枠のスタイルを維持 */
header .container .site-logo,
footer .container .address .footer-logo{
  display: block;
}

/* FV見出し内のSEO補助テキスト（読み上げ・検索エンジン用。視覚的には非表示） */
.fv-catch .seo-sub{
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ===== 2026-08-01 SEO調整 ここまで ===== */

/* ===== 2026-08-01 SEO見出し整理後のロゴ表示 ここから ===== */
header .container .site-logo {
  padding: 6.8rem 0 0 !important;
  text-align: center !important;
}
header .container .site-logo img,
header .container h1 img {
  width: 9.2rem !important;
}
footer .container .address .footer-logo {
  display: flex !important;
  align-items: center !important;
}
footer .container .address .footer-logo img,
footer .container .address h1 img {
  width: 5.9rem !important;
  margin-right: 1.25em !important;
}
footer .container .address .footer-logo small,
footer .container .address h1 small {
  font-size: 0.93em !important;
  white-space: nowrap !important;
}
@media only screen and (max-width: 1600px) {
  header .container .site-logo img,
  header .container h1 img {
    width: 6.7rem !important;
  }
  body.scroll header .container .site-logo img,
  body.scroll header .container h1 img {
    width: 4.4rem !important;
  }
}
@media screen and (max-width: 1024px) {
  footer .container .address .footer-logo {
    display: block !important;
    text-align: center !important;
  }
  footer .container .address .footer-logo img {
    display: block !important;
    margin: 0 auto calc(var(--s) * 1) !important;
  }
  footer .container .address .footer-logo small {
    display: block !important;
    text-align: center !important;
  }
}
/* ===== 2026-08-01 SEO見出し整理後のロゴ表示 ここまで ===== */
/* ===== 2026-08-01 FV事業内容コピー ここから ===== */

/* ===== 2026-08-02 SERVICE lead ===== */
.service-section-lead {
  max-width: 780px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  color: #1f2937;
  font-size: clamp(0.95rem, 1.45vw, 1.08rem);
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .service-section-lead {
    max-width: 88%;
    margin-bottom: 2.4rem;
    font-size: 0.94rem;
    line-height: 1.85;
  }
}
/* ===== 2026-08-02 SERVICE lead end ===== */
