@charset "UTF-8";
/* =============================================================
   トップのデザイン刷新・担当C（GLOBAL / COMPANY / BLOG / RECRUIT / CONTACT / フッター）
   第2版（2026-11-16）。refresh.css を前提に、担当セクションの中だけを上書きする。
   セレクタは必ずセクションで絞る（section.global / #company / #blog / #recruit / #contact / .footer）。

   方針「規制を、運用できる仕組みへ」＝ 精密さ × 編集的な大胆さ
   - 言い切りの見出しを主役の大きさにし、行ごとに下からせり上げる（data-rf-lines）
   - 角丸と影を抑え、細い罫線（ヘアライン）で格子を見せる
   - 写真は霞をかけず、色のまま大きく。文字は不透明な面に載せて読めるようにする
   - 光の玉・ガラス風の面・上端の色帯・左の縦線は使わない
   ============================================================= */

:root {
  --rfc-rule: rgba(16,42,67,.16);     /* 罫線（白地） */
  --rfc-rule-strong: #102a43;          /* 強い罫線（表の頭） */
  --rfc-rule-dark: rgba(255,255,255,.20);
  --rfc-teal-on-dark: #5fd3df;         /* 紺地の上で読めるティール（紺地 8.0:1） */
}

/* -------------------------------------------------------------
   GLOBAL
   見出しを左に大きく、本文を右に。写真の帯は大小を交互にして、
   ゆっくり流れ続ける（スクロールの速さに合わせて少し加速：refresh-c.js）。ホバーで色が戻る。
   ------------------------------------------------------------- */
section.global { padding: var(--rf-sec-y) 0 clamp(96px, 9vw, 150px); }
section.global .rfc-g-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(40px, 6vw, 120px);
  align-items: end;
}
section.global .rfc-g-head .sec-en { grid-column: 1 / -1; }
section.global .rfc-g-ttl {
  grid-column: 1;
  display: block;
  margin-top: clamp(28px, 3vw, 44px);
  font-size: clamp(30px, 4vw, 60px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: .01em;
  color: var(--ink-900);
}
section.global .rfc-g-ttl::before { display: none; }
section.global .rfc-g-head .sec-lead {
  grid-column: 2;
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid var(--rfc-rule-strong);
  max-width: none;
}

section.global .marquee {
  margin-top: clamp(64px, 6vw, 104px);
  padding-block: 0;
  -webkit-mask-image: none; mask-image: none;
}
section.global .marquee-track {
  gap: 18px;
  align-items: center;
  animation-duration: 80s;
}
section.global .base-card {
  width: clamp(320px, 31vw, 480px);
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  box-shadow: none;
}
/* 大小を交互に：縦長の小さい写真をはさんで、帯にリズムを付ける */
section.global .base-card:nth-child(even) {
  width: clamp(200px, 18vw, 280px);
  aspect-ratio: 4 / 5;
}
section.global .base-card::after { content: none; }
section.global .base-card img {
  filter: grayscale(1) contrast(1.06);
  transform: scale(1.001);
  transition: filter .6s var(--rf-ease), transform 1.2s var(--rf-ease);
}
section.global .base-card:hover img { filter: none; transform: scale(1.06); }

/* -------------------------------------------------------------
   COMPANY
   上段：章の見出し＋言い切り（全幅・主役の大きさ）
   下段：写真（左に突き抜ける）｜本文・会社情報・ボタン
   会社情報は白いパネルをやめ、罫線の表に。
   ------------------------------------------------------------- */
#company { padding: var(--rf-sec-y) 0; }
#company .rfc-co-statement {
  margin-top: clamp(40px, 4.4vw, 72px);
  font-size: clamp(34px, 5.6vw, 92px);
  line-height: 1.22;
  letter-spacing: -.01em;
}
#company .company-grid {
  margin-top: clamp(56px, 6vw, 100px);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
#company .bleed-left { border-radius: 0 8px 8px 0; box-shadow: none; }
#company .bleed-left img { aspect-ratio: 4 / 3; }
#company .rfc-co-body .sec-lead { margin-top: 0; }

#company .company-meta {
  margin-top: 40px;
  border-top: 2px solid var(--rfc-rule-strong);
}
#company .company-meta dl {
  grid-template-columns: 116px 1fr;
  gap: 4px 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rfc-rule);
}
#company .company-meta dt {
  font-family: var(--f-mono);
  font-size: 13px; font-weight: 700;
  letter-spacing: .1em;
  color: var(--hp-sky-hi);
  padding-top: 3px;
}
#company .company-meta dd { color: var(--ink-900); font-size: 16px; line-height: 1.85; }
/* 旧社名の注記（HTMLのインライン指定 ink-300・13px）を読める濃さに */
#company .company-meta dd span { color: var(--rf-muted) !important; font-size: 14px !important; }
#company .rfc-co-cta { margin-top: 44px; }

/* -------------------------------------------------------------
   BLOG
   カードの箱と影をやめ、縦の罫線で区切った「雑誌の目次」の列に。
   各列の頭に大きな通し番号（CSS の counter・読み上げない）。
   レールの下に、読み進みのバー・何件目か・送りボタンを1本の操作列でまとめる。
   ------------------------------------------------------------- */
#blog { padding: var(--rf-sec-y) 0; }
#blog .blog-railwrap {
  --rail-gap: 0px;
  margin-top: clamp(48px, 5vw, 80px);
}
#blog .blog-rail {
  counter-reset: rfc-post;
  padding: 0 var(--rail-pad);
  border-top: 2px solid var(--rfc-rule-strong);
  border-bottom: 1px solid var(--rfc-rule);
}
#blog .blog-rail .card {
  counter-increment: rfc-post;
  position: relative;
  padding: 30px 30px 38px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  border-right: 1px solid var(--rfc-rule);
  transition: background-color .4s var(--rf-ease), opacity .7s var(--rf-ease), transform .9s cubic-bezier(.19,1,.22,1);
}
#blog .blog-rail .card:first-child { border-left: 1px solid var(--rfc-rule); }
/* 出る前は列の下に沈めておき、罫線の窓からせり上がる（ぼかさない・傾けない） */
#blog .card.reveal:not(.is-in) { transform: translateY(56px); }
#blog .blog-rail .card:hover { translate: none; box-shadow: none; background: var(--rf-band); }

#blog .blog-rail .card::before {
  content: counter(rfc-post, decimal-leading-zero) / "";
  display: block;
  margin-bottom: 22px;
  font-family: var(--f-en);
  font-size: clamp(40px, 3.4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink-900);
  transition: color .3s var(--rf-ease);
}
#blog .blog-rail .card:hover::before { color: var(--hp-sky); }

#blog .blog-rail .card-thumb {
  border: 1px solid var(--rfc-rule);
  border-radius: 4px;
  background: #fff;
}
#blog .card-body { padding: 22px 0 0; gap: 14px; }
#blog .card-meta { gap: 14px; font-family: var(--f-mono); font-size: 13px; color: var(--rf-muted); }
#blog .card-cat {
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: var(--hp-sky-hi);
  font-family: var(--f-mono);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
#blog .card h3 {
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 800;
  line-height: 1.62;
  letter-spacing: .02em;
  color: var(--ink-900);
  text-wrap: pretty;
}
#blog .card h3 { transition: color .3s var(--rf-ease); }
#blog .card:hover h3 { color: var(--hp-sky-hi); }

/* 操作列 */
#blog .rfc-bl-bar {
  display: flex; align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 28px var(--rail-pad) 0;
}
#blog .rf-rail-progress {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--rfc-rule);
  overflow: hidden;
  pointer-events: none;
}
#blog .rf-rail-progress > span {
  display: block; height: 100%;
  width: var(--rf-rw, 30%);
  background: var(--ink-900);
  transform: translateX(var(--rf-rx, 0%));
  will-change: transform;
}
#blog .rfc-bl-count {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 14px; font-weight: 700;
  letter-spacing: .06em;
  color: var(--rf-muted);
  font-variant-numeric: tabular-nums;
}
#blog .rfc-bl-count b { color: var(--ink-900); font-weight: 700; }
#blog .rfc-bl-count i { width: 22px; height: 1px; background: currentColor; }
#blog .rfc-bl-bar .rail-arrows {
  position: static; inset: auto;
  display: flex; gap: 10px;
  pointer-events: auto;
}
#blog .rfc-bl-bar .rail-arrows button {
  position: static;
  transform: none;
  width: 56px; height: 56px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid var(--ink-900);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: background-color .25s ease, opacity .25s ease;
}
#blog .rfc-bl-bar .rail-arrows button:hover:not(:disabled) { transform: none; background: var(--ink-900); box-shadow: none; }
#blog .rfc-bl-bar .rail-arrows button:hover:not(:disabled) .arw-i { fill: #fff; }
#blog .rfc-bl-bar .rail-arrows button:active:not(:disabled) { transform: scale(.96); }
#blog .rfc-bl-bar .rail-arrows button:disabled { opacity: .28; }
#blog .rfc-bl-bar .rail-arrows .arw-i { fill: var(--ink-900); transition: fill .25s ease; }
#blog .sec-actions { margin-top: 52px; }

/* -------------------------------------------------------------
   RECRUIT
   イラストは白い霞をやめて画面いっぱいに色のまま。
   文字は左下の不透明な白い面に載せる（読みやすさはイラストに左右されない）。
   イラストは枠が四方から広がって出る（data-rf-clip の出方をここだけ変える）。
   ------------------------------------------------------------- */
#recruit {
  min-height: clamp(700px, 100vh, 980px);
  align-items: end;
  background: var(--paper);
}
#recruit .recruit-bg::after { content: none; }
#recruit .recruit-bg img { object-position: 62% 40%; }
#recruit .recruit-bg[data-rf-clip] {
  clip-path: inset(9% 7% 9% 7%);
  transition: clip-path 1.5s cubic-bezier(.77,0,.18,1);
}
#recruit .recruit-bg[data-rf-clip].rf-clip-in { clip-path: inset(0 0 0 0); }
#recruit .inner { padding-block: clamp(120px, 12vw, 200px) clamp(48px, 5vw, 80px); }
#recruit .rfc-rc-panel {
  width: min(660px, 100%);
  padding: clamp(36px, 3.6vw, 60px);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(16,42,67,.20);
}
#recruit .rfc-rc-panel .sec-en { font-size: clamp(52px, 6.4vw, 104px); }
#recruit .rfc-rc-statement {
  margin-top: clamp(28px, 2.6vw, 40px);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.38;
}
#recruit .sec-lead { max-width: none; margin-top: 22px; }
#recruit .rfc-rc-cta { margin-top: 36px; }

/* -------------------------------------------------------------
   CONTACT
   締め。紺の全幅に、画面幅いっぱいの言い切りを左揃えで。
   漂う光はやめ、製図の縦の格子と、横に引かれていく罫線で「設計された」感じを出す。
   ボタンは大きな四角の面に（吸い寄せは main.js の --mx / --my をそのまま使う）。
   ------------------------------------------------------------- */
#contact {
  background: var(--ink-900);
  color: #fff;
  text-align: left;
  isolation: isolate;
  padding: clamp(110px, 11vw, 180px) 0 clamp(100px, 10vw, 170px);
}
#contact::before, #contact::after { content: none; }
#contact .contact-inner { z-index: 1; }
/* 6列の製図の格子（縦線だけ・ごく薄く） */
#contact .contact-inner::before {
  content: "";
  position: absolute; z-index: -1;
  top: calc(clamp(110px, 11vw, 180px) * -1);
  bottom: calc(clamp(100px, 10vw, 170px) * -1);
  left: 0; right: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  border-right: 1px solid rgba(255,255,255,.07);
}
#contact .rfc-ct-top { display: flex; align-items: center; gap: 20px; }
#contact .rfc-ct-label {
  font-family: var(--f-mono);
  font-size: 14px; font-weight: 700;
  letter-spacing: .2em;
  color: var(--rfc-teal-on-dark);
}
#contact .rfc-ct-rule {
  flex: 1; height: 1px;
  background: rgba(255,255,255,.34);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s cubic-bezier(.77,0,.18,1) .1s;
}
#contact.rfc-in .rfc-ct-rule { transform: scaleX(1); }

#contact h2 {
  margin-top: clamp(40px, 4vw, 72px);
  font-size: clamp(40px, 7.4vw, 124px);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: #fff;
}
#contact h2 .rf-line + .rf-line .rf-line-in { --rf-l0: 60ms; }
/* 濃いティールのグラデは紺の上で沈むので、明るい側のティールで組み直す（紺地 6.0:1 以上） */
#contact .gradient-text,
#contact .gradient-text.is-split .cw {
  background-image: linear-gradient(96deg, #9be9f0 0%, #5fd3df 45%, #2bbccc 100%);
}

#contact .rfc-ct-foot {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
  margin-top: clamp(56px, 6vw, 104px);
  padding-top: 40px;
  border-top: 1px solid var(--rfc-rule-dark);
}
#contact .sec-lead {
  margin: 0;
  max-width: none;
  text-align: left;
  color: rgba(255,255,255,.88);
  font-size: clamp(15px, 1.2vw, 18px);
}
#contact .contact-actions {
  margin-top: 0;
  display: grid;
  gap: 14px;
  justify-items: start;
}
/* ボタンの形は土台（refresh.css）に揃える。紺の地では紺の面が見えないので、色だけ変える */
#contact .btn::before { background: #fff; }
#contact .btn.btn-primary:hover { background: var(--hp-sky); color: var(--ink-900); }
#contact .btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
#contact .btn.btn-line .arw { border-left-color: rgba(255,255,255,.3); }
#contact .btn.btn-line:hover { background: transparent; color: var(--ink-900); border-color: #fff; }
#contact .btn.btn-line:hover .arw { border-left-color: rgba(16,42,67,.2); }

/* -------------------------------------------------------------
   動きを止める設定
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  section.global .base-card img,
  #blog .blog-rail .card,
  #blog .rf-rail-progress > span { transition: none; }
  #blog .card.reveal:not(.is-in) { transform: none; }
  #contact .rfc-ct-rule { transform: none; transition: none; }
}

/* -------------------------------------------------------------
   タブレット（〜1100px）
   ------------------------------------------------------------- */
@media (max-width: 1100px) {
  #company .company-grid { grid-template-columns: 1fr; gap: 48px; }
  #company .bleed-left { border-radius: 0; }
  #contact .rfc-ct-foot { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------
   スマホ（〜860px）
   ------------------------------------------------------------- */
@media (max-width: 860px) {
  section.global { padding: var(--rf-sec-y) 0 88px; }
  section.global .rfc-g-head { grid-template-columns: 1fr; }
  section.global .rfc-g-ttl { font-size: clamp(26px, 7.4vw, 36px); margin-top: 26px; word-break: auto-phrase; }
  section.global .rfc-g-head .sec-lead { grid-column: 1; margin-top: 32px; padding-top: 22px; }
  section.global .marquee { margin-top: 56px; }
  section.global .marquee-track { gap: 12px; }
  section.global .base-card { width: 260px; border-radius: 4px; }
  section.global .base-card:nth-child(even) { width: 150px; }

  #company { padding: var(--rf-sec-y) 0; }
  #company .rfc-co-statement { font-size: clamp(27px, 7.8vw, 44px); line-height: 1.32; margin-top: 32px; word-break: auto-phrase; }
  #company .company-grid { margin-top: 48px; gap: 40px; }
  #company .company-meta dl { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  #company .company-meta dt { padding-top: 0; }
  #company .company-meta dd { font-size: 15px; }
  #company .rfc-co-cta { margin-top: 36px; }

  #blog { padding: var(--rf-sec-y) 0; }
  #blog .blog-railwrap { --card-w: calc(var(--vw, 100vw) - var(--rail-pad) - 44px); margin-top: 40px; }
  #blog .blog-rail .card { padding: 24px 22px 30px; }
  #blog .blog-rail .card::before { font-size: 40px; margin-bottom: 18px; }
  #blog .card h3 { font-size: 18px; }
  #blog .rfc-bl-bar { padding-top: 22px; gap: 14px; }
  #blog .rfc-bl-bar .rail-arrows button { width: 48px; height: 48px; }
  #blog .sec-actions { margin-top: 40px; }

  #recruit { display: block; min-height: 0; }
  #recruit .recruit-bg { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3.4; }
  #recruit .recruit-bg[data-rf-clip] { clip-path: inset(6% 5% 6% 5%); }
  #recruit .recruit-bg[data-rf-clip].rf-clip-in { clip-path: inset(0 0 0 0); }
  #recruit .inner { padding-block: 0 72px; margin-top: -64px; }
  #recruit .rfc-rc-panel { padding: 30px 24px 34px; box-shadow: 0 20px 50px rgba(16,42,67,.16); }
  #recruit .rfc-rc-panel .sec-en { font-size: clamp(48px, 15vw, 64px); }
  #recruit .rfc-rc-statement { font-size: clamp(25px, 7vw, 30px); margin-top: 24px; }
  #recruit .rfc-rc-cta { margin-top: 30px; }

  #contact { padding: 96px 0 96px; }
  #contact .contact-inner::before { top: -96px; bottom: -96px; background-size: calc(100% / 3) 100%; }
  #contact h2 { margin-top: 36px; font-size: clamp(30px, 8.8vw, 52px); line-height: 1.24; }
  #contact .rfc-ct-foot { margin-top: 48px; padding-top: 32px; gap: 36px; }
  #contact .contact-actions { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 12px; justify-items: stretch; }

}


/* GLOBAL の写真の帯：マウスを乗せると止まっていた（style.css の .marquee:hover）。止まらずに流れ続けるようにする（11/16 指示）。
   乗せた写真に色が戻る・少し寄る動きはそのまま */
section.global .marquee:hover .marquee-track { animation-play-state: running; }

/* BLOG：カードの頭の通し番号（01〜11）は外す（11/16 もりもんさん「番号いらないかも」）。
   下の「01 — 11」（いま何件目か）は横送りの位置を示すので残す */
#blog .blog-rail .card::before { content: none; display: none; }
