@charset "UTF-8";
/* =========================================================
   ABOUT 各部署共通スタイル
   - /about/product-design/  (プロダクトデザイン部)
   - /about/application/     (アプリケーション開発部)
   - /about/promotion/       (プロモーション事業部)
   - /about/ses/             (SES事業部)
   ========================================================= */

:root {
  --about-accent-light: #B8E3F2;
  --about-card-bg: #F1F2F3;
  --about-line: #E5E5E5;
  --about-red: #B40000;
  --about-grad: linear-gradient(120deg, #B8E3F2 0%, #D8CCEB 50%, #F7C6C1 100%);
}

/* ===== ページ全体 ===== */
.about_page {
  width: 100%;
}

/* ===== ブロック単位の上方向フェードイン =====
   各 <section> に scroll_up を付与し、IntersectionObserver で .on 付与で発火
   （js/main.js が監視済み）
   ============================================ */
.about_page .scroll_up {
  opacity: 0;
  transform: translateY(120px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.about_page .scroll_up.on {
  opacity: 1;
  transform: translateY(0);
}

/* stagger: .about_strength の各項目を順次フェードイン */
.about_page .about_strength.scroll_up:nth-child(1) { transition-delay: 0s; }
.about_page .about_strength.scroll_up:nth-child(2) { transition-delay: 0.15s; }
.about_page .about_strength.scroll_up:nth-child(3) { transition-delay: 0.30s; }
.about_page .about_strength.scroll_up:nth-child(4) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .about_page .scroll_up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== ヒーロー (about/* 共通) =====
   /company/ と同じ構造： #mainvisual の中に <header> が流し込まれる
   ========================================================= */
.about_page #mainvisual {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-color: var(--about-card-bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* 部署別ヒーロー背景画像 */
#product-design #mainvisual { background-image: url("/images/about/design_head.jpg"); }
#application    #mainvisual { background-image: url("/images/about/app_head.jpg"); }
#promotion      #mainvisual { background-image: url("/images/about/promo_head.jpg"); }
#ses            #mainvisual { background-image: url("/images/about/ses_head.jpg"); }
.about_page #mainvisual::before {
  /* 画像が無い場合のフォールバックグラデーション */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--about-grad);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
.about_hero_body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 80px 30px 100px;
  box-sizing: border-box;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.about_hero_inner {
  position: relative;
  background-color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  padding: 80px 40px 40px;
  width: clamp(460px, 42vw, 680px);
  max-width: 100%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.about_hero_brand {
  color: var(--main-txt);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 10px;
  text-align: left;
  letter-spacing: 0.05em;
}
.about_hero_brand img {
  height: 22px;
  width: auto;
  display: block;
}
.about_hero_title {
  color: var(--main-color);
  font-size: 40px;
  font-weight: 500;
  margin: 0 0 20px;
  text-align: left;
  line-height: 1.3;
}
.about_hero_lead {
  color: var(--main-txt);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  margin: 0;
}
.about_hero_copy {
  position: relative;
  z-index: 1;
  width: clamp(400px, 46vw, 760px);
  max-width: 50%;
  align-self: flex-start;
  margin-top: 20px;
  filter: drop-shadow(2px 1px 0 #159DD8) drop-shadow(0 2px 18px rgba(15, 123, 168, 0.95));
}
.about_hero_copy img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 共通: セクション枠 ===== */
.about_section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 80px;
  box-sizing: border-box;
}
.about_section.bg-white {
  background-color: #fff;
  max-width: none;
  width: 100%;
}
.about_section.bg-white > .about_section_inner {
  max-width: 1240px; /* (1400 - 左右padding 80*2) で .about_section の内側コンテンツ幅と揃える */
  margin: 0 auto;
}
.about_section_title {
  color: var(--main-color);
  font-size: 40px;
  font-weight: 500;
  margin: 0 0 20px;
}
.about_section_sub {
  color: var(--main-txt);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 60px;
}

/* ===== 解決できる課題 ===== */
.about_problems {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  justify-content: center;
  padding: 40px 0;
}
.about_problem_item {
  width: 520px;
  max-width: 100%;
  border-bottom: 1px solid var(--main-color);
  padding: 10px 10px 20px 10px;
  font-size: 18px;
  font-weight: 300;
  color: #000;
  text-align: left;
  box-sizing: border-box;
}

/* ===== 共通: 解決できる課題（挿絵 + チェックマーク） ===== */
/* 挿絵 + リストブロックの2カラム横並び */
.about_page .about_problems_with_illust {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 20px 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.about_page .about_problems_illust {
  flex: 0 0 auto;
  width: 150px;
  display: flex;
  justify-content: center;
}
.about_page .about_problems_illust img {
  width: 100%;
  height: auto;
  display: block;
}
/* 挿絵を入れたぶん、内側のリストはセンタリングではなく左寄せに */
.about_page .about_problems_with_illust .about_problems {
  flex: 1 1 auto;
  padding: 0;
  justify-content: flex-start;
  gap: 30px 50px;
}
/* 各項目にチェックマーク（main-color の SVG を data URI で埋め込み） */
.about_page .about_problem_item {
  position: relative;
  padding-left: 38px;
  width: calc((100% - 50px) / 2); /* 2列固定（gap 50px を吸収） */
  border-bottom-width: 2px;
  border-bottom-color: var(--about-accent-light);
  font-weight: 400;
}
.about_page .about_problem_item::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) translateY(-6px); /* 下線の上、テキスト中央寄りに微調整 */
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23159DD8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") no-repeat center / contain;
}
.about_problem_msg {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  color: var(--main-txt);
  margin: 100px 0 40px;
  line-height: 1.8;
}
/* アプリ部の長文メッセージ（PCのみ縮小して読みやすく） */
.about_problem_msg.about_problem_msg_long {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.8;
}

/* ===== サービス領域 (カードグリッド) ===== */
.about_services {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding-top: 40px;
}
.about_service_card {
  background:
    linear-gradient(var(--about-card-bg), var(--about-card-bg)) padding-box,
    linear-gradient(120deg, #B8E3F2 0%, #D8CCEB 50%, #F7C0C1 100%) border-box;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 60px 30px;
  width: 330px;
  min-height: 365px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.about_service_card h3 {
  color: var(--main-txt);
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  text-align: center;
}
.about_service_divider {
  height: 1px;
  background: linear-gradient(90deg, #B8E3F2 0%, #D8CCEB 50%, #F7C0C1 100%);
  width: 100%;
  border: none;
  margin: 0;
}
.about_service_list {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.about_service_list li {
  color: var(--main-txt);
  font-size: 16px;
  font-weight: 400;
}

/* ===== 強み ===== */
.about_strengths {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-top: 60px;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}
.about_strength {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  width: 757px;
  max-width: 100%;
}
.about_strength_marker {
  flex-shrink: 0;
  width: 277px;
  height: 2px;
  margin-top: 18px;
  background: #159DD7;
}
.about_strength_body {
  flex: 0 0 450px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 強み: 背景アクセントSVG（プロダクトデザイン部のみ） */
.about_section_strengths {
  position: relative;
  overflow: hidden;
}
.about_section_strengths::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 880px;
  max-width: 57vw;
  height: 420px;
  background: no-repeat left center;
  background-size: contain;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}
/* 部署別の強み背景SVG */
#product-design .about_section_strengths::before { background-image: url("/images/about/design_copy2.svg"); }
/* 4部署共通: 強みセクションの背景SVGを無効化（代わりに写真を表示する運用） */
.about_page .about_section_strengths::before { display: none; }
#promotion      .about_section_strengths::before { background-image: url("/images/about/promo2.svg"); }
#ses            .about_section_strengths::before { background-image: url("/images/about/ses2.svg"); }

/* bg-white の場合は section 全体が画面全幅なので、SVGの左端を inner の左端と揃える */
.about_section.bg-white.about_section_strengths::before {
  left: max(0px, calc((100vw - 1240px) / 2));
}

/* SES事業部: サービス領域カードの横幅を広げる（長いタイトル対応） */
#ses .about_service_card {
  width: 350px;
}

/* アプリケーション開発部 & SES: サービス領域を2列レイアウトに */
#application .about_services,
#ses .about_services {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
#application .about_service_card,
#ses .about_service_card {
  width: calc(50% - 24px); /* gap 48px / 2 */
}

/* 4部署共通: サービス領域の左に縦長画像を追加 */
.about_page .about_services_wrap {
  display: flex;
  gap: 50px;
  align-items: stretch; /* 写真もカード列も同じ高さに揃える */
  max-width: 1240px;
  margin: 0 auto;
}
.about_page .about_services_photo {
  flex: 0 0 auto;
  width: 380px;
  margin: 40px 0 0 0; /* .about_services の padding-top と揃える */
  overflow: hidden;
  border-radius: 12px; /* カードと同じ角丸 */
  opacity: 0.6; /* かなり薄く（背景装飾扱い） */
}
.about_page .about_services_photo img {
  width: 100%;
  height: 100%; /* 親 figure の高さいっぱいに */
  object-fit: cover;
  object-position: center;
  display: block;
}
.about_page .about_services_wrap .about_services {
  flex: 1 1 auto;
  max-width: none; /* ラップ内では幅制限を解除 */
  margin: 0;
}
@media screen and (max-width: 1100px) {
  .about_page .about_services_wrap {
    flex-direction: column;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
  }
  .about_page .about_services_photo {
    width: 85%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 3 / 2; /* 縦長写真を横長帯にトリミング */
    overflow: hidden;
  }
  .about_page .about_services_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
  }
}

/* ===== 共通: サービス領域カード間の余白 ===== */
.about_page .about_services {
  gap: 48px;
}

/* ===== 共通: サービス領域カードの枠と区切り線を厚く ===== */
.about_page .about_service_card {
  border-width: 4px;
}
.about_page .about_service_divider {
  height: 4px;
}

/* ===== 共通: サービス領域リストにマーカー ===== */
.about_page .about_service_list {
  padding-left: 4px;
}
.about_page .about_service_list li {
  position: relative;
  padding-left: 18px;
}
.about_page .about_service_list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--dept-accent, var(--main-color));
}

/* ===== 共通: サービス領域カードの右下に背景アイコンを置く土台 ===== */
.about_page .about_service_card {
  position: relative;
  overflow: hidden;
}
.about_page .about_service_card > * {
  position: relative;
  z-index: 1;
}
.about_page .about_service_card::after {
  content: '';
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  opacity: 0.55; /* さらに薄くする調整（SVG 側の fill-opacity 0.22 と掛け合わせて約 0.12） */
  pointer-events: none;
  z-index: 0;
}
/* アプリケーション開発部: 各サービスカードのアイコン（部署固有の modifier クラス） */
#application .svc-req::after  { background-image: url('/images/about/svc_req.svg'); }
#application .svc-dev::after  { background-image: url('/images/about/svc_dev.svg'); }
#application .svc-test::after { background-image: url('/images/about/svc_test.svg'); }
#application .svc-ops::after  { background-image: url('/images/about/svc_ops.svg'); }
/* プロダクトデザイン部: 各サービスカードのアイコン */
#product-design .svc-web::after   { background-image: url('/images/about/svc_design_web.svg'); }
#product-design .svc-uiux::after  { background-image: url('/images/about/svc_uiux.svg'); }
#product-design .svc-brand::after { background-image: url('/images/about/svc_brand.svg'); }
/* プロモーション事業部: サービス領域の写真の横位置（ロゴが中央寄りに見えるよう調整） */
#promotion .about_services_photo img {
  object-position: 30% center;
}
/* プロモーション事業部: 各サービスカードのアイコン */
#promotion .svc-campaign::after { background-image: url('/images/about/svc_campaign.svg'); }
#promotion .svc-event::after    { background-image: url('/images/about/svc_event.svg'); }
#promotion .svc-sns::after      { background-image: url('/images/about/svc_sns.svg'); }
#promotion .svc-creative::after { background-image: url('/images/about/svc_creative.svg'); }
#promotion .svc-techai::after   { background-image: url('/images/about/svc_techai.svg'); }

/* SES事業部: 各サービスカードのアイコン */
#ses .svc-match::after    { background-image: url('/images/about/svc_match.svg'); }
#ses .svc-ses-req::after  { background-image: url('/images/about/svc_ses_req.svg'); }
#ses .svc-contract::after { background-image: url('/images/about/svc_contract.svg'); }
#ses .svc-present::after  { background-image: url('/images/about/svc_present.svg'); }

/* SES事業部: メッセージセクションに薄い背景画像 */
#ses .ses_message {
  position: relative;
  overflow: hidden;
}
#ses .ses_message::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/about/ses_message_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}
#ses .ses_message > * {
  position: relative;
  z-index: 1;
}

/* プロモーション事業部: ステートメントセクションに右側画像 */
#promotion .promo_statement_body {
  display: flex;
  gap: 60px;
  align-items: flex-end;
  max-width: 1240px;
  margin: 40px auto 0;
  color: var(--main-txt);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  text-align: left;
}
#promotion .promo_statement_text {
  flex: 1 1 auto;
  min-width: 0;
}
#promotion .promo_statement_photo {
  flex: 0 0 auto;
  width: 320px;
  margin: 0;
}
#promotion .promo_statement_photo img {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (max-width: 768px) {
  #promotion .promo_statement_body {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-top: 20px;
  }
  #promotion .promo_statement_photo {
    width: 80%;
    margin: 0 auto;
  }
}

/* プロモーション事業部・プロダクトデザイン部: 制作実績を3列に */
#promotion .about_works,
#product-design .about_works,
#application .about_works {
  justify-content: flex-start;
}
#promotion .about_work_item,
#product-design .about_work_item,
#application .about_work_item {
  width: calc((100% - 80px) / 3); /* 40px gap × 2 / 3列 */
}

/* ===== 共通: ヒーロー内のキャッチコピー（旧 *_copy.svg を置換するテキスト） ===== */
.about_page .about_hero_inner {
  width: clamp(540px, 50vw, 820px);
}
.about_page .about_hero_copy_text {
  color: var(--main-txt);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 24px;
  text-align: left;
}

/* ===== 共通: 開発プロセスのアニメーション停止 ===== */
.about_page .about_process_step .about_process_circle {
  animation: none;
}

/* ===== 共通: 強みセクションに写真 ===== */
.about_page .about_strengths_wrap {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.about_page .about_strengths_photo {
  flex: 0 0 auto;
  width: 400px;
  margin: 60px 0 0 0; /* .about_strengths の padding-top と揃える */
}
.about_page .about_strengths_photo img {
  width: 100%;
  height: auto;
  display: block;
}
/* 概念図モディファイア（写真ではなくダイアグラム画像を表示する場合） */
.about_page .about_strengths_photo.is_diagram {
  width: 520px;
  margin: 0; /* 縦は wrap 側で中央寄せするので margin-top をリセット */
}
/* 概念図のときは縦方向中央寄せに切り替え */
.about_page .about_strengths_wrap:has(.is_diagram) {
  align-items: center;
}
.about_page .about_strengths_wrap > .about_strengths {
  flex: 1 1 auto;
  width: auto; /* flex 子要素として伸縮 */
}

/* ===== アプリケーション開発部: 従来との比較（洗練版） ===== */
.ai_compare {
  max-width: 860px;
  margin: 56px auto 0;
}
.ai_compare_head,
.ai_compare_row {
  display: grid;
  grid-template-columns: 140px 1fr 36px 1fr;
  align-items: center;
  gap: 16px 24px;
}
.ai_compare_head {
  padding: 0 0 14px;
  border-bottom: 2px solid var(--main-color);
  margin-bottom: 6px;
}
.ai_compare_head_label,
.ai_compare_head_before,
.ai_compare_head_after {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.ai_compare_head_label { color: var(--main-color); }
.ai_compare_head_before { color: #999; }
.ai_compare_head_after { color: var(--main-color); }

.ai_compare_row {
  padding: 22px 0;
  border-bottom: 1px solid var(--about-accent-light);
}
.ai_compare_row:last-child { border-bottom: none; }
.ai_compare_label {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  color: var(--main-color);
  background: rgba(184, 227, 242, 0.4);
  border: 1px solid var(--about-accent-light);
  padding: 5px 14px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  justify-self: start;
  align-self: center;
  white-space: nowrap;
}
.ai_compare_before {
  font-size: 15px;
  color: #999;
  line-height: 1.6;
}
.ai_compare_arrow {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  /* MIRAILABS グラデを SVG マスクで描画 */
  background-image: var(--about-grad);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.ai_compare_arrow svg {
  display: none;
}
.ai_compare_after {
  font-size: 16px;
  color: var(--main-txt);
  font-weight: 500;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .ai_compare_head { display: none; }
  .ai_compare_row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
  .ai_compare_arrow {
    width: 16px;
    height: 16px;
    transform: rotate(90deg);
  }
  .ai_compare_before { font-size: 13px; }
  .ai_compare_after { font-size: 14px; }
}

/* ===== 概念図: AI 駆動開発フロー（アプリケーション開発部） ===== */
.ai_dev_flow_wrap {
  margin: 80px 0 48px;
  background: #F3F4F6;
  border: 2px solid var(--about-accent-light);
  padding: 0 28px 40px;
}
.about_ai_subblock .ai_dev_flow_wrap .ai_dev_flow_caption,
.ai_dev_flow_wrap .ai_dev_flow_caption {
  display: inline-block;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--main-color);
  background: #EAF6FB;
  border: 2px solid var(--about-accent-light);
  border-radius: 6px;
  margin: -46px 0 36px 0;
  padding: 11px 22px;
}
.ai_dev_flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 28px;
}
.ai_dev_step {
  flex: 1 1 0;
  padding: 16px 12px;
  text-align: center;
  background: #fff;
  border: none;
  border-radius: 8px;
  position: relative;
}
.ai_dev_step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  /* MIRAILABS グラデを SVG マスクで描画 */
  background-image: var(--about-grad);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M9 6l6 6-6 6'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M9 6l6 6-6 6'/></svg>");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.ai_dev_num {
  display: block;
  font-size: 26px;
  font-weight: 300;
  font-family: gill-sans-nova, sans-serif;
  color: #D1D5DB;
  line-height: 1;
  margin-bottom: 8px;
}
.ai_dev_step h6 {
  font-size: 17px;
  font-weight: 500;
  color: var(--main-txt);
  margin: 0 0 14px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.ai_dev_role {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 3px;
}
.ai_dev_role.role_human {
  background: #E5E7EB;
  color: var(--main-txt);
}
.ai_dev_role.role_ai {
  background: var(--main-color);
  color: #fff;
}
.ai_dev_role.role_collab {
  background: rgba(184, 227, 242, 0.5);
  color: var(--main-color);
}
@media screen and (max-width: 768px) {
  .ai_dev_flow_wrap {
    padding: 0 0 24px;
  }
  .about_ai_subblock .ai_dev_flow_wrap .ai_dev_flow_caption,
  .ai_dev_flow_wrap .ai_dev_flow_caption {
    display: block;
    width: max-content;
    max-width: calc(100% - 24px);
    margin: -26px auto 24px auto;
    font-size: 14px;
    padding: 8px 16px;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
  }
  .ai_dev_flow {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }
  .ai_dev_step {
    padding: 14px 12px;
  }
  .ai_dev_step:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -22px;
    transform: translate(50%, 0) rotate(90deg);
  }
}

/* ===== 概念図: 人間 × AI 役割分担（アプリケーション開発部） ===== */
.ai_roles_wrap {
  max-width: 1020px;
  margin: 80px auto 0;
  background: #F3F4F6;
  border: 2px solid var(--about-accent-light);
  padding: 0 40px 44px;
  position: relative;
}
.about_ai_subblock .ai_roles_wrap .ai_roles_caption,
.ai_roles_wrap .ai_roles_caption {
  display: inline-block;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--main-color);
  background: #EAF6FB;
  border: 2px solid var(--about-accent-light);
  border-radius: 6px;
  margin: -46px 0 40px 0;
  padding: 11px 22px;
  white-space: nowrap; /* 折り返し禁止（caption_main + caption_sub を1行で表示） */
}
.ai_roles {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 88px;
  max-width: 1000px;
  margin: 0 auto;
}
.ai_role {
  flex: 1 1 0;
  padding: 12px 16px;
  background: transparent;
  border: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.ai_role:not(:last-child)::after {
  content: "+";
  position: absolute;
  right: -58px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: 300;
  color: var(--main-color);
  line-height: 1;
  width: 28px;
  text-align: center;
}
.ai_role_overlap {
  background: rgba(184, 227, 242, 0.3);
  border: 2px dashed var(--about-accent-light);
  color: var(--main-txt);
}
.ai_role_icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  margin-bottom: 16px;
}
.ai_role_overlap .ai_role_icon {
  color: var(--main-color);
}
.ai_role h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--main-color);
  margin: 0 0 20px;
  letter-spacing: 0.05em;
}
.ai_role_overlap h4 {
  color: var(--main-color);
}
.ai_role_prefix {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--main-color);
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
}
.ai_role ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.ai_role li {
  font-size: 14px;
  line-height: 2.2;
  padding-left: 16px;
  position: relative;
  color: var(--main-txt);
}
.ai_role_overlap li {
  color: var(--main-txt);
}
.ai_role li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--main-color);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ai_role_overlap li::before {
  background: var(--main-color);
}

/* タグ風リスト */
.ai_role_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.ai_role_tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 3px;
  background: #fff;
  color: var(--main-txt);
  border: 1px solid #E5E7EB;
}
.ai_role_overlap .ai_role_tag {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}
.ai_role_ai .ai_role_tag {
  color: var(--main-color);
  border-color: var(--about-accent-light);
}

/* タブレット (〜1100px): カラムが狭くなる前に gap と h4 を詰める */
@media screen and (max-width: 1100px) and (min-width: 769px) {
  .ai_roles {
    gap: 40px;
    max-width: 100%;
  }
  .ai_role:not(:last-child)::after {
    right: -32px;
    font-size: 26px;
    width: 20px;
  }
  .ai_role h4 {
    font-size: 15px;
    letter-spacing: 0.02em;
  }
  .ai_role_tag {
    font-size: 10px;
    padding: 3px 8px;
  }
}

@media screen and (max-width: 768px) {
  .ai_roles_wrap {
    margin: 40px 20px 0;
    padding: 0 0 32px;
  }
  .ai_roles_caption {
    display: inline-block;
    width: max-content;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: -26px 0 28px 0;
    font-size: 13px;
    padding: 8px 14px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.4;
    letter-spacing: 0.02em;
  }
  .ai_roles {
    flex-direction: column;
    gap: 36px;
    max-width: 360px;
    padding: 0 20px;
  }
  .ai_role { padding: 12px 0; }
  .ai_role:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -32px;
    transform: translate(50%, 0);
    font-size: 24px;
  }
}

/* ===== 概念図: プロモ ワンストップ体制 ===== */
.promo_onestop_wrap {
  max-width: 1100px;
  margin: 80px auto 0;
  background: #F3F4F6;
  border: 2px solid var(--about-accent-light);
  padding: 0 40px 40px;
}
/* タブ風キャプション（ai_dev_flow_wrap などと統一） */
.promo_onestop_wrap .promo_onestop_caption {
  display: inline-block;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--main-color);
  background: #EAF6FB;
  border: 2px solid var(--about-accent-light);
  border-radius: 6px;
  margin: -46px 0 36px 0;
  padding: 11px 22px;
  position: relative;
}
/* キャプション下の横ボーダーは削除（野暮ったさ解消） */
.promo_onestop {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.promo_onestop_phase {
  flex: 1 1 0;
  padding: 8px 12px;
  text-align: center;
  position: relative;
}
.promo_onestop_phase:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--main-color);
  border-top: 2px solid var(--main-color);
  transform: translateY(-50%) rotate(45deg);
}
.promo_onestop_icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo_onestop_icon svg {
  width: 100%;
  height: 100%;
}
.promo_onestop_phase h5 {
  font-size: 26px;
  font-weight: 500;
  color: var(--main-color);
  margin: 0 0 6px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.promo_onestop_phase p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--main-txt);
  margin: 0;
  letter-spacing: 0.02em;
}
.promo_onestop_wrap .promo_onestop_note {
  text-align: center;
  font-size: 16px;
  color: var(--main-txt);
  margin: 40px 0 0;
  letter-spacing: 0.03em;
}
.promo_onestop_wrap .promo_onestop_note .emphasis {
  color: var(--main-color);
  font-weight: 600;
  font-size: 18px;
  margin: 0 4px;
}
.promo_onestop_wrap .promo_onestop_speed {
  text-align: center;
  margin: 32px -40px -40px;
  padding: 22px 24px;
  background: #EAF6FB;
  color: var(--main-txt);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
}
/* フッター上の横ボーダーは削除（野暮ったさ解消） */
.promo_onestop_wrap .promo_onestop_speed svg {
  width: 24px;
  height: 24px;
  color: var(--main-color);
}
.promo_onestop_wrap .promo_onestop_speed .speed_emphasis {
  color: var(--main-color);
  font-weight: 700;
  font-size: 24px;
  margin: 0 4px;
  letter-spacing: 0.12em;
}
@media screen and (max-width: 768px) {
  .promo_onestop_wrap {
    margin: 40px 20px 0;
    padding: 0 0 28px;
  }
  .promo_onestop_wrap .promo_onestop_caption {
    display: block;
    width: max-content;
    max-width: calc(100% - 24px);
    margin: -26px auto 24px auto;
    font-size: 14px;
    padding: 8px 16px;
    line-height: 1.4;
    white-space: normal;
  }
  .promo_onestop {
    flex-direction: column;
    gap: 14px;
    max-width: 360px;
    padding: 0 20px;
    align-items: center; /* 各フェーズを横方向中央寄せ */
  }
  /* SP: 各フェーズをアイコン横並び（左にアイコン、右に見出し＋説明） */
  .promo_onestop_phase {
    padding: 10px 8px;
    text-align: left;
    display: inline-grid; /* コンテンツ幅に合わせて中央寄せできるように */
    grid-template-columns: 36px 160px; /* テキスト側を固定幅にして全フェーズの横位置を揃える */
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    flex: 0 0 auto; /* flex の伸縮を無効化 */
  }
  .promo_onestop_icon {
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    margin: 0;
  }
  .promo_onestop_phase h5 {
    grid-column: 2;
    font-size: 18px;
    margin: 0;
    letter-spacing: 0.06em;
  }
  .promo_onestop_phase p {
    grid-column: 2;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
  }
  /* SP: 矢印はセンターに */
  .promo_onestop_phase:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -12px;
    border-right: none;
    border-top: none;
    border-bottom: 2px solid var(--main-color);
    border-left: 2px solid var(--main-color);
    transform: translate(-50%, 0) rotate(-45deg);
    width: 10px;
    height: 10px;
  }
  .promo_onestop_wrap .promo_onestop_note {
    margin: 24px 20px 0;
    font-size: 12px;
  }
  .promo_onestop_wrap .promo_onestop_speed {
    margin: 24px 0 0;
    padding: 16px 16px;
    font-size: 14px;
  }
  .promo_onestop_wrap .promo_onestop_speed .speed_emphasis {
    font-size: 20px;
  }
}

/* ===== 概念図: SES マッチング ===== */
.ses_match_wrap {
  max-width: 1100px;
  margin: 80px auto 0;
  background: #F3F4F6;
  border: 2px solid var(--about-accent-light);
  padding: 0 40px 44px;
  position: relative;
}
/* タブ風キャプション（ai_dev_flow_wrap などと統一） */
.ses_match_wrap .ses_match_caption {
  display: inline-block;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--main-color);
  background: #EAF6FB;
  border: 2px solid var(--about-accent-light);
  border-radius: 6px;
  margin: -46px 0 36px 0;
  padding: 11px 22px;
  position: relative;
}
.ses_matching {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 88px;
  max-width: 1000px;
  margin: 0 auto;
}
.ses_match_card {
  flex: 1 1 0;
  padding: 12px 16px;
  background: transparent;
  border: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.ses_match_card.ses_match_center {
  background: rgba(184, 227, 242, 0.3);
  border: 1px dashed var(--about-accent-light);
  color: var(--main-txt);
}
.ses_match_card:not(:last-child)::after {
  content: "↔";
  position: absolute;
  right: -58px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
  color: var(--main-color);
  line-height: 1;
  width: 28px;
  text-align: center;
}
.ses_match_icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  margin-bottom: 16px;
}
.ses_match_center .ses_match_icon { color: var(--main-color); }
.ses_match_card h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--main-color);
  margin: 0 0 20px;
  letter-spacing: 0.05em;
}
.ses_match_center h4 { color: var(--main-color); }
.ses_match_card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.ses_match_card li {
  font-size: 13px;
  line-height: 1.4;
  padding: 6px 14px;
  color: var(--main-color);
  background: #EAF6FB;
  border: 1px solid var(--about-accent-light);
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.ses_match_card li::before {
  display: none;
}
.ses_match_lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--main-color);
  margin: 0;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .ses_match_wrap {
    margin: 80px 20px 0;
    padding: 0 0 32px;
  }
  .ses_match_wrap .ses_match_caption {
    display: block;
    width: max-content;
    max-width: calc(100% - 24px);
    margin: -26px auto 24px auto;
    font-size: 14px;
    padding: 8px 16px;
    line-height: 1.4;
    white-space: normal;
  }
  .ses_matching {
    flex-direction: column;
    gap: 36px;
    max-width: 360px;
    padding: 0 20px;
  }
  .ses_match_card { padding: 12px 0; }
  .ses_match_card:not(:last-child)::after {
    content: "↕";
    right: 50%;
    top: auto;
    bottom: -32px;
    transform: translate(50%, 0);
    font-size: 24px;
  }
}

/* プロダクトデザイン部: ループ図の下にある4カードとの間に余白 */
#product-design .about_ai_grid {
  margin-top: 80px;
}

/* ===== 概念図: デザイン UX設計階層 ===== */
.design_layer_wrap {
  max-width: 1140px;
  margin: 60px auto 0;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  padding: 0 40px 40px;
}
.design_layer_caption {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--main-txt);
  background: #F3F4F6;
  margin: 0 -40px 36px;
  padding: 20px 24px;
}
.design_layer {
  max-width: 880px;
  margin: 0 auto;
}
.design_layer_item {
  display: grid;
  grid-template-columns: 64px 64px 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #E5E7EB;
}
.design_layer_item:last-child { border-bottom: none; }
.design_layer_num {
  font-size: 36px;
  font-weight: 300;
  font-family: gill-sans-nova, sans-serif;
  color: #D1D5DB;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
}
.design_layer_icon {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.design_layer_icon svg {
  width: 100%;
  height: 100%;
}
.design_layer_body h5 {
  font-size: 18px;
  font-weight: 500;
  color: var(--main-txt);
  margin: 0 0 4px;
  letter-spacing: 0.05em;
}
.design_layer_body p {
  font-size: 13px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}
.design_layer_wrap .design_layer_note {
  text-align: center;
  font-size: 14px;
  color: #6B7280;
  margin: 28px 0 0;
  letter-spacing: 0.03em;
}
.design_layer_wrap .design_layer_note .emphasis {
  color: var(--main-color);
  font-weight: 600;
  margin: 0 2px;
}
@media screen and (max-width: 768px) {
  .design_layer_wrap {
    margin: 40px 20px 0;
    padding: 0 0 28px;
  }
  .design_layer_caption {
    margin: 0 0 24px;
    font-size: 15px;
    padding: 16px 16px;
  }
  .design_layer {
    padding: 0 20px;
  }
  .design_layer_item {
    grid-template-columns: 48px 40px 1fr;
    gap: 16px;
    padding: 16px 0;
  }
  .design_layer_num { font-size: 28px; }
  .design_layer_icon { width: 32px; height: 32px; }
  .design_layer_body h5 { font-size: 16px; }
  .design_layer_body p { font-size: 12px; }
  .design_layer_wrap .design_layer_note {
    margin: 20px 20px 0;
    font-size: 13px;
  }
}

/* ===== 概念図: デザイン AIループ ===== */
.design_loop_wrap {
  max-width: 1100px;
  margin: 80px auto 0;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  padding: 0 40px 44px;
  position: relative;
}
.design_loop_caption {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--main-txt);
  background: #F3F4F6;
  margin: 0 -40px 40px;
  padding: 20px 24px;
}
.design_loop {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  position: relative;
}
.design_loop_step {
  flex: 1 1 0;
  padding: 8px 16px;
  background: transparent;
  border: none;
  position: relative;
}
.design_loop_step:not(:last-of-type)::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--main-color);
  border-top: 2px solid var(--main-color);
  transform: translateY(-50%) rotate(45deg);
  background: none;
}
.design_loop_num {
  display: block;
  font-size: 64px;
  font-weight: 300;
  font-family: gill-sans-nova, sans-serif;
  color: var(--about-accent-light);
  line-height: 1;
  margin-bottom: -8px;
  letter-spacing: 0.02em;
}
.design_loop_icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.design_loop_icon svg {
  width: 100%;
  height: 100%;
}
.design_loop_step h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--main-txt);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--about-accent-light);
}
.design_loop_step p {
  font-size: 12.5px;
  line-height: 2.8;
  color: var(--main-txt);
  margin: 0;
  text-align: left;
  white-space: nowrap;
}
.design_loop_step .role_ai,
.design_loop_step .role_human {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  margin-right: 8px;
  border-radius: 3px;
  vertical-align: middle;
  min-width: 22px;
  text-align: center;
}
.design_loop_step .role_ai {
  background: var(--main-color);
  color: #fff;
}
.design_loop_step .role_human {
  background: var(--about-accent-light);
  color: var(--main-color);
}
.design_loop_return {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 80px;
  height: 80px;
  background: var(--main-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21, 157, 216, 0.35);
}
.design_loop_return svg {
  width: 38px;
  height: 38px;
}
@media screen and (max-width: 768px) {
  .design_loop_wrap {
    margin: 60px 20px 0;
    padding: 0 0 32px;
  }
  .design_loop_caption {
    margin: 0 0 28px;
    font-size: 15px;
    padding: 16px 16px;
  }
  .design_loop {
    flex-direction: column;
    gap: 0;
    max-width: 360px;
    margin: 0 auto;
    padding: 0 20px;
  }
  /* SP: 数字をアイコンの左に小さく並べる */
  .design_loop_step {
    padding: 24px 0 16px;
    text-align: center;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    column-gap: 2px;
    row-gap: 10px;
  }
  .design_loop_num {
    grid-column: 1;
    grid-row: 1;
    font-size: 22px;
    margin: 0;
    align-self: center;
  }
  .design_loop_icon {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    width: 34px;
    height: 34px;
  }
  .design_loop_step h4 {
    border-bottom: none;
    padding-bottom: 0;
    margin: 4px 0 4px;
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .design_loop_step > p {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .design_loop_step:not(:last-of-type)::after {
    content: "";
    display: block;
    position: static;
    width: 18px;
    height: 18px;
    margin: 14px auto 0;
    background: none;
    border-top: none;
    border-left: none;
    border-right: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    transform: rotate(45deg);
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    grid-column: 1 / -1;
    grid-row: 4;
  }
  .design_loop_step p {
    text-align: center;
    white-space: normal;
    display: inline-block;
    text-align: left;
  }
  .design_loop_return {
    position: static;
    margin: 24px auto 0;
    width: 64px;
    height: 64px;
  }
  .design_loop_return svg { width: 32px; height: 32px; }
}

/* ===== ページ最上部に戻るボタン ===== */
.about_back_to_top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--main-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 14px rgba(21, 157, 216, 0.35);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.about_back_to_top:hover {
  background: #0F7BA8;
  transform: translateY(-4px);
  opacity: 1;
  color: #fff;
  box-shadow: 0 6px 20px rgba(21, 157, 216, 0.5);
}
.about_back_to_top:visited { color: #fff; }
.about_back_to_top svg {
  width: 22px;
  height: 22px;
  display: block;
}
@media screen and (max-width: 768px) {
  .about_back_to_top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
  .about_back_to_top svg { width: 18px; height: 18px; }
}

/* プロモーション事業部: AI × Promotion 本文を目立たせる */
#promotion .about_ai .about_ai_subblock {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 50px 60px;
  max-width: 980px;
}
#promotion .about_ai .about_ai_subblock p {
  color: var(--main-color);
  font-size: 20px;
  font-weight: 500;
  line-height: 2.2;
  margin: 0 0 14px;
}
#promotion .about_ai .about_ai_subblock p:last-child { margin-bottom: 0; }
@media screen and (max-width: 768px) {
  #promotion .about_ai .about_ai_subblock { padding: 28px 24px; }
  #promotion .about_ai .about_ai_subblock p { font-size: 16px; line-height: 2; }
}
.about_section_strengths > * {
  position: relative;
  z-index: 1;
}
.about_strength_body h3 {
  color: var(--main-txt);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}
.about_strength_body p {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  margin: 0;
}

/* ===== AI × ◯◯ セクション ===== */
.about_ai {
  background: var(--about-grad);
  padding: 140px 10px;
  text-align: center;
}
.about_ai_title {
  color: var(--main-color);
  font-size: 64px;
  font-weight: 400;
  margin: 0 0 40px;
}
.about_ai_title .ai_title_x {
  font-weight: 300;
  font-size: 0.85em;
  margin: 0 0.12em;
  vertical-align: middle;
}
.about_ai_lead {
  color: var(--main-txt);
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
  margin: 0 0 60px;
}
.about_ai_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 40px;
  padding-top: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.about_ai_card {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 40px;
  width: 100%;
  min-height: 260px;
  box-sizing: border-box;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about_ai_card .about_ai_card_num {
  color: #159DD7;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  line-height: 1;
}
.about_ai_card p {
  color: var(--main-txt);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  margin: 0;
}

/* ===== AI セクション拡張（アプリケーション開発部） ===== */
.about_ai_subblock {
  max-width: 1100px;
  margin: 0 auto 60px;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 40px;
  box-sizing: border-box;
}
.about_ai_subblock h3 {
  color: var(--main-color);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 20px;
  position: relative;
  padding-left: 18px;
}
.about_ai_subblock h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 22px;
  background: var(--main-color);
  border-radius: 2px;
  transform: translateY(-50%);
}
.about_ai_subblock p {
  color: var(--main-txt);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  margin: 0 0 12px;
}
.about_ai_table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #fff;
}
.about_ai_table th,
.about_ai_table td {
  padding: 16px 20px;
  border: 1px solid var(--about-accent-light);
  font-size: 16px;
  color: var(--main-txt);
  text-align: left;
  vertical-align: top;
}
.about_ai_table thead th {
  background-color: var(--about-accent-light);
  color: var(--main-txt);
  font-weight: 500;
}

/* ===== 強み2: 縦並びアイコンなしレイアウト（他部署用） ===== */
.about_strengths.col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 40px;
  align-items: stretch;
  padding-top: 60px;
}
.about_strengths.col2 .about_strength {
  max-width: none;
}

/* ===== プロセス ===== */
.about_process {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 140px 80px;
  background: #fff;
}
.about_process_title {
  color: var(--main-color);
  font-size: 40px;
  font-weight: 500;
  margin: 0;
}
.about_process_sub {
  color: var(--main-txt);
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}
/* SES事業部: 7ステップ用 grid（後のメディアクエリで上書きされるため、ここで先に定義） */
#ses .about_process_steps {
  grid-template-columns: repeat(7, 1fr);
}
.about_process_steps {
  position: relative;
  width: 100%;
  max-width: 996px;
  padding-top: 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 20px;
}
.about_process_step {
  position: relative;
  text-align: center;
}
/* 各ステップから次のステップへの連結線（最後のステップには出さない） */
.about_process_step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 33px;        /* 円の縦中心（半径33px） */
  left: 50%;
  width: calc(100% + 20px); /* セル中央から次のセル中央まで（gap 20px込み） */
  height: 2px;
  background: var(--about-accent-light);
  z-index: 0;
}
.about_process_circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--about-accent-light);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  font-size: 16px;
  font-weight: 400;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ===== プロセス: 順次ハイライト アニメーション =====
   6ステップを1秒ずつハイライト → 全体6秒で1周 → 無限ループ
   ============================================ */
.about_process_step .about_process_circle {
  animation: stepHighlight 6s linear infinite;
}
.about_process_step:nth-child(1) .about_process_circle { animation-delay: 0s; }
.about_process_step:nth-child(2) .about_process_circle { animation-delay: 1s; }
.about_process_step:nth-child(3) .about_process_circle { animation-delay: 2s; }
.about_process_step:nth-child(4) .about_process_circle { animation-delay: 3s; }
.about_process_step:nth-child(5) .about_process_circle { animation-delay: 4s; }
.about_process_step:nth-child(6) .about_process_circle { animation-delay: 5s; }

@keyframes stepHighlight {
  0%, 14.66% {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
  }
  16.66%, 100% {
    background: #fff;
    color: var(--main-color);
    border-color: var(--about-accent-light);
  }
}

/* アニメーション抑止（ユーザー設定 prefers-reduced-motion） */
@media (prefers-reduced-motion: reduce) {
  .about_process_step .about_process_circle {
    animation: none;
  }
  .about_process_step:first-child .about_process_circle {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
  }
}
.about_process_label {
  color: var(--main-color);
  font-size: 16px;
  font-weight: 400;
  margin: 24px 0 0;
}

/* ===== 制作実績 ===== */
.about_works {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
  justify-content: space-between;
  padding: 80px 40px 0;
}
.about_work_item {
  display: flex;
  gap: 10px;
  align-items: center;
  width: calc(50% - 20px);
  max-width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
}
.about_work_icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--about-accent-light);
}
.about_work_icon svg { width: 100%; height: 100%; }
.about_work_label {
  color: var(--main-txt);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

/* ===== トータルソリューション ===== */
.about_solution {
  padding: 140px 80px;
  text-align: center;
  background-color: #F4F4F6;
}
.about_solution_title {
  color: var(--main-color);
  font-size: 64px;
  font-weight: 400;
  margin: 0 0 48px;
  text-align: center;
  white-space: nowrap;
}
.about_solution_sub {
  color: var(--main-txt);
  font-size: 20px;
  font-weight: 500;
  line-height: 2.1;
  margin: 0 0 110px;
  text-align: center;
}
.about_solution_main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  max-width: 1200px;
  margin: 0 auto;
}
.about_solution_image {
  flex: 0 0 auto;
  max-width: 780px;
  width: 50%;
  text-align: center;
}
.about_solution_image img {
  width: 100%;
  height: auto;
  display: block;
}
.about_solution_grid {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: none;
  margin: 0;
}
.about_solution_card {
  background-color: #fff;
  padding: 14px 22px;
  width: 100%;
  max-width: none;
  text-align: left;
  box-sizing: border-box;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.3s;
}
@media (max-width: 768px) {
  .about_solution_sub {
    margin: 0 0 40px;
  }
  .about_solution_main {
    flex-direction: column-reverse;
    gap: 36px;
    padding: 0 20px;
  }
  .about_solution_image {
    width: 100%;
    max-width: none;
  }
  .about_solution_card_inner {
    width: 100%;
  }
  .about_solution_grid {
    width: 100%;
  }
}
.about_solution_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(21, 157, 216, 0.15);
}
.about_solution_card h3 {
  color: var(--main-color);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.4;
}
.about_solution_card p {
  color: var(--main-txt);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}
.about_solution_card p br { display: none; }
.about_solution_card a { color: inherit; text-decoration: none; }

/* 制作実績セクションを一旦非表示（戻すときはこのブロックを削除） */
.about_section:has(.about_works) {
  display: none;
}

/* ===== アプリ・デザイン：開発/制作プロセスを薄いグレー背景に ===== */
#application .about_process,
#product-design .about_process {
  background: #F3F4F6;
}

/* ===== プロモ：AI × 工程 マトリクス ===== */
.promo_ai_matrix_wrap {
  max-width: 1020px;
  margin: 80px auto 0;
  background: #F3F4F6;
  border: 1px solid var(--about-accent-light);
  padding: 0 40px 44px;
  position: relative;
}
.promo_ai_matrix_caption {
  display: inline-block;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--main-color);
  background: #EAF6FB;
  border: 1px solid var(--about-accent-light);
  border-radius: 6px;
  margin: -46px 0 40px 0;
  padding: 11px 22px;
}
.promo_ai_matrix {
  display: grid;
  grid-template-columns: 110px repeat(3, 1fr);
  gap: 8px;
  background: #fff;
  padding: 8px;
  border-radius: 6px;
}
.promo_ai_matrix_cell {
  background: #fff;
  padding: 14px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--main-txt);
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.promo_ai_matrix_corner {
  background: transparent;
  border: none;
}
.promo_ai_matrix_head {
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
  border-color: var(--main-color);
  font-size: 14px;
  letter-spacing: 0.05em;
}
.promo_ai_matrix_axis {
  background: #EAF6FB;
  color: var(--main-color);
  font-weight: 600;
  border-color: var(--about-accent-light);
  font-size: 14px;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .promo_ai_matrix_wrap {
    margin: 60px 12px 0;
    padding: 0 16px 32px;
  }
  .promo_ai_matrix_caption {
    display: block;
    width: max-content;
    max-width: calc(100% - 24px);
    margin: -26px auto 24px auto;
    font-size: 14px;
    padding: 8px 16px;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
  }
  .promo_ai_matrix_caption .caption_sub {
    display: none;
  }
  .promo_ai_matrix {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  /* モバイル：1行ずつ表示するため、ヘッダー列を非表示 */
  .promo_ai_matrix_corner,
  .promo_ai_matrix_head {
    display: none;
  }
  .promo_ai_matrix_axis {
    grid-column: 1 / -1;
    padding: 10px 12px;
    font-size: 13px;
    margin-top: 12px;
  }
  .promo_ai_matrix_cell {
    font-size: 13px;
    padding: 12px 14px;
    text-align: left;
    justify-content: flex-start;
  }
  /* セル前にラベル付与（モバイル用、「企画」「制作」「検証」を inline で） */
  .promo_ai_matrix_axis + .promo_ai_matrix_cell::before { content: "企画 / "; color: var(--main-color); font-weight: 600; margin-right: 4px; }
  .promo_ai_matrix_axis + .promo_ai_matrix_cell + .promo_ai_matrix_cell::before { content: "制作 / "; color: var(--main-color); font-weight: 600; margin-right: 4px; }
  .promo_ai_matrix_axis + .promo_ai_matrix_cell + .promo_ai_matrix_cell + .promo_ai_matrix_cell::before { content: "検証 / "; color: var(--main-color); font-weight: 600; margin-right: 4px; }
  /* マトリクス直後の要約リード文：SP では文字小さく */
  .promo_ai_summary { font-size: 14px !important; line-height: 1.9; }
}
/* マトリクス直後の要約リード文：PC */
.promo_ai_summary { font-size: 24px; }
/* ===== アプリ：開発実績（works スライダー） ===== */
.about_dev_works {
  background: #fff;
  padding-top: 100px;
  padding-bottom: 100px;
}
.about_dev_works .about_section_sub {
  margin-bottom: 60px;
}
.about_dev_works .works_slider {
  max-width: 1200px;
  margin: 0 auto;
}
.about_dev_works .works_slider .slide button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
}
.about_dev_works .works_slider .slide img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .about_dev_works {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .about_dev_works .about_section_sub {
    margin-bottom: 40px;
  }
}

/* 非currentカードは部署のヒーロー画像を背景に（オーバーレイなしで濃く表示） */
.about_solution_card.sol-application {
  background: url('/images/about/app_head.jpg') center / cover no-repeat;
}
.about_solution_card.sol-promotion {
  background: url('/images/about/promo_head.jpg') center / cover no-repeat;
}
.about_solution_card.sol-product-design {
  background: url('/images/about/design_head.jpg') center / cover no-repeat;
}
.about_solution_card.sol-ses {
  background: url('/images/about/ses_head.jpg') center / cover no-repeat;
}
/* inner の padding は全カード共通（テキスト位置を揃える） */
.about_solution_card_inner {
  padding: 22px 24px;
  width: 60%;
  margin-left: auto;
  box-sizing: border-box;
  position: relative;
}
/* リンクカードのみ inner 右下に矢印アイコン */
a.about_solution_card .about_solution_card_inner::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: var(--main-color);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.3s;
}
a.about_solution_card:hover .about_solution_card_inner::after {
  transform: translateX(4px);
}
/* 全カード（current 含む）の inner：黒半透明 + 白文字（ヒーローのトーンと連動） */
.about_solution_card.sol-application .about_solution_card_inner,
.about_solution_card.sol-promotion .about_solution_card_inner,
.about_solution_card.sol-product-design .about_solution_card_inner,
.about_solution_card.sol-ses .about_solution_card_inner {
  background: rgba(0, 0, 0, 0.62);
  border-radius: 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-left: 3px solid var(--dept-accent, var(--main-color));
}
/* 本文 p を白に（current も含めて統一） */
.about_solution_card.sol-application p,
.about_solution_card.sol-promotion p,
.about_solution_card.sol-product-design p,
.about_solution_card.sol-ses p {
  color: rgba(255, 255, 255, 0.92);
}
/* current の p / h3 を白系に上書き（既存の .about_solution_card.current ルールを打ち消す） */
.about_solution_card.sol-application.current p,
.about_solution_card.sol-promotion.current p,
.about_solution_card.sol-product-design.current p,
.about_solution_card.sol-ses.current p {
  color: rgba(255, 255, 255, 0.92);
}
.about_solution_card.sol-application.current h3,
.about_solution_card.sol-promotion.current h3,
.about_solution_card.sol-product-design.current h3,
.about_solution_card.sol-ses.current h3 {
  color: var(--dept-accent, var(--main-color));
}
/* リンクカードの矢印を白に */
a.about_solution_card.sol-application .about_solution_card_inner::after,
a.about_solution_card.sol-promotion .about_solution_card_inner::after,
a.about_solution_card.sol-product-design .about_solution_card_inner::after,
a.about_solution_card.sol-ses .about_solution_card_inner::after {
  color: #fff;
}
/* current の白オーバーレイ ::before を打ち消す（黒インナーが薄まらないように） */
.about_solution_card.sol-application.current::before,
.about_solution_card.sol-promotion.current::before,
.about_solution_card.sol-product-design.current::before,
.about_solution_card.sol-ses.current::before {
  background: transparent;
}

/* 現在のページに対応するカード（リンク無効。背景は sol-* のヒーロー画像を継承） */
.about_solution_card.current {
  pointer-events: none;
  cursor: default;
  position: relative;
}
/* current は背景を白オーバーレイで薄く表示 */
.about_solution_card.current::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  pointer-events: none;
  z-index: 0;
}
.about_solution_card.current .about_solution_card_inner {
  position: relative;
  z-index: 1;
}
.about_solution_card.current:hover {
  transform: none;
  box-shadow: none;
}
.about_solution_card.current h3 {
  color: var(--main-color);
}
.about_solution_card.current p {
  color: var(--main-txt);
}
.about_solution_card.current::after {
  content: "現在のページ";
  position: absolute;
  top: 5px;
  right: 16px;
  z-index: 2;
  font-size: 11px;
  color: #fff;
  background: var(--main-color);
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

/* ===== 最終CTA ===== */
.about_cta {
  background: var(--about-grad);
  padding: 140px 80px;
  text-align: center;
}

/* About 4部署共通: CTA とフッターの間の隙間を消す（footer.css の margin-top を上書き） */
.about_page + footer {
  margin-top: 0;
}
.about_cta_title {
  color: var(--main-color);
  font-size: 48px;
  font-weight: 500;
  margin: 0 0 40px;
  line-height: 1.4;
}
.about_cta_sub {
  color: var(--main-txt);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 60px;
}
.about_cta_btn {
  display: inline-block;
  background: #fff;
  color: #000;
  font-size: 24px;
  font-weight: 500;
  padding: 34px 92px;
  border-radius: 8px;
  transition: 0.3s;
  text-decoration: none;
}
.about_cta_btn:hover {
  background: var(--main-color);
  color: #fff;
  opacity: 1;
}
.about_cta_btn:visited { color: #000; }

/* =========================================================
   タブレット (〜1300px)
   ========================================================= */
@media screen and (max-width: 1300px) {
  .about_section { padding: 100px 40px; }
  .about_hero_body { padding: 40px 20px 60px; gap: 24px; }
  .about_hero_inner { padding: 60px 30px 30px; }
  .about_hero_title { font-size: 32px; }
  /* 共通: ヒーロー内キャッチコピー（タブレット） */
  .about_page .about_hero_copy_text { font-size: 26px; }
  .about_ai { padding: 100px 20px 60px; }
  .about_ai_grid { gap: 24px; }
  .about_ai_card { width: 100%; }
  .about_process { padding: 100px 40px 60px; }
  .about_solution { padding: 100px 40px; }
  .about_cta { padding: 100px 40px; }
}

/* =========================================================
   スマホ (〜768px)
   ========================================================= */
@media screen and (max-width: 768px) {
  .about_page #mainvisual { min-height: auto; }
  .about_hero_body {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 20px 20px 40px;
  }
  .about_hero_copy {
    order: -1;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
  .about_hero_inner { order: 1; padding: 32px 24px 28px; width: 100%; max-width: 100%; }
  .about_hero_brand { font-size: 14px; }
  .about_hero_title { font-size: 26px; }
  .about_hero_lead { font-size: 14px; line-height: 1.9; }
  /* 共通: ヒーロー内キャッチコピー（スマホ） */
  .about_page .about_hero_copy_text { font-size: 22px; margin-bottom: 18px; }
  /* 共通: ヒーローの高さを確保して白枠を下寄せ */
  .about_page #mainvisual { min-height: 70vh; }
  .about_page .about_hero_body {
    min-height: 70vh;
    justify-content: flex-end;
  }

  .about_section { padding: 80px 20px; }
  .about_section_title { font-size: 26px; }
  .about_section_sub { font-size: 16px; margin-bottom: 40px; }

  .about_problems { gap: 24px; padding: 24px 0; }
  .about_problem_item { width: 100%; font-size: 15px; padding: 8px 20px 12px 8px; }
  /* 共通: 挿絵を上に縦積み、各項目はチェックマーク維持 */
  .about_page .about_problems_with_illust {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
  }
  .about_page .about_problems_illust { width: 100px; }
  .about_page .about_problems_with_illust .about_problems { gap: 18px; }
  .about_page .about_problem_item { width: 100%; padding-left: 32px; }
  .about_page .about_problem_item::before { width: 18px; height: 18px; }
  .about_problem_msg { font-size: 18px; margin: 60px 0 32px; line-height: 1.85; }
  .about_problem_msg.about_problem_msg_long { font-size: 16px; line-height: 1.85; }

  .about_services { gap: 20px; }
  .about_service_card { width: 100%; min-height: auto; padding: 40px 24px; }
  /* 共通: スマホ時もカード間の余白を少し広く */
  .about_page .about_services { gap: 28px; }
  /* 共通: スマホ時の背景アイコンを少し縮小 */
  .about_page .about_service_card::after {
    width: 110px;
    height: 110px;
    right: 18px;
    bottom: 18px;
  }

  .about_strengths { gap: 50px; align-items: stretch; padding-top: 40px; }
  /* 共通: 強みセクション写真をモバイルでセクション冒頭に横長配置 */
  .about_page .about_strengths_wrap {
    flex-direction: column;
    gap: 24px;
  }
  .about_page .about_strengths_photo {
    width: 85%;          /* 一回り小さく */
    margin: 0 auto;      /* 中央寄せ */
    aspect-ratio: 3 / 2; /* 縦長写真を横長帯にトリミング */
    overflow: hidden;
  }
  .about_page .about_strengths_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%; /* 下寄り */
  }
  /* 概念図モディファイア（モバイル時：トリミングを解除して全体を表示） */
  .about_page .about_strengths_photo.is_diagram {
    width: 90%;
    aspect-ratio: auto;
    overflow: visible;
  }
  .about_page .about_strengths_photo.is_diagram img {
    height: auto;
    object-fit: contain;
    object-position: initial;
  }
  .about_strength { flex-direction: column; gap: 16px; width: 100%; max-width: 100%; }
  .about_strength_marker { width: 160px; height: 2px; margin-top: 4px; background: #159DD7; }
  .about_strength_body { flex: 0 0 auto; width: 100%; }
  .about_strength_body h3 { font-size: 19px; }
  .about_strength_body p { font-size: 14px; line-height: 1.9; }
  .about_section_strengths::before { display: none; }

  .about_ai { padding: 80px 20px 60px; }
  .about_ai_title { font-size: 32px; }
  .about_ai_lead { font-size: 16px; line-height: 1.9; margin-bottom: 40px; }
  .about_ai_grid { grid-template-columns: 1fr; gap: 20px; }
  .about_ai_card { width: 100%; padding: 28px 24px; min-height: auto; gap: 20px; }
  .about_ai_card p { font-size: 14px; line-height: 1.9; }

  .about_process { padding: 80px 20px 60px; }
  .about_process_title { font-size: 26px; }
  .about_process_sub { font-size: 14px; }
  .about_process_steps,
  #ses .about_process_steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 16px;
    padding-top: 30px;
  }
  .about_process_step:not(:last-child)::after { display: none; }
  .about_process_circle { width: 50px; height: 50px; font-size: 14px; }
  .about_process_label { font-size: 13px; margin-top: 12px; }

  .about_works { padding: 40px 0 0; gap: 16px; }
  .about_work_item { width: 100%; }
  .about_work_icon { width: 36px; height: 36px; }
  .about_work_label { font-size: 15px; }

  .about_solution { padding: 80px 20px; }
  .about_solution_title { font-size: 30px; }
  .about_solution_sub { font-size: 16px; }
  .about_solution_card { width: 100%; padding: 28px 24px; }

  .about_cta { padding: 80px 20px; }
  .about_cta_title { font-size: 26px; line-height: 1.5; }
  .about_cta_sub { font-size: 15px; margin-bottom: 40px; }
  .about_cta_btn { font-size: 17px; padding: 22px 40px; width: 80%; box-sizing: border-box; }
}

/* =========================================================
   SES事業部: プロセス7ステップ用オーバーライド
   .about_process_steps[style] のインラインで grid-template-columns を
   repeat(7, 1fr) にしているページ向け
   ========================================================= */
/* SES事業部: 7ステップアニメーション（duration を上書き） */
#ses .about_process_step .about_process_circle {
  animation-duration: 7s;
}
#ses .about_process_step:nth-child(1) .about_process_circle { animation-delay: 0s; }
#ses .about_process_step:nth-child(2) .about_process_circle { animation-delay: 1s; }
#ses .about_process_step:nth-child(3) .about_process_circle { animation-delay: 2s; }
#ses .about_process_step:nth-child(4) .about_process_circle { animation-delay: 3s; }
#ses .about_process_step:nth-child(5) .about_process_circle { animation-delay: 4s; }
#ses .about_process_step:nth-child(6) .about_process_circle { animation-delay: 5s; }
#ses .about_process_step:nth-child(7) .about_process_circle { animation-delay: 6s; }

@keyframes stepHighlight7 {
  0%, 12.57% {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
  }
  14.28%, 100% {
    background: #fff;
    color: var(--main-color);
    border-color: var(--about-accent-light);
  }
}

/* =========================================================
   スマホ（〜768px）レイアウト崩れの修正
   - サービス領域 / 制作実績の3カラムを1カラムへ
   - AI 駆動開発フロー / 役割分担 図の幅を広げる
   ========================================================= */
@media screen and (max-width: 768px) {
  /* サービス領域: アプリ・SES の2カラム指定をモバイルでは解除 */
  #application .about_service_card,
  #ses .about_service_card {
    width: 100%;
  }

  /* サービス領域の写真をモバイルでさらに小さく */
  .about_page .about_services_photo {
    width: 90%;
    max-width: 360px;
  }

  /* 制作実績: 3カラム指定をモバイルでは解除 */
  #promotion .about_work_item,
  #product-design .about_work_item,
  #application .about_work_item {
    width: 100%;
  }

  /* AI 駆動開発フロー 図: 横幅を広げる + 内側パディング確保 */
  .ai_dev_flow_wrap {
    margin-left: 12px;
    margin-right: 12px;
    padding: 0 16px 24px;
  }
  .ai_dev_flow {
    padding: 0;
    gap: 20px;
  }

  /* 人間 × AI 役割分担 図: 横幅を広げる + 内側パディング確保 */
  .ai_roles_wrap {
    margin: 72px 4px 0;
    padding: 0 16px 32px;
  }
  .ai_roles {
    max-width: none;
    padding: 0;
  }

  /* タブのサブタイトルはスマホでは非表示にして折り返しを抑える */
  .ai_dev_flow_caption .caption_sub,
  .ai_roles_caption .caption_sub {
    display: none;
  }
}

/* ===== アプリ：主な取り組み カード ===== */
.ai_works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  max-width: 980px;
  margin: 32px auto 0;
}
.ai_work_card {
  background: transparent;
  border: none;
  border-top: 2px solid var(--about-accent-light);
  padding: 24px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.ai_work_card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--main-color);
}
.ai_work_card_icon {
  width: 40px;
  height: 40px;
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai_work_card_icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ai_work_card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--main-color);
  margin: 0;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.ai_work_card p {
  font-size: 14px;
  color: var(--main-txt);
  line-height: 1.9;
  margin: 0;
}

@media (max-width: 768px) {
  .ai_works {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }
  .ai_work_card {
    padding: 20px 0 0;
  }
}

/* ===== アプリ：強みカードの配色（横線グレー / 見出し青） ===== */
.about_page .about_strength_marker {
  background: #D1D5DB;
  width: 210px;
}
.about_page .about_strength_body h3 {
  color: var(--main-color);
}
/* ===== アプリ：解決できる課題 メッセージのハイライト ===== */
.problem_msg_strong {
  color: var(--main-color);
  font-weight: 700;
}
.problem_msg_marker {
  background-image: linear-gradient(transparent 62%, rgba(184, 227, 242, 0.7) 62%);
  padding: 0 2px;
  font-weight: 600;
}

/* ===== アプリ：課題→解決 対応図 ===== */
.solution_map_lead_arrow {
  width: 56px;
  height: 72px;
  margin: 64px auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* MIRAILABS グラデを SVG をマスクにして表示 */
  background-image: var(--about-grad);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 64' fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'><path d='M24 4v50M8 38l16 16 16-16'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 64' fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'><path d='M24 4v50M8 38l16 16 16-16'/></svg>");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
/* 元のインライン SVG は非表示（CSS マスクで描画するため） */
.solution_map_lead_arrow svg {
  display: none;
}
@media (max-width: 768px) {
  .solution_map_lead_arrow {
    width: 44px;
    height: 56px;
    margin: 40px auto 16px;
  }
}
.app_solution_map {
  max-width: 1140px;
  margin: 24px auto 64px;
  background: #F3F4F6;
  border: 2px solid #E5E7EB;
  padding: 0 40px 40px;
  position: relative;
}
.app_solution_map_caption {
  display: inline-block;
  background: #fff;
  color: #6B7280;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 500;
  padding: 8px 18px;
  margin: 0 0 28px;
  border: 1px solid #E5E7EB;
  border-top: none;
}
.app_solution_map_title {
  font-size: 28px;
  font-weight: 600;
  color: var(--main-color);
  margin: 48px 0 56px;
  letter-spacing: 0.04em;
  text-align: center;
}
.app_solution_map_grid {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  grid-template-rows: auto repeat(3, auto);
  column-gap: 16px;
  row-gap: 0;
  align-items: stretch;
}
.solution_col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / 5;
  row-gap: 12px;
}
.solution_col--left  { grid-column: 1; }
.solution_col--right { grid-column: 3; }

.solution_col_label {
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #6B7280;
  font-weight: 700;
  margin: 0 0 6px;
  padding-left: 4px;
}
.solution_item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.solution_item_num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #E5E7EB;
  color: #6B7280;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0;
}
.solution_item_body h5 {
  font-size: 19px;
  font-weight: 600;
  color: var(--main-color);
  margin: 4px 0 10px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.solution_item_body p {
  font-size: 15px;
  color: var(--main-txt);
  line-height: 1.85;
  margin: 0;
}
.solution_item--primary {
  background: var(--main-color);
  border-color: var(--main-color);
}
.solution_item--primary .solution_item_num {
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.solution_item--primary .solution_item_body h5 { color: #fff; }
.solution_item--primary .solution_item_body p { color: rgba(255,255,255,0.88); }

.solution_arrows {
  grid-column: 2;
  grid-row: 1 / 5;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 12px;
  justify-items: center;
  align-items: center;
}
.solution_arrows_spacer { display: block; }
.solution_arrow_unit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  /* MIRAILABS グラデを SVG マスクで描画 */
  background-image: var(--about-grad);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M7 6l6 6-6 6M14 6l6 6-6 6'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M7 6l6 6-6 6M14 6l6 6-6 6'/></svg>");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
/* 元のインライン SVG は非表示（CSS マスクで描画するため） */
.solution_arrow_unit svg {
  display: none;
}

@media (max-width: 768px) {
  .app_solution_map {
    padding: 0 20px 32px;
    margin-top: 40px;
  }
  .app_solution_map_title {
    font-size: 21px;
    margin: 32px 0 24px;
  }
  .app_solution_map_grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    column-gap: 0;
    row-gap: 12px;
  }
  .solution_col {
    display: block;
    grid-row: auto;
    grid-column: auto;
  }
  .solution_col .solution_item {
    margin-top: 8px;
    padding: 14px 14px;
    gap: 10px;
  }
  .solution_col .solution_item_num {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .solution_col .solution_item_body h5 {
    font-size: 17px;
    margin: 2px 0 6px;
  }
  .solution_col .solution_item_body p {
    font-size: 13.5px;
    line-height: 1.7;
  }
  .solution_arrows {
    grid-row: auto;
    grid-column: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 4px auto;
  }
  .solution_arrows_spacer { display: none; }
  .solution_arrow_unit {
    transform: rotate(90deg);
    width: 28px;
    height: 28px;
  }
  .solution_col_label {
    margin-top: 8px;
  }
}

/* =========================================================
   トータルソリューション スマホ最終オーバーライド
   （PC 用のベース定義が後に書かれているため、ここで打ち消す）
   ========================================================= */
@media (max-width: 768px) {
  .about_solution_card_inner {
    width: 100%;
  }
  /* SP: total.png を広めに（左右に少しだけ余白を残す） */
  .about_solution_image {
    width: calc(100% + 40px);
    max-width: none;
    margin-left: -20px;
    margin-right: -20px;
  }
}


/* =========================================================
   部署別サブアクセントカラー
   A: --dept-accent をページ ID にセット
   C: ヒーロー周辺＋セクション見出しに展開して差別化
   ========================================================= */
#application    { --dept-accent: #38BDF8; } /* スカイ（一段明るく） */
#product-design { --dept-accent: #F472B6; } /* ピンク（一段明るく） */
#promotion      { --dept-accent: #FDBA74; } /* オレンジ（一段明るく） */
#ses            { --dept-accent: #34D399; } /* エメラルド（一段明るく） */

/* ヒーロー白枠の上部 6px ボーダー */
.about_page .about_hero_inner {
  border-top: 6px solid var(--dept-accent, var(--main-color));
}

/* ヒーローのキャッチコピーは文字色を部署色に＋白のソフトシャドウで視認性UP */
.about_page .about_hero_copy_text {
  color: var(--dept-accent, var(--main-color));
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 14px rgba(255, 255, 255, 0.85),
    0 0 24px rgba(255, 255, 255, 0.55);
}

/* セクション見出し（h2）の左に部署色の縦アクセントバー
   ※ センター寄せの見出し（about_process_title／インラインで text-align:center）には付けない */
.about_page .about_section_title:not([style*="center"])::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 0.7em;
  background: var(--dept-accent, var(--main-color));
  border-radius: 1px;
  margin-right: 16px;
  vertical-align: middle;
  transform: translateY(-0.05em);
}
/* 親セクションが text-align:center の場合も除外 */
.about_page .about_section[style*="center"] .about_section_title::before {
  content: none;
}

/* 結びメッセージの強調を部署色に */
.about_page .problem_msg_strong {
  color: var(--dept-accent, var(--main-color));
}

/* トータルソリューション: 各カードに行先部署のアクセントカラーを反映 */
.about_solution_card.sol-application    { --dept-accent: #38BDF8; }
.about_solution_card.sol-promotion      { --dept-accent: #FDBA74; }
.about_solution_card.sol-product-design { --dept-accent: #F472B6; }
.about_solution_card.sol-ses            { --dept-accent: #34D399; }

/* 部署名（h3）の左に部署色の縦アクセントバー */
.about_solution_card h3 {
  color: var(--dept-accent, var(--main-color));
}
.about_solution_card h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 0.9em;
  background: var(--dept-accent, var(--main-color));
  border-radius: 1px;
  margin-right: 12px;
  vertical-align: -1px;
}
.about_solution_card.current h3 {
  color: var(--dept-accent, var(--main-color));
}

/* =========================================================
   ヒーロー：中央オーバーレイ・ダークパネル（index2 採用版・4部署共通）
   ========================================================= */

/* 写真全体にうっすら暗幕（中央パネルとの調和） */
.about_page #mainvisual {
  min-height: 56vh;
}
.about_page #mainvisual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}
.about_page #mainvisual > * {
  position: relative;
  z-index: 1;
}

/* ヒーロー本体：中央寄せ */
.about_page .about_hero_body {
  min-height: 56vh;
  justify-content: center;
  align-items: center;
  padding: 48px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* パネル：黒半透明・角丸は下のみ・上端に部署アクセントバー */
.about_page .about_hero_inner {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 4px solid var(--dept-accent, var(--main-color));
  border-radius: 0 0 8px 8px;
  padding: 28px 48px 32px;
  width: auto;
  max-width: 880px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* ロゴ：白に反転 */
.about_page .about_hero_brand img {
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

/* 部署名：白・小さめ・下マージン */
.about_page .about_hero_title {
  color: #fff;
  text-align: center;
  font-size: 32px;
  margin: 8px 0 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

/* キャッチコピー：部署アクセント・影は暗背景用に */
.about_page .about_hero_copy_text {
  color: var(--dept-accent, var(--main-color));
  text-align: center;
  font-size: 36px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* リード：白・センター */
.about_page .about_hero_lead {
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  max-width: 760px;
  margin: 16px auto 0;
}

/* レガシー：白枠の上ボーダーは打ち消す（暗パネルの上ボーダーで一本化） */
.about_page .about_hero_inner { border-top-width: 4px; }

/* モバイル */
@media screen and (max-width: 768px) {
  .about_page #mainvisual { min-height: 56vh; }
  .about_page .about_hero_body {
    min-height: 56vh;
    justify-content: center;
    padding: 40px 18px;
  }
  .about_page .about_hero_inner {
    padding: 28px 24px;
    width: auto;
    max-width: 100%;
  }
  .about_page .about_hero_title { font-size: 22px; }
  .about_page .about_hero_copy_text { font-size: 24px; }
}

/* =========================================================
   エディトリアル格上げ：トラッキング・影・アクセントの強化
   （ヒーローの世界観をページ全体に薄く広げる）
   ========================================================= */

/* 英字大タイトル：トラッキング広めで紙面感 */
.about_page .about_ai_title,
.about_page .about_solution_title {
  letter-spacing: 0.06em;
}

/* 和文セクション見出し：トラッキング + 軽い影で紙面感 */
.about_page .about_section_title,
.about_page .about_process_title {
  letter-spacing: 0.04em;
}

/* セクションサブ：トラッキング + 文字色の階層を強化 */
.about_page .about_section_sub,
.about_page .about_ai_lead,
.about_page .about_process_sub,
.about_page .about_solution_sub {
  letter-spacing: 0.04em;
}

/* 縦アクセントバー：6px → 8px、長さ 0.7em → 0.9em（堂々と） */
.about_page .about_section_title:not([style*="center"])::before {
  width: 8px;
  height: 0.9em;
  margin-right: 18px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* 解決できる課題：1項目を「カード化」しすぎず、罫線下に微影で紙面の罫線感 */
.about_page .about_problem_item {
  transition: background 0.25s, padding 0.25s;
}

/* サービスカード：微影で奥行き */
.about_page .about_service_card {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 14px 30px rgba(15, 23, 42, 0.06),
    0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}
.about_page .about_service_card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 22px 44px rgba(15, 23, 42, 0.10),
    0 4px 10px rgba(15, 23, 42, 0.05);
}

/* トータルソリューションカード：微影 + ホバー時の影深め */
.about_solution_card {
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.06),
    0 2px 4px rgba(15, 23, 42, 0.04);
}
.about_solution_card:hover {
  box-shadow:
    0 22px 44px rgba(15, 23, 42, 0.12),
    0 4px 10px rgba(15, 23, 42, 0.06);
}

/* CTA ボタン：深い多層影 + トラッキング、エディトリアル感 */
.about_cta_btn {
  letter-spacing: 0.08em;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.20),
    0 6px 14px rgba(15, 23, 42, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}
.about_cta_btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 26px 52px rgba(21, 157, 216, 0.28),
    0 8px 18px rgba(21, 157, 216, 0.14);
}

/* 結びメッセージ（about_problem_msg）：縦罫線で囲って紙面感 */
.about_page .about_problem_msg_long {
  position: relative;
}
.about_page .about_problem_msg_long::before,
.about_page .about_problem_msg_long::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 24px;
  background: rgba(0,0,0,0.18);
  transform: translateX(-50%);
}
.about_page .about_problem_msg_long::before { top: -36px; }
.about_page .about_problem_msg_long::after { bottom: -36px; }
