@charset "UTF-8";
/* ==========================================================================
   ハイ・ヴァーチュ・ラボ株式会社 コーポレートサイト 共通スタイル
   （元ファイルの <helmet> 内スタイルと、style-hover / style-focus 属性を
     通常の CSS へ書き起こしたもの）
   ========================================================================== */

/* --- 基本 ---------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #FFFFFF; }
::selection { background: rgba(0, 194, 255, .22); }
a { color: #0090C4; }
a:hover { color: #0E1620; }

/* --- アニメーション ------------------------------------------------------- */
@keyframes hvl-ticker  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hvl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- レスポンシブ --------------------------------------------------------- */
/* 各要素は元ファイル由来のインライン style を持つため、
   打ち消す指定には !important を付けている */

/* 共通コンテナ。
   幅の広いモニターで左右の余白が空きすぎないよう、段階的に最大幅を広げる。
   反対に狭い画面では左右の余白を詰めて、本文の行長を確保する。 */
.hvl-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}
@media (min-width: 1400px) {
  .hvl-container { max-width: 1340px; padding-left: 40px; padding-right: 40px; }
}
@media (min-width: 1700px) {
  .hvl-container { max-width: 1560px; padding-left: 56px; padding-right: 56px; }
}
@media (min-width: 2100px) {
  .hvl-container { max-width: 1720px; padding-left: 64px; padding-right: 64px; }
}
@media (max-width: 640px) {
  .hvl-container { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 380px) {
  .hvl-container { padding-left: 16px; padding-right: 16px; }
}

/* 見出し行（番号ラベル＋大見出し、見出し＋一覧リンク）は狭い画面で縦積みにする */
@media (max-width: 700px) {
  .hvl-idx { grid-template-columns: 1fr !important; gap: 12px !important; }
  .hvl-idx > :first-child { padding-top: 0 !important; }
  .hvl-headrow {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    align-items: start !important;
  }
}

/* 会社概要の定義リストは狭い画面で項目名を上、内容を下に積む */
@media (max-width: 560px) {
  .hvl-defrow { grid-template-columns: 1fr !important; }
  .hvl-defrow > :first-child { padding: 14px 18px 5px !important; }
  .hvl-defrow > :last-child  { padding: 0 18px 16px !important; }
}
@media (max-width: 420px) {
  .hvl-defrow2 > * { padding-left: 14px !important; padding-right: 14px !important; }
}

/* SIer 比較グラフ。狭い画面では帯の中の文字を折り返して全文を読ませる */
@media (max-width: 640px) {
  .hvl-bars { height: auto !important; min-height: 58px; }
  .hvl-bars > div { padding: 10px 12px !important; }
  .hvl-bars > div > span {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: .66rem !important;
    line-height: 1.5 !important;
  }
}

/* --- グローバルナビゲーション（880px 以下はハンバーガーメニュー） ---------- */
.hvl-navtoggle { display: none; }

@media (max-width: 880px) {
  [data-gnav] { display: none !important; }
  [data-hdr-cta] { display: none !important; }
  .hvl-navtoggle { display: inline-flex !important; }
}
@media (min-width: 881px) {
  .hvl-mobilenav { display: none !important; }
}

.hvl-navtoggle {
  width: 44px;
  height: 44px;
  margin-right: -8px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #0E1620;
  -webkit-tap-highlight-color: transparent;
}
.hvl-navtoggle-box { position: relative; display: block; width: 24px; height: 16px; }
.hvl-navtoggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: top .26s ease, transform .26s ease, opacity .16s ease;
}
.hvl-navtoggle-box span:nth-child(1) { top: 0; }
.hvl-navtoggle-box span:nth-child(2) { top: 7.25px; }
.hvl-navtoggle-box span:nth-child(3) { top: 14.5px; }
.hvl-navtoggle[aria-expanded="true"] .hvl-navtoggle-box span:nth-child(1) { top: 7.25px; transform: rotate(45deg); }
.hvl-navtoggle[aria-expanded="true"] .hvl-navtoggle-box span:nth-child(2) { opacity: 0; }
.hvl-navtoggle[aria-expanded="true"] .hvl-navtoggle-box span:nth-child(3) { top: 7.25px; transform: rotate(-45deg); }

/* 開いたときに落ちてくるパネル。ヘッダーの直下に重ねる */
.hvl-mobilenav {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid #DCE3E9;
  box-shadow: 0 12px 16px -14px rgba(14, 22, 32, .35);
  max-height: calc(100vh - 72px);
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s;
}
.hvl-mobilenav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.hvl-mobilenav-inner { padding: 4px 28px 28px; }
@media (max-width: 640px) { .hvl-mobilenav-inner { padding: 4px 20px 24px; } }
@media (max-width: 380px) { .hvl-mobilenav-inner { padding: 4px 16px 24px; } }

.hvl-mnav-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid #DCE3E9;
  color: #0E1620;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  transition: color .2s ease;
}
.hvl-mnav-link:hover { color: var(--abd, #0090C4); }
.hvl-mnav-link[aria-current="page"] { color: var(--abd, #0090C4); }
.hvl-mnav-en {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .18em;
  color: #8A98A6;
  white-space: nowrap;
}
.hvl-mnav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  padding: 18px 24px;
  border-radius: 2px;
  background: var(--ab, #00C2FF);
  color: #04222E;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
}
.hvl-mnav-cta:hover { color: #04222E; box-shadow: 0 8px 26px rgba(0, 194, 255, .4); }
.hvl-mnav-sub { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.hvl-mnav-sub a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem;
  letter-spacing: .1em;
  color: #5A6876;
  text-decoration: none;
}
.hvl-mnav-sub a:hover { color: var(--abd, #0090C4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-anim] { animation: none !important; }
  .hvl-mobilenav,
  .hvl-navtoggle-box span { transition: none !important; }
}

/* --- ヘッダー（スクロール時の見え方） -------------------------------------- */
.hvl-header.is-scrolled {
  background: rgba(255, 255, 255, .94) !important;
  backdrop-filter: saturate(1.2) blur(10px) !important;
  -webkit-backdrop-filter: saturate(1.2) blur(10px) !important;
  border-bottom: 1px solid #DCE3E9 !important;
}

/* メニューを開いている間はヘッダーを不透明にする。
   スクロール中に開いた場合も打ち消されないよう、is-scrolled より後に置く */
.hvl-header.is-menu-open {
  background: #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #DCE3E9 !important;
}

/* --- スクロール連動の表示（JavaScript 無効時は常に表示） -------------------- */
[data-reveal].is-hidden { opacity: 0; transform: translateY(18px); }
[data-reveal] { transition: opacity .7s ease, transform .7s ease; }

/* --- 実績ページの絞り込み ------------------------------------------------- */
.hvl-filter {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .76rem;
  letter-spacing: .1em;
  padding: 11px 22px;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1;
  transition: all .2s ease;
  background: #FFFFFF;
  color: #5A6876;
  border: 1.5px solid #DCE3E9;
}
.hvl-filter.is-active {
  background: #0E1620;
  color: #F2F6FA;
  border: 1.5px solid #0E1620;
  font-weight: 500;
}
[data-case][hidden] { display: none !important; }

/* --- 入力欄の状態 --------------------------------------------------------- */
.hvl-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.hvl-error-box {
  padding: 18px 20px;
  border-radius: 2px;
  background: rgba(214, 60, 60, .07);
  border: 1px solid rgba(214, 60, 60, .38);
  margin: 0 0 24px;
}
.hvl-error-box p { margin: 0 0 8px; font-weight: 700; font-size: .92rem; color: #B02A2A; }
.hvl-error-box ul { margin: 0; padding-left: 1.2em; font-size: .86rem; color: #33465A; line-height: 1.9; }
.hvl-error-box li { margin: 2px 0; }
.hvl-invalid { border-color: #D63C3C !important; background: #FFF7F7 !important; }
.hvl-note-req { font-family: 'IBM Plex Mono', monospace; font-size: .6rem; color: rgb(0,113,158); margin-left: 8px; letter-spacing: .1em; }
.hvl-note-opt { font-family: 'IBM Plex Mono', monospace; font-size: .6rem; color: #8A98A6; margin-left: 8px; letter-spacing: .1em; }

/* --- 確認画面の一覧表 ----------------------------------------------------- */
.hvl-confirm { width: 100%; border-collapse: collapse; margin: 0 0 28px; }
.hvl-confirm th,
.hvl-confirm td {
  text-align: left;
  vertical-align: top;
  padding: 16px 4px;
  border-bottom: 1px solid #DCE3E9;
  font-size: .88rem;
  line-height: 1.9;
}
.hvl-confirm th { width: 12em; font-weight: 500; color: #5A6876; }
.hvl-confirm td { color: #0E1620; word-break: break-word; }
@media (max-width: 560px) {
  .hvl-confirm th, .hvl-confirm td { display: block; width: auto; border-bottom: none; padding: 8px 4px; }
  .hvl-confirm td { border-bottom: 1px solid #DCE3E9; padding-bottom: 16px; }
}

/* --------------------------------------------------------------------------
   元ファイルの style-hover / style-focus 属性から生成した規則
   -------------------------------------------------------------------------- */
.hv0:hover { border-bottom: 1.5px solid var(--ab, #00C2FF) !important; }
.hv1:hover { box-shadow: 0 4px 22px rgba(0, 194, 255, .5) !important; }
.hv2:hover { box-shadow: 0 10px 36px rgba(0, 194, 255, .45) !important; transform: translateY(-1px) !important; }
.hv3:hover { box-shadow: inset 0 0 0 1.5px var(--ab, #00C2FF) !important; color: var(--abd, #0090C4) !important; }
.hv4:hover { border-bottom: 1px solid var(--ab, #00C2FF) !important; }
.hv5:hover { color: var(--abd, #0090C4) !important; }
.hv6:hover { background-color: #F8FAFC !important; color: var(--abd, #0090C4) !important; }
.hv7:hover { color: #FFFFFF !important; }
.fc8:focus { outline: none !important; border-color: var(--ab, #00C2FF) !important; box-shadow: 0 0 0 3px rgba(0, 194, 255, .16) !important; }
