/* ================================================================
   KSC TOP PAGE REDESIGN — top_redesign.css
   このファイルは最後に読み込まれ、bootstrap / main.css /
   indexHeaderStyle.css のスタイルをカスケードで上書きします。
   ================================================================ */


/* ==============================
   CSS Variables
============================== */
:root {
  --bg:           #ffffff;
  --bg-soft:      #f5f7fa;
  --bg-mid:       #eef1f6;
  --bg-dark:      #061630;
  --bg-dark2:     #0a2040;
  --accent:       #0091c2;
  --accent-deep:  #006fa0;
  --accent-light: #e8f5fb;
  --accent-line:  rgba(0, 145, 194, 0.18);
  --warm:         #d4870a;
  --warm-light:   #fff8ed;
  --text-head:    #071830;
  --text-body:    #2d3d50;
  --text-mid:     #566880;
  --text-muted:   #8a9cb0;
  --border:       rgba(0, 0, 0, 0.08);
  --border-mid:   rgba(0, 0, 0, 0.13);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 6px 30px rgba(0,0,0,0.09);
  --shadow-lg:    0 16px 56px rgba(0,0,0,0.12);
  --radius:       10px;
  --radius-lg:    18px;
  --transition:   0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ==============================
   CRITICAL OVERRIDES
   main.css / indexHeaderStyle.css の !important を上書き
============================== */
body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', sans-serif !important;
  background-color: var(--bg) !important;
  color: var(--text-body) !important;
  overflow-x: hidden;
  line-height: 1.7;
  font-weight: 400;
}

/* main.css の a { color:#000 } を上書き（新デザイン内スコープ） */
.ksc-hero a,
.ksc-stats a,
.ksc-about a,
.ksc-solutions a,
.ksc-genai a,
.ksc-news a,
.ksc-cta a {
  color: inherit;
  text-decoration: none !important;
}

/* main.css の .section { padding: 50px 0 0 } を上書き */
.ksc-section { padding: 100px 8%; }

/* Bootstrap img { border: 0 } はそのままで OK */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }


/* ==============================
   ヘッダー（画面上部メニュー）
   既存 indexHeader.php / indexHeaderStyle.css の現行デザインを
   そのまま踏襲する。リデザイン側での上書きは行わない。

   ※例外（バグ修正のみ）：
   スクロール後はJS（megamenu.js）が .navText に .blackText を付与して
   白背景ヘッダー上で黒文字にするが、indexHeaderStyle.css の
   .navText:hover / :focus { color:#fff } が詳細度(0,2,0)で .blackText(0,1,0)
   を上書きしてしまう。別タブで開くメニュー（インド事業のご紹介 等）から
   戻るとフォーカスが残り、白背景に白文字で消える。
   詳細度(0,3,0)のルールで視認できる色へ戻す。
============================== */
.navText.blackText:hover {
  color: #31af34; /* 既存のホバー色（緑）を維持 */
}
.navText.blackText:focus {
  color: #000;    /* フォーカス残存時も黒のままで消えないように */
}


/* ==============================
   既存 footer.php のスタイル上書き
============================== */
.footer {
  background: var(--bg-dark2) !important;
  border-top: 3px solid var(--accent) !important;
  padding: 44px 8% 28px !important;
  color: rgba(255,255,255,0.5) !important;
}
.footer * { box-sizing: border-box; }
.footer .footer-content { max-width: 1300px; margin: 0 auto; text-align: center; }
.footer .navbar { background: transparent !important; border: none !important; min-height: auto !important; margin: 0 !important; }
.footer .navbar-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px 24px !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
}
.footer .navbar-nav > li { float: none !important; }
.footer .navbar-nav > li > a {
  color: rgba(255,255,255,0.50) !important;
  font-size: 13px !important;
  padding: 4px 0 !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  transition: color 0.3s ease !important;
  text-decoration: none !important;
  background: transparent !important;
  display: inline !important;
}
.footer .navbar-nav > li > a:hover,
.footer .navbar-nav > li > a:focus {
  color: #fff !important;
  background: transparent !important;
}
.footer p, .footer .footer-company {
  color: rgba(255,255,255,0.35) !important;
  font-size: 11.5px !important;
  font-family: 'DM Mono', monospace, sans-serif !important;
  margin: 0 !important;
}


/* ==============================
   Hero
============================== */
.ksc-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ksc-hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.ksc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(6, 22, 48, 0.78) 0%,
    rgba(6, 22, 48, 0.55) 55%,
    rgba(6, 22, 48, 0.30) 100%
  );
}

.ksc-hero-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12));
}

.ksc-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 20% 50%, rgba(0,0,0,0.6), transparent);
}

.ksc-hero-content {
  position: relative;
  z-index: 10;
  padding: 0 8%;
  max-width: 1300px;
}

.ksc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
  animation: kscFadeSlideUp 0.8s ease both;
}

.ksc-hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6dd8f5;
  animation: kscPulse 2s ease infinite;
}

@keyframes kscPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.ksc-hero-badge span {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ksc-hero-title-en {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(34px, 4.6vw, 60px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em;
  margin-bottom: 10px !important;
  animation: kscFadeSlideUp 0.9s ease 0.15s both;
}

.ksc-hero-title-en em {
  font-style: italic;
  color: #6dd8f5;
}

.ksc-hero-title-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(16px, 2.2vw, 28px);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  animation: kscFadeSlideUp 1s ease 0.3s both;
}

.ksc-hero-divider {
  width: 56px;
  height: 2.5px;
  background: linear-gradient(90deg, #6dd8f5, transparent);
  margin-bottom: 28px;
  animation: kscExpandLine 1.2s ease 0.5s both;
}

@keyframes kscExpandLine {
  from { width: 0; opacity: 0; }
  to { width: 56px; opacity: 1; }
}

.ksc-hero-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  max-width: 460px;
  line-height: 1.85;
  margin-bottom: 48px;
  animation: kscFadeSlideUp 1s ease 0.45s both;
}

.ksc-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: kscFadeSlideUp 1s ease 0.6s both;
}

.ksc-hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: kscFadeSlideUp 1s ease 1.1s both;
  z-index: 10;
}

.ksc-scroll-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.ksc-scroll-wheel {
  width: 3px; height: 7px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: kscScrollDown 2s ease infinite;
}

@keyframes kscScrollDown {
  0% { opacity: 1; transform: translateY(0); }
  80% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(10px); }
}

.ksc-hero-scroll span {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

@keyframes kscFadeSlideUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ==============================
   Buttons
============================== */
.ksc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 8px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.ksc-btn-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 6px 24px rgba(0,145,194,0.35);
  transform: translateY(-2px);
  color: #fff !important;
}
.ksc-btn-primary svg { width: 15px; height: 15px; }

.ksc-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: #fff !important;
  font-weight: 500;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.ksc-btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
  color: #fff !important;
}
.ksc-btn-outline-white svg { width: 15px; height: 15px; }

.ksc-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--accent);
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background var(--transition), transform var(--transition);
}
.ksc-btn-outline:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  color: var(--accent-deep) !important;
}
.ksc-btn-outline svg { width: 15px; height: 15px; }


/* ==============================
   Stats Strip
============================== */
.ksc-stats-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ksc-stat-item {
  padding: 44px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.ksc-stat-item:last-child { border-right: none; }

.ksc-stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.ksc-stat-number {
  font-family: 'DM Mono', monospace;
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 500;
  color: var(--text-head);
  line-height: 1;
  letter-spacing: -0.02em;
}

.ksc-stat-unit {
  font-size: 0.38em;
  font-weight: 400;
  color: var(--text-mid);
  vertical-align: super;
  margin-left: 3px;
  font-family: 'Noto Sans JP', sans-serif;
}

.ksc-stat-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 8px;
}

.ksc-stat-item::after {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--accent);
  margin: 14px auto 0;
  opacity: 0.4;
}


/* ==============================
   Section Shared
============================== */
.ksc-section { padding: 100px 8%; }
.ksc-section-bg { background: var(--bg-soft); }

.ksc-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.ksc-section-label::before {
  content: '';
  display: block;
  width: 22px; height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.ksc-section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3.5vw, 46px) !important;
  font-weight: 600 !important;
  line-height: 1.28 !important;
  letter-spacing: 0.02em;
  color: var(--text-head) !important;
  margin-bottom: 18px !important;
}

.ksc-section-title em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
}

.ksc-section-sub {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 520px;
}

.ksc-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent) !important;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  text-decoration: none !important;
  transition: gap var(--transition), color var(--transition);
  letter-spacing: 0.03em;
}
.ksc-text-link:hover { gap: 14px; color: var(--accent-deep) !important; }
.ksc-text-link svg { width: 16px; height: 16px; }


/* ==============================
   About Section
============================== */
.ksc-about { background: var(--bg); }

.ksc-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.ksc-about-img-wrap { position: relative; }

.ksc-about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.ksc-about-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06) brightness(0.9);
  transition: transform 0.6s ease;
}
.ksc-about-img-frame:hover img { transform: scale(1.04); }

/* グラデーションメッシュ：ブランドカラーをソフトライトで重ね、写真のディテールを残しつつトーンを統一 */
.ksc-about-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(135% 115% at 0% 0%,    rgba(0,145,194,0.32), rgba(0,145,194,0) 56%),
    radial-gradient(125% 115% at 100% 100%, rgba(6,22,48,0.58),   rgba(6,22,48,0) 60%),
    radial-gradient(95% 85% at 100% 0%,     rgba(212,135,10,0.13), rgba(212,135,10,0) 50%);
  mix-blend-mode: soft-light;
}
/* 微細グレイン：均質な写真にざらつきを与えてモダンな質感に */
.ksc-about-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

.ksc-about-img-wrap::before,
.ksc-about-img-wrap::after {
  content: '';
  position: absolute;
  width: 36px; height: 36px;
  border-color: var(--accent);
  border-style: solid;
  z-index: 2;
}
.ksc-about-img-wrap::before { top: -10px; left: -10px; border-width: 2px 0 0 2px; }
.ksc-about-img-wrap::after  { bottom: -10px; right: -10px; border-width: 0 2px 2px 0; }

.ksc-about-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-head);
  line-height: 1.8;
  margin-bottom: 20px;
}

.ksc-about-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 32px;
}

.ksc-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.ksc-tag {
  background: var(--accent-light);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--accent-deep);
  font-weight: 500;
  letter-spacing: 0.02em;
}


/* ==============================
   Solutions
============================== */
.ksc-solutions { background: var(--bg-soft); }

.ksc-solutions-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 20px;
}

.ksc-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ksc-sol-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
}

.ksc-sol-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent-line);
}

.ksc-sol-card-img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.ksc-sol-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
  transition: transform 0.65s ease, filter 0.4s ease;
}
.ksc-sol-card:hover .ksc-sol-card-img-wrap img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

.ksc-sol-card-body {
  padding: 24px 26px 26px;
}

.ksc-sol-card-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 6px;
}

.ksc-sol-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--text-head) !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
}

.ksc-sol-card-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ksc-sol-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent) !important;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition: gap var(--transition);
}
.ksc-sol-card-link:hover { gap: 12px; }
.ksc-sol-card-link svg { width: 14px; height: 14px; }


/* ==============================
   Generative AI Section
============================== */
.ksc-genai {
  background: var(--bg-dark);
  padding: 100px 8%;
  position: relative;
  overflow: hidden;
}

.ksc-genai::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.ksc-genai::after {
  content: '';
  position: absolute;
  top: -80px; right: 5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,145,194,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.ksc-genai-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ksc-genai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 145, 194, 0.15);
  border: 1px solid rgba(0, 145, 194, 0.35);
  border-radius: 100px;
  padding: 5px 16px;
  margin-bottom: 22px;
}

.ksc-genai-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6dd8f5;
  animation: kscPulse 2s ease infinite;
}

.ksc-genai-eyebrow span {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #6dd8f5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ksc-genai-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 46px) !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1.3 !important;
  margin-bottom: 10px !important;
}

.ksc-genai-title em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: #6dd8f5;
}

.ksc-genai-subtitle {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: rgba(109, 216, 245, 0.8);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.ksc-genai-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 480px;
}

.ksc-genai-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.ksc-genai-cta:hover {
  background: var(--accent-deep);
  box-shadow: 0 6px 28px rgba(0,145,194,0.45);
  transform: translateY(-2px);
  color: #fff !important;
}
.ksc-genai-cta svg { width: 15px; height: 15px; }

.ksc-genai-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55) !important;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  text-decoration: none !important;
  transition: color var(--transition), border-color var(--transition);
}
.ksc-genai-link:hover { color: #fff !important; border-color: rgba(255,255,255,0.6); }

.ksc-genai-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ksc-genai-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.ksc-genai-card:hover {
  background: rgba(0, 145, 194, 0.12);
  border-color: rgba(0, 145, 194, 0.3);
  transform: translateY(-3px);
}

.ksc-genai-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0, 145, 194, 0.2);
  border: 1px solid rgba(0, 145, 194, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.ksc-genai-card-icon svg { width: 20px; height: 20px; color: #6dd8f5; }

.ksc-genai-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin-bottom: 6px !important;
  line-height: 1.4 !important;
}

.ksc-genai-card-text {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}


/* ==============================
   News
============================== */
.ksc-news { background: var(--bg-soft); }

.ksc-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.ksc-news-list { display: flex; flex-direction: column; gap: 0; }

.ksc-news-item {
  display: grid;
  grid-template-columns: 110px 120px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none !important;
  color: inherit !important;
  transition: background var(--transition), padding var(--transition);
  cursor: pointer;
}
.ksc-news-item:first-child { border-top: 1px solid var(--border); }
.ksc-news-item:hover {
  background: var(--bg);
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 8px;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.ksc-news-date {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.ksc-news-cat {
  background: var(--accent-light);
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--accent-deep);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-block;
}

.ksc-news-title {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  transition: color var(--transition);
}
.ksc-news-item:hover .ksc-news-title { color: var(--accent); }

/* ============================================================
   既存ニュース（indexTopNews.php）の旧 Bootstrap マークアップ向け調整
   ── ① 「NEW」アイコン（<span><sup><img ico_new.gif></sup></span>）を非表示
      ② 日付列と本文の間が広すぎるため間隔を詰める
   ============================================================ */

/* ① NEW アイコンを非表示 */
.ksc-news .rows .col-lg-10 span:has(sup),
.ksc-news .rows .col-md-10 span:has(sup),
.ksc-news .rows sup,
.ksc-news .rows img[src*="ico_new"] {
  display: none !important;
}

/* ② 日付列と本文の間隔を短縮（Bootstrapのfloat+%幅をflexで上書き） */
.ksc-news .rows {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.ksc-news .rows .col-lg-2,
.ksc-news .rows .col-md-2,
.ksc-news .rows .newsDivWidthAuto {
  width: 110px;
  flex: 0 0 110px;
  float: none;
  padding-left: 0;
  padding-right: 0;
}
.ksc-news .rows .col-lg-10,
.ksc-news .rows .col-md-10 {
  width: auto;
  flex: 1 1 auto;
  float: none;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 640px) {
  .ksc-news .rows { flex-direction: column; gap: 6px; }
  .ksc-news .rows .col-lg-2,
  .ksc-news .rows .col-md-2,
  .ksc-news .rows .newsDivWidthAuto { width: auto; flex: 0 0 auto; }
}


/* ==============================
   CTA Banner
============================== */
.ksc-cta {
  padding: 96px 8%;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ksc-cta::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,145,194,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ksc-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.ksc-cta-inner { position: relative; z-index: 1; }

.ksc-cta-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6dd8f5;
  margin-bottom: 18px;
}

.ksc-cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 3.2vw, 42px) !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1.4 !important;
  margin-bottom: 18px !important;
}

.ksc-cta-text {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.85;
}

.ksc-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ==============================
   Scroll Reveal
============================== */
.ksc-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.ksc-reveal.ksc-in-view { opacity: 1; transform: translateY(0); }
.ksc-reveal-delay-1 { transition-delay: 0.1s; }
.ksc-reveal-delay-2 { transition-delay: 0.2s; }
.ksc-reveal-delay-3 { transition-delay: 0.32s; }
.ksc-reveal-delay-4 { transition-delay: 0.44s; }


/* ==============================
   Responsive
============================== */
@media (max-width: 1080px) {
  /* footer handled separately */
}

@media (max-width: 880px) {
  .ksc-about-inner { grid-template-columns: 1fr; gap: 44px; }
  .ksc-solutions-grid { grid-template-columns: 1fr; }
  .ksc-stats-strip { grid-template-columns: 1fr; }
  .ksc-stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .ksc-stat-item:last-child { border-bottom: none; }
  .ksc-genai-inner { grid-template-columns: 1fr; gap: 44px; }
  .ksc-genai::after { display: none; }
}

@media (max-width: 640px) {
  .ksc-section { padding: 72px 5%; }
  .ksc-hero-content { padding: 0 5%; }
  .ksc-stats-strip { padding: 0 5%; }
  .ksc-news-item { grid-template-columns: 1fr; gap: 6px; }
  .ksc-solutions-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 500px) {
  .ksc-genai-cards { grid-template-columns: 1fr; }
}
