/* =========================================================
   TOP / SECTIONS (cleaned)
   ========================================================= */

/* ---------- Pre-footer CTA ---------- */
.pre-footer-cta{
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid rgba(11,42,85,.08);
}

.pre-footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}

.pre-footer-text{ max-width: 560px; }

.pre-footer-title{
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
  color:#0b2a55;
}

.pre-footer-lead{
  margin: 0;
  font-size: 13px;
  color: #6b7a90;
}

.pre-footer-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.pre-footer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration:none;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(11,42,85,.18);
  color:#0b2a55;
  background: #fff;

  /* クリック奪取対策 */
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.pre-footer-btn.is-voice{
  background: #0b2a55;
  color: #fff;
  border-color: transparent;
}

.pre-footer-btn.is-post{
  background: rgba(11,42,85,.06);
}

.pre-footer-cta::before,
.pre-footer-cta::after{
  pointer-events: none;
}



@media (max-width: 900px){
  .pre-footer-inner{ flex-direction: column; align-items: flex-start; }
  .pre-footer-actions{ width: 100%; justify-content:flex-start; }
}

/* ---------- SECTION: world (BIG + 4cards) ---------- */
.section-world{ padding: 72px 0; }
.section-world .service-big{ margin-top: 22px; margin-bottom: 18px; }

/* BIG */
.section-world .card-big .card-whole{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
}
.section-world .card-big .card-media{ height: 100%; min-height: 260px; }
.section-world .card-big .card-media img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.section-world .card-big .card-body{
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 4 cards */
.section-world .top-services{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.section-world .top-services .card-whole{
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 18px;
}
.section-world .top-services .card-media{ aspect-ratio: 16 / 10; overflow: hidden; }
.section-world .top-services .card-media img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.section-world .top-services .card-body{ padding: 16px 16px 18px; }

@media (max-width: 1100px){
  .section-world .card-big .card-whole{ grid-template-columns: 1fr; }
  .section-world .card-big .card-media{ min-height: 220px; }
  .section-world .top-services{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .section-world{ padding: 52px 0; }
  .section-world .top-services{ grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Hover Background (Works) ---------- */
.hover-bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.95) contrast(0.95);
}
.hover-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(255,255,255,.72), rgba(255,255,255,.92)),
    linear-gradient(to bottom, rgba(255,255,255,.45), rgba(255,255,255,.85));
}
main{ position: relative; z-index: 1; }

/* ---------- Filters (single source of truth) ---------- */
.field-filters{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.field-filters .filter{
  text-align:left;
  background:#fff;
  border:1px solid rgba(11,42,85,.12);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 26px rgba(11,42,85,.08);
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  min-height: 92px;
}
.field-filters .filter .card-title{
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: .02em;
}
.field-filters .filter .card-text{
  margin: 0;
  font-size: 12px;
  color: rgba(11,42,85,.65);
  line-height: 1.5;
}
.field-filters .filter:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(11,42,85,.12);
  border-color: rgba(11,42,85,.20);
}
.field-filters .filter.is-active{
  background: rgba(11,42,85,.06);
  border-color: rgba(11,42,85,.35);
  box-shadow: 0 16px 40px rgba(11,42,85,.16);
}
.field-filters .filter:focus-visible{
  outline: 3px solid rgba(0,140,255,.35);
  outline-offset: 2px;
}
@media (max-width: 980px){
  .field-filters{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .field-filters{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .field-filters .filter{ padding: 14px 14px 12px; min-height: 88px; border-radius: 16px; }
}

/* ---------- Works grid ---------- */
.cards-3rows{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.card.work{
  border: 1px solid rgba(11,42,85,.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card.work:hover{
  transform: translateY(-3px);
  border-color: rgba(11,42,85,.22);
  box-shadow: 0 14px 34px rgba(11,42,85,.14);
}
.card.work .card-media{ aspect-ratio: 4 / 3; overflow: hidden; background: rgba(0,0,0,.04); }
.card.work .card-media img{ width: 100%; height: 100%; object-fit: cover; display:block; }
.card.work .card-body{ padding: 14px 14px 16px; }
.tags{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag{
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(11,42,85,.14);
  background: rgba(11,42,85,.04);
  color: rgba(11,42,85,.9);
}
@media (max-width: 1100px){
  .cards-3rows{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .cards-3rows{ grid-template-columns: 1fr; }
}

/* =========================================================
   HOT TOPICKS -> BANNERS
   ========================================================= */

.hot-topics--banner{ padding: 28px 0 10px; }

.hot-topics__head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin: 0 0 14px;
}
.hot-topics__dek{
  margin: 0;
  font-weight: 900;
  opacity: .80;
  letter-spacing: .02em;
}

/* pill */
.hot-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 1000;
  letter-spacing: .14em;
  font-size: 11px;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 10px 10px 0 rgba(0,0,0,.18);
  background: rgba(11,42,85,.92);
  color: #fff;
}
.hot-pill--hot{ background: #ff2a6d; }
.hot-pill--latest{ background: #0b2a55; }

/* grid */
.hot-banners{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* unique shapes */
.hot-banner:nth-child(1){ border-radius: 28px 28px 22px 28px; }
.hot-banner:nth-child(2){ border-radius: 22px 28px 28px 22px; transform: translateY(10px); }
.hot-banner:nth-child(3){ border-radius: 28px 22px 28px 28px; }

.hot-banner{
  --accent: #7aa6ff;
  position: relative;
  display:block;
  overflow:hidden;
  text-decoration:none;
  color:#fff;

  border: 3px solid color-mix(in srgb, var(--accent) 55%, rgba(255,255,255,.35));
  box-shadow:
    18px 18px 0 rgba(6,48,85,.14),
    0 32px 90px rgba(0,0,0,.22);

  min-height: clamp(220px, 26vh, 320px);
}

.hot-banner.is-yellow{ --accent:#f1ff45; }
.hot-banner.is-cyan  { --accent:#28c8ff; }
.hot-banner.is-pink  { --accent:#ff2a6d; }

.hot-banner__media{ position:absolute; inset:0; }
.hot-banner__media img{
  width:100%; height:100%;
  object-fit: cover; display:block;
  transform: scale(1.03);
  filter: contrast(1.04) saturate(1.08);
}

.hot-banner__overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 62%, rgba(0,0,0,.10) 100%),
    radial-gradient(700px 360px at 18% 30%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 65%);
}

.hot-banner__content{
  position: relative;
  z-index: 1;
  height: 100%;
  display:grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  max-width: 88%;
}

.hot-banner__kicker{ display:flex; align-items:center; gap: 10px; }
.hot-banner__tag{
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 900;
  opacity: .85;
}
.hot-banner__title{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 1000;
  letter-spacing: .01em;
  line-height: 1.06;
  text-shadow: 0 18px 42px rgba(0,0,0,.45);
}
.hot-banner__lead{
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  opacity: .90;
  line-height: 1.55;
}
.hot-banner__cta{
  margin-top: 2px;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  opacity: .95;
}

@media (hover:hover){
  .hot-banner{ transition: transform .16s ease, box-shadow .16s ease; }
  .hot-banner:hover{
    transform: translateY(-3px);
    box-shadow:
      22px 22px 0 rgba(6,48,85,.12),
      0 38px 110px rgba(0,0,0,.26);
  }
  .hot-banner:hover .hot-banner__media img{ transform: scale(1.06); }
}

/* 2列 */
@media (max-width: 1100px){
  .hot-banners{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hot-banner:nth-child(2){ transform: none; }
}

/* Mobile：横スクロール禁止（縦に積む） */
@media (max-width: 680px){
  .hot-banners{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hot-banner{
    width: 100%;
    max-width: 100%;
    min-height: 210px;
  }
  .hot-banner__content{ max-width: 92%; padding: 16px; }
  .hot-banner:nth-child(2){ transform: none; }
}

/* HEROに被せる（既に完了とのことなので値だけ整える想定） */
.hot-topics{
  position: relative;
  z-index: 5;
  margin-top: -140px;
  padding-top: 0;
}
@media (max-width: 860px){
  .hot-topics{ margin-top: -72px; }
}

/* =========================================================
   ENTRY BARS — “勢い”維持 / 青＆オレンジ影 / オレンジ大袈裟
   ========================================================= */

.entry-stage{
  background:
    linear-gradient(180deg,
      rgba(11,42,85,.92) 0%,
      rgba(11,42,85,.78) 45%,
      rgba(11,42,85,.66) 100%);
  padding: 36px 0 48px;
  position: relative;
  overflow: hidden;
}
.entry-stage::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    linear-gradient(105deg,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,0) 42%);
  transform: rotate(-2deg);
  pointer-events:none;
}

/* full-bleed 2 columns */
.entry-bars{
  display:grid;
  grid-template-columns: 1fr 1fr;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  gap: 22px;
  padding: 0 22px;  /* 端の逃げ */
}

/* base */
.entry-bar{
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: clamp(22px, 2.4vw, 44px);
  min-height: 180px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;

  text-decoration:none;
  color: #0b2a55;
  font-weight: 1000;
  letter-spacing: .02em;

  transform: skewX(-1.2deg) rotate(-0.3deg);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change: transform, box-shadow;
}

/* typography */
.entry-bar h3{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: .01em;
}
.entry-bar small{
  font-size: 13px;
  opacity: .75;
  font-weight: 900;
}

/* blue */
.entry-bar.is-problem{
  border: 4px solid #1e6cff;
  background: linear-gradient(180deg,#ffffff,#f2f7ff);
  box-shadow: 14px 14px 0 rgba(30,108,255,.55);
}
@media (hover:hover){
  .entry-bar.is-problem:hover{
    transform: translate(-2px,-2px) skewX(-1.2deg) rotate(0deg);
    box-shadow: 18px 18px 0 rgba(30,108,255,.65);
  }
}

/* orange */
.entry-bar.is-request{
  border: 4px solid #ff7a18;
  background: linear-gradient(180deg,#ffffff,#fff2e8);
  box-shadow: 14px 14px 0 rgba(255,122,24,.55);
  transform: skewX(-1.2deg) rotate(0.3deg);
}
@media (hover:hover){
  .entry-bar.is-request:hover{
    /* “もっと大袈裟” */
    transform: translate(-6px,-6px) skewX(-1.2deg) rotate(0deg) scale(1.03);
    box-shadow: 24px 24px 0 rgba(255,122,24,.72);
    filter: saturate(1.05);
  }
}

/* mobile: stack */
@media (max-width: 860px){
  .entry-bars{
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 14px;
  }
  .entry-bar{
    min-height: 150px;
    border-radius: 18px;
    transform: skewX(-1.0deg) rotate(0deg);
  }
  .entry-bar.is-request{
    transform: skewX(-1.0deg) rotate(0deg);
  }
}

/* =========================
   TOP-LAB: LATEST NEWS line fix
   ========================= */

/* section-headの中で “LATEST + NEWS” を横並び */
.top-lab .lab-title-row{
  display:flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

/* NEWS見出し（h3想定） */
.top-lab .lab-title{
  margin: 0;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: .14em;
  color: #0b2a55;
  line-height: 1.1;
}

/* edit-tag（既存のままでもいいが、top-lab内だけ影を紺に寄せるなら） */
.top-lab .edit-tag{
  box-shadow: 3px 3px 0 #0b2a55;
  transform: rotate(-6deg);
}


/* ===== TOP LAB (このセクションだけ) ===== */
.top-lab{
  background: linear-gradient(135deg, #ff7a18, #ffb347);
  border-radius: 28px 28px 0 0;
  padding: 26px 0 28px;
  color: #3a1200;
}

.top-lab .section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.top-lab h2{ margin: 0; }
.top-lab .sub{ font-size:12px; opacity:.75; }

/* LATEST NEWS 行（崩れてる所の本体） */
.top-lab .lab-kicker{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 10px 0 14px;
}

.top-lab .edit-tag{
  display:inline-flex;
  align-items:center;
  background:#0b2a55;
  color:#fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .14em;
  box-shadow: 8px 8px 0 rgba(11,42,85,.35);
  transform: rotate(-6deg);
}

.top-lab .lab-kicker-text{
  font-weight: 1000;
  letter-spacing: .10em;
}

/* 横スクロール棚 */
.top-lab .lab-row{
  display:flex;
  gap: 12px;
  overflow-x:auto;
  padding: 10px 6px 2px;
  -webkit-overflow-scrolling: touch;
}

.top-lab .lab-card{
  flex: 0 0 auto;
  width: 72vw;
  max-width: 420px;
  border-radius: 18px;
  overflow:hidden;
  border: 3px solid #3a1200;
  background: rgba(255,255,255,.9);
  box-shadow: 6px 6px 0 #3a1200;
  transform: rotate(-.6deg);
}

.top-lab .lab-card:nth-child(even){ transform: rotate(.8deg); }

.top-lab .lab-card img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
}

@media (min-width: 961px){
  .lab-lead{
    max-width: 420px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(0,0,0,.75);
  }
}

/* =========================
   TOP LAB (FINAL / CLEAN)
   PC: left text + right 3cards
   SP: text vertical + images horizontal scroll
   ========================= */

section.top-lab{
  /* ORANGE keep */
  background-color: #ff8a2a;
  background-image: linear-gradient(180deg, #ff8a1a 0%, #ffb24a 100%);
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;
  overflow: hidden;

  padding: 78px 0 92px; /* 縦幅しっかり */
  color: #3a1200;

  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
}

/* “勢い”の斜めハイライト */
section.top-lab::before{
  content:"";
  position:absolute;
  inset:-40px -80px;
  background:
    linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 42%),
    radial-gradient(900px 520px at 18% 12%, rgba(11,42,85,.12), transparent 65%);
  transform: rotate(-1.2deg);
  pointer-events:none;
  z-index: 0;
}

section.top-lab .container{
  position: relative;
  z-index: 1;
  background: transparent; /* 変な白背景が親に付いててもここは透明 */
}

/* ===== Head ===== */
section.top-lab .section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 18px;
}

section.top-lab .section-head h2{
  margin: 0;
  color: #0b2a55;
  font-weight: 1000;
  letter-spacing: .01em;
}

section.top-lab .sub{
  font-size: 12px;
  opacity: .78;
  color: rgba(11,42,85,.85);
}

/* LATEST NEWS 行（横並び） */
section.top-lab .lab-kicker{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 10px 0 20px;
}

section.top-lab .edit-tag{
  display:inline-flex;
  align-items:center;
  background:#0b2a55;
  color:#fff;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing:.12em;
  box-shadow: 8px 8px 0 rgba(0,0,0,.18);
  transform: rotate(-6deg);
}

section.top-lab .lab-kicker-text{
  margin: 0;
  font-weight: 1000;
  letter-spacing: .12em;
  color:#0b2a55;
}

/* ===== PC layout ===== */
.lab-split{
  display:grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 46px;
  align-items: center;
  min-height: 560px; /* “詰まった”を消す */
}

/* 左：文章（枠は無し。没入感を優先） */
.lab-copyPane{
  padding-right: 6px;
}

.lab-h{
  margin: 0 0 12px;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.16;
  letter-spacing: .02em;
  color:#0b2a55;
  font-weight: 1000;
}

.lab-body p{
  margin: 0;
  font-size: 15px;       /* 目立たせる */
  line-height: 2.05;     /* 没入感 */
  font-weight: 900;
  color: rgba(11,42,85,.92);
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.lab-body p + p{ margin-top: 14px; }

/* 右：3枚 */
.lab-gallery{ min-width:0; }

.lab-row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items:center;
}

.lab-card{
  display:block;
  position:relative;
  height: 340px;
  border-radius: 22px;
  overflow:hidden;

  border: 3px solid rgba(0,0,0,.85);
  box-shadow: 14px 14px 0 rgba(0,0,0,.65);

  background:#111;
  transform: rotate(-.6deg);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* 3枚の“段差” */
.lab-card:nth-child(2){ transform: rotate(.6deg) translateY(-10px); }
.lab-card:nth-child(3){ transform: rotate(-.2deg) translateY(6px); }

/* 謎の余白根絶 */
.lab-card img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.03);
  filter: contrast(1.02) saturate(1.05);
}

@media (hover:hover){
  .lab-card:hover{
    transform: translate(-6px,-6px) rotate(0deg) scale(1.01);
    box-shadow: 22px 22px 0 rgba(0,0,0,.65);
  }
  .lab-card:nth-child(2):hover{
    transform: translate(-9px,-9px) rotate(0deg) scale(1.03);
  }
}

/* ===== Tablet ===== */
@media (max-width: 1100px){
  section.top-lab{ padding: 56px 0 60px; }

  .lab-split{
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
  }

  .lab-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-card{ height: 260px; }

  .lab-card:nth-child(2),
  .lab-card:nth-child(3){ transform: none; }
}

/* ===== Mobile: text vertical + images horizontal scroll ===== */
@media (max-width: 680px){
  section.top-lab{ padding: 40px 0 44px; }

  .lab-row{
    display:flex;
    gap: 12px;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 10px 6px 2px;
  }

  .lab-card{
    flex: 0 0 auto;
    width: 84vw;
    max-width: 420px;
    height: 240px;
    scroll-snap-align: start;
    transform: none;
  }
}

/* 左：枠を撤去して“素の文章”にする */
.top-lab .lab-copyPane{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* 文章を読みやすく（オレンジ直載せ用） */
.top-lab .lab-body p{
  color: rgba(11,42,85,.92);
  font-weight: 800;
  font-size: 15px;
  line-height: 2.05;
  max-width: 42ch; /* 覗き見っぽい読み幅 */
}

/* 見出しを主役に */
.top-lab .section-head{
  display:block;              /* 2カラム解除 */
  margin-bottom: 18px;
}

.top-lab .section-head h2{
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  font-weight: 1000;
  letter-spacing: .01em;
  color: #0b2a55;
  text-shadow: 0 18px 40px rgba(0,0,0,.16);
}

.top-lab .section-head .sub{
  display:inline-block;
  font-size: 13px;
  font-weight: 900;
  color: rgba(11,42,85,.72);
}

/* 下のベージュを切り捨てる（上寄せトリミング） */
.top-lab .lab-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* ←ここで上に寄せる（10〜25%で調整） */
  transform: scale(1.08);      /* 少しズームして下をさらに捨てる */
  display: block;
}

@media (min-width: 961px){
  .top-lab .lab-split{
    align-items: start;
    gap: 56px;
  }
}

/* PCだけ：左テキストを少し右へ */
@media (min-width: 961px){
  .top-lab .lab-copyPane{
    padding-left: 32px;   /* ← 24〜48pxで微調整 */
  }
}

@media (min-width: 961px){
  .top-lab .lab-split{
    padding-left: 32px;   /* セクション全体を少し内側へ */
  }
}

@media (min-width: 961px){
  .top-lab .section-head{
    padding-left: 32px;
  }
}



/* entry-stage を上に持ち上げる */
.entry-stage{
  margin-top: -80px;   /* ← 60〜120pxで微調整 */
  position: relative;
  z-index: 3;         /* 上にかぶせる */
}

.entry-stage{
  margin-top: -100px;
  position: relative;
  z-index: 5;
}

@media (max-width: 680px){
  .entry-stage{
    margin-top: -20px;
  }
}


/* 最新の記事：見出し右にボタン */
.latest-blog .latest-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.latest-blog .latest-more{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;

  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;

  color: #0b2a55;
  background: rgba(255,255,255,.9);
  border: 2px solid rgba(11,42,85,.28);
  box-shadow: 6px 6px 0 rgba(11,42,85,.18);

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

@media (hover:hover){
  .latest-blog .latest-more:hover{
    transform: translate(-2px,-2px);
    box-shadow: 10px 10px 0 rgba(11,42,85,.22);
  }
}

.latest-blog .latest-more:focus-visible{
  outline: 3px solid rgba(0,140,255,.35);
  outline-offset: 2px;
}

/* SPは下に回す */
@media (max-width: 680px){
  .latest-blog .latest-head{
    align-items:flex-start;
    flex-direction: column;
  }
}

/* 上の被せに負けないように、最新の記事を少し下げる */
.latest-blog{
  padding-top: 42px; /* まずはこの値で。必要なら 52px とかに */
  position: relative;
  z-index: 1;
}


/* =========================
   PRE FOOTER CTA - NAVY VERSION
   ========================= */

.pre-footer-cta{
  background: linear-gradient(180deg, #0b2a55 0%, #0a2448 100%);
  padding: 96px 0 104px;
  position: relative;
  overflow: hidden;
}

/* ほんのり編集部ライト */
.pre-footer-cta::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(900px 400px at 15% 20%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(115deg, rgba(255,255,255,.06), rgba(255,255,255,0) 40%);
  pointer-events:none;
}

/* 中のカード */
.pre-footer-inner{
  background: rgba(255,255,255,.96);
  border: 4px solid #0b2a55;
  border-radius: 28px;
  box-shadow: 22px 22px 0 rgba(0,0,0,.45);
  padding: 46px 50px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* テキスト */
.pre-footer-title{
  color: #0b2a55;
}

.pre-footer-lead{
  color: rgba(11,42,85,.75);
}

/* CTA（影を少し強く） */
.pre-footer-btn{
  box-shadow: 10px 10px 0 rgba(0,0,0,.45);
}

@media (hover:hover){
  .pre-footer-btn:hover{
    box-shadow: 14px 14px 0 rgba(0,0,0,.55);
  }
}

/* Mobile */
@media (max-width: 860px){
  .pre-footer-cta{
    padding: 64px 0 72px;
  }
  .pre-footer-inner{
    padding: 26px 22px;
  }
}





/* =========================================================
   REQUEST: Intro / Sub-hero
   ========================================================= */

.section-request-intro{
  padding: 64px 0 44px;
  position: relative;
  overflow: hidden;
}

/* うっすら世界観の光 */
.section-request-intro::before{
  content:"";
  position:absolute;
  inset:-60px;
  background:
    radial-gradient(700px 320px at 18% 28%, rgba(40,200,255,.20), transparent 60%),
    radial-gradient(720px 360px at 82% 16%, rgba(255,42,109,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65));
  pointer-events:none;
}

.request-intro-inner{
  position: relative;
  z-index: 1;
  max-width: 980px;
}

/* kicker */
.request-intro-kicker{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 14px;
}
.request-intro-kicker .kicker-text{
  font-weight: 1000;
  letter-spacing: .10em;
  color: rgba(11,42,85,.85);
  font-size: 12px;
}

/* title */
.request-title{
  margin: 0 0 12px;
  font-weight: 1000;
  letter-spacing: .01em;
  line-height: 1.12;
  font-size: clamp(28px, 3.0vw, 44px);
  color: #0b2a55;
}
.request-title .accent{
  display:inline-block;
}

/* lead */
.request-lead{
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 900;
  color: rgba(11,42,85,.78);
  max-width: 56ch;
}

/* actions */
.request-intro-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}

/* section-head（request側で使うなら保険で定義） */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin: 0 0 18px;
}
.section-head-title{
  margin: 0;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: .02em;
  color:#0b2a55;
}
.section-head-lead{
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  color: rgba(11,42,85,.65);
}

@media (max-width: 680px){
  .section-request-intro{ padding: 46px 0 34px; }
  .request-lead{ font-size: 13px; line-height: 1.85; }
  .section-head{ display:block; }
  .section-head-lead{ margin-top: 6px; }
}


/* =========================================================
   REQUEST: Intro fix (override .section baseline)
   ========================================================= */

/* section の72pxを確実に上書き */
.section.section-request-intro{
  padding: 56px 0 34px;
}

/* container 幅が未定義でも破綻しないように */
.section-request-intro .request-intro-inner{
  max-width: 980px;
}

/* タイトルの見え方をTOPに寄せる（重く・詰める） */
.request-title{
  letter-spacing: .01em;
  line-height: 1.10;
}

/* 余白の“ダレ”を防ぐ */
.request-lead{
  margin-bottom: 16px;
}

/* SPはさらにコンパクトに */
@media (max-width: 680px){
  .section.section-request-intro{
    padding: 44px 0 28px;
  }
}

/* blog一覧：背景グラデを固定レイヤーで敷く（繰り返し/途切れ防止） */
body.is-blog-index{
  background: transparent !important;
}

/* 画面全体に固定で敷く */
body.is-blog-index::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  /* ここに好きなグラデを入れる */
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(120,200,255,.35), rgba(255,255,255,0) 60%),
    radial-gradient(900px 700px at 85% 70%, rgba(255,140,200,.28), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 45%, #f7fbff 100%);

  background-repeat: no-repeat;
}


/* =========================
   SERVICE SHELF (CLEAN)
   - PC: left(main) + right(2x2)
   - Tablet: 1col + right(2x2)
   - Mobile: 1col + right(2col) -> (1col under 560)
   ========================= */

/* =========================
   SERVICE SHELF (CLEAN / STABLE)
   ※ service-shelf 関連CSSはこれ“だけ”残す（他は削除推奨）
========================= */

.service-shelf{
  --wrap: 1120px;
  --gap: 18px;
  --r: 22px;

  --shadow: 0 22px 60px rgba(11,42,85,.16);
  --shadowSm: 0 14px 34px rgba(11,42,85,.12);

  padding: 44px 0 56px;
  background:
    radial-gradient(1100px 520px at 18% -10%, rgba(255,255,255,.90), rgba(255,255,255,0)),
    radial-gradient(900px 420px at 85% 30%, rgba(255,255,255,.72), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(120,190,255,.16), rgba(120,190,255,.06) 40%, rgba(120,190,255,.02));
  border-top: 1px solid rgba(11,42,85,.08);
  border-bottom: 1px solid rgba(11,42,85,.08);
}

.service-shelf .container{
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 16px;
}

/* --- Head --- */
.service-shelf .section-head{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: end;
  margin-bottom: 14px;
}
.service-shelf .section-head h2{
  margin: 0;
  font-weight: 900;
  letter-spacing: .02em;
}
.service-shelf .section-head .sub{
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 74ch;
}
.service-shelf .section-head .shelf-all{
  justify-self: end;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  font-weight: 900;
  opacity: .9;
}
.service-shelf .section-head .shelf-all:hover{ opacity: 1; }

/* --- Common card --- */
.service-shelf .shelf-item{
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.service-shelf .shelf-thumb{
  width: 100%;
  aspect-ratio: 1 / 1;     /* 縦長禁止：強制正方形 */
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(11,42,85,.10);
  box-shadow: var(--shadowSm);
  transform: translateZ(0);
}
.service-shelf .shelf-thumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-shelf .shelf-body{
  padding-top: 8px;
  min-width: 0;
}
.service-shelf .shelf-title{
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}
.service-shelf .shelf-lead{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.service-shelf .shelf-cta{
  display: inline-block;
  margin-top: 8px;
  font-weight: 900;
}

/* Hover */
@media (hover:hover){
  .service-shelf .shelf-item:hover .shelf-thumb{
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    transition: transform .16s ease, box-shadow .16s ease;
  }
}

/* =========================
   Layout
========================= */

/* default（モバイル含む）：縦に MAIN → SIDE */
.service-shelf .shelf-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: start;
}

/* --- MAIN（モバイル：縦積み）--- */
.service-shelf .shelf-item.is-main{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.service-shelf .shelf-item.is-main .shelf-title{
  font-size: 18px;
  line-height: 1.3;
}
.service-shelf .shelf-item.is-main .shelf-lead{
  font-size: 13px;
}

/* --- SIDE：モバイルでも2列（←要望）--- */
.service-shelf .shelf-side{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  justify-content: center;   /* 片寄り防止 */
  justify-items: stretch;    /* “中心からズレる”原因を潰す */
}
.service-shelf .shelf-side .shelf-item{
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

/* 文字の高さブレを抑えて、2×2が揃って見えるように */
.service-shelf .shelf-side .shelf-lead{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* =========================
   PC（デスクトップ）
   左：メイン大／右：4枚小を2x2固定
========================= */
@media (min-width: 1024px){

  .service-shelf{
    padding: 48px 0 60px;
  }

  .service-shelf .shelf-grid{
    /* 左を強めに、右を少し細めに固定 */
    grid-template-columns: minmax(640px, 1.25fr) minmax(360px, .75fr);
    gap: 28px;
    align-items: start;
  }

  /* MAIN：画像＋テキスト横並び（画像を“ちゃんとデカく”） */
  .service-shelf .shelf-item.is-main{
    grid-template-columns: clamp(420px, 34vw, 560px) 1fr;
    gap: 22px;
    align-items: start;
  }
  .service-shelf .shelf-item.is-main .shelf-body{
    padding-top: 6px;
    max-width: 56ch; /* スカスカ対策（行長を制限） */
  }
  .service-shelf .shelf-item.is-main .shelf-title{
    font-size: 22px;
    margin: 0 0 10px;
  }
  .service-shelf .shelf-item.is-main .shelf-lead{
    font-size: 14px;
    line-height: 1.7;
  }

  /* SIDE：2x2 固定、サイズは“右カラム幅に収まる” */
  .service-shelf .shelf-side{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    justify-content: start;  /* 右が変に右寄り/中央寄りにならない */
    justify-items: stretch;
  }

  .service-shelf .shelf-side .shelf-title{ font-size: 16px; }
  .service-shelf .shelf-side .shelf-lead{ font-size: 13px; }
}

/* さらに狭いモバイルでも“2列維持”する（好みでここは調整可） */
@media (max-width: 360px){
  .service-shelf .shelf-side{
    gap: 12px;
  }
  .service-shelf .shelf-title{ font-size: 14px; }
  .service-shelf .shelf-lead{ font-size: 12px; }
}

/* =========================
   RIGHT 4 TILES – SIZE DOWN
   ========================= */
@media (min-width: 1024px){

  /* 右カラム自体を少し細くする */
  .service-shelf .shelf-grid{
    grid-template-columns: minmax(640px, 1.35fr) minmax(320px, .65fr) !important;
  }

  /* 右4枚のセル幅を固定気味に抑える */
  .service-shelf .shelf-side{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    max-width: 360px;      /* ← ここが効く（全体を小さく） */
  }

  /* 各カードもこれ以上伸びないように */
  .service-shelf .shelf-side .shelf-item{
    width: 100%;
  }

  /* 画像サイズをさらに少し抑える */
  .service-shelf .shelf-side .shelf-thumb{
    aspect-ratio: 1 / 1;
    border-radius: 18px;
  }

  /* 文字も少し締める（バランス調整） */
  .service-shelf .shelf-side .shelf-title{
    font-size: 15px;
  }
  .service-shelf .shelf-side .shelf-lead{
    font-size: 12px;
  }
}


/* =========================
   PC: 右ブロックを左へ寄せる（スカスカ解消）
   ========================= */
@media (min-width: 1024px){
  .service-shelf .shelf-grid{
    /* 左を伸ばさない：固定寄り + 右は固定 */
    grid-template-columns: clamp(680px, 60vw, 780px) 360px !important;

    /* ★これが重要：余ったスペースは“右側に残す” */
    justify-content: start !important;

    column-gap: 28px !important;
  }

  /* 右ブロックの横幅はそのまま維持 */
  .service-shelf .shelf-side{
    max-width: 360px !important;
  }
}


/* =========================
   PC: 右4枚の“開きすぎ”を詰める
   ========================= */
@media (min-width: 1024px){
  /* 右カラムを少し広げて、見た目の間延びを減らす */
  .service-shelf .shelf-grid{
    grid-template-columns: clamp(680px, 60vw, 780px) 420px !important;
    justify-content: start !important;
    column-gap: 24px !important;
  }

  /* 右2x2：gapを締めて、タイルを左詰めで揃える */
  .service-shelf .shelf-side{
    max-width: 420px !important;
    gap: 14px !important;              /* ←ここが効く（12〜16推奨） */
    justify-content: start !important;
    justify-items: start !important;
  }

  /* 右サムネ：小さめ固定で“余白で広がる”のを防ぐ */
  .service-shelf .shelf-side .shelf-thumb{
    width: 190px !important;           /* 180〜200で調整 */
    max-width: 100% !important;
  }
}

/* =========================
   PC: 左＋右を “塊で中央寄せ”
   ========================= */
@media (min-width: 1024px){

  /* セクション内の最大幅を作って中央へ */
  .service-shelf .container{
    max-width: 1200px !important;  /* 1120〜1240で好み */
    margin-inline: auto !important;
  }

  /* 左＋右を1ブロックとして中央に */
  .service-shelf .shelf-grid{
    grid-template-columns: 1fr 420px !important; /* 右は固定幅（重要） */
    column-gap: 26px !important;
    justify-content: center !important;          /* ←塊を中央へ */
    align-items: start !important;
  }

  /* 右4枚の2x2も “中で散らない” ように左詰め */
  .service-shelf .shelf-side{
    width: 420px !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    justify-items: start !important;
  }

  /* サムネは列幅いっぱいでOK（これが一番整う） */
  .service-shelf .shelf-side .shelf-thumb{
    width: 100% !important;
  }
}


@media (min-width: 1024px){

  .service-shelf .container{
    max-width: 1160px !important;   /* 少し締める */
  }

  .service-shelf .shelf-grid{
    grid-template-columns: 1fr 380px !important;  /* ← 420 → 380 */
    column-gap: 20px !important;                  /* 隙間も少し詰める */
  }

  .service-shelf .shelf-side{
    width: 380px !important;
    gap: 16px !important;
  }
}


@media (min-width: 980px){
  .shelf-grid{
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    column-gap: 18px !important;
    align-items: start !important;
  }
  .shelf-side{ width: 360px !important; }
}