/* ===== service-layout.css ===== */
/* ---- 法人ページ 固有スタイル ---- */
/* page title band */
.pagetitle {
  position: relative;
  background: linear-gradient(120deg, #fdf9ef 0%, #f2f7f0 60%, #eef4f2 100%);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.pagetitle::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 110, 0.2), rgba(255, 202, 110, 0) 62%);
  pointer-events: none;
}
.pagetitle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-600, #2c456a), var(--gold) 55%, transparent);
}
.pagetitle .wrap {
  padding: 56px 0 46px;
}
.pt-en {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--navy-600, #2c456a);
  margin-bottom: 12px;
}
.pt-en::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gold);
}
.pagetitle h1 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: 0.06em;
  margin: 0;
}
.pt-lead {
  margin-top: 12px;
  color: #6d7d88;
  font-size: 14.5px;
  letter-spacing: 0.04em;
}
/* crumb bar */
.crumbbar {
  background: #f2f5f7;
  border-bottom: 1px solid var(--border);
}
.crumbbar .crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 11px 0;
}
.crumbs a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.crumbs a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.crumbs .sep {
  color: #b6c2cc;
}
.crumbs .here {
  color: var(--navy);
  font-weight: 600;
}
/* nav current page */
nav.main a.active {
  color: var(--navy);
  font-weight: 700;
  position: relative;
}
nav.main a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}
.dnav.active {
  color: var(--coral-600, #d9604c);
  font-weight: 700;
}
/* 見出しの文節折り返し */
.phz span {
  display: inline-block;
}
/* intro under title band */
.pagehero {
  position: relative;
  background: linear-gradient(180deg, #fbfcfd 0%, #fff 100%);
  overflow: hidden;
}
.pagehero .ph-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
  padding: 54px 0 64px;
}
.pagehero .hero-eyebrow {
  color: var(--navy);
}
.pagehero .lead-h {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 14px 0 20px;
  font-family: "Zen Maru Gothic", sans-serif;
}
.pagehero .sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
  max-width: 56ch;
}
.pagehero .micro {
  color: #7c8b96;
  font-size: 13.5px;
  margin-top: 12px;
}
.pagehero .hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn--outline-navy {
  background: #fff;
  color: var(--navy);
  border-color: rgba(22, 39, 63, 0.3);
}
.btn--outline-navy:hover {
  border-color: var(--navy);
  background: var(--mist);
}
/* 明るい背景では主ボタンをネイビー塗りに戻す */
.pagehero .hero-cta .btn--corp {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.pagehero .hero-cta .btn--corp:hover {
  background: var(--navy-700, #1f3a5f);
  box-shadow: var(--shadow-sm);
}
/* facts card */
@media (max-width: 960px) {
  .pagehero .ph-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 36px 0 52px;
  }
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* cases list */
.caselist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.caselist li {
  position: relative;
  padding: 18px 22px 18px 56px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.caselist li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--navy)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center/13px no-repeat;
}
.note {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--warm);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
}
.note .note-ico {
  color: var(--coral-600);
  flex: 0 0 auto;
  margin-top: 1px;
}
.note .note-ico svg {
  width: 22px;
  height: 22px;
}
.note p {
  color: var(--muted);
  font-size: 14.5px;
}

/* industry tags */
.itags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}
.itag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14.5px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.itag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--navy-600);
}
.itag:hover {
  border-color: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* 4-up reasons + corporate accent */
.reasons.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.reasons--corp .reason::before {
  background: linear-gradient(90deg, var(--navy-600), var(--gold));
}
.reasons--corp .reason .rn {
  color: var(--navy-600);
}
.reasons--corp .reason .rn::before {
  background: var(--navy-600);
}
@media (max-width: 1040px) {
  .reasons.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .reasons.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* single wide buyback panel */
.buy-single {
  max-width: 940px;
  margin: 0 auto;
}
.cats.cats-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 760px) {
  .cats.cats-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .cats.cats-3 {
    grid-template-columns: 1fr;
  }
}
/* 見出しを2段以内に収める（モバイルは一段絞る） */
@media (max-width: 480px) {
  .section-head h2 {
    font-size: 19px;
    line-height: 1.62;
    letter-spacing: 0.01em;
  }
  .faqband h2 {
    font-size: 19px;
  }
  .finalcta h2 {
    font-size: 19px;
    letter-spacing: 0.01em;
  }
  .pagehero .lead-h {
    font-size: 19.5px;
    letter-spacing: 0.01em;
  }
  .pagehero .ph-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pagehero .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .pagehero .hero-cta .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .faqband .inner {
    flex-direction: column;
    align-items: stretch;
  }
  .faqband .btn {
    white-space: normal;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 344px) {
  .section-head h2 {
    font-size: 17px;
  }
  .finalcta h2 {
    font-size: 17px;
  }
  .pagehero .lead-h {
    font-size: 16.5px;
  }
}
