/* =========================================================
   合同会社 空電サービス / b-sports LABO  サイト固有CSS
   ファイル: css/site.css
   読込順: css/main.css → css/site.css

   クラスプレフィックス: ks- (kuuden-service)

   ── 追加クラス一覧 ──────────────────────────────────────
   CSS変数          : :root (--ks-blue, --ks-blue-mid, --ks-blue-soft,
                      --ks-labo-bg, --ks-labo-bg2, --ks-labo-line,
                      --ks-ink-soft, --ks-muted, --ks-muted-d, --ks-line,
                      --ks-ease, --ks-maxw, --ks-pad)

   レイアウト       : .ks-section-wrap, .ks-bg-off
   ヘッダー         : .header.header-sticky, .header__nav-item a,
                      .ks-nav-labo a, .header__right .ks-btn-*

   タイポ           : .ks-eyebrow, .ks-sec-title, .ks-statement,
                      .ks-hl-blue, .ks-hl-red, .ks-sec-lead

   MV               : #slideshow, .swiper-slide, .main_slider__inner,
                      .ks-mv-veil, .ks-mv-content, .ks-mv-copy,
                      .ks-mv-kicker, .ks-mv-sub, .ks-mv-scroll,
                      .ks-mv-marquee, .ks-mv-track
                      @keyframes ks-scrolln, @keyframes ks-flow

   ゲートウェイ     : .ks-gateway, .ks-gw-card, .ks-gw-bg, .ks-gw-veil,
                      .ks-gw-kuuden, .ks-gw-labo, .ks-gw-inner,
                      .ks-gw-no, .ks-gw-en, .ks-gw-jp, .ks-gw-desc

   特徴カード       : .ks-feat-grid, .ks-feat, .ks-feat--border-red,
                      .ks-feat--bg-off

   ギャラリー       : .ks-gallery-grid, .ks-gallery-item

   LABO暗背景       : .ks-labo-dark

   スペック         : .ks-spec, .ks-spec-row, .ks-spec-no

   ステップ         : .ks-steps, .ks-step

   CTAバンド        : .ks-cta-band, .ks-cta-kuuden, .ks-cta-actions
   CTAコンタクト    : .ks-contact-cta, .ks-contact-cta__inner

   ニュース         : .ks-news-list, .ks-news-item, .ks-date, .ks-arr,
                      .ks-ttl, .ks-cat, .ks-cat-info, .ks-cat-labo,
                      .ks-cat-notice, .ks-cat-nav, .ks-news-layout

   サイドバー       : .ks-side-block, .ks-side-list

   会社情報         : .ks-info-table

   料金テーブル     : .ks-price

   意匠権           : .ks-lic-badge, .ks-lic-policy, .ks-lic-policy--blue

   ページヒーロー   : .ks-page-hero-kuuden, .ks-page-hero-labo,
                      .ks-en-big, .ks-hero-jp

   パンくず         : .ks-crumb

   ページャー       : .ks-pager

   フォーム         : .ks-form, .ks-field, .ks-form-done

   ボタン           : .ks-btn-dark, .ks-btn-red, .ks-btn-ghost,
                      .ks-btn-line, .ks-btn-lg

   フッター         : .ks-footer, .ks-footer-logos, .ks-footer-top,
                      .ks-footer-map, .ks-footer-col, .ks-footer-tel,
                      .ks-footer-sns, .ks-footer-bottom

   イントロ         : .ks-intro-grid

   デザインカード   : .ks-design-grid, .ks-design-card,
                      .ks-design-card__img, .ks-design-card__body,
                      .ks-design-no

   代表メッセージ   : .ks-msg-grid, .ks-msg-photo

   アクセス         : .ks-access-grid

   採用ポリシー     : .ks-recruit-box

   マップ埋め込み   : .ks-embed

   リビール         : .reveal
   ─────────────────────────────────────────────────────── */

/* ======================================================= */
/* CSS変数                                                 */
/* ======================================================= */
:root {
  --ks-blue: #0a3f78;
  --ks-blue-mid: #0e5aa7;
  --ks-blue-soft: #eaf2fb;
  --ks-labo-bg: #141416;
  --ks-labo-bg2: #1d1d20;
  --ks-labo-line: #33343a;
  --ks-ink-soft: #2a2a2c;
  --ks-muted: #6a7480;
  --ks-muted-d: #9aa0ab;
  --ks-line: #e1e6ec;
  --ks-ease: cubic-bezier(.22,.61,.36,1);
  --ks-maxw: 1200px;
  --ks-pad: clamp(20px, 5vw, 64px);
  --ks-header-h: 84px; /* .header-sticky の header__inner 高さ。ヒーロー上部の被り回避に使用 */
}

/* ======================================================= */
/* レイアウトユーティリティ                                */
/* ======================================================= */
.ks-section-wrap {
  max-width: var(--ks-maxw);
  margin: 0 auto;
  padding: 0 var(--ks-pad);
}
.ks-section-wrap--wide {
  max-width: 1500px;
}

.ks-bg-off {
  background: #f4f6f9;
}

/* ======================================================= */
/* ヘッダーカスタマイズ                                    */
/* ======================================================= */

/* ── 背景: 淡いベージュ系・frosted glass ── */
.header.header-sticky {
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(252, 249, 246, 0.93);
  border-bottom: 1px solid var(--ks-line);
}

/* ── 高さ・横余白の調整 ── */
.header.header-sticky .header__inner {
  height: 84px;
  max-width: 1440px;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ── ロゴサイズ ── */
.header__logo img {
  height: 56px;
}
@media (max-width: 639px) {
  .header__logo img {
    height: 44px;
  }
}

/* ── ナビ項目リンク: JA上・EN下に並べ替え ── */
.header__nav-item a {
  position: relative;
  flex-direction: column-reverse;
  padding: 6px 16px;
  gap: 3px;
  transition: color .2s;
}
.header__nav-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--ks-blue);
  transition: width .25s var(--ks-ease);
}
.header__nav-item a:hover {
  color: var(--ks-blue);
}
.header__nav-item a:hover::after {
  width: 100%;
}

/* ── ナビJA: メインテキスト ── */
.header__nav-ja {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-top: 0;
}

/* ── ナビEN: 上品なサブキャプション ── */
.header__nav-en {
  letter-spacing: 0.14em;
  color: var(--ks-muted);
}

/* ── LABOナビ: 赤ホバー ── */
.ks-nav-labo a {
  position: relative;
  transition: color .2s;
}
.ks-nav-labo a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #E60012;
  transition: width .25s var(--ks-ease);
}
.ks-nav-labo a:hover {
  color: #E60012;
}
.ks-nav-labo a:hover::after {
  width: 100%;
}

/* ── ヘッダー右エリア: ボタン間隔 ── */
.header.header-sticky .header__right {
  gap: 10px;
}

/* ── LINE予約ボタン: コンパクト ── */
.header__right .ks-btn-line,
.header__right .ks-btn-dark {
  height: auto;
  border-radius: 2px;
  padding: 0.7em 1.4em;
}

/* ── お問い合わせ CTAボタン: コンパクト ── */
.header__right .header__cta {
  height: auto;
  border-radius: 2px;
  padding: 0.7em 1.4em;
  flex-direction: row;
}

/* ブランドロックアップ（デュアルロゴ）*/
.ks-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.ks-brand-lockup img {
  height: 32px;
  width: auto;
  display: block;
}
.ks-brand-div {
  width: 1px;
  height: 26px;
  background: var(--ks-line);
  flex-shrink: 0;
}
.ks-brand-labo-logo {
  opacity: .88;
}

/* sp-nav LABO red accent */
.ks-sp-nav-labo {
  color: #E60012 !important;
}

/* sp-nav 微調整 */
.sp-nav__link::after {
  margin-left: 10px;
}
.sp-nav__en {
  font-size: 1.5rem;
}

/* ======================================================= */
/* タイポグラフィ                                          */
/* ======================================================= */

/* ks-eyebrow: セクションラベル */
.ks-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ks-blue-mid);
}
.ks-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}
.ks-eyebrow.is-red {
  color: #E60012;
}
.ks-eyebrow.is-light {
  color: #fff;
}

/* ks-sec-title: セクション見出し */
.ks-sec-title {
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .02em;
  font-size: clamp(2.5rem, 3.6vw, 4.2rem);
  margin: .5em 0 .4em;
}

/* ks-statement: 大型ステートメント */
.ks-statement {
  font-weight: 700;
  line-height: 1.7;
  font-size: clamp(2.1rem, 2.8vw, 3.2rem);
  letter-spacing: .02em;
}
.ks-hl-blue {
  color: var(--ks-blue);
}
.ks-hl-red {
  color: #E60012;
}

/* ks-sec-lead: リード文 */
.ks-sec-lead {
  color: var(--ks-muted);
  font-size: 1.7rem;
  line-height: 2;
  max-width: 110ch;
}

/* ======================================================= */
/* MVスライドショー                                        */
/* ======================================================= */
#slideshow {
  position: relative;
  height: 100vh;
  min-height: 620px;
  background: #05070d;
  overflow: hidden;
}
@media (max-width: 639px) {
  #slideshow {
    height: 92vh;
    min-height: 540px;
  }
}

/* スライド画像（静止画 / CMSスライダー .swiper-slide 共通） */
/* 静止画時は #slideshow 直下の .swiper-slide。CMS差し替え後は Swiper が   */
/* .swiper > .swiper-wrapper > .swiper-slide を生成しレイアウトを制御するため、 */
/* 直下セレクタ(下記)は適用されず干渉しない。                                  */
#slideshow > .swiper-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#slideshow .swiper-slide,
#slideshow .main_slider__inner {
  width: 100%;
  height: 100%;
}
#slideshow .swiper-slide img,
#slideshow .main_slider__inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 暗幕（コピー可読性確保。スライド画像の上・コンテンツの下に常時重ねる） */
.ks-mv-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(95deg, rgba(6,24,52,.82) 0%, rgba(8,40,86,.5) 42%, rgba(10,60,120,.18) 100%);
}

.ks-mv-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.ks-mv-content .ks-section-wrap {
  margin-left: 0;
}

.ks-mv-copy {
  max-width: 900px;
  color: #fff;
  pointer-events: auto;
}

.ks-mv-kicker {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: .26em;
  font-size: 1.25rem;
  text-transform: uppercase;
  opacity: .92;
  margin-bottom: 1.3em;
  display: flex;
  gap: .9em;
  align-items: center;
}
.ks-mv-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E60012;
}

.ks-mv-copy h1 {
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: .03em;
  font-size: clamp(3.2rem, 5.4vw, 7rem);
  text-shadow: 0 6px 36px rgba(0,0,0,.45);
}
.ks-mv-copy h1 .accent {
  border-bottom: 6px solid #E60012;
  padding-bottom: .04em;
}

.ks-mv-sub {
  margin-top: 1.5em;
  font-size: clamp(1.5rem, 1.4vw, 1.85rem);
  line-height: 1.95;
  max-width: 54ch;
  opacity: .95;
}

.ks-mv-scroll {
  position: absolute;
  left: var(--ks-pad);
  bottom: clamp(96px, 16vh, 150px);
  z-index: 5;
  color: #fff;
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-size: 1.1rem;
  letter-spacing: .24em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: .85;
  pointer-events: none;
}
.ks-mv-scroll .ln {
  width: 1px;
  height: 46px;
  background: #fff;
  animation: ks-scrolln 2.2s ease infinite;
}

@keyframes ks-scrolln {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.ks-mv-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  height: clamp(76px, 13vh, 148px);
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ks-mv-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: ks-flow 32s linear infinite;
}
.ks-mv-track span {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(4.8rem, 9vw, 12.8rem);
  line-height: 1;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255,255,255,.34);
  padding-inline: .35em;
  user-select: none;
}
.ks-mv-track span .amp {
  -webkit-text-stroke: 1.4px rgba(230,0,18,.66);
  font-style: normal;
  padding: 0 .15em;
}

@keyframes ks-flow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 639px) {
  .ks-mv-scroll { display: none; }
  .ks-mv-marquee { height: clamp(60px, 10vh, 96px); }
}

/* ======================================================= */
/* ks-gateway: 2事業ゲートウェイカード                     */
/* ======================================================= */
.ks-gateway {
  display: grid;
}
@media (min-width: 880px) {
  .ks-gateway {
    grid-template-columns: 1fr 1fr;
  }
}

.ks-gw-card {
  position: relative;
  min-height: min(78vh, 640px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.ks-gw-card .ks-gw-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform .8s var(--ks-ease);
  background-size: cover;
  background-position: center;
}
.ks-gw-card:hover .ks-gw-bg {
  transform: scale(1.05);
}
.ks-gw-card .ks-gw-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.ks-gw-kuuden .ks-gw-veil {
  background: linear-gradient(0deg, rgba(7,30,58,.94) 0%, rgba(7,30,58,.4) 55%, rgba(7,30,58,.2) 100%);
}
.ks-gw-labo .ks-gw-veil {
  background: linear-gradient(0deg, rgba(8,8,9,.96) 0%, rgba(8,8,9,.5) 50%, rgba(120,0,8,.4) 100%);
}
/* 03 RECRUIT：01/02 の下に全幅で並ぶ帯 */
.ks-gw-recruit {
  grid-column: 1 / -1;
  min-height: min(60vh, 480px);
}
.ks-gw-recruit .ks-gw-veil {
  background: linear-gradient(0deg, rgba(7,30,58,.94) 0%, rgba(7,30,58,.45) 55%, rgba(10,63,120,.28) 100%);
}
.ks-gw-recruit .ks-gw-desc {
  max-width: 80ch;
}

.ks-gw-inner {
  padding: clamp(36px, 5vw, 72px);
  width: 100%;
}
.ks-gw-no {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .2em;
  opacity: .8;
}
.ks-gw-en {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 4vw, 5.1rem);
  line-height: 1;
  letter-spacing: .02em;
  margin: .3em 0;
}
.ks-gw-jp {
  font-size: 1.7rem;
  font-weight: 700;
}
.ks-gw-desc {
  margin: 1em 0 1.6em;
  opacity: .9;
  max-width: 46ch;
  font-size: 1.55rem;
}

/* ======================================================= */
/* ks-feat: ナンバー付き特徴カード                         */
/* ======================================================= */
.ks-feat-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
/* 3カラム固定（SPは1カラム） */
.ks-feat-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 639px) {
  .ks-feat-grid--3col {
    grid-template-columns: 1fr;
  }
}

.ks-feat {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-top: 3px solid var(--ks-blue);
}
.ks-feat .fno {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  color: #e9edf2;
  font-size: 3.5rem;
  line-height: 1;
}
.ks-feat h3 {
  margin: .4em 0 .5em;
  font-size: 1.8rem;
  font-weight: 700;
}
.ks-feat p {
  color: var(--ks-muted);
  font-size: 1.5rem;
}
.ks-feat--border-red {
  border-top-color: #E60012;
}
.ks-feat--bg-off {
  background: #f4f6f9;
}

/* ======================================================= */
/* ks-gallery-grid: フォトギャラリー                       */
/* ======================================================= */
.ks-gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.ks-gallery-grid .ks-gallery-item {
  aspect-ratio: 4/3;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
}
@media (max-width: 639px) {
  .ks-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ======================================================= */
/* ks-labo-dark: LABO暗背景セクション                      */
/* ======================================================= */
.ks-labo-dark {
  background: var(--ks-labo-bg);
  color: #fff;
}
.ks-labo-dark .ks-sec-lead {
  color: var(--ks-muted-d);
}
.ks-labo-dark .ks-sec-title {
  color: #fff;
}

/* ======================================================= */
/* ks-spec: 設備スペック                                   */
/* ======================================================= */
.ks-spec {
  display: grid;
  gap: 1px;
  background: var(--ks-labo-line);
  border: 1px solid var(--ks-labo-line);
}
@media (min-width: 760px) {
  .ks-spec {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.ks-spec-row {
  background: var(--ks-labo-bg2);
  padding: 28px clamp(20px, 4vw, 40px);
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  align-items: start;
}
.ks-spec-no {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  color: #E60012;
  font-size: 1.75rem;
}
.ks-spec-row h3 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: .3em;
}
.ks-spec-row p {
  color: var(--ks-muted-d);
  font-size: 1.5rem;
}

/* ======================================================= */
/* ks-steps: ご利用の流れ                                  */
/* ======================================================= */
.ks-steps {
  display: grid;
  gap: 22px;
  counter-reset: ks-step;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.ks-step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--ks-labo-line);
  background: var(--ks-labo-bg2);
}
.ks-step::before {
  counter-increment: ks-step;
  content: counter(ks-step, decimal-leading-zero);
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 3.2rem;
  color: #E60012;
  line-height: 1;
  display: block;
  margin-bottom: .4em;
}
.ks-step h3 {
  font-size: 1.7rem;
  margin-bottom: .4em;
  font-weight: 700;
  color: #fff;
}
.ks-step p {
  color: var(--ks-muted-d);
  font-size: 1.5rem;
}

/* ======================================================= */
/* ks-cta-band: CTAバンド                                  */
/* ======================================================= */
.ks-cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding-block: clamp(56px, 8vw, 100px);
  background: linear-gradient(120deg, #1a1a1a 0%, #2a0004 100%);
}
.ks-cta-band.ks-cta-kuuden {
  background: linear-gradient(120deg, #0a3f78, #06203f);
}
.ks-cta-band h2 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 1.4;
}
.ks-cta-band p {
  margin: 1em auto 2em;
  max-width: 68ch;
  color: var(--ks-muted-d);
}
.ks-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  .ks-cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* 応募バナー：複数ボタンを「広い方」に合わせて等幅化 */
.ks-cta-actions--eq {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}
.ks-cta-actions--eq .ks-btn {
  width: 100%;
}
@media (max-width: 639px) {
  .ks-cta-actions--eq {
    grid-auto-flow: row;
  }
}

/* 採用リード：左右に画像＋中央テキストの3カラム */
.ks-recruit-lead {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
.ks-recruit-lead .ks-msg-photo {
  margin-inline: auto;
}
.ks-recruit-lead__body {
  text-align: center;
}
@media (min-width: 900px) {
  .ks-recruit-lead {
    grid-template-columns: 280px minmax(0, 1fr) 280px;
    gap: 40px;
  }
}

/* PCのみ表示する改行（SPでは非表示＝自然な折り返し） */
.pcbr {
  display: none;
}
@media (min-width: 760px) {
  .pcbr {
    display: inline;
  }
}

/* スマホ時のみ左寄せ（PCは継承した中央寄せのまま） */
@media (max-width: 759.98px) {
  .ks-sp-left {
    text-align: left;
  }
}

/* ======================================================= */
/* ks-contact-cta: コンタクトCTAバンド                    */
/* ======================================================= */
.ks-contact-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding-block: clamp(56px, 8vw, 100px);
  background: linear-gradient(120deg, #1a1a1a 0%, #2a0004 100%);
}
.ks-contact-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}
.ks-contact-cta h2 {
  font-size: clamp(2.5rem, 3.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: .8em;
}
.ks-contact-cta p {
  color: var(--ks-muted-d);
  max-width: 54ch;
  margin: 0 auto 2em;
}
.ks-contact-cta .ks-tel {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: clamp(2.9rem, 3.5vw, 4.5rem);
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: .2em;
}
.ks-contact-cta .ks-time {
  font-size: 1.45rem;
  color: var(--ks-muted-d);
  margin-bottom: 1.5em;
}

/* ======================================================= */
/* ks-news-list: お知らせリスト                            */
/* ======================================================= */
.ks-news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ks-line);
}
.ks-news-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--ks-line);
  transition: background .2s;
  text-decoration: none;
  color: inherit;
}
.ks-news-item:hover {
  background: #f4f6f9;
}
.ks-news-item .ks-date {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: var(--ks-muted);
  font-size: 1.45rem;
  white-space: nowrap;
}
.ks-news-item .ks-arr {
  color: var(--ks-muted);
  font-family: "Archivo", "Noto Sans JP", sans-serif;
}
.ks-news-item .ks-ttl {
  font-weight: 500;
}

@media (max-width: 680px) {
  .ks-news-item {
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
  }
  .ks-news-item .ks-arr {
    display: none;
  }
  .ks-news-item .ks-ttl {
    grid-column: 1 / -1;
  }
}

/* ======================================================= */
/* ks-cat: カテゴリラベル                                  */
/* ======================================================= */
.ks-cat {
  font-size: 1.15rem;
  font-weight: 700;
  padding: .35em .9em;
  border-radius: 2px;
  white-space: nowrap;
}
.ks-cat-info {
  background: var(--ks-blue-soft);
  color: #0a3f78;
}
.ks-cat-labo {
  background: #fde6e8;
  color: #b8000e;
}
.ks-cat-notice {
  background: #fff3d6;
  color: #8a6500;
}

/* ks-cat-nav: カテゴリフィルターナビ */
.ks-cat-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ks-cat-nav a {
  font-size: 1.3rem;
  font-weight: 700;
  padding: .5em 1.1em;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s, color .2s;
  color: #1a1a1a;
  border: 1px solid var(--ks-line);
  background: #fff;
}
.ks-cat-nav a.is-active,
.ks-cat-nav a:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* ======================================================= */
/* ks-news-layout: ニュース一覧レイアウト                  */
/* ======================================================= */
.ks-news-layout {
  display: grid;
  gap: 48px;
}
@media (min-width: 920px) {
  .ks-news-layout {
    grid-template-columns: 1fr 300px;
  }
}

/* ======================================================= */
/* ks-sidebar                                              */
/* ======================================================= */
.ks-side-block {
  margin-bottom: 36px;
}
.ks-side-block h3 {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1a1a1a;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a1a1a;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: .6em;
}
.ks-side-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--ks-line);
  font-size: 1.45rem;
  list-style: none;
}
.ks-side-list li a {
  color: inherit;
  text-decoration: none;
}
.ks-side-list li a:hover {
  color: var(--ks-blue);
}
.ks-side-list .d {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  color: var(--ks-muted);
  display: block;
}

/* ======================================================= */
/* ks-info-table: 会社情報テーブル                         */
/* ======================================================= */
.ks-info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ks-line);
}
.ks-info-table th,
.ks-info-table td {
  text-align: left;
  padding: 18px 4px;
  border-bottom: 1px solid var(--ks-line);
  vertical-align: top;
  font-size: 1.55rem;
}
.ks-info-table th {
  width: 30%;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}
.ks-info-table td {
  color: var(--ks-ink-soft);
}
@media (max-width: 600px) {
  .ks-info-table th,
  .ks-info-table td {
    display: block;
    width: 100%;
  }
}

/* ======================================================= */
/* ks-price: 料金テーブル (dark)                           */
/* ======================================================= */
.ks-price {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}
.ks-price th,
.ks-price td {
  padding: 18px;
  border-bottom: 1px solid var(--ks-labo-line);
  text-align: left;
  font-size: 1.6rem;
}
.ks-price thead th {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: var(--ks-muted-d);
  border-bottom: 2px solid #E60012;
}
.ks-price td.amt {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  text-align: right;
  white-space: nowrap;
}
.ks-price tr:hover td {
  background: var(--ks-labo-bg2);
}

/* ======================================================= */
/* ks-lic: 意匠権コンポーネント                            */
/* ======================================================= */
.ks-lic-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--ks-line);
  background: #fff;
  padding: 18px 26px;
  border-radius: 2px;
}
.ks-lic-badge .seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ks-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.1;
}
.ks-lic-badge__name {
  display: block;
  font-weight: 800;
  font-size: 1.6rem;
}
.ks-lic-badge__sub {
  display: block;
  margin-top: .15em;
  color: var(--ks-muted);
  font-size: 1.3rem;
}
.ks-lic-policy {
  border-left: 4px solid #E60012;
  background: #fff;
  padding: 26px 30px;
  font-weight: 500;
}
.ks-lic-policy--blue {
  border-left-color: var(--ks-blue);
  background: var(--ks-blue-soft);
}
.ks-lic-policy--blue p.ks-lic-title {
  font-weight: 700;
  font-size: 1.75rem;
  color: #0a3f78;
  margin-bottom: .4em;
}

/* ======================================================= */
/* ページヒーロータイポグラフィ                            */
/* ======================================================= */
.ks-en-big {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: clamp(3.8rem, 6vw, 7.4rem);
  line-height: 1;
  letter-spacing: .01em;
  color: #fff;
}
.ks-hero-jp {
  font-size: 1.7rem;
  margin-top: .8em;
  opacity: .9;
  color: #fff;
}

/* ======================================================= */
/* パンくず                                                */
/* ======================================================= */
.ks-crumb {
  display: flex;
  gap: .6em;
  flex-wrap: wrap;
  font-size: 1.3rem;
  color: var(--ks-muted);
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  letter-spacing: .04em;
  padding-block: 18px;
}
.ks-crumb a:hover {
  color: var(--ks-blue);
}

/* ======================================================= */
/* ページャー                                              */
/* ======================================================= */
.ks-pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.ks-pager a,
.ks-pager span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ks-line);
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 1.45rem;
  text-decoration: none;
  color: inherit;
  transition: .2s;
}
.ks-pager a:hover {
  border-color: var(--ks-blue);
  color: var(--ks-blue);
}
.ks-pager .cur {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* ======================================================= */
/* フォームカスタマイズ                                    */
/* ======================================================= */
.ks-form {
  display: grid;
  gap: 22px;
  max-width: 720px;
}
.ks-field {
  display: grid;
  gap: 8px;
}
.ks-field label,
.ks-field-label {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: .4em;
}
.ks-field label .req,
.ks-req {
  color: #E60012;
  font-size: 1.15rem;
  font-weight: 700;
  background: #E60012;
  color: #fff;
  padding: .1em .5em;
  border-radius: 2px;
  margin-left: .2em;
}
.ks-field input,
.ks-field textarea,
.ks-field select,
.ks-field-input,
.ks-field-textarea {
  border: 1px solid var(--ks-line);
  background: #fff;
  border-radius: 2px;
  padding: .9em 1em;
  font-family: inherit;
  font-size: 1.6rem;
  color: #1a1a1a;
  transition: border .2s, box-shadow .2s;
  width: 100%;
}
.ks-field input:focus,
.ks-field textarea:focus,
.ks-field select:focus,
.ks-field-input:focus,
.ks-field-textarea:focus {
  outline: none;
  border-color: var(--ks-blue);
  box-shadow: 0 0 0 3px var(--ks-blue-soft);
}
.ks-field textarea,
.ks-field-textarea {
  min-height: 150px;
  resize: vertical;
}
.ks-form-done {
  color: var(--ks-blue);
  font-weight: 700;
  display: none;
}
.ks-form-done.is-visible {
  display: block;
}

/* thanks ページ: 送信完了メッセージ */
.ks-thanks-lead {
  max-width: 70ch;
  margin-inline: auto;
}

/* ページトップボタンのアイコン（chevron-up） */
.page-top__link::before {
  content: "\f077";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1;
}
.page-top__link:hover::before {
  color: #1A1A1A;
}

/* ======================================================= */
/* ボタンカスタマイズ                                      */
/* ======================================================= */
.ks-btn,
.ks-btn-dark,
.ks-btn-red,
.ks-btn-ghost,
.ks-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
  transition: transform .2s var(--ks-ease), background .2s, color .2s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-size: 1.45rem;
  padding: .85em 1.4em;
}

.ks-btn-dark {
  background: #1a1a1a;
  color: #fff;
}
.ks-btn-dark:hover {
  background: var(--ks-blue);
  transform: translateY(-2px);
}

.ks-btn-red {
  background: #E60012;
  color: #fff;
}
.ks-btn-red:hover {
  background: #b8000e;
  transform: translateY(-2px);
}

.ks-btn-blue {
  background: #0e5aa7;
  color: #fff;
}
.ks-btn-blue:hover {
  background: var(--ks-blue);
  transform: translateY(-2px);
}

.ks-btn-ghost {
  border: 1.5px solid currentColor;
  background: transparent;
}
.ks-btn-ghost:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

.ks-btn-line {
  background: #06c755;
  color: #fff;
}
.ks-btn-line:hover {
  background: #05b14c;
  transform: translateY(-2px);
}

.ks-btn-lg {
  padding: 1.1em 2em;
  font-size: 1.6rem;
}

/* ======================================================= */
/* フッターカスタマイズ                                    */
/* ======================================================= */
.ks-footer {
  background: #1a1a1a;
  color: #cfd3da;
  padding-top: 72px;
}

.ks-footer-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 2px;
  width: fit-content;
}
.ks-footer-logos img {
  height: 56px;
  width: auto;
}
@media (max-width: 639px) {
  .ks-footer-logos img {
    height: 44px;
  }
}
.ks-footer-logos .d {
  width: 1px;
  height: 26px;
  background: var(--ks-line);
}

.ks-footer-top {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
}
@media (min-width: 880px) {
  .ks-footer-top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.ks-footer-map {
  border: 1px solid #2c2d33;
  min-height: 240px;
}
.ks-footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  filter: grayscale(.3) contrast(.95);
}

.ks-footer-col h4 {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2c2d33;
}
.ks-footer-col p,
.ks-footer-col li {
  font-size: 1.45rem;
  line-height: 1.9;
  color: #aab0bb;
  list-style: none;
}
.ks-footer-tel {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: #fff;
  letter-spacing: .02em;
  text-decoration: none;
}
.ks-footer-col a:hover {
  color: #fff;
}

.ks-footer-sns {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.ks-footer-sns a {
  width: 40px;
  height: 40px;
  border: 1px solid #33343a;
  display: grid;
  place-items: center;
  transition: .2s;
  text-decoration: none;
  color: inherit;
}
.ks-footer-sns a:hover {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
}
.ks-footer-sns svg {
  width: 18px;
  height: 18px;
}

.ks-footer-bottom {
  border-top: 1px solid #2c2d33;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.25rem;
  color: #7a808b;
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  letter-spacing: .04em;
}

/* ======================================================= */
/* イントロセクション                                      */
/* ======================================================= */
.ks-intro-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}

/* ======================================================= */
/* 設計意匠カード                                          */
/* ======================================================= */
.ks-design-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ks-design-card {
  background: #fff;
  border: 1px solid var(--ks-line);
  overflow: hidden;
}
.ks-design-card__img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: #202126;
  display: grid;
  place-items: center;
}
.ks-design-card__img--red {
  background-image: linear-gradient(135deg, #1a1a1a, #3a0006);
}
/* パース図・図面プレースホルダの破線ラベル */
.ks-design-card__tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5em;
  text-align: center;
  padding: .9em 1.4em;
  border: 1px dashed rgba(255, 255, 255, .45);
  border-radius: 2px;
  color: rgba(255, 255, 255, .78);
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  letter-spacing: .14em;
}
.ks-design-card__tag b {
  font-size: 1.4rem;
  letter-spacing: .06em;
}
.ks-design-jplatpat-link {
  text-decoration: underline;
  font-weight: 600;
  color: var(--ks-blue);
}
.ks-design-card__body {
  padding: 28px;
}
.ks-design-no {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .14em;
  color: #E60012;
}
.ks-design-card h3 {
  font-size: 2.1rem;
  font-weight: 800;
  margin: .3em 0;
}
.ks-design-card p {
  color: var(--ks-muted);
}

/* ======================================================= */
/* 代表メッセージ                                          */
/* ======================================================= */
.ks-msg-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .ks-msg-grid {
    grid-template-columns: 320px 1fr;
  }
}
.ks-msg-photo {
  aspect-ratio: 4/5;
  max-width: 420px;
  background: #202126;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7d8290;
  overflow: hidden;
}
.ks-msg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================================================= */
/* アクセス                                                */
/* ======================================================= */
.ks-access-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .ks-access-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* ======================================================= */
/* 採用ポリシー箱                                          */
/* ======================================================= */
.ks-recruit-box {
  border-left: 4px solid var(--ks-blue);
  padding: 26px 30px;
  background: var(--ks-blue-soft);
  margin: 32px 0;
}

/* ======================================================= */
/* Mapエンベッド                                           */
/* ======================================================= */
.ks-embed {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--ks-line);
  min-height: 340px;
}
.ks-embed iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* ======================================================= */
/* revealアニメーション                                    */
/* ======================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ks-ease), transform .9s var(--ks-ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ======================================================= */
/* subpage-wrapper                                         */
/* ======================================================= */
.subpage-wrapper {
  min-height: 60vh;
}

/* ======================================================= */
/* page-hero 追加バリエーション                            */
/* ======================================================= */

/* main.css の .page-hero をリセット・上書き */
.page-hero {
  position: relative;
  padding-block: clamp(72px, 11vw, 150px);
  /* ヘッダー(.header-sticky)が position:absolute で上部に重なるため、その分を上に加算 */
  padding-top: calc(var(--ks-header-h) + clamp(72px, 11vw, 150px));
  color: #fff;
  overflow: hidden;
  background: #0a3f78; /* fallback */
  min-height: auto;
  display: block;
  align-items: initial;
}
.ks-page-hero-kuuden {
  background: linear-gradient(115deg, #0a3f78, #06203f);
}
.ks-page-hero-labo {
  background: linear-gradient(115deg, #1a1a1a, #2a0004);
}

/* クーデン系ページ: 写真を超薄くしてグラデーションが主役 */
.ks-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mix-blend-mode: luminosity;
}
.ks-page-hero-kuuden .ks-page-hero-bg {
  opacity: 0.28;
}

/* LABOページヒーロー: 写真がしっかり見えてグラデーションが覆う */
.ks-page-hero-labo-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.ks-page-hero-labo-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(8,8,9,.92), rgba(40,0,4,.6));
}

/* page-hero 内のコンテンツラッパー */
.page-hero .ks-section-wrap {
  position: relative;
  z-index: 2;
}

/* 小さいヒーロー */
.ks-page-hero-sm {
  padding-block: clamp(60px, 8vw, 100px);
  padding-top: calc(var(--ks-header-h) + clamp(60px, 8vw, 100px));
}

/* ======================================================= */
/* ks-news-header: ニュースヘッダー行                      */
/* ======================================================= */
.ks-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.ks-news-more-link {
  font-size: 1.4rem;
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  text-decoration: none;
  color: var(--ks-muted);
  transition: color .2s;
}
.ks-news-more-link:hover {
  color: var(--ks-blue);
}
.ks-footer-more-link {
  font-size: 1.35rem;
  color: var(--ks-muted-d);
  text-decoration: none;
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  letter-spacing: .04em;
  transition: color .2s;
}
.ks-footer-more-link:hover {
  color: #fff;
}

/* ======================================================= */
/* ks-info-row: dl+dt+dd 会社情報行 (ks-info-table bk-compat) */
/* ======================================================= */
.ks-info-table dl {
  border-top: 1px solid var(--ks-line);
}
.ks-info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--ks-line);
  font-size: 1.55rem;
  align-items: baseline;
}
.ks-info-row dt {
  font-weight: 700;
  color: #1a1a1a;
}
.ks-info-row dd {
  color: var(--ks-ink-soft);
}
.ks-info-row a {
  color: var(--ks-blue);
  text-decoration: none;
}
@media (max-width: 600px) {
  .ks-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ks-info-table-dark */
.ks-info-table-dark dl {
  border-top: 1px solid var(--ks-labo-line);
}
.ks-info-table-dark .ks-info-row {
  border-bottom-color: var(--ks-labo-line);
}
.ks-info-table-dark .ks-info-row dt {
  color: #fff;
}
.ks-info-table-dark .ks-info-row dd {
  color: var(--ks-muted-d);
}
.ks-info-table-dark .ks-info-row a {
  color: #e0e0e0;
}

/* ======================================================= */
/* ks-license-list: 資格バッジグリッド                     */
/* ======================================================= */
.ks-license-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 767px) {
  .ks-license-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ks-license-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid var(--ks-line);
  background: #fff;
  border-radius: 4px;
  min-width: 140px;
  text-align: center;
}
.ks-lbadge-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
  display: grid;
  place-items: center;
  font-size: 2.25rem;
}
.ks-lbadge-name {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
}

/* ======================================================= */
/* ks-recruit-note: 採用コメントボックス                   */
/* ======================================================= */
.ks-recruit-note {
  margin-top: 48px;
  padding: 36px;
  background: var(--ks-blue-soft);
  border-left: 4px solid var(--ks-blue);
}
.ks-recruit-note h4 {
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--ks-blue);
  font-size: 1.7rem;
}
.ks-recruit-note blockquote {
  margin: 0;
  padding: 20px 24px;
  background: #fff;
  border-radius: 2px;
}
.ks-recruit-note blockquote p {
  font-style: italic;
  line-height: 1.85;
}
.ks-recruit-note blockquote footer {
  margin-top: 12px;
  font-size: 1.35rem;
  color: var(--ks-muted);
}

/* ======================================================= */
/* ks-form: お問い合わせフォーム (ks-form-row pattern)     */
/* ======================================================= */
.ks-form-row {
  display: grid;
  gap: 8px;
}
.ks-form-label {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5em;
}
.ks-required {
  background: #E60012;
  color: #fff;
  font-size: 1.1rem;
  padding: .2em .6em;
  border-radius: 2px;
  font-weight: 700;
}
.ks-form-input,
.ks-form-select,
.ks-form-textarea {
  border: 1px solid var(--ks-line);
  background: #fff;
  border-radius: 2px;
  padding: .9em 1em;
  font-family: inherit;
  font-size: 1.6rem;
  color: #1a1a1a;
  transition: border .2s, box-shadow .2s;
  width: 100%;
}
.ks-form-input:focus,
.ks-form-select:focus,
.ks-form-textarea:focus {
  outline: none;
  border-color: var(--ks-blue);
  box-shadow: 0 0 0 3px var(--ks-blue-soft);
}
.ks-form-textarea {
  min-height: 150px;
  resize: vertical;
}
.ks-form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1.5rem;
}
.ks-form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--ks-blue);
}
.ks-form-row--privacy {
  margin-top: 8px;
}
.ks-form-submit {
  margin-top: 8px;
}
.ks-btn-submit {
  min-width: 220px;
}

/* ======================================================= */
/* b-sports LABO ページ専用                                */
/* ======================================================= */
.ks-labo-page {
  background: var(--ks-labo-bg);
  color: #e8e8e8;
}

.ks-labo-section {
  background: var(--ks-labo-bg);
  color: #e8e8e8;
}

.ks-labo-features-section {
  background: var(--ks-labo-bg2);
  color: #e8e8e8;
}

.ks-labo-gallery-section {
  background: #111113;
}

.ks-labo-crumb-wrap {
  background: var(--ks-labo-bg);
}

.ks-crumb-dark {
  color: var(--ks-muted-d);
}
.ks-crumb-dark a {
  color: var(--ks-muted-d);
}
.ks-crumb-dark a:hover {
  color: #fff;
}

.ks-statement-dark {
  color: #fff;
}
.ks-sec-lead-dark {
  color: var(--ks-muted-d);
}

/* ks-labo-dark のセクション内テキスト調整 */
.ks-labo-section .ks-sec-lead,
.ks-labo-features-section .ks-sec-lead,
.ks-labo-gallery-section .ks-sec-lead {
  color: var(--ks-muted-d);
}
.ks-labo-section .ks-sec-title,
.ks-labo-features-section .ks-sec-title {
  color: #fff;
}
.ks-sec-title-dark {
  color: #fff;
}

/* dark feat cards */
.ks-feat-grid-dark .ks-feat,
.ks-feat-dark {
  background: var(--ks-labo-bg);
  border-color: var(--ks-labo-line);
  border-top-color: #E60012;
  color: #e8e8e8;
}
.ks-feat-dark h3 {
  color: #fff;
}
.ks-feat-dark p {
  color: var(--ks-muted-d);
}
.fno-red {
  color: rgba(230,0,18,.45) !important;
}

/* ks-steps (light version override for b-sports-labo.php) */
.ks-labo-features-section .ks-step {
  background: var(--ks-labo-bg);
}
.ks-step-no {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  color: #E60012;
  font-size: 2.9rem;
  line-height: 1;
  display: block;
  margin-bottom: .4em;
}
.ks-step-body h4 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .4em;
}
.ks-step-body p {
  color: var(--ks-muted-d);
  font-size: 1.5rem;
}

/* ks-price-table: flexbox price grid */
.ks-price-table {
  border: 1px solid var(--ks-labo-line);
  border-radius: 4px;
  overflow: hidden;
}
.ks-price-row {
  display: grid;
  grid-template-columns: 1fr 100px 150px;
  gap: 0;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ks-labo-line);
  color: #e8e8e8;
  align-items: center;
}
.ks-price-row:last-child {
  border-bottom: none;
}
.ks-price-header {
  background: var(--ks-labo-bg2);
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ks-muted-d);
  border-bottom: 2px solid #E60012 !important;
}
.ks-price-val {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  color: #fff;
}
.ks-price-row--note {
  display: block;
  background: var(--ks-labo-bg2);
  font-size: 1.35rem;
  color: var(--ks-muted-d);
  padding: 16px 24px;
}
@media (max-width: 600px) {
  .ks-price-row {
    grid-template-columns: 1fr 1fr;
  }
  .ks-price-header span:nth-child(2) {
    display: none;
  }
}

/* labo access grid */
.ks-labo-access-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 820px) {
  .ks-labo-access-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ks-cta-labo */
.ks-cta-labo {
  background: linear-gradient(120deg, #0a0a0c 0%, #1e0003 100%);
}

/* ======================================================= */
/* ブログレイアウト                                        */
/* ======================================================= */
.ks-blog-layout {
  display: grid;
  gap: 56px;
}
@media (min-width: 960px) {
  .ks-blog-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

.ks-blog-main {
  min-width: 0;
}

/* ks-cat-filter */
.ks-cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.ks-cat-tab {
  font-size: 1.3rem;
  font-weight: 700;
  padding: .5em 1.2em;
  border: 1px solid var(--ks-line);
  background: #fff;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.ks-cat-tab.is-active,
.ks-cat-tab:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* pager variants */
.ks-pager-item {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ks-line);
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 1.45rem;
  text-decoration: none;
  color: inherit;
  transition: .2s;
}
a.ks-pager-item:hover {
  border-color: var(--ks-blue);
  color: var(--ks-blue);
}
.ks-pager-item.is-current {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.ks-pager-next {
  padding: 0 1em;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ks-line);
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: .2s;
}
.ks-pager-next:hover {
  border-color: var(--ks-blue);
  color: var(--ks-blue);
}

/* ======================================================= */
/* サイドバー                                              */
/* ======================================================= */
.ks-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ks-sidebar-widget {
  background: #f4f6f9;
  padding: 24px;
  border-radius: 2px;
}
.ks-sidebar-ttl {
  font-family: "Archivo", "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a1a1a;
}
.ks-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ks-sidebar-list li {
  border-bottom: 1px solid var(--ks-line);
}
.ks-sidebar-list li:last-child {
  border-bottom: none;
}
.ks-sidebar-list a {
  display: block;
  padding: 10px 0;
  font-size: 1.45rem;
  text-decoration: none;
  color: inherit;
  transition: color .2s, padding-left .2s;
}
.ks-sidebar-list a:hover {
  color: var(--ks-blue);
  padding-left: 6px;
}

/* ======================================================= */
/* ks-entry: ブログ記事詳細                                */
/* ======================================================= */
.ks-entry-header {
  margin-bottom: 36px;
}
.ks-entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ks-entry-title {
  font-size: clamp(2.1rem, 2.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.5;
}
.ks-entry-body {
  line-height: 2;
  font-size: 1.6rem;
  border-top: 1px solid var(--ks-line);
  padding-top: 36px;
}
.ks-entry-body h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 2em 0 .8em;
  padding-left: 14px;
  border-left: 4px solid var(--ks-blue);
}
.ks-entry-body h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 1.6em 0 .6em;
}
.ks-entry-body p {
  margin-bottom: 1.4em;
  color: var(--ks-ink-soft);
}
.ks-entry-body ul {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
  color: var(--ks-ink-soft);
}
.ks-entry-body ul li {
  margin-bottom: .5em;
}
.ks-entry-pager {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ks-line);
}

/* ======================================================= */
/* design-license ページ固有                               */
/* ======================================================= */
.ks-license-policy {
  border-left: 4px solid #E60012;
  background: #fff;
  padding: 36px 40px;
  line-height: 1.9;
  font-size: 1.55rem;
  color: var(--ks-ink-soft);
  border: 1px solid var(--ks-line);
  border-left-width: 4px;
  border-radius: 0 4px 4px 0;
}
.ks-license-policy h4 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 1.8em 0 .6em;
}
.ks-license-policy h4:first-child {
  margin-top: 0;
}
.ks-policy-list {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
.ks-policy-list li {
  margin-bottom: .4em;
}
.ks-license-contact {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--ks-blue-soft);
  border-radius: 2px;
  font-size: 1.5rem;
  line-height: 1.9;
}
.ks-license-contact a {
  color: var(--ks-blue);
}

/* ks-ph-tag: 代表写真プレースホルダーラベル */
.ks-ph-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 260px;
  background: var(--ks-line);
  border-radius: 4px;
  font-size: 1.3rem;
  color: var(--ks-muted);
  text-align: center;
  letter-spacing: .06em;
}
.ks-ph-tag span {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ks-ink-soft);
  margin-top: .4em;
}

/* ks-news-list-full: 一覧ページの記事リスト（full幅） */
.ks-news-list-full {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ks-license-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--ks-line);
  background: #fff;
  padding: 18px 28px;
  margin-bottom: 28px;
  font-weight: 800;
  font-size: 1.7rem;
}
.ks-license-badge-lg i {
  color: var(--ks-blue);
  font-size: 2.55rem;
}

/* ======================================================= */
/* ks-contact-cta__tel-wrap                               */
/* ======================================================= */
.ks-contact-cta__tel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 2em;
}
