/* ==========================================================================
   HypeApp Corporate Site — HOME (v2)
   Design tokens
   ========================================================================== */
:root{
  --blue: #0A56C4;
  --blue-dark: #073E8F;
  --blue-light: #1C8ECF;
  --blue-soft: #EAF2FC;
  --blue-soft-2: #F2F6FC;
  --ink: #1A1714;
  --ink-soft: #55545A;
  --ink-faint: #6E6E75;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --line: #E4E6EC;
  --line-soft: #EDEFF3;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 6px 20px -14px rgba(15, 20, 40, 0.22);
  --shadow-md: 0 20px 44px -20px rgba(15, 20, 40, 0.24);
  --container: 1240px;
  --ff: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --ease: cubic-bezier(.19,1,.22,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
  /* Prevent Japanese text from breaking mid-word/mid-compound (e.g. "支援"
     splitting across lines). keep-all disallows line breaks between CJK
     ideographs except at natural punctuation; break-word is the fallback
     so an unbroken run still wraps rather than overflowing. Inherited by
     all headings/body text/cards site-wide. */
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

section{ position: relative; }

/* Scroll reveal ---------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: none; }
.reveal-delay-1.is-visible{ transition-delay: .12s; }
.reveal-delay-2.is-visible{ transition-delay: .24s; }
.reveal-delay-3.is-visible{ transition-delay: .36s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* Section heading kit ------------------------------------------------- */
.section-head{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}
.section-head.center{ align-items: center; text-align: center; }
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue);
}
.eyebrow::after{
  content: "";
  display: inline-block;
  width: 0px;
  height: 1px;
  background: var(--blue);
  transition: width .9s var(--ease) .15s;
}
.reveal.is-visible .eyebrow::after{ width: 32px; }
.section-head.center .eyebrow::after{ display: none; }
.section-head.center .eyebrow::before{
  content: "";
  display: inline-block;
  width: 0px;
  height: 1px;
  background: var(--blue);
  transition: width .9s var(--ease) .15s;
}
.reveal.is-visible .eyebrow::before{ width: 32px; }

/* Frame corner motif ------------------------------------------------------ */
.frame-corners{ position: relative; }
.frame-corners::before,
.frame-corners::after{
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 1.5px solid var(--blue);
  opacity: .45;
  pointer-events: none;
}
.frame-corners::before{ top: -12px; left: -12px; border-right: none; border-bottom: none; }
.frame-corners::after{ bottom: -12px; right: -12px; border-left: none; border-top: none; }
.frame-corners--light::before,
.frame-corners--light::after{ border-color: #fff; opacity: .55; }
.section-title{
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1.4;
}
.section-lead{
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 560px;
}
.section-head.center .section-lead{ max-width: 620px; }

/* Buttons --------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all .25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  position: relative;
}
.btn svg{ flex-shrink: 0; transition: transform .25s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }
.btn-primary{
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover{ background: var(--blue-dark); }
.btn-outline{
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover{ border-color: var(--blue); color: var(--blue); }
.btn-white{
  background: #fff;
  color: var(--blue);
}
.btn-white:hover{ background: #EAF2FC; }
.btn-sm{ padding: 11px 22px; font-size: 13px; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }

.link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
}
.link-arrow svg{ transition: transform .25s var(--ease); }
.link-arrow:hover{ color: var(--blue); border-color: var(--blue); }
.link-arrow:hover svg{ transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img{ height: 37px; width: auto; }
.gnav{
  display: flex;
  align-items: center;
  gap: 30px;
}
.gnav a{
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 0;
}
.gnav a:hover{ color: var(--ink); }
.gnav a.is-active{ color: var(--ink); }
.gnav a.is-active::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
}
.header-cta{ display: flex; align-items: center; gap: 20px; }

.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span{
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.site-header.is-open .nav-toggle span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2){ opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav{
  display: none;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  transition: max-height .3s var(--ease);
}
.mobile-nav nav{
  display: flex;
  flex-direction: column;
  padding: 8px 28px 20px;
}
.mobile-nav-link{
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav-link.is-active{ color: var(--blue); }
.mobile-nav-link:last-child{ border-bottom: none; }

@media (max-width: 1180px){
  .gnav{ gap: 22px; }
  .gnav a{ font-size: 13.2px; }
}
@media (max-width: 1080px){
  .gnav{ display: none; }
  .nav-toggle{ display: flex; }
  .mobile-nav{ display: block; }
  .site-header.is-open .mobile-nav{ max-height: 420px; }
}
@media (max-width: 420px){
  .header-cta .btn-sm span{ display: none; }
  .header-cta .btn-sm{ padding: 11px 14px; }
}

/* ==========================================================================
   First View — single full-bleed hero visual with copy overlaid on the
   image's built-in left margin. Not a 2-column layout: the image itself
   IS the hero, text/CTA sit in HTML on top of it.
   ========================================================================== */
.fv{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FBFCFE, #F3F7FC);
}
.fv-media{
  width: 100%;
  line-height: 0;
  position: relative;
}
.fv-media img{
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}
.fv-media::after{
  /* soften the seam between the photo's own gradient and the page bg on very wide screens */
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.02);
  pointer-events: none;
  z-index: 2;
}
.fv-copy-wrap{ position: static; }
.fv-copy-wrap .container{ width: 100%; }
.fv-copy{
  position: relative;
  padding: 44px 0 52px;
  max-width: 560px;
}
.fv-copy .eyebrow{ margin-bottom: 20px; }
.fv-title{
  font-size: 30px;
  line-height: 1.44;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 22px;
}
.fv-title em{
  font-style: normal;
  color: var(--blue);
}
.fv-sub{
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 440px;
}
.fv-cta{ display: flex; gap: 14px; flex-wrap: wrap; }
.fv-cta .btn{ padding: 16px 28px; font-size: 14px; }
.fv-cta .btn-primary{ box-shadow: 0 14px 30px -12px rgba(10,86,196,0.45); }

/* Desktop: text/CTA overlaid directly on the hero photo, sitting inside
   the image's own built-in left margin. A soft scrim (matching the
   photo's own pale tone) sits between the image and the text so the
   copy stays legible even where the safe-zone proportion gets tight
   at in-between viewport widths. Width/type scale with clamp() instead
   of fixed breakpoints so there is no sudden jump where text collides
   with the dashboards on the right. */
@media (min-width: 1081px){
  .fv-media::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
      rgba(251,252,254,0.95) 0%,
      rgba(249,251,253,0.86) 22%,
      rgba(249,251,253,0.5) 38%,
      rgba(249,251,253,0) 54%);
    pointer-events: none;
  }
  .fv-copy-wrap{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 3;
  }
  .fv-copy-wrap .container{ pointer-events: none; }
  .fv-copy{
    padding: 0;
    pointer-events: auto;
    max-width: clamp(300px, 34vw, 500px);
  }
  .fv-title{ font-size: clamp(26px, 2.55vw, 46px); }
  .fv-sub{ font-size: clamp(13px, 1.05vw, 15.5px); }
}

/* ==========================================================================
   Chrome表示倍率(ズーム)変更時に画像だけ見た目サイズが変わらない問題への対応。
   1081px以上のデスクトップ帯で、TOP FV(.fv-media)・SERVICE等トップ画像
   (.page-fv-media)の実寸をpx固定値で段階的に指定し、文字と同様にズームに
   追従させる。

   【HOME FV固有の対策】.fv-copy-wrap(テキストのオーバーレイ)にも.fv-mediaと
   全く同じmax-width上限+中央寄せを追加し、「テキストの表示ステージ」と
   「画像」を同じ箱幅・同じ中央寄せロジックに同期させている。これにより、
   実効ビューポート幅が変化(=ズーム)しても、テキスト位置と画像側の
   グラデーション(scrim)到達範囲との相対関係が常に一定に保たれ、
   100%表示時に重なりがなければズーム時も重ならない。
   ========================================================================== */
@media (min-width: 1081px){
  .fv-media{ max-width: 1280px; margin: 0 auto; aspect-ratio: 1280 / 600; }
  .fv-media img{ width: 100%; height: 100%; object-fit: cover; }
  .fv-copy-wrap{ max-width: 1280px; margin: 0 auto; }
  .fv-copy{ max-width: 435px; }
  .fv-title{ font-size: 33px; }
  .fv-sub{ font-size: 13.5px; }
  .page-fv-media{ max-width: 492px; margin: 0 auto; width: 100%; }
}
@media (min-width: 1360px){
  .fv-media{ max-width: 1440px; aspect-ratio: 1440 / 675; }
  .fv-copy-wrap{ max-width: 1440px; }
  .fv-copy{ max-width: 490px; }
  .fv-title{ font-size: 37px; }
  .fv-sub{ font-size: 15px; }
  .page-fv-media{ max-width: 561px; }
}


/* ==========================================================================
   ABOUT / VALUE
   ========================================================================== */
.about{
  background: var(--bg-soft);
  padding: 128px 0;
  overflow: hidden;
}
.about-inner{
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0;
  align-items: center;
  position: relative;
}
.about-copy{ padding-right: 56px; position: relative; z-index: 2; }
.about-copy .section-title{ font-size: 34px; margin-bottom: 22px; }
.about-copy .eyebrow{ margin-bottom: 20px; }
.about-copy p{
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 34px;
}
.about-visual{
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0% 100%);
  aspect-ratio: 16 / 9.4;
}
.about-visual img{ width: 100%; height: 100%; object-fit: cover; }
.about-visual::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,86,196,0.18), transparent 42%);
  mix-blend-mode: multiply;
}
.about-visual .about-tag{
  position: absolute;
  left: 28px; bottom: 26px;
  z-index: 2;
  background: rgba(255,255,255,0.94);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  border-left: 3px solid var(--blue);
}
.about-figure-num{
  position: absolute;
  top: 14px; left: 20px;
  font-size: 90px;
  font-weight: 800;
  color: #fff;
  opacity: .5;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}
@media (min-width: 1300px){
  .about-visual{
    margin-right: calc((100vw - var(--container)) / -2);
  }
}

/* ==========================================================================
   HOME「ABOUT / VALUE」右側の都市画像(.about-visual)のみを対象にした、
   Chrome表示倍率(ズーム)変更時の画像固定化対策。
   このセクションはCSS Grid(0.82fr/1.18fr)で画像とテキストが完全に別カラムに
   分離されているため、TOP FVのようなテキスト重なりのリスクはない。
   761-1080px・1081-1299pxは元々上限指定がなくグリッドの取り分(fr比率)を
   そのまま実寸としていたため実効ビューポート1240px未満でズーム不変になって
   いた帯があり、1300px以上は`100vw`を使ったブリード演出自体がズーム不変
   だった。それぞれ確認幅(1024px/1240px以上/1440px)での現状値に一致する
   固定px値に置き換え、文字や他画像と同様にズームに追従するようにする。
   ========================================================================== */
@media (max-width: 1080px){
  .about-visual{ max-width: 968px; }
}
@media (min-width: 1081px){
  .about-visual{ max-width: 685px; }
}
@media (min-width: 1300px){
  .about-visual{ max-width: 785px; margin-right: -100px; }
}


/* ==========================================================================
   SERVICE
   ========================================================================== */
.service{ padding: 128px 0; }
.service-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.service-card::before{
  content: attr(data-num);
  position: absolute;
  top: 10px; right: 18px;
  font-size: 52px;
  font-weight: 800;
  color: rgba(10,86,196,0.08);
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}
.service-card::after{
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0%;
  background: var(--blue);
  transition: height .35s var(--ease);
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #D9E6F8;
}
.service-card:hover::after{ height: 100%; }
.service-card-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.service-icon{
  width: 92px; height: 92px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.service-icon img{ width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-md) - 4px); display: block; }
.service-card:hover .service-icon{
  border-color: var(--blue);
  box-shadow: 0 10px 24px -12px rgba(10,86,196,0.35);
  transform: translateY(-2px);
}
.service-card h3{
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  z-index: 1;
  line-height: 1.5;
  min-height: 52px;
  display: flex;
  align-items: flex-end;
}
.service-card p{
  font-size: 13.5px;
  color: var(--ink-soft);
  flex: 1;
  position: relative;
  z-index: 1;
}
.service-card .link-arrow{ border: none; padding: 0; font-size: 13px; position: relative; z-index: 1; margin-top: auto; }
.service-foot{
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

/* ==========================================================================
   STRENGTH
   ========================================================================== */
.strength{
  background: var(--blue-soft-2);
  padding: 128px 0;
  overflow: hidden;
  position: relative;
}
.strength::before{
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 46%; height: 100%;
  background: linear-gradient(180deg, rgba(10,86,196,0.05), rgba(10,86,196,0.02));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}
.strength-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.strength-item{
  padding: 0 28px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  transition: transform .3s var(--ease);
}
.strength-item:hover{ transform: translateY(-3px); }
.strength-item:first-child{ border-left: none; padding-left: 0; }
.strength-item::before{
  content: attr(data-num) " \2014";
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  opacity: .85;
}
.strength-icon{
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 15px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.strength-item:hover .strength-icon{
  border-color: var(--blue);
  box-shadow: 0 10px 24px -12px rgba(10,86,196,0.35);
}
.strength-icon img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.strength-item h3{
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.strength-item p{
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 220px;
}

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.case{ padding: 128px 0; }
.case-note{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 6px;
}
.case-note .dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-light);
}
.case-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card{
  border-radius: var(--radius-md);
  background: transparent;
  transition: transform .3s var(--ease);
  position: relative;
}
.case-card:hover{ transform: translateY(-4px); }
.case-media{ position: relative; aspect-ratio: 2 / 1; max-height: 260px; overflow: hidden; border-radius: var(--radius-md) var(--radius-md) 0 0; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
.case-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case-card:hover .case-media img{ transform: scale(1.04); }
.case-tag{
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  letter-spacing: 0.02em;
}
.case-sample{
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(26,23,20,0.68);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 11px;
  letter-spacing: 0.04em;
}
.case-body{
  position: relative;
  margin: -26px 14px 0;
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 28px 24px 24px;
  border-top: 3px solid var(--blue);
}
.case-body::before{
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 26px; height: 3px;
  background: #fff;
}
.case-figure{
  font-size: 42px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0;
  margin-bottom: 8px;
  line-height: 1;
}
.case-label{
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.case-meta{
  display: flex;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.case-meta span{
  font-size: 12px;
  color: var(--ink-faint);
}
.case-meta b{ color: var(--ink-soft); font-weight: 700; }
.case-foot{ display: flex; justify-content: center; margin-top: 56px; }

/* ==========================================================================
   COMPANY
   ========================================================================== */
.company{
  background: var(--bg-soft);
  padding: 128px 0;
}
.company-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.company-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.company-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.company-card .media{ aspect-ratio: 3 / 1; max-height: 260px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%); overflow: hidden; }
.company-card .media img{ width: 100%; height: 100%; object-fit: cover; }
.company-card .body{
  padding: 32px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.company-card .tag{
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.company-card h3{ font-size: 20px; font-weight: 800; }
.company-card p{ font-size: 13.5px; color: var(--ink-soft); flex: 1; }

.company-card.is-message{ border-left: 3px solid var(--blue); position: relative; overflow: visible; }
.company-card.is-message .body{ position: relative; }
.company-card.is-message .quote-mark{
  position: absolute;
  top: 22px; right: 28px;
  font-size: 64px;
  font-weight: 800;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--blue);
  opacity: .08;
  line-height: 1;
  pointer-events: none;
}
.message-row{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-soft);
  margin-bottom: 4px;
}
.message-avatar{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(150deg, #E3EBF8, #F1F5FC);
  border: 1px solid #D9E5F5;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  font-weight: 800;
  font-size: 15px;
}
.message-row .who{ font-size: 12px; color: var(--ink-faint); line-height: 1.5; }
.message-row .who b{ display: block; font-size: 14px; color: var(--ink); font-weight: 700; }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news{ padding: 128px 0; }
.news-list{ border-top: 1px solid var(--line); }
.news-item{
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding-left .25s var(--ease);
  position: relative;
}
.news-item:hover{ background: var(--bg-soft); padding-left: 14px; }
.news-item::before{
  content: attr(data-num);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-faint);
  width: 22px;
  flex-shrink: 0;
}
.news-date{
  font-size: 13px;
  color: var(--ink-faint);
  width: 96px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.news-cat{
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid var(--blue-soft);
  background: var(--blue-soft);
  padding: 6px 14px;
  min-width: 108px;
  flex-shrink: 0;
  text-align: center;
  white-space: nowrap;
}
.news-title{
  font-size: 14.5px;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}
.news-item svg{ flex-shrink: 0; color: var(--ink-faint); transition: transform .25s var(--ease); }
.news-item:hover svg{ transform: translateX(4px); color: var(--blue); }
.news-foot{ display: flex; justify-content: flex-end; margin-top: 32px; }

/* ==========================================================================
   RECRUIT
   ========================================================================== */
.recruit{
  background: var(--bg-soft);
  padding: 128px 0;
  overflow: hidden;
}
.recruit-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.recruit-visual{
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  aspect-ratio: 4 / 3;
}
.recruit-visual img{ width: 100%; height: 100%; object-fit: cover; }
.recruit-visual::after{
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 42%; height: 46%;
  background: var(--blue);
  opacity: .88;
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
}
.recruit-label{
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  background: var(--blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 16px;
}
.recruit-copy .section-title{ font-size: 32px; margin-bottom: 20px; }
.recruit-copy p{ color: var(--ink-soft); font-size: 15px; margin-bottom: 34px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{ padding: 0 0 128px; }
.contact-panel{
  position: relative;
  background: var(--blue);
  overflow: hidden;
  padding: 68px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}
.contact-panel::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 46px);
  pointer-events: none;
}
.contact-panel::after{
  content: "";
  position: absolute;
  left: -8%; top: -30%;
  width: 46%; height: 220%;
  background: rgba(255,255,255,0.05);
  transform: rotate(12deg);
  pointer-events: none;
}
.contact-panel h2{
  font-size: 27px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}
.contact-panel p{
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  position: relative;
}
.contact-panel .btn-white{ position: relative; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo img{ height: 26px; margin-bottom: 14px; }
.footer-logo p{ font-size: 13px; color: var(--ink-faint); max-width: 320px; }
.footer-nav{
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-nav a{
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 700;
}
.footer-nav a:hover{ color: var(--blue); }
.footer-bottom{
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.footer-legal{ display: flex; gap: 20px; }
.footer-legal a:hover{ color: var(--blue); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .container{ padding: 0 28px; }
  .header-inner{ padding: 0 28px; }
  /* Below the desktop overlay breakpoint, the hero image stacks above the
     copy. The image's own natural aspect ratio bakes in a wide pale-left
     "safe zone" that only makes sense when text is overlaid on top of it
     (desktop). Shown at full width with height:auto on its own, that
     empty margin reads as a large disconnected block before the headline
     appears below it. Crop it to a shorter band and shift the visible
     crop toward the data/AI motif so the image reads as an intentional,
     self-contained visual rather than dead space + a late headline. */
  .fv-media{
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    aspect-ratio: 2 / 1;
    max-height: 400px;
    overflow: hidden;
  }
  .fv-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 42%;
  }
  .fv-copy{ padding: 32px 0 48px; max-width: 100%; }
  .about,.service,.strength,.case,.company,.news,.recruit{ padding: 88px 0; }
  .contact{ padding: 0 0 88px; }
  .section-head{ margin-bottom: 44px; }
  .about-inner{ grid-template-columns: 1fr; }
  .about-copy{ padding-right: 0; margin-bottom: 40px; }
  .about-visual{ margin-right: 0 !important; }
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .strength-grid{ grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .strength-item:nth-child(3){ border-left: none; padding-left: 0; }
  .case-grid{ grid-template-columns: 1fr; }
  .company-grid{ grid-template-columns: 1fr; }
  .recruit-inner{ grid-template-columns: 1fr; }
  .recruit-visual{ order: -1; }
}

@media (max-width: 760px){
  /* SP breakpoint now loads the dedicated fv_hero_sp.jpg via <picture> (see
     index.html) instead of cropping the PC image with object-position. That
     image's own aspect ratio (4:3) already matches this container exactly
     and its main "A" motif is pre-centered, so a plain center position is
     correct here and no longer needs manual X/Y tuning. */
  .fv-media{ aspect-ratio: 4 / 3; max-height: 300px; }
  .fv-media img{ object-position: 50% 50%; }
  .fv-title{ font-size: 26px; }
  .section-title{ font-size: 22px; }
  .service-grid{ grid-template-columns: 1fr; }
  .strength-grid{ grid-template-columns: 1fr; }
  .strength-item{ border-left: none !important; padding-left: 0 !important; }
  .case-media{ aspect-ratio: 16 / 10; }
  .company-card .media{ aspect-ratio: 3 / 2; }
  .contact-panel{ padding: 40px 28px; flex-direction: column; text-align: center; }
  .footer-top{ flex-direction: column; }
  .footer-nav{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    width: 100%;
  }
  .footer-nav a:last-child{
    grid-column: 1 / -1;
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    color: var(--blue);
  }
  .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal{ gap: 18px; }
}

@media (max-width: 600px){
  .news-item{
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 20px 4px;
  }
  .news-date{ width: auto; order: 1; }
  .news-cat{ min-width: 0; order: 2; }
  .news-title{ flex-basis: 100%; order: 3; }
  .news-item svg{ position: absolute; right: 4px; top: 22px; }
  .news-item{ position: relative; padding-right: 26px; }
}

/* ==========================================================================
   Sub-page shared components (SERVICE / CASE STUDIES / COMPANY / RECRUIT /
   NEWS / CONTACT / legal pages)
   ========================================================================== */

/* Sub-page hero ----------------------------------------------------------- */
.page-fv{
  position: relative;
  padding: 76px 0 64px;
  background: linear-gradient(180deg, #FBFCFE, #F3F7FC);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.page-fv::before{
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 42%; height: 100%;
  background-image: radial-gradient(circle, rgba(10,86,196,0.14) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 100% 30%, black 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 100% 30%, black 0%, transparent 75%);
}
.page-fv-inner{ position: relative; max-width: 720px; }
.breadcrumb{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.breadcrumb a{ color: var(--ink-faint); }
.breadcrumb a:hover{ color: var(--blue); }
.page-fv .eyebrow{ margin-bottom: 18px; }
.page-title{
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 18px;
}
.page-lead{
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 640px;
}
@media (max-width: 760px){
  .page-fv{ padding: 56px 0 44px; }
  .page-title{ font-size: 26px; }
}

/* Sub-page hero with a visual — image on the left, copy shifted right.
   Used on SERVICE / CASE STUDIES / NEWS / COMPANY. Falls back to the
   text-only .page-fv-inner above on pages without a hero image. */
.page-fv-inner.has-media{
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 1.14fr;
  gap: 56px;
  align-items: center;
  max-width: none;
}
.page-fv-media{ position: relative; }
.page-fv-media .media-frame{
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.page-fv-text{ position: relative; max-width: 620px; }
@media (max-width: 1080px){
  .page-fv-inner.has-media{
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 560px;
  }
  .page-fv-media{ max-width: 420px; margin: 0 auto; width: 100%; }
  .page-fv-text{ max-width: none; }
}
@media (max-width: 760px){
  .page-fv-media{ max-width: 320px; }
}

/* Generic section utilities shared by sub-pages --------------------------- */
.pad-section{ padding: 112px 0; }
.pad-section.tight{ padding: 88px 0; }
.bg-soft{ background: var(--bg-soft); }
.bg-blue-soft{ background: var(--blue-soft-2); }
@media (max-width: 1080px){
  .pad-section{ padding: 80px 0; }
  .pad-section.tight{ padding: 64px 0; }
}

.prose{ font-size: 15px; color: var(--ink-soft); line-height: 1.9; }
.prose p + p{ margin-top: 18px; }

/* ==========================================================================
   SERVICE detail page
   ========================================================================== */
.service-overview-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-overview-card{
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-overview-card .service-icon{ margin: 0 auto 16px; }
.service-overview-card h3{ font-size: 14px; font-weight: 700; line-height: 1.55; margin-bottom: 10px; }
.service-overview-desc{
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.service-overview-card .link-arrow{
  font-size: 12px;
  border: none;
  padding: 0;
  margin-top: auto;
  color: var(--blue);
}
@media (max-width: 900px){
  .service-overview-grid{ grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 420px){
  .service-overview-card{ padding: 24px 16px; }
  .service-overview-card h3{ font-size: 13.5px; }
  .service-overview-desc{ font-size: 12px; }
}

/* .service-detail is the full-bleed <article> — it owns the alternating
   background band and top/bottom padding only. The actual two-column
   layout lives on .service-detail-inner, which sits inside a real
   .container so content never runs edge-to-edge (this replaces an
   earlier `display:contents` wrapper that accidentally removed the
   container's max-width/padding entirely). */
.service-detail{
  padding: 84px 0;
  border-bottom: 1px solid var(--line-soft);
}
.service-detail:nth-child(even){ background: var(--bg-soft); }
.service-detail:last-child{ border-bottom: none; }
.service-detail-inner{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.service-detail-media{
  position: relative;
  order: 2;
}
.service-detail:nth-of-type(even) .service-detail-media{ order: 0; }
.service-detail-num{
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.service-detail h2{
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 6px 0 18px;
}
.service-detail .prose{ margin-bottom: 26px; }
.service-detail-panel{
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 26px;
  margin-bottom: 18px;
}
.service-detail-panel h4{
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}
.service-detail-panel ul{ display: flex; flex-direction: column; gap: 8px; }
.service-detail-panel li{
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}
.service-detail-panel li::before{
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 1.5px;
  background: var(--blue);
}
.service-note{
  font-size: 12px;
  color: var(--ink-faint);
  border-left: 2px solid var(--line);
  padding-left: 12px;
  margin-top: 8px;
}
.service-external{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
@media (max-width: 1080px){
  .service-detail{ padding: 64px 0; }
  .service-detail-inner{ grid-template-columns: 1fr; gap: 32px; }
  .service-detail-media{ order: 0 !important; }
}
@media (max-width: 760px){
  .service-detail .prose{ line-height: 1.95; }
  .service-detail-panel{ padding: 22px 20px; }
  .service-detail-panel ul{ gap: 12px; }
  .service-detail-panel li{ line-height: 1.8; }
}

/* ==========================================================================
   CASE STUDIES detail page
   ========================================================================== */
.case-detail-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.case-detail-card{
  display: grid;
  grid-template-columns: 0.85fr 0.7fr 1.3fr;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.case-detail-media{
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.case-detail-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.case-detail-figures{
  padding: 34px 30px;
  background: var(--blue-soft-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  border-right: 3px solid var(--blue);
}
.case-detail-figure{ display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.case-detail-figure .num{ font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1; }
.case-detail-figure .label{ font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; text-align: left; }
.case-detail-body{ padding: 34px 34px 30px; }
.case-detail-tag{
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 6px 14px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.case-detail-body h2{ font-size: 19px; font-weight: 800; line-height: 1.5; margin-bottom: 8px; }
.case-detail-body .client{ font-size: 12.5px; color: var(--ink-faint); margin-bottom: 16px; }
.case-detail-body p:not(.client){ font-size: 13.5px; line-height: 1.9; color: var(--ink-soft); }
@media (max-width: 1080px){
  .case-detail-card{ grid-template-columns: 1fr; }
  /* Below 1080px the media block becomes a standalone full-width band
     (no longer sized by its row siblings), so its height should scale
     with its own width instead of sitting at a fixed min-height. */
  .case-detail-card .case-detail-media{ min-height: 0; aspect-ratio: 2.4 / 1; max-height: 320px; }
  .case-detail-card .case-detail-figures{ border-right: none; border-top: 3px solid var(--blue); padding: 28px 26px; gap: 20px; }
  .case-detail-body{ padding: 30px 26px 28px; }
  .case-detail-body h2{ line-height: 1.6; }
}

/* Reusable media frame for sub-page detail sections (like .about-visual,
   but WITHOUT the home-page-only right-bleed margin rule, so it can be
   safely reused inside grid layouts on SERVICE etc. without overflow). */
.media-frame{
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.media-frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   COMPANY page
   ========================================================================== */
.company-profile{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px 32px;
  font-size: 14px;
}
.company-profile dt{ color: var(--ink-faint); font-weight: 700; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.company-profile dd{ color: var(--ink); padding: 16px 0; border-top: 1px solid var(--line-soft); }
.company-profile dt:first-of-type, .company-profile dd:first-of-type{ border-top: none; }
@media (max-width: 560px){
  .company-profile{ grid-template-columns: 1fr; gap: 0; }
  .company-profile dt{ padding: 16px 0 4px; border-top: 1px solid var(--line-soft); }
  .company-profile dd{ padding: 0 0 12px; border-top: none; }
  .company-profile dt:first-of-type{ border-top: none; }
}

.message-block{
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 64px;
  align-items: start;
}
.message-photo{
  position: relative;
  max-width: 340px;
}
.message-photo::before{
  content: "";
  position: absolute;
  top: 18px;
  left: -18px;
  width: 100%;
  height: 100%;
  background: var(--blue-soft-2);
  clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.message-photo-frame{
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 20, 40, 0.07);
  clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%);
  aspect-ratio: 3 / 4;
}
.message-photo-frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.message-photo-caption{
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.message-photo-caption .name{ font-size: 16px; font-weight: 800; color: var(--ink); }
.message-photo-caption .role{ font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }
.message-copy{ padding-top: 4px; }
.message-copy .eyebrow{ margin-bottom: 18px; }
.message-copy h2{ font-size: 26px; font-weight: 800; color: var(--ink); margin-bottom: 22px; line-height: 1.5; }
@media (max-width: 1080px){
  .message-block{ grid-template-columns: 1fr; gap: 32px; }
  .message-photo{ max-width: 240px; margin: 0 auto; }
  .message-photo::before{ left: -14px; top: 14px; }
}

.philosophy-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.philosophy-card{
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 26px;
}
.philosophy-card .num{ font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 14px; }
.philosophy-card h3{ font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.philosophy-card p{ font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 1080px){ .philosophy-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   RECRUIT page
   ========================================================================== */
.recruit-culture-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.culture-card{
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px;
}
.culture-card .num{ font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.culture-card h3{ font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.culture-card p{ font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 1080px){ .recruit-culture-grid{ grid-template-columns: 1fr; } }

.recruit-secondary{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.recruit-secondary-media{
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.recruit-secondary-media img{ width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1080px){ .recruit-secondary{ grid-template-columns: 1fr; } }

.job-card{
  border: 1px solid var(--line);
  background: #fff;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.job-card + .job-card{ margin-top: 16px; }
.job-card h3{ font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.job-card p{ font-size: 13px; color: var(--ink-faint); }
.job-card .tag{
  font-size: 11px; font-weight: 700; color: var(--blue);
  background: var(--blue-soft); padding: 5px 12px; margin-right: 8px;
}

/* ==========================================================================
   NEWS list page
   ========================================================================== */
.news-filter{
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.news-filter button{
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 16px;
}
.news-filter button.is-active{ color: #fff; background: var(--blue); border-color: var(--blue); }
.empty-note{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  margin-top: 24px;
}
.empty-note-icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.empty-note p{ margin: 0; }
.empty-note .link-arrow{ margin-top: 18px; }
@media (max-width: 760px){
  .empty-note{ padding: 32px 20px; }
}

/* ==========================================================================
   CONTACT form
   ========================================================================== */
.contact-layout{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info-card{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 30px 28px;
}
.contact-info-card h3{ font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.contact-info-card p{ font-size: 13.5px; color: var(--ink-soft); margin-bottom: 10px; }
.contact-info-card .note{ font-size: 12px; color: var(--ink-faint); margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

.form-field{ margin-bottom: 22px; }
.form-field label{
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-field label .req{
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}
.form-field label .opt{
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-faint);
  background: var(--line-soft);
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea{
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px 16px;
  transition: border-color .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--blue);
}
.form-field textarea{ min-height: 140px; resize: vertical; }
.form-check{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.form-check input{ margin-top: 3px; }
.form-check a{ color: var(--blue); text-decoration: underline; }
.form-submit{ width: 100%; justify-content: center; }
@media (max-width: 1080px){
  .contact-layout{ grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   THANKS / legal pages
   ========================================================================== */
.thanks-section{
  padding: 88px 0 72px;
  min-height: calc(100vh - 340px);
  display: flex;
  align-items: center;
}
.thanks-section .container{ width: 100%; }
.thanks-block{
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 760px){
  .thanks-section{ padding: 56px 0 48px; min-height: 0; }
}
.thanks-icon{
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin: 0 auto 28px;
}
.thanks-block h1{ font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.thanks-block p{ font-size: 14.5px; color: var(--ink-soft); margin-bottom: 36px; }

/* Utility: force a line break only at/below a given width (hidden by default) */
.sp-break{ display: none; }
@media (max-width: 760px){
  .sp-break{ display: block; }
}
/* Utility: inverse — visible by default, hidden at/below the same breakpoint */
.pc-sep{ }
@media (max-width: 760px){
  .pc-sep{ display: none; }
}

.legal-article h2{ font-size: 18px; font-weight: 700; margin: 40px 0 14px; }
.legal-article h2:first-child{ margin-top: 0; }
.legal-article p{ font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.legal-updated{ font-size: 12.5px; color: var(--ink-faint); margin-bottom: 40px; }
.wip-banner{
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
