/* Sleep LP 下層3ページ共通（実測= capture/sub-*-ex*.json / sub-*-ui*.json・全値下層ページで再実測）
   レイアウト則（3点実測 1000/1440/1920 で確定）:
   - 左右マージン 73px 固定・コンテンツ幅 c = 100vw - 146px
   - Value行: テキスト列 40%c / 画像 54%c / 星 25%c（左端 73+37.5%c）
   - About写真(consulting/stp) = 60vw - 60px 右ブリード / hms左写真 = 50vw 左ブリード
   - 見出し: ヒーロー7vw・セクション6vw（hmsのみ130px固定）・サブ3vw / ラベル25px・番号130px固定 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #444;
  background: #fff;
  word-break: break-word; overflow-wrap: anywhere; /* live実測: 全域適用＝justifyの分配が変わる */
}
a { text-decoration: none; color: inherit; }
img { display: block; }
button { font: inherit; border: none; background: none; cursor: pointer; }

:root {
  --m: 73px;
  --c: calc(100vw - 146px);
}

/* ===== 固定ヘッダー（下層専用: テキストロゴ+3項目ナビ+枠線Contact） ===== */
#scroll_header {
  position: fixed; top: 0; left: 0; width: 100%; height: 73px;
  background: #fff; padding: 0 40px; z-index: -1; opacity: 0;
  transition: opacity .3s;
  display: flex; align-items: center; justify-content: space-between;
}
#scroll_header.shown { opacity: 1; z-index: 9999; }
.header-logo {
  font-size: 40px; font-weight: 700; letter-spacing: -1.6px; line-height: 40px; color: #444;
}
.header-right { display: flex; align-items: center; gap: 40px; }
.header-right nav { display: flex; gap: 40px; }
.header-right nav a {
  font-family: Roboto, sans-serif; font-size: 20px; font-weight: 500; line-height: 22px; color: #444;
}
.header-contact {
  width: 191px; height: 39px; border: 2px solid #444; border-radius: 43px;
  display: flex; align-items: center; justify-content: center;
  font-family: Roboto, sans-serif; font-size: 20px; font-weight: 500; color: #444;
}

/* ===== main グラデーション（consulting/stp。hmsはページ側で上書き） ===== */
main {
  position: relative;
  background: linear-gradient(180deg, #000 9.58%, #2137aa 44.5%, #fff 69.76%, #fff3b5 79%, #ffd058 100%);
  overflow: clip;
}
main.grad-hms {
  background: linear-gradient(180deg, #000 9.58%, #2137aa 44.5%, #fff 88.76%, #fff3b5 97%, #ffd058 100%);
}

/* ===== ヒーロー（consulting/stp: パンくず+タイトル+羊） ===== */
.hero-logo-img { position: absolute; left: 43px; top: 0; padding: 10px; display: block; } /* indexと同じ新ロゴ・同じ置き方（liveは旧ロゴ=意図的差異） */
.crumb {
  padding-top: 117px; margin: 0 50px;
  font-size: 20px; line-height: 28px; color: #fff;
  display: flex; gap: 12px; white-space: nowrap;
}
.crumb a, .crumb span { flex: none; }
.hero-row {
  margin: 72px 50px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.hero-title p {
  font-size: 7vw; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; color: #fff;
}
.hero-title h1 {
  font-size: 3.5vw; font-weight: 400; letter-spacing: -0.04em; line-height: 2; color: #fff;
}
.hero-sheep { width: calc(40vw - 52px); height: auto; flex: none; }

/* ===== 動画（40vw角・br12） ===== */
.videos {
  margin-top: 130px; padding: 0 5vw;
  display: flex; justify-content: space-between;
}
.videos.single { justify-content: center; }
/* liveはCSS上border-radius:12pxだがcomposited videoに効かず実描画は直角（1px走査で確認）→直角で合わせる */
.vidbox { width: 40vw; height: 40vw; overflow: hidden; }
.vidbox video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== 共通: セクションラベル・見出し ===== */
.sec-label { font-size: 25px; font-weight: 400; letter-spacing: 1.25px; line-height: 25px; color: #fff; }
.sec-title {
  font-family: Roboto, sans-serif; font-size: 6vw; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1; color: #fff; margin-top: 3px;
}
.sec-label.dark, .sec-title.dark { color: #444; }

/* ===== About Service（consulting/stp） ===== */
.abs { margin-top: 130px; }
.abs > .sec-label, .abs > .sec-title, .abs > .abs-sub { margin-left: var(--m); }
.abs-sub {
  font-size: 3vw; font-weight: 600; letter-spacing: -0.04em; line-height: 1.4;
  color: #fff; margin-top: 4px;
}
.abs-row { margin-top: 33px; display: flex; justify-content: space-between; align-items: flex-start; }
.abs-text { width: calc(.3717 * var(--c)); margin-left: var(--m); flex: none; }
.abs-text p { font-size: 15px; line-height: 30px; color: #fff; margin-bottom: 38px; }
.abs-photo { width: calc(60vw - 60px); height: auto; border-radius: 32px 0 0 32px; flex: none; }

/* ===== Value（consulting/stp: 左右交互2カラム） ===== */
.val { margin-top: 198px; }
.val > .sec-label, .val > .sec-title { margin-left: var(--m); }
.val-rows { margin-top: 34px; }
.val-row { display: flex; justify-content: space-between; padding: 0 var(--m); }
.val-row.rev { flex-direction: row-reverse; }
.val-text { width: calc(.40 * var(--c)); flex: none; }
.val-num {
  font-family: Roboto, sans-serif; font-size: 130px; font-weight: 700;
  letter-spacing: -0.04em; line-height: 130px; color: rgba(255, 255, 255, .3);
}
.val-ttl {
  font-size: 36px; font-weight: 700; letter-spacing: 1.8px; line-height: 1.4;
  color: #fff; margin: -70px 0 0 30px;
}
.val-body { font-size: 15px; line-height: 30px; color: #fff; text-align: justify; margin-top: 70px; padding: 0 10px; }
.val-img { width: calc(.54 * var(--c)); height: auto; border-radius: 30px; flex: none; align-self: flex-start; }
.val-pill {
  margin-top: 70px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: calc(.40 * var(--c)); height: 60px; background: #fff; border-radius: 48px;
  font-size: 20px; font-weight: 500; color: #333;
}
.val-pill img:last-child { transition: translate .16s cubic-bezier(.4,.4,0,1); }
.val-pill:hover img:last-child { translate: 10px 0; }
.val-star { display: block; width: calc(.25 * var(--c)); height: auto; margin: 0 0 -20px calc(var(--m) + .375 * var(--c)); }

/* ===== カルーセル共通（トップページ実装を踏襲） ===== */
.carousel { position: relative; }
.car-viewport { overflow: hidden; width: 100%; }
.car-track { display: flex; transition: transform .45s ease; will-change: transform; }
.car-arrow {
  position: absolute; width: 80px; height: 80px; border-radius: 50%;
  background: #777; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.car-arrow:hover { background: #ff7a00; }
.car-prev { left: 100px; }
.car-next { right: 100px; }
/* hover: 橙化＋アイコンスワップ（live実測: a26ff2ca/b10c2d8d → cc4b834e） */
.car-arrow img { transition: opacity .16s; }
.car-arrow img.arr-hover { position: absolute; opacity: 0; }
.car-arrow:hover img.arr-normal { opacity: 0; }
.car-arrow:hover img.arr-hover { opacity: 1; }
/* hms: 細枠リング（hoverで橙ディスク・live hover実測） */
.car-arrow.plain { background: none; border: 2px solid #444; }
.car-arrow.plain:hover { background: #ff7a00; border-color: #ff7a00; }
.car-arrow.plain img { position: absolute; width: 37px; height: 34px; }

/* ===== Case Study ===== */
.casestudy { margin-top: 164px; }
.casestudy > .sec-label, .casestudy > .sec-title { margin-left: var(--m); }
.cs-carousel { margin-top: 46px; }
.cs-card {
  flex: none; width: 494px; margin-right: 100px;
  background: #fff; border-radius: 30px;
  position: relative; overflow: hidden;
}
.cs-card img.cs-photo { width: 494px; height: auto; }
.cs-card .cs-pad { padding: 47px 44px 0 50px; }
.cs-label { font-family: Roboto, sans-serif; font-size: 15px; letter-spacing: 1.5px; line-height: 15px; color: #444; }
.cs-title { font-size: 20px; font-weight: 700; line-height: 28px; color: #444; margin-top: 3px; }
.cs-body { font-size: 15px; line-height: 30px; color: #444; margin-top: 10px; }
.cs-more {
  position: absolute; right: 30px; bottom: 16px;
  display: flex; align-items: center; gap: 4px;
  font-size: 15px; line-height: 30px; color: #444;
}

/* ===== 下部CTA（consulting/stp） ===== */
.cta2 { margin-top: 120px; }
.cta2-sheep { display: block; width: 240px; height: auto; margin: 0 auto; }
.cta2-lead { margin-top: 20px; text-align: center; font-size: 20px; line-height: 28px; color: #333; }
.cta2-btn {
  margin: 20px auto 0;
  width: 500px; height: 117px; background: #fff; border-radius: 64px;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  font-size: 72px; font-weight: 900; color: #ff7a00; line-height: 1.4;
  transition: background .3s cubic-bezier(.4,.4,0,1), color .3s cubic-bezier(.4,.4,0,1);
}
.cta2-btn .plane-white { display: none; }
.cta2-btn:hover { background: #ff7a00; color: #fff; }
.cta2-btn:hover .plane-orange { display: none; }
.cta2-btn:hover .plane-white { display: block; }

/* ===== About Us（consulting/stp）: 本文は写真と垂直センター揃え（1920実測で確定） ===== */
.aboutus { margin-top: 120px; }
.au-label { font-size: 2vw; font-weight: 400; line-height: 1.4; color: #333; margin-left: var(--m); }
.au-title { font-size: 6vw; font-weight: 700; line-height: 1.4; color: #333; margin-left: var(--m); }
.au-row { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--m); }
.au-body { width: 414px; flex: none; }
.au-body p { font-size: 14px; line-height: 19.6px; color: #333; margin-bottom: 40px; }
.au-body p:last-child { margin-bottom: 0; }
.au-photo { width: calc(.544 * var(--c)); height: auto; flex: none; }

/* ===== ZAKONE（consulting/stp） ===== */
.zakone { position: relative; margin-top: 120px; padding-bottom: calc(2.2917vw + 86px); }
.zakone > * { margin-left: var(--m); }
.zk-title { font-size: 3vw; font-weight: 700; line-height: 1.4; color: #333; }
.zk-sub { font-size: 1.7vw; font-weight: 500; line-height: 1.4; color: #333; }
.zk-body { margin-top: 40px; width: 582px; font-size: 16px; line-height: 22.4px; color: #333; }
.zk-pill {
  margin-top: calc(1.6667vw + 16px);
  display: flex; align-items: center; gap: 4px;
  width: 352px; height: 50px; background: #fff; border-radius: 32px;
  padding: 0 20px;
  font-size: 24px; font-weight: 700; color: #333;
}
.zk-pill span { flex: 1; }
.zk-logo {
  position: absolute; top: 0; left: calc(var(--m) + .5047 * var(--c));
  width: calc(.44 * var(--c)); height: auto; margin: 0;
}

/* ===== hms: ヒーロー ===== */
.hms-hero { padding-top: 189px; height: 860px; box-sizing: border-box; margin: 0 50px; } /* live実測: Aboutセクション開始yは幅に依らず860固定 */
.hms-hero p {
  font-family: Roboto, sans-serif; font-size: 9.43vw; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.1; color: #fff;
}
.hms-hero h1 {
  font-size: 30px; font-weight: 400; letter-spacing: -1.2px; line-height: 2;
  color: #fff; margin-top: 20px;
}

/* ===== hms: About Service（左写真ブリード=セクション縦センターにabsolute・コラムがflow） ===== */
.hms-abs { position: relative; padding-left: calc(50vw + 60px); padding-right: 60px; }
.hms-abs-photo {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 50vw; height: auto; border-radius: 0 32px 32px 0;
}
.hms-abs-col { position: relative; }
.hms-abs-col .sec-title { font-size: 130px; line-height: 130px; }
.hms-abs-sub {
  font-size: 42px; font-weight: 600; letter-spacing: -1.68px; line-height: 1.4;
  color: #fff; margin-top: 3px;
}
.hms-abs-body { margin-top: 33px; width: calc(25vw - 60px); } /* 実測: 300@1440 / 420@1920 */
.hms-abs-body p { font-size: 15px; line-height: 30px; color: #fff; margin-bottom: 38px; }
.hms-abs-body p:last-child { margin-bottom: 0; }
.hms-abs-sheep { position: absolute; right: 0; bottom: 0; width: 300px; height: auto; }

/* ===== hms: Value 3カラム ===== */
.hms-val { margin-top: calc(290px - 6.25vw); } /* 実測: 200@1440 / 170@1920 */
.hms-val > .sec-label, .hms-val > .sec-title { margin-left: var(--m); }
.hms-val > .sec-title { font-size: 130px; line-height: 130px; }
.hms-val-grid {
  margin: 33px var(--m) 0;
  display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; row-gap: 64px;
}
.hms-val-grid .val-num { font-size: 130px; }
.hms-val-grid .val-ttl { margin: -70px 0 0 30px; }
.hms-val-grid .val-body { margin-top: 70px; }
.hms-val-img { display: block; width: 100%; } .hms-val-img > img { width: 100%; height: auto; border-radius: 20px; }

/* ===== hms: Case Study 見出し130px・x126 ===== */
.casestudy.hms-cs { margin-top: 164px; padding-bottom: 90px; }
.casestudy.hms-cs > .sec-label, .casestudy.hms-cs > .sec-title { margin-left: 126px; }
.casestudy.hms-cs > .sec-title { font-size: 130px; line-height: 130px; }
.cs-carousel.mt45 { margin-top: 45px; }

/* ===== hms: 右下フローティングボタン（トップページへ） ===== */
.float-btn {
  position: fixed; right: 40px; bottom: 20px; z-index: 2;
  width: 77px; height: 77px; border: 2px solid #444; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.float-btn.shown { opacity: 1; }
.float-btn { transition: background .3s; }
.float-btn:hover { background: #ff7a00; }
.float-btn img { position: absolute; transition: opacity .16s; }
.float-btn img.fb-hover { opacity: 0; }
.float-btn:hover img.fb-normal { opacity: 0; }
.float-btn:hover img.fb-hover { opacity: 1; }

/* ===== 動画モーダル（live実測: 全画面rgba(0,0,0,.9)・カード536x536白br10・controls付き非mute・下からフェードイン0.4s） ===== */
.vidbox { cursor: pointer; }
.vid-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
}
.vid-modal-back {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .9);
  opacity: 0; transition: opacity .4s cubic-bezier(.4,.4,0,1);
}
.vid-modal-card {
  position: relative; width: 536px; height: 536px;
  max-width: calc(100vw - 40px); max-height: calc(100vw - 40px);
  background: #fff; border-radius: 10px; overflow: hidden;
  opacity: 0; translate: 0 60px;
  transition: opacity .4s cubic-bezier(.4,.4,0,1), translate .4s cubic-bezier(.4,.4,0,1);
}
.vid-modal-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-modal.open { visibility: visible; }
.vid-modal.open .vid-modal-back { opacity: 1; }
.vid-modal.open .vid-modal-card { opacity: 1; translate: 0 0; }

/* ===== フッター（トップと同一） ===== */
footer { background: #fff; height: 170px; padding-top: 43px; }
.foot-links { display: flex; justify-content: center; align-items: center; }
.foot-links a {
  font-size: 15px; line-height: 30px; color: #444; padding: 0 70px;
  border-right: 1px solid #444;
  text-decoration: underline; text-underline-offset: 3px;
}
.foot-links a:last-child { border-right: none; }
.foot-copy { text-align: center; font-size: 15px; line-height: 30px; color: #444; margin-top: 32px; }

/* hms SP用写真（PC非表示） */
.hms-abs-photo-sp { display: none; }

/* ============================================================
   下層ページ SP/モバイル（実測= capture/live-*-sp480/700-ex.json）
   BP: SP≤540 / モバイル541-840 / PC≥841（トップページと同一）
   ============================================================ */
.sp-header, .sp-menu, .sp-ctabar { display: none; }

@media (max-width: 840px) {
  :root { --m: 20px; --c: calc(100vw - 40px); }
  main.grad-hms { --m: 25px; --c: calc(100vw - 50px); }
  #scroll_header, .hero-logo-img, .float-btn, .val-star, .car-arrow { display: none; }

  /* --- SPヘッダー＋メニュー（トップと同一実装） --- */
  .sp-header {
    display: flex; justify-content: space-between; align-items: center;
    position: fixed; top: 0; left: 0; width: 100%; z-index: 20;
    padding: 11px 20px 0 0;
  }
  .sp-header > a img { width: 160px; height: 38px; }
  .sp-burger { position: relative; z-index: 40; }
  .sp-burger img { width: 20px; height: 20px; }
  .sp-menu {
    display: block; position: fixed; inset: 0; z-index: 25;
    background: rgba(0, 0, 0, .88); padding-top: 218px;
    visibility: hidden; opacity: 0; translate: 10% 0;
    transition: opacity .4s cubic-bezier(.4,.4,0,1), translate .4s cubic-bezier(.4,.4,0,1), visibility 0s .4s;
  }
  .sp-menu.open { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
  .sp-menu-close { position: absolute; top: 20px; right: 20px; padding: 4px; }
  .sp-menu nav { width: 204px; margin: 0 auto; }
  .sp-menu nav a {
    display: block; width: 204px; height: 23px; color: #fff;
    font-family: Roboto, sans-serif; font-size: 20px; font-weight: 500; line-height: 20px;
    border-bottom: 1px solid #fff; margin-bottom: 31px;
  }
  .sp-menu-contact {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 204px; height: 68px; margin: 11px auto 0;
    background: #ff7a00; border-radius: 43px;
    color: #fff; font-size: 24px; font-weight: 500; font-family: Roboto, sans-serif;
  }

  /* --- 下部追従CTAバー（scroll>400で出現・トップと同一機構） --- */
  .sp-ctabar {
    display: flex; position: fixed; left: 0; bottom: 0; width: 100%; height: 100px;
    background: #ff7a00; z-index: 22;
    align-items: center; justify-content: space-between;
    padding: 0 25px 0 36px;
    transform: translateY(100%); transition: transform .3s cubic-bezier(.4,.4,0,1);
  }
  .sp-ctabar.shown { transform: translateY(0); }
  .sp-ctabar p { color: #fff; font-size: 18px; line-height: 25.2px; width: 216px; }
  .sp-ctabar a {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 173px; height: 40px; flex: none;
    border: 2px solid #fff; border-radius: 48px;
    color: #fff; font-size: 14px; font-weight: 700;
  }

  /* --- ヒーロー --- */
  .crumb { padding-top: 76px; margin: 0 25px; }
  .hero-title h1 { margin-top: 9px; }
  .hero-row { margin: 102px 25px 0; }
  .hero-sheep { display: none; }
  .videos { margin-top: 58px; }

  /* --- About Service（縦積み: 写真→本文） --- */
  .abs { margin-top: 50px; }
  .abs-row { display: flex; flex-direction: column-reverse; margin: 33px var(--m) 0; }
  .abs-photo { width: 100%; border-radius: 20px; }
  .abs-text { width: 100%; margin: 40px 0 0; }
  .abs-text p:last-child { margin-bottom: 0; }

  /* --- Value（縦積み） --- */
  .val { margin-top: 100px; }
  .val-rows { margin-top: 11px; }
  .val-row, .val-row.rev { display: block; padding: 0 var(--m); }
  .val-text { width: 100%; }
  .val-num, .hms-val-grid .val-num { margin-left: -15px; }
  .val-img { width: 100%; border-radius: 20px; }
  .val-pill { width: calc(.8 * var(--c)); margin: 24px 0 0; height: 54px; font-size: 16px; }

  /* --- Case Study（カルーセル寸法はトップSP/モバイル則） --- */
  .casestudy { margin-top: 100px; }
  .casestudy.hms-cs { margin-top: 50px; padding-bottom: 0; }
  .casestudy > .sec-label, .casestudy > .sec-title { margin-left: var(--m); }
  .casestudy.hms-cs > .sec-label, .casestudy.hms-cs > .sec-title { margin-left: 23px; }
  .cs-carousel, .cs-carousel.mt45 { margin-top: 45px; }
  .cs-card { height: var(--csh-r, auto); }

  /* --- 下部CTA --- */
  .cta2 { margin-top: 78px; }
  .cta2-lead { font-size: 14px; line-height: 19.6px; margin-top: 20px; }
  .cta2-btn {
    width: 251px; height: 56px; border-radius: 32px;
    font-size: 24px; line-height: 33.6px; gap: 12px; margin-top: 11px;
  }
  .cta2-btn img { width: 26px; height: 21px; }

  /* --- About Us（縦積み・写真下） --- */
  .aboutus { margin-top: 42px; }
  .au-label { font-size: 14px; line-height: 19.6px; }
  .au-row { display: block; padding: 0 var(--m); }
  .au-body { width: 100%; }
  .au-photo { display: block; width: calc(80vw - 32px); margin: 0 auto; }

  /* --- ZAKONE --- */
  .zakone { margin-top: 120px; padding-bottom: 128px; }
  .zk-body { width: auto; margin-right: var(--m); }
  .zk-pill { margin-top: 40px; }
  .zk-logo { position: static; width: calc(43.6vw - 15px); margin: 40px 0 0 calc(5.45vw + 18px); }

  /* --- hms --- */
  .hms-hero { padding-top: 76px; height: 474px; margin: 0 25px; }
  .hms-hero h1 { margin-top: 29px; }
  .hms-abs { padding: 0; margin: 0 25px; }
  .hms-abs-photo { display: none; }
  .hms-abs-photo-sp {
    display: block; width: 70vw; height: auto;
    margin: 16px -25px 0 auto; border-radius: 20px 0 0 20px;
  }
  .hms-abs-body { margin-top: 20px; width: 100%; }
  .hms-abs-sheep { display: none; }
  .hms-val { margin-top: 50px; }
  .hms-val-grid { display: grid; grid-template-columns: 1fr; row-gap: 0; margin: 11px 25px 0; }
  .hms-val-cell:nth-child(1) { order: 1; }
  .hms-val-img:nth-child(4) { order: 2; margin-top: 20px; }
  .hms-val-cell:nth-child(2) { order: 3; }
  .hms-val-img:nth-child(5) { order: 4; margin-top: 20px; }
  .hms-val-cell:nth-child(3) { order: 5; }
  .hms-val-img:nth-child(6) { order: 6; margin-top: 20px; }
  main.grad-hms { padding-bottom: 54px; }
  .hms-val-grid .val-body { margin-top: 0; }

  /* --- フッター --- */
  footer { height: 135px; padding-top: 16px; }
  .foot-links a { font-size: 15px; font-weight: 300; line-height: 30px; padding: 0 14px; }
  .foot-copy { font-size: 15px; font-weight: 300; line-height: 30px; margin-top: 25px; }
}

/* ===== モバイル帯（541-840）: PC寄りタイポ ===== */
@media (max-width: 840px) and (min-width: 541px) {
  .crumb { font-size: 20px; line-height: 28px; }
  .abs-text p { font-size: 15px; line-height: 30px; margin-bottom: 38px; }
  .val-num, .hms-val-grid .val-num { font-size: 80px; letter-spacing: -3.2px; line-height: 80px; }
  .val-ttl, .hms-val-grid .val-ttl { margin: -41px 0 0 40px; }
  .val-body, .hms-val-grid .val-body { margin-top: 0; }
  .val-img { margin-top: 30px; }
  .val-row + .val-row, .val-star + .val-row { margin-top: 41px; }

  .cs-card { width: calc(100vw - 210px); margin-right: 50px; }
  .cs-card img.cs-photo { width: 100%; }
  .hms-val-cell + .hms-val-img + .hms-val-cell, .hms-val-cell:nth-child(2), .hms-val-cell:nth-child(3) { margin-top: 11px; }
  .hms-hero p { font-size: 13vw; }
  .hms-abs-col .sec-title { font-size: 13vw; line-height: 1; }
  .hms-abs-sub { font-size: 46px; letter-spacing: -1.84px; line-height: 1; margin-top: 3px; }
  .hms-abs-photo-sp { margin-top: 16px; }
  .hms-abs-body p { font-size: 15px; font-weight: 400; line-height: 30px; margin-bottom: 38px; }
  .sp-ctabar { height: 100px; }
  .sp-ctabar p { font-size: 24px; line-height: 33.6px; width: 315px; }
  .sp-ctabar a { width: 200px; height: 68px; font-size: 28px; border-radius: 48px; }
}

/* ===== SP帯（≤540）: 縮小タイポ ===== */
@media (max-width: 540px) {
  .crumb { font-size: 14px; line-height: 19.6px; }
  .hero-title h1 { font-weight: 300; }
  .abs-sub { letter-spacing: -0.04em; }
  .abs-text p { font-size: 12px; font-weight: 300; line-height: 24px; margin-bottom: 20px; }
  .val > .sec-label { font-size: 14px; letter-spacing: 0.7px; line-height: 14px; }
  .val-num, .hms-val-grid .val-num { font-size: 40px; letter-spacing: -1.6px; line-height: 40px; }
  .val-ttl, .hms-val-grid .val-ttl { font-size: 20px; letter-spacing: 1px; line-height: 28px; margin: -21px 0 0 10px; }
  .val-body, .hms-val-grid .val-body { font-size: 12px; font-weight: 300; line-height: 24px; margin-top: 0; }
  .val-img { margin-top: 20px; }
  .val-row + .val-row, .val-star + .val-row { margin-top: 50px; }
  .val-pill { height: 36px; font-size: 14px; margin: 24px 0 0; }
  .val-pill img { width: 16px; height: auto; }
  .casestudy > .sec-label, .casestudy.hms-cs > .sec-label { font-size: 14px; line-height: 14px; }
  .casestudy.hms-cs > .sec-label { font-size: 12px; line-height: 12px; }
  .cs-card { width: calc(100vw - 84px); margin-right: 20px; border-radius: 20px; }
  .cs-card img.cs-photo { width: 100%; }
  .cs-card .cs-pad { padding: 14px 22px 0; }
  .cs-label { font-size: 10px; letter-spacing: 1px; line-height: 10px; }
  .cs-title { font-size: 15px; line-height: 21px; }
  .cs-body { font-size: 12px; line-height: 24px; }
  .cs-more { font-size: 10px; line-height: 20px; right: 24px; }
  .cs-more img { width: 10px; height: auto; }
  .cta2-sheep { width: 40vw; }
  .zk-title { font-size: 19.2px; line-height: 26.88px; }
  .zk-sub { font-size: 12px; line-height: 16.8px; }
  .zk-pill { width: 264px; height: 36px; font-size: 16px; }
  .zk-pill img { width: 16px; height: auto; }
  .hms-hero { height: 280px; }
  .hms-hero p { font-size: 40px; letter-spacing: -1.6px; line-height: 44px; }
  .hms-hero h1 { font-size: 11px; font-weight: 300; line-height: 22px; margin-top: 29px; }
  .hms-abs-col .sec-label { font-size: 10px; line-height: 10px; letter-spacing: 0.5px; }
  .hms-abs-col .sec-title { font-size: 40px; line-height: 40px; }
  .hms-abs-sub { font-size: 20px; font-weight: 500; letter-spacing: -0.8px; line-height: 20px; margin-top: 3px; }
  .hms-abs-body p { font-size: 12px; font-weight: 300; line-height: 24px; margin-bottom: 20px; }
  .hms-val > .sec-label { font-size: 12px; line-height: 12px; }
  .hms-val > .sec-title, .casestudy.hms-cs > .sec-title { font-size: 40px; line-height: 40px; }
  .hms-val-cell:nth-child(2), .hms-val-cell:nth-child(3) { margin-top: 51px; }
  .aboutus { margin-top: 51px; }
  footer { height: 82px; padding-top: 16px; }
  .foot-links a { font-size: 10px; line-height: 20px; }
  .foot-copy { font-size: 11px; line-height: 22px; margin-top: 8px; }
  .zakone { padding-bottom: 120px; }
}
