/* ==========================================================
   研究者向けトップページ（.hm の中だけに効く）
   ========================================================== */
.hm-body { margin: 0; background: #fff; }
.hm {
  --hm-navy: #10223f; --hm-blue: #0072f6; --hm-blue-dark: #066aa3; --hm-pale: #edf7ff;
  --hm-line: #dce7f1; --hm-muted: #5d6f87;
  color: var(--hm-navy);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.6;
}
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm [hidden] { display: none !important; }
.hm a { color: inherit; text-decoration: none; }
.hm button, .hm input { font: inherit; }
.hm button { cursor: pointer; }
.hm h1, .hm h2, .hm h3, .hm p { margin: 0; }
.hm-container { max-width: 1200px; margin: 0 auto; padding: 0 26px; }

/* ヘッダー */
.hm-header { 
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px #14365712;
  position: fixed;
  z-index: 999;
  width: 100%;
 }
.hm-header-inner { height: 51px; display: flex; align-items: center; gap: 28px; }
.hm-brand { display: flex; align-items: center; flex: none; }
.hm-logo { height: 36px; width: auto; display: block; }
.hm-nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 700; }
.hm-nav a:hover, .hm-link:hover { color: var(--hm-blue); }
.hm-account { 
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  font-weight: normal;
  border-left-width: 1px;
  border-left-style: solid;
  padding-left: 20px;
  color: #61a6ee !important;
 }
.hm-outline { 
  border-radius: 4px;
  padding: 2px 15px;
  color: #61a6ee !important;
 }
.hm-primary { 
  color: #fff !important;
  align-items: center;
  height: 34px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(180deg, #31a3ff, #157de8);
  font-size: 13px;
  font-weight: normal;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  width: 135px;
  text-align: center;
  line-height: 17px;
 }
.hm-primary:hover { background: var(--hm-blue-dark); }
.hm-small { padding: 9px 15px; }
.hm-inline-form { display: inline; margin: 0; }
.hm-logout { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: inherit; cursor: pointer; }
.hm-user { 
  font-weight: normal;
  font-size: 9px;
  margin-left: -25px;
  background: #0c8ef9;
  padding: 2px 3px 1px 9px;
  color: white;
  border-radius: 20px;
}
.hm-header a, .hm-footer a { text-decoration: none; }

/* 最初の画面 */
.hm-hero { position: relative; overflow: hidden; min-height: 440px; background: var(--hm-pale) var(--hm-hero) center right / cover no-repeat; }
.hm-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #eef8ffee 0%, #eef8ffaa 30%, transparent 55%); }
.hm-hero-inner { 
  position: relative;
  z-index: 1;
  padding-top: 50px;
  padding-bottom: 100px;
  margin-top: 90px;
  text-shadow: 0 0 10px white;
 }
.hm-eyebrow { color: var(--hm-blue); font-size: 22px; font-weight: 700; letter-spacing: .09em; transform-origin: left; }
.hm-title { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.15; letter-spacing: -.04em; margin: 1px 0 14px !important; font-weight: 900; }
.hm-title span { color: var(--hm-blue); font-style: italic; }
.hm-lead { font-size: 20px; font-weight: 700; line-height: 1.65; }
.hm-points { display: flex; gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.hm-points li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.hm-points i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--hm-blue); color: #fff; font-style: normal; font-size: 21px; }
.hm-points i svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }

/* サービスを探す */
.hm-finder { position: relative; z-index: 2; margin-top: -42px; }
.hm-finder-inner { background: #fff; border-radius: 10px; box-shadow: 0 16px 40px #294d7820; padding: 29px 30px 32px; }
.hm-finder-head { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.hm-finder h2 { font-size: 24px; }
.hm-search { display: flex; gap: 10px; min-width: 410px; }
.hm-search input { width: 100%; border: 1px solid #cbd7e4; border-radius: 8px; padding: 12px 15px; outline: none; }
.hm-search input:focus { border-color: var(--hm-blue); box-shadow: 0 0 0 3px #0a86c921; }
.hm-search button { min-width: 82px; }
.hm-hint { color: var(--hm-muted); font-size: 13px; margin: -8px 0 18px !important; }
.hm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm-tile { text-align: left; position: relative; border: 2px solid transparent; border-radius: 14px; min-height: 150px; padding: 18px 20px;
  display: flex; flex-direction: column; align-items: flex-start; transition: transform .18s, box-shadow .18s; }
.hm-tile:hover, .hm-tile:focus-visible { transform: translateY(-4px); box-shadow: 0 11px 24px #1a477023; outline: none; }
.hm-tile.is-open { border-color: currentColor; }
.hm-icon { width: 50px; height: 50px; display: grid; place-items: center; line-height: 1; }
.hm-icon svg { width: 48px; height: 48px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.hm-icon .soft { fill: currentColor; opacity: .15; stroke: none; }
.hm-tile strong { font-size: 16px; line-height: 1.4; margin-top: 12px; color: var(--hm-navy); }
.hm-tile small { font-size: 12px; color: #52647e; margin-top: 4px; line-height: 1.4; }
.hm-arrow { position: absolute; right: 16px; bottom: 10px; font-size: 22px; }
.hm-tile { padding-bottom: 30px; }
.hm-tile:nth-child(12n+1) { background: #fff0f3; color: #dd2764; }
.hm-tile:nth-child(12n+2) { background: #f1ecff; color: #7651d4; }
.hm-tile:nth-child(12n+3) { background: #eaf9ef; color: #089d68; }
.hm-tile:nth-child(12n+4) { background: #e9f5ff; color: #0785d8; }
.hm-tile:nth-child(12n+5) { background: #fff2e8; color: #df7525; }
.hm-tile:nth-child(12n+6) { background: #edf9f7; color: #078b91; }
.hm-tile:nth-child(12n+7) { background: #f8f3e8; color: #987018; }
.hm-tile:nth-child(12n+8) { background: #eef3ff; color: #4d6fca; }
.hm-tile:nth-child(12n+9) { background: #fceff8; color: #c84092; }
.hm-tile:nth-child(12n+10) { background: #eef8e8; color: #5d9638; }
.hm-tile:nth-child(12n+11) { background: #f5f1ff; color: #7755a9; }
.hm-tile:nth-child(12n+12) { background: #eef4f8; color: #426e8b; }
.hm-empty { padding: 28px; text-align: center; color: var(--hm-muted); }

/* 中分類 */
.hm-detail { margin-top: 24px; padding: 24px 26px; background: #f4faff; border: 1px solid #cde6fa; border-radius: 15px; }
.hm-detail-title { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 14px; }
.hm-detail h3 { font-size: 21px; }
.hm-close { background: transparent; border: 0; color: var(--hm-muted); font-size: 25px; line-height: 1; }
.hm-subgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hm-sub { background: #fff; border: 1px solid var(--hm-line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.hm-sub.is-ready { border-color: #9fd0ec; }
.hm-sub-name { font-weight: 800; }
.hm-leaves { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hm-leaf { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; background: var(--hm-blue); color: #fff !important; font-weight: 700; }
.hm-leaf:hover { background: var(--hm-blue-dark); }
.hm-leaf span:first-child { flex: 1; }
.hm-leaf-count { font-size: 12px; font-weight: 400; opacity: .9; }
.hm-soon { display: inline-block; align-self: flex-start; font-size: 12px; color: var(--hm-muted); background: #eef2f5; border-radius: 999px; padding: 2px 10px; }
.hm-examples { font-size: 12px; color: var(--hm-muted); line-height: 1.5; }
.hm-note { font-size: 13px; color: var(--hm-muted); margin-top: 20px !important; }
.hm-note a { color: var(--hm-blue); text-decoration: underline; }

/* やりたいこと・できること・流れ */
.hm-section { padding: 64px 26px; }
.hm-steps { padding: 64px 0; background: #eef8ff; }
.hm-section h2 { font-size: 28px; margin-bottom: 26px; }
/* 節の見出しと、その右の「Topへ戻る」 */
.hm-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.hm-section-head h2 { margin-bottom: 0; }
.hm-to-top { margin-left: auto; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--site-blue); text-decoration: none; }
.hm-to-top:hover { text-decoration: underline; }
.hm-num { font-style: normal; font-size: 1.45em; line-height: 1; color: var(--hm-blue); }
.hm-purpose-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hm-purpose { border: 1px solid var(--hm-line); border-radius: 14px; padding: 18px 20px; }
.hm-purpose h3 { font-size: 16px; }
.hm-purpose p { color: var(--hm-muted); font-size: 13px; margin: 4px 0 10px; }

/* やりたいことのカードは、押したときだけ中身を出す（16件あるので、開いたままだと長い） */
.hm-purpose-grid { align-items: start; }
.hm-purpose summary { display: block; position: relative; cursor: pointer; padding-right: 26px; list-style: none; }
.hm-purpose summary::-webkit-details-marker { display: none; }
.hm-purpose summary::after {
  content: "▾"; position: absolute; right: 0; top: 0;
  color: var(--hm-muted); font-size: 14px; transition: transform .15s;
}
.hm-purpose[open] summary::after { transform: rotate(180deg); }
/* 閉じているときの高さを揃える。題と問いかけに2行ぶんを先に取っておく
   （1行の目的と2行の目的が混ざると、カードの高さがばらばらになるため） */
.hm-purpose summary h3 { margin: 0; min-height: 2.6em; }
.hm-purpose summary p { margin: 4px 0 0; min-height: 3em; }
.hm-purpose[open] summary p { margin-bottom: 10px; }
.hm-purpose-count { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--hm-muted); white-space: nowrap; }
.hm-purpose summary:focus-visible { outline: 2px solid var(--hm-link, #0a86c9); outline-offset: 2px; border-radius: 6px; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-chip { padding: 4px 12px; border-radius: 999px; background: var(--hm-pale); color: var(--hm-blue-dark) !important; font-weight: 700; font-size: 14px; }
.hm-chip:hover { background: #d7ecfb; }
.hm-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hm-feature { padding: 26px; border: 1px solid var(--hm-line); border-radius: 15px; }
.hm-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: var(--hm-pale); color: var(--hm-blue); font-size: 30px; }
.hm-mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.hm-feature h3 { font-size: 18px; margin: 12px 0 8px; }
.hm-feature p { color: var(--hm-muted); line-height: 1.7; font-size: 14px; }

/* できることの前に置く「こんなとき」。機能より先に、困りごとを出す */
.hm-asks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hm-asks li { border-left: 4px solid var(--hm-blue); padding: 2px 0 2px 18px; }
/* 18px が、3列のときに1行で収まる上限のあたり（19pxでぎりぎり、20pxではみ出す） */
.hm-ask { font-weight: 800; font-size: 18px; letter-spacing: .01em; margin: 0 0 8px; }
.hm-ans { color: var(--hm-muted); font-size: 14px; line-height: 1.7; margin: 0; }
.hm-stepgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hm-step { background: #fff; border-radius: 14px; padding: 24px; }
.hm-step b { color: var(--hm-blue); font-size: 28px; margin-right: 12px; }
.hm-step span { font-weight: 800; }
.hm-step p { color: var(--hm-muted); line-height: 1.6; margin-top: 10px; }

/* 流れの図（2026-10-08）。カード3枚＋あいだの矢印。
   カードの幅がもとの図の半分しかないので、イラストは文章の下に置いている */
.hm-stepflow { display: flex; align-items: stretch; gap: 10px; }
.hm-stepcard { flex: 1 1 0; background: #fff; border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; }
.hm-steparrow { display: flex; align-items: center; color: #a9cfea; font-size: 34px; line-height: 1; font-weight: 300; }
.hm-stephead { display: flex; align-items: baseline; gap: 14px; }
.hm-stephead b { color: var(--hm-blue); font-size: 30px; letter-spacing: .02em; }
.hm-stephead span { font-weight: 800; font-size: 19px; }
.hm-stepbody { margin: 10px 0 14px; flex: 1; display: flex; flex-direction: column; }
.hm-stepbody p { color: var(--hm-muted); font-size: 14px; line-height: 1.9; margin: 0 0 8px; }
.hm-stepimg { width: auto; max-width: 100%; height: 170px; object-fit: contain; display: block; margin: auto auto 0; }
.hm-stepchips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-stepchips li { display: inline-flex; align-items: center; gap: 6px; background: #eaf4fd; color: #0a5f8f; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; }
.hm-stepchips svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--hm-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 860px) {
  .hm-stepflow { flex-direction: column; }
  .hm-steparrow { transform: rotate(90deg); justify-content: center; }
}

/* フッター */
.hm-footer { padding: 36px 0; background: var(--hm-navy); color: #d6e5f2; font-size: 13px; }
.hm-footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.hm-footer-logo { height: 30px; width: auto; background: #fff; border-radius: 6px; padding: 3px 8px; box-sizing: content-box; }
.hm-footer p { margin-top: 8px; }
.hm-footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hm-footer-links a:hover { color: #fff; text-decoration: underline; }
.hm-copy { width: 100%; color: #9fb4c8; }

@media (max-width: 920px) {
  .hm-nav { display: none; }
  .hm-grid { grid-template-columns: repeat(3, 1fr); }
  .hm-subgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .hm-container { padding: 0 16px; }
  .hm-header-inner { height: 60px; gap: 10px; }
  .hm-logo { height: 28px; }
  .hm-account { margin-left: auto; font-size: 13px; gap: 10px; }
  .hm-hide-sp { display: none; }
  .hm-small { padding: 7px 10px; }
  .hm-hero { min-height: 470px; background-image: var(--hm-hero-sm); background-position: 72% center; }
  .hm-hero::after { background: linear-gradient(180deg, #edf8fff2 0%, #edf8ffd9 55%, #edf8ff40 100%); }
  .hm-hero-inner { padding-top: 40px; }
  .hm-eyebrow { font-size: 17px; }
  .hm-lead { font-size: 16px; }
  .hm-points { flex-direction: column; gap: 8px; margin-top: 20px; }
  .hm-points i { width: 38px; height: 38px; font-size: 17px; }
  .hm-points i svg { width: 22px; height: 22px; }
  .hm-finder-inner { padding: 22px 16px; }
  .hm-finder-head { display: block; }
  .hm-finder h2 { font-size: 20px; margin-bottom: 14px; }
  .hm-search { min-width: 0; }
  .hm-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .hm-tile { min-height: 140px; padding: 14px; }
  .hm-tile strong { font-size: 14px; }
  .hm-tile small { font-size: 11px; }
  .hm-subgrid, .hm-features, .hm-stepgrid, .hm-asks { grid-template-columns: 1fr; }
  .hm-section { padding: 46px 16px; }
  .hm-steps { padding: 46px 0; }
  .hm-mark { width: 50px; height: 50px; border-radius: 13px; }
  .hm-mark svg { width: 27px; height: 27px; }
}


/* =========================================
   サービスから探す：画像付きカードデザイン
   ========================================= */

   .hm-service-catalog {
    padding-top: 0px;
    padding-bottom: 65px;
  }
  
  .hm-service-catalog .hm-finder-inner {
    max-width: 1280px;
    margin: 0 auto;
  }
  
  /* セクション見出し */
  .hm-service-catalog .hm-service-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
  }
  
  .hm-service-catalog .hm-service-heading-main {
    display: flex;
    align-items: baseline;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .hm-service-catalog .hm-service-heading h2 {
    margin: 0;
    color: #10284c;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.4;
  }

  .hm-service-catalog .hm-service-heading h2 span{
    color: #0789df;
  }
  
  .hm-service-catalog .hm-service-heading p {
    margin: 0;
    color: #70839f;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.6;
  }
  
  /* すべてのサービスを見る */
  .hm-service-catalog .hm-service-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: #1686df;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #b9daf8;
    padding-bottom: 7px;
    transition: color .2s, border-color .2s;
  }
  
  .hm-service-catalog .hm-service-all:hover {
    color: #075ca4;
    border-color: #1686df;
  }
  
  .hm-service-catalog .hm-service-all span {
    font-size: 22px;
    line-height: 1;
  }
  
  /* 検索フォーム */
  .hm-service-catalog .hm-service-search-area {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
  }
  
  .hm-service-catalog .hm-service-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(100%, 360px);
    padding: 5px;
    border: 1px solid #dce8f3;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
    height: 36px;
  }
  
  .hm-service-catalog .hm-service-search input {
    min-width: 0;
    flex: 1;
    padding: 8px 10px;
    border: none;
    outline: none;
    background: transparent;
    color: #142d4e;
    font-size: 13px;
    box-shadow: none;
  }
  
  .hm-service-catalog .hm-service-search button {
    flex-shrink: 0;
    padding: 2px 17px;
    border: none;
    border-radius: 3px;
    background: #0072f6;
    color: #fff;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
  }
  
  .hm-service-catalog .hm-service-search button:hover {
    background: #0872b1;
  }
  
  /* カードグリッド */
  .hm-service-catalog .hm-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 20px;
    align-items: stretch;
  }
  
  /* 個別カード */
  .hm-service-catalog .hm-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dcebf7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(32, 85, 130, .045);
    text-align: left;
    cursor: pointer;
    appearance: none;
    transform: none;
    transition:
      transform .22s ease,
      border-color .22s ease,
      box-shadow .22s ease;
  }
  
  .hm-service-catalog .hm-service-card:hover {
    transform: translateY(-4px);
    border-color: #95c7f0;
    box-shadow: 0 10px 25px rgba(20, 94, 158, .12);
  }
  
  .hm-service-catalog .hm-service-card:focus-visible {
    outline: 3px solid #268fe4;
    outline-offset: 3px;
  }
  
  /* 画像部分 */
  .hm-service-catalog .hm-service-card-image {
    position: relative;
    display: flex;
    width: 100%;
    height: 106px;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #dfedfa;
  }
  
  .hm-service-catalog .hm-service-card-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
  }
  
  .hm-service-catalog .hm-service-card:hover .hm-service-card-photo {
    transform: scale(1.055);
  }
  
  /* 画像未設定時の代替表示 */
  .hm-service-catalog .hm-service-card-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #168bd0;
  }
  
  .hm-service-catalog .hm-service-card-fallback svg {
    width: 65px;
    height: 65px;
    max-width: 50%;
    max-height: 65%;
  }
  
  .hm-service-catalog .hm-service-tone-0 {
    background: linear-gradient(125deg, #d7efff, #9fd2ff);
  }
  .hm-service-catalog .hm-service-tone-1 {
    background: linear-gradient(125deg, #edf5ff, #b1d9ff);
  }
  .hm-service-catalog .hm-service-tone-2 {
    background: linear-gradient(125deg, #dbfaf5, #a9d7f2);
  }
  .hm-service-catalog .hm-service-tone-3 {
    background: linear-gradient(125deg, #f6dcff, #c5c0ff);
  }
  .hm-service-catalog .hm-service-tone-4 {
    background: linear-gradient(125deg, #ffebda, #ffd09c);
  }
  .hm-service-catalog .hm-service-tone-5 {
    background: linear-gradient(125deg, #defaf2, #acdcdb);
  }
  
  /* カード下部 */
  .hm-service-catalog .hm-service-card-body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-height: 81px;
    padding: 13px 37px 12px 18px;
    background: #fff;
    width: 100%;
  }
  
  .hm-service-catalog .hm-service-card-title {
    display: block;
    margin: 0 0 5px;
    color: #10284c;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  
  .hm-service-catalog .hm-service-card-description {
    display: block;
    margin: 0;
    color: #8191aa;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  
  .hm-service-catalog .hm-service-card-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #168bea;
    transform: translateY(-50%);
    transition: transform .2s ease;
  }
  
  .hm-service-catalog .hm-service-card:hover .hm-service-card-arrow {
    transform: translate(3px, -50%);
  }
  
  .hm-service-catalog .hm-service-card[aria-expanded="true"] {
    border-color: #168bea;
    box-shadow: 0 0 0 2px rgba(22, 139, 234, .12);
  }
  
  /* 検索結果なし、詳細パネル */
  .hm-service-catalog .hm-empty {
    margin: 20px 0;
    text-align: center;
  }
  
  .hm-service-catalog .hm-detail {
    margin-top: 22px;
  }
  
  .hm-service-catalog .hm-note {
    margin-top: 25px;
    color: #8191aa;
    font-size: 12px;
    text-align: center;
  }
  
  /* hidden属性を確実に有効にする */
  .hm-service-catalog [hidden] {
    display: none !important;
  }
  
  /* タブレット */
  @media (max-width: 1024px) {
    .hm-service-catalog .hm-service-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .hm-service-catalog .hm-service-heading-main {
      gap: 12px;
    }
  }
  
  /* スマートフォン */
  @media (max-width: 600px) {
    .hm-service-catalog {
      padding-top: 36px;
      padding-bottom: 42px;
    }
  
    .hm-service-catalog .hm-service-heading {
      align-items: flex-start;
      flex-direction: column;
      gap: 10px;
    }
  
    .hm-service-catalog .hm-service-heading h2 {
      font-size: 24px;
    }
  
    .hm-service-catalog .hm-service-heading p {
      font-size: 12px;
    }
  
    .hm-service-catalog .hm-service-search-area {
      margin-top: 16px;
      width: 100%;
    }
    .hm-service-catalog .hm-service-search{
      height:auto;
    }
  
    .hm-service-catalog .hm-service-search {
      width: 100%;
    }
  
    .hm-service-catalog .hm-service-grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 12px;
    }
  
    .hm-service-catalog .hm-service-card-image {
      height: 130px;
    }
  
    .hm-service-catalog .hm-service-card-body {
      min-height: 83px;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .hm-service-catalog .hm-service-card,
    .hm-service-catalog .hm-service-card-photo,
    .hm-service-catalog .hm-service-card-arrow {
      transition: none;
    }
  }
  

/* ======================================================
   USE CASE / やりたいことから探す
   画像付きコンパクトカード
====================================================== */

.hm-usecase {
  --uc-navy: #102949;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  padding-top: 48px;
  padding-bottom: 55px;
}


/* ---------------------------
   見出し
--------------------------- */

.hm-usecase .hm-usecase-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.hm-usecase .hm-usecase-label {
  display: block;
  margin-bottom: 4px;
  color: #128df0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.hm-usecase .hm-usecase-head h2 {
  margin: 0;
  color: var(--uc-navy);
  font-size: clamp(24px, 2.5vw, 33px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.35;
}

.hm-usecase .hm-usecase-head h2 span {
  color: #0789df;
}

.hm-usecase .hm-usecase-head p {
  margin: 5px 0 0;
  color: #4d6888;
  font-size: 12px;
  line-height: 1.6;
}

/* 右上ボタン */
.hm-usecase .hm-usecase-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 10px 15px;
  border: 1px solid #e2ecfa;
  border-radius: 30px;
  background: #fff;
  color: #126cc8;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(20, 95, 160, .07);
  transition: transform .2s, background .2s;
}

.hm-usecase .hm-usecase-view-all:hover {
  transform: translateY(-2px);
  background: #eff8ff;
}

.hm-usecase .hm-usecase-view-all span {
  font-size: 19px;
  line-height: 1;
}

/* ---------------------------
   グリッド
--------------------------- */

.hm-usecase .hm-usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

/* ---------------------------
   カードの色
--------------------------- */

.hm-usecase .hm-usecase-pink {
  --uc-color: #ff2387;
  --uc-soft: #fff0f6;
  --uc-bg: #fff1f7;
}

.hm-usecase .hm-usecase-purple {
  --uc-color: #7747ff;
  --uc-soft: #f2efff;
  --uc-bg: #f0eaff;
}

.hm-usecase .hm-usecase-green {
  --uc-color: #0cba79;
  --uc-soft: #e3faf0;
  --uc-bg: #e2fbf1;
}

.hm-usecase .hm-usecase-blue {
  --uc-color: #168df4;
  --uc-soft: #e8f4ff;
  --uc-bg: #e2f4ff;
}

.hm-usecase .hm-usecase-cyan {
  --uc-color: #02b3e8;
  --uc-soft: #e5faff;
  --uc-bg: #dff9ff;
}

.hm-usecase .hm-usecase-orange {
  --uc-color: #ff8b13;
  --uc-soft: #fff3e3;
  --uc-bg: #fff1dd;
}

.hm-usecase .hm-usecase-mint {
  --uc-color: #00bfa7;
  --uc-soft: #e5fbf5;
  --uc-bg: #defaf4;
}

/* ---------------------------
   カード本体
--------------------------- */

.hm-usecase .hm-usecase-card {
  box-sizing: border-box;
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(21, 70, 130, .045);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.hm-usecase .hm-usecase-card:hover {
  transform: translateY(-3px);
  border-color: #cae0f4;
  box-shadow: 0 9px 25px rgba(22, 85, 145, .11);
}

.hm-usecase .hm-usecase-card[open] {
  border-color: var(--uc-color);
  box-shadow: 0 5px 20px rgba(20, 80, 140, .1);
}

/* ---------------------------
   カードクリック部分
--------------------------- */

.hm-usecase .hm-usecase-summary {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 140px;
  min-height: 120px;
  padding: 12px 12px 14px;
  overflow: hidden;
  background: #fff;
  list-style: none;
  cursor: pointer;
}

.hm-usecase .hm-usecase-summary::-webkit-details-marker {
  display: none;
}

.hm-usecase .hm-usecase-summary::marker {
  content: "";
}

.hm-usecase .hm-usecase-summary:focus-visible {
  outline: 3px solid var(--uc-color);
  outline-offset: -3px;
}

/* ---------------------------
   カード上部のイラスト
--------------------------- */

.hm-usecase .hm-usecase-visual {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 78%;
  height: 68px;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    var(--uc-bg)
  );
  -webkit-mask-image: linear-gradient(
    90deg, transparent 0%, black 35%
  );
  mask-image: linear-gradient(
    90deg, transparent 0%, black 35%
  );
}

.hm-usecase .hm-usecase-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 画像が未登録の場合 */
.hm-usecase .hm-usecase-visual-fallback {
  position: absolute;
  right: -14px;
  top: -25px;
  display: block;
  width: 125px;
  height: 100px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 45%,
      var(--uc-color) 0 8px,
      transparent 9px),
    radial-gradient(circle at 70% 30%,
      var(--uc-color) 0 13px,
      transparent 14px),
    radial-gradient(circle at 55% 80%,
      var(--uc-color) 0 18px,
      transparent 19px);
  opacity: .17;
  filter: blur(2px);
}

/* ---------------------------
   左上アイコン
--------------------------- */

.hm-usecase .hm-usecase-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  padding: 0;
  border-radius: 50%;
  background: var(--uc-soft);
  color: var(--uc-color);
}

.hm-usecase .hm-usecase-icon svg {
  display: block;
  width: 23px;
  height: 23px;
}

/* ---------------------------
   タイトル・件数
--------------------------- */

.hm-usecase .hm-usecase-title-line {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  width: 100%;
  margin: 22px 0 4px;
  padding: 0 13px 0 0;
}

.hm-usecase .hm-usecase-title {
  margin: 0;
  padding: 0;
  color: var(--uc-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hm-usecase .hm-usecase-count {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--uc-color);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------------------------
   説明文
--------------------------- */

.hm-usecase .hm-usecase-question {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  margin: 0;
  padding: 0 24px 0 0;
  color: #607b9c;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: anywhere;
}

/* ---------------------------
   右下の矢印
--------------------------- */

.hm-usecase .hm-usecase-arrow {
  position: absolute;
  z-index: 3;
  right: 11px;
  bottom: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--uc-soft);
  color: var(--uc-color);
  transition: transform .2s ease;
}

.hm-usecase .hm-usecase-card:hover .hm-usecase-arrow {
  transform: translateX(3px);
}

.hm-usecase .hm-usecase-card[open] .hm-usecase-arrow {
  transform: rotate(90deg);
}

/* ---------------------------
   展開される関連サービス
--------------------------- */

.hm-usecase .hm-usecase-details {
  padding: 12px 13px 16px;
  border-top: 1px solid #e8eff7;
  background: #fff;
}

.hm-usecase .hm-usecase-details-label {
  margin: 0 0 10px;
  color: var(--uc-navy);
  font-size: 11px;
  font-weight: 800;
}

.hm-usecase .hm-usecase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}

.hm-usecase .hm-usecase-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid #e0eaf5;
  border-radius: 7px;
  background: #f7faff;
  color: #27618c;
  font-size: 11px;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background .2s, color .2s;
}

.hm-usecase .hm-usecase-chip:hover {
  background: var(--uc-soft);
  color: var(--uc-color);
}

/* ---------------------------
   レスポンシブ
--------------------------- */

/* タブレット */
@media (max-width: 1024px) {
  .hm-usecase .hm-usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-usecase .hm-usecase-summary {
    height: 135px;
    min-height: 135px;
  }

  .hm-usecase .hm-usecase-title {
    font-size: 13px;
  }

  .hm-usecase .hm-usecase-question {
    font-size: 11px;
  }
}

/* スマートフォン */
@media (max-width: 600px) {
  .hm-usecase {
    padding-top: 35px;
    padding-bottom: 40px;
  }

  .hm-usecase .hm-usecase-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .hm-usecase .hm-usecase-head h2 {
    font-size: 26px;
  }

  .hm-usecase .hm-usecase-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .hm-usecase .hm-usecase-summary {
    height: 140px;
    min-height: 140px;
    padding: 14px;
  }

  .hm-usecase .hm-usecase-visual {
    height: 85px;
  }

  .hm-usecase .hm-usecase-icon {
    width: 43px;
    height: 43px;
  }

  .hm-usecase .hm-usecase-title {
    font-size: 14px;
  }

  .hm-usecase .hm-usecase-count {
    font-size: 11px;
  }

  .hm-usecase .hm-usecase-question {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-usecase .hm-usecase-card,
  .hm-usecase .hm-usecase-arrow,
  .hm-usecase .hm-usecase-view-all {
    transition: none;
  }
}

/* ===================================================
   USE CASE：カードのポップアップ表示
   =================================================== */

/* カードをbutton化したことによる表示差を解消 */
.hm-usecase .hm-usecase-card > .hm-usecase-summary {
  appearance: none;
  border: none;
  border-radius: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

/* カードを開いても高さを変えない */
.hm-usecase .hm-usecase-card {
  align-self: start;
}

/* --------------------------
   ポップアップ全体
-------------------------- */

.hm-purpose-modal {
  --uc-color: #168df4;
  --uc-soft: #eaf4ff;

  position: fixed;
  box-sizing: border-box;
  width: min(600px, calc(100% - 32px));
  max-width: 600px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;

  border: 1px solid #e0eaf5;
  border-radius: 10px;
  background: #fff;
  color: #102949;

  box-shadow: 0 24px 80px rgba(8, 39, 80, .22);
}

/* dialogの表示・非表示をブラウザ標準動作に任せる */
.hm-purpose-modal:not([open]) {
  display: none;
}

.hm-purpose-modal[open] {
  display: block;
  animation: purposeModalAppear .22s ease-out;
}

/* 背景を暗くする */
.hm-purpose-modal::backdrop {
  background: rgba(9, 29, 55, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* 開くときのアニメーション */
@keyframes purposeModalAppear {
  from {
    opacity: 0;
    transform: translateY(15px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --------------------------
   ポップアップ内部
-------------------------- */

.hm-purpose-modal-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  min-height: 0;
}

/* ヘッダー */
.hm-purpose-modal-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;

  padding: 29px 32px 23px;
  background: linear-gradient(
    125deg,
    #fff 20%,
    var(--uc-soft) 140%
  );

  border-bottom: 1px solid #edf2f8;
}

.hm-purpose-modal-heading {
  flex: 1;
  min-width: 0;
}

.hm-purpose-modal-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--uc-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.hm-purpose-modal-heading h2 {
  margin: 0 0 11px;
  color: #102949;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.03em;
}

.hm-purpose-modal-description {
  margin: 0;
  color: #657d9a;
  font-size: 13px;
  line-height: 1.75;
}

/* 右上の閉じるボタン */
.hm-purpose-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 36px;
  height: 36px;
  padding: 0;

  border: 1px solid #e4edf7;
  border-radius: 50%;
  background: #fff;
  color: #58718d;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;
  transition:
    background .2s,
    color .2s,
    transform .2s;
}

.hm-purpose-modal-close:hover {
  background: #f0f6fc;
  color: #163b66;
  transform: rotate(90deg);
}

/* --------------------------
   関連サービス一覧
-------------------------- */

.hm-purpose-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 32px 30px;
}

.hm-purpose-modal-section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.hm-purpose-modal-section-title h3 {
  margin: 0;
  color: #102949;
  font-size: 15px;
  font-weight: 800;
}

.hm-purpose-modal-section-title > span {
  color: var(--uc-color);
  font-size: 12px;
  font-weight: 700;
}

/* リンクの並び */
.hm-purpose-modal-services {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

/* 個別のサービス */
.hm-purpose-modal-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  min-width: 0;
  padding: 14px 17px;

  border: 1px solid #e2ebf5;
  border-radius: 5px;
  background: #f9fbfe;

  color: #174e7b;
  text-decoration: none;
  transition:
    border-color .2s,
    background .2s,
    transform .2s;
}

.hm-purpose-modal-service:hover {
  background: var(--uc-soft);
  border-color: var(--uc-color);
  transform: translateX(3px);
}

.hm-purpose-modal-service-name {
  min-width: 0;
  color: #174e7b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.hm-purpose-modal-service-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 26px;
  height: 26px;

  border-radius: 50%;
  background: #eaf3fc;
  color: #1689de;
  font-size: 16px;
}

.hm-purpose-modal-service:hover
.hm-purpose-modal-service-arrow {
  background: #fff;
  color: var(--uc-color);
}

/* --------------------------
   フッター
-------------------------- */

.hm-purpose-modal-footer {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;

  padding: 16px 32px;
  border-top: 1px solid #edf2f8;
  background: #fff;
}

.hm-purpose-modal-back {
  padding: 4px 27px;
  border: 1px solid #dbe7f4;
  border-radius: 5px;
  background: #f5f9fe;
  color: #426181;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 700;
  cursor: pointer;
}

.hm-purpose-modal-back:hover {
  background: #eaf3fc;
}

/* キーボード操作 */
.hm-purpose-modal button:focus-visible,
.hm-purpose-modal a:focus-visible {
  outline: 3px solid var(--uc-color);
  outline-offset: 3px;
}

/* --------------------------
   スマートフォン対応
-------------------------- */

@media (max-width: 600px) {

  .hm-purpose-modal {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 16px;
  }

  .hm-purpose-modal-inner {
    max-height: calc(100dvh - 24px);
  }

  .hm-purpose-modal-header {
    padding: 22px 20px 19px;
    gap: 12px;
  }

  .hm-purpose-modal-heading h2 {
    font-size: 19px;
  }

  .hm-purpose-modal-description {
    font-size: 12px;
  }

  .hm-purpose-modal-close {
    width: 32px;
    height: 32px;
  }

  .hm-purpose-modal-body {
    padding: 19px 20px 24px;
  }

  .hm-purpose-modal-service {
    padding: 12px;
  }

  .hm-purpose-modal-service-name {
    font-size: 12px;
  }

  .hm-purpose-modal-footer {
    padding: 13px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-purpose-modal[open] {
    animation: none;
  }

  .hm-purpose-modal-close,
  .hm-purpose-modal-service {
    transition: none;
  }
}
/* ======================================================
   会社名からサービスを探す v2
====================================================== */

.hm-company-search-v2 {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
}

.hm-company-search-v2 .hm-company-search-shell {
  position: relative;
  overflow: hidden;
  padding: 14px 0 22px;
}

.hm-company-search-v2 .hm-company-search-shell::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -90px;
  width: 220px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(220, 241, 255, .75), rgba(240, 249, 255, 0));
  z-index: 0;
}

.hm-company-search-v2 .hm-company-search-copy,
.hm-company-search-v2 .hm-company-search-hero,
.hm-company-search-v2 .hm-company-search-visual,
.hm-company-search-v2 .hm-company-search-dot {
  position: relative;
  z-index: 1;
}

.hm-company-search-v2 .hm-company-search-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #36a1ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hm-company-search-v2 h2 {
  margin: 0;
  color: #13284b;
  font-size: clamp(30px, 4vw, 33px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.hm-company-search-v2 h2 span {
  color: #1b8df0;
}

.hm-company-search-v2 .hm-company-search-lead {
  margin: 5px 0 0;
  color: #637992;
  font-size: 14px;
  line-height: 1.8;
}

.hm-company-search-v2 .hm-company-search-hero {
  margin-top: 24px;
  padding-right: 220px;
}

.hm-company-search-v2 .hm-company-search-form-wrap {
  max-width: 760px;
}

.hm-company-search-v2 .hm-company-search-form {
  display: grid;
  grid-template-columns: 58px auto 1fr auto;
  align-items: center;
  gap: 0;
  padding: 0px 8px 1px 0;
  border: 1px solid #d9e6f5;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(28, 89, 146, .06);
}

.hm-company-search-v2 .hm-company-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: #6f8fb4;
}

.hm-company-search-v2 .hm-company-search-icon svg {
  width: 24px;
  height: 24px;
}

.hm-company-search-v2 .hm-company-search-label-text {
  padding-right: 18px;
  color: #8da1b8;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.hm-company-search-v2 #company-q {
  min-width: 0;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #17304f;
  font-size: 15px;
  line-height: 1.4;
  padding: 0 18px 0 0;
}

.hm-company-search-v2 #company-q::placeholder {
  color: #9aa9ba;
}

.hm-company-search-v2 .hm-company-search-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(180deg, #31a3ff, #157de8);
  color: #fff;
  font-size: 15px;
  font-weight: normal;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(22, 125, 232, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hm-company-search-v2 .hm-company-search-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(22, 125, 232, .28);
}

.hm-company-search-v2 .hm-company-search-submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hm-company-search-v2 .hm-company-search-submit-icon svg {
  width: 18px;
  height: 18px;
}

.hm-company-search-v2 .hm-company-search-submit-arrow {
  font-size: 18px;
  line-height: 1;
}

.hm-company-search-v2 .hm-company-search-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  max-width: 760px;
}

.hm-company-search-v2 .hm-company-search-help {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #7d8fa6;
  font-size: 13px;
  line-height: 1.7;
}

.hm-company-search-v2 .hm-company-search-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8aa0ba;
}

.hm-company-search-v2 .hm-company-search-help-icon svg {
  width: 16px;
  height: 16px;
}

.hm-company-search-v2 .hm-company-search-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2b87ea;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.hm-company-search-v2 .hm-company-search-all:hover {
  text-decoration: underline;
}

.hm-company-search-v2 .hm-company-search-visual {
  position: absolute;
  right: 10px;
  top: 18px;
  width: 303px;
  height: 232px;
  pointer-events: none;
}

.hm-company-search-v2 .hm-company-search-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hm-company-search-v2 .hm-company-search-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: .75;
  pointer-events: none;
}

.hm-company-search-v2 .hm-company-search-dot-a {
  right: 230px;
  top: 60px;
  width: 16px;
  height: 16px;
  background: #8fb6ff;
}

.hm-company-search-v2 .hm-company-search-dot-b {
  right: 292px;
  top: 98px;
  width: 14px;
  height: 14px;
  background: #9fe1cd;
}

.hm-company-search-v2 .hm-company-search-dot-c {
  right: 232px;
  bottom: 28px;
  width: 26px;
  height: 26px;
  background: rgba(168, 171, 255, .6);
}

.hm-company-search-v2 .hm-company-search-dot-d {
  right: 84px;
  bottom: -8px;
  width: 94px;
  height: 94px;
  background: radial-gradient(circle, rgba(188, 241, 225, .9), rgba(188, 241, 225, .2));
}

/* フォーカス */
.hm-company-search-v2 #company-q:focus,
.hm-company-search-v2 .hm-company-search-submit:focus-visible,
.hm-company-search-v2 .hm-company-search-all:focus-visible {
  outline: none;
}

.hm-company-search-v2 .hm-company-search-form:focus-within {
  border-color: #91c3f5;
  box-shadow: 0 10px 24px rgba(28, 89, 146, .09);
}

/* タブレット */
@media (max-width: 1024px) {
  .hm-company-search-v2 .hm-company-search-hero {
    padding-right: 0;
  }

  .hm-company-search-v2 .hm-company-search-visual {
    opacity: .35;
    right: -10px;
    top: 10px;
  }
}

/* スマホ */
@media (max-width: 640px) {
  .hm-company-search-v2 {
    padding-top: 18px;
    padding-bottom: 34px;
  }

  .hm-company-search-v2 .hm-company-search-shell {
    padding: 4px 0 10px;
  }

  .hm-company-search-v2 h2 {
    font-size: 28px;
  }

  .hm-company-search-v2 .hm-company-search-lead {
    font-size: 13px;
  }

  .hm-company-search-v2 .hm-company-search-hero {
    margin-top: 18px;
  }

  .hm-company-search-v2 .hm-company-search-form {
    grid-template-columns: 48px 1fr;
    gap: 8px 0;
    padding: 12px;
    border-radius: 18px;
  }

  .hm-company-search-v2 .hm-company-search-icon {
    width: 48px;
    height: 40px;
  }

  .hm-company-search-v2 .hm-company-search-label-text {
    display: none;
  }

  .hm-company-search-v2 #company-q {
    grid-column: 2 / 3;
    padding: 0 0 0 4px;
    min-height: 40px;
  }

  .hm-company-search-v2 .hm-company-search-submit {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    height: 46px;
    border-radius: 14px;
  }

  .hm-company-search-v2 .hm-company-search-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hm-company-search-v2 .hm-company-search-visual {
    display: none;
  }

  .hm-company-search-v2 .hm-company-search-dot-a,
  .hm-company-search-v2 .hm-company-search-dot-b,
  .hm-company-search-v2 .hm-company-search-dot-c,
  .hm-company-search-v2 .hm-company-search-dot-d {
    display: none;
  }
}
/* =========================================
   受託解析Quickでできること（画像切り替え版）
========================================= */

.hm-about-visual {
  padding-top: 36px;
  padding-bottom: 56px;
}

.hm-about-visual-inner {
  position: relative;
}

.hm-about-visual-head {
  max-width: 1150px;
  margin: 0 auto;
  margin-bottom: -12px;
  z-index: 2;
  position: relative;
}

.hm-about-visual-head h2 {
  margin: 0;
  color: #12284b;
  font-size: clamp(30px, 4vw, 33px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.hm-about-search-label{
  display: inline-block;
  margin-bottom: 8px;
  color: #36a1ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hm-about-visual-head h2 span{
  color: #1b8df0;
}

.hm-about-visual-figure {
  margin: 0;
}

.hm-about-visual-figure picture {
  display: block;
}

.hm-about-visual-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* PCでは少し大きめに余白を確保 */
@media (min-width: 768px) {
  .hm-about-visual {
    padding-top: 44px;
    padding-bottom: 68px;
  }

  .hm-about-visual-head {
    margin-bottom: -16px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .hm-about-visual {
    padding-top: 28px;
    padding-bottom: 42px;
  }
  .hm-about-visual-figure {
    width: calc(100% + 36px);
    overflow: hidden;
    margin-left: -20px;
  }

  .hm-about-visual-figure picture{
    margin: 0 -50px 0 -16px;
  }

  .hm-about-visual-head {
    margin-bottom: 18px;
  }

  .hm-about-visual-head h2 {
    font-size: 32px;
    line-height: 1.25;
  }
}

/* ===================================================
   ご利用の流れ：3ステップ v2
   =================================================== */

   .hm-steps-v2 {
    position: relative;
    overflow: hidden;
    padding: 64px 0 76px;
    background:
      radial-gradient(ellipse at 51% 49%,
        rgba(214, 252, 239, .45),
        transparent 32%),
      linear-gradient(180deg, #f7fcff, #ffffff);
    isolation: isolate;
  }
  
  .hm-steps-v2::before {
    content: "";
    position: absolute;
    width: 65%;
    height: 280px;
    top: -160px;
    right: -10%;
    border-radius: 50%;
    background: rgba(216, 239, 255, .4);
    z-index: -1;
    pointer-events: none;
  }
  
  .hm-steps-v2-inner {
    position: relative;
  }
  
  /* 見出し */
  .hm-steps-v2-heading {
    margin-bottom: 38px;
  }

  .hm-steps-label{
    display: inline-block;
    color: #36a1ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
  }
  
  .hm-steps-v2-heading h2 {
    margin: 0;
    color: #10284a;
    font-size: clamp(26px, 3vw, 33px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.045em;
    margin-top: -10px;
  }
  
  .hm-steps-v2-heading-accent {
    white-space: nowrap;
  }
  
  .hm-steps-v2-heading h2 em {
    color: #168cef;
    font-size: 1.55em;
    font-style: normal;
    font-weight: 600;
    display: inline-block;
    margin: 0 5px;
  }
  
  .hm-steps-v2-heading p {
    margin: 11px 0 0;
    color: #6a83a0;
    font-size: 13px;
    line-height: 1.7;
  }
  
  /* 3列の流れ */
  .hm-steps-v2-flow {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr) 36px
      minmax(0, 1fr) 36px
      minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }
  
  /* 共通ステップ */
  .hm-steps-v2-item {
    --step-color: #168df4;
    --step-soft: #e9f5ff;
    --step-glow: rgba(120, 200, 255, .2);
  
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px 0 18px;
  }
  
  /* ステップごとの色 */
  .hm-steps-v2-blue {
    --step-color: #168df4;
    --step-soft: #e7f4ff;
    --step-glow: rgba(110, 191, 255, .22);
  }
  
  .hm-steps-v2-green {
    --step-color: #03bba6;
    --step-soft: #e5faf4;
    --step-glow: rgba(87, 230, 190, .23);
  }
  
  .hm-steps-v2-orange {
    --step-color: #ff951b;
    --step-soft: #fff3e1;
    --step-glow: rgba(255, 193, 112, .22);
  }
  
  /* 番号とタイトル */
  .hm-steps-v2-top {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 100px;
    padding: 0 3px;
  }
  
  .hm-steps-v2-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: var(--step-soft);
    color: var(--step-color);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.04em;
  }
  
  .hm-steps-v2-title {
    flex: 1;
    min-width: 0;
    padding-top: 5px;
  }
  
  .hm-steps-v2-title h3 {
    margin: 0 0 9px;
    color: #102b4f;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
  }
  
  .hm-steps-v2-title p {
    margin: 0;
    color: #607b9a;
    font-size: 12px;
    line-height: 1.75;
  }
  
  /* イラスト部分 */
  .hm-steps-v2-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 225px;
    margin: 9px 0 14px;
    border-radius: 44% 56% 51% 49% / 44% 40% 60% 56%;
    background:
      radial-gradient(ellipse at center,
        var(--step-glow),
        rgba(255,255,255,0) 73%);
  }
  
  .hm-steps-v2-image {
    position: relative;
    display: block;
    width: 100%;
    max-width: 300px;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 15px rgba(30, 100, 170, .08));
  }
  
  /* 特徴のラベル */
  .hm-steps-v2-benefits {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
  }
  
  .hm-steps-v2-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    min-height: 38px;
    box-sizing: border-box;
    padding: 8px 15px;
    border-radius: 30px;
    background: var(--step-soft);
    color: #17618f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
  }
  
  .hm-steps-v2-benefit-icon {
    color: var(--step-color);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
  }
  
  /* ステップ間の矢印 */
  .hm-steps-v2-connector {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 225px;
    margin-top: 120px;
    color: #33b5f5;
  }
  
  .hm-steps-v2-connector svg {
    width: 100%;
    min-width: 0;
    height: 60px;
    overflow: visible;
  }
  
  /* PCで少し変化をつける */
  @media (min-width: 1025px) {
    .hm-steps-v2-green {

    }
  
    .hm-steps-v2-green + .hm-steps-v2-connector {
      margin-top: 140px;
    }
  }
  
  /* タブレット */
  @media (max-width: 1024px) {
    .hm-steps-v2 {
      padding: 48px 0 60px;
    }
  
    .hm-steps-v2-flow {
      grid-template-columns:
        minmax(0, 1fr) 20px
        minmax(0, 1fr) 20px
        minmax(0, 1fr);
      gap: 5px;
    }
  
    .hm-steps-v2-top {
      flex-direction: column;
      gap: 8px;
      min-height: 150px;
    }
  
    .hm-steps-v2-visual {
      height: 180px;
    }
  
    .hm-steps-v2-connector {
      margin-top: 160px;
      height: 180px;
    }
  
    .hm-steps-v2-title h3 {
      font-size: 15px;
    }
  
    .hm-steps-v2-benefits li {
      padding: 8px 10px;
      font-size: 11px;
    }
    .hm-steps-v2-heading h2 {
      margin-top: 0px;
    }
  }
  
  /* スマートフォン */
  @media (max-width: 640px) {
    .hm-steps-v2 {
      padding: 35px 0 45px;
    }
  
    .hm-steps-v2-heading {
      margin-bottom: 24px;
    }
  
    .hm-steps-v2-heading h2 {
      font-size: 25px;
    }
  
    .hm-steps-v2-heading p {
      font-size: 12px;
    }
  
    .hm-steps-v2-flow {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
  
    .hm-steps-v2-item {
      width: 100%;
      padding: 14px 0 18px;
    }
  
    .hm-steps-v2-top {
      flex-direction: row;
      min-height: 0;
      gap: 13px;
    }
  
    .hm-steps-v2-number {
      width: 47px;
      height: 47px;
      font-size: 19px;
    }
  
    .hm-steps-v2-title h3 {
      font-size: 17px;
    }
  
    .hm-steps-v2-title p {
      font-size: 12px;
    }
  
    .hm-steps-v2-visual {
      height: 210px;
      margin: 8px 0 15px;
    }
  
    .hm-steps-v2-image {
      max-width: 310px;
    }
  
    .hm-steps-v2-benefits {
      gap: 8px;
      padding-left: 10px;
    }
  
    .hm-steps-v2-benefits li {
      font-size: 12px;
      min-height: 36px;
    }
  
    .hm-steps-v2-connector {
      align-self: center;
      width: 50px;
      height: 45px;
      margin: 0;
      transform: rotate(90deg);
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .hm-steps-v2 * {
      scroll-behavior: auto;
    }
  }
  
/* ==========================================
   3 STEP v3
   PC横長画像 + スマホ個別画像
========================================== */

.hm-steps-v3 {
  padding: 64px 0 75px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fcff, #fff);
}

.hm-steps-v3-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* 見出し */
.hm-steps-v3-heading {
  margin-bottom: 32px;
}

.hm-steps-v3-label {
  display: block;
  color: #178cf0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

.hm-steps-v3-heading h2 {
  margin: 0;
  color: #10284a;
  font-size: clamp(25px, 3vw, 33px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.04em;
  margin-top: -10px;
}

.hm-steps-v3-heading-accent em {
  color: #168cef;
  font-size: 1.55em;
  font-style: normal;
  font-weight: 600;
  display: inline-block;
  margin: 0 5px;
}

.hm-steps-v3-heading p {
  margin: 10px 0 0;
  color: #6a83a0;
  font-size: 13px;
  line-height: 1.7;
}

/* PC用 */
.hm-steps-v3-pc {
  display: block;
}

.hm-steps-v3-mobile {
  display: none;
}

/* 各ステップのタイトル */
.hm-steps-v3-titles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hm-steps-v3-title {
  --step-color: #168df4;
  --step-soft: #eaf5ff;
}

.hm-steps-v3-blue {
  --step-color: #168df4;
  --step-soft: #eaf5ff;
}

.hm-steps-v3-green {
  --step-color: #00bda4;
  --step-soft: #e5faf4;
}

.hm-steps-v3-orange {
  --step-color: #ff951b;
  --step-soft: #fff3e2;
}

.hm-steps-v3-title-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hm-steps-v3-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: var(--step-soft);
  color: var(--step-color);
  font-size: 20px;
  font-weight: 900;
}

.hm-steps-v3-title h3 {
  margin: 0;
  color: #10284a;
  font-size: 19px;
  font-weight: 800;
}

.hm-steps-v3-title p {
  margin: 10px 0 0;
  color: #617d9a;
  font-size: 12px;
  line-height: 1.75;
}

/* 横長イラスト */
.hm-steps-v3-main-image {
  width: 100%;
  margin: 16px 0 20px;
}

.hm-steps-v3-wide-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* メリット */
.hm-steps-v3-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hm-steps-v3-benefits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-steps-v3-benefits li {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 9px 15px;
  border-radius: 30px;
  background: var(--step-soft);
  color: #17618f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

/* スマホ表示 */
@media (max-width: 767px) {
  .hm-steps-v3 {
    padding: 38px 0 48px;
  }

  .hm-steps-v3-heading {
    margin-bottom: 25px;
  }

  .hm-steps-v3-heading h2 {
    font-size: 26px;
  }

  .hm-steps-v3-heading p {
    font-size: 12px;
  }

  .hm-steps-v3-pc {
    display: none;
  }

  .hm-steps-v3-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hm-steps-v3-heading h2 {
    margin-top: 0px;
  }

  .hm-steps-v3-mobile-item {
    padding: 12px 0 22px;
  }

  .hm-steps-v3-mobile-head {
    display: flex;
    align-items: flex-start;
    gap: 13px;
  }

  .hm-steps-v3-mobile-head h3 {
    margin: 3px 0 8px;
    color: #10284a;
    font-size: 18px;
    font-weight: 800;
  }

  .hm-steps-v3-mobile-head p {
    margin: 0;
    color: #617d9a;
    font-size: 12px;
    line-height: 1.75;
  }

  .hm-steps-v3-mobile-image {
    margin: 12px 0;
  }

  .hm-steps-v3-mobile-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .hm-steps-v3-mobile-item .hm-steps-v3-benefits {
    padding-left: 6px;
  }

  .hm-steps-v3-mobile-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    color: #2ca9ee;
    font-size: 27px;
    font-weight: 700;
  }
}

/* ================================================
   FOOTER v3
   PNG背景 + 個別アイコン + 新ロゴ
================================================ */

.hm-footer-v3 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 340px;
  padding: 72px 0 95px;
  box-sizing: border-box;

  background-color: #f8fcff;
  background-image: url("/assets/footer/footer_bg-809eabf6.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  color: #12294b;
}

/* フッター全体の配置 */
.hm-footer-v3 .hm-footer-v3-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(210px, 1.05fr)
    minmax(0, 1.95fr)
    minmax(240px, .95fr);
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ================================================
   ブランドエリア
================================================ */

.hm-footer-v3 .hm-footer-v3-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-right: 22px;
}

.hm-footer-v3 .hm-footer-v3-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
}

.hm-footer-v3 .hm-footer-v3-logo {
  display: block;
  width: min(100%, 265px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: white;
  border-radius: 50px;
  padding: 5px 15px;
}

.hm-footer-v3 .hm-footer-v3-tagline {
  margin: 10px 0 0;
  color: #163353;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .015em;
}

.hm-footer-v3 .hm-footer-v3-operator {
  margin: 29px 0 0;
  color: #7187a1;
  font-size: 12px;
  line-height: 1.6;
}

/* ================================================
   中央ナビゲーション
================================================ */

.hm-footer-v3 .hm-footer-v3-nav {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
}

.hm-footer-v3 .hm-footer-v3-linkcol {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 4px 19px;
  border-left: 1px solid #d9e9f8;
}

/* 各リンク */
.hm-footer-v3 .hm-footer-v3-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 4px 0;
  color: #173455;
  text-decoration: none;
  transition:
    color .2s ease,
    transform .2s ease;
}

.hm-footer-v3 .hm-footer-v3-link:hover {
  color: #078aeb;
  transform: translateX(3px);
}

/* 丸い画像アイコン */
.hm-footer-v3 .hm-footer-v3-icon {
  display: block;
  flex-shrink: 0;
  width: 47px;
  height: 47px;
  object-fit: contain;
  border-radius: 50%;
}

.hm-footer-v3 .hm-footer-v3-link-label {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* 右側の矢印 */
.hm-footer-v3 .hm-footer-v3-chevron {
  flex-shrink: 0;
  margin-left: auto;
  color: #188ff0;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}

.hm-footer-v3 a:hover .hm-footer-v3-chevron {
  transform: translateX(4px);
}

/* ================================================
   右側のボタン
================================================ */

.hm-footer-v3 .hm-footer-v3-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
  padding-left: 20px;
  border-left: 1px solid #d9e9f8;
}

.hm-footer-v3 .hm-footer-v3-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  box-sizing: border-box;
  padding: 9px 14px;
  border-radius: 40px;

  color: #0976cc;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.hm-footer-v3 .hm-footer-v3-action:hover {
  transform: translateY(-3px);
}

/* 受託会社ログイン */
.hm-footer-v3 .hm-footer-v3-action-blue {
  background: linear-gradient(
    100deg,
    rgba(222, 241, 255, .96),
    rgba(198, 228, 255, .82)
  );
  box-shadow: 0 5px 20px rgba(38, 126, 205, .09);
}

.hm-footer-v3 .hm-footer-v3-action-blue:hover {
  background: #d4eaff;
  box-shadow: 0 8px 22px rgba(38, 126, 205, .16);
}

/* お問い合わせ */
.hm-footer-v3 .hm-footer-v3-action-white {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 5px 22px rgba(33, 98, 161, .10);
}

.hm-footer-v3 .hm-footer-v3-action-white:hover {
  background: #fff;
  box-shadow: 0 8px 25px rgba(33, 98, 161, .16);
}

.hm-footer-v3 .hm-footer-v3-action-icon {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}

.hm-footer-v3 .hm-footer-v3-action-label {
  flex: 1;
  min-width: 0;
}

/* キーボード操作 */
.hm-footer-v3 a:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 4px;
  border-radius: 8px;
}

/* ================================================
   小さめのPC・タブレット
================================================ */

@media (max-width: 1150px) {

  .hm-footer-v3 {
    padding: 58px 0 82px;
  }

  .hm-footer-v3 .hm-footer-v3-inner {
    grid-template-columns:
      minmax(190px, .9fr)
      minmax(0, 1.8fr);
    gap: 28px;
  }

  .hm-footer-v3 .hm-footer-v3-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid #d9e9f8;
  }

  .hm-footer-v3 .hm-footer-v3-logo {
    width: min(100%, 235px);
  }
}

/* ================================================
   スマートフォン
================================================ */

@media (max-width: 767px) {

  .hm-footer-v3 {
    min-height: 0;
    padding: 45px 0 75px;
    background-position: center bottom;
    background-size: cover;
  }

  .hm-footer-v3 .hm-footer-v3-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  /* ブランド */
  .hm-footer-v3 .hm-footer-v3-brand {
    align-items: center;
    padding: 0;
    text-align: center;
  }

  .hm-footer-v3 .hm-footer-v3-logo {
    width: min(75vw, 255px);
  }

  .hm-footer-v3 .hm-footer-v3-tagline {
    margin-top: 5px;
    font-size: 14px;
  }

  .hm-footer-v3 .hm-footer-v3-operator {
    margin-top: 13px;
    font-size: 11px;
  }

  /* ナビゲーション */
  .hm-footer-v3 .hm-footer-v3-nav {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid #e0edf9;
    border-bottom: 1px solid #e0edf9;
  }

  .hm-footer-v3 .hm-footer-v3-linkcol {
    gap: 0;
    padding: 0;
    border-left: none;
  }

  .hm-footer-v3 .hm-footer-v3-link {
    min-height: 55px;
    padding: 6px 5px;
    gap: 12px;
    border-bottom: 1px solid rgba(215, 232, 248, .65);
  }

  .hm-footer-v3 .hm-footer-v3-linkcol:last-child
  .hm-footer-v3-link:last-child {
    border-bottom: none;
  }

  .hm-footer-v3 .hm-footer-v3-icon {
    width: 41px;
    height: 41px;
  }

  .hm-footer-v3 .hm-footer-v3-link-label {
    font-size: 13px;
  }

  /* アクション */
  .hm-footer-v3 .hm-footer-v3-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: none;
  }

  .hm-footer-v3 .hm-footer-v3-action {
    min-height: 60px;
    padding: 9px 16px;
    font-size: 13px;
  }

  .hm-footer-v3 .hm-footer-v3-action-icon {
    width: 39px;
    height: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-footer-v3 .hm-footer-v3-link,
  .hm-footer-v3 .hm-footer-v3-action,
  .hm-footer-v3 .hm-footer-v3-chevron {
    transition: none;
  }
}

/* ==========================================
   トップへ戻るボタン
========================================== */

/* ページ内リンクを滑らかにスクロール */
html {
  scroll-behavior: smooth;
}

/* 画面右下に固定表示 */
.hm-back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;
  padding: 0;

  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.hm-back-to-top-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* マウスを重ねたとき */
.hm-back-to-top:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 6px 12px rgba(20, 115, 220, 0.25));
}

/* クリックした瞬間 */
.hm-back-to-top:active {
  transform: scale(0.94);
}

/* キーボード操作 */
.hm-back-to-top:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 4px;
}

/* スマートフォン */
@media (max-width: 767px) {
  .hm-back-to-top {
    width: 52px;
    height: 52px;
    right: 15px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

/* 動きを減らす設定のユーザーには配慮 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hm-back-to-top {
    transition: none;
  }
}

/* ==================================================
   SERVICE MODAL
   サービスから探す：中央ポップアップ
================================================== */

/* モーダルが閉じているとき */
.hm-service-modal:not([open]) {
  display: none !important;
}

/* モーダル本体 */
.hm-service-modal {
  --sm-accent: #168bea;
  --sm-soft: #eaf5ff;

  position: fixed;
  box-sizing: border-box;
  width: min(1100px, calc(100vw - 48px));
  max-width: 1100px;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  overflow: hidden;

  border: 1px solid #dceaf8;
  border-radius: 10px;
  background: #fff;
  color: #122b4e;

  box-shadow:
    0 30px 100px rgba(9, 39, 80, .22);
}

/* 各カテゴリのアクセントカラー */
.hm-service-modal-tone-0 {
  --sm-accent: #168bea;
  --sm-soft: #eaf5ff;
}

.hm-service-modal-tone-1 {
  --sm-accent: #7851ef;
  --sm-soft: #f2efff;
}

.hm-service-modal-tone-2 {
  --sm-accent: #0ab69b;
  --sm-soft: #e7faf5;
}

.hm-service-modal-tone-3 {
  --sm-accent: #a35de8;
  --sm-soft: #f5eeff;
}

.hm-service-modal-tone-4 {
  --sm-accent: #f28b30;
  --sm-soft: #fff3e9;
}

.hm-service-modal-tone-5 {
  --sm-accent: #0aadc5;
  --sm-soft: #e9faff;
}

/* 暗い背景 */
.hm-service-modal::backdrop {
  background: rgba(7, 25, 52, .58);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* 開いたときのアニメーション */
.hm-service-modal[open] {
  animation: smModalIn .23s ease-out;
}

@keyframes smModalIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* モーダル内部レイアウト */
.hm-service-modal-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(100dvh - 48px);
  min-height: 0;
}

/* =========================
   ヘッダー
========================= */

.hm-service-modal-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;

  padding: 30px 36px 25px;

  background:
    radial-gradient(
      ellipse at 95% 0,
      var(--sm-soft),
      transparent 55%
    ),
    #fff;

  border-bottom: 1px solid #e8f0f9;
}

.hm-service-modal-header-text {
  flex: 1;
  min-width: 0;
}

.hm-service-modal-eyebrow {
  display: block;
  margin-bottom: 10px;

  color: var(--sm-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.hm-service-modal-header h2 {
  margin: 0;
  color: #10284a;
  font-size: clamp(21px, 2.5vw, 29px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.035em;
}

.hm-service-modal-header p {
  margin: 9px 0 0;
  color: #6c83a0;
  font-size: 13px;
  line-height: 1.7;
}

/* 閉じるボタン */
.hm-service-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 40px;
  height: 40px;
  padding: 0;

  border: 1px solid #dfeaf5;
  border-radius: 50%;
  background: #fff;
  color: #65809c;

  cursor: pointer;
  transition:
    background .2s,
    color .2s,
    transform .2s;
}

.hm-service-modal-close:hover {
  background: #eaf4ff;
  color: #168bea;
  transform: rotate(90deg);
}

/* =========================
   スクロールエリア
========================= */

.hm-service-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;

  padding: 28px 36px 35px;
  background: #fbfdff;
}

/* カテゴリー数 */
.hm-service-modal-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;

  color: #173a5e;
  font-size: 13px;
  font-weight: 800;
}

.hm-service-modal-summary-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  border-radius: 10px;

  background: var(--sm-soft);
  color: var(--sm-accent);
}

.hm-service-modal-category-count {
  margin-left: auto;
  padding: 6px 11px;

  border: 1px solid #dceaf6;
  border-radius: 30px;
  background: #fff;

  color: var(--sm-accent);
  font-size: 11px;
  font-weight: 800;
}

/* =========================
   中分類のグリッド
========================= */

.hm-service-modal-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 17px;
  align-items: stretch;
}

/* 各中分類カード */
.hm-service-modal-category {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 21px;

  border: 1px solid #e1ebf6;
  border-radius: 5px;
  background: #fff;

  box-shadow:
    0 3px 13px rgba(26, 89, 145, .035);

  transition:
    border-color .2s,
    box-shadow .2s;
}

.hm-service-modal-category:hover {
  border-color: #b9d7f0;
  box-shadow:
    0 8px 22px rgba(26, 89, 145, .07);
}

/* 中分類のタイトル */
.hm-service-modal-category-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.hm-service-modal-category-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 43px;
  height: 43px;
  border-radius: 12px;

  background: #eaf5ff;
  color: #168bea;
}

.hm-service-modal-symbol-0 {
  background: #eaf5ff;
  color: #168bea;
}

.hm-service-modal-symbol-1 {
  background: #e8faf4;
  color: #00aa91;
}

.hm-service-modal-symbol-2 {
  background: #f3edff;
  color: #8254e9;
}

.hm-service-modal-symbol-3 {
  background: #fff2e7;
  color: #f28c30;
}

.hm-service-modal-symbol-4 {
  background: #fff0f7;
  color: #e5479a;
}

.hm-service-modal-symbol-5 {
  background: #e6f9fd;
  color: #0bafcb;
}

.hm-service-modal-category-title {
  flex: 1;
  min-width: 0;
}

.hm-service-modal-category-title h3 {
  margin: 0;
  color: #142d50;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.hm-service-modal-category-title > span {
  display: block;
  margin-top: 4px;
  color: #8196ac;
  font-size: 11px;
}

/* =========================
   サービスのリンク
========================= */

.hm-service-modal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-service-modal-links li {
  margin: 0;
  padding: 0;
}

.hm-service-modal-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  min-width: 0;
  padding: 12px 13px;

  border: 1px solid #e5edf7;
  border-radius: 9px;
  background: #f8fbff;

  color: #1e527e;
  text-decoration: none;

  transition:
    background .2s,
    border-color .2s,
    transform .2s;
}

.hm-service-modal-service-link:hover {
  background: var(--sm-soft);
  border-color: var(--sm-accent);
  transform: translateX(3px);
}

.hm-service-modal-service-name {
  min-width: 0;
  flex: 1;
  color: #174169;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hm-service-modal-service-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  color: var(--sm-accent);
}

.hm-service-modal-service-count {
  color: var(--sm-accent);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hm-service-modal-service-meta svg {
  flex-shrink: 0;
  transition: transform .2s;
}

.hm-service-modal-service-link:hover
.hm-service-modal-service-meta svg {
  transform: translateX(3px);
}

/* 掲載準備中 */
.hm-service-modal-soon {
  margin: 0;
  padding: 14px;
  border-radius: 9px;

  background: #f5f8fb;
  color: #889bb0;
  font-size: 12px;
}

/* サービス例 */
.hm-service-modal-examples {
  margin: 16px 0 0;
  padding-top: 13px;

  border-top: 1px dashed #dce7f2;
  color: #788fa8;

  font-size: 11px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hm-service-modal-examples > span {
  display: inline-block;
  margin-right: 7px;
  color: #517ca6;
  font-weight: 800;
}

/* =========================
   フッター
========================= */

.hm-service-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-shrink: 0;

  padding: 17px 36px;
  border-top: 1px solid #e5eef8;
  background: #fff;
}

.hm-service-modal-footer p {
  margin: 0;
  color: #7e91a8;
  font-size: 11px;
  line-height: 1.6;
}

.hm-service-modal-footer p span {
  margin-right: 4px;
  color: var(--sm-accent);
}

.hm-service-modal-back {
  flex-shrink: 0;
  min-width: 95px;
  padding: 5px 20px;
  border: 1px solid #d9e7f5;
  border-radius: 3px;
  background: #f6faff;
  color: #3c6084;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 700;
  cursor: pointer;
}

.hm-service-modal-back:hover {
  background: #eaf4ff;
}

/* キーボード操作 */
.hm-service-modal button:focus-visible,
.hm-service-modal a:focus-visible {
  outline: 3px solid var(--sm-accent);
  outline-offset: 3px;
}

/* =========================
   タブレット
========================= */

@media (max-width: 900px) {
  .hm-service-modal {
    width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
  }

  .hm-service-modal-container {
    max-height: calc(100dvh - 32px);
  }

  .hm-service-modal-header {
    padding: 24px;
  }

  .hm-service-modal-body {
    padding: 23px;
  }

  .hm-service-modal-grid {
    gap: 12px;
  }

  .hm-service-modal-category {
    padding: 16px;
  }

  .hm-service-modal-footer {
    padding: 15px 24px;
  }
}

/* =========================
   スマートフォン
========================= */

@media (max-width: 640px) {
  .hm-service-modal {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 16px;
  }

  .hm-service-modal-container {
    max-height: calc(100dvh - 20px);
  }

  .hm-service-modal-header {
    gap: 10px;
    padding: 21px 18px;
  }

  .hm-service-modal-eyebrow {
    font-size: 10px;
  }

  .hm-service-modal-header h2 {
    font-size: 20px;
  }

  .hm-service-modal-header p {
    font-size: 11px;
  }

  .hm-service-modal-close {
    width: 34px;
    height: 34px;
  }

  .hm-service-modal-body {
    padding: 17px 13px;
  }

  .hm-service-modal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hm-service-modal-category {
    padding: 16px 13px;
  }

  .hm-service-modal-category-title h3 {
    font-size: 15px;
  }

  .hm-service-modal-service-link {
    padding: 12px 10px;
    gap: 8px;
  }

  .hm-service-modal-service-name {
    font-size: 12px;
  }

  .hm-service-modal-service-count {
    font-size: 10px;
  }

  .hm-service-modal-footer {
    padding: 12px 16px;
  }

  .hm-service-modal-footer p {
    font-size: 10px;
  }

  .hm-service-modal-back {
    min-width: 70px;
    padding: 10px 13px;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .hm-service-modal[open] {
    animation: none;
  }

  .hm-service-modal a,
  .hm-service-modal button {
    transition: none;
  }
}

/* ==================================================
   見積依頼を確認する
   QUOTE REQUEST LOOKUP
================================================== */

.ql-page {
  --ql-navy: #10284b;
  --ql-blue: #168af0;
  --ql-muted: #657c9a;

  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: calc(100vh - 78px);
  padding: 42px 24px 90px;

  background-color: #f5fbff;
  background-image: var(--ql-bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  color: var(--ql-navy);
}

.ql-page,
.ql-page *,
.ql-page *::before,
.ql-page *::after {
  box-sizing: border-box;
}

.ql-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/* ==========================================
   ページ見出し
========================================== */

.ql-heading {
  text-align: center;
  margin-bottom: 26px;
}

.ql-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 13px;

  color: #168bf2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.ql-eyebrow > span {
  display: block;
  width: 33px;
  height: 2px;
  background: #168bf2;
  border-radius: 2px;
}

.ql-heading h1 {
  margin: 0;
  color: var(--ql-navy);
  font-size: clamp(29px, 3.5vw, 43px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.4;
}

.ql-heading h1 > span {
  color: var(--ql-navy);
}

.ql-lead {
  margin: 13px auto 0;
  max-width: 650px;
  color: var(--ql-muted);
  font-size: 14px;
  line-height: 1.9;
  font-weight: 500;
}

/* ==========================================
   白いフォームカード
========================================== */

.ql-card {
  padding: 30px 38px 27px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(226, 238, 250, .85);
  border-radius: 10px;
  box-shadow:
    0 16px 55px rgba(43, 112, 179, .085),
    0 3px 12px rgba(43, 112, 179, .025);
}

.ql-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ==========================================
   入力項目
========================================== */

.ql-field {
  min-width: 0;
}

.ql-field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 9px;
}

.ql-field-title {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.ql-field-title label {
  margin: 0;
  padding: 0;
  color: #142d50;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
}

/* アイコン */
.ql-field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #edf7ff;
  color: #168cf0;
}

.ql-field-icon svg {
  width: 21px;
  height: 21px;
}

/* 必須バッジ */
.ql-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 49px;
  padding: 5px 10px;
  border-radius: 30px;
  background: #e8f5ff;
  color: #168af0;
  font-size: 11px;
  font-weight: 800;
}

/* 入力欄 */
.ql-page .ql-input {
  display: block;
  width: 100%;
  height: 51px;
  min-height: 51px;
  margin: 0;
  padding: 0 16px;

  border: 1px solid #d2e0ee;
  border-radius: 9px;
  outline: none;
  background: #fff;

  color: #173757;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;

  box-shadow: 0 1px 2px rgba(17, 63, 111, .025);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.ql-page .ql-input::placeholder {
  color: #9ba9b8;
  opacity: 1;
}

.ql-page .ql-input:hover {
  border-color: #b4cee8;
}

.ql-page .ql-input:focus {
  border-color: #2496f2;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 149, 242, .11);
}

/* ==========================================
   送信ボタン
========================================== */

.ql-page .ql-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 57px;
  margin-top: 1px;
  padding: 13px 43px;

  border: none;
  border-radius: 5px;

  background: linear-gradient(
    180deg,
    #32a4ff 0%,
    #168bf0 55%,
    #0876d7 100%
  );

  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;

  box-shadow: 0 7px 17px rgba(17, 126, 220, .18);
  cursor: pointer;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

.ql-page .ql-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.035);
  box-shadow: 0 11px 23px rgba(17, 126, 220, .24);
}

.ql-page .ql-submit:active {
  transform: translateY(0);
}

.ql-submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ql-submit-icon svg {
  width: 21px;
  height: 21px;
}

.ql-submit-arrow {
  position: absolute;
  right: 19px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

/* ==========================================
   補足説明
========================================== */

.ql-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 19px;
  padding: 14px 20px;

  border-radius: 10px;
  background: #eff7ff;
}

.ql-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: #168bf0;
}

.ql-info-icon svg {
  width: 25px;
  height: 25px;
}

.ql-info p {
  margin: 0;
  color: #355777;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
}

/* ==========================================
   依頼履歴へのリンク
========================================== */

.ql-history {
  margin-top: 22px;
  text-align: center;
}

.ql-history-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 15px;
  color: #8b9eb3;
  font-size: 11px;
  line-height: 1.5;
}

.ql-history-heading > span {
  display: block;
  flex: 1;
  height: 1px;
  background: #dce8f5;
}

.ql-history-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 310px);
  min-height: 45px;
  padding: 10px 16px;

  border: 1px solid #208ff4;
  border-radius: 9px;
  background: #fff;

  color: #087cdb;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;

  transition:
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.ql-history-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ql-history-link:hover {
  background: #eff8ff;
  box-shadow: 0 5px 15px rgba(20, 120, 218, .10);
  transform: translateY(-2px);
}

/* フォーカス操作 */
.ql-page button:focus-visible,
.ql-page a:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 3px;
}

/* ==========================================
   タブレット
========================================== */

@media (max-width: 900px) {
  .ql-page {
    padding: 40px 20px 75px;
    background-position: 40% center;
  }

  .ql-container {
    max-width: 680px;
  }

  .ql-card {
    padding: 27px 30px;
  }
}

/* ==========================================
   スマートフォン
========================================== */

@media (max-width: 600px) {
  .ql-page {
    min-height: calc(100dvh - 65px);
    padding: 29px 15px 55px;
    background-position: 45% center;
  }

  .ql-heading {
    margin-bottom: 23px;
  }

  .ql-eyebrow {
    gap: 8px;
    font-size: 9px;
    letter-spacing: .1em;
  }

  .ql-eyebrow > span {
    width: 18px;
  }

  .ql-heading h1 {
    font-size: clamp(25px, 7vw, 32px);
  }

  .ql-lead {
    margin-top: 11px;
    font-size: 12px;
    line-height: 1.9;
  }

  .ql-lead br {
    display: none;
  }

  .ql-card {
    padding: 23px 17px;
    border-radius: 16px;
  }

  .ql-form {
    gap: 20px;
  }

  .ql-field-title {
    gap: 9px;
  }

  .ql-field-title label {
    font-size: 14px;
  }

  .ql-field-icon {
    width: 38px;
    height: 38px;
  }

  .ql-field-icon svg {
    width: 19px;
    height: 19px;
  }

  .ql-page .ql-input {
    height: 50px;
    font-size: 16px;
  }

  .ql-page .ql-submit {
    min-height: 54px;
    font-size: 14px;
    padding: 12px 31px;
  }

  .ql-info {
    margin-top: 17px;
    padding: 13px;
    gap: 9px;
  }

  .ql-info p {
    font-size: 11px;
  }

  .ql-desktop-only {
    display: none;
  }

  .ql-history-heading {
    font-size: 10px;
    gap: 7px;
  }

  .ql-history-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ql-page *,
  .ql-page *::before,
  .ql-page *::after {
    transition: none !important;
  }
}

/* =============================================
   LOGIN PAGE
   ログイン画面専用デザイン
============================================= */

.quick-login-page {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 65px 20px 85px;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  background-color: #f3faff;
  background-image: var(--login-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  color: #10284a;
}

.quick-login-page *,
.quick-login-page *::before,
.quick-login-page *::after {
  box-sizing: border-box;
}

/* メインカード */
.quick-login-card {
  width: 100%;
  max-width: 660px;
  padding: 45px 50px 42px;

  background: rgba(255,255,255,.97);
  border: 1px solid #e0ebf7;
  border-radius: 10px;

  box-shadow:
    0 20px 65px rgba(40,105,175,.09),
    0 5px 15px rgba(40,105,175,.04);
}

/* 見出し */
.quick-login-heading {
  margin-bottom: 31px;
  text-align: center;
}

.quick-login-eyebrow {
  display: block;
  margin-bottom: 8px;

  color: #168cf0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.quick-login-heading h1 {
  margin: 0;
  color: #10284a;
  font-size: 39px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.04em;
}

.quick-login-heading-line {
  display: block;
  width: 90px;
  height: 5px;
  margin: 18px auto 0;
  border-radius: 5px;

  background: linear-gradient(
    90deg,
    #b2dcff 0%,
    #168cf0 35%,
    #168cf0 65%,
    #b2dcff 100%
  );
}

.quick-login-heading p {
  margin: 20px 0 0;
  color: #738ba5;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.9;
}

/* フォーム */
.quick-login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quick-login-field {
  min-width: 0;
}

.quick-login-label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;

  color: #173452;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

/* ラベル横アイコン */
.quick-login-field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 39px;
  height: 39px;

  border-radius: 50%;
  background: #e9f5ff;
  color: #168cef;
}

.quick-login-field-icon svg {
  width: 21px;
  height: 21px;
}

/* 入力欄 */
.quick-login-page .quick-login-input {
  display: block;
  width: 100%;
  height: 54px;
  margin: 0;
  padding: 0 17px;

  border: 1px solid #cbddea;
  border-radius: 10px;
  outline: none;

  background: #fff;
  color: #173452;

  font-family: inherit;
  font-size: 15px;
  font-weight: 500;

  transition:
    border-color .2s,
    box-shadow .2s;
}

.quick-login-page .quick-login-input::placeholder {
  color: #a0afc0;
}

.quick-login-page .quick-login-input:focus {
  border-color: #168cf0;
  box-shadow: 0 0 0 4px rgba(22,140,240,.12);
}

/* ログインボタン */
.quick-login-page .quick-login-submit {
  position: relative;
  width: 100%;
  min-height: 58px;
  margin-top: 5px;
  padding: 14px 45px;

  border: none;
  border-radius: 10px;

  background: linear-gradient(
    180deg,
    #36a7ff,
    #1689eb 60%,
    #0874d3
  );

  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;

  box-shadow: 0 7px 17px rgba(15,118,211,.19);
  cursor: pointer;

  transition: transform .2s, box-shadow .2s;
}

.quick-login-page .quick-login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 23px rgba(15,118,211,.25);
}

.quick-login-submit-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 25px;
  font-weight: 400;
}

/* 下部リンク */
.quick-login-bottom {
  margin-top: 29px;
  text-align: center;
}

.quick-login-forgot {
  color: #087fdc;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.quick-login-forgot:hover,
.quick-login-register a:hover {
  text-decoration: underline;
}

/* 区切り線 */
.quick-login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 20px;
}

.quick-login-divider span {
  flex: 1;
  height: 1px;
  background: #dce9f5;
}

.quick-login-divider small {
  color: #8da2b7;
  font-size: 11px;
  white-space: nowrap;
}

.quick-login-register {
  margin: 0;
  color: #536e8b;
  font-size: 13px;
  line-height: 1.8;
}

.quick-login-register a {
  color: #087fdc;
  font-weight: 800;
  text-decoration: none;
}

/* キーボードでの操作 */
.quick-login-page a:focus-visible,
.quick-login-page button:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 4px;
}

/* スマートフォン */
@media (max-width: 600px) {
  .quick-login-page {
    min-height: 100dvh;
    padding: 34px 15px 55px;
    background-position: center center;
  }

  .quick-login-card {
    padding: 33px 21px 31px;
    border-radius: 19px;
  }

  .quick-login-heading {
    margin-bottom: 25px;
  }

  .quick-login-heading h1 {
    font-size: 30px;
  }

  .quick-login-heading p {
    font-size: 12px;
  }

  .quick-login-heading p br {
    display: none;
  }

  .quick-login-form {
    gap: 20px;
  }

  .quick-login-label {
    font-size: 14px;
  }

  .quick-login-page .quick-login-input {
    height: 52px;
    font-size: 16px;
  }

  .quick-login-page .quick-login-submit {
    min-height: 55px;
    font-size: 16px;
  }

  .quick-login-register {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-login-page input,
  .quick-login-page button {
    transition: none;
  }
}

/* ==========================================
   RESEARCHER REGISTRATION
   研究者の新規登録
========================================== */

.quick-register-page {
  --qr-navy: #10284a;
  --qr-blue: #168cf0;
  --qr-muted: #7086a0;

  box-sizing: border-box;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 55px 24px 90px;

  background-color: #f3faff;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  color: var(--qr-navy);
}

.quick-register-page *,
.quick-register-page *::before,
.quick-register-page *::after {
  box-sizing: border-box;
}

.quick-register-container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

/* 見出し */
.quick-register-heading {
  text-align: center;
  margin-bottom: 25px;
}

.quick-register-eyebrow {
  display: block;
  margin-bottom: 11px;
  color: var(--qr-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.quick-register-heading h1 {
  margin: 0;
  color: var(--qr-navy);
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.4;
}

.quick-register-heading h1 > span {
  color: #168cf0;
}

.quick-register-heading h1 small {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 5px 12px;
  border-radius: 20px;
  background: #e3f6ef;
  color: #09a883;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.quick-register-heading-line {
  display: block;
  width: 85px;
  height: 4px;
  margin: 15px auto;
  border-radius: 5px;
  background: linear-gradient(90deg, #bce2ff, #168cf0, #bce2ff);
}

.quick-register-heading p {
  margin: 0;
  color: var(--qr-muted);
  font-size: 13px;
  line-height: 1.9;
}

/* メリット */
.quick-register-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.quick-register-benefit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid #dcebf9;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  color: #365e83;
  font-size: 11px;
  font-weight: 700;
}

.quick-register-benefit-icon {
  color: #0bb49a;
  font-size: 15px;
  font-weight: 900;
}

/* メインカード */
.quick-register-card {
  padding: 35px 42px 30px;
  border: 1px solid #e0ecf8;
  border-radius: 10px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 60px rgba(31,96,170,.09);
}

/* カード冒頭 */
.quick-register-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.quick-register-intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 5px;
  background: #e7f4ff;
  color: var(--qr-blue);
}

.quick-register-intro-icon svg {
  width: 26px;
  height: 26px;
}

.quick-register-intro h2 {
  font-size: 19px;
  margin: 32px 0 12px;
  padding-left: 10px;
  border-left: 0px solid var(--site-blue);
  line-height: 1.4;
}

.quick-register-intro p {
  margin: 5px 0 0;
  color: var(--qr-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* 登録案内 */
.quick-register-info,
.quick-register-return {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 17px;
  border-radius: 10px;
  background: #eef7ff;
  color: #456887;
}

.quick-register-info {
  margin-bottom: 30px;
}

.quick-register-return {
  margin: 0 0 25px;
  background: #eaf9f4;
}

.quick-register-info > span,
.quick-register-return > span {
  color: #168cf0;
  font-size: 20px;
  line-height: 1.2;
}

.quick-register-info p,
.quick-register-return p {
  margin: 0;
  font-size: 12px;
  line-height: 1.85;
}

/* エラー */
.quick-register-errors {
  margin-bottom: 0;
}

.quick-register-errors:not(:empty) {
  margin-bottom: 23px;
}

.quick-register-errors:empty {
  display: none;
}

/* 入力セクション */
.quick-register-section {
  margin-top: 27px;
}

.quick-register-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 23px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e2edf8;
}

.quick-register-step {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e7f4ff;
  color: var(--qr-blue);
  font-size: 17px;
  font-weight: 900;
}

.quick-register-section-heading h2 {
  margin: 0;
  color: var(--qr-navy);
  font-size: 19px;
  font-weight: 800;
}

.quick-register-section-heading p {
  margin: 4px 0 0;
  color: #8497ab;
  font-size: 11px;
  line-height: 1.65;
}

/* アカウント入力欄 */
.quick-register-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.quick-register-field {
  min-width: 0;
}

.quick-register-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  color: #1b3656;
  font-size: 13px;
  font-weight: 800;
}

.quick-register-required {
  padding: 3px 8px;
  border-radius: 20px;
  background: #e9f5ff;
  color: #168cf0;
  font-size: 10px;
  font-weight: 800;
}

/* 入力欄共通 */
.quick-register-page .quick-register-input,
.quick-register-page .quick-register-profile-fields input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.quick-register-page .quick-register-profile-fields select,
.quick-register-page .quick-register-profile-fields textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  margin: 0;
  padding: 3px 13px;
  border: 1px solid #d0deed;
  border-radius: 3px;
  background: #fff;
  color: #193c5e;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  margin-bottom: 10px;
  font-weight:normal;
}

.quick-register-page .quick-register-input:focus,
.quick-register-page .quick-register-profile-fields input:focus,
.quick-register-page .quick-register-profile-fields select:focus,
.quick-register-page .quick-register-profile-fields textarea:focus {
  border-color: var(--qr-blue);
  box-shadow: 0 0 0 4px rgba(22,140,240,.11);
}

.quick-register-page input::placeholder {
  color: #a2b0c0;
}

.quick-register-field-help {
  margin: 7px 0 0;
  color: #899bb0;
  font-size: 11px;
}

/* プロフィール部分 */
.quick-register-profile-section {
  margin-top: 40px;
}

.quick-register-profile-fields {
  min-width: 0;
}

.quick-register-profile-fields label {
  color: #1b3656;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.quick-register-profile-fields input[type="checkbox"],
.quick-register-profile-fields input[type="radio"] {
  width: auto;
  min-height: 0;
  accent-color: #168cf0;
}

.quick-register-profile-fields textarea {
  min-height: 95px;
  resize: vertical;
}

/* 利用規約・送信 */
.quick-register-submit-section {
  margin-top: 38px;
  padding-top: 23px;
  border-top: 1px solid #e2edf8;
}

.quick-register-consent {
  margin-bottom: 22px;
  color: #58738f;
  font-size: 12px;
  line-height: 1.8;
}

.quick-register-page .quick-register-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  width: 100%;
  min-height: 58px;
  padding: 12px 46px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(180deg,#35a5ff,#168af0 65%,#0875d8);
  box-shadow: 0 7px 18px rgba(22,120,218,.18);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.quick-register-page .quick-register-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 23px rgba(22,120,218,.24);
}

.quick-register-submit > span:last-child {
  position: absolute;
  right: 20px;
  font-size: 23px;
  font-weight: 400;
}

.quick-register-submit-note {
  margin: 11px 0 0;
  color: #7b91a7;
  font-size: 11px;
  text-align: center;
}

/* ログインへの導線 */
.quick-register-login {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e2edf8;
  text-align: center;
}

.quick-register-login p {
  margin: 0 0 12px;
  color: #7187a0;
  font-size: 12px;
}

.quick-register-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 44px;
  padding: 10px 28px;
  border: 1px solid #168cf0;
  border-radius: 9px;
  background: #fff;
  color: #087cdb;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.quick-register-login-link:hover {
  background: #edf7ff;
}

/* アクセシビリティ */
.quick-register-page a:focus-visible,
.quick-register-page button:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 3px;
}

/* タブレット */
@media (max-width: 850px) {
  .quick-register-container {
    max-width: 700px;
  }

  .quick-register-card {
    padding: 30px;
  }
}

/* スマートフォン */
@media (max-width: 600px) {
  .quick-register-page {
    padding: 30px 14px 55px;
    background-position: center top;
  }

  .quick-register-heading h1 {
    font-size: 26px;
  }

  .quick-register-heading h1 small {
    padding: 3px 9px;
    font-size: 10px;
  }

  .quick-register-heading p {
    font-size: 12px;
  }

  .quick-register-benefits {
    justify-content: flex-start;
    gap: 7px;
  }

  .quick-register-benefit {
    padding: 8px 10px;
    font-size: 10px;
  }

  .quick-register-card {
    padding: 22px 17px;
    border-radius: 17px;
  }

  .quick-register-intro-icon {
    width: 43px;
    height: 43px;
  }

  .quick-register-intro h2 {
    font-size: 17px;
  }

  .quick-register-info p,
  .quick-register-return p {
    font-size: 11px;
  }

  .quick-register-section-heading h2 {
    font-size: 17px;
  }

  .quick-register-fields {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quick-register-page .quick-register-input,
  .quick-register-page .quick-register-profile-fields input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .quick-register-page .quick-register-profile-fields select,
  .quick-register-page .quick-register-profile-fields textarea {
    font-size: 16px;
  }

  .quick-register-page .quick-register-submit {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-register-page * {
    transition: none !important;
  }
}

/* ==========================================
   受託会社ログイン
   VENDOR LOGIN
========================================== */

.vendor-login-page {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 55px 20px 85px;
  background-color: #f3faff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #10284a;
}

.vendor-login-page *,
.vendor-login-page *::before,
.vendor-login-page *::after {
  box-sizing: border-box;
}

/* メインカード */
.vendor-login-card {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  padding: 38px 48px 35px;
  border: 1px solid #e1ecf7;
  border-radius: 10px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 20px 65px rgba(36,103,175,.09);
}

/* 見出し */
.vendor-login-heading {
  margin-bottom: 28px;
  text-align: center;
}

.vendor-login-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #1589eb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.vendor-login-eyebrow::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg,#bde5ff,#168cf0);
}

.vendor-login-heading h1 {
  margin: 0;
  color: #10284a;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.035em;
}

.vendor-login-heading p {
  margin: 12px 0 0;
  color: #66809b;
  font-size: 13px;
  line-height: 1.8;
}

/* エラー */
.vendor-login-error {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
  padding: 13px 16px;
  border: 1px solid #f3b9b9;
  border-radius: 10px;
  background: #fff0f0;
  color: #b82d2d;
  font-size: 13px;
  line-height: 1.6;
}

.vendor-login-error > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d93636;
  color: #fff;
  font-weight: 800;
}

/* フォーム */
.vendor-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vendor-login-field {
  min-width: 0;
}

.vendor-login-label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
  color: #183353;
  font-size: 15px;
  font-weight: 800;
}

.vendor-login-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #eaf6ff;
  color: #148beb;
}

.vendor-login-icon svg {
  width: 20px;
  height: 20px;
}

/* 入力欄 */
.vendor-login-page .vendor-login-input {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 17px;
  border: 1px solid #cbdcec;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: #173655;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}

.vendor-login-page .vendor-login-input::placeholder {
  color: #9aacc0;
}

.vendor-login-page .vendor-login-input:focus {
  border-color: #168cf0;
  box-shadow: 0 0 0 4px rgba(22,140,240,.11);
}

/* 赤いログインボタン */
.vendor-login-page .vendor-login-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 3px;
  padding: 12px 45px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(
    180deg,
    #ff5558,
    #ed262d 65%,
    #d91d25
  );
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(220,39,45,.18);
  transition: transform .2s, box-shadow .2s;
}

.vendor-login-page .vendor-login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(220,39,45,.27);
}

.vendor-login-submit-arrow {
  position: absolute;
  right: 22px;
  font-size: 23px;
  font-weight: 400;
}

/* 補助リンク */
.vendor-login-help {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 23px 0 27px;
}

.vendor-login-help a {
  color: #0784e5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.vendor-login-help a:hover,
.vendor-login-guide a:hover {
  text-decoration: underline;
}

.vendor-login-help-divider {
  width: 1px;
  height: 20px;
  background: #d2e0ee;
}

/* ==========================================
   はじめての会社様
========================================== */

.vendor-login-guide {
  padding: 23px 26px 20px;
  border: 1px solid #e1edf8;
  border-radius: 5px;
  background: linear-gradient(145deg,#f2f9ff,#f8fcff);
}

.vendor-login-guide-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.vendor-login-guide-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #dff0ff;
  color: #138cf0;
}

.vendor-login-guide-icon svg {
  width: 22px;
  height: 22px;
}

.vendor-login-guide-heading h2 {
  margin: 0;
  color: #087bd9;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}

.vendor-login-guide-heading h2 small {
  font-size: .75em;
  font-weight: 700;
}

/* 番号付き手順 */
.vendor-login-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0 0 18px;
  list-style: none;
}

.vendor-login-guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.vendor-login-guide-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: linear-gradient(135deg,#75c9ff,#168cf0);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.vendor-login-guide-steps p {
  flex: 1;
  min-width: 0;
  margin: 3px 0 0;
  color: #254467;
  font-size: 12px;
  line-height: 1.9;
}

.vendor-login-guide strong {
  color: #153554;
  font-weight: 800;
}

.vendor-login-guide a {
  color: #0784e5;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 下部案内 */
.vendor-login-guide-extra {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid #d7e7f6;
}

.vendor-login-guide-extra p {
  gap: 9px;
  margin: 0;
  color: #657f9b;
  font-size: 11px;
  line-height: 1.85;
}

.vendor-login-guide-extra p > span {
  flex-shrink: 0;
  color: #148cf0;
  font-size: 16px;
}

/* フォーカス */
.vendor-login-page a:focus-visible,
.vendor-login-page button:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 3px;
}

/* ==========================================
   スマートフォン
========================================== */

@media (max-width: 640px) {
  .vendor-login-page {
    padding: 30px 14px 55px;
    background-position: center top;
  }

  .vendor-login-card {
    padding: 27px 20px 23px;
    border-radius: 17px;
  }

  .vendor-login-heading {
    margin-bottom: 24px;
  }

  .vendor-login-heading h1 {
    font-size: 24px;
  }

  .vendor-login-heading p {
    font-size: 12px;
  }

  .vendor-login-desktop {
    display: none;
  }

  .vendor-login-label {
    font-size: 14px;
  }

  .vendor-login-page .vendor-login-input {
    height: 51px;
    font-size: 16px;
  }

  .vendor-login-page .vendor-login-submit {
    font-size: 16px;
  }

  .vendor-login-help {
    gap: 12px;
  }

  .vendor-login-help a {
    font-size: 11px;
  }

  .vendor-login-guide {
    padding: 20px 15px;
  }

  .vendor-login-guide-heading {
    align-items: flex-start;
    gap: 9px;
  }

  .vendor-login-guide-heading h2 {
    font-size: 16px;
  }

  .vendor-login-guide-heading h2 small {
    display: block;
  }

  .vendor-login-guide-steps p {
    font-size: 11px;
  }

  .vendor-login-guide-extra p {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vendor-login-page input,
  .vendor-login-page button {
    transition: none;
  }
}

/* =============================================
   PASSWORD RESET
   パスワード再設定メール送信ページ
============================================= */

.quick-password-page {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 80px 20px 100px;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  background-color: #f3faff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  color: #10284a;
}

.quick-password-page *,
.quick-password-page *::before,
.quick-password-page *::after {
  box-sizing: border-box;
}

/* メインカード */
.quick-password-card {
  width: 100%;
  max-width: 620px;
  padding: 43px 46px 34px;

  border: 1px solid #e0ebf7;
  border-radius: 10px;
  background: rgba(255,255,255,.97);

  box-shadow:
    0 20px 65px rgba(36,103,175,.09),
    0 4px 14px rgba(36,103,175,.035);
}

/* 見出し */
.quick-password-heading {
  margin-bottom: 31px;
  text-align: center;
}

.quick-password-eyebrow {
  display: block;
  margin-bottom: 17px;

  color: #168cf0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.quick-password-heading-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 63px;
  height: 63px;
  margin: 0 auto 16px;

  border-radius: 19px;
  background: #e9f5ff;
  color: #168cf0;
}

.quick-password-heading-icon svg {
  width: 30px;
  height: 30px;
}

.quick-password-heading h1 {
  margin: 0;
  color: #10284a;
  font-size: clamp(25px, 3vw, 33px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.4;
}

.quick-password-heading-line {
  display: block;
  width: 80px;
  height: 4px;
  margin: 16px auto 0;

  border-radius: 5px;
  background: linear-gradient(
    90deg,
    #b8e0ff,
    #168cf0,
    #b8e0ff
  );
}

.quick-password-heading p {
  margin: 20px 0 0;
  color: #7087a1;
  font-size: 13px;
  line-height: 1.9;
}

/* エラー */
.quick-password-alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 23px;
  padding: 13px 15px;

  border: 1px solid #f1c5c5;
  border-radius: 10px;
  background: #fff1f1;
  color: #b72e37;
}

.quick-password-alert > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #db4048;
  color: #fff;
  font-weight: 800;
}

.quick-password-alert p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

/* フォーム */
.quick-password-form {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.quick-password-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;

  color: #183452;
  font-size: 15px;
  font-weight: 800;
}

.quick-password-label-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  flex-shrink: 0;

  border-radius: 50%;
  background: #e9f5ff;
  color: #168cf0;
}

.quick-password-label-icon svg {
  width: 21px;
  height: 21px;
}

/* 入力欄 */
.quick-password-page .quick-password-input {
  display: block;
  width: 100%;
  height: 54px;
  margin: 0;
  padding: 0 17px;

  border: 1px solid #cbddea;
  border-radius: 10px;
  outline: none;

  background: #fff;
  color: #173452;

  font-family: inherit;
  font-size: 15px;

  transition: border-color .2s, box-shadow .2s;
}

.quick-password-page .quick-password-input::placeholder {
  color: #9eafc0;
}

.quick-password-page .quick-password-input:focus {
  border-color: #168cf0;
  box-shadow: 0 0 0 4px rgba(22,140,240,.11);
}

/* 送信ボタン */
.quick-password-page .quick-password-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  width: 100%;
  min-height: 57px;
  padding: 13px 40px;

  border: 0;
  border-radius: 10px;

  background: linear-gradient(
    180deg,
    #36a7ff,
    #1689eb 60%,
    #0874d3
  );

  box-shadow: 0 7px 18px rgba(15,118,211,.18);

  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;

  transition: transform .2s, box-shadow .2s;
}

.quick-password-page .quick-password-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 23px rgba(15,118,211,.25);
}

.quick-password-submit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-password-submit-icon svg {
  width: 20px;
  height: 20px;
}

.quick-password-submit-arrow {
  position: absolute;
  right: 19px;
  font-size: 22px;
  font-weight: 500;
}

/* 案内 */
.quick-password-info {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 23px;
  padding: 15px;

  border-radius: 10px;
  background: #eff7ff;
}

.quick-password-info-icon {
  display: flex;
  flex-shrink: 0;
  color: #168cf0;
}

.quick-password-info-icon svg {
  width: 22px;
  height: 22px;
}

.quick-password-info p {
  margin: 0;
  color: #57718b;
  font-size: 12px;
  line-height: 1.8;
}

/* 戻るリンク */
.quick-password-footer {
  margin-top: 26px;
  text-align: center;
}

.quick-password-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  color: #087fdc;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.quick-password-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.quick-password-page a:focus-visible,
.quick-password-page button:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 4px;
}

/* スマートフォン */
@media (max-width: 600px) {
  .quick-password-page {
    padding: 36px 15px 60px;
    background-position: center center;
  }

  .quick-password-card {
    padding: 32px 21px 30px;
    border-radius: 18px;
  }

  .quick-password-heading {
    margin-bottom: 26px;
  }

  .quick-password-heading h1 {
    font-size: 26px;
  }

  .quick-password-heading p {
    font-size: 12px;
  }

  .quick-password-desktop {
    display: none;
  }

  .quick-password-label {
    font-size: 14px;
  }

  .quick-password-page .quick-password-input {
    height: 52px;
    font-size: 16px;
  }

  .quick-password-page .quick-password-submit {
    font-size: 13px;
  }

  .quick-password-info p {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-password-page input,
  .quick-password-page button {
    transition: none;
  }
}

/* ==========================================
   RESEARCHER TERMS
   研究者向け利用規約
========================================== */

.quick-terms-page {
  --qt-navy: #10284a;
  --qt-blue: #168cf0;
  --qt-muted: #6b829d;

  box-sizing: border-box;
  min-height: 100vh;
  padding: 56px 24px 95px;

  background-color: #f4faff;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  color: var(--qt-navy);
}

.quick-terms-page *,
.quick-terms-page *::before,
.quick-terms-page *::after {
  box-sizing: border-box;
}

.quick-terms-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

/* ==========================================
   ページ見出し
========================================== */

.quick-terms-hero {
  text-align: center;
  margin-bottom: 38px;
}

.quick-terms-eyebrow {
  display: block;
  margin-bottom: 15px;
  color: var(--qt-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

.quick-terms-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: rgba(226, 243, 255, .96);
  color: var(--qt-blue);
}

.quick-terms-hero-icon svg {
  width: 30px;
  height: 30px;
}

.quick-terms-hero h1 {
  margin: 0;
  color: var(--qt-navy);
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.04em;
}

.quick-terms-hero h1 span {
  color: var(--qt-blue);
}

.quick-terms-hero > p {
  margin: 9px 0 0;
  color: var(--qt-muted);
  font-size: 15px;
}

.quick-terms-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 21px;
}

.quick-terms-meta span {
  display: inline-flex;
  padding: 9px 17px;
  border: 1px solid #dbeafa;
  border-radius: 30px;
  background: rgba(255,255,255,.95);
  color: #50708e;
  font-size: 12px;
  font-weight: 700;
}

/* ==========================================
   目次＋本文の2列レイアウト
========================================== */

.quick-terms-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

/* ==========================================
   左側の目次
========================================== */

.quick-terms-sidebar {
  position: sticky;
  top: 90px;
  min-width: 0;
}

.quick-terms-toc {
  padding: 24px 17px;
  border: 1px solid #dfebf8;
  border-radius: 5px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 25px rgba(40,100,170,.045);
}

.quick-terms-toc h2 {
  margin: 0 0 17px;
  padding: 0 8px 14px;
  border-bottom: 1px solid #e5eef8;
  color: var(--qt-navy);
  font-size: 16px;
  font-weight: 800;
}

.quick-terms-toc-details summary {
  display: none;
}

.quick-terms-toc ol {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: qt-toc;
}

.quick-terms-toc li {
  counter-increment: qt-toc;
  margin: 0;
  padding: 0;
}

.quick-terms-toc li a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 9px;
  color: #536f8e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.quick-terms-toc li a::before {
  content: counter(qt-toc, decimal-leading-zero);
  flex-shrink: 0;
  color: #168cf0;
  font-size: 11px;
  font-weight: 800;
}

.quick-terms-toc li a:hover {
  background: #eaf5ff;
  color: #087bd8;
}

/* ==========================================
   規約本文の白いカード
========================================== */

.quick-terms-document {
  min-width: 0;
  padding: 37px 43px 35px;
  border: 1px solid #e0ebf8;
  border-radius: 5px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 15px 55px rgba(39,102,168,.075);
}

.quick-terms-document-intro {
  margin-bottom: 31px;
  padding: 20px 23px;
  border-radius: 12px;
  background: linear-gradient(110deg,#ecf7ff,#f7fcff);
}

.quick-terms-document-label {
  display: block;
  margin-bottom: 7px;
  color: var(--qt-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.quick-terms-document-intro p {
  margin: 0;
  color: #476782;
  font-size: 13px;
  line-height: 1.8;
}

/* ==========================================
   各条文
========================================== */

.quick-terms-article {
  margin: 0;
  padding: 27px 0 30px;
  border-bottom: 1px solid #e8f0f8;
  scroll-margin-top: 100px;
}

.quick-terms-article:first-of-type {
  padding-top: 4px;
}

.quick-terms-article-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 17px;
}

.quick-terms-article-head > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #e7f4ff;
  color: var(--qt-blue);
  font-size: 16px;
  font-weight: 900;
}

.quick-terms-article h2 {
  margin: 0;
  color: #102c4e;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.quick-terms-article p,
.quick-terms-article li {
  color: #47617e;
  font-size: 13px;
  font-weight: 500;
  line-height: 2.05;
  overflow-wrap: anywhere;
}

.quick-terms-article p {
  margin: 0 0 12px;
}

.quick-terms-article p:last-child {
  margin-bottom: 0;
}

/* 番号付き・箇条書き */
.quick-terms-article ol,
.quick-terms-article ul {
  margin: 0;
  padding-left: 26px;
}

.quick-terms-article li {
  padding-left: 5px;
  margin-bottom: 12px;
}

.quick-terms-article li:last-child {
  margin-bottom: 0;
}

.quick-terms-article ol li::marker {
  color: #168cf0;
  font-weight: 800;
}

.quick-terms-article ul li::marker {
  color: #168cf0;
}

/* 本文内のリンク */
.quick-terms-document a {
  color: #0783e5;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #9bcdf7;
  text-underline-offset: 3px;
}

.quick-terms-document a:hover {
  color: #056bbd;
  text-decoration-color: currentColor;
}

/* ==========================================
   お問い合わせ先
========================================== */

.quick-terms-document-footer {
  margin-top: 32px;
  padding: 25px 27px;
  border: 1px solid #dceaf8;
  border-radius: 5px;
  background: #f3f9ff;
}

.quick-terms-document-footer h2 {
  margin: 0 0 19px;
  color: #14375c;
  font-size: 17px;
  font-weight: 800;
  margin-top: 0 !important;
}

.quick-terms-document-footer p {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 13px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #e1ecf7;
  color: #47617e;
  font-size: 12px;
  line-height: 1.8;
}

.quick-terms-document-footer p:last-child {
  border-bottom: none;
}

.quick-terms-document-footer strong {
  color: #173e65;
  font-weight: 800;
}

.quick-terms-document-footer span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.quick-terms-document-footer a {
  overflow-wrap: anywhere;
}

/* フォーカス */
.quick-terms-page a:focus-visible,
.quick-terms-page summary:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 3px;
}

/* ==========================================
   タブレット
========================================== */

@media (max-width: 900px) {
  .quick-terms-page {
    padding: 40px 18px 70px;
  }

  .quick-terms-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 15px;
  }

  .quick-terms-document {
    padding: 28px 26px;
  }
}

/* ==========================================
   スマートフォン
========================================== */

@media (max-width: 700px) {
  .quick-terms-page {
    padding: 30px 13px 55px;
    background-position: center top;
  }

  .quick-terms-hero {
    margin-bottom: 26px;
  }

  .quick-terms-hero h1 {
    font-size: 25px;
  }

  .quick-terms-hero-icon {
    width: 50px;
    height: 50px;
  }

  .quick-terms-meta {
    gap: 7px;
  }

  .quick-terms-meta span {
    padding: 7px 11px;
    font-size: 10px;
  }

  .quick-terms-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .quick-terms-sidebar {
    position: static;
    width: 100%;
  }

  .quick-terms-toc {
    padding: 15px;
  }

  .quick-terms-toc h2 {
    margin-bottom: 9px;
    padding-bottom: 10px;
  }

  .quick-terms-toc-details summary {
    display: block;
    padding: 10px;
    color: #1684dd;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
  }

  .quick-terms-toc-details ol {
    margin-top: 8px;
  }

  .quick-terms-document {
    width: 100%;
    padding: 23px 18px;
    border-radius: 15px;
  }

  .quick-terms-document-intro {
    padding: 15px;
  }

  .quick-terms-article {
    padding: 23px 0;
    scroll-margin-top: 80px;
  }

  .quick-terms-article-head {
    gap: 10px;
    align-items: flex-start;
  }

  .quick-terms-article-head > span {
    width: 37px;
    height: 37px;
    border-radius: 10px;
    font-size: 14px;
  }

  .quick-terms-article h2 {
    padding-top: 5px;
    font-size: 16px;
  }

  .quick-terms-article p,
  .quick-terms-article li {
    font-size: 12px;
    line-height: 2;
  }

  .quick-terms-article ol,
  .quick-terms-article ul {
    padding-left: 22px;
  }

  .quick-terms-document-footer {
    padding: 19px 15px;
  }

  .quick-terms-document-footer p {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .quick-terms-page * {
    transition: none !important;
  }
}

/* ===================================================
   PRIVACY POLICY
   プライバシーポリシー専用デザイン
   既存の quick-terms-* CSSを共通利用
=================================================== */

/* ページ固有のアクセント */
.quick-privacy-page {
  --qt-blue: #168cf0;
}

/* 長い見出しの折り返し */
.quick-privacy-page .quick-terms-hero h1 {
  overflow-wrap: anywhere;
}

.quick-privacy-page .quick-terms-article h2 {
  overflow-wrap: anywhere;
}

/* 本文内の重要語句 */
.quick-privacy-page .quick-terms-article strong {
  color: #173d63;
  font-weight: 800;
}

/* 第3項：情報提供の区分 */
.quick-privacy-subsection {
  margin: 22px 0;
  padding: 22px 23px;

  border: 1px solid #e0edf9;
  border-radius: 5px;

  background: #f8fbff;
}

.quick-privacy-subsection:last-child {
  margin-bottom: 0;
}

/* 見積依頼時・注文時の見出し */
.quick-privacy-subsection h3 {
  position: relative;
  margin: 0 0 17px;
  padding: 0 0 12px 16px;

  border-bottom: 1px solid #dceaf7;

  color: #153b64;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}

/* 見出し左側のブルーライン */
.quick-privacy-subsection h3::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 15px;
  left: 0;

  width: 4px;
  border-radius: 4px;

  background: linear-gradient(
    180deg,
    #168cf0,
    #70d4f7
  );
}

/* 本文の余白 */
.quick-privacy-subsection p {
  margin: 0 0 12px;
}

.quick-privacy-subsection ul {
  margin-top: 9px;
}

.quick-privacy-subsection li {
  line-height: 1.95;
}

/* 個人情報の非提供に関する強調 */
.quick-privacy-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-top: 18px;
  padding: 15px 17px;

  border: 1px solid #cce6f8;
  border-radius: 5px;

  background: #eaf6ff;
}

.quick-privacy-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 23px;
  height: 23px;

  border-radius: 50%;
  background: #168cf0;

  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
}

.quick-privacy-highlight p {
  margin: 0;
  color: #225986;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.85;
}

/* 公開前に記入する項目 */
.quick-privacy-pending {
  display: flex;
  align-items: flex-start;
  gap: 13px;

  margin-top: 17px;
  padding: 17px 19px;

  border: 1px solid #f1d398;
  border-radius: 5px;
  background: #fffaf0;
}

.quick-privacy-pending-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 25px;
  height: 25px;
  border-radius: 50%;

  background: #f3ab37;
  color: #fff;
  font-weight: 900;
}

.quick-privacy-pending p {
  margin: 0;
  color: #865e24;
  font-size: 12px;
  line-height: 1.85;
}

/* 事業者情報・お問い合わせ */
.quick-privacy-contact {
  overflow: hidden;

  border: 1px solid #dceaf8;
  border-radius: 5px;
  background: #f3f9ff;
}

.quick-privacy-contact > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;

  align-items: start;

  padding: 16px 20px;
  border-bottom: 1px solid #dceaf8;
}

.quick-privacy-contact > div:last-child {
  border-bottom: none;
}

.quick-privacy-contact strong {
  color: #173e65;
  font-size: 12px;
  font-weight: 800;
}

.quick-privacy-contact span {
  min-width: 0;
  color: #47617e;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

/* 目次からの移動先 */
.quick-privacy-page .quick-terms-article {
  scroll-margin-top: 100px;
}

/* スマートフォン */
@media (max-width: 700px) {
  .quick-privacy-subsection {
    margin: 17px 0;
    padding: 17px 14px;
    border-radius: 5px;
  }

  .quick-privacy-subsection h3 {
    font-size: 14px;
  }

  .quick-privacy-highlight {
    padding: 13px;
    gap: 9px;
  }

  .quick-privacy-highlight p {
    font-size: 11px;
  }

  .quick-privacy-pending {
    padding: 13px;
    gap: 9px;
  }

  .quick-privacy-pending p {
    font-size: 11px;
  }

  .quick-privacy-contact > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
  }

  .quick-privacy-page .quick-terms-article {
    scroll-margin-top: 80px;
  }
}

/* ==========================================
   RNA-seq 比較条件アコーディオン
========================================== */

.qrna-page .qrna-search-accordion {
  margin: 0;
  border: 1px solid #dce9f7;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(33, 105, 175, .07);
  overflow: hidden;
}

/* 既存のフォームのカード装飾を解除 */
.qrna-page .qrna-search-accordion .qc-search-form {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* アコーディオンの見出し */
.qrna-page .qrna-accordion-summary {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 70px;
  padding: 5px 31px 5px 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.qrna-page .qrna-accordion-summary::-webkit-details-marker {
  display: none;
}

.qrna-page .qrna-accordion-summary::marker {
  content: "";
}

.qrna-page .qrna-accordion-summary:hover {
  background: #f8fcff;
}

/* 検索アイコン */
.qrna-page .qrna-accordion-summary .qc-search-heading-icon {
  flex: 0 0 40px;
  width: 40px;
  margin: 0;
  border-radius: 50%;
  background: #e5f4ff;
  color: #168cf0;
}

.qrna-page .qrna-accordion-summary .qc-search-heading-icon svg {
  width: 23px;
  height: 23px;
}

/* タイトル */
.qrna-accordion-title {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0px;
  min-width: 0;
}

.qrna-accordion-title strong {
  color: #173b6b;
  font-size: 18px;
  font-weight: 800;
}

.qrna-accordion-title small {
  color: #8096ae;
  font-size: 13px;
  line-height: 1.7;
}

/* 開閉ボタン */
.qrna-accordion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 5px 15px;
  border: 1px solid #d3e6f7;
  border-radius: 24px;
  background: #f2f9ff;
  color: #087fe1;
  font-size: 12px;
  font-weight: 800;
}

.qrna-accordion-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

/* 開閉に応じて文字を切り替え */
.qrna-label-open {
  display: none;
}

.qrna-label-closed {
  display: inline;
}

.qrna-search-accordion[open] .qrna-label-open {
  display: inline;
}

.qrna-search-accordion[open] .qrna-label-closed {
  display: none;
}

.qrna-search-accordion[open] .qrna-accordion-toggle svg {
  transform: rotate(180deg);
}

/* 開いた状態の区切り */
.qrna-search-accordion[open] > .qrna-accordion-summary {
  border-bottom: 1px solid #e3edf7;
}

/* フォーム本体 */
.qrna-accordion-body {
  padding: 12px 31px 15px;
}

/* キーボード操作 */
.qrna-accordion-summary:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: -4px;
}

/* スマートフォン */
@media (max-width: 760px) {
  .qrna-page .qrna-accordion-summary {
    gap: 11px;
    padding: 15px;
  }

  .qrna-page .qrna-accordion-summary .qc-search-heading-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .qrna-page .qrna-accordion-summary .qc-search-heading-icon svg {
    width: 23px;
    height: 23px;
  }

  .qrna-accordion-title strong {
    font-size: 17px;
  }

  .qrna-accordion-title small {
    font-size: 11px;
  }

  .qrna-accordion-toggle {
    padding: 9px;
  }

  .qrna-accordion-toggle .qrna-label-open,
  .qrna-accordion-toggle .qrna-label-closed {
    display: none;
  }

  .qrna-accordion-body {
    padding: 18px 15px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qrna-accordion-toggle svg {
    transition: none;
  }
}
