/* 会社名は一覧系では既定で非表示。TOPの代表カードだけ、末尾の専用ルールで表示する。
   詳細ページのプロフィール表は別マークアップのため影響しない。 */
.member-company {
  display: none !important;
}

/* ===== Reset WordPress error-page body constraint ===== */
body {
  max-width: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: var(--color-white) !important;
}

/* ===== Mobile Nav Overlay ===== */
.mobile-nav-overlay {
  position: fixed;
  top: 56px;
  left: 0;
  width: 100%;
  height: calc(100vh - 56px);
  min-height: calc(100svh - 56px);
  background: var(--color-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 42px 24px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.mobile-nav-menu a {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 22px;
  color: var(--color-dark);
  transition: opacity 0.2s ease;
}

.mobile-nav-menu a:hover {
  opacity: 0.6;
}

/* ===== Services layout ===== */
@media (min-width: 901px) {
  .services-grid {
    position: static;
    min-height: unset;
  }
}

/* ===== Works / Blog grid fallback ===== */
.works-track,
.blog-track,
.events-track {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.works-track::-webkit-scrollbar,
.blog-track::-webkit-scrollbar,
.events-track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 900px) {
  .works-track,
  .blog-track,
  .events-track {
    gap: 20px;
  }
}

/* ===== About banners carousel wrapper ===== */
.about-banners-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  max-width: 100%;
}

.about-banners {
  overflow: hidden;
  scroll-behavior: smooth;
}

/* ===== Section heading line variant ===== */
.section-heading .heading-line-bold {
  position: absolute;
  width: 162px;
  height: 3px;
  background: var(--color-black);
  left: 190px;
  bottom: -8px;
}

@media (max-width: 900px) {
  .section-heading .heading-line-bold {
    display: none;
  }
}

/* ===== PDF-aligned section overrides ===== */

.cv-btn-large {
  min-width: 0;
  width: 474px;
  height: 105px;
  padding: 19px 60px 20px 40px;
  border-radius: 66px;
  box-shadow: none;
}

.cv-btn-large span {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.cv-btn-large::after {
  right: 52px;
  font-size: 28px;
}

.cv-btn-large::before {
  content: none;
}

.cv-btn-large-orange {
  background: var(--color-white);
  border: 2px solid #ff6b2d;
  color: #ff6b2d;
}

.cv-btn-large-orange::after {
  color: #ff6b2d;
}

.cv-btn-large-dark::after {
  color: var(--color-white);
}

.cv-btn-large-dark {
  background: #2a080c;
  color: var(--color-white);
}

.cv-btn-large-outline {
  background: var(--color-white);
  border: 2px solid #2a2a2a;
  color: #1f1f1f;
}

.cv-btn-large-outline::after {
  color: #1f1f1f;
}

.cv-btn-large-light {
  background: var(--color-white);
  color: #ff6b2d;
}

.cv-btn-large-light::after {
  color: #ff6b2d;
}

.section-heading {
  padding-left: 130px;
  gap: 2px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 92px;
  height: 3px;
  background: var(--color-black);
}

.section-heading .en-title {
  font-size: 42px;
  line-height: 1.1;
}

.section-heading .ja-title {
  font-size: 18px;
  line-height: 1.5;
}

.section-heading .heading-line,
.section-heading .heading-line-bold {
  display: none;
}

#about {
  padding: 86px 0 78px;
  gap: 56px;
}

.about-text-block {
  max-width: 860px;
  padding-left: 190px;
  gap: 30px;
}

.about-label {
  font-size: 14px;
  font-weight: 700;
}

.about-headline {
  max-width: 620px;
  font-size: 52px;
  line-height: 1.12;
}

.about-body {
  max-width: 520px;
  font-size: 14px;
  line-height: 2;
}

.about-banners-wrapper {
  padding-left: 190px;
}

.about-banners {
  gap: 24px;
  padding-right: 190px;
}

.about-banner {
  width: 380px;
  height: 214px;
  border-radius: 8px;
}

.about-carousel-nav {
  gap: 10px;
  align-self: flex-end;
  padding-left: 0;
  padding-right: 190px;
  margin-top: 0;
}

#logo-marquee {
  padding: 24px 0 54px;
}

.marquee-track {
  gap: 40px;
}

.marquee-track img {
  height: 38px;
  opacity: 1;
}

#services {
  padding: 90px 0 108px;
  background: #f7f7f7;
}

.services-header,
.works-header,
.member-header,
.blog-header,
.media-header,
.events-header,
.news-header {
  margin-bottom: 42px;
}

/* ── Services: 2-column grid of horizontal cards (text left, image right) ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 80px;
  align-items: start;
}

/* Last item: if odd count, place in column 2 to right-align */
.services-grid > .service-item:last-child:nth-child(odd) {
  grid-column: 2;
}

/* Horizontal card */
.service-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-white);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  min-width: 0;
  position: relative;
}

.service-image {
  width: 160px;
  height: 120px;
  border-radius: 10px;
  background: #d6d6d6;
  flex-shrink: 0;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

/* Wrapper around eyebrow + title; transparent except on mobile grid layout */
.service-head {
  display: contents;
}

.service-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  color: #ff6b2d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.service-desc {
  max-width: none;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}

.service-desc p {
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  margin-top: 8px;
  border: 0;
  padding: 13px 16px 13px 24px;
  background: #ff6b2d;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}

.text-link .arrow-circle {
  width: 28px;
  height: 28px;
  background: var(--color-white);
}

.text-link .arrow-circle::after {
  font-size: 14px;
  color: #1b1a1a;
}

.services-cta,
.works-cta,
.member-cta,
.blog-cta,
.events-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

#works {
  padding: 86px 0 104px;
  background: var(--color-white);
}

.works-slider {
  padding: 0 88px;
}

.works-track {
  gap: 32px;
}

.work-item {
  width: calc((100% - 64px) / 3);
  min-width: 0;
  gap: 14px;
}

.work-link {
  gap: 14px;
}

.work-image {
  height: 196px;
  border-radius: 12px;
}

.work-title {
  font-size: 18px;
  line-height: 1.55;
}

.work-tags {
  gap: 18px;
  flex-wrap: wrap;
}

.work-tag {
  height: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.nav-btn {
  width: 40px;
  height: 40px;
  background: #232323;
}

.nav-btn::after {
  font-size: 16px;
}

.works-nav {
  top: 96px;
  left: 42px;
  right: 42px;
}

#member {
  padding: 88px 0 108px;
  background: #f7f7f7;
}

.member-intro {
  max-width: 1140px;
  padding: 0 72px;
  margin-bottom: 48px;
  font-size: 18px;
  line-height: 2;
}

.member-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 0.93fr));
  gap: 26px 22px;
  padding: 0 54px;
  align-items: end;
}

.member-card {
  position: relative;
  width: auto;
}

.member-card:first-child {
  grid-row: span 2;
}

.member-card:nth-child(5) {
  grid-column: 2;
}

.member-card:nth-child(6) {
  grid-column: 3;
}

.member-photo {
  height: 286px;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
}

.member-card:first-child .member-photo {
  height: 546px;
}

.member-photo img {
  object-fit: cover;
  object-position: center top;
}

.member-card-body {
  position: absolute;
  left: 24px;
  bottom: 18px;
  margin-top: 0;
  padding: 18px 22px;
  background: var(--color-white);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  max-width: 76%;
}

.member-card:first-child .member-card-body {
  left: 30px;
  bottom: 26px;
  max-width: 70%;
}

.member-role {
  font-size: 12px;
  line-height: 1.45;
  color: #333;
  margin-bottom: 6px;
}

.member-name {
  font-size: 20px;
  line-height: 1.3;
}

.member-card:first-child .member-name {
  font-size: 22px;
}

.member-romanized,
.member-description {
  display: none;
}

#blog {
  padding: 84px 0 106px;
}

.blog-slider {
  padding: 0 72px;
}

.blog-track {
  gap: 34px;
}

.blog-item {
  width: 344px;
  gap: 14px;
}

.blog-image {
  height: 194px;
  border-radius: 12px;
  background: #ececec;
}

.blog-title {
  font-size: 18px;
  line-height: 1.6;
}

.blog-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.blog-date::before {
  content: "◷";
  font-size: 16px;
  line-height: 1;
}

.blog-nav {
  padding: 0 72px;
  margin-top: 16px;
}

#media {
  padding: 86px 0 102px;
  background: var(--color-white);
  border-top: none;
}

.media-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  padding: 0 104px;
  align-items: start;
}

.media-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-card {
  display: flex;
  justify-content: center;
}

.spotify-card {
  max-width: 368px;
  padding: 20px;
  background: #ff9e35;
  border-radius: 24px;
}

.spotify-card-frame {
  padding: 16px 16px 14px;
}

.spotify-card-cover {
  margin-bottom: 14px;
}

.spotify-card-title {
  font-size: 22px;
}

.spotify-card-author {
  font-size: 15px;
}

.spotify-card-brand {
  margin-top: 14px;
  font-size: 16px;
}

.youtube-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.youtube-card-thumb {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.youtube-card-thumb img,
.youtube-card-thumb > div {
  width: 100%;
  height: 114px;
  border-radius: 10px;
  object-fit: cover;
}

.youtube-card-caption {
  font-size: 13px;
  line-height: 1.55;
  color: #111;
}

.media-panel-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.media-panel-label {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #ff6b2d;
}

.media-panel-title {
  font-size: 24px;
  line-height: 1.45;
}

.media-panel-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.media-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 4px;
  padding: 11px 18px 11px 20px;
  border: 2px solid #222;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.media-panel-link::after {
  content: "▶";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #222;
  color: var(--color-white);
  font-size: 10px;
}

#events {
  padding: 82px 0 100px;
  background: #ff6b2d;
  border-top: none;
}

#events .section-heading::before {
  background: var(--color-white);
}

#events .section-heading .en-title,
#events .section-heading .ja-title,
#events .event-title,
#events .event-date {
  color: var(--color-white);
}

.events-schedule-bar {
  height: 92px;
  margin: 0 88px 26px;
  background: var(--color-white);
  border-radius: 0;
  justify-content: center;
  color: #c7c7c7;
  font-size: 14px;
}

.events-slider {
  padding: 0 88px;
}

.events-track {
  gap: 18px;
  padding: 0;
}

.event-item {
  width: calc((100% - 36px) / 3);
  min-width: 0;
  gap: 10px;
}

.event-image {
  height: 136px;
  border-radius: 10px;
}

.event-title {
  font-size: 15px;
  line-height: 1.6;
}

.event-date {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.events-nav {
  justify-content: flex-end;
  padding: 0;
  margin-top: 14px;
}

#events .nav-btn {
  background: var(--color-white);
}

#events .nav-btn::after {
  color: #ff6b2d;
}

#news {
  padding: 84px 0 0;
  border-top: none;
}

.news-list {
  padding: 0 88px;
  gap: 34px;
}

.news-item {
  gap: 24px;
  align-items: flex-start;
  border-bottom: none;
  padding-bottom: 0;
}

.news-thumb {
  width: 116px;
  height: 82px;
  border-radius: 12px;
}

.news-content {
  gap: 10px;
  padding-top: 0;
}

.news-meta {
  gap: 18px;
  align-items: center;
}

.news-category {
  padding: 6px 18px;
  background: #e5e5e5;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
}

.news-date {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #ff6b2d;
}

.news-title {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
}

.news-detail-link {
  gap: 10px;
}

.news-detail-link .link-text {
  font-size: 14px;
  line-height: 1.3;
  border-bottom: 1px solid currentColor;
}

.news-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}

.news-visual {
  margin-top: 54px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.news-visual img {
  display: block;
  width: min(100%, 720px);
  height: auto;
}

#cta-band {
  background: #ff6b2d;
  padding: 44px 24px 56px;
}

.cta-band-inner {
  width: 100%;
  max-width: 1120px;
  gap: 28px;
}

.cta-band-card {
  width: 320px;
  background: var(--color-white);
  border-radius: 10px;
  padding: 24px 22px 22px;
  text-align: center;
}

.cta-band-card-title {
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.cta-band-card-desc {
  font-size: 12px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.cta-band-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 134px;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffb432;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
}

.cta-band-card-button-outline {
  background: var(--color-white);
  border: 2px solid #ff6b2d;
  color: #ff6b2d;
}

#site-footer {
  background: var(--color-white);
  padding: 56px 0 36px;
}

#site-footer .footer-inner {
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 36px;
}

.footer-main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 360px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-address {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  color: #1b1a1a;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.footer-nav-row li {
  display: inline-flex;
  align-items: center;
}

.footer-nav-row li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: #c4c4c4;
  margin: 0 18px;
}

.footer-nav-row a {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: #1b1a1a;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-nav-row a:hover {
  opacity: 0.6;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #ececec;
  padding-top: 24px;
}

.footer-copy {
  color: #1b1a1a;
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  #site-footer {
    padding: 40px 0 24px;
  }

  #site-footer .footer-inner {
    width: calc(100% - 40px);
    gap: 26px;
  }

  .footer-main {
    flex-direction: column;
    gap: 30px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-logo img {
    height: 44px;
  }

  .footer-links {
    align-items: flex-start;
    gap: 8px;
  }

  .footer-nav-row {
    justify-content: flex-start;
    gap: 4px 0;
  }

  .footer-nav-row li + li::before {
    margin: 0 12px;
  }

  .footer-nav-row a {
    font-size: 13px;
  }
}

@media (max-width: 1200px) {
  .section-heading {
    padding-left: 112px;
  }

  .section-heading::before {
    width: 76px;
  }

  .about-text-block,
  .about-banners-wrapper {
    padding-left: 132px;
  }

  .about-banners {
    padding-right: 80px;
  }

  .about-carousel-nav {
    padding-right: 80px;
  }

  .services-grid,
  .member-grid,
  .media-content,
  .news-list {
    padding-left: 40px;
    padding-right: 40px;
  }

  .works-slider,
  .blog-slider,
  .events-slider {
    padding-left: 48px;
    padding-right: 48px;
  }

  .works-nav,
  .blog-nav {
    padding-left: 48px;
    padding-right: 48px;
  }

  .events-schedule-bar {
    margin-left: 48px;
    margin-right: 48px;
  }

  .services-grid {
    gap: 20px;
    padding: 0 40px;
  }

  .services-right-grid {
    gap: 16px;
  }

  .service-item--featured .service-image {
    height: 240px;
  }

  .service-item--featured .service-title {
    font-size: 20px;
  }

  .member-intro {
    padding: 0 40px;
  }

  .member-grid {
    width: 100%;
    max-width: 978px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 0 24px;
    gap: 10px;
  }

  .member-card:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .member-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .member-card:nth-child(3) { grid-column: 3; grid-row: 1; }
  .member-card:nth-child(4) { grid-column: 4; grid-row: 1; }
  .member-card:nth-child(5) { grid-column: 2; grid-row: 2; }
  .member-card:nth-child(6) { grid-column: 3; grid-row: 2; }
  .member-card:nth-child(7) { grid-column: 4; grid-row: 2; }

  .member-photo { height: 270px; }

  .member-card:first-child .member-photo {
    height: 550px;
  }

  .member-card:first-child .member-card-body {
    left: 0;
    right: auto;
    bottom: 0;
    width: auto;
  }

  .blog-item,
  .work-item {
    width: 320px;
  }

  .media-content {
    gap: 32px;
  }

  .event-item {
    width: calc((100% - 24px) / 3);
  }

  .cta-band-card {
    width: calc((100% - 56px) / 3);
  }
}

@media (max-width: 900px) {
  .section-heading {
    padding-left: 68px;
  }

  .section-heading::before {
    top: 16px;
    width: 42px;
    height: 2px;
  }

  .section-heading .en-title {
    font-size: 34px;
  }

  .section-heading .ja-title {
    font-size: 15px;
  }

  #about {
    padding: 60px 0 48px;
    gap: 36px;
  }

  .about-text-block,
  .about-banners-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-headline {
    font-size: 32px;
  }

  .about-body {
    max-width: none;
  }

  .about-banners {
    padding-right: 0;
  }

  .about-banner {
    width: 300px;
    height: 170px;
  }

  .about-carousel-nav {
    padding-right: 0;
  }

  .cv-btn-large {
    width: min(100%, 320px);
    height: 84px;
    padding: 16px 52px 16px 34px;
  }

  .cv-btn-large::after {
    right: 34px;
    font-size: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 24px;
  }

  .services-right-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-item--featured .service-image {
    height: 200px;
  }

  .service-item {
    flex-direction: column;
  }

  .service-image {
    width: 100%;
    height: 160px;
  }

  .service-title {
    font-size: 18px;
  }

  .text-link {
    font-size: 16px;
  }

  .works-slider,
  .blog-slider,
  .events-slider {
    padding: 0 24px;
  }

  .works-nav,
  .blog-nav {
    position: static;
    transform: none;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
    padding: 0 24px 0 0;
  }

  .works-track,
  .blog-track,
  .events-track {
    gap: 20px;
  }

  .work-item,
  .blog-item,
  .event-item {
    width: 300px;
    min-width: 300px;
  }

  .member-intro {
    padding: 0 24px;
    margin-bottom: 32px;
    font-size: 15px;
  }

  .member-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 24px;
  }

  .member-card:first-child {
    grid-column: auto;
  }

  .member-photo,
  .member-card:first-child .member-photo {
    height: 360px;
  }

  .member-card-body,
  .member-card:first-child .member-card-body {
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
  }

  .blog-date {
    font-size: 13px;
  }

  .media-content {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 24px;
  }

  .spotify-card {
    max-width: 320px;
  }

  .youtube-card-grid {
    gap: 14px;
  }

  .youtube-card-thumb img,
  .youtube-card-thumb > div {
    height: 96px;
  }

  .events-schedule-bar {
    margin: 0 24px 20px;
    height: 76px;
    padding: 0 16px;
    text-align: center;
  }

  .events-nav {
    padding: 0;
  }

  .news-list {
    padding: 0 24px;
    gap: 28px;
  }

  .news-item {
    flex-direction: column;
    gap: 14px;
  }

  .news-thumb {
    width: 150px;
    height: 106px;
  }

  .news-meta {
    gap: 12px;
    flex-wrap: wrap;
  }

  .news-title {
    font-size: 16px;
  }

  .news-visual {
    margin-top: 40px;
  }

  .news-visual img {
    width: min(100%, 520px);
  }

  #cta-band {
    padding: 36px 20px 44px;
  }

  .cta-band-inner {
    flex-direction: column;
    gap: 18px;
  }

  .cta-band-card {
    width: 100%;
    max-width: 340px;
  }
}

/* ===== Reference CSS refinements ===== */

#about {
  display: none;
}

#logo-marquee {
  padding: 20px 0 28px;
  background: var(--color-white);
  overflow: hidden;
}

#logo-marquee .logo-row {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 8px 40px 16px;
}

#logo-marquee .logo-row img {
  display: block;
  width: 100%;
  max-width: 1180px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  #logo-marquee .logo-row {
    padding: 6px 16px 10px;
  }
}

@keyframes marquee-ltr {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.logo-marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  margin-bottom: 14px;
}

.logo-marquee-row:last-child {
  margin-bottom: 0;
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
  animation: marquee-ltr 20s linear infinite;
  will-change: transform;
}

.logo-marquee-track img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 個別ロゴの見た目サイズ調整はファイル末尾の「ロゴマーキー」セクション(--lmh)で一括管理 */

@media (max-width: 900px) {
  .logo-marquee-track {
    gap: 28px;
    animation-duration: 14s;
  }
}

#site-header {
  padding: 20px 60px 20px 50px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-logo img {
  height: 58px;
}

.header-nav {
  gap: 24px;
}

.nav-menu {
  gap: 18px;
}

.header-cta {
  gap: 14px;
}

.header-cta .cv-btn {
  height: 45px;
  padding: 11px 50px 12px 30px;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.05);
}

.header-cta .cv-btn span {
  font-size: 18px;
  line-height: 22px;
}

.header-cta .cv-btn:first-child {
  width: 206px;
}

.header-cta .cv-btn:last-child {
  width: 190px;
}

.header-cta .cv-btn::after {
  right: 14px;
}

#hero {
  min-height: 358px;
}

.hero-inner {
  min-height: 358px;
  padding: 2px 124px 28px 123px;
  max-width: 1134px;
  align-items: flex-start;
}

.hero-text {
  flex: 0 0 520px;
  width: 520px;
  padding-top: 0;
}

.hero-sub {
  display: none;
  max-width: 831px;
  font-family: 'M PLUS 1p', var(--font-ja);
  font-weight: 900;
  font-size: 38px;
  line-height: 1.47;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: #010101;
}

.hero-sub-em {
  color: #ff6b32;
}

.hero-headline,
.hero-highlight,
.hero-headline-no,
.hero-headline-pro,
.section-heading .en-title,
.service-title,
.work-title,
.member-name,
.blog-title,
.media-panel-title,
.event-title,
.news-title {
  font-family: 'M PLUS 1p', var(--font-ja);
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 10px;
}

.hero-headline-top {
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  line-height: 0.9;
}

.hero-highlight {
  font-size: 73px;
  line-height: 1.03;
  letter-spacing: 0;
  color: #FE6B32;
}

.hero-headline-no {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
  transform: translateY(-2px);
  color: #000000;
}

.hero-headline-pro {
  font-size: 73px;
  line-height: 1.03;
  letter-spacing: 0;
  color: #010101;
}

.hero-desc {
  max-width: 390px;
  font-family: 'Noto Sans JP', var(--font-ja);
  font-size: 14px;
  line-height: 1.56;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0;
  margin-bottom: 18px;
  color: #010101;
}

.hero-cta {
  gap: 20px;
}

.btn-hero-primary {
  height: 50px;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.05);
  font-family: 'Noto Sans JP', var(--font-ja);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
}

.btn-hero-primary:first-child {
  width: 240px;
  min-width: 240px;
  background: #FE6B32;
  color: var(--color-white);
  border: none;
}

.btn-hero-primary:last-child {
  width: 200px;
  min-width: 200px;
  background: var(--color-white);
  color: #FE6B32;
  border: 2px solid #FE6B32;
}

.hero-cta {
  gap: 20px;
}

.hero-visual {
  flex: 0 0 360px;
  width: 360px;
  height: 330px;
  margin-top: -74px;
  margin-left: auto;
}

.hero-group-photo {
  left: 0;
  right: auto;
  width: 330px;
  height: 376px;
}

.hero-cards {
  display: none;
}

.hero-desc--pc {
  display: none;
}

.hero-desc--mobile {
  display: block;
}

.hero-desc.hero-desc--mobile {
  white-space: nowrap;
  width: max-content;
  max-width: none;
  font-size: min(13px, 3.2vw);
}

.hero-sub--pc {
  display: none !important;
}

.hero-sub--mobile {
  display: block !important;
}

.hero-zoom-badge {
  width: 88px;
  height: auto;
  left: -95px;
  top: 153px;
}

.hero-mascot {
  width: 96px;
  height: 96px;
  left: -222px;
  top: 186px;
  z-index: 3;
}

.hero-arrow {
  width: 57px;
  height: auto;
  left: -292px;
  top: 206px;
  transform: matrix(0.98, 0.2, 0.2, -0.98, 0, 0);
  z-index: 2;
}

.section-heading {
  padding-left: 181px;
  gap: 6px;
}

.section-heading::before {
  top: 34px;
  width: 151.5px;
  height: 4px;
}

.section-heading .en-title {
  order: 2;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #888;
  text-transform: uppercase;
}

.section-heading .ja-title {
  order: 1;
  font-family: 'M PLUS 1p', var(--font-ja);
  font-weight: 900;
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

#services {
  padding: 84px 0;
  background: #f9f8f8;
}

.services-header,
.works-header,
.member-header,
.blog-header,
.media-header,
.events-header,
.news-header {
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 641px);
  justify-content: center;
  gap: 74px 39px;
  padding: 0 40px;
  align-items: start;
}

.services-grid > .service-item:last-child:nth-child(odd) {
  grid-column: 1;
}

.service-item {
  display: grid;
  grid-template-columns: 302px 277px;
  gap: 6px;
  align-items: start;
  width: 641px;
  min-height: 405px;
  padding: 42px 28px 32px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.05);
}

.service-item:nth-child(even) {
  transform: translateY(233px);
}

.service-item:nth-child(odd) {
  transform: none;
}

.service-text {
  gap: 14px;
}

.service-eyebrow {
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.service-title {
  font-weight: 900;
  font-size: 36px;
  line-height: 43px;
  letter-spacing: 0.05em;
}

.service-desc {
  font-size: 17px;
  line-height: 28px;
}

.service-image {
  width: 277px;
  height: 204px;
  border-radius: 20px;
}

/* Compact text-link for right-grid service cards */
.services-right-grid .text-link {
  font-size: 13px;
  padding: 8px 12px 8px 16px;
  gap: 8px;
  height: auto;
  white-space: nowrap;
}

.services-right-grid .text-link .arrow-circle {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.services-cta {
  margin-top: 58px;
}

.cv-btn-large-orange,
.cv-btn-large-dark,
.cv-btn-large-outline {
  width: 334px;
  height: 76px;
  padding: 24px 40px 26px 40px;
  border-radius: 206px;
  border-width: 2px;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.06);
}

.cv-btn-large-orange {
  border-color: var(--color-white);
}

.cv-btn-large-dark {
  border-color: var(--color-white);
}

.cv-btn-large-outline {
  border-color: #252525;
}

.cv-btn-large-orange span,
.cv-btn-large-dark span,
.cv-btn-large-outline span,
.cv-btn-large-light span {
  font-size: 22px;
  line-height: 26px;
}

.cv-btn-large-orange::after,
.cv-btn-large-dark::after,
.cv-btn-large-outline::after {
  right: 20px;
  font-size: 30px;
}

#works {
  padding: 84px 0;
  background: var(--color-white);
}

.works-slider {
  padding: 0 80px;
}

.works-track {
  gap: 48px;
}

.work-item {
  width: 346px;
  gap: 18px;
}

.work-image {
  height: 200px;
  border-radius: 10px;
}

.work-title {
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.work-tags {
  gap: 16px;
}

.work-tag {
  padding: 0 12px;
  height: 36px;
  border-radius: 20px;
  background: var(--color-white);
  font-size: 16px;
  line-height: 36px;
  font-weight: 500;
}

.nav-btn {
  width: 50px;
  height: 50px;
}

.works-nav {
  top: 176px;
  left: 15px;
  right: 15px;
}

#member {
  padding: 84px 0;
  background: #fbfdff;
}

.member-intro {
  max-width: 1078px;
  padding: 0;
  margin: 0 auto 52px;
  font-size: 20px;
  line-height: 32px;
}

.member-grid {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.member-card:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.member-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.member-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.member-card:nth-child(4) { grid-column: 4; grid-row: 1; }
.member-card:nth-child(5) { grid-column: 2; grid-row: 2; }
.member-card:nth-child(6) { grid-column: 3; grid-row: 2; }
.member-card:nth-child(7) { grid-column: 4; grid-row: 2; }

.member-photo {
  height: 220px;
  border-radius: 28px;
  overflow: hidden;
  border: 10px solid #ffffff;
  box-shadow: none;
  background: #f0f0f0;
}

.member-card:first-child .member-photo { background: #ffffff; }
.member-card:nth-child(2) .member-photo { background: #e06020; }
.member-card:nth-child(3) .member-photo { background: #3fb8d0; }
.member-card:nth-child(4) .member-photo { background: #e06020; }
.member-card:nth-child(5) .member-photo { background: #1e2844; }
.member-card:nth-child(6) .member-photo { background: #e06020; }
.member-card:nth-child(7) .member-photo { background: #ececec; }

.member-card:first-child .member-photo {
  height: 456px;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
}

.member-card:first-child .member-photo img {
  object-position: center 10%;
}

.member-card-body {
  left: 0;
  right: auto;
  bottom: 0;
  width: auto;
  min-height: auto;
  padding: 12px 16px 14px;
  border-radius: 0 20px 0 0;
  max-width: 85%;
}

.member-card:first-child .member-card-body {
  left: 0;
  right: auto;
  bottom: 0;
  width: auto;
  min-height: auto;
  padding: 16px 20px 18px;
}

.member-role {
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.01em;
}

.member-card:first-child .member-role {
  font-size: 16px;
  line-height: 23px;
}

.member-name {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.02em;
}

.member-card:first-child .member-name {
  font-size: 22px;
  line-height: 32px;
}

#blog {
  padding: 84px 0;
  background: #f9f8f8;
}

.blog-slider {
  padding: 0 0 0 0;
}

.blog-track {
  /* center だと4枚以上で左側があふれスクロール到達不能になる。
     3枚ちょうど(=1134px)なら flex-start でも見た目は同じ */
  justify-content: flex-start;
  gap: 48px;
}

.blog-item {
  width: 346px;
  gap: 18px;
}

.blog-image {
  height: 200px;
  border-radius: 10px;
}

.blog-title {
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.blog-date {
  gap: 4px;
  font-size: 16px;
  line-height: 36px;
}

.blog-nav {
  margin-top: 0;
  padding: 0 157px 0 0;
}

#media {
  padding: 84px 0 40px;
}

#media .section-heading {
  max-width: none;
  margin: 0;
  padding-left: 181px;
  gap: 8px;
}

#media .section-heading::before {
  left: 0;
  top: 21px;
  width: 154px;
  height: 4px;
}

#media .section-heading .en-title {
  order: 1;
  font-family: 'M PLUS 1p', var(--font-ja);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000;
}

#media .section-heading .ja-title {
  order: 2;
  font-family: var(--font-ja);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: #fe6b32;
}

.media-content {
  max-width: 1004px;
  margin: 0 auto;
  padding: 0;
  --media-visual-height: 446px;
  grid-template-columns: 360px 526px;
  justify-content: center;
  gap: 118px;
  align-items: stretch;
}

.media-panel-podcast {
  width: min(100%, 360px);
  justify-self: center;
}

.media-panel-youtube {
  width: 100%;
}

.media-panel {
  flex: none;
  gap: 34px;
}

.media-card {
  justify-content: center;
  align-items: stretch;
  flex: none;
  height: var(--media-visual-height);
}

.youtube-card-grid {
  flex: none;
  height: var(--media-visual-height);
  align-content: start;
}

.media-panel-label {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  width: auto;
  min-height: 28px;
  border-radius: 4px;
  background: #fe6b32;
  color: var(--color-white);
  font-size: 13px;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.media-panel-title {
  display: -webkit-box;
  min-height: calc(1.45em * 2);
  overflow: hidden;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #fe6b32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.media-panel-desc {
  max-width: 32ch;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: #222;
}

.media-panel-link {
  width: fit-content;
  padding: 11px 22px 11px 24px;
  min-height: 0;
  font-size: 16px;
  line-height: 1.2;
}

.youtube-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 25px 18px;
}

.youtube-card-thumb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: static;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
  background: none;
  border-radius: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.youtube-card-thumb:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.youtube-card-thumb-media {
  display: block;
  width: 100%;
  flex: none;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #ececec;
}

.youtube-card-thumb img,
.youtube-card-thumb-fallback {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.youtube-card-thumb-fallback {
  display: block;
  background: linear-gradient(180deg, #f0f0f0 0%, #d7d7d7 100%);
}

.youtube-card-caption {
  position: static;
  padding: 0;
  background: none;
  color: #111;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.5;
}

.media-panel-copy {
  gap: 9px;
  margin-top: auto;
}

.media-panel-podcast .media-card {
  height: var(--media-visual-height);
}

.media-panel-podcast .spotify-card {
  display: flex;
  width: min(100%, 250px);
  height: 100%;
  box-sizing: border-box;
  padding: 18px;
  overflow: hidden;
  border-radius: 18px;
}

.media-panel-podcast .spotify-card-frame {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 14px 14px 16px;
  overflow: hidden;
  border-radius: 12px;
}

.media-panel-podcast .spotify-card-cover {
  flex: 0 1 auto;
  max-height: 58%;
  margin-bottom: 14px;
  border-radius: 10px;
}

.media-panel-podcast .spotify-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.media-panel-podcast .spotify-card-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.media-panel-podcast .spotify-card-author {
  font-size: 13px;
  line-height: 1.5;
}

.media-panel-podcast .spotify-card-brand {
  margin-top: auto;
  font-size: 13px;
}

.media-panel-podcast .spotify-card-brand::before {
  width: 18px;
  height: 18px;
  background:
    linear-gradient(currentColor, currentColor) center 5px / 9px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center 8px / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center 11px / 9px 2px no-repeat;
}

#events {
  padding: 84px 0 120px;
  background: linear-gradient(180deg, #fe6b32 0%, #ff8657 100%);
}

.events-schedule-bar {
  width: 1134px;
  height: 164px;
  margin: 0 auto 48px;
}

.events-slider {
  padding: 0;
}

.events-track {
  /* blog-track と同じ理由で flex-start(4枚以上での見切れ防止) */
  justify-content: flex-start;
  gap: 48px;
}

.event-item {
  width: 346px;
  display: flex;
  flex-direction: column;
}

.event-item > a {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-item .event-title {
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.event-image {
  height: 200px;
  border-radius: 10px;
}

.event-date {
  display: inline-block;
  width: auto;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  font-size: 16px;
  line-height: 32px;
}

.event-title {
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.events-nav {
  justify-content: flex-end;
  max-width: 1134px;
  margin: 0 auto;
}

.cv-btn-large-light {
  width: 400px;
  height: 76px;
  padding: 24px 40px 26px 40px;
  border-radius: 206px;
}

.cv-btn-large-light::after {
  right: 20px;
}

#news {
  padding: 84px 0 0;
}

.news-list {
  gap: 52px;
}

.news-item {
  gap: 44px;
}

.news-thumb {
  width: 280px;
  height: 183px;
  border-radius: 20px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.09);
}

.news-category {
  display: none;
}

.news-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 39px;
  padding: 4px 0 0;
  border-radius: 50px;
  font-size: 24px;
  line-height: 35px;
  color: #fe6b32;
}

.news-title {
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0.01em;
}

.news-detail-link .link-text {
  font-size: 18px;
  line-height: 33px;
}

.news-detail-icon {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

.news-visual img {
  width: 798px;
}

#cta-band {
  padding: 94px 0;
  background: linear-gradient(180deg, #fe6c33 0%, #ff8455 100%);
}

.cta-band-inner {
  justify-content: center;
  gap: 56px;
}

.cta-band-card {
  width: 346px;
  min-height: 240px;
  padding: 38px 20px 46px;
  border-radius: 10px;
}

.cta-band-card-title {
  font-size: 25px;
  line-height: 30px;
  letter-spacing: 0.04em;
}

.cta-band-card-desc {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.01em;
}

.cta-band-card-button {
  min-width: 190px;
  height: 41px;
  padding: 9px 30px 10px;
  border-radius: 36px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.cta-band-card:nth-child(2) .cta-band-card-button {
  min-width: 204px;
  background: #fe6b32;
}

.cta-band-card:nth-child(3) .cta-band-card-button {
  min-width: 190px;
}

#site-footer {
  padding: 64px 0;
}

.footer-copy {
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 1200px) {
  #site-header {
    padding: 20px 28px;
  }

  .hero-inner {
    padding: 24px 24px 0;
  }

  .hero-text {
    width: auto;
  }

  .section-heading {
    padding-left: 136px;
  }

  .section-heading::before {
    width: 108px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    padding: 0 24px;
    gap: 24px;
  }

  .service-item,
  .service-item:nth-child(even) {
    width: 100%;
    transform: none;
  }

  .services-grid > .service-item:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .member-grid {
    width: 100%;
    max-width: 860px;
    grid-template-columns: 280px 1fr 1fr 1fr;
    padding: 0 24px;
    gap: 16px;
  }

  .member-card:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .member-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .member-card:nth-child(3) { grid-column: 3; grid-row: 1; }
  .member-card:nth-child(4) { grid-column: 4; grid-row: 1; }
  .member-card:nth-child(5) { grid-column: 2; grid-row: 2; }
  .member-card:nth-child(6) { grid-column: 3; grid-row: 2; }
  .member-card:nth-child(7) { grid-column: 4; grid-row: 2; }

  .member-photo { height: 220px; }
  .member-card:first-child .member-photo { height: 456px; }

  .member-card:first-child .member-card-body {
    left: 0;
    right: auto;
    bottom: 0;
    width: auto;
  }

  .media-content {
    padding: 0 40px;
    gap: 40px;
  }

  .events-schedule-bar {
    width: calc(100% - 80px);
  }

  .news-list {
    padding: 0 40px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  #hero {
    min-height: 358px;
  }

  .hero-inner {
    min-height: 358px;
    max-width: 1134px;
    padding: 2px 124px 28px 123px;
  }

  .hero-text {
    flex: 0 0 520px;
    width: 520px;
  }

  .hero-visual {
    flex: 0 0 360px;
    width: 360px;
    height: 330px;
    margin-top: -74px;
    margin-left: auto;
  }

  .hero-group-photo {
    left: 0;
    right: auto;
    width: 330px;
    height: 376px;
  }
}

@media (max-width: 900px) {
  #logo-marquee {
    padding: 26px 20px 42px;
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 22px;
  }

  .logo-grid img {
    max-width: 110px;
    max-height: 34px;
  }

  #site-header {
    padding: 16px 20px;
  }

  .section-heading {
    padding-left: 64px;
  }

  .section-heading::before {
    width: 40px;
    top: 17px;
    height: 3px;
  }

  .section-heading .en-title {
    font-size: 14px;
    line-height: 1.4;
  }

  .section-heading .ja-title {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero-inner {
    padding: 20px 20px 30px;
  }

  .hero-visual {
    flex: none;
    width: 100%;
    height: auto;
    margin-top: 0;
  }

  .hero-group-photo {
    width: 100%;
    height: auto;
  }

  .hero-zoom-badge {
    width: 96px;
    height: auto;
    left: 8px;
    top: auto;
    bottom: 88px;
  }

  .hero-mascot,
  .hero-arrow {
    display: none;
  }

  .hero-sub {
    display: block;
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 18px;
  }

  .hero-headline {
    gap: 6px;
    margin-bottom: 18px;
  }

  .hero-headline-top {
    gap: 4px;
  }

  .hero-highlight,
  .hero-headline-pro {
    font-size: 72px;
    line-height: 1;
  }

  .hero-headline-no {
    font-size: 58px;
    line-height: 0.96;
    transform: translateY(-1px);
  }

  .hero-desc {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .hero-cta {
    gap: 14px;
  }

  .services-grid {
    padding: 0 20px;
    grid-template-columns: 1fr;
  }

  .services-right-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    flex-direction: column;
    padding: 16px;
  }

  .service-image {
    width: 100%;
    height: 160px;
  }

  .service-title {
    font-size: 17px;
    line-height: 1.35;
  }

  .works-slider,
  .blog-slider {
    padding: 0 20px;
  }

  .works-nav {
    left: 20px;
    right: 20px;
    top: 146px;
  }

  .work-item,
  .blog-item {
    width: 300px;
  }

  .member-intro {
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.8;
  }

  .member-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .member-card:first-child,
  .member-card:nth-child(2),
  .member-card:nth-child(3),
  .member-card:nth-child(4),
  .member-card:nth-child(5),
  .member-card:nth-child(6),
  .member-card:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
  }

  .member-photo,
  .member-card:first-child .member-photo {
    height: 270px;
  }

  .media-content {
    padding: 0 20px;
    --media-visual-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .media-panel-podcast,
  .media-panel-youtube {
    width: auto;
  }

  .media-panel-podcast {
    justify-self: stretch;
  }

  .media-panel-podcast .media-card {
    height: auto;
  }

  .media-panel-title,
  .media-panel-desc {
    display: block;
    min-height: 0;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  .media-card,
  .youtube-card-grid {
    height: auto;
  }

  .youtube-card-grid {
    grid-template-rows: none;
  }

  .youtube-card-thumb-media {
    flex: none;
    aspect-ratio: 16 / 9;
  }

  .media-panel-podcast .spotify-card {
    width: min(100%, 220px);
    height: auto;
  }

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

  .events-schedule-bar {
    width: calc(100% - 40px);
    height: 84px;
  }

  .events-track {
    justify-content: flex-start;
  }

  .event-item {
    width: 300px;
    min-width: 300px;
  }

  .news-list {
    padding: 0 20px;
    gap: 28px;
  }

  .news-item {
    gap: 18px;
  }

  .news-thumb {
    width: 100%;
    max-width: 280px;
    height: 183px;
  }

  .news-date {
    font-size: 18px;
    line-height: 1.4;
  }

  .news-title {
    font-size: 18px;
    line-height: 1.7;
  }

  .news-visual img {
    width: min(100%, 520px);
  }

  .cta-band-card {
    min-height: 0;
  }

  .cta-band-card-title {
    font-size: 22px;
  }
}

@media (min-width: 760px) and (max-width: 900px) {
  .media-content {
    max-width: 820px;
    padding: 0 20px;
    --media-visual-height: 360px;
    grid-template-columns: 280px minmax(0, 420px);
    gap: 56px;
    align-items: stretch;
  }

  .media-panel-podcast {
    width: 280px;
    justify-self: center;
  }

  .media-panel-youtube {
    width: 100%;
  }

  .media-panel-podcast .media-card,
  .media-card,
  .youtube-card-grid {
    height: var(--media-visual-height);
  }

  .media-panel-podcast .spotify-card {
    width: min(100%, 220px);
    height: 100%;
  }

  .media-panel-title {
    display: -webkit-box;
    min-height: calc(1.45em * 2);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .media-panel-desc {
    min-height: 0;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .youtube-card-grid {
    grid-template-columns: 1fr;
  }

  .media-panel-title {
    font-size: 20px;
  }

  .media-panel-desc {
    font-size: 15px;
  }
}

/* =========================================================================
   TOP FV: MV.png（1440×611）基準のPC配置
   1200px以上はカンプの固定バランス、未満は既存の小型レイアウトを使う。
   ========================================================================= */
@media (min-width: 1041px) {
  #hero .hero-sub--pc .hero-sub-em {
    color: #ff6b32 !important;
  }

  #hero .hero-bg-col {
    opacity: 0.34 !important;
  }
}

@media (min-width: 1200px) {
  #hero {
    height: 611px !important;
    min-height: 611px !important;
    overflow: hidden !important;
  }

  #hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -170px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 150, 103, 0.36) 0%, rgba(255, 180, 140, 0.2) 42%, rgba(255, 255, 255, 0) 72%);
    z-index: 1;
    pointer-events: none;
  }

  #hero .hero-inner {
    grid-template-columns: 52.7% 38.8% !important;
    width: min(1167px, 100% - 12.5%) !important;
    height: 611px !important;
    min-height: 611px !important;
    padding: 18px 0 !important;
  }

  #hero .hero-text {
    transform: translateY(14px) !important;
  }

  #hero .hero-cta {
    gap: 22px !important;
  }

  #hero .hero-cta > .btn-hero-primary:first-child {
    width: 326px !important;
    min-width: 326px !important;
    padding-inline: 20px !important;
  }

  #hero .hero-consult-wrap .btn-hero-primary {
    width: 268px !important;
    min-width: 268px !important;
    padding-inline: 20px !important;
  }

  #hero .hero-visual {
    align-self: stretch !important;
    overflow: visible;
  }

  #hero .hero-team-photo {
    position: absolute;
    top: -4px;
    right: -65px;
    width: 544px;
    max-width: none;
    margin: 0;
    transform: none;
  }

  #hero .hero-pointing-person {
    left: 55%;
    bottom: calc(100% - 28px);
    width: 218px;
  }

  #hero .hero-trust-badge {
    left: 88%;
    bottom: calc(100% + 138px);
    width: 130px;
  }
}

/* =========================================================================
   録画ウェビナー制作代行 - full service detail page
   ========================================================================= */
.rw-page {
  --rw-orange: #ff5a24;
  --rw-orange-dark: #f34b17;
  --rw-cream: #fff7f2;
  --rw-ink: #1b1b1b;
  color: var(--rw-ink);
  background: #fff;
}

.rw-container {
  width: min(840px, calc(100% - 48px));
  margin-inline: auto;
}

.rw-wide {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}

.rw-hero { padding: 62px 0 58px; }
.rw-hero__inner { display: grid; grid-template-columns: minmax(0, 1.28fr) 390px; gap: 58px; align-items: center; }
.rw-hero__title { margin: 0 0 24px; padding-left: 17px; border-left: 7px solid var(--rw-orange); font-size: clamp(30px, 3vw, 42px); line-height: 1.35; }
.rw-hero__lead { margin: 0 0 14px; font-size: 16px; line-height: 2; }
.rw-hero__lead strong { font-size: 18px; }
.rw-hero__stats { margin: 0 0 28px; font-size: 13px; line-height: 1.9; font-weight: 700; }
.rw-hero__stats b { color: var(--rw-orange); }
.rw-hero__visual { margin: 0; }
.rw-hero__visual img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.12)); }
.rw-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.rw-page .rw-btn-yellow { background: #fdbd32; }
.rw-page .rw-btn-white { background: #fff; color: var(--rw-orange); }
.rw-page .rw-btn-white span { color: var(--rw-orange); }
.rw-page .rw-btn-white::after { border-top-color: var(--rw-orange); border-right-color: var(--rw-orange); }

.rw-toc { margin-top: 10px; margin-bottom: 52px; border: 1px solid #202020; padding: 26px 34px 30px; }
.rw-toc__title { margin: 0 0 18px; font-size: 20px; font-weight: 700; }
.rw-toc__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 34px; }
.rw-toc a { position: relative; padding: 8px 0 8px 17px; color: #1b1b1b; font-size: 13.5px; line-height: 1.55; text-decoration: none; border-bottom: 1px solid #eee; }
.rw-toc a::before { content: ""; position: absolute; left: 1px; top: 15px; width: 6px; height: 6px; border-right: 1.5px solid var(--rw-orange); border-bottom: 1.5px solid var(--rw-orange); transform: rotate(-45deg); }

.rw-section { padding: 50px 0 26px; scroll-margin-top: 90px; }
.rw-h2 { margin: 0 0 26px; padding: 14px 22px; background: var(--rw-orange); color: #fff; font-size: 24px; line-height: 1.5; }
.rw-lead { margin: 0 0 28px; font-size: 15.5px; line-height: 2; }
.rw-comp { margin: 34px 0; }
.rw-comp img { display: block; width: 100%; height: auto; }
.rw-comp--wide { width: min(1080px, calc(100vw - 64px)); margin-left: 50%; transform: translateX(-50%); }

.rw-highlight-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.rw-highlight-list li { position: relative; padding: 15px 20px 15px 42px; background: var(--rw-cream); border-radius: 4px; font-size: 14px; font-weight: 600; line-height: 1.8; }
.rw-highlight-list li::before { content: "✓"; position: absolute; left: 17px; top: 14px; color: var(--rw-orange); font-size: 17px; font-weight: 900; }

.rw-issue-cards { display: grid; gap: 14px; }
.rw-issue-cards article { border: 1px solid #f4d4c7; background: linear-gradient(90deg, #fff7f2, #fff); padding: 20px 25px; }
.rw-issue-cards h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.55; color: var(--rw-orange); }
.rw-issue-cards h3 span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 12px; border-radius: 50%; background: var(--rw-orange); color: #fff; font-size: 13px; }
.rw-issue-cards ul { margin: 0; padding-left: 23px; font-size: 14px; line-height: 1.9; }

.rw-feature-list { display: grid; gap: 22px; }
.rw-feature-list article { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 18px; padding: 0 0 23px; border-bottom: 1px solid #e5e5e5; }
.rw-feature-list article > span { display: grid; place-items: center; width: 52px; height: 52px; background: var(--rw-orange); color: #fff; font-size: 19px; font-weight: 700; }
.rw-feature-list h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.55; }
.rw-feature-list p { margin: 0; font-size: 14px; line-height: 1.9; }

.rw-support-list { display: grid; gap: 24px; }
.rw-support-list article { border: 1px solid #dedede; }
.rw-support-list header { display: flex; align-items: center; gap: 17px; padding: 15px 21px; background: #272727; color: #fff; }
.rw-support-list header > span { color: var(--rw-orange); font-size: 31px; font-weight: 800; }
.rw-support-list h3 { margin: 0; font-size: 21px; }
.rw-support-list h3 small { margin-left: 8px; font-size: 12px; font-weight: 500; color: #ddd; }
.rw-support-list header p { margin: 4px 0 0; font-size: 13px; }
.rw-support-body { display: grid; grid-template-columns: minmax(0,1fr) 190px; }
.rw-support-body ul { margin: 0; padding: 22px 25px 22px 47px; font-size: 13.5px; line-height: 1.9; }
.rw-support-body aside { padding: 22px; background: var(--rw-cream); border-left: 1px solid #f0d8cd; font-size: 13px; line-height: 1.9; }
.rw-support-body aside b { display: block; margin-bottom: 7px; color: var(--rw-orange); font-size: 14px; }
.rw-support-body aside p { margin: 0; }

.rw-zoom-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.rw-zoom-grid article { border: 1px solid #ddd; }
.rw-zoom-grid h3 { margin: 0; padding: 14px 18px; background: #292929; color: #fff; font-size: 18px; }
.rw-zoom-grid dl { margin: 0; padding: 10px 22px 20px; }
.rw-zoom-grid dt { margin-top: 16px; color: var(--rw-orange); font-size: 15px; font-weight: 700; }
.rw-zoom-grid dd { margin: 5px 0 0; font-size: 13px; line-height: 1.8; }
.rw-why { margin-top: 22px; padding: 20px 24px; background: var(--rw-cream); border-left: 5px solid var(--rw-orange); }
.rw-why h3 { margin: 0 0 9px; font-size: 18px; }
.rw-why p { margin: 0; font-size: 13.5px; line-height: 1.9; }
.rw-why b { color: var(--rw-orange); }

.rw-case-list { display: grid; gap: 28px; }
.rw-case-list article { border: 1px solid #e6e6e6; box-shadow: 0 4px 14px rgba(0,0,0,.045); padding: 28px 30px; }
.rw-case-label { display: inline-block; margin: 0 0 11px; padding: 5px 11px; background: var(--rw-orange); color: #fff; font-size: 12px; font-weight: 700; }
.rw-case-list h3 { margin: 0 0 8px; font-size: 21px; }
.rw-case-list h4 { margin: 0 0 13px; color: var(--rw-orange); font-size: 17px; line-height: 1.7; }
.rw-case-list article > p:not(.rw-case-label) { font-size: 13.5px; line-height: 1.9; }
.rw-metrics { display: flex; flex-wrap: wrap; margin: 20px 0; border-block: 1px solid #f2cbbb; }
.rw-metrics span { flex: 1 1 24%; min-width: 145px; padding: 15px 10px; text-align: center; font-size: 12px; font-weight: 700; }
.rw-metrics span + span { border-left: 1px solid #f2cbbb; }
.rw-metrics b { display: inline-block; color: var(--rw-orange); font-size: 21px; }
.rw-case-list blockquote { margin: 18px 0 0; padding: 17px 20px; background: var(--rw-cream); font-size: 13px; line-height: 1.9; }
.rw-results { margin-top: 30px; padding: 28px 30px; background: #fafafa; }
.rw-results h3 { margin: 0 0 20px; text-align: center; font-size: 20px; }
.rw-results > div { display: grid; grid-template-columns: repeat(4,1fr); }
.rw-results span { text-align: center; font-size: 12px; font-weight: 700; border-right: 1px solid #ddd; }
.rw-results span:last-child { border-right: 0; }
.rw-results span b { display: block; margin-top: 5px; color: var(--rw-orange); font-size: 18px; }
.rw-results > p { margin: 22px 0 0; text-align: center; font-size: 12px; line-height: 1.9; }

.rw-faq { margin-top: 58px; padding: 70px 0 82px; background: #f7f7f7; }
.rw-faq h2 { margin: 0 0 30px; font-size: 28px; }
.rw-faq__list { display: grid; gap: 18px; }
.rw-faq details { background: #fff; border: 1px solid #222; border-radius: 11px; padding: 0 25px; }
.rw-faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-size: 16px; font-weight: 700; line-height: 1.6; }
.rw-faq summary::-webkit-details-marker { display: none; }
.rw-faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; color: var(--rw-orange); font-size: 24px; }
.rw-faq details[open] summary::after { content: "−"; }
.rw-faq details p { margin: 0; padding: 0 0 21px; font-size: 13.5px; line-height: 1.9; }

.rw-bottom-cta { padding: 68px 0 74px; background: linear-gradient(135deg, #ff6a35, #fa4f1b); color: #fff; }
.rw-bottom-cta h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.55; }
.rw-bottom-cta p { margin: 0 0 25px; font-size: 14px; line-height: 1.8; }

@media (max-width: 900px) {
  .rw-wide { width: min(100% - 48px, 700px); }
  .rw-hero { padding-top: 42px; }
  .rw-hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .rw-hero__visual { max-width: 480px; }
  .rw-comp--wide { width: min(100vw - 32px, 900px); }
}

/* タブレット帯：hero/目次(.rw-wide)を本文セクション(.rw-container)と同じ840px幅に揃え、左端のズレを解消 */
@media (min-width: 641px) and (max-width: 900px) {
  .rw-wide { width: min(840px, calc(100% - 48px)); }
}

@media (max-width: 640px) {
  .rw-container, .rw-wide { width: calc(100% - 40px); }
  .rw-hero { padding: 34px 0 40px; }
  .rw-hero__title { padding-left: 12px; border-left-width: 5px; font-size: 26px; }
  .rw-hero__lead { font-size: 14px; line-height: 1.9; }
  .rw-hero__lead strong { font-size: 15px; }
  .rw-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .rw-page .cv-btn { min-width: 0; width: 100%; padding-inline: 20px; font-size: 15px; }
  .rw-toc { width: calc(100% - 40px); padding: 20px; margin-bottom: 22px; }
  .rw-toc__grid { grid-template-columns: 1fr; }
  .rw-section { padding: 38px 0 16px; }
  .rw-h2 { padding: 12px 15px; font-size: 18px; }
  .rw-lead { font-size: 14px; line-height: 1.9; }
  .rw-comp { margin: 24px 0; overflow-x: auto; }
  .rw-comp--wide { width: 100%; margin-left: 0; transform: none; }
  .rw-comp--wide img { min-width: 0; }
  .rw-feature-list article { grid-template-columns: 45px minmax(0,1fr); gap: 13px; }
  .rw-feature-list article > span { width: 42px; height: 42px; font-size: 15px; }
  .rw-feature-list h3 { font-size: 16px; }
  .rw-support-body { grid-template-columns: 1fr; }
  .rw-support-body aside { border-left: 0; border-top: 1px solid #f0d8cd; }
  .rw-support-list h3 { font-size: 17px; }
  .rw-zoom-grid { grid-template-columns: 1fr; }
  .rw-case-list article { padding: 22px 18px; }
  .rw-metrics span { flex-basis: 48%; }
  .rw-metrics span:nth-child(3) { border-left: 0; }
  .rw-results { padding: 22px 14px; }
  .rw-results > div { grid-template-columns: repeat(2,1fr); gap: 18px 0; }
  .rw-results span:nth-child(2) { border-right: 0; }
  .rw-faq { margin-top: 42px; padding: 50px 0 58px; }
  .rw-faq h2 { font-size: 24px; }
  .rw-faq details { padding: 0 18px; }
  .rw-faq summary { font-size: 14px; }
  .rw-bottom-cta { padding: 50px 0 54px; }
  .rw-bottom-cta h2 { font-size: 22px; }
}

/* ===================================================
   Works Archive Page (archive-works.php)
   =================================================== */

/* ---- Hero heading ---- */
.works-archive-hero {
  padding: 96px 0 56px;
  max-width: none;
  margin: 0;
}

/* TOP（#works）と同じ見出し：画面の左から始める */
.works-archive-hero .section-heading {
  padding-left: 212px;
  gap: 8px;
}

.works-archive-hero .section-heading::before {
  left: 0;
  top: 40px;
  width: 184px;
  height: 4px;
  background: var(--color-black);
}

.works-archive-hero .section-heading .ja-title {
  order: 1;
  font-family: 'M PLUS 1p', var(--font-ja);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--color-black);
}

.works-archive-hero .section-heading .en-title {
  order: 2;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: #ff6b32;
  text-transform: uppercase;
}

/* ---- Featured Slider Section ---- */
.works-featured-section {
  background: #f9f8f8;
  padding: 0 0 60px;
}

.works-featured-slider {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 0 20px;
}

.works-featured-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.works-featured-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.works-featured-card {
  flex: 0 0 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.works-featured-link {
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  min-height: 300px;
}

.works-featured-link:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
  transform: translateY(-2px);
}

.works-featured-image {
  flex: 0 0 420px;
  overflow: hidden;
  background: #e0e0e0;
}

.works-featured-image img,
.works-featured-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-featured-placeholder {
  background: #d6d6d6;
  min-height: 300px;
}

.works-featured-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 32px 36px 32px 0;
}

.works-featured-company {
  display: flex;
  align-items: center;
  gap: 12px;
}

.works-featured-logo {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.works-featured-company-name {
  font-family: var(--font-ja);
  font-size: 14px;
  color: #444;
  font-weight: 500;
}

.works-featured-title {
  font-family: 'M PLUS 1p', var(--font-ja);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-dark);
  margin: 0;
}

.works-featured-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.works-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.works-tag-label {
  font-size: 12px;
  color: #888;
  font-weight: 500;
  white-space: nowrap;
}

/* Tag badges */
.works-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.works-tag--industry {
  background: transparent;
  border: 1.5px solid #555;
  color: #333;
}

.works-tag--category {
  background: var(--color-dark, #2a080c);
  color: #fff;
  border: 1.5px solid transparent;
}

/* Slider arrow buttons */
.works-slider-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  font-size: 28px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 2;
  margin: 0 16px;
}

.works-slider-arrow:hover {
  background: var(--color-dark, #2a080c);
  color: #fff;
}

/* 文字グリフではなくCSSでチェブロンを描画（.nav-btnと同じ手法）。
   半正方形（上＋右ボーダー）の重心ズレを回転後に水平補正して円の中心に合わせる */
.works-slider-arrow::before {
  content: '';
  width: 0.55em;
  height: 0.55em;
  border-top: 0.12em solid currentColor;
  border-right: 0.12em solid currentColor;
  box-sizing: border-box;
}

.works-slider-prev::before {
  transform: translate(0.15em, 0) rotate(225deg);
}

.works-slider-next::before {
  transform: translate(-0.15em, 0) rotate(45deg);
}

/* Slider dots */
.works-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.works-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.works-slider-dot.is-active {
  background: var(--color-dark, #2a080c);
  transform: scale(1.2);
}

/* Download CTA */
.works-download-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.works-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 52px;
  background: var(--color-dark, #2a080c);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.works-download-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ---- Filter + Grid Section ---- */
.works-archive-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 60px 110px 100px;
}

/* Filter form */
.works-filter-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.works-filter-form {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.works-filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.works-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  font-family: var(--font-ja);
}

.works-filter-select-wrap {
  position: relative;
}

.works-filter-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #888;
  font-size: 12px;
}

.works-filter-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 44px;
  padding: 0 36px 0 16px;
  border: 1.5px solid #ccc;
  border-radius: 999px;
  font-size: 15px;
  font-family: var(--font-ja);
  color: #333;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.works-filter-select:focus {
  outline: none;
  border-color: var(--color-dark, #2a080c);
}

.works-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  background: #e8002d;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-ja);
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.works-filter-btn:hover {
  opacity: 0.85;
}

/* Result count */
.works-result-count {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
  font-family: var(--font-ja);
}

/* Works card grid */
.works-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-bottom: 60px;
}

.works-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.works-card:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.works-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.works-card-image {
  height: 220px;
  overflow: hidden;
  background: #e0e0e0;
}

.works-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.works-card:hover .works-card-image img {
  transform: scale(1.03);
}

.works-card-placeholder {
  width: 100%;
  height: 100%;
  background: #d6d6d6;
}

.works-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.works-card-company {
  display: flex;
  align-items: center;
  gap: 10px;
}

.works-card-logo {
  height: 22px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
}

.works-card-company-name {
  font-size: 13px;
  color: #555;
  font-weight: 500;
  font-family: var(--font-ja);
}

.works-card-title {
  font-family: 'M PLUS 1p', var(--font-ja);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
  margin: 0;
  flex: 1;
}

.works-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

/* No results */
.works-no-results {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-ja);
  color: #888;
  padding: 40px 0;
  font-size: 16px;
}

/* Pagination */
.works-pagination {
  display: flex;
  justify-content: center;
}

.works-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.works-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  background: #f4f4f4;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.works-pagination .page-numbers.current {
  background: var(--color-dark, #2a080c);
  color: #fff;
}

.works-pagination .page-numbers:hover:not(.current) {
  background: #e0e0e0;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .works-archive-hero,
  .works-archive-section {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 900px) {
  .works-archive-hero,
  .works-archive-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .works-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .works-featured-link {
    flex-direction: column;
    min-height: auto;
  }

  .works-featured-image {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .works-featured-body {
    padding: 20px 24px 24px;
  }

  .works-featured-card {
    padding: 0 16px;
  }

  .works-slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 22px;
    margin: 0 8px;
  }

  .works-filter-form {
    flex-direction: column;
    align-items: stretch;
    max-width: 400px;
  }

  .works-filter-field {
    min-width: 0;
    width: 100%;
  }

  .works-download-btn {
    font-size: 16px;
    padding: 0 36px;
    height: 56px;
  }
}

@media (max-width: 600px) {
  .works-archive-grid {
    grid-template-columns: 1fr;
  }

  .works-featured-title {
    font-size: 18px;
  }

  .works-card-title {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  /* PC用の左214px開始レイアウトをやめ、TOPモバイルと同じ中央見出しにする */
  .works-archive-hero {
    padding-top: 72px;
    padding-bottom: 36px;
  }

  .works-archive-hero .section-heading {
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .works-archive-hero .section-heading::before {
    display: none;
  }

  .works-archive-hero .section-heading .ja-title {
    font-size: 32px;
  }

  .works-archive-hero .section-heading .en-title {
    font-size: 22px;
  }
}

/* ===== Service Detail Page ===== */
.service-detail {
  background: #fff;
  color: #000;
}

.service-hero {
  max-width: 1060px;
  margin: 0 auto;
  padding: 115px 40px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 70px;
  align-items: center;
}

.service-hero__label {
  margin: 0 0 12px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 800;
  color: #fe6b32;
}

.service-hero__title {
  position: relative;
  margin: 0 0 42px;
  padding-left: 22px;
  font-family: var(--font-ja);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.service-hero__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 60px;
  background: #fe6b32;
}

.service-hero__lead {
  max-width: 560px;
  margin: 0 0 48px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.service-hero__actions,
.service-bottom-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.service-detail .cv-btn {
  min-width: 188px;
  height: 39px;
  padding: 8px 42px 9px 28px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.service-detail .cv-btn span {
  font-size: 15px;
  font-weight: 700;
}

.service-detail .service-btn-yellow {
  background: #fdba31;
}

.service-hero__visual {
  margin: 0;
  overflow: hidden;
  border-radius: 17px;
}

.service-hero__visual img {
  width: 100%;
  aspect-ratio: 380 / 280;
  object-fit: cover;
}

.service-anchor-nav {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 40px 72px;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  gap: 36px 14px;
}

.service-anchor-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding-right: 25px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.service-anchor-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}

.service-detail-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px;
  align-items: start;
}

.service-detail-main {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.service-detail-sidebar {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  padding-top: 8px;
  z-index: 5;
}

.service-detail-shell .service-anchor-nav {
  position: sticky;
  top: 96px;
  max-width: none;
  margin: 0;
  padding: 18px 18px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.service-detail-shell .service-anchor-nav a {
  width: 100%;
  padding: 10px 22px 10px 0;
  font-size: 14px;
  line-height: 1.55;
}

.service-detail-shell .service-anchor-nav a::after {
  width: 7px;
  height: 7px;
  border-width: 2px;
}

.service-detail-shell .service-section,
.service-detail-shell .wbpo-section {
  padding-right: 0;
  padding-left: 0;
}

.service-detail-shell .service-section:first-child,
.service-detail-shell .wbpo-section:first-child {
  padding-top: 8px;
}

.service-detail-shell .service-section > h2,
.service-detail-shell .service-section > .service-card-grid,
.service-detail-shell .service-section > .service-check-list,
.service-detail-shell .service-section > .service-case-list,
.service-detail-shell .service-section > .service-entry-content,
.service-detail-shell .wbpo-inner {
  max-width: none;
}

.service-section {
  padding: 80px 40px;
}

.service-section--gray {
  background: #f5f5f5;
}

.service-section > h2,
.service-section > .service-card-grid,
.service-section > .service-check-list,
.service-section > .service-case-list,
.service-section > .service-entry-content {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.service-section h2 {
  margin-bottom: 34px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-info-card,
.service-case-item {
  min-height: 112px;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.service-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.service-check-list li {
  position: relative;
  padding: 18px 20px 18px 52px;
  border-radius: 8px;
  background: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.service-check-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 25px;
  width: 15px;
  height: 9px;
  border-left: 3px solid #fe6b32;
  border-bottom: 3px solid #fe6b32;
  transform: rotate(-45deg);
}

.service-entry-content {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.9;
}

.service-entry-content:empty {
  display: none;
}

.service-case-list {
  display: grid;
  gap: 14px;
}

.service-case-item {
  min-height: 0;
}

.service-bottom-cta {
  justify-content: center;
  padding: 70px 40px 100px;
}

@media (max-width: 900px) {
  .service-hero {
    padding: 70px 24px 36px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-hero__title {
    margin-bottom: 28px;
    font-size: 32px;
  }

  .service-hero__lead {
    margin-bottom: 32px;
    font-size: 17px;
  }

  .service-anchor-nav {
    padding: 0 24px 54px;
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
  }

  .service-anchor-nav a {
    font-size: 17px;
  }

  .service-detail-shell {
    display: block;
    padding: 0 24px;
  }

  .service-detail-sidebar {
    align-self: auto;
    padding-top: 0;
  }

  .service-detail-shell .service-anchor-nav {
    position: static;
    margin-bottom: 12px;
    padding: 0 0 42px;
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .service-detail-shell .service-anchor-nav a {
    width: fit-content;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 17px;
  }

  .service-section {
    padding: 58px 24px;
  }

  .service-card-grid,
  .service-check-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .service-hero__actions,
  .service-bottom-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .service-detail .cv-btn {
    width: 100%;
  }

  .service-anchor-nav {
    grid-template-columns: 1fr;
  }

  .service-detail-shell .service-anchor-nav {
    grid-template-columns: 1fr;
  }
}

/* ===== Static Service Detail Pages ===== */
.service-detail-hero {
  max-width: 1060px;
  margin: 0 auto;
  padding: 115px 40px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
}

.service-detail-label {
  position: relative;
  margin: 0 0 12px;
  padding-left: 14px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 800;
  color: #fe6b32;
}

.service-detail-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 18px;
  border-radius: 8px;
  background: #fe6b32;
}

.service-detail-hero h1 {
  margin: 0 0 28px;
  font-family: var(--font-ja);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  color: #1b1a1a;
}

.service-detail-hero__text > p:not(.service-detail-label) {
  margin: 0 0 34px;
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  color: #2b2b2b;
}

.service-detail-hero__image {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.service-detail-hero__image img {
  width: 100%;
  aspect-ratio: 420 / 300;
  object-fit: cover;
}

.service-static-section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 72px 40px;
}

.service-static-section-alt {
  max-width: none;
  padding-left: max(40px, calc((100% - 1060px) / 2));
  padding-right: max(40px, calc((100% - 1060px) / 2));
  background: #f7f7f7;
}

.service-static-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.service-static-list li {
  padding: 24px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.service-static-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.service-static-card {
  padding: 28px;
  border-radius: 8px;
  background: #fff;
}

.service-static-card span {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 900;
  color: #fe6b32;
}

.service-static-card p {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.service-static-cta {
  max-width: 1060px;
  margin: 0 auto;
  padding: 84px 40px 110px;
  text-align: center;
}

.service-static-cta h2 {
  margin: 0 auto 34px;
  max-width: 760px;
  font-family: var(--font-ja);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0;
}

.service-static-cta .service-detail-hero__actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .service-detail-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 78px 24px 48px;
  }

  .service-detail-hero h1 {
    font-size: 34px;
  }

  .service-detail-hero__text > p:not(.service-detail-label) {
    font-size: 16px;
  }

  .service-static-section,
  .service-static-section-alt {
    padding: 58px 24px;
  }

  .service-static-list,
  .service-static-cards {
    grid-template-columns: 1fr;
  }

  .service-static-cta {
    padding: 64px 24px 82px;
  }

  .service-static-cta h2 {
    font-size: 24px;
  }
}

/* ===== Service Archive Page ===== */
.service-archive-hero {
  padding: 110px 40px 48px;
}

.service-archive-list {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.service-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.service-archive-card {
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
}

.service-archive-card a {
  display: block;
  height: 100%;
}

.service-archive-card img {
  width: 100%;
  aspect-ratio: 476 / 248;
  object-fit: cover;
}

.service-archive-card__body {
  padding: 28px;
}

.service-archive-card__body p {
  margin: 0 0 8px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  color: #fe6b32;
}

.service-archive-card__body h2 {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.4;
}

.service-archive-card__desc {
  display: block;
  margin: -8px 0 22px;
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  color: #4f4f4f;
}

.service-archive-empty {
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .service-archive-hero {
    padding: 70px 24px 38px;
  }

  .service-archive-list {
    padding: 0 24px 70px;
  }

  .service-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Static Pages ===== */
.static-page {
  background: #fff;
}

.static-page-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 110px 40px 34px;
}

.static-page-lead {
  max-width: 720px;
  margin: 30px auto 0;
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
  color: #333;
}

.download-embed {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.download-embed iframe {
  display: block;
  width: 100%;
  min-height: 1200px;
  background: #fff;
}

.static-download-page .static-page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1040px;
  padding: 86px 40px 24px;
  text-align: center;
}

.static-download-page .section-heading {
  align-items: center;
  gap: 8px;
  padding-left: 0;
  text-align: center;
}

.static-download-page .section-heading::before {
  content: none;
}

.static-download-page .section-heading .en-title {
  order: 1;
  margin: 0;
  font-family: var(--font-ja);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  color: #fe6b32;
}

.static-download-page .section-heading .ja-title {
  order: 2;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.static-download-page .static-page-lead {
  max-width: 760px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.85;
}

.static-download-page .download-embed {
  padding-top: 8px;
}

.company-profile {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 40px 110px;
}

.company-profile-list {
  margin: 0;
  border-top: 1px solid #e6e6e6;
}

.company-profile-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid #e6e6e6;
}

.company-profile-row dt,
.company-profile-row dd {
  font-family: var(--font-ja);
  line-height: 1.8;
}

.company-profile-row dt {
  font-size: 15px;
  font-weight: 800;
  color: #fe6b32;
}

.company-profile-row dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1b1a1a;
}

@media (max-width: 900px) {
  .static-page-hero {
    padding: 70px 24px 28px;
  }

  .static-page-lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
  }

  .download-embed {
    padding: 0 24px 70px;
  }

  .download-embed iframe {
    min-height: 1500px;
  }

  .static-download-page .static-page-hero {
    padding: 58px 24px 18px;
  }

  .static-download-page .section-heading {
    gap: 6px;
  }

  .static-download-page .section-heading .en-title {
    font-size: 14px;
  }

  .static-download-page .section-heading .ja-title {
    font-size: clamp(30px, 8.4vw, 38px);
  }

  .static-download-page .static-page-lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.75;
    text-align: center;
  }

  .company-profile {
    padding: 0 24px 76px;
  }

  .company-profile-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
  }

  .company-profile-row dd {
    font-size: 16px;
  }
}

/* ===== Member screenshot layout ===== */
#member {
  padding: 56px 0 72px;
  background: #fbfcfd;
}

#member .member-header {
  max-width: none;
  margin: 0 auto 18px;
}

#member .section-heading {
  padding-left: 100px;
  gap: 0;
}

#member .section-heading::before {
  top: 21px;
  left: 0;
  width: 85px;
  height: 3px;
  background: #111111;
}

#member .section-heading .ja-title {
  order: 1;
  font-family: 'M PLUS 1p', var(--font-ja);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  color: #050505;
}

#member .section-heading .en-title {
  order: 2;
  margin: 3px 0 0;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #ff6b2d;
}

#member .member-intro {
  max-width: 628px;
  margin: 0 auto 36px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0;
  color: #050505;
}

#member .member-grid {
  display: grid;
  grid-template-columns: 170px repeat(3, 120px);
  grid-template-rows: repeat(2, 170px);
  gap: 22px 26px;
  align-items: start;
  justify-content: center;
  max-width: 628px;
  margin: 0 auto;
  padding: 0;
}

#member .member-card {
  position: relative;
  width: 100%;
  height: 170px;
}

#member .member-card:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 238px;
}

#member .member-card:nth-child(2) { grid-column: 2; grid-row: 1; }
#member .member-card:nth-child(3) { grid-column: 3; grid-row: 1; }
#member .member-card:nth-child(4) { grid-column: 4; grid-row: 1; }
#member .member-card:nth-child(5) { grid-column: 2; grid-row: 2; }
#member .member-card:nth-child(6) { grid-column: 3; grid-row: 2; }
#member .member-card:nth-child(7) { grid-column: 4; grid-row: 2; }

#member .member-photo,
#member .member-card:first-child .member-photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 7px solid #ffffff;
  border-radius: 34px;
  background: #ececf1;
  box-shadow: 0 18px 36px rgba(22, 28, 45, 0.08);
}

#member .member-card:nth-child(2) .member-photo,
#member .member-card:nth-child(4) .member-photo,
#member .member-card:nth-child(6) .member-photo {
  background: #ff6b2d;
}

#member .member-card:nth-child(3) .member-photo {
  background: #18a8cc;
}

#member .member-card:nth-child(5) .member-photo {
  background: #172846;
}

#member .member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

#member .member-card:first-child .member-photo img {
  object-position: center top;
}

#member .member-card-body,
#member .member-card:first-child .member-card-body {
  position: absolute;
  right: 13px;
  bottom: 10px;
  left: auto;
  width: auto;
  max-width: 82px;
  min-height: 0;
  margin: 0;
  padding: 9px 10px 10px;
  border-radius: 17px 0 17px 0;
  background: #ffffff;
  box-shadow: none;
}

#member .member-card:first-child .member-card-body {
  right: 16px;
  bottom: 18px;
  max-width: 102px;
  padding: 11px 12px 12px;
}

#member .member-role,
#member .member-card:first-child .member-role {
  margin: 0 0 3px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  color: #050505;
}

#member .member-name,
#member .member-card:first-child .member-name {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  color: #050505;
  white-space: nowrap;
}

#member .member-romanized,
#member .member-description {
  display: none;
}

#member .member-cta {
  margin-top: 50px;
}

#member .member-cta .cv-btn-large {
  min-width: 196px;
  height: 48px;
  padding: 0 24px;
  border: 1.5px solid #111111;
  border-radius: 999px;
  background: transparent;
  color: #111111;
  font-size: 16px; /* 他セクションCTA(ブログ一覧等)と統一 */
  font-weight: 700;
  white-space: nowrap;
}

#member .member-cta .cv-btn-large span {
  white-space: nowrap;
}

#member .member-cta .cv-btn-large::after {
  color: #111111;
}

@media (min-width: 901px) and (max-width: 1200px) {
  #member .member-grid {
    max-width: 628px;
    grid-template-columns: 170px repeat(3, 120px);
    grid-template-rows: repeat(2, 170px);
    gap: 22px 26px;
    padding: 0;
  }

  #member .member-card:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 238px;
  }

  #member .member-photo,
  #member .member-card:first-child .member-photo {
    height: 100%;
  }
}

@media (max-width: 700px) {
  #member {
    padding: 48px 0 64px;
  }

  #member .member-header,
  #member .member-intro {
    max-width: none;
    margin-left: 24px;
    margin-right: 24px;
  }

  #member .section-heading {
    padding-left: 64px;
  }

  #member .section-heading::before {
    width: 48px;
  }

  #member .member-grid {
    grid-template-columns: repeat(2, minmax(0, 150px));
    grid-template-rows: none;
    gap: 18px;
    max-width: 330px;
    padding: 0 20px;
  }

  #member .member-card,
  #member .member-card:first-child {
    grid-column: auto;
    grid-row: auto;
    height: 216px;
  }
}

/* ===== First-view desktop restore ===== */
@media (min-width: 1201px) {
  #site-header {
    height: 80px;
    padding: 12px 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .site-logo img {
    width: 281px;
    height: auto;
    display: block;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .nav-menu a {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: #050505;
  }

  .header-cta {
    display: flex;
    gap: 14px;
  }

  .header-cta .cv-btn {
    height: 48px;
    border-radius: 999px;
    padding: 0 54px 0 33px;
    box-shadow: 0 6px 14px rgba(254, 107, 50, 0.12);
  }

  .header-cta .cv-btn:first-child {
    width: 234px;
    background: #fe6b32;
  }

  .header-cta .cv-btn:last-child {
    width: 215px;
    background: #fdb631;
  }

  .header-cta .cv-btn span {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
  }

  .header-cta .cv-btn::after {
    right: 22px;
    font-size: 24px;
  }

  .hamburger {
    display: none;
  }

  #hero {
    min-height: calc(100vh - 80px);
    height: 710px;
    max-height: 760px;
    background: #ffffff;
    overflow: visible;
  }

  .hero-bg-decor {
    display: block;
    opacity: 1;
  }

  .hero-bg-col {
    width: 322px;
    gap: 11px;
    opacity: 0.12;
    filter: saturate(0.98);
  }

  .hero-bg-col:nth-child(1) {
    left: -96px !important;
    top: 42px !important;
  }

  .hero-bg-col:nth-child(2) {
    left: 374px !important;
    top: -80px !important;
  }

  .hero-bg-col:nth-child(3) {
    left: 792px !important;
    top: 68px !important;
  }

  .hero-bg-thumb {
    width: 322px;
    height: 181px;
    border-radius: 8px;
  }

  .hero-inner {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: 46px 95px 44px 116px;
    display: flex;
    align-items: flex-start;
    position: relative;
  }

  .hero-text {
    flex: 0 0 650px;
    width: 650px;
    padding-top: 0;
    position: relative;
    z-index: 3;
  }

  .hero-sub {
    display: block;
    margin: 0 0 16px;
    font-family: 'M PLUS 1p', var(--font-ja);
    font-size: 43px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: 0.03em;
    color: #050505;
  }

  .hero-headline {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0 0 52px;
    font-family: 'M PLUS 1p', var(--font-ja);
  }

  .hero-headline-top {
    display: flex;
    align-items: flex-end;
    gap: 13px;
    line-height: 1;
  }

  .hero-highlight {
    font-size: 105px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    color: #fe6b32;
  }

  .hero-headline-no {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
    color: #050505;
    transform: translateY(-6px);
  }

  .hero-headline-pro {
    display: block;
    font-size: 105px;
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: 0;
    color: #050505;
  }

  .hero-desc {
    max-width: 448px;
    margin: 0 0 31px;
    font-family: 'Noto Sans JP', var(--font-ja);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.62;
    letter-spacing: 0.02em;
    color: #050505;
  }

  .hero-cta {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
  }

  .btn-hero-primary,
  .btn-hero-primary:first-child,
  .btn-hero-primary:last-child {
    height: 74px;
    border-radius: 999px;
    font-family: 'Noto Sans JP', var(--font-ja);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
  }

  .btn-hero-primary:first-child {
    width: 365px;
    min-width: 365px;
    padding: 0 34px;
    color: #ffffff;
    background: #fe6b32;
    border: 0;
  }

  .btn-hero-primary:last-child {
    width: 300px;
    min-width: 300px;
    padding: 0 28px;
    color: #fe6b32;
    background: #ffffff;
    border: 3px solid #fe6b32;
  }

  .hero-visual {
    position: absolute;
    right: 101px;
    top: 59px;
    width: 522px;
    height: 594px;
    flex: none;
    margin: 0;
    z-index: 2;
  }

  .hero-group-photo {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top right;
  }

  .hero-desc--pc {
    display: block;
  }

  .hero-desc--mobile {
    display: none;
  }

  .hero-sub--pc {
    display: block !important;
  }

  .hero-sub--mobile {
    display: none !important;
  }

  .hero-cards {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    width: 100%;
    position: relative;
  }

  .hero-card {
    position: relative;
    aspect-ratio: 1 / 1.08;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  }

  .hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-card:nth-child(2),
  .hero-card:nth-child(4) {
    transform: translateY(46px);
  }

  .hero-card--accent {
    background: #fe6b32;
  }

  .hero-zoom-badge {
    display: block;
    width: 126px;
    height: auto;
    left: 150px;
    top: 250px;
    z-index: 5;
  }

  .hero-mascot {
    display: block;
    width: 132px;
    height: 132px;
    left: -150px;
    top: 392px;
    z-index: 5;
  }

  .hero-arrow {
    display: block;
    width: 92px;
    height: auto;
    left: -250px;
    top: 420px;
    transform: rotate(12deg) scaleY(-1);
    z-index: 5;
  }
}

@media (min-width: 1500px) {
  .hero-inner {
    max-width: 1630px;
    padding-left: 116px;
    padding-right: 66px;
  }

  .hero-visual {
    right: 211px;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  #hero {
    min-height: 690px;
    overflow: hidden;
  }

  .hero-bg-decor {
    display: block;
  }

  .hero-bg-col {
    width: 240px;
    opacity: 0.1;
  }

  .hero-bg-col:nth-child(1) {
    left: -80px !important;
    top: 40px !important;
  }

  .hero-bg-col:nth-child(2) {
    left: 265px !important;
    top: -40px !important;
  }

  .hero-bg-col:nth-child(3) {
    left: 565px !important;
    top: 94px !important;
  }

  .hero-bg-thumb {
    width: 240px;
    height: 135px;
  }

  .hero-inner {
    min-height: 690px;
    padding: 28px 20px 32px;
    position: relative;
  }

  .hero-text {
    width: 470px;
    max-width: 470px;
    position: relative;
    z-index: 3;
  }

  .hero-sub {
    font-size: 32px;
    line-height: 1.38;
    margin-bottom: 14px;
  }

  .hero-highlight,
  .hero-headline-pro {
    font-size: 70px;
    line-height: 1;
  }

  .hero-headline-no {
    font-size: 52px;
  }

  .hero-desc {
    max-width: 390px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-cta {
    max-width: 455px;
  }

  .btn-hero-primary:first-child {
    width: 240px;
    min-width: 240px;
  }

  .btn-hero-primary:last-child {
    width: 200px;
    min-width: 200px;
  }

  .hero-visual {
    position: absolute;
    right: 6px;
    top: 132px;
    width: 385px;
    height: 438px;
    margin: 0;
    z-index: 2;
  }

  .hero-group-photo {
    position: absolute;
    left: 0;
    top: 0;
    width: 385px;
    height: 438px;
    object-fit: contain;
  }

  .hero-zoom-badge {
    display: block;
    width: 84px;
    left: -92px;
    top: 228px;
  }

  .hero-mascot {
    display: block;
    width: 74px;
    height: 74px;
    left: -178px;
    top: 310px;
  }

  .hero-arrow {
    display: block;
    width: 58px;
    left: -240px;
    top: 334px;
    transform: rotate(12deg) scaleY(-1);
  }
}

/* ===== Works section visual match ===== */
#works {
  padding: 96px 0 72px;
  background: var(--color-white);
  overflow: visible;
}

#works .works-header {
  max-width: none;
  margin: 0 0 72px;
}

#works .section-heading {
  padding-left: 212px;
  gap: 8px;
}

#works .section-heading::before {
  left: 0;
  top: 40px;
  width: 184px;
  height: 4px;
}

#works .section-heading .ja-title {
  order: 1;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--color-black);
}

#works .section-heading .en-title {
  order: 2;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  color: #ff6b32;
}

#works .works-slider {
  max-width: 1406px;
  margin: 0 auto;
  padding: 0 0 32px;
}

#works .works-track {
  gap: 60px;
  align-items: flex-start;
  overflow-y: visible;
}

#works .work-item {
  flex: 0 0 calc((100% - 120px) / 3);
  width: calc((100% - 120px) / 3);
  min-width: 0;
  gap: 22px;
}

#works .work-link {
  gap: 24px;
}

#works .work-image {
  width: 100%;
  height: auto;
  aspect-ratio: 430 / 248;
  border-radius: 8px;
  background: #e9e5df;
}

#works .work-title {
  min-height: 132px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.52;
  letter-spacing: 0.01em;
  color: var(--color-black);
}

#works .work-tags {
  gap: 18px;
}

#works .work-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 3px 15px 4px;
  border: 1.5px solid var(--color-black);
  border-radius: 999px;
  background: var(--color-white);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-black);
}

#works .works-nav {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 20px;
  left: auto;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding: 0;
  transform: none;
  pointer-events: none;
}

#works .works-nav .nav-btn {
  width: 44px;
  height: 44px;
  background: #252525;
  pointer-events: all;
}

#works .works-nav .nav-btn::after {
  font-size: 26px;
  line-height: 1;
}

#works .works-cta {
  margin-top: -12px;
}

#works .works-cta .cv-btn-large {
  width: 416px;
  height: 74px;
  padding: 12px 68px 12px 54px;
  border-radius: 999px;
  background: #252525;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

#works .works-cta .cv-btn-large span {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

#works .works-cta .cv-btn-large::after {
  right: 36px;
  font-size: 34px;
  font-weight: 400;
}

@media (max-width: 1500px) {
  #works .works-slider {
    max-width: calc(100% - 96px);
  }
}

@media (max-width: 900px) {
  #works {
    padding: 64px 0 72px;
    overflow: hidden;
  }

  #works .works-header,
  #works .works-slider {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  #works .works-header {
    margin-bottom: 32px;
  }

  #works .section-heading {
    padding-left: 24px;
  }

  #works .section-heading::before {
    display: none;
  }

  #works .section-heading .ja-title {
    font-size: 34px;
  }

  #works .section-heading .en-title {
    font-size: 24px;
  }

  #works .works-slider {
    padding: 0 0 76px 24px;
  }

  #works .works-track {
    gap: 22px;
  }

  #works .work-item {
    flex-basis: 300px;
    width: 300px;
    min-width: 300px;
  }

  #works .work-title {
    min-height: auto;
    font-size: 18px;
    line-height: 1.55;
  }

  .hero-desc-em {
    color: #ff6b32;
  }

  #works .work-tag {
    min-height: 32px;
    font-size: 13px;
    padding: 3px 12px 4px;
  }

  #works .works-nav {
    right: 24px;
    bottom: 12px;
  }

  #works .works-cta {
    margin-top: 0;
    padding: 0 24px;
  }

  #works .works-cta .cv-btn-large {
    width: 100%;
    max-width: 416px;
    height: 76px;
  }

  #works .works-cta .cv-btn-large span {
    font-size: 22px;
  }
}

/* ===== PDF top design final alignment ===== */
@media (min-width: 901px) {
  :root {
    --pdf-orange: #fe6b32;
    --pdf-soft-bg: #f7f7f7;
    --pdf-black: #111111;
  }

  body {
    font-family: 'Noto Sans JP', var(--font-ja);
    color: var(--pdf-black);
  }

  #site-header {
    height: 80px;
    padding: 14px 62px 12px;
    align-items: center;
    background: #ffffff;
  }

  .site-logo,
  .site-logo a {
    min-width: 0;
  }

  /* 高さ固定だとflex圧縮で横だけ潰れるため、比率維持で縮ませる */
  .site-logo img {
    width: auto;
    height: auto;
    max-height: 47px;
    max-width: 100%;
  }

  .header-nav {
    gap: 28px;
  }

  .nav-menu {
    gap: 26px;
  }

  .nav-menu a {
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    color: #000000;
  }

  .header-cta {
    gap: 14px;
  }

  .header-cta .cv-btn {
    height: 43px;
    padding: 0 42px 0 28px;
    border-radius: 999px;
  }

  .header-cta .cv-btn:first-child {
    width: 205px;
    background: var(--pdf-orange);
  }

  .header-cta .cv-btn:last-child {
    width: 190px;
    background: #fdb42b;
  }

  .header-cta .cv-btn span {
    font-size: 15px;
    font-weight: 900;
  }

  #hero {
    height: 642px;
    min-height: 642px;
    max-height: none;
  }

  .hero-inner {
    max-width: 1440px;
    padding: 42px 102px 42px 105px;
  }

  .hero-sub {
    display: block;
    margin-bottom: 13px;
    font-size: 42px;
    line-height: 1.32;
  }

  .hero-headline {
    gap: 10px;
    margin-bottom: 33px;
  }

  .hero-highlight,
  .hero-headline-pro {
    font-size: 101px;
    line-height: 1;
  }

  .hero-headline-no {
    font-size: 66px;
  }

  .hero-desc {
    margin-bottom: 22px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.62;
  }

  .hero-visual {
    top: 34px;
    right: 135px;
    width: 506px;
    height: 510px;
  }

  .hero-group-photo {
    width: 506px;
    height: 510px;
  }

  .hero-zoom-badge {
    left: -162px;
    top: 313px;
    width: 126px;
  }

  .hero-mascot {
    left: -386px;
    top: 369px;
    width: 110px;
    height: 110px;
  }

  .hero-arrow {
    left: -486px;
    top: 408px;
  }

  #logo-marquee {
    padding: 20px 0 30px;
  }

  .logo-marquee-row {
    overflow: hidden;
  }

  .logo-marquee-track {
    width: max-content;
    justify-content: flex-start;
    gap: 62px;
    animation: pdfLogoMarquee 28s linear infinite;
  }

  .logo-marquee-track[aria-hidden="true"] {
    display: flex;
  }

  .logo-marquee-track img {
    max-width: 225px;
    max-height: 68px;
    object-fit: contain;
  }

  @keyframes pdfLogoMarquee {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0);
    }
  }

  .section-heading {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 176px;
    gap: 6px;
  }

  .section-heading::before {
    left: 0;
    top: 32px;
    width: 151px;
    height: 4px;
    background: #000000;
  }

  .section-heading .ja-title {
    order: 1;
    font-family: 'M PLUS 1p', var(--font-ja);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0;
    color: #000000;
  }

  .section-heading .en-title {
    order: 2;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--pdf-orange);
  }

  #services {
    padding: 86px 0 104px;
    background: var(--pdf-soft-bg);
  }

  .services-header {
    margin-bottom: 122px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 641px);
    gap: 88px 39px;
    padding: 0 60px;
  }

  .services-grid > .service-item:last-child:nth-child(odd) {
    grid-column: 2;
  }

  .service-item {
    min-height: 392px;
    padding: 42px 28px 30px;
    border-radius: 18px;
    box-shadow: 2px 4px 9px rgba(0, 0, 0, 0.08);
  }

  .service-item:nth-child(even) {
    transform: translateY(-230px);
  }

  .service-item:nth-child(5) {
    transform: translateY(-230px);
  }

  .service-eyebrow {
    color: var(--pdf-orange);
    font-size: 19px;
    font-weight: 900;
  }

  .service-title {
    font-size: 33px;
    line-height: 1.14;
  }

  .service-desc {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.72;
  }

  .service-image {
    align-self: center;
    width: 277px;
    height: 204px;
    border-radius: 16px;
  }

  .service-item .text-link {
    position: absolute;
    right: 28px;
    bottom: 30px;
    margin-top: 0;
    padding: 11px 18px 12px 24px;
    border: 0;
    border-radius: 999px;
    background: #ff6b2d;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
  }

  .service-item .text-link .arrow-circle {
    width: 24px;
    height: 24px;
    background: #ffffff;
  }

  .service-item .text-link .arrow-circle::after {
    color: #1b1a1a;
  }

  .services-cta {
    margin-top: -68px;
  }

  .cv-btn-large-orange {
    width: 334px;
    height: 76px;
    background: var(--color-white);
    border: 2px solid var(--pdf-orange);
    color: var(--pdf-orange);
  }

  .cv-btn-large-orange span {
    color: var(--pdf-orange);
  }

  .cv-btn-large-orange::after {
    color: var(--pdf-orange);
  }

  #works,
  #blog,
  #news {
    padding-top: 90px;
    padding-bottom: 64px;
    background: #ffffff;
  }

  #member,
  #media {
    padding-top: 90px;
    padding-bottom: 96px;
    background: #f6f9fb;
  }

  #member {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 15% 18%, rgba(254, 107, 50, 0.07) 0 1px, transparent 2px),
      radial-gradient(circle at 82% 34%, rgba(255, 197, 65, 0.08) 0 1px, transparent 2px),
      linear-gradient(180deg, #f8fbfd 0%, #ffffff 58%, #f8fbfd 100%);
    background-size: 28px 28px, 34px 34px, 100% 100%;
  }

  #member::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 340px 210px at 2% 48%, rgba(254, 107, 50, 0.08), transparent 64%),
      radial-gradient(ellipse 300px 190px at 96% 42%, rgba(255, 195, 49, 0.10), transparent 66%);
  }

  #works .works-header,
  .member-header,
  .blog-header,
  .media-header,
  .events-header,
  .news-header {
    margin-bottom: 56px;
  }

  #works .works-slider,
  .blog-slider,
  .events-slider {
    /* 1440px時の左右余白153px(=10.6vw)を下位幅にも比例させ、見出しインデント(12.2vw)と平行に保つ */
    max-width: min(1134px, calc(100% - 21.2vw));
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  #works .works-track,
  .blog-track,
  .events-track {
    gap: 48px;
  }

  #works .work-item,
  .blog-item,
  .event-item {
    flex: 0 0 346px;
    width: 346px;
  }

  #works .work-image,
  .blog-image,
  .event-image {
    height: 200px;
    border-radius: 8px;
  }

  #works .work-title,
  .blog-title,
  .event-title {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.62;
    letter-spacing: 0;
  }

  #works .work-title {
    min-height: 90px;
  }

  #works .work-tag {
    min-height: 28px;
    padding: 2px 14px;
    border: 1px solid #000000;
    font-size: 13px;
    font-weight: 700;
  }

  #works .works-cta,
  .blog-cta {
    margin-top: 24px;
  }

  #works .works-nav,
  .blog-nav,
  .events-nav {
    max-width: 1134px;
    margin-left: auto;
    margin-right: auto;
  }

  #member .member-intro {
    max-width: 1078px;
    margin: 0 auto 74px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.85;
  }

  #member .member-grid {
    max-width: 1068px;
    grid-template-columns: 312px repeat(3, 220px);
    grid-template-rows: repeat(2, 290px);
    justify-content: center;
    align-items: stretch;
    gap: 26px 24px;
    position: relative;
    z-index: 1;
  }

  #member .member-card:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #member .member-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 11px 28px rgba(30, 38, 48, 0.10);
  }

  #member .member-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  #member .member-card-link:hover {
    opacity: 0.92;
    transform: translateY(-3px);
  }

  #member .member-card:first-child {
    min-height: 606px;
  }

  #member .member-photo,
  #member .member-card:first-child .member-photo {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background-color: #fff2ed;
    background-image:
      radial-gradient(circle at 18% 28%, rgba(255, 111, 49, 0.72) 0 2px, transparent 3px),
      radial-gradient(circle at 84% 28%, rgba(255, 216, 111, 0.72) 0 2px, transparent 3px),
      linear-gradient(135deg, #fff7f3 0%, #ffe6df 100%);
    background-size: 26px 26px, 24px 24px, 100% 100%;
    overflow: hidden;
  }

  #member .member-card:first-child .member-photo {
    flex-basis: 436px;
    background-image:
      radial-gradient(ellipse 130px 250px at -12% 78%, rgba(254, 107, 50, 0.88) 0 54%, transparent 55%),
      linear-gradient(135deg, #fff6f0 0%, #ffe2d8 100%);
  }

  #member .member-card:nth-child(2) .member-photo,
  #member .member-card:nth-child(6) .member-photo {
    background-image:
      radial-gradient(ellipse 105px 84px at 92% 72%, rgba(255, 205, 64, 0.72) 0 56%, transparent 57%),
      linear-gradient(135deg, #fff9e9 0%, #fff1d9 100%);
  }

  #member .member-card:nth-child(3) .member-photo {
    background-image:
      radial-gradient(ellipse 132px 92px at 108% 80%, rgba(255, 168, 178, 0.58) 0 56%, transparent 57%),
      linear-gradient(135deg, #fff4f4 0%, #ffe8ea 100%);
  }

  #member .member-card:nth-child(4) .member-photo {
    background-image:
      radial-gradient(circle, rgba(255, 213, 107, 0.85) 0 2px, transparent 3px),
      linear-gradient(135deg, #fff8e7 0%, #fff0cd 100%);
    background-size: 24px 24px, 100% 100%;
  }

  #member .member-card:nth-child(5) .member-photo,
  #member .member-card:nth-child(7) .member-photo {
    background-image:
      radial-gradient(circle, rgba(255, 170, 177, 0.78) 0 2px, transparent 3px),
      linear-gradient(135deg, #fff3f3 0%, #ffe5e8 100%);
    background-size: 24px 24px, 100% 100%;
  }

  #member .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    border-radius: 0;
  }

  #member .member-card:first-child .member-photo img {
    object-position: center center;
  }

  #member .member-card-body,
  #member .member-card:first-child .member-card-body {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 0 0 84px;
    padding: 14px 25px 18px;
    border-radius: 0;
    transform: none;
    text-align: left;
    background: #ffffff;
    box-shadow: none;
  }

  #member .member-card:first-child .member-card-body {
    flex-basis: 170px;
    padding: 24px 28px 30px;
  }

  #member .member-role,
  #member .member-card:first-child .member-role {
    margin: 0 0 8px;
    color: #fe6b32;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
  }

  #member .member-card:first-child .member-role {
    font-size: 14px;
  }

  #member .member-company {
    display: block;
    margin: 0 0 8px;
    color: #111111;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.45;
  }

  #member .member-name,
  #member .member-card:first-child .member-name {
    margin: 0;
    color: #111111;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
  }

  #member .member-card:first-child .member-name {
    font-size: 28px;
  }

  #member .member-card:first-child .member-name::after {
    content: "";
    display: block;
    width: 68px;
    height: 5px;
    margin-top: 24px;
    border-radius: 999px;
    background: #fe6b32;
  }

  #member .member-romanized,
  #member .member-description {
    display: none;
  }

  #member .member-cta {
    margin-top: 70px;
  }

  #member .member-cta .cv-btn-large,
  .blog-cta .cv-btn-large {
    width: 334px;
    height: 76px;
    background: #ffffff;
    border: 2px solid #252525;
    color: #252525;
    white-space: nowrap;
  }

  #member .member-cta .cv-btn-large span,
  .blog-cta .cv-btn-large span {
    color: #252525;
  }

  .blog-date {
    font-size: 14px;
    font-weight: 900;
    line-height: 1.4;
  }

  .blog-date::before {
    width: 15px;
    height: 15px;
  }

  #media .section-heading .en-title {
    order: 1;
    font-size: 43px;
    color: #000000;
  }

  #media .section-heading .ja-title {
    order: 2;
    font-size: 22px;
    color: var(--pdf-orange);
  }

  .media-content {
    max-width: 1004px;
    grid-template-columns: 360px 526px;
    gap: 118px;
  }

  #events {
    padding: 88px 0 96px;
    background: linear-gradient(180deg, #ff6633 0%, #ff875a 100%);
  }

  #events .section-heading .ja-title,
  #events .section-heading .en-title {
    color: #ffffff;
  }

  #events .section-heading::before {
    background: #ffffff;
  }

  .events-schedule-bar {
    width: 1134px;
    height: 164px;
    margin-bottom: 48px;
    border-radius: 0;
    background: #ffffff;
  }

  .event-date,
  .event-title {
    color: #ffffff;
  }

  .events-cta {
    margin-top: 44px;
  }

  .cv-btn-large-light {
    width: 404px;
    height: 76px;
    border: 2px solid #ffffff;
    background: #ffffff;
    color: var(--pdf-orange);
  }

  .cv-btn-large-light span,
  .cv-btn-large-light::after {
    color: var(--pdf-orange);
  }

  #news {
    padding-bottom: 0;
  }

  .news-list {
    max-width: 1068px;
    margin: 0 auto;
    padding: 0;
    gap: 52px;
  }

  .news-item {
    grid-template-columns: 280px 1fr;
    gap: 44px;
  }

  .news-title {
    max-width: 760px;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.55;
  }

  .news-visual {
    margin-top: 92px;
  }

  .news-visual img {
    width: 798px;
  }

  #cta-band {
    padding: 94px 0;
    background: linear-gradient(180deg, #ff6633 0%, #ff875a 100%);
  }

  .cta-band-inner {
    gap: 56px;
  }

  .cta-band-card {
    width: 346px;
    min-height: 240px;
    border-radius: 8px;
  }
}

/* Mobile hero copy sits below the portrait group and may use the full safe width. */
@media (max-width: 640px) {
  #hero .hero-desc--mobile {
    width: calc(100vw - 54px);
    max-width: none;
    white-space: normal;
    line-height: 1.65;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  #site-header {
    padding-left: 28px;
    padding-right: 28px;
  }

  .nav-menu {
    gap: 14px;
  }

  .header-nav {
    gap: 16px;
  }

  .header-cta .cv-btn:first-child {
    width: 180px;
  }

  .header-cta .cv-btn:last-child {
    width: 166px;
  }

  .header-cta .cv-btn span {
    font-size: 13px;
  }

  #hero {
    /* 修正6: この帯はコンテンツ(グループ写真の下端 ≒ ヒーロー上端から約444px)に対し
       560pxは過大で、CTAボタン下〜ロゴマーキーに広い空白が生じていた。写真下端＋余白に
       合わせて高さを詰める */
    height: 500px;
    min-height: 500px;
  }

  .hero-inner {
    padding: 34px 40px 36px 62px;
  }

  .hero-text {
    flex-basis: 560px;
    width: 560px;
  }

  .hero-sub {
    display: block;
    font-size: 32px;
    line-height: 1.34;
    margin-bottom: 10px;
  }

  .hero-highlight,
  .hero-headline-pro {
    font-size: 72px;
  }

  .hero-headline-no {
    font-size: 48px;
  }

  .hero-headline {
    gap: 8px;
    margin-bottom: 24px;
  }

  .hero-desc,
  #hero .hero-desc--pc {
    /* 修正5: 説明文が1行で右に伸び、写真左のZoomバッジに重なっていた。
       右端をバッジ手前で折り返させるため幅を狭める */
    max-width: 350px !important;
    font-size: 16px;
    line-height: 1.64;
    margin-bottom: 20px;
  }

  .hero-cta {
    gap: 18px;
  }

  .btn-hero-primary:first-child {
    width: 288px;
    min-width: 288px;
  }

  .btn-hero-primary:last-child {
    width: 236px;
    min-width: 236px;
  }

  .btn-hero-primary,
  .btn-hero-primary:first-child,
  .btn-hero-primary:last-child {
    height: 62px;
    font-size: 16px;
  }

  .hero-visual {
    top: 52px;
    right: 58px;
    width: 382px;
    height: 432px;
  }

  .hero-group-photo {
    width: 382px;
    height: 432px;
  }

  .hero-zoom-badge {
    /* 修正5: 説明文(右端≒420px)と重ならないよう写真の左端寄りへ寄せる */
    left: -20px;
    top: 244px;
    width: 94px;
  }

  .hero-mascot {
    display: none;
  }

  .hero-arrow {
    display: none;
  }

  .services-header {
    margin-bottom: 92px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1010px;
    gap: 72px 28px;
    padding: 0 24px;
  }

  .service-item {
    width: 100%;
    min-height: 300px;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
    padding: 30px 22px 24px;
  }

  #services .service-item:nth-child(even),
  #services .service-item:nth-child(5) {
    position: relative;
    top: -190px;
    transform: none !important;
  }

  .services-grid > .service-item:last-child:nth-child(odd) {
    grid-column: 2;
  }

  .service-title {
    font-size: 26px;
  }

  .service-desc {
    font-size: 13px;
    line-height: 1.7;
  }

  .service-image {
    width: 220px;
    height: 162px;
  }

  .service-item .text-link {
    font-size: 13px;
    padding: 10px 14px 11px 18px;
  }

  .services-cta {
    margin-top: -56px;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  #services .service-item:nth-child(even),
  #services .service-item:nth-child(5) {
    top: auto;
    transform: none;
  }

  .services-grid > .service-item:last-child:nth-child(odd) {
    grid-column: 1;
  }

  .services-cta {
    margin-top: 48px;
  }
}

/* ===== Member detail page ===== */
.member-detail-page {
  background: #f7f7f7;
  color: #151515;
}

.member-detail-hero {
  padding: 92px 40px 72px;
  background:
    linear-gradient(156deg, #ffffff 0%, #ffffff 58%, #f3f3f3 58.2%, #f3f3f3 100%);
}

.member-detail-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 82px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.member-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #fe6b32;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-detail-back::before {
  content: "";
  width: 44px;
  height: 2px;
  background: #fe6b32;
}

.member-detail-kana {
  margin: 0 0 8px;
  color: #888888;
  font-size: 13px;
  font-weight: 700;
}

.member-detail-copy h1 {
  margin: 0 0 18px;
  font-family: 'M PLUS 1p', var(--font-ja);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.08em;
}

.member-detail-role {
  display: inline-flex;
  margin: 0 0 28px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff0e9;
  color: #fe6b32;
  font-size: 14px;
  font-weight: 900;
}

.member-detail-copy h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.55;
}

.member-detail-lead {
  margin: 0;
  color: #333333;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.member-detail-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.member-detail-primary,
.member-detail-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.member-detail-primary {
  background: #fe6b32;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(254, 107, 50, 0.22);
}

.member-detail-secondary {
  border: 1.5px solid #252525;
  background: #ffffff;
  color: #252525;
}

.member-detail-photo {
  width: 80%;
  max-width: 416px;
  justify-self: center;
  overflow: hidden;
  aspect-ratio: 520 / 360;
  margin: 0;
  border-radius: 2px;
  background:
    radial-gradient(circle, rgba(255, 203, 84, 0.8) 0 2px, transparent 3px),
    linear-gradient(135deg, #fff8ec 0%, #ffe8df 100%);
  background-size: 24px 24px, 100% 100%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.member-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.member-detail-tabs {
  display: flex;
  justify-content: center;
  gap: 86px;
  padding: 42px 24px;
  background: #f0f0f0;
}

.member-detail-tabs a {
  position: relative;
  color: #222222;
  font-size: 14px;
  font-weight: 900;
}

.member-detail-tabs a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.member-detail-section {
  padding: 86px 40px;
  background: #f7f7f7;
}

.member-detail-section--gray {
  background: #eeeeee;
}

.member-detail-section--cta {
  text-align: center;
  background:
    radial-gradient(circle at 14% 24%, rgba(254, 107, 50, 0.08), transparent 24%),
    radial-gradient(circle at 86% 42%, rgba(255, 185, 49, 0.10), transparent 26%),
    #f7f7f7;
}

.member-detail-section__heading {
  width: min(820px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.member-detail-section__heading span {
  display: block;
  margin-bottom: 9px;
  color: #fe6b32;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.member-detail-section__heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
}

.member-detail-profile-list {
  width: min(760px, 100%);
  margin: 0 auto;
  border-top: 1px solid #d8d8d8;
}

.member-detail-profile-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
  padding: 22px 0;
  border-bottom: 1px solid #d8d8d8;
}

.member-detail-profile-list dt,
.member-detail-profile-list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.member-detail-profile-list dt {
  color: #777777;
  font-weight: 900;
}

.member-detail-profile-list dd {
  color: #222222;
  font-weight: 700;
}

.member-detail-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.member-detail-highlight-card {
  min-height: 150px;
  padding: 30px 26px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.member-detail-highlight-card p {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.75;
}

.member-detail-story {
  width: min(760px, 100%);
  margin: 0 auto;
}

.member-detail-story p {
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

/* 職歴 */
.member-detail-career {
  width: min(760px, 100%);
  margin: 40px auto 0;
}

.member-detail-subhead {
  margin: 0 0 14px;
  color: #fe6b32;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.member-detail-career-list {
  margin: 0;
  border-top: 1px solid #d8d8d8;
}

.member-detail-career-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  padding: 18px 0;
  border-bottom: 1px solid #d8d8d8;
}

.member-detail-career-list dt,
.member-detail-career-list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.member-detail-career-list dt {
  color: #777777;
  font-weight: 900;
}

.member-detail-career-list dd {
  color: #222222;
  font-weight: 700;
}

/* プロジェクト実績（構造化カード） */
.member-detail-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.member-detail-project-card {
  padding: 38px 40px 40px;
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.055);
}

.member-detail-project-category {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(254, 107, 50, 0.12);
  color: #fe6b32;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.member-detail-project-company {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
}

.member-detail-project-company-detail {
  margin: 7px 0 0;
  color: #777777;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.member-detail-project-detail {
  margin: 28px 0 0;
  padding-top: 28px;
  border-top: 1px solid #e7e7e7;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}

.member-detail-project-detail div {
  display: grid;
  gap: 12px;
}

.member-detail-project-detail dt {
  margin: 0;
  color: #555555;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-detail-project-detail dd {
  margin: 0;
  color: #2b2b2b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.85;
}

.member-detail-project-actions ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-detail-project-actions li {
  position: relative;
  padding-left: 16px;
}

.member-detail-project-actions li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fe6b32;
}

.member-detail-project-detail .member-detail-project-outcomes {
  padding: 20px 22px;
  border-radius: 12px;
  background: #fff6f1;
}

.member-detail-project-outcomes dt {
  color: #d95222;
}

.member-detail-project-detail dd .member-detail-project-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-weight: 800;
}

.member-detail-project-results li {
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
}

.member-detail-project-results li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #fe6b32;
  border-bottom: 2px solid #fe6b32;
  transform: rotate(45deg);
}

/* 強みカード（タイトル＋本文） */
.member-detail-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.member-detail-strength-card {
  padding: 32px 26px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.member-detail-strength-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
}

.member-detail-strength-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

/* 意気込み・メッセージ */
.member-detail-message {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 34px 40px;
  border-left: 4px solid #fe6b32;
  border-radius: 0 14px 14px 0;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.member-detail-consult-list {
  display: grid;
  gap: 14px;
  width: min(620px, 100%);
  margin: 0 auto 34px;
}

.member-detail-consult-list li {
  padding: 18px 24px;
  border-radius: 10px;
  background: #ffffff;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.member-detail-primary--center {
  margin: 0 auto;
}

@media (max-width: 900px) {
  .member-detail-hero {
    padding: 56px 24px 48px;
  }

  .member-detail-hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .member-detail-copy h1 {
    font-size: 34px;
  }

  .member-detail-copy h2 {
    font-size: 21px;
  }

  .member-detail-actions {
    flex-direction: column;
  }

  .member-detail-tabs {
    flex-wrap: wrap;
    gap: 28px 34px;
  }

  .member-detail-section {
    padding: 58px 24px;
  }

  .member-detail-profile-list div,
  .member-detail-career-list div,
  .member-detail-highlight-grid,
  .member-detail-project-grid,
  .member-detail-strength-grid {
    grid-template-columns: 1fr;
  }

  .member-detail-project-card {
    padding: 28px 24px;
  }

  .member-detail-project-company {
    font-size: 19px;
  }

  .member-detail-project-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 22px;
    padding-top: 22px;
  }

  .member-detail-project-detail .member-detail-project-outcomes {
    padding: 18px;
  }

  .member-detail-message {
    padding: 26px 24px;
  }
}

/* ===== Final production alignment fixes ===== */
@media (min-width: 1041px) {
  #services {
    padding-top: 86px;
  }

  #services .services-header {
    max-width: 1280px;
    margin: 0 auto -58px;
  }

  #services .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 558px);
    grid-auto-rows: 36px;
    justify-content: center;
    align-items: start;
    column-gap: 36px;
    row-gap: 0;
    padding: 0 32px;
  }

  #services .service-item {
    width: 100%;
    min-height: 342px;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
    padding: 36px 24px 28px;
    transform: none !important;
    top: auto !important;
  }

  #services .service-item:nth-child(1) {
    grid-column: 2;
    grid-row: 1 / span 10;
  }

  #services .service-item:nth-child(2) {
    grid-column: 1;
    grid-row: 6 / span 10;
  }

  #services .service-item:nth-child(3) {
    grid-column: 2;
    grid-row: 12 / span 10;
  }

  #services .service-item:nth-child(4) {
    grid-column: 1;
    grid-row: 18 / span 10;
  }

  #services .service-item:nth-child(5) {
    grid-column: 2;
    grid-row: 23 / span 10;
  }

  #services .services-cta {
    margin-top: 64px;
  }

  #services .service-eyebrow {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.2;
  }

  #services .service-title {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: 0;
  }

  #services .service-desc {
    font-size: 14px;
    line-height: 1.72;
  }

  #services .service-image {
    width: 240px;
    height: 170px;
    align-self: center;
  }

  #services .service-item .text-link {
    align-self: flex-end;
    min-width: 154px;
    justify-content: center;
    padding: 12px 14px 13px 22px;
    font-size: 15px;
  }
}

@media (min-width: 901px) and (max-width: 1320px) {
  #services {
    padding-top: 78px;
  }

  #services .services-header {
    margin-bottom: -50px;
  }

  #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 520px));
    grid-auto-rows: 34px;
    max-width: 1120px;
    column-gap: 32px;
    row-gap: 0;
    padding: 0 32px;
  }

  #services .service-item {
    min-height: 322px;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
    padding: 32px 24px 26px;
  }

  #services .service-title {
    /* 見出しカラムは 50vw - 336px。最長行が収まるサイズまで縮める（上限はmin-1041ブロックの28pxに合わせる） */
    font-size: clamp(18px, calc((50vw - 336px) / 7.5), 28px);
  }

  #services .service-image {
    width: 220px;
    height: 156px;
  }
}

@media (min-width: 901px) and (max-width: 1040px) {
  #services .services-header {
    margin-bottom: -44px;
  }

  #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 30px;
    max-width: calc(100% - 48px);
    column-gap: 22px;
    padding: 0 24px;
  }

  #services .service-item {
    min-height: 286px;
    grid-template-columns: minmax(0, 1fr) 176px;
    gap: 16px;
    padding: 26px 20px 22px;
  }

  #services .service-item:nth-child(1) {
    grid-column: 2;
    grid-row: 1 / span 10;
  }

  #services .service-item:nth-child(2) {
    grid-column: 1;
    grid-row: 6 / span 10;
  }

  #services .service-item:nth-child(3) {
    grid-column: 2;
    grid-row: 12 / span 10;
  }

  #services .service-item:nth-child(4) {
    grid-column: 1;
    grid-row: 18 / span 10;
  }

  #services .service-item:nth-child(5) {
    grid-column: 2;
    grid-row: 23 / span 10;
  }

  #services .services-cta {
    margin-top: 54px;
  }

  #services .service-title {
    /* 見出しカラムは 50vw - 291px。最長行（欧文混じりのウェビナーBPO含む）が収まるサイズまで縮める */
    font-size: clamp(16px, calc((50vw - 291px) / 8), 24px);
  }

  #services .service-desc {
    font-size: 12px;
  }

  #services .service-image {
    width: 176px;
    height: 126px;
  }

  #services .service-item .text-link {
    min-width: 136px;
    padding: 10px 12px 11px 18px;
    font-size: 13px;
  }
}

@media (min-width: 901px) {
  .services-header,
  .works-header,
  .member-header,
  .blog-header,
  .media-header,
  .events-header,
  .news-header {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  #services .services-header {
    max-width: none;
  }

  .section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(112px, 12.2vw, 176px);
    gap: 7px;
  }

  .section-heading::before {
    left: 0;
    top: 28px;
    width: calc(clamp(112px, 12.2vw, 176px) - 18px);
    height: 4px;
  }

  /* Unify decorative bar + text indent across all sections (match サービス概要) */
  #works .section-heading,
  #media .section-heading,
  #member .section-heading,
  #events .section-heading,
  #news .section-heading,
  #services .section-heading {
    padding-left: clamp(112px, 12.2vw, 176px);
    gap: 7px;
  }

  #works .section-heading::before,
  #media .section-heading::before,
  #member .section-heading::before,
  #events .section-heading::before,
  #news .section-heading::before,
  #services .section-heading::before {
    left: 0;
    top: 28px;
    width: calc(clamp(112px, 12.2vw, 176px) - 18px);
    height: 4px;
  }

  #works .section-heading .ja-title,
  #member .section-heading .ja-title,
  #blog .section-heading .ja-title,
  #events .section-heading .ja-title,
  #news .section-heading .ja-title,
  #services .section-heading .ja-title {
    order: 1;
    font-family: 'M PLUS 1p', var(--font-ja);
    font-size: 46px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
  }

  #works .section-heading .en-title,
  #member .section-heading .en-title,
  #blog .section-heading .en-title,
  #events .section-heading .en-title,
  #news .section-heading .en-title,
  #services .section-heading .en-title {
    order: 2;
    font-family: var(--font-ja);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
    color: #fe6b32;
  }

  #media .section-heading .en-title {
    order: 1;
    font-family: 'M PLUS 1p', var(--font-ja);
    font-size: 46px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
    color: #000000;
  }

  #media .section-heading .ja-title {
    order: 2;
    font-family: var(--font-ja);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
    color: #fe6b32;
  }

  #events .section-heading .ja-title,
  #events .section-heading .en-title {
    color: #ffffff;
  }

  #events .section-heading::before {
    background: #ffffff;
  }

  #works .works-nav,
  .blog-nav,
  .events-nav {
    position: static;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    width: min(1134px, calc(100% - 21.2vw)); /* スライダー本体と同じ余白比率で右端を揃える */
    margin: 22px auto 0;
    padding: 0;
    transform: none;
    pointer-events: auto;
  }

  #works .works-nav .nav-btn,
  .blog-nav .nav-btn,
  .events-nav .nav-btn {
    width: 34px;
    height: 34px;
    background: #252525;
    pointer-events: auto;
  }

  #works .works-nav .nav-btn::after,
  .blog-nav .nav-btn::after,
  .events-nav .nav-btn::after {
    font-size: 20px;
  }

  #works .works-cta .cv-btn-large {
    width: 334px;
    height: 60px;
    padding: 10px 54px 10px 36px;
    border-radius: 999px;
  }

  #works .works-cta .cv-btn-large span {
    font-size: 20px;
    line-height: 1.2;
  }

  #works .works-cta .cv-btn-large::after {
    right: 26px;
    font-size: 26px;
  }
}

/* ===== Final responsive balance pass ===== */
html,
body {
  overflow-x: hidden;
}

.mobile-hero-download {
  display: none;
}

@media (max-width: 900px) {
  #site-header {
    height: 72px;
    padding: 16px 24px;
  }

  .site-logo img {
    width: min(230px, 58vw);
    height: auto;
  }

  .hamburger {
    width: 28px;
    height: 20px;
  }

  #hero {
    height: auto;
    min-height: 0;
    padding-bottom: 54px;
    overflow: hidden;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-height: 0;
    padding: 34px 24px 0;
  }

  .hero-text {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    position: relative;
    z-index: 3;
  }

  .hero-sub {
    margin-bottom: 14px;
    font-size: clamp(29px, 6.6vw, 40px);
    line-height: 1.38;
    letter-spacing: 0;
  }

  .hero-headline {
    gap: 8px;
    margin-bottom: 24px;
    overflow: visible;
  }

  .hero-headline-top {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 8px;
    max-width: 100%;
  }

  .hero-highlight,
  .hero-headline-pro {
    font-size: clamp(58px, 12vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.02em;
  }

  .hero-headline-no {
    flex: 0 0 auto;
    font-size: clamp(34px, 8vw, 52px);
    line-height: 1;
    transform: translateY(-4px);
  }

  .hero-desc {
    max-width: 32em;
    margin-bottom: 24px;
    font-size: clamp(14px, 2.4vw, 17px);
    line-height: 1.75;
  }

  .hero-cta {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
    max-width: 520px;
  }

  .btn-hero-primary,
  .btn-hero-primary:first-child,
  .btn-hero-primary:last-child {
    width: calc((100% - 14px) / 2);
    min-width: 0;
    height: 56px;
    padding: 0 18px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-visual {
    box-sizing: border-box;
    position: relative;
    inset: auto;
    width: min(100%, 520px);
    height: auto;
    margin: 48px auto 0;
    z-index: 2;
  }

  .hero-group-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero-zoom-badge,
  .hero-mascot,
  .hero-arrow {
    display: none;
  }

  .logo-marquee {
    margin-top: 10px;
  }

  .services-header,
  .works-header,
  .member-header,
  .blog-header,
  .media-header,
  .events-header,
  .news-header {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .section-heading {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(64px, 13vw, 100px);
    gap: 6px;
  }

  .section-heading::before {
    left: 0;
    top: 18px;
    width: calc(clamp(64px, 13vw, 100px) - 24px);
    height: 3px;
  }

  #works .section-heading .ja-title,
  #member .section-heading .ja-title,
  #blog .section-heading .ja-title,
  #events .section-heading .ja-title,
  #news .section-heading .ja-title,
  #services .section-heading .ja-title,
  #media .section-heading .en-title {
    order: 1;
    font-size: clamp(28px, 5.4vw, 40px);
    line-height: 1.12;
    letter-spacing: 0;
    color: #000000;
  }

  #works .section-heading .en-title,
  #member .section-heading .en-title,
  #blog .section-heading .en-title,
  #events .section-heading .en-title,
  #news .section-heading .en-title,
  #services .section-heading .en-title,
  #media .section-heading .ja-title {
    order: 2;
    font-size: clamp(14px, 2.8vw, 20px);
    line-height: 1.15;
    letter-spacing: 0;
    color: #fe6b32;
  }

  #events .section-heading .ja-title,
  #events .section-heading .en-title {
    color: #ffffff;
  }

  #events .section-heading::before {
    background: #ffffff;
  }

  #services {
    padding: 72px 0 82px;
  }

  #services .services-header {
    margin-bottom: 38px;
  }

  #services .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    width: 100%;
    max-width: 760px;
    gap: 24px;
    margin: 0 auto;
    padding: 0 24px;
  }

  #services .service-item,
  #services .service-item:nth-child(1),
  #services .service-item:nth-child(2),
  #services .service-item:nth-child(3),
  #services .service-item:nth-child(4),
  #services .service-item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 0;
    transform: none !important;
    top: auto !important;
  }

  #services .service-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 42%);
    align-items: center;
    gap: 22px;
    padding: 28px 24px;
    border-radius: 18px;
  }

  #services .service-title {
    font-size: clamp(24px, 4.6vw, 32px);
    line-height: 1.2;
  }

  #services .service-eyebrow {
    font-size: clamp(16px, 3vw, 21px);
    line-height: 1.25;
  }

  #services .service-desc {
    font-size: 14px;
    line-height: 1.72;
  }

  #services .service-image {
    width: 100%;
    height: auto;
    aspect-ratio: 240 / 170;
  }

  #services .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #services .services-cta {
    margin-top: 38px;
  }

  .cv-btn-large {
    width: min(100%, 360px);
    height: 70px;
    padding: 16px 54px 16px 30px;
  }

  .cv-btn-large span {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  #site-header {
    height: 66px;
    padding: 14px 20px;
  }

  .hero-inner {
    padding: 28px 20px 0;
  }

  .hero-sub {
    font-size: clamp(27px, 7.8vw, 34px);
  }

  .hero-highlight,
  .hero-headline-pro {
    font-size: clamp(48px, 13vw, 56px);
  }

  .hero-headline-no {
    font-size: clamp(28px, 7.5vw, 34px);
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: min(calc(100vw - 40px), 340px) !important;
    max-width: min(calc(100vw - 40px), 340px);
  }

  .btn-hero-primary,
  .btn-hero-primary:first-child,
  .btn-hero-primary:last-child {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    height: 52px;
    font-size: 14px;
  }

  .hero-visual {
    width: min(100%, 390px);
    margin-top: 38px;
    transform: none;
  }

  .section-heading {
    padding-left: 58px;
  }

  .section-heading::before {
    top: 16px;
    width: 38px;
  }

  #services .services-grid {
    padding: 0 20px;
  }

  #services .service-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 24px 20px 22px;
  }

  #services .service-image {
    order: -1;
    aspect-ratio: 16 / 9;
  }

  #services .service-item .text-link {
    align-self: flex-start;
    min-width: 150px;
  }

  .works-track,
  .blog-track,
  .events-track {
    padding-bottom: 8px;
  }
}

/* ===== Mobile Hero: stack buttons, show mobile header CTA ===== */
@media (max-width: 900px) {
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-primary:first-child,
  .btn-hero-primary:last-child {
    width: 100%;
    min-width: 0;
  }

  .mobile-header-cta {
    display: inline-flex;
  }
}

/* ===== PDF mobile comp ===== */
@media (max-width: 640px) {
  body {
    background: #ffffff !important;
  }

  #site-header {
    height: 56px;
    padding: 10px 0 10px 17px;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
  }

  #site-header .site-logo img {
    width: 153px;
    max-width: 153px;
  }

  #site-header .header-nav {
    gap: 10px;
    margin-left: auto;
  }

  .mobile-header-cta {
    height: 32px;
    padding: 0 15px;
    border: 1.5px solid #ff6b32;
    border-radius: 999px;
    background: #ffffff;
    color: #ff6b32;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
  }

  .hamburger {
    width: 54px;
    height: 56px;
    margin: -10px 0 -10px 0;
    padding: 0;
    position: relative;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #ff6b32;
  }

  .hamburger span {
    width: 25px;
    height: 2px;
    background: #ffffff;
  }

  #hero {
    min-height: 475px;
    padding: 0;
    overflow: visible;
    position: relative;
    z-index: auto;
    background:
      radial-gradient(circle, rgba(255,107,50,0.20) 1.7px, transparent 1.9px) right 15px top 163px / 10px 10px no-repeat,
      #ffffff;
  }

  #hero .hero-bg-decor {
    display: block;
    opacity: 1;
    z-index: 1;
    overflow: visible;
  }

  #hero .hero-bg-col {
    display: flex;
    flex-direction: row;
    gap: 6px;
    width: max-content;
    opacity: 1;
    filter: none;
    transform: none;
    animation: mobile-thumb-marquee 18s linear infinite;
    /* comp: 説明文の約22px下からサムネ帯 */
    top: 264px !important;
  }

  #hero .hero-bg-col:first-child {
    left: 15px !important;
  }

  #hero .hero-bg-col:nth-child(2) {
    left: 399px !important;
  }

  #hero .hero-bg-col:nth-child(3) {
    left: 783px !important;
  }

  #hero .hero-bg-thumb,
  #hero .hero-bg-col:first-child .hero-bg-thumb {
    width: 122px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
  }

  /* 4枚目以降を非表示にして3枚×378px幅の列にする（繋ぎ目の画像重複を防ぐ） */
  #hero .hero-bg-col .hero-bg-thumb:nth-child(n + 4),
  #hero .hero-bg-col:first-child .hero-bg-thumb:nth-child(n + 4) {
    display: none;
  }

  @keyframes mobile-thumb-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-384px); }
  }

  .hero-inner {
    display: block;
    min-height: 438px;
    padding: 44px 15px 0 27px;
    position: relative;
  }

  .hero-text {
    width: 250px;
    max-width: 250px;
    padding: 0;
    position: relative;
    z-index: 4;
  }

  .hero-sub {
    margin: 0 0 9px;
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: 0;
  }

  .hero-sub-em {
    color: #ff6b32;
  }

  .hero-headline {
    gap: 0;
    margin: 0 0 19px;
  }

  .hero-headline-top {
    gap: 6px;
  }

  .hero-highlight,
  .hero-headline-pro {
    font-size: 36px;
    line-height: 1.03;
  }

  .hero-headline-no {
    font-size: 25px;
    transform: translateY(-2px);
  }

  .hero-desc {
    width: 205px;
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
  }

  .hero-visual {
    position: absolute;
    right: -20px;
    top: 115px;
    width: 198px;
    height: 138px;
    margin: 0;
    z-index: 2;
  }

  .hero-group-photo {
    width: 198px;
    height: 138px;
    object-fit: contain;
  }

  .hero-zoom-badge {
    display: block;
    width: 40px;
    left: -20px;
    top: 40px;
    z-index: 5;
  }

  .hero-mascot,
  .hero-arrow {
    display: none;
  }

  .hero-cta {
    display: none;
  }

  .hero-cta .btn-hero-primary {
    display: none;
  }

  .hero-cta .btn-hero-primary:first-child {
    display: inline-flex;
    width: 265px !important;
    height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #ff6b32;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: none;
  }

  #logo-marquee {
    padding: 0;
    /* comp: サムネ帯の下端から19px空けてロゴ帯 */
    margin-top: -124px;
    position: relative;
    z-index: 3;
  }

  .logo-marquee-row {
    height: 44px;
  }

  .logo-marquee-track {
    gap: 0;
    animation-duration: 26s;
    min-width: max-content;
  }

  .logo-marquee-track img {
    width: 116px;
    height: 42px;
    max-width: none;
    max-height: none;
    padding: 0 14px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 116px;
  }

  .logo-grid {
    display: flex;
    width: max-content;
    gap: 0;
    padding: 0;
    align-items: center;
    animation: mobile-logo-grid-marquee 18s linear infinite;
  }

  .logo-grid img {
    width: 116px;
    height: 42px;
    max-width: none;
    max-height: none;
    padding: 0 14px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 116px;
  }

  @keyframes mobile-logo-grid-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .mobile-hero-download {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 30;
    /* comp: ロゴ帯〜ボタン44px / ボタン〜サービス見出し帯56px */
    padding: 44px 0 56px;
    background: #ffffff;
  }

  .mobile-hero-download .btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 265px !important;
    min-width: 0 !important;
    max-width: 265px !important;
    height: 50px !important;
    position: relative;
    z-index: 31;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #ff6b32;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
  }

  .section-heading,
  #services .section-heading,
  #works .section-heading,
  #member .section-heading,
  #blog .section-heading,
  #media .section-heading,
  #events .section-heading,
  #news .section-heading {
    align-items: center;
    padding-left: 0;
    text-align: center;
    gap: 5px;
  }

  .section-heading::before {
    display: none;
  }

  #services .section-heading .ja-title,
  #works .section-heading .ja-title,
  #member .section-heading .ja-title,
  #blog .section-heading .ja-title,
  #news .section-heading .ja-title,
  #events .section-heading .ja-title {
    order: 1;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 900;
  }

  #services .section-heading .en-title,
  #works .section-heading .en-title,
  #member .section-heading .en-title,
  #blog .section-heading .en-title,
  #news .section-heading .en-title,
  #events .section-heading .en-title {
    order: 2;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
    color: #ff6b32;
  }

  #media .section-heading .en-title {
    order: 1;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 900;
    color: #000000;
  }

  #media .section-heading .ja-title {
    order: 2;
    font-size: 12px;
    font-weight: 900;
    color: #ff6b32;
  }

  #services {
    padding: 38px 0 43px;
    background: #f5f5f5;
  }

  #services .services-header {
    margin-bottom: 31px;
  }

  #services .services-grid {
    gap: 33px;
    padding: 0 23px;
  }

  #services .service-item {
    display: grid;
    grid-template-columns: 1fr 38%;
    grid-template-areas:
      "head image"
      "desc desc"
      "link link";
    align-items: start;
    column-gap: 16px;
    row-gap: 0;
    padding: 28px 28px 28px;
    border: 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
  }

  #services .service-text {
    display: contents;
  }

  #services .service-head {
    grid-area: head;
    display: flex;
    flex-direction: column;
  }

  #services .service-image {
    grid-area: image;
    order: 0;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 12px;
    align-self: start;
    overflow: visible;
  }

  #services .service-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  #services .service-desc {
    grid-area: desc;
  }

  #services .service-eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 800;
    color: #ff5f2a;
  }

  #services .service-title {
    margin-bottom: 22px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
  }

  #services .service-desc {
    margin-bottom: 26px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
  }

  #services .service-item .text-link {
    grid-area: link;
    align-self: center;
    justify-self: center;
    justify-content: center;
    gap: 10px;
    width: 174px;
    min-width: 0;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: #ff6b32;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
  }

  #services .service-item .text-link .arrow-circle {
    width: 18px;
    height: 18px;
    background: #ffffff;
  }

  #services .service-item .text-link .arrow-circle::after {
    content: '→';
    color: #1b1a1a;
    font-size: 11px;
  }

  #services .services-cta {
    display: none;
  }

  #works,
  #member,
  #blog,
  #media,
  #news {
    padding-top: 47px;
    padding-bottom: 48px;
  }

  #works .works-header,
  #member .member-header,
  #blog .blog-header,
  #media .media-header,
  #news .news-header {
    margin-bottom: 30px;
  }

  .works-track,
  .blog-track,
  .events-track,
  .member-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  #member .member-intro {
    max-width: none;
    margin: 28px 24px 0;
    padding: 0;
    font-size: 12px;
    font-weight: 800;
    line-height: 2;
    text-align: left;
  }

  #member .member-grid {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    max-width: none;
    margin: 0;
    padding: 0 24px 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  #member .member-grid::-webkit-scrollbar {
    display: none;
  }

  #member .member-card,
  #member .member-card:first-child {
    flex: 0 0 136px;
    width: 136px;
    height: 205px;
    grid-column: auto;
    grid-row: auto;
  }

  #member .member-photo,
  #member .member-card:first-child .member-photo {
    height: 154px;
    border: 0;
    border-radius: 7px 7px 0 0;
    box-shadow: none;
  }

  #member .member-card-body,
  #member .member-card:first-child .member-card-body {
    position: static;
    width: 100%;
    max-width: none;
    min-height: 51px;
    padding: 8px 8px 10px;
    border-radius: 0 0 7px 7px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
  }

  #member .member-role,
  #member .member-card:first-child .member-role,
  #member .member-company {
    margin-bottom: 2px;
    font-size: 9px;
    line-height: 1.25;
  }

  #member .member-name,
  #member .member-card:first-child .member-name {
    font-size: 12px;
    line-height: 1.25;
  }

  #member .member-cta {
    margin-top: 28px;
  }

  #member .member-cta .cv-btn-large {
    height: 44px;
    min-width: 205px;
    border-color: #ff6b32;
    color: #ff6b32;
    background: #ffffff;
  }

  .work-item,
  .blog-item,
  .event-item {
    width: calc(100vw - 48px);
  }

  .work-image,
  .blog-image,
  .event-image {
    border-radius: 7px;
  }

  .cv-btn-large,
  .cv-btn-large.cv-btn-large-white,
  .cv-btn-large.cv-btn-large-outline,
  .cv-btn-large.cv-btn-large-dark,
  .cv-btn-large.cv-btn-large-light {
    width: auto;
    min-width: 0;
    height: 44px;
    padding: 0 31px;
    border: 1.5px solid #ff6b32;
    border-radius: 999px;
    background: #ffffff;
    color: #ff6b32;
  }

  .cv-btn-large span {
    font-size: 12px;
    font-weight: 800;
    color: inherit;
  }

  .cv-btn-large::after {
    right: 18px;
    font-size: 14px;
    color: currentColor;
  }

  #works .works-cta {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  #works .works-cta .cv-btn-large,
  #works .works-cta .cv-btn-large.cv-btn-large-dark {
    /* 矢印がstatic配置(gap 10px)のため固定168pxだと文字が折り返す。内容に応じて広げる */
    width: auto;
    min-width: 168px;
    height: 42px;
    padding: 0 30px 0 20px;
    border: 1.5px solid #ff6b32;
    border-radius: 999px;
    background: #ffffff;
    color: #ff6b32;
    box-shadow: none;
  }

  #works .works-cta .cv-btn-large span {
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    color: #ff6b32;
    white-space: nowrap;
  }

  #works .works-cta .cv-btn-large::after {
    right: 18px;
    font-size: 15px;
    color: #ff6b32;
  }

  #works {
    padding-top: 47px;
    padding-bottom: 48px;
    background: #ffffff;
  }

  #works .works-header {
    margin-bottom: 28px;
  }

  #works .works-slider {
    position: relative;
    padding: 0 0 42px;
    overflow: hidden;
  }

  #works .works-track {
    display: flex;
    gap: 48px; /* = 左右余白(24px)×2。カード幅+gap=画面幅 となり、次カードの覗き(途切れ)をなくす */
    padding: 0 24px;
    overflow: visible;
    transform: translateX(0);
    transition: transform 0.4s ease;
    will-change: transform;
  }

  #works .works-track::-webkit-scrollbar {
    display: none;
  }

  #works .work-item {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #works .work-image {
    width: 100%;
    height: auto;
    aspect-ratio: 345 / 194;
    border-radius: 6px;
    overflow: hidden;
    background: #eeeeee;
  }

  #works .work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #works .work-title {
    min-height: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: 0;
  }

  #works .work-tags {
    display: flex;
    gap: 12px;
    margin-top: 0;
  }

  #works .work-tag {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111111;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
  }

  #works .work-tag::before {
    content: "# ";
  }

  #works .works-nav {
    position: absolute;
    right: 24px;
    bottom: 45px;
    display: flex;
    gap: 8px;
    margin: 0;
    z-index: 2;
  }

  #works .works-nav .nav-btn {
    width: 24px;
    height: 24px;
    background: #222222;
  }

  #works .works-nav .nav-btn::after {
    font-size: 12px;
  }

  #member {
    display: flex;
    flex-direction: column;
  }

  #member .member-header {
    order: 1;
  }

  #member .member-grid {
    order: 2;
    margin-top: 0;
  }

  #member .member-intro {
    order: 3;
    margin-top: 26px;
  }

  #member .member-cta {
    order: 4;
  }

  #member {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
  }

  #member .member-header {
    order: 1 !important;
    margin-bottom: 30px !important;
  }

  #member .member-grid {
    order: 2 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 24px 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none !important;
  }

  #member .member-grid::-webkit-scrollbar {
    display: none !important;
  }

  #member .member-card,
  #member .member-card:first-child {
    flex: 0 0 136px !important;
    width: 136px !important;
    height: 205px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    scroll-snap-align: start;
  }

  #member .member-photo,
  #member .member-card:first-child .member-photo {
    width: 100% !important;
    height: 154px !important;
    border: 0 !important;
    border-radius: 7px 7px 0 0 !important;
    box-shadow: none !important;
  }

  #member .member-photo img,
  #member .member-card:first-child .member-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  #member .member-card-body,
  #member .member-card:first-child .member-card-body {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 51px !important;
    padding: 8px 8px 10px !important;
    border-radius: 0 0 7px 7px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10) !important;
  }

  #member .member-role,
  #member .member-card:first-child .member-role,
  #member .member-company {
    margin-bottom: 2px !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
  }

  #member .member-name,
  #member .member-card:first-child .member-name {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  #member .member-romanized,
  #member .member-description {
    display: none !important;
  }

  #member .member-intro {
    order: 3 !important;
    margin: 26px 24px 0 !important;
  }

  #member .member-cta {
    order: 4 !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 27px !important;
  }

  #blog {
    padding: 47px 0 48px;
    background: #f6f6f6;
  }

  #blog .blog-header {
    margin-bottom: 30px;
  }

  #blog .blog-slider {
    position: relative;
    padding: 0 0 40px;
  }

  #blog .blog-track {
    display: flex;
    gap: 20px;
    padding: 0 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  #blog .blog-track::-webkit-scrollbar {
    display: none;
  }

  #blog .blog-item {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    display: flex;
    flex-direction: column;
    gap: 0;
    scroll-snap-align: start;
  }

  #blog .blog-image {
    width: 100%;
    height: auto;
    aspect-ratio: 345 / 194;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
  }

  #blog .blog-image img,
  #blog .blog-image > div {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #blog .blog-image > div {
    position: relative;
    background: #ff6332 !important;
  }

  #blog .blog-image > div::before {
    content: "";
    position: absolute;
    inset: 10px 27px 24px;
    border: 2px solid #151515;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
  }

  #blog .blog-image > div::after {
    content: "YouTube\A 動画解説付き\A\A 共催ウェビナーの始め方完全ガイド\A 7つの手順と失敗しない進行のコツ";
    position: absolute;
    inset: 35px 48px 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: pre-line;
    color: #151515;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.55;
    text-align: center;
  }

  #blog .blog-title {
    min-height: 0;
    margin: 12px 70px 8px 0;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: 0;
  }

  #blog .blog-date {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
  }

  #blog .blog-nav {
    position: absolute !important;
    right: 24px !important;
    bottom: 42px !important;
    left: auto !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 2;
  }

  #blog .blog-nav .nav-btn {
    width: 24px !important;
    height: 24px !important;
    background: #222222 !important;
  }

  #blog .blog-nav .nav-btn::after {
    font-size: 12px !important;
  }

  #blog .blog-cta {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  #blog .blog-cta .cv-btn-large,
  #blog .blog-cta .cv-btn-large.cv-btn-large-outline {
    /* 矢印がstatic配置(gap 10px)のため固定168pxだと文字が折り返す。内容に応じて広げる */
    width: auto;
    min-width: 168px;
    height: 42px;
    padding: 0 30px 0 20px;
    border: 1.5px solid #ff6b32;
    border-radius: 999px;
    background: #ffffff;
    color: #ff6b32;
    box-shadow: none;
  }

  #blog .blog-cta .cv-btn-large span {
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    color: #ff6b32;
    white-space: nowrap;
  }

  #blog .blog-cta .cv-btn-large::after {
    right: 18px;
    font-size: 15px;
    color: #ff6b32;
  }

  #media {
    padding: 47px 0 48px;
    background: #ffffff;
  }

  #media .media-header {
    margin-bottom: 30px;
  }

  #media .media-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 45px !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  #media .media-panel {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
  }

  #media .media-panel-youtube .media-panel-copy {
    order: 2 !important;
    margin-top: 36px !important;
  }

  #media .media-panel-youtube .youtube-card-grid {
    order: 1 !important;
  }

  #media .media-panel-podcast .media-card {
    order: 1 !important;
    justify-content: center !important;
  }

  #media .media-panel-podcast .media-panel-copy {
    order: 2 !important;
    margin-top: 30px !important;
  }

  #media .media-panel-copy {
    width: 282px !important;
    max-width: calc(100vw - 72px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 13px !important;
  }

  #media .media-panel-podcast .spotify-card {
    width: 258px !important;
    max-width: calc(100vw - 84px) !important;
    padding: 16px !important;
    border-radius: 22px !important;
  }

  #media .media-panel-podcast .spotify-card-frame {
    padding: 10px 10px 14px !important;
    border-radius: 8px !important;
  }

  #media .media-panel-podcast .media-card {
    height: auto !important;
  }

  #media .media-panel-podcast .spotify-card {
    height: auto !important;
  }

  #media .media-panel-podcast .spotify-card-frame {
    height: auto !important;
  }

  #media .media-panel-podcast .spotify-card-cover {
    flex: none !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin-bottom: 13px !important;
  }

  #media .media-panel-podcast .spotify-card-title {
    font-size: 19px !important;
    line-height: 1.28 !important;
  }

  #media .media-panel-podcast .spotify-card-author {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  #media .youtube-card-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    width: 280px !important;
    max-width: calc(100vw - 112px) !important;
    margin: 0 auto !important;
    height: auto !important;
  }

  #media .youtube-card-thumb--mobile-hidden {
    display: none !important;
  }

  #media .youtube-card-thumb {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  #media .youtube-card-thumb-media {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  #media .youtube-card-thumb img,
  #media .youtube-card-thumb-fallback {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  #media .youtube-card-caption {
    position: static !important;
    display: -webkit-box !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  #media .media-panel-label {
    align-self: flex-start !important;
    padding: 8px 11px !important;
    border-radius: 4px !important;
    background: #ff6b32 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  #media .media-panel-title {
    min-height: 0 !important;
    color: #ff6b32 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
  }

  #media .media-panel-desc {
    min-height: 0 !important;
    color: #111111 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.75 !important;
  }

  #media .media-panel-link {
    align-self: center !important;
    justify-content: center !important;
    width: 218px !important;
    min-height: 45px !important;
    margin-top: 12px !important;
    padding: 10px 18px !important;
    border: 2px solid #222222 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
  }

  #media .media-panel-link::after {
    width: 19px !important;
    height: 19px !important;
    background: #222222 !important;
    color: #ffffff !important;
    font-size: 9px !important;
  }

  #events {
    padding: 44px 0 50px;
    background: #ff6b32;
  }

  #events .section-heading .ja-title,
  #events .section-heading .en-title {
    color: #ffffff;
  }

  #events .events-header {
    margin-bottom: 28px;
  }

  #events .events-slider {
    position: relative;
    padding: 0 24px;
  }

  #events .events-track {
    gap: 20px;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  #events .events-track::-webkit-scrollbar {
    display: none;
  }

  #events .event-item {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    min-width: 0;
    scroll-snap-align: start;
  }

  #events .events-nav {
    position: static !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 7px !important;
    width: auto !important;
    max-width: none !important;
    margin: 12px 0 0 auto !important;
    padding: 0 !important;
    transform: none !important;
  }

  #events .events-nav .nav-btn,
  #events .nav-btn {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  #events .events-nav .nav-btn::after,
  #events .nav-btn::after {
    color: #ff6b32 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  #events .events-cta {
    display: flex;
    justify-content: center;
    margin-top: 25px;
  }

  #news {
    padding: 47px 0 0;
    background: #ffffff;
  }

  #news .news-header {
    margin-bottom: 30px;
  }

  #news .news-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 30px !important;
  }

  #news .news-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #news .news-item[hidden] {
    display: none !important;
  }

  #news .news-thumb {
    align-self: center !important;
    width: min(100%, 280px) !important;
    max-width: 280px !important;
    height: 183px !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10) !important;
  }

  #news .news-thumb img,
  #news .news-thumb > div {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  #news .news-thumb-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px 20px !important;
  }

  #news .news-thumb-logo img {
    object-fit: contain !important;
  }

  #news .news-thumb:not(.news-thumb-logo) {
    background: transparent !important;
    box-shadow: none !important;
  }

  #news .news-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  #news .news-meta {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #news .news-category {
    display: none !important;
  }

  #news .news-date {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ff6b32 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }

  #news .news-title {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
  }

  #news .news-detail-link {
    align-self: flex-end !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 4px !important;
    color: #222222 !important;
  }

  #news .news-detail-link .link-text {
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid currentColor !important;
  }

  #news .news-detail-icon {
    width: 18px !important;
    height: 18px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #222222 !important;
    color: #ffffff !important;
    font-size: 11px !important;
  }

  #cta-band {
    padding: 39px 24px 48px;
    background: #ff6b32;
  }

  .cta-band-inner {
    gap: 25px;
  }

  .cta-band-card {
    width: 100%;
    padding: 28px 20px 30px;
    border-radius: 7px;
    background: #ffffff;
  }

  .cta-band-card-title {
    margin-bottom: 15px;
    font-size: 19px;
  }

  .cta-band-card-desc {
    margin-bottom: 19px;
    font-size: 13px;
    line-height: 1.65;
  }

  .cta-band-card-button {
    min-width: 154px;
    height: 38px;
    padding: 0 25px;
    font-size: 12px;
    font-weight: 800;
  }

  #site-footer {
    padding: 47px 24px 43px;
  }

  #site-footer .footer-inner {
    width: 100%;
    gap: 30px;
  }

  .footer-main {
    gap: 28px;
  }

  .footer-logo img {
    height: 30px;
  }

  .footer-address {
    font-size: 11px;
    line-height: 1.8;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 42px;
    width: 100%;
  }

  .footer-nav-row {
    display: contents;
  }

  .footer-nav-row li {
    display: block;
  }

  .footer-nav-row li + li::before {
    display: none;
  }

  .footer-nav-row a {
    font-size: 11px;
    font-weight: 800;
  }

  .footer-bottom {
    align-items: flex-start;
    border-top: 0;
    padding-top: 0;
  }

  .footer-copy {
    font-size: 9px;
  }
}

/* ===== Desktop FV isolation ===== */
@media (min-width: 901px) {
  .mobile-header-cta {
    display: none !important;
  }

  .hamburger {
    display: none !important;
  }

  .mobile-nav-overlay {
    display: none !important;
  }

  #hero .hero-bg-decor {
    display: block;
  }

  #hero .hero-bg-col {
    flex-direction: column;
    width: 322px;
    gap: 11px;
    opacity: 0.16;
    transform: rotate(21.24deg);
    animation: none;
  }

  #hero .hero-bg-thumb {
    width: 322px;
    height: 181px;
    border-radius: 8px;
    object-fit: cover;
  }

  #logo-marquee {
    margin-top: 0;
    padding: 20px 0 30px;
    position: relative;
    z-index: 1;
  }

  .logo-marquee-row {
    height: auto;
    overflow: hidden;
  }

  .logo-marquee-track {
    gap: 62px;
    animation: pdfLogoMarquee 28s linear infinite;
  }

  .logo-marquee-track img {
    width: auto;
    height: auto;
    max-width: 225px;
    max-height: 68px;
    padding: 0;
    flex: 0 0 auto;
    object-fit: contain;
  }
}

@media (min-width: 1201px) {
  #hero {
    height: 642px;
    min-height: 642px;
    max-height: none;
    overflow: visible;
  }

  #hero .hero-inner {
    max-width: 1440px;
    height: 100%;
    padding: 42px 102px 42px 105px;
    display: flex;
    align-items: flex-start;
  }

  #hero .hero-text {
    flex: 0 0 640px;
    width: 640px;
    padding-top: 0;
  }

  /* Member grid on the right */
  #hero .hero-visual {
    position: absolute;
    top: 26px;
    right: 56px;
    width: 470px;
    height: 500px;
    margin: 0;
  }

  #hero .hero-group-photo {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* zoom badge + calling-pose mascot in the center (left of grid) */
  #hero .hero-zoom-badge {
    display: block;
    left: -255px;
    top: 250px;
    width: 188px;
    height: auto;
    z-index: 5;
  }

  #hero .hero-mascot {
    display: block;
    left: -345px;
    top: 300px;
    width: 184px;
    height: auto;
    z-index: 6;
  }

  #hero .hero-arrow {
    display: none;
  }
}

/* ===== Member cards: photo on top, name below (PDF match) ===== */
@media (min-width: 901px) {
  #member .member-grid {
    align-items: start;
  }
  #member .member-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: auto;
  }
  #member .member-photo,
  #member .member-card:first-child .member-photo {
    position: relative;
    height: auto;
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: #fdf2ea;
    box-shadow: none;
  }
  #member .member-photo img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
  }
  #member .member-card-body,
  #member .member-card:first-child .member-card-body {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    background: #ffffff;
    box-shadow: none;
    border-radius: 0;
    padding: 14px 18px 18px;
    text-align: left;
  }
  #member .member-role {
    color: #FE6B32;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
  }
  #member .member-name {
    font-size: 20px;
    line-height: 1.3;
    color: #1b1a1a;
  }
  #member .member-card:first-child .member-role {
    font-size: 14px;
  }
  #member .member-card:first-child .member-name {
    font-size: 24px;
  }
}

/* ===== CTA band group photo overlap (PDF match) ===== */
@media (min-width: 901px) {
  #news .news-visual {
    position: relative;
    z-index: 1;
    margin-top: 40px;
    margin-bottom: -56px;
  }
  #news .news-visual img {
    width: min(100%, 760px);
  }
  #cta-band {
    position: relative;
    z-index: 2;
  }
}

/* footer company name */
.footer-company {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
  color: #1b1a1a;
  margin: 0;
}
@media (max-width: 900px) {
  .footer-company { font-size: 13px; }
}

/* footer refinements: spaced links, left copyright (PDF match) */
@media (min-width: 901px) {
  #site-footer .footer-nav-row { gap: 0 34px; }
  #site-footer .footer-nav-row li + li::before { display: none; }
  #site-footer .footer-bottom { display: flex; justify-content: flex-start; }
  #site-footer .footer-copy { text-align: left; color: #6b6b6b; }
}

/* Mobile hero: hide desktop member-grid visual (PDF mobile shows banner row instead) */
@media (max-width: 900px) {
  #hero .hero-visual,
  #hero .hero-group-photo {
    display: none !important;
  }
}

/* ===== Hero visual: match PDF placement/size (member grid larger + left, zoom badge smaller, to the right of プロ集団) ===== */
@media (min-width: 1201px) {
  #hero .hero-visual {
    top: 19px !important;
    right: 50px !important;
    left: auto !important;
    width: 520px !important;
    height: 570px !important;
  }
  #hero .hero-group-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  /* バッジはJS(positionHeroDecor)がマスコット頭上へ実配置する(インライン!importantで上書き)。
     ここはJS実行前の一瞬用フォールバック値。以前の left:-48/top:-18 は写真グリッド左上に
     浮いてしまっていたため、JS配置(概ね left:-200/top:240)に近い「マスコット頭上・写真非重なり」
     の値にしておく */
  #hero .hero-zoom-badge {
    left: -200px !important;
    top: 240px !important;
    width: 140px !important;
    height: auto !important;
  }
  #hero .hero-mascot {
    left: -315px !important;
    top: 304px !important;
    width: 224px !important;
    height: auto !important;
  }
}

/* Service "詳しく見る" button: unify → arrow and lower position (user request) */
#services .text-link .arrow-circle::after {
  content: '→';
}
#services .service-item .text-link {
  margin-top: 48px;
}

/* Member card link wrapper: stack photo + body at all breakpoints (restore member page links) */
#member .member-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* ===== Mobile hero group photo (乾・茂木・矢部) — FV.png ===== */
.hero-mobile-group,
.hero-mobile-standing,
.hero-mobile-zoom { display: none; }
@media (max-width: 900px) {
  #hero { position: relative; }
  #hero .hero-mobile-group {
    display: block;
    position: absolute;
    top: 50px;
    right: -72px;
    width: 82vw;
    max-width: 322px;
    height: auto;
    z-index: 1;
    pointer-events: none;
  }
  #hero .hero-mobile-standing {
    display: none;
    position: absolute;
    height: auto;
    z-index: 1;
    pointer-events: none;
  }
  #hero .hero-inner { position: relative; z-index: 2; }
  #hero .hero-text { width: 63%; }
  #hero .hero-sub {
    font-size: 19px;
    line-height: 1.4;
    max-width: none;
    margin-bottom: 6px;
  }
  #hero .hero-mobile-zoom {
    display: block;
    position: absolute;
    left: 168px;
    top: 144px;
    width: 54px;
    height: auto;
    z-index: 3;
    pointer-events: none;
  }
  #hero .hero-headline-top { white-space: nowrap; }
  #hero .hero-highlight { font-size: 34px; line-height: 1.2; letter-spacing: 0; }
  #hero .hero-headline-no { font-size: 22px; line-height: 1.2; }
  #hero .hero-headline-pro { font-size: 34px; line-height: 1.2; letter-spacing: 0; }
  #hero .hero-desc { width: 100%; margin-top: 12px; }
}

/* Service card (PC): lift the hero image to the top so the "詳しく見る"
   button sits lower with clear spacing between image and button (match comp). */
@media (min-width: 1041px) {
  #services .service-item .service-image {
    align-self: flex-start;
    margin-top: 26px;
  }
}

/* Service card (SP): the global 48px top-margin on the button opens too large a
   gap under the description on mobile — tighten it to match the SP comp. */
@media (max-width: 640px) {
  #services .service-item .text-link {
    margin-top: 4px;
  }
}

/* =========================================================================
   Webinar BPO 伴走支援 — full service detail page
   Shared by service-webinar-bpo.html (static comp) and the WordPress
   single-service template (template-parts/service-webinar-bpo.php).
   Design comp: ウェビナー伴走支援.jpg (2026-07)
   ========================================================================= */
.wbpo-page {
  --wbpo-orange: #fd6b32;
  --wbpo-cream: #fef6f3;
  --wbpo-cream-deep: #fdf3ec;
  color: #1b1a1a;
}

.wbpo-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 40px;
}

.wbpo-em {
  font-style: normal;
  color: var(--wbpo-orange);
}

/* --- Hero --- */
.wbpo-hero {
  padding: 72px 40px 64px;
}

.wbpo-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.wbpo-hero__content {
  flex: 1 1 0;
  min-width: 0;
}

.wbpo-hero__title {
  margin: 8px 0 28px;
  padding-left: 18px;
  border-left: 7px solid var(--wbpo-orange);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.35;
}

.wbpo-hero__lead {
  margin: 0 0 4px;
  font-size: 16.5px;
  line-height: 1.95;
}

.wbpo-hero__note {
  margin: 0 0 32px;
  font-size: 13px;
  line-height: 1.7;
  color: #333;
}

.wbpo-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wbpo-page .service-btn-yellow {
  background: #fdba31;
}

.wbpo-hero__visual {
  flex: 0 0 360px;
  margin: 0;
}

.wbpo-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* --- Anchor nav band --- */
.wbpo-anchor-nav {
  background: #f7f7f7;
  padding: 44px 40px 36px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 56px;
}

.wbpo-anchor-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1b1a1a;
  text-decoration: none;
}

.wbpo-anchor-nav a::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #1b1a1a;
  border-bottom: 2px solid #1b1a1a;
  transform: rotate(45deg);
}

.wbpo-anchor-nav a:hover span {
  color: var(--wbpo-orange);
}

/* --- Sections / headings --- */
.wbpo-section {
  padding: 60px 0 30px;
}

.wbpo-h2 {
  margin: 0 0 32px;
  padding: 17px 26px;
  background: var(--wbpo-orange);
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
}

.wbpo-lead {
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 2;
}

.wbpo-lead--strong {
  font-weight: 700;
}

/* --- 強い理由: cream card list --- */
.wbpo-reason-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.wbpo-reason-list li {
  position: relative;
  background: var(--wbpo-cream);
  border-radius: 8px;
  padding: 22px 28px 22px 44px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.9;
}

.wbpo-reason-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 34px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1b1a1a;
}

/* --- 課題 groups --- */
.wbpo-issue-group {
  margin-bottom: 34px;
}

.wbpo-issue-group__title {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
  color: var(--wbpo-orange);
}

/* --- Plain bullets（・リスト） --- */
.wbpo-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.wbpo-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.85;
}

.wbpo-bullets li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12.5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1b1a1a;
}

/* --- 5つの特徴 --- */
.wbpo-feature {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  margin-bottom: 56px;
  align-items: start;
}

.wbpo-feature__visual {
  margin: 0;
}

.wbpo-feature__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.wbpo-feature__num {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--wbpo-orange);
}

.wbpo-feature__title {
  margin: 0 0 18px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

.wbpo-feature__body {
  margin: 0;
  font-size: 15px;
  line-height: 2.15;
  text-align: justify;
}

/* --- 失敗する3つのポイント --- */
.wbpo-fail {
  margin-bottom: 44px;
}

.wbpo-fail__title {
  display: inline-block;
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--wbpo-orange);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.wbpo-fail__body {
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
  text-align: justify;
}

.wbpo-callout {
  position: relative;
  margin-top: 52px;
  background: #f4f3f5;
  padding: 66px 36px 30px;
}

.wbpo-callout__label {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 9px 18px;
  background: #017aff;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.wbpo-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
}

/* --- サービス内容（柱） --- */
.wbpo-pillar {
  margin-top: 56px;
}

.wbpo-pillar__label {
  margin: 0 0 22px;
  font-size: 23px;
  font-weight: 700;
  color: var(--wbpo-orange);
  line-height: 1.5;
}

.wbpo-pillar__desc {
  margin: 0 0 40px;
  font-size: 15.5px;
  line-height: 2;
}

.wbpo-subhead {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
}

.wbpo-sub-title {
  margin: 30px 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--wbpo-orange);
}

/* --- Box shared: title with short orange bar --- */
.wbpo-box-title {
  margin: 0 0 34px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.wbpo-box-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 12px auto 0;
  background: var(--wbpo-orange);
}

.wbpo-box-title__note {
  font-size: 17px;
  letter-spacing: 0.02em;
}

/* --- 進め方（flow steps） --- */
.wbpo-flow {
  margin: 44px 0 10px;
  background: #fdfaf7;
  padding: 40px 36px;
}

.wbpo-flow__steps {
  display: grid;
  gap: 20px;
}

.wbpo-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 108px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  background: #fff7f2;
  border-radius: 10px;
  padding: 18px 26px 18px 0;
}

.wbpo-flow-step__num {
  position: relative;
  left: -22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--wbpo-orange);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.wbpo-flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  height: calc(100% + 20px);
  border-left: 3px dotted var(--wbpo-orange);
}

.wbpo-flow-step__icon {
  margin: 0;
  width: 108px;
  height: 108px;
}

.wbpo-flow-step__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.wbpo-flow-step__name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--wbpo-orange);
}

.wbpo-flow-step__desc {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

/* --- 主な成果物 --- */
.wbpo-seika {
  position: relative;
  margin: 48px 0 0;
  background: #fdfaf7;
  padding: 44px 30px 40px;
  overflow: hidden;
}

.wbpo-seika::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 18px;
  width: 150px;
  height: 110px;
  background-image: radial-gradient(rgba(253, 107, 50, 0.28) 4px, transparent 4.5px);
  background-size: 26px 26px;
  pointer-events: none;
}

.wbpo-seika::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(253, 107, 50, 0.12);
  pointer-events: none;
}

.wbpo-seika__grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.wbpo-seika__item {
  width: calc(25% - 17px);
  min-width: 158px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 24px 14px 22px;
  text-align: center;
}

.wbpo-seika__item figure {
  margin: 0 0 14px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wbpo-seika__item figure img {
  max-width: 78%;
  max-height: 92px;
  object-fit: contain;
}

.wbpo-seika__num {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--wbpo-orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wbpo-seika__name {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.55;
}

.wbpo-seika__item--bordered {
  border: 1.5px solid var(--wbpo-orange);
  box-shadow: none;
  padding-top: 20px;
}

.wbpo-seika__item--bordered .wbpo-seika__name {
  color: var(--wbpo-orange);
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--wbpo-orange);
  display: inline-block;
}

.wbpo-seika__desc {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
}

.wbpo-divider {
  margin-top: 26px;
  height: 12px;
  background: var(--wbpo-orange);
}

/* --- 1企画あたりのプロセス --- */
.wbpo-process {
  margin: 44px 0 48px;
  background: #fdfaf7;
  padding: 40px 36px;
}

.wbpo-process__steps {
  display: grid;
}

.wbpo-process-step {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border-radius: 4px;
  overflow: hidden;
}

.wbpo-process-step__head {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f9f0e6;
  padding: 14px 18px;
}

.wbpo-process-step__num {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wbpo-orange);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wbpo-process-step__name {
  font-size: 17px;
  font-weight: 700;
}

.wbpo-process-step__desc {
  margin: 0;
  background: #fff;
  border: 1px solid #f2e6da;
  border-left: none;
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.wbpo-process-arrow {
  padding: 4px 0;
  margin-left: 140px;
  color: var(--wbpo-orange);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

/* --- お試し特別プラン --- */
.wbpo-plan-title {
  margin: 8px 0 20px;
  font-size: 23px;
  font-weight: 700;
}

.wbpo-plan-lead {
  margin: 0 0 32px;
  font-size: 15.5px;
  line-height: 1.9;
}

.wbpo-table-wrap {
  overflow-x: auto;
}

.wbpo-plan-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15.5px;
}

.wbpo-plan-table th {
  background: var(--wbpo-orange);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 14px 18px;
  border: 1px solid var(--wbpo-orange);
}

.wbpo-plan-table th:first-child { width: 37%; }
.wbpo-plan-table th:nth-child(2) { width: 13%; }

.wbpo-plan-table td {
  border: 1px solid #f3d9c4;
  padding: 13px 18px;
  font-weight: 700;
  line-height: 1.7;
}

.wbpo-plan-table td:first-child {
  background: var(--wbpo-cream-deep);
}

.wbpo-plan-table td:first-child img {
  display: inline-block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 14px;
}

.wbpo-plan-table td:nth-child(2) {
  text-align: center;
}

.wbpo-plan-price {
  margin: 30px 0 0;
  font-size: 17px;
  font-weight: 700;
}

/* --- お客様の成功事例 --- */
.wbpo-case-box {
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 30px 32px 34px;
  margin-bottom: 36px;
  background: #fff;
}

.wbpo-case-box__title {
  display: inline-block;
  margin: 0 0 26px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wbpo-orange);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wbpo-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.wbpo-case {
  border: 1px solid #f6d9c6;
  border-radius: 6px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
}

.wbpo-case__head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.wbpo-case__badge {
  flex: 0 0 64px;
  height: 72px;
  background: var(--wbpo-orange);
  color: #fff;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}

.wbpo-case__badge span {
  font-size: 13px;
  font-weight: 700;
}

.wbpo-case__badge b {
  font-size: 30px;
  font-weight: 700;
}

.wbpo-case__company {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.wbpo-case__result {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--wbpo-orange);
}

.wbpo-case__body {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.95;
  text-align: justify;
}

.wbpo-case__metrics {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #f0cdb4;
  border-bottom: 1px solid #f0cdb4;
  padding: 16px 0;
  margin-bottom: 18px;
}

.wbpo-case__metric {
  flex: 1 1 0;
  min-width: 0;
  padding: 2px 6px;
  text-align: center;
}

.wbpo-case__metric + .wbpo-case__metric {
  border-left: 1px solid #f0cdb4;
}

.wbpo-case__metric-label {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}

.wbpo-case__metric-value {
  margin: 0;
  color: var(--wbpo-orange);
  font-size: 12px;
  font-weight: 700;
}

.wbpo-case__metric-value b {
  font-size: 22px;
  font-weight: 700;
}

.wbpo-case__voice {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fdf4ed;
  border-radius: 4px;
  padding: 14px 16px;
}

.wbpo-case__voice-tag {
  flex: 0 0 auto;
  margin: 2px 0 0;
  background: var(--wbpo-orange);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.wbpo-case__voice-text {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.9;
}

/* --- ご支援実績 --- */
.wbpo-logos {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 2.3;
}

/* --- FAQ --- */
.wbpo-faq-section {
  margin-top: 70px;
  background: #f9f7f8;
  padding: 76px 0 90px;
}

.wbpo-faq-title {
  margin: 0 0 36px;
  font-size: 28px;
  font-weight: 700;
}

.wbpo-faq-list {
  display: grid;
  gap: 30px;
}

.wbpo-faq-item {
  background: #fff;
  border: 1.5px solid #222;
  border-radius: 18px;
  padding: 28px 34px 30px;
}

.wbpo-faq-item__q {
  margin: 0 0 16px;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.6;
}

.wbpo-faq-item__a {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.95;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .wbpo-hero {
    padding: 40px 28px 48px;
  }

  .wbpo-hero__inner {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .wbpo-hero__visual {
    flex: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .wbpo-hero__title {
    font-size: 26px;
  }

  .wbpo-container {
    padding: 0 28px;
  }

  .wbpo-anchor-nav {
    padding: 30px 24px 26px;
    gap: 20px 32px;
  }

  .wbpo-anchor-nav a {
    font-size: 14px;
  }

  .wbpo-h2 {
    font-size: 20px;
    padding: 14px 20px;
  }

  .wbpo-section {
    padding: 44px 0 20px;
  }

  .wbpo-feature {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .wbpo-feature__visual {
    max-width: 420px;
  }

  .wbpo-flow {
    padding: 28px 20px;
  }

  .wbpo-flow-step {
    grid-template-columns: 40px 72px minmax(0, 1fr);
    gap: 12px;
    padding-right: 16px;
  }

  .wbpo-flow-step__num {
    left: -14px;
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .wbpo-flow-step__icon {
    width: 72px;
    height: 72px;
  }

  .wbpo-flow-step__name {
    font-size: 15.5px;
  }

  .wbpo-flow-step__desc {
    font-size: 13px;
  }

  .wbpo-box-title {
    font-size: 20px;
  }

  .wbpo-seika__item {
    width: calc(50% - 11px);
    min-width: 0;
  }

  .wbpo-process {
    padding: 28px 20px;
  }

  .wbpo-process-step {
    grid-template-columns: 1fr;
  }

  .wbpo-process-step__desc {
    border: 1px solid #f2e6da;
    border-top: none;
  }

  .wbpo-process-arrow {
    margin-left: 60px;
  }

  .wbpo-case-grid {
    grid-template-columns: 1fr;
  }

  .wbpo-case-box {
    padding: 22px 20px 26px;
  }

  .wbpo-faq-item {
    padding: 22px 22px 24px;
  }
}

@media (max-width: 640px) {
  .wbpo-hero__title {
    font-size: 22px;
    border-left-width: 5px;
    padding-left: 12px;
  }

  .wbpo-container {
    padding: 0 20px;
  }

  .wbpo-h2 {
    font-size: 18px;
  }

  .wbpo-feature__title {
    font-size: 19px;
  }

  .wbpo-fail__title {
    font-size: 18px;
  }

  .wbpo-pillar__label {
    font-size: 19px;
  }

  .wbpo-case__metrics {
    flex-wrap: wrap;
    gap: 12px 0;
  }

  .wbpo-case__metric {
    flex: 1 1 45%;
  }

  .wbpo-case__metric:nth-child(3) {
    border-left: none;
  }
}



/* ===== Responsive stability guard ===== */
#hero,
#logo-marquee,
.logo-marquee-row {
  max-width: 100vw;
  overflow: hidden;
}

#hero,
#logo-marquee {
  contain: paint;
}

.hero-inner,
.services-grid,
.service-item,
.member-grid,
.media-content,
.works-slider,
.blog-slider,
.events-slider,
.news-list {
  min-width: 0;
}

.works-track,
.blog-track,
.events-track,
.about-banners,
.logo-marquee-row {
  contain: layout paint;
}

@media (min-width: 901px) and (max-width: 1200px) {
  #site-header {
    padding-right: 28px;
    padding-left: 28px;
  }

  #site-header .header-nav,
  #site-header .nav-menu {
    gap: clamp(12px, 1.6vw, 20px);
  }

  #site-header .nav-menu a {
    font-size: clamp(12px, 1.35vw, 14px);
  }

  #site-header .header-cta {
    gap: 10px;
  }

  #site-header .header-cta .cv-btn:first-child {
    width: clamp(178px, 19vw, 205px);
  }

  #site-header .header-cta .cv-btn:last-child {
    width: clamp(164px, 17vw, 190px);
  }

  #hero {
    overflow: hidden !important;
  }

  #works,
  #blog,
  #events,
  #member {
    overflow: hidden;
  }

  #works .works-slider,
  #blog .blog-slider,
  #events .events-slider {
    /* 全幅化(100%)だと見出しインデントと不整列になりカードが見切れる。
       コンテンツ余白(10.6vw)に沿わせたままはみ出しだけ隠す */
    max-width: min(1134px, calc(100% - 21.2vw));
    overflow: hidden;
  }

  #member .member-grid {
    max-width: 100%;
    overflow: hidden;
  }

  #hero .hero-inner {
    padding-right: clamp(44px, 6vw, 82px);
    padding-left: clamp(48px, 7vw, 88px);
  }
}

/* 641px〜: モバイルFV(3人写真)をやめPC型レイアウトへ。640以下との隙間を作らない */
@media (min-width: 641px) and (max-width: 900px) {
  #site-header {
    height: 74px;
    padding: 14px 28px;
  }

  #hero {
    /* 固定高だとCTA下〜ロゴマーキーの間が空きすぎるため、コンテンツ基準の高さにする */
    height: auto;
    min-height: 0;
    padding: 0;
    background: #ffffff;
  }

  #hero .hero-mobile-group,
  #hero .hero-mobile-zoom {
    display: none !important;
  }

  #hero .hero-bg-decor {
    display: block;
    opacity: 1;
    overflow: hidden;
    z-index: 0;
  }

  #hero .hero-bg-col {
    display: flex;
    flex-direction: column;
    width: 260px;
    gap: 8px;
    opacity: 0.11;
    transform: rotate(21.24deg);
    animation: none;
  }

  #hero .hero-bg-col:first-child {
    left: -190px !important;
    top: -70px !important;
  }

  #hero .hero-bg-col:nth-child(2) {
    left: 120px !important;
    top: -72px !important;
  }

  #hero .hero-bg-col:nth-child(3) {
    left: 470px !important;
    top: -62px !important;
  }

  #hero .hero-bg-thumb {
    display: block !important;
    width: 260px !important;
    height: 146px !important;
  }

  #hero .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.75fr);
    align-items: center;
    gap: 24px;
    min-height: 0;
    padding: 42px 44px 48px;
  }

  #hero .hero-text {
    width: auto;
    max-width: none;
    padding: 0;
    position: relative;
    z-index: 2;
  }

  #hero .hero-sub {
    /* 641px付近で「リード獲得/商談創出！」が1行に収まるサイズ */
    font-size: clamp(24px, 4.2vw, 34px);
    line-height: 1.28;
    margin-bottom: 10px;
  }

  #hero .hero-headline {
    margin-bottom: 24px;
  }

  #hero .hero-headline-top {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    white-space: nowrap;
  }

  #hero .hero-highlight,
  #hero .hero-headline-pro {
    /* 641px付近でも見出し(ウェビナー+の)がテキスト列に収まるよう下限を下げる */
    font-size: clamp(50px, 8vw, 70px);
    line-height: 1;
  }

  #hero .hero-headline-no {
    font-size: clamp(38px, 5.2vw, 48px);
    line-height: 1;
  }

  #hero .hero-desc {
    width: auto;
    max-width: 30em;
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.7;
  }

  #hero .hero-cta {
    display: flex;
    flex-direction: row !important;
    /* PC同様に常に横1列。テキスト列からはみ出しても写真は上寄せなので衝突しない */
    flex-wrap: nowrap;
    gap: 14px;
    width: max-content;
    max-width: none;
  }

  #hero .btn-hero-primary,
  #hero .btn-hero-primary:first-child,
  #hero .btn-hero-primary:last-child {
    width: auto;
    min-width: fit-content;
    height: 56px;
    padding: 0 18px;
    font-size: 13px;
  }

  #hero .hero-visual {
    display: block !important;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    /* 縦センターだと写真が下がりすぎるため上寄せしてバランスを取る */
    align-self: start;
    margin: 24px 0 0;
    z-index: 2;
  }

  #hero .hero-group-photo {
    display: block !important;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  #hero .hero-zoom-badge {
    display: block !important;
    width: 82px;
    left: -74px;
    top: 56%;
    z-index: 3;
  }

  #hero .hero-mascot,
  #hero .hero-arrow {
    display: none !important;
  }

  #services .service-item {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 38%);
  }
}

@media (max-width: 900px) {
  #hero {
    overflow: hidden !important;
  }

  #hero .hero-bg-decor,
  #hero .hero-bg-col {
    max-width: 100vw;
  }

  #logo-marquee,
  #logo-marquee .logo-marquee-row {
    overflow: hidden !important;
  }

  #logo-marquee .logo-marquee-track {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  #hero .hero-inner {
    min-height: 438px;
    padding-right: 20px;
  }

  #hero .hero-text {
    width: min(205px, 56vw);
    max-width: min(205px, 56vw);
  }

  #hero .hero-mobile-group {
    top: 42px;
    right: -24px;
    width: min(48vw, 188px);
  }

  #hero .hero-mobile-zoom {
    left: min(168px, 42vw);
    top: 144px;
    width: 54px;
  }

  #hero .hero-visual {
    display: none;
  }

}

/* スマホcomp準拠: FVは全モバイル幅で3人写真(hero-mobile-group)を使う。
   旧・375px以下で立ち姿1人(hero-mobile-standing)に切り替える上書きは削除した */

@media (max-width: 520px) {
  #services .service-item {
    display: flex !important;
    flex-direction: column !important;
  }

  #services .service-image {
    width: 100% !important;
    max-width: none;
    order: -1;
  }
}

/* Center the label and arrow as one visual group for outline CTAs. */
#member .member-cta .cv-btn-large,
#blog .blog-cta .cv-btn-large {
  justify-content: center;
  gap: 28px;
  padding-left: 44px;
  padding-right: 44px;
}

#member .member-cta .cv-btn-large::after,
#blog .blog-cta .cv-btn-large::after {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0;
  transform: none;
}

@media (max-width: 640px) {
  #member .member-cta .cv-btn-large,
  #blog .blog-cta .cv-btn-large {
    gap: 10px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ===== Final mobile comp alignment: services and hero visual ===== */
@media (max-width: 640px) {
  /* comp実測: 見出しは約28px（34pxだとバッジや写真と干渉する） */
  #hero .hero-highlight,
  #hero .hero-headline-pro {
    font-size: 28px;
  }

  #hero .hero-headline-no {
    font-size: 20px;
  }

  #hero .hero-mobile-group {
    /* 写真の下端を見出し「プロ集団」(.hero-headline-pro)の下端ラインに揃える。
       写真の高さ = 幅 × 0.711(実測アスペクト比)。幅は左端が常に210px以上に
       なるよう calc(100vw-210px) で制限し(見出し/Zoomバッジと非干渉)、上限は180px。
       上限幅(180px)では下端がプロ集団と一致(top:42相当)。狭い端末では幅が縮む分だけ
       top を下げ、下端を hero-inner基準170px(=プロ集団下端)に保つ。これにより
       360〜640の全幅で写真下端がプロ集団下端に揃い、説明文(.hero-desc)にも被らない */
    right: 0;
    width: min(180px, calc(100vw - 210px));
    top: calc(170px - min(180px, calc(100vw - 210px)) * 0.711);
  }

  #hero .hero-mobile-zoom {
    /* comp: 「プロ集団」の右6px・行の垂直センター（文字にも写真にも重ねない） */
    left: 145px;
    top: 134px;
    width: 46px;
    z-index: 3;
  }

  #services .service-item,
  #services .service-item:nth-child(1),
  #services .service-item:nth-child(2),
  #services .service-item:nth-child(3),
  #services .service-item:nth-child(4),
  #services .service-item:nth-child(5) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 132px;
    grid-template-areas:
      "head image"
      "desc desc"
      "link link";
    align-items: start;
    column-gap: 13px;
    row-gap: 0;
    min-height: 0;
    /* PDF実測: 上16 / 左右26-27 / 下11 */
    padding: 16px 26px 11px !important;
  }

  /* PDF実測: カード間隔42px */
  #services .services-grid {
    row-gap: 42px;
  }

  #services .service-text {
    display: contents;
  }

  #services .service-head {
    grid-area: head;
    min-width: 0;
  }

  #services .service-image {
    grid-area: image;
    order: 0 !important;
    width: 132px !important;
    max-width: 132px !important;
    height: 96px !important;
    /* 画像下端と説明文(.service-desc)の間に余白を確保。タイトルが短いカードでは
       画像が行の高さを決め、説明文がほぼ接して窮屈に見えるため下マージンを付与 */
    margin: 0 0 14px;
    border-radius: 10px;
    overflow: hidden;
  }

  #services .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #services .service-eyebrow {
    /* 英語ラベルは左カラム(画像左まで)で折り返す。nowrapだと長いラベル
       (Planning / Presentation)が右上の画像に重なり見切れるため解除。
       overflow-wrap で語中でも折り返し、画像へはみ出さないようにする */
    margin-bottom: 16px;
    font-size: clamp(10px, calc(7.3vw - 15.7px), 13px);
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #services .service-title {
    /* PDF実測: 393pxで約22px / 本文まで32px。狭い端末では最長行(ウェビナーBPO)が収まるまで縮小 */
    margin-bottom: 32px;
    font-size: clamp(15px, calc((100vw - 250px) / 6.8), 22px);
    line-height: 1.2;
  }

  #services .service-desc {
    grid-area: desc;
    /* PDF実測: 13px / 行間1.4 / ボタンまで12px */
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.42;
  }

  #services .service-item .text-link {
    grid-area: link;
    justify-self: center;
    align-self: center;
    /* PDF実測: 約120x30 */
    width: 121px;
    min-width: 0;
    height: 30px;
    margin-top: 0;
    gap: 7px;
    padding: 0 12px;
    font-size: 12px;
  }

  #services .service-item .text-link .arrow-circle {
    width: 16px;
    height: 16px;
  }

  #services .service-item .text-link .arrow-circle::after {
    font-size: 10px;
  }

  #events .events-schedule-bar {
    display: none !important;
  }

  #events .event-image > div {
    background: url("../images/events/event1.png") center / cover no-repeat !important;
  }

  #news .news-item:nth-child(n + 2) {
    display: none !important;
  }
}

@media (min-width: 901px) {
  #media .media-content {
    max-width: 980px;
    --media-visual-height: 444px;
    grid-template-columns: 300px 540px;
    align-items: start;
    gap: 104px;
  }

  #media .media-panel {
    gap: 34px;
  }

  #media .media-panel-podcast {
    width: 300px;
  }

  #media .media-panel-youtube {
    width: 540px;
  }

  #media .media-card,
  #media .youtube-card-grid {
    height: var(--media-visual-height);
  }

  #media .media-panel-copy {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    gap: 11px;
  }

  #media .media-panel-label {
    min-height: 32px;
    padding: 6px 12px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
  }

  #media .media-panel-title {
    min-height: 0;
    overflow: visible;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.42;
    letter-spacing: 0;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  #media .media-panel-desc {
    max-width: none;
    min-height: 81px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.65;
    letter-spacing: 0;
  }

  #media .media-panel-link {
    margin-top: 8px;
  }
}

/* Align MEMBER intro copy with the MEMBER/メンバー heading start. */
@media (min-width: 901px) {
  #member .member-intro {
    box-sizing: border-box;
    width: auto;
    max-width: 1078px;
    margin-left: clamp(112px, 12.2vw, 176px);
    margin-right: auto;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  #member .member-intro {
    margin-left: clamp(64px, 13vw, 100px) !important;
    margin-right: 24px !important;
  }
}

/* Public QA fixes: mobile menu state and full-width event banner rendering. */
.hamburger span {
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#events .events-schedule-bar {
  display: flex;
  width: min(100% - 176px, 1136px);
  height: auto;
  margin: 0 auto 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

#events .events-featured-link {
  display: block;
  width: 100%;
  line-height: 0;
}

#events .events-featured-link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 900px) {
  #events .events-schedule-bar {
    width: calc(100% - 40px);
    margin-bottom: 48px;
    padding: 0;
  }
}

/* ===== タブレット帯（641-900px）: メンバーはPCの4列詰め込みをやめ、3列均等グリッドにする ===== */
@media (min-width: 641px) and (max-width: 900px) {
  #member .member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 760px;
    gap: 22px 18px;
    padding: 0 24px;
  }

  #member .member-card,
  #member .member-card:first-child,
  #member .member-card:nth-child(2),
  #member .member-card:nth-child(3),
  #member .member-card:nth-child(4),
  #member .member-card:nth-child(5),
  #member .member-card:nth-child(6),
  #member .member-card:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    /* PC帯の固定高(170/238px)のままだと写真がカードからはみ出し行が重なる */
    height: auto;
  }

  #member .member-photo,
  #member .member-card:first-child .member-photo {
    /* card-*.png(506x406)の比率に合わせ、切り抜きを最小にする */
    height: auto;
    aspect-ratio: 506 / 406;
    border-width: 6px;
  }

  /* 茂木カードは縦長画像(596x888)。上端基準だと顔アップになりすぎるため位置を下げる */
  #member .member-card:first-child .member-photo img {
    object-position: center 18%;
  }

  #member .member-card-body,
  #member .member-card:first-child .member-card-body {
    padding: 10px 14px 12px;
    max-width: 92%;
  }

  #member .member-role,
  #member .member-card:first-child .member-role,
  #member .member-company {
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
  }

  #member .member-name,
  #member .member-card:first-child .member-name {
    font-size: 16px;
    line-height: 1.4;
  }
}

/* ===== タブレット帯（641-900px）: イベントスライダーが左端に張り付くのを防ぐ ===== */
@media (min-width: 641px) and (max-width: 900px) {
  #events .events-slider {
    padding: 0 24px;
  }

  #events .events-track {
    /* 収まる場合は中央寄せ、あふれる場合は先頭から（safe） */
    justify-content: safe center;
  }
}

/* sp-br: モバイルのみ有効な改行（タブレット以上では1行で収まるため無効化） */
@media (min-width: 641px) {
  br.sp-br {
    display: none;
  }
}

/* ===== PDFcomp準拠: CTAボタンの配置と上下スペース調整（2026-07 実測差分） ===== */
@media (min-width: 901px) {
  /* comp: カード〜ボタン間はやや詰める（#id付きで既存指定に勝たせる） */
  #services .services-cta {
    margin-top: 29px;
  }

  #works .works-cta {
    margin-top: -26px;
  }

  /* comp: 事例一覧ボタンは他CTAと同じ76px高 */
  #works .works-cta .cv-btn-large,
  #works .works-cta .cv-btn-large.cv-btn-large-dark {
    height: 76px;
  }

  /* comp: 事例一覧ボタン〜メンバー見出しの余白を確保 */
  #works {
    padding-bottom: 105px;
  }

  #member .member-cta {
    margin-top: 30px;
  }

  /* comp: ブログ一覧ボタン〜メディア見出しの余白を確保 */
  #blog {
    padding-bottom: 108px;
  }

  #events .events-cta {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  /* comp: ナビ矢印〜CTAボタンは詰める。セクション下端は広げる */
  #works .works-cta {
    margin-top: -35px;
  }

  #works {
    padding-bottom: 93px;
  }

  #blog .blog-cta {
    margin-top: -40px;
  }

  #blog {
    padding-bottom: 58px;
  }

  #member {
    padding-bottom: 61px;
  }

  /* 送りボタンは≤900pxで display:none のため、負マージンだとCTAが
     カード下端(開催日時)に重なる。矢印込みで成立していた実効間隔14pxを直に指定 */
  #events .events-cta {
    margin-top: 14px;
  }

  #events {
    padding-bottom: 63px;
  }

  /* comp: CTAボタンは h44 / 文字14px（幅はfit-contentで自然にcomp幅になる） */
  #works .works-cta .cv-btn-large,
  #works .works-cta .cv-btn-large.cv-btn-large-dark,
  #blog .blog-cta .cv-btn-large,
  #blog .blog-cta .cv-btn-large.cv-btn-large-outline,
  #member .member-cta .cv-btn-large,
  #events .events-cta .cv-btn-large {
    height: 44px;
  }

  #works .works-cta .cv-btn-large span,
  #blog .blog-cta .cv-btn-large span,
  #member .member-cta .cv-btn-large span,
  #events .events-cta .cv-btn-large span {
    font-size: 14px;
  }
}

/* ===== タブレット(901-1040): ヘッダーが詰まりロゴが潰れるためnavを圧縮してロゴ幅を確保 ===== */
@media (min-width: 901px) and (max-width: 1040px) {
  #site-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  #site-header .header-nav {
    gap: 12px;
  }

  #site-header .nav-menu {
    gap: 10px;
  }

  #site-header .nav-menu a {
    font-size: 12px;
  }

  #site-header .header-cta {
    gap: 8px;
  }

  #site-header .header-cta .cv-btn {
    padding: 0 34px 0 20px;
  }

  #site-header .header-cta .cv-btn:first-child {
    width: 164px;
  }

  #site-header .header-cta .cv-btn:last-child {
    width: 152px;
  }

  #site-header .header-cta .cv-btn span {
    font-size: 12px;
  }
}
/* ===== メンバーカード: 装飾CSS + 人物切り抜き画像 =====
   装飾（背景色・ブロブ・波・ドット）はCSSで描画し、人物は透過PNG。
   カード枠のサイズが変わっても装飾が途切れない。 */
.member-photo--cutout {
  position: relative;
  overflow: hidden;
}

.member-photo--cutout::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--deco-bg, #FDEAEC);
  background-image: var(--deco-img, none);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* 上端アンカー: 枠がどんな比率でも頭は切れない。
   人物はキャンバス下端まで写っているため、下が切れても接地感は保たれる */
.member-card .member-photo--cutout img,
.member-card:first-child .member-photo--cutout img,
#member .member-photo--cutout img,
#member .member-card:first-child .member-photo--cutout img {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.member-photo--deco-blob {
  --deco-bg: #FEE5E0;
  --deco-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 596 888' preserveAspectRatio='none'%3E%3Cpath d='M0 112C90 100 170 150 200 230 220 290 175 350 185 405 193 455 175 505 90 515L0 520Z' fill='%23FB7635'/%3E%3C/svg%3E");
}

.member-photo--deco-wave-yellow {
  --deco-bg: #FEF2E2;
  --deco-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 506 406' preserveAspectRatio='none'%3E%3Cpath d='M322 406C332 300 352 185 398 122 428 84 468 82 506 96L506 406Z' fill='%23FDD580'/%3E%3C/svg%3E");
}

.member-photo--deco-wave-pink {
  --deco-bg: #FDEAEC;
  --deco-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 506 406' preserveAspectRatio='none'%3E%3Cpath d='M506 55C400 78 282 165 196 406L506 406Z' fill='%23FBD1D3'/%3E%3C/svg%3E");
}

.member-photo--deco-dots-yellow {
  --deco-bg: #FEF2E2;
  --deco-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 506 406' preserveAspectRatio='none'%3E%3Ccircle cx='14' cy='48' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='14' cy='96' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='14' cy='144' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='14' cy='192' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='14' cy='240' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='62' cy='48' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='62' cy='96' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='62' cy='144' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='62' cy='192' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='62' cy='240' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='110' cy='48' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='110' cy='96' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='110' cy='144' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='110' cy='192' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='110' cy='240' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='158' cy='48' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='158' cy='96' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='158' cy='144' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='158' cy='192' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='158' cy='240' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='206' cy='48' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='206' cy='96' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='206' cy='144' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='206' cy='192' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='206' cy='240' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='254' cy='48' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='254' cy='96' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='254' cy='144' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='254' cy='192' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='254' cy='240' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='302' cy='48' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='302' cy='96' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='302' cy='144' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='302' cy='192' r='7.5' fill='%23FFD388'/%3E%3Ccircle cx='302' cy='240' r='7.5' fill='%23FFD388'/%3E%3C/svg%3E");
}

.member-photo--deco-dots-pink {
  --deco-bg: #FDEAEC;
  --deco-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 506 406' preserveAspectRatio='none'%3E%3Ccircle cx='16' cy='64' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='16' cy='112' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='16' cy='160' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='16' cy='208' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='16' cy='256' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='64' cy='64' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='64' cy='112' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='64' cy='160' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='64' cy='208' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='64' cy='256' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='112' cy='64' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='112' cy='112' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='112' cy='160' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='112' cy='208' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='112' cy='256' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='160' cy='64' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='160' cy='112' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='160' cy='160' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='160' cy='208' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='160' cy='256' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='208' cy='64' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='208' cy='112' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='208' cy='160' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='208' cy='208' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='208' cy='256' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='256' cy='64' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='256' cy='112' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='256' cy='160' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='256' cy='208' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='256' cy='256' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='304' cy='64' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='304' cy='112' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='304' cy='160' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='304' cy='208' r='7.5' fill='%23FBC8CD'/%3E%3Ccircle cx='304' cy='256' r='7.5' fill='%23FBC8CD'/%3E%3C/svg%3E");
}

/* comp準拠: 人物の頭上に余白を確保（カード上端に頭が張り付かない）。
   paddingはobject-fitの描画領域を下げるだけで、::beforeの装飾は全面に残る */
.member-card .member-photo--cutout img,
#member .member-photo--cutout img {
  box-sizing: border-box !important;
  padding-top: 11% !important;
}

.member-card:first-child .member-photo--cutout img,
#member .member-card:first-child .member-photo--cutout img {
  padding-top: 6% !important;
}

/* ===== メンバーカード: 装飾焼き込み済みカード画像 (2026-07 デザイナー納品版) =====
   card-*-v2.webp は背景装飾・頭上余白込みの完成カード(3:4)。
   ユーザー指定によりどの表示箇所でもトリミングせず、枠を画像比率(3:4)に合わせて全体を表示する */
.member-photo--card,
#member .member-photo--card,
#member .member-card:first-child .member-photo--card,
.member-archive-photo.member-photo--card {
  overflow: hidden;
  flex: 0 0 auto !important;
  height: auto !important;
  aspect-ratio: 933 / 1245;
}

/* 3:4全体表示に伴い、PC帯の固定グリッド行(290px等)と固定カード高(170/238px等)を解除し、
   行高・カード高を内容に追従させる。茂木大カードは2行スパン領域いっぱいに白ボディを伸ばして埋める */
#member .member-grid {
  grid-template-rows: none !important;
}

#member .member-card,
#member .member-card-link {
  height: auto !important;
}

#member .member-card:first-child {
  min-height: 0 !important;
  height: 100% !important;
}

#member .member-card:first-child .member-card-link {
  height: 100% !important;
}

#member .member-card:first-child .member-card-body {
  flex: 1 1 auto !important;
}

.member-photo--card img {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  padding: 0 !important;
}

/* 飯田さんのみ人物を左右反転。背景装飾の向きは維持する。 */
#member .member-card--iida-yusuke .member-photo img {
  transform: scaleX(-1);
}

/* 詳細ページ: 納品カード(3:4)は加工せず原画のまま全体を表示。
   角丸・背景は画像に焼き込み済みなので枠側の装飾は無効化する */
.member-detail-photo--card {
  aspect-ratio: 933 / 1245;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.member-detail-photo--card img {
  object-fit: contain;
  object-position: center top;
}

/* member一覧ページ: 完成カード画像と切り抜き画像で写真枠の寸法を完全に統一。
   PC・タブレット・スマホの各width指定に追従し、常に同じ3:4比率で表示する。 */
.member-archive-card .member-archive-photo {
  height: auto !important;
  aspect-ratio: 933 / 1245 !important;
  flex: 0 0 auto !important;
  border-radius: 20px;
}

.member-archive-photo.member-photo--cutout img {
  position: relative;
  z-index: 1;
}

/* ===== ロゴマーキー: 画像内余白を実測し視覚サイズを揃える =====
   --lmh はタブレット(≤900px)での CSS 高さ。PC はその1.35倍。
   値 = 目標視覚高 ÷ (ロゴ実体の高さ÷画像高さ)。目標視覚高はロゴの縦横比で段階設定
   (正方形系28px 〜 超横長ワードマーク14px) して面積感を揃えている */
.logo-marquee-track img {
  --lmh: 24px;
  height: calc(var(--lmh) * 1.35);
  max-width: none;
  /* PC帯のmax-height:68pxが余白の多いロゴ(kakutoku等)の箱を切るため解除 */
  max-height: none;
}

.logo-marquee-track img[src*="nri"] { --lmh: 48px; margin: 0 -8px; }
.logo-marquee-track img[src*="richka"] { --lmh: 31px; }
.logo-marquee-track img[src*="leverage"] { --lmh: 14px; }
.logo-marquee-track img[src*="startup-hub-tokyo"] { --lmh: 17px; }
.logo-marquee-track img[src*="gmo-connect"] { --lmh: 14px; }
.logo-marquee-track img[src*="kakutoku"] { --lmh: 60px; margin: 0 -18px; }
.logo-marquee-track img[src*="anotherworks"] { --lmh: 16px; }
.logo-marquee-track img[src*="newpeaks"] { --lmh: 28px; }
.logo-marquee-track img[src*="overflow"] { --lmh: 36px; margin: 0 -6px; }
.logo-marquee-track img[src*="zoom"] { --lmh: 18px; }
.logo-marquee-track img[src*="sakiyomi"] { --lmh: 30px; }
.logo-marquee-track img[src*="sora"] { --lmh: 46px; margin: 0 -14px; }
.logo-marquee-track img[src*="uyet"] { --lmh: 54px; margin: 0 -10px; }
.logo-marquee-track img[src*="nexpro"] { --lmh: 22px; }
.logo-marquee-track img[src*="kinotrope"] { --lmh: 21px; }
.logo-marquee-track img[src*="cac"] { --lmh: 30px; }
.logo-marquee-track img[src*="datafluct"] { --lmh: 24px; }
.logo-marquee-track img[src*="cyberace"] { --lmh: 21px; }
.logo-marquee-track img[src*="behealthy"] { --lmh: 18px; }
.logo-marquee-track img[src*="hareruya"] { --lmh: 28px; }
.logo-marquee-track img[src*="hirogin"] { --lmh: 15px; }
.logo-marquee-track img[src*="smart-soudan"] { --lmh: 16px; }
.logo-marquee-track img[src*="videomatching"] { --lmh: 33px; }

@media (max-width: 900px) {
  .logo-marquee-track img {
    height: var(--lmh);
  }
}

/* =========================================================================
   UIバランス調整 (2026-07): タップ領域44px確保・帯域間の不整合解消
   視覚サイズはPDFカンプ実測値を維持し、ヒットエリアのみ透明擬似要素で拡張
   ========================================================================= */

/* --- タブレット帯(641-900px): ハンバーガーが白線×白背景で不可視+28x20と過小。
       ≤640と同じオレンジ角形に統一し44px以上を確保 --- */
@media (min-width: 641px) and (max-width: 900px) {
  .hamburger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: #ff6b32;
  }

  .hamburger span {
    width: 25px;
    height: 2px;
    background: #ffffff;
  }

  /* セクションCTAの寸法をブログ一覧(360x70)と統一(現状48px高で他と不揃い) */
  #member .member-cta .cv-btn-large {
    width: 100%;
    max-width: 360px;
    height: 70px;
  }

  /* 見出し英字の太さを他帯域(900)と統一 */
  .section-heading .en-title {
    font-weight: 900;
  }
}

/* --- カルーセル矢印: 視覚24px/22pxのままタップ領域を44x44に拡張 --- */
@media (max-width: 900px) {
  #works .works-nav .nav-btn,
  #blog .blog-nav .nav-btn,
  #events .events-nav .nav-btn,
  #events .nav-btn {
    position: relative;
  }

  #works .works-nav .nav-btn::before,
  #blog .blog-nav .nav-btn::before,
  #events .events-nav .nav-btn::before,
  #events .nav-btn::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
  }

  /* ヘッダーCTAピル(視覚約30px)のタップ領域拡張 */
  .mobile-header-cta {
    position: relative;
  }

  .mobile-header-cta::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 44px;
    transform: translateY(-50%);
  }

  /* フッターナビ: 高さ16pxのテキストリンクを44px相当のタップ領域に。
     縦は実パディング(負マージンだと行同士が重なり誤タップになる)、横のみ相殺 */
  .footer-nav-row a {
    display: inline-block;
    padding: 14px 10px;
    margin: 0 -10px;
  }
}

/* --- ≤640px: 矢印同士のタップ領域が重ならないよう間隔を確保(中心間44px) --- */
@media (max-width: 640px) {
  #works .works-nav,
  #blog .blog-nav {
    gap: 20px !important; /* 既存の gap:8px !important に対抗 */
  }

  #events .events-nav {
    /* staticのままだと後続の.events-ctaが拡張タップ領域を覆う */
    position: relative !important;
    z-index: 2;
    gap: 22px !important;
  }

  /* フッター: リンクのパディング増加分、行間を詰めて視覚リズムを保つ */
  .footer-links {
    gap: 4px 42px;
  }
}

/* --- ≤640px: サービスカード「詳しく見る」(視覚121x30)のタップ領域拡張 --- */
@media (max-width: 640px) {
  #services .service-item .text-link {
    position: relative;
  }

  #services .service-item .text-link::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100%, 121px);
    height: 44px;
    transform: translate(-50%, -50%);
  }
}

/* --- ≤640px: セクション上余白のリズム統一(38/39/44/47px混在 → 48px) --- */
@media (max-width: 640px) {
  :root {
    --section-pad-top-m: 48px;
  }

  #services,
  #works,
  #member,
  #blog,
  #media,
  #events,
  #news,
  #cta-band {
    padding-top: var(--section-pad-top-m);
  }
}

/* ===== PCヒーロー: マスコットが説明文/見出しに被らないように =====
   写真列アンカー(left:-315px)のままだと1450px未満で説明文(左固定・右端553px)に
   食い込むため、説明文右端+16pxを下限にする。狭い幅では少し縮小 */
@media (min-width: 1201px) {
  #hero .hero-mascot {
    left: max(-315px, calc(1139px - 100vw)) !important;
    width: clamp(180px, calc(224px - (1440px - 100vw) * 0.28), 224px) !important;
  }
}

/* ===== 1041-1200px: 見出しの途中折返し(ウェビナ/ー)とバッジの「プロ集団」被りを解消 ===== */
@media (min-width: 1041px) and (max-width: 1200px) {
  #hero .hero-headline-top {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    white-space: nowrap;
  }

  #hero .hero-highlight,
  #hero .hero-headline-pro {
    font-size: clamp(48px, 5.6vw, 64px);
    line-height: 1.1;
  }

  #hero .hero-headline-no {
    font-size: clamp(34px, 3.8vw, 44px);
    line-height: 1.1;
  }

  #hero .hero-sub {
    font-size: clamp(24px, 2.6vw, 30px);
  }

  /* 修正7: バッジは写真グリッド左上(茂木の上端)に「少し掛かる」comp位置へ。
     以前のvw連動left(646-76.5vw)は幅を広げるほど左=マスコット/見出し側へ寄り、
     JS配置のマスコット(ボタン2の真上)頭上に被っていた。写真アンカー(hero-visual基準)で
     上端に固定し、マスコットの上に十分なクリアランスを確保する */
  #hero .hero-zoom-badge {
    left: -48px;
    top: -18px;
    width: 124px;
  }

  /* マスコットはJS(main.js)がボタン2の真上へ配置。CSS位置は実質上書きされる */
  #hero .hero-mascot {
    left: calc(741px - 76.5vw);
    top: 258px;
    width: 100px;
    height: auto;
  }

  /* 修正7: この帯はhero高さ642px(min-901由来)に対しコンテンツ下端(写真≒512px)が
     短く、CTA下〜ロゴマーキーに全幅の空白帯(約130px)が生じていた。写真下端＋余白に
     詰める(写真/マスコット/ボタンは非クリップ) */
  #hero {
    height: 570px;
    min-height: 570px;
  }
}

/* 1041-1099px はマスコットを置く隙間が無いため非表示 */
@media (min-width: 1041px) and (max-width: 1099px) {
  #hero .hero-mascot,
  #hero .hero-arrow {
    display: none;
  }
}

/* ===== Small mobile header: keep every primary action inside the viewport =====
   375px以下ではロゴ・相談CTA・ハンバーガーの合計幅が画面幅を超え、
   メニューボタンの右端が切れていたため、見本の比率を保ったまま圧縮する。 */
@media (max-width: 390px) {
  #site-header .site-logo img {
    width: 130px;
    max-width: 130px;
  }
}

@media (max-width: 360px) {
  #site-header .site-logo img {
    width: 110px;
    max-width: 110px;
  }

  #site-header .header-nav {
    gap: 6px;
  }

  #site-header .mobile-header-cta {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 10px;
  }

  #site-header .hamburger {
    width: 48px;
  }
}

/* ===== Medium tablet member grid =====
   901〜1040pxではPC用の4列レイアウト（最小幅1,044px）が画面幅を上回り、
   先頭・末尾カードが切れていた。3列の可変グリッドに切り替え、横スクロール
   せず全メンバーを操作できるようにする。 */
@media (min-width: 901px) and (max-width: 1100px) {
  #member .member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    width: calc(100% - 48px);
    max-width: 960px;
    padding: 0;
    gap: 22px 18px;
  }

  #member .member-card,
  #member .member-card:first-child,
  #member .member-card:nth-child(2),
  #member .member-card:nth-child(3),
  #member .member-card:nth-child(4),
  #member .member-card:nth-child(5),
  #member .member-card:nth-child(6),
  #member .member-card:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
    height: auto;
  }

  #member .member-photo,
  #member .member-card:first-child .member-photo {
    height: auto;
    aspect-ratio: 220 / 206;
  }
}

/* ==========================================================================
   UI/UX polish: clearer hierarchy, calmer surfaces and accessible interaction
   ========================================================================== */
:root {
  --ui-focus: #1458d6;
  --ui-border: rgba(27, 26, 26, 0.10);
  --ui-shadow: 0 6px 20px rgba(27, 26, 26, 0.07);
}

body {
  line-break: strict;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(254, 107, 50, 0.22);
}

a,
button {
  -webkit-tap-highlight-color: rgba(254, 107, 50, 0.18);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ui-focus) !important;
  outline-offset: 3px;
}

#site-header {
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

#site-header.is-scrolled {
  box-shadow: 0 5px 18px rgba(27, 26, 26, 0.10);
}

.nav-menu a,
.footer-nav-row a,
.media-panel-link,
.news-detail-link {
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.nav-menu a:hover,
.footer-nav-row a:hover,
.media-panel-link:hover,
.news-detail-link:hover {
  text-decoration: underline;
}

.service-item,
.member-card,
.work-item,
.blog-item,
.event-item,
.news-item {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-item:hover,
  .member-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 28px rgba(27, 26, 26, 0.10) !important;
  }
}

/* The former staggered service layout made scanning and comparison difficult. */
@media (min-width: 901px) {
  #services .services-header {
    margin-bottom: 52px;
  }

  #services .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 558px));
    grid-auto-rows: auto;
    align-items: stretch;
    justify-content: center;
    column-gap: 32px;
    row-gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
  }

  #services .service-item,
  #services .service-item:nth-child(1),
  #services .service-item:nth-child(2),
  #services .service-item:nth-child(3),
  #services .service-item:nth-child(4),
  #services .service-item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    align-self: stretch;
    min-height: 330px;
    border: 1px solid var(--ui-border);
    box-shadow: var(--ui-shadow);
  }

  #services .service-item:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 558px);
  }

  #services .services-cta {
    margin-top: 48px;
  }

  #member .member-intro {
    max-width: 920px;
    line-height: 1.9;
  }

  .cta-band-inner {
    gap: 32px;
  }

  .cta-band-card {
    width: min(420px, calc(50vw - 48px));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(99, 39, 13, 0.12);
  }
}

#cta-band {
  background: #fe6b32;
}

.cta-band-card-desc {
  max-width: 32em;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 900px) {
  .mobile-nav-overlay {
    overscroll-behavior: contain;
  }

  .mobile-nav-menu a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  #services .service-item {
    border: 1px solid var(--ui-border) !important;
    box-shadow: 0 4px 14px rgba(27, 26, 26, 0.07) !important;
  }

  .cta-band-inner {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  #services .services-grid {
    row-gap: 24px;
  }

  #services .service-title {
    margin-bottom: 24px;
  }

  #services .service-desc {
    line-height: 1.65;
  }

  #member .member-intro {
    line-height: 1.8;
  }

  .cta-band-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== Desktop member card balance =====
   カンプのPC表示では、代表は左の縦長カード、ほか6名は横長の写真と
   固定高の名前帯を持つ3列×2段カード。納品画像を縦長のまま全表示する
   旧上書きをPC帯のみ打ち消し、カンプと同じ情報量・余白バランスに戻す。 */
@media (min-width: 1101px) {
  #member {
    overflow: visible;
  }

  #member .member-grid {
    grid-template-columns: 312px repeat(3, 220px);
    grid-template-rows: repeat(2, 290px) !important;
    gap: 26px 24px;
    max-width: 1068px;
  }

  #member .member-card,
  #member .member-card-link {
    height: 100% !important;
  }

  #member .member-card {
    overflow: visible;
  }

  #member .member-card:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 606px !important;
  }

  #member .member-photo--card,
  #member .member-card:first-child .member-photo--card {
    flex: 1 1 auto !important;
    height: auto !important;
    aspect-ratio: auto !important;
  }

  #member .member-card:first-child .member-photo--card {
    flex-basis: 436px !important;
  }

  #member .member-card-body {
    flex: 0 0 84px;
    padding: 14px 25px 18px;
  }

  #member .member-card:first-child .member-card-body {
    flex: 0 0 170px !important;
    padding: 24px 28px 30px;
  }

  #member .member-card:first-child .member-name::after {
    display: none;
  }

  /* 透過PNGは背景枠より少し上へ出し、髪の上端を切らずに表示する。 */
  #member .member-photo--cutout,
  #member .member-photo--transparent {
    overflow: visible !important;
  }

  #member .member-photo--cutout img,
  #member .member-photo--transparent img {
    position: absolute !important;
    z-index: 2 !important;
    top: -30px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100% !important;
    height: calc(100% + 30px) !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* 3列になるタブレット帯では、代表だけを2段にまたがらせず、全カードを
   同じリズムで並べる。カード画像は横長にトリミングして本文帯を確保する。 */
@media (min-width: 901px) and (max-width: 1100px) {
  #member .member-card,
  #member .member-card:first-child,
  #member .member-card-link,
  #member .member-card:first-child .member-card-link {
    height: auto !important;
    min-height: 0 !important;
  }

  #member .member-photo,
  #member .member-card:first-child .member-photo,
  #member .member-photo--card,
  #member .member-card:first-child .member-photo--card {
    flex: 0 0 auto !important;
    height: auto !important;
    aspect-ratio: 220 / 206 !important;
  }

  #member .member-card-body,
  #member .member-card:first-child .member-card-body {
    flex: 0 0 auto !important;
    min-height: 84px;
    padding: 14px 18px 18px;
  }
}

/* Final narrow-screen copy override (kept last to win legacy comp rules). */
@media (max-width: 640px) {
  #hero .hero-text .hero-desc--mobile {
    width: calc(100vw - 54px) !important;
    max-width: none !important;
    white-space: normal !important;
    line-height: 1.65;
  }

  #hero .hero-desc--mobile .hero-desc-em {
    white-space: nowrap;
  }
}

/* =========================================================================
   オンラインカンファレンス企画代行 - full service detail page
   ========================================================================= */
.oc-page {
  --oc-orange: #ff5a24;
  --oc-orange-dark: #f34b17;
  --oc-cream: #fff7f2;
  --oc-ink: #1b1b1b;
  color: var(--oc-ink);
  background: #fff;
}

.oc-container {
  width: min(880px, calc(100% - 48px));
  margin-inline: auto;
}

.oc-wide {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}

.oc-hero { padding: 62px 0 58px; }
.oc-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) 470px; gap: 58px; align-items: center; }
.oc-hero__title { margin: 0 0 24px; padding-left: 17px; border-left: 7px solid var(--oc-orange); font-size: clamp(30px, 3vw, 44px); line-height: 1.35; }
.oc-hero__lead { margin: 0 0 28px; font-size: 16px; line-height: 2; }
.oc-hero__lead strong { font-size: 18px; }
.oc-hero__visual { margin: 0; }
.oc-hero__visual img { display: block; width: 100%; height: auto; border-radius: 10px; }
.oc-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.oc-page .oc-btn-yellow { background: #fdbd32; }
.oc-page .oc-btn-white { background: #fff; color: var(--oc-orange); }

.oc-toc { margin-top: 10px; margin-bottom: 52px; border: 1px solid #202020; padding: 0 0 30px; }
.oc-toc__title { margin: 0 0 22px; padding: 20px 34px; background: #3a3a3a; color: #fff; font-size: 22px; font-weight: 700; }
.oc-toc__grid { display: grid; grid-template-columns: 1fr; padding: 0 34px; }
.oc-toc a { position: relative; padding: 9px 0 9px 20px; color: #1b1b1b; font-size: 14.5px; line-height: 1.6; text-decoration: none; }
.oc-toc a::before { content: ""; position: absolute; left: 3px; top: 16px; width: 6px; height: 6px; background: var(--oc-orange); border-radius: 50%; }

.oc-section { padding: 46px 0 22px; scroll-margin-top: 90px; }
.oc-h2 { margin: 0 0 26px; padding: 15px 24px; background: var(--oc-orange); color: #fff; font-size: 24px; line-height: 1.5; }
.oc-h3 { margin: 34px 0 16px; padding-bottom: 8px; border-bottom: 2px solid #222; font-size: 20px; line-height: 1.5; }
.oc-lead { margin: 0 0 24px; font-size: 15.5px; line-height: 2; }
.oc-lead strong { font-weight: 700; }
.oc-lead--tail { margin-top: 26px; margin-bottom: 0; }
.oc-orange { color: var(--oc-orange); }
.oc-red { color: #e01f1f; }

.oc-comp { margin: 30px 0; }
.oc-comp img { display: block; width: 100%; height: auto; }
.oc-comp--wide { width: min(1080px, calc(100vw - 64px)); margin-left: 50%; transform: translateX(-50%); }
.oc-comp--flow { width: min(760px, calc(100vw - 64px)); }

/* Highlight list (cream banded, orange emphasis) */
.oc-highlight-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.oc-highlight-list li { position: relative; padding: 15px 20px 15px 44px; background: var(--oc-cream); border-radius: 4px; font-size: 14.5px; font-weight: 500; line-height: 1.8; }
.oc-highlight-list li::before { content: "•"; position: absolute; left: 20px; top: 12px; color: #333; font-size: 18px; }
.oc-highlight-list em { font-style: normal; color: var(--oc-orange); font-weight: 700; }

/* Issue cards */
.oc-issue-cards { display: grid; gap: 18px; }
.oc-issue-cards article { border: 1px solid #f4d4c7; background: linear-gradient(90deg, #fff7f2, #fff); padding: 20px 25px; }
.oc-issue-cards h3 { margin: 0 0 12px; font-size: 19px; line-height: 1.55; color: var(--oc-orange); display: flex; align-items: center; gap: 10px; }
.oc-issue-cards h3 span { color: var(--oc-orange); font-weight: 800; }
.oc-issue-cards ul { margin: 0; padding-left: 23px; font-size: 14.5px; line-height: 1.95; }

/* Generic tables */
.oc-table-wrap { margin: 22px 0; overflow-x: auto; }
.oc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.7; background: #fff; }
.oc-table thead th { background: var(--oc-orange); color: #fff; font-weight: 700; text-align: left; }
.oc-table th, .oc-table td { padding: 13px 16px; border: 1px solid #eadfd9; vertical-align: top; }
.oc-table tbody th { background: var(--oc-cream); color: #1b1b1b; font-weight: 700; white-space: nowrap; }
.oc-table__hl th { color: #e01f1f; }
.oc-table__hl td { color: #e01f1f; }

/* Pricing table */
.oc-price-table { min-width: 720px; }
.oc-price-table thead th { text-align: center; font-size: 15px; }
.oc-price-table thead th:first-child { background: var(--oc-orange); }
.oc-price-table td { text-align: center; }
.oc-price-table tbody th { text-align: center; white-space: nowrap; }
.oc-price-table em { font-style: normal; color: var(--oc-orange); font-weight: 800; font-size: 20px; }
.oc-price-table tr:nth-child(3) td, .oc-price-table tr:nth-child(4) td { text-align: left; font-size: 13.5px; line-height: 1.75; }

/* Mini metrics table */
.oc-mini-table { max-width: 520px; }
.oc-mini-table thead th { text-align: center; }
.oc-mini-table td { text-align: center; color: var(--oc-orange); font-weight: 800; font-size: 17px; }

/* Feature list (numbered, gray heading band) */
.oc-feature-list { display: grid; gap: 26px; }
.oc-feature-list article { padding: 0 0 24px; border-bottom: 1px solid #e5e5e5; }
.oc-feature-list h3 { margin: 0 0 12px; padding: 12px 18px; background: #f1f1f1; font-size: 18px; line-height: 1.5; }
.oc-feature-list h3 span { margin-right: 8px; color: var(--oc-ink); font-weight: 800; }
.oc-feature-list p { margin: 0; font-size: 14.5px; line-height: 1.95; }
.oc-feature-list em { font-style: normal; color: var(--oc-orange); font-weight: 700; }

/* Note / callout box */
.oc-note { margin: 28px 0 0; padding: 24px 28px; background: #f7f7f7; }
.oc-note--plain { background: #fff; padding: 0; }
.oc-note__label { display: inline-block; margin: 0 0 16px; padding: 7px 16px; background: var(--oc-orange); color: #fff; font-size: 15px; font-weight: 700; }
.oc-note p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.95; }
.oc-note p:last-child { margin-bottom: 0; }
.oc-note ul { margin: 0; padding-left: 22px; font-size: 14.5px; line-height: 1.95; }
.oc-note ul li { margin-bottom: 6px; }

/* Fail points framed box */
.oc-fail-box { margin: 30px 0; padding: 30px 34px 12px; border: 2px solid var(--oc-orange); }
.oc-fail-box__title { position: relative; margin: 0 0 22px; padding-bottom: 16px; color: var(--oc-orange); font-size: 26px; font-weight: 800; line-height: 1.4; }
.oc-fail-box__title::after { content: ""; position: absolute; left: 0; bottom: 6px; width: 64px; height: 3px; background: var(--oc-orange); }
.oc-fail-item { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 22px; padding: 18px 0; border-top: 1px solid #f0dcd3; }
.oc-fail-item:first-of-type { border-top: 0; }
.oc-fail-num { display: grid; place-content: center; justify-items: center; align-self: start; width: 78px; height: 78px; border-radius: 50%; background: var(--oc-orange); color: #fff; line-height: 1.1; }
.oc-fail-num span { font-size: 12px; font-weight: 700; }
.oc-fail-num b { font-size: 30px; font-weight: 800; }
.oc-fail-body h4 { margin: 4px 0 8px; color: var(--oc-orange); font-size: 19px; line-height: 1.5; }
.oc-fail-body p { margin: 0; font-size: 14px; line-height: 1.9; }

/* Design areas (5 blocks) */
.oc-design-list { display: grid; gap: 30px; }
.oc-design__title { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--oc-orange); color: var(--oc-orange); font-size: 21px; line-height: 1.4; }
.oc-design__title span { color: var(--oc-orange); font-weight: 700; }
.oc-design__lead { margin: 0 0 16px; font-size: 15px; line-height: 1.9; }
.oc-design__box { margin: 0; padding: 22px 26px 22px 44px; background: #f5f5f5; font-size: 14.5px; line-height: 1.95; }
.oc-design__box li { margin-bottom: 8px; }
.oc-design__box li:last-child { margin-bottom: 0; }

/* Customer case */
.oc-case { border: 1px solid #e6e6e6; box-shadow: 0 4px 14px rgba(0,0,0,.045); padding: 30px 32px; }
.oc-case__title { margin: 0 0 20px; padding-bottom: 12px; border-bottom: 2px solid #222; font-size: 21px; line-height: 1.6; }
.oc-case p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.95; }
.oc-case blockquote { margin: 20px 0 0; padding: 18px 22px; background: var(--oc-cream); border-left: 5px solid var(--oc-orange); font-size: 14px; line-height: 1.9; }
.oc-other-results { margin-top: 30px; padding: 26px 30px; background: #fafafa; }
.oc-other-results h3 { margin: 0 0 16px; border: 0; padding: 0; font-size: 19px; }
.oc-other-results ul { margin: 0; padding-left: 22px; font-size: 14.5px; line-height: 1.95; }
.oc-other-results li { margin-bottom: 10px; }
.oc-other-results em, .oc-other-results strong.oc-orange { color: var(--oc-orange); }

/* FAQ */
.oc-faq { margin-top: 58px; padding: 70px 0 82px; background: #f7f7f7; }
.oc-faq h2 { margin: 0 0 30px; font-size: 28px; }
.oc-faq__list { display: grid; gap: 18px; }
.oc-faq details { background: #fff; border: 1px solid #222; border-radius: 11px; padding: 0 25px; }
.oc-faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-size: 16px; font-weight: 700; line-height: 1.6; }
.oc-faq summary::-webkit-details-marker { display: none; }
.oc-faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; color: var(--oc-orange); font-size: 24px; }
.oc-faq details[open] summary::after { content: "\2212"; }
.oc-faq details p { margin: 0; padding: 0 0 21px; font-size: 14px; line-height: 1.9; }

/* Bottom CTA */
.oc-bottom-cta { padding: 68px 0 74px; background: linear-gradient(135deg, #ff6a35, #fa4f1b); color: #fff; }
.oc-bottom-cta h2 { margin: 0 0 16px; font-size: 30px; line-height: 1.5; }
.oc-bottom-cta > .oc-container > p { margin: 0 0 34px; font-size: 15px; line-height: 1.9; }
.oc-cta-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.oc-cta-cards article { background: #fff; border-radius: 10px; padding: 30px 28px; text-align: center; color: var(--oc-ink); }
.oc-cta-cards h3 { margin: 0 0 12px; font-size: 21px; }
.oc-cta-cards p { margin: 0 0 20px; font-size: 13.5px; line-height: 1.8; color: #444; }
.oc-cta-cards .cv-btn { margin: 0 auto; }

@media (max-width: 900px) {
  .oc-wide { width: min(100% - 48px, 720px); }
  .oc-hero { padding-top: 42px; }
  .oc-hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .oc-hero__visual { max-width: 560px; }
  .oc-comp--wide { width: min(100vw - 32px, 900px); }
}

@media (max-width: 640px) {
  .oc-container, .oc-wide { width: calc(100% - 40px); }
  .oc-hero { padding: 34px 0 40px; }
  .oc-hero__title { padding-left: 12px; border-left-width: 5px; font-size: 26px; }
  .oc-hero__lead { font-size: 14px; line-height: 1.9; }
  .oc-hero__lead strong { font-size: 15px; }
  .oc-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .oc-page .cv-btn { min-width: 0; width: 100%; padding-inline: 20px; font-size: 15px; }
  .oc-toc { margin-bottom: 26px; }
  .oc-toc__title { padding: 16px 20px; font-size: 19px; }
  .oc-toc__grid { padding: 0 20px; }
  .oc-toc a { font-size: 13.5px; }
  .oc-section { padding: 36px 0 14px; }
  .oc-h2 { padding: 12px 15px; font-size: 18px; }
  .oc-h3 { font-size: 17px; }
  .oc-lead { font-size: 14px; line-height: 1.9; }
  .oc-comp { margin: 22px 0; }
  .oc-comp--wide { width: calc(100vw - 20px); }
  .oc-issue-cards h3 { font-size: 16px; }
  .oc-issue-cards ul, .oc-highlight-list li, .oc-note p, .oc-note ul, .oc-design__box, .oc-case p, .oc-other-results ul { font-size: 13.5px; }
  .oc-feature-list h3 { font-size: 16px; padding: 10px 14px; }
  .oc-feature-list p { font-size: 13.5px; }
  .oc-design__title { font-size: 18px; }
  .oc-design__box { padding: 18px 18px 18px 36px; }
  .oc-note { padding: 20px 18px; }
  .oc-fail-box { padding: 22px 16px 6px; }
  .oc-fail-box__title { font-size: 19px; }
  .oc-fail-item { grid-template-columns: 58px minmax(0,1fr); gap: 14px; }
  .oc-fail-num { width: 56px; height: 56px; }
  .oc-fail-num span { font-size: 10px; }
  .oc-fail-num b { font-size: 22px; }
  .oc-fail-body h4 { font-size: 16px; }
  .oc-fail-body p { font-size: 13px; }
  .oc-case { padding: 22px 18px; }
  .oc-case__title { font-size: 18px; }
  .oc-other-results { padding: 22px 18px; }
  .oc-table { font-size: 13px; }
  .oc-table th, .oc-table td { padding: 10px 12px; }
  .oc-faq { margin-top: 42px; padding: 50px 0 58px; }
  .oc-faq h2 { font-size: 24px; }
  .oc-faq details { padding: 0 18px; }
  .oc-faq summary { font-size: 14px; }
  .oc-bottom-cta { padding: 50px 0 54px; }
  .oc-bottom-cta h2 { font-size: 22px; }
  .oc-cta-cards { grid-template-columns: 1fr; gap: 16px; }
}


/* ============================================================
   スマホcomp 1:1 追い込み修正 (2026-07-23, Agent)
   1. セクションCTAボタンの色をcompに合わせて修正
      - 事例一覧を見る      = ダーク塗り(#2a080c/白文字)  ※既存はオレンジ枠になっていた
      - メンバーをもっと見る = ダークのアウトライン(#2a2a2a枠/#1f1f1f文字)
      - ブログ一覧を見る    = ダークのアウトライン
      （サービス「詳しく見る」=オレンジ / セミナー=白塗りはcomp通りなので変更なし）
   2. ブログ・メンバーのスライダー初期位置を「先頭カード左端揃い・次カードの覗きなし」に
      （scroll-snap の scroll-padding 未指定で先頭が画面左端に食い込んでいた）
   3. メンバーカードを3枚ぴったり収まる幅に（compは3枚が余白付きで全部見えている）
   ============================================================ */
@media (max-width: 640px) {
  /* --- 1. 事例一覧を見る：ダーク塗り --- */
  #works .works-cta .cv-btn-large,
  #works .works-cta .cv-btn-large.cv-btn-large-dark {
    background: #2a080c !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }
  #works .works-cta .cv-btn-large span { color: #ffffff !important; }
  #works .works-cta .cv-btn-large::after { color: #ffffff !important; }

  /* --- 1. メンバー / ブログ 一覧：ダークのアウトライン --- */
  #member .member-cta .cv-btn-large,
  #member .member-cta .cv-btn-large.cv-btn-large-outline,
  #blog .blog-cta .cv-btn-large,
  #blog .blog-cta .cv-btn-large.cv-btn-large-outline,
  .blog-cta .cv-btn-large {
    background: #ffffff !important;
    border: 1.5px solid #2a2a2a !important;
    color: #1f1f1f !important;
  }
  #member .member-cta .cv-btn-large span,
  #blog .blog-cta .cv-btn-large span,
  .blog-cta .cv-btn-large span { color: #1f1f1f !important; }
  #member .member-cta .cv-btn-large::after,
  #blog .blog-cta .cv-btn-large::after,
  .blog-cta .cv-btn-large::after { color: #1f1f1f !important; }

  /* --- 2. ブログスライダー：先頭カード左端揃い・覗きなし --- */
  #blog .blog-track {
    gap: 48px !important;               /* = 左右余白(24)×2。カード幅+gap=画面幅で覗きゼロ */
    scroll-padding-left: 24px !important;
    scroll-padding-inline: 24px !important;
  }

  /* --- 3. メンバースライダー：3枚ぴったり・覗きなし --- */
  #member .member-grid {
    gap: 16px !important;
    padding: 0 16px 8px !important;
    scroll-padding-left: 16px !important;
    scroll-padding-inline: 16px !important;
  }
  #member .member-card,
  #member .member-card:first-child {
    /* 画面幅 - 左右padding(32) から gap(16)×2 を引いて3等分 */
    flex: 0 0 calc((100% - 32px) / 3) !important;
    width: calc((100% - 32px) / 3) !important;
    height: auto !important;
  }
  #member .member-photo,
  #member .member-card:first-child .member-photo {
    height: auto !important;
    aspect-ratio: 136 / 154 !important;   /* 従来カード(136×154)の写真比を維持したまま縮小 */
  }
}

/* =========================================================================
   タブレット帯(641-900px) PC縮小再現 (2026-07-23, Agent)
   方針転換: この帯をモバイル構成ではなくPCレイアウトの比例縮小にする。
   隣接する 901-1040 帯(=正)の見え方に揃える。ヘッダーのみハンバーガー維持。
   file末尾＝最後勝ち。#付きセレクタ+!importantで既存カスケードを確実に上書き。
   ≤640 と 901+ には一切影響させない(帯を 641-900 に限定)。
   ========================================================================= */
@media (min-width: 641px) and (max-width: 900px) {
  /* サービス概要のタブレット指定は、file末尾の「PCコンプ2カラム千鳥」ブロックへ
     統合したため削除（旧指定の :last-child:nth-child(odd){grid-column:1} が
     5件目を左列に落とし、4件目と重なっていた）。 */

  /* --- 下部CTA帯: 3カラム横並び(PC同様) --- */
  #cta-band .cta-band-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: clamp(12px, 1.8vw, 20px) !important;
    max-width: none !important;
    width: auto !important;
    padding: 0 24px !important;
    margin: 0 auto !important;
  }
  #cta-band .cta-band-card,
  #cta-band .cta-band-card:nth-child(3):last-child {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
    grid-column: auto !important;
    justify-self: auto !important;
    padding: clamp(16px, 2vw, 22px) clamp(10px, 1.4vw, 18px) !important;
  }
  #cta-band .cta-band-card-title { font-size: clamp(15px, 2vw, 20px) !important; line-height: 1.35 !important; }
  #cta-band .cta-band-card-desc  { font-size: clamp(10px, 1.3vw, 12px) !important; }
}

/* =========================================================================
   ≤640 モバイルFV 再バランス + 背景装飾 (2026-07-24)
   目標: サブ見出しを小さく(約17px) / 3人写真を大きく(約49vw・下端を説明文域まで) /
         Zoomバッジは非干渉 / 説明文は写真左側に収める2行 / 控えめな背景装飾。
   末尾追記で既存の≤640ブロックに確実に勝たせる。641px以上には出さない。
   ========================================================================= */
@media (max-width: 640px) {
  /* --- サブ見出し「再現性高く / リード獲得・商談創出！」を小さく(約17px, comp比≈4.6%) --- */
  #hero .hero-sub.hero-sub--mobile {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 7px;
  }

  /* --- 3人写真を大きく: 幅≈49vw、右上固定。左端 = (100vw - width) を一定に保ち、
         Zoomバッジ右端(≈186px)より外側にする。高さ = 幅 × 0.711。下端ライン(rel)を
         固定するので狭幅では上へ縮み、常に説明文域に下端が届く。vw連動で430でも自然にスケール。 --- */
  #hero .hero-mobile-group {
    right: 0;
    left: auto;
    /* 写真を主役に大きく(≈51.5vw @375)。左端=100vw-width=182pxで一定になり、
       説明文1行目(右端≈177px @11px)・Zoomバッジ(右端≈180px)の外側に収まる。 */
    width: min(220px, calc(100vw - 182px));
    max-width: none;
    /* 上端をサブ見出し2行目の下端(vp≈145)直下に固定して少し上げる(vp≈146)。
       固定topなので広い端末では下端が説明文域まで自然に伸びる。 */
    top: 90px;
  }

  /* --- Zoomバッジ: 「プロ集団」の右横(現状関係を維持)。写真拡大に合わせ少し小さくし、
         右端(≈180px)を写真左端(182px)より内側に --- */
  #hero .hero-mobile-zoom {
    left: 140px;
    top: 132px;
    width: 40px;
    z-index: 3;
  }

  /* --- 説明文: front-page.php側の明示<br>で2行固定。写真は説明文より上寄りかつ右側で、
         1行目「少数精鋭のウェビナーのプロ」(≈156px, 右端≈183px)は写真左端(190px)より内側に
         収まるため幅制限は不要。max-width制限を解除し、途中折り返しを防ぐ幅を確保する。 --- */
  #hero .hero-text .hero-desc--mobile {
    width: auto !important;
    max-width: min(320px, calc(100vw - 40px)) !important;
    /* フォントを11px固定(vw連動だと広い端末で1行目が伸び写真に接触するため)。
       写真拡大に合わせ11pxとし、1行目「少数精鋭のウェビナーのプロ」の右端≈177pxを
       写真左端(182px)より内側に保つ。見出しとの縦余白も詰める(margin-top 8px)。 */
    font-size: 11px !important;
    margin-top: 8px;
    white-space: normal !important;
    line-height: 1.6;
    position: relative;
  }

  /* --- 見出し「ウェビナーの／プロ集団」と説明文の縦余白を詰める(31px→約22px) --- */
  #hero .hero-headline {
    margin-bottom: 14px;
  }

  /* ===== 背景装飾(テキスト・写真・バッジより下のレイヤー / クリック無効) ===== */
  #hero { position: relative; }

  /* 右上: ソフトなオレンジ〜ピーチの角丸カラー面(写真の背景として右上から差し込む) */
  #hero::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 82vw;
    max-width: 360px;
    height: 320px;
    background: radial-gradient(125% 125% at 100% 0%,
                rgba(255, 132, 66, 0.28) 0%,
                rgba(255, 168, 112, 0.18) 40%,
                rgba(255, 210, 178, 0.09) 64%,
                rgba(255, 255, 255, 0) 80%);
    border-bottom-left-radius: 200px;
    z-index: 0;
    pointer-events: none;
  }

  /* 左: 薄いオレンジのドットグリッド(「ウェビナーの」見出しの左〜下あたり) */
  #hero::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 150px;
    width: 60px;
    height: 42px;
    background-image: radial-gradient(circle, rgba(255, 108, 56, 0.30) 1.4px, transparent 1.7px);
    background-size: 12px 12px;
    z-index: 0;
    pointer-events: none;
  }

  /* 左: 薄いオレンジのドットグリッド(説明文の下あたり) */
  #hero .hero-desc--mobile::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: 66px;
    height: 36px;
    background-image: radial-gradient(circle, rgba(255, 108, 56, 0.26) 1.4px, transparent 1.7px);
    background-size: 12px 12px;
    z-index: 0;
    pointer-events: none;
  }
}

/* メンバーカード役職「ウェビナー/コンサルタント」改行: PCコンプは1行表記のため901px以上では改行を無効化 */
@media (min-width: 901px) {
  .role-br {
    display: none;
  }
}

/* =========================================================================
   タブレット/iPad帯(641-1040px) メンバーカード = PC(1101px+)モザイクの比例縮小
   方針(2026-07-24 念押し): 「iPadはPC版と同じ見た目」。1280pxの4列モザイク
   (代表=左列2行ぶち抜きの大カード + 6名を3×2)をそのまま縮小して再現する。
   - 情報ピルは写真下の通常フロー・キャプション(position:static)= PCと同一。左見切れゼロ。
   - cutout装飾グラデ背景(本来 min-width:901 の 6110 ブロックのみ)を641-900にも供給。
   - 901-1100の 12116/12432(3列均等化)を末尾+!importantで上書きしPCモザイクへ統一。
     (1101px以上は既存の 12356 ブロックが同じモザイクを描くため 1100 まででシームレス)
   ========================================================================= */
@media (min-width: 641px) and (max-width: 1100px) {
  #member { overflow: visible !important; }

  #member .member-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.42fr) repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    grid-auto-flow: row !important;
    gap: clamp(14px, 2vw, 24px) clamp(12px, 1.8vw, 22px) !important;
    width: calc(100% - 40px) !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  #member .member-card,
  #member .member-card:nth-child(2),
  #member .member-card:nth-child(3),
  #member .member-card:nth-child(4),
  #member .member-card:nth-child(5),
  #member .member-card:nth-child(6),
  #member .member-card:nth-child(7) {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: clamp(12px, 1.6vw, 18px) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(30, 38, 48, 0.10) !important;
  }

  /* 代表(茂木): 左列・上下2行ぶち抜きの大カード */
  #member .member-card:first-child {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: clamp(12px, 1.6vw, 18px) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(30, 38, 48, 0.10) !important;
  }

  #member .member-card-link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  /* --- 写真枠(共通リセット + 装飾グラデ背景 = PC 6110 相当) --- */
  #member .member-photo,
  #member .member-card:first-child .member-photo,
  #member .member-photo--card,
  #member .member-card:first-child .member-photo--card {
    width: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    background-color: #fff2ed !important;
    background-image:
      radial-gradient(circle at 18% 28%, rgba(255, 111, 49, 0.72) 0 2px, transparent 3px),
      radial-gradient(circle at 84% 28%, rgba(255, 216, 111, 0.72) 0 2px, transparent 3px),
      linear-gradient(135deg, #fff7f3 0%, #ffe6df 100%) !important;
    background-size: 26px 26px, 24px 24px, 100% 100% !important;
  }

  /* 非代表カードの写真: PCと同じ近正方形(220/206)。本文帯を確保 */
  #member .member-card:nth-child(2) .member-photo,
  #member .member-card:nth-child(3) .member-photo,
  #member .member-card:nth-child(4) .member-photo,
  #member .member-card:nth-child(5) .member-photo,
  #member .member-card:nth-child(6) .member-photo,
  #member .member-card:nth-child(7) .member-photo {
    flex: 0 0 auto !important;
    height: auto !important;
    aspect-ratio: 220 / 206 !important;
  }

  /* 代表カードの写真: 2行ぶんの高さを flex で充填(比率はPC=312/436相当に近づく) */
  #member .member-card:first-child .member-photo,
  #member .member-card:first-child .member-photo--card {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    background-image:
      radial-gradient(ellipse 130px 250px at -12% 78%, rgba(254, 107, 50, 0.88) 0 54%, transparent 55%),
      linear-gradient(135deg, #fff6f0 0%, #ffe2d8 100%) !important;
  }

  #member .member-card:nth-child(2) .member-photo,
  #member .member-card:nth-child(6) .member-photo {
    background-image:
      radial-gradient(ellipse 105px 84px at 92% 72%, rgba(255, 205, 64, 0.72) 0 56%, transparent 57%),
      linear-gradient(135deg, #fff9e9 0%, #fff1d9 100%) !important;
  }
  #member .member-card:nth-child(3) .member-photo {
    background-image:
      radial-gradient(ellipse 132px 92px at 108% 80%, rgba(255, 168, 178, 0.58) 0 56%, transparent 57%),
      linear-gradient(135deg, #fff4f4 0%, #ffe8ea 100%) !important;
  }
  #member .member-card:nth-child(4) .member-photo {
    background-image:
      radial-gradient(circle, rgba(255, 213, 107, 0.85) 0 2px, transparent 3px),
      linear-gradient(135deg, #fff8e7 0%, #fff0cd 100%) !important;
    background-size: 24px 24px, 100% 100% !important;
  }
  #member .member-card:nth-child(5) .member-photo,
  #member .member-card:nth-child(7) .member-photo {
    background-image:
      radial-gradient(circle, rgba(255, 170, 177, 0.78) 0 2px, transparent 3px),
      linear-gradient(135deg, #fff3f3 0%, #ffe5e8 100%) !important;
    background-size: 24px 24px, 100% 100% !important;
  }

  #member .member-photo img {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    padding: 0 !important;
  }
  #member .member-card:first-child .member-photo img {
    object-position: center 30% !important;
  }

  /* --- 情報ピル = 写真下の通常フロー・キャプション(左見切れ解消) --- */
  #member .member-card-body,
  #member .member-card:first-child .member-card-body {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: clamp(9px, 1.4vw, 15px) clamp(11px, 1.8vw, 22px) clamp(11px, 1.5vw, 18px) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  #member .member-role,
  #member .member-card:first-child .member-role,
  #member .member-company {
    margin: 0 0 clamp(4px, 0.8vw, 8px) !important;
    color: #fe6b32 !important;
    font-size: clamp(10px, 1.4vw, 13px) !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
  }
  #member .member-card:first-child .member-role {
    font-size: clamp(11px, 1.6vw, 14px) !important;
  }

  #member .member-name,
  #member .member-card:first-child .member-name {
    margin: 0 !important;
    color: #111111 !important;
    font-size: clamp(14px, 2vw, 20px) !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
  #member .member-card:first-child .member-name {
    font-size: clamp(17px, 2.6vw, 24px) !important;
  }
  #member .member-card:first-child .member-name::after {
    content: "" !important;
    display: block !important;
    width: clamp(40px, 5vw, 64px) !important;
    height: 4px !important;
    margin-top: clamp(10px, 1.6vw, 18px) !important;
    border-radius: 999px !important;
    background: #fe6b32 !important;
  }

  #member .member-romanized,
  #member .member-description {
    display: none !important;
  }
}

/* =========================================================================
   タブレット帯(641-900px) 下部CTA帯のはみ出し修正
   3カラム維持の指定(width:auto/max-width:none)＋ボタンのmin-width:190px固定で
   最小幅716pxとなり、641-719pxでカードが左右に見切れていた。
   innerをビューポート幅に収め、ボタンは最小幅を解除して縮められるようにする。
   ========================================================================= */
@media (min-width: 641px) and (max-width: 900px) {
  #cta-band .cta-band-inner {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #cta-band .cta-band-card-button {
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 9px clamp(10px, 2.4vw, 30px) 10px !important;
  }
}

/* =========================================================================
   タッチ帯(≤900px) 残存の小タップ領域を44pxへ拡張
   視覚サイズは維持し、透明な::beforeでヒットエリアのみ広げる既存方式に合わせる。
   対象: お知らせ「詳細を見る」(視覚101x24) / メンバー一覧「詳細を見る」(視覚88x24)
   ========================================================================= */
@media (max-width: 900px) {
  #news .news-detail-link,
  .member-archive-detail {
    position: relative;
  }

  #news .news-detail-link::before,
  .member-archive-detail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, 44px);
    height: 44px;
    transform: translate(-50%, -50%);
  }
}
/* =========================================================================
   サービスセクション — PCコンプ(pc_top_デザイン (8).pdf / 1440px原寸)実測の
   2カラム千鳥（マソンリー）レイアウトを再現
   コンプ実測(1440px時):
     グリッド x60..1380（内容幅1320 / 左右余白60）
     カード幅641 / 列間38 / 同一列の縦間隔83
     右列に1・3・5件目（上端882から）／左列に2・4件目（右列より約226px下）
     カード内 padding 36 / 28 / 24
       テキスト列288 : 溝20 : サムネ277（277x207 ≒ 4:3弱）
       アイブロウ18px →18→ 見出し28px/1.18 →15→ 本文14px/1.72
       サムネ上端は見出し上端に一致 / ボタン179x55は右下
   実装方針: 行トラックを1件あたり2本ぶん取り、列ごとに1本ずらして配置する。
     旧実装(固定spanの36pxトラック)と違い本文量でカード高が伸びても千鳥が崩れず、
     旧実装が抱えていた「ボタン位置が揃わない/5件目が取り残される」も起きない。
   ≤640px はスマホコンプ(スマホ (2).pdf / 393px原寸)の1カラム形へ。
   ========================================================================= */
#services .services-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  column-gap: clamp(18px, 2.64vw, 38px) !important;
  row-gap: clamp(24px, 5.77vw, 83px) !important;
  width: min(1320px, 100% - 80px) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 0 !important;
  grid-template-rows: none !important;
}

/* 右列=1・3・5件目 / 左列=2・4件目。1トラックぶん下げて千鳥にする */
#services .services-grid > .service-item:nth-child(1) {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
}

#services .services-grid > .service-item:nth-child(2) {
  grid-column: 1 !important;
  grid-row: 2 / span 2 !important;
}

#services .services-grid > .service-item:nth-child(3) {
  grid-column: 2 !important;
  grid-row: 3 / span 2 !important;
}

#services .services-grid > .service-item:nth-child(4) {
  grid-column: 1 !important;
  grid-row: 4 / span 2 !important;
}

#services .services-grid > .service-item:nth-child(5) {
  grid-column: 2 !important;
  grid-row: 5 / span 2 !important;
}

#services .services-grid > .service-item,
#services .services-grid > .service-item:nth-child(odd),
#services .services-grid > .service-item:nth-child(even),
#services .services-grid > .service-item:last-child:nth-child(odd) {
  position: relative !important;
  display: grid !important;
  grid-template-areas: none !important;
  grid-template-columns: minmax(0, 1fr) 47.4% !important;
  grid-template-rows: auto auto auto auto !important;
  align-content: start !important;
  align-items: start !important;
  justify-self: stretch !important;
  align-self: stretch !important;
  order: 0 !important;
  column-gap: clamp(12px, 1.4vw, 20px) !important;
  row-gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: clamp(20px, 2.5vw, 36px) clamp(16px, 2.01vw, 29px) clamp(16px, 1.95vw, 28px) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(27, 26, 26, 0.07) !important;
  overflow: visible !important;
  transform: none !important;
  top: auto !important;
}

/* .service-text / .service-head を透過させ、子をカードのグリッド項目にする */
#services .services-grid > .service-item .service-text,
#services .services-grid > .service-item .service-head {
  display: contents !important;
}

#services .services-grid > .service-item .service-eyebrow {
  grid-area: auto !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 0 clamp(9px, 1.18vw, 17px) !important;
  padding: 0 !important;
  font-size: clamp(13px, 1.32vw, 19px) !important;
  line-height: 1.2 !important;
}

#services .services-grid > .service-item .service-title {
  grid-area: auto !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 0 0 clamp(8px, 0.84vw, 12px) !important;
  padding: 0 !important;
  font-size: clamp(18px, 2.22vw, 32px) !important;
  line-height: 1.22 !important;
  letter-spacing: 0 !important;
}

#services .services-grid > .service-item .service-title br {
  display: inline !important;
}

#services .services-grid > .service-item .service-desc {
  grid-area: auto !important;
  grid-column: 1 !important;
  grid-row: 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  /* 下限は本文サイズ(14px)。12.5pxだと901〜1261pxで768px時より小さくなっていた */
  font-size: clamp(14px, 1.11vw, 16px) !important;
  line-height: 1.75 !important;
}

/* サムネはコンプ同様、見出し行から始めて本文の右に立てる */
#services .services-grid > .service-item .service-image {
  grid-area: auto !important;
  grid-column: 2 !important;
  grid-row: 2 / span 2 !important;
  order: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 277 / 207 !important;
  align-self: start !important;
  margin: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #ececec;
}

#services .services-grid > .service-item .service-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

#services .services-grid > .service-item .text-link {
  grid-area: auto !important;
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  position: static !important;
  justify-self: end !important;
  align-self: end !important;
  min-width: clamp(120px, 12.4vw, 179px) !important;
  min-height: clamp(40px, 3.82vw, 55px) !important;
  justify-content: center !important;
  margin: clamp(8px, 0.7vw, 10px) 0 0 !important;
  white-space: nowrap !important;
}

/* --- 641〜1040px: 2カラムを保ったまま縮小（モック=PCレイアウト縮小 の帯域）
       サムネ比率だけ落として見出し・本文の折返しを抑える --- */
@media (max-width: 1040px) {
  #services .services-grid {
    width: min(1320px, 100% - 48px) !important;
  }

  #services .services-grid > .service-item,
  #services .services-grid > .service-item:nth-child(odd),
  #services .services-grid > .service-item:nth-child(even),
  #services .services-grid > .service-item:last-child:nth-child(odd) {
    grid-template-columns: minmax(0, 1fr) 40% !important;
    border-radius: 16px !important;
  }
}

/* --- ≤640px: スマホコンプ(スマホ (2).pdf / 393px原寸)準拠の1カラム
       実測(393px時): カード幅346(左右余白24) / カード間41.5 / padding 16-25-14
       アイブロウ13px →21→ 見出し22px(1.25) / サムネ130x96は右上・上端そろえ
       本文は全幅で下に回り12px(1.66) / ボタン105x28は中央 --- */
@media (max-width: 640px) {
  #services .services-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    row-gap: clamp(20px, 10.5vw, 42px) !important;
    column-gap: 0 !important;
    width: min(560px, 100% - 48px) !important;
  }

  #services .services-grid > .service-item,
  #services .services-grid > .service-item:nth-child(1),
  #services .services-grid > .service-item:nth-child(2),
  #services .services-grid > .service-item:nth-child(3),
  #services .services-grid > .service-item:nth-child(4),
  #services .services-grid > .service-item:nth-child(5),
  #services .services-grid > .service-item:nth-child(odd),
  #services .services-grid > .service-item:nth-child(even),
  #services .services-grid > .service-item:last-child:nth-child(odd) {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-columns: minmax(0, 1fr) 44% !important;
    grid-template-rows: auto auto auto auto !important;
    column-gap: 4.3% !important;
    padding: 16px 7.2% 14px !important;
    border-radius: 16px !important;
  }

  /* コンプの英字アイブロウは1行（"Planning / Presentation"で143.5px）。
     字送りが付くと折り返すため letter-spacing を落とす */
  #services .services-grid > .service-item .service-eyebrow {
    margin: 0 0 clamp(14px, 5.4vw, 21px) !important;
    font-size: clamp(11px, 3.05vw, 12px) !important;
    letter-spacing: 0 !important;
  }

  #services .services-grid > .service-item .service-title {
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: clamp(18px, 5.35vw, 21px) !important;
    line-height: 1.25 !important;
  }

  /* サムネはアイブロウ行から見出し行までの右上に置く（上端そろえ） */
  #services .services-grid > .service-item .service-image {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    aspect-ratio: 130 / 96 !important;
    align-self: start !important;
    border-radius: 10px !important;
  }

  /* 本文は全幅で下段へ */
  #services .services-grid > .service-item .service-desc {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin: 10px 0 0 !important;
    font-size: clamp(12px, 3.06vw, 13px) !important;
    line-height: 1.66 !important;
  }

  #services .services-grid > .service-item .text-link {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    justify-self: center !important;
    /* コンプは105x28。ヒットエリアは既存の透明::before(44px)が担保するため
       視覚サイズはコンプ寄りに詰める */
    width: auto !important;
    min-width: clamp(140px, 36vw, 150px) !important;
    min-height: 0 !important;
    height: clamp(30px, 8.7vw, 34px) !important;
    padding: 0 clamp(14px, 4.3vw, 18px) !important;
    margin: 11px 0 0 !important;
    font-size: clamp(12.5px, 3.3vw, 13.5px) !important;
  }
}

/* PCでは見出しと右列の先頭カードを同じ高さから始め、
   OUR SERVICE 下に残っていた余白をコンプのバランスまで詰める。 */
@media (min-width: 901px) {
  #services .services-grid {
    margin-top: -139px !important;
  }
}

/* =========================================================================
   FV（ヒーロー）バランス調整 — デザインコンプ準拠
   ・手書き矢印を復活（説明文からマスコットへ視線を誘導する要素。1201px以上で
     display:none にされていた）
   ・マスコットが1041px以上で224pxまで拡大し、Zoomバッジと見出しに干渉していたので
     コンプ比（約180px）に戻す
   ・背景コラージュを一段淡くして見出しの可読性と全体の余白感を確保
   ========================================================================= */
@media (min-width: 1201px) {
  /* マスコットと同じ式（left: max(-315px, 1139px - 100vw)）を基準に、常にその90px左へ置く。
     固定pxだと .hero-visual の左端が幅で動くため、狭い側で説明文の上に重なってしまう */
  #hero .hero-arrow {
    display: block !important;
    width: 96px !important;
    height: auto !important;
    left: calc(max(-315px, 1139px - 100vw) - 90px) !important;
    top: 400px !important;
    transform: rotate(12deg) scaleY(-1) !important;
    z-index: 5 !important;
  }

  /* 224pxまで拡大するとZoomバッジ・見出しに干渉するためコンプ比に戻す */
  #hero .hero-mascot {
    width: 186px !important;
  }
}

@media (min-width: 901px) {
  #hero .hero-bg-col {
    opacity: 0.1 !important;
  }
}

/* 1041-1200px: Zoomバッジがヒーロー上端（ヘッダー際）まで上がり、マスコットと分離して
   宙に浮いていたため、他帯域と同じく「マスコットの右上」に置き直す。
   マスコットは left: calc(741px - 76.5vw) / top: 258px なので、それを基準に相対配置する */
@media (min-width: 1041px) and (max-width: 1200px) {
  #hero .hero-zoom-badge {
    left: calc(741px - 76.5vw + 6px) !important;
    top: 176px !important;
    width: 106px !important;
    height: auto !important;
    z-index: 4 !important;
  }
}

/* =========================================================================
   FV（ヒーロー）— PCコンプ(pc_top_デザイン.pdf / 1440px原寸)実測値で再構築
   旧実装は帯域ごとにpx座標を当て直す作りで、幅を変えるたびに位置関係が崩れていた
   （1041px未満でマスコットと矢印が消える、バッジがヘッダー際まで浮くなど）。
   本ブロックでは全要素を「比率」で持たせ、641px以上で同じ構図が保たれるようにする。

   コンプ実測(1440px時) ※2026-08-05に pc_top_デザイン (8).pdf で全面再採寸:
     左マージン137px / 内容幅1167px / テキスト列615px / 溝99px / クラスタ453px
     ヒーロー帯 y80-685(高さ605) / hero-inner上下パディング18px
     アイブロウ40px(行送り1.25) →14→ 見出し95px(1.1) →29→ リード16px(行送り2.12)
       →14→ ボタン 326x70・262x70(間隔27px) ボタン上端 y582
     カード189x277(0.682) / 列間18px / 2段目は+51px右 / 右列は+12px下 / 段間3px
     マスコット160x150はボタン上端に接地(左端x570)
     Zoomバッジ150x120はマスコット右上(x680 / y355-475)
     手書き矢印77x50はリード文の右下(x473-550 / y510-560)・上下反転なし
   ========================================================================= */
@media (min-width: 641px) {
  /* コンプのヒーロー高は605px。旧実装は901px以上で height/min-height:642px 固定だったため
     幅を変えても帯だけ据え置かれ、中身との余白が帯域ごとにずれていた。内容成り行きにする */
  #hero {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  #hero .hero-inner {
    display: grid !important;
    grid-template-columns: 52.7% 38.8% !important;   /* 615 : 453（残り8.5%が溝） */
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
    width: min(1167px, 100% - 12.5%) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding: clamp(14px, 1.25vw, 18px) 0 !important;
    min-height: 0 !important;
  }

  #hero .hero-text {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* --- タイポグラフィ: 1440pxでコンプ実測値に一致するvw --- */
  #hero .hero-sub--pc {
    font-size: clamp(17px, 2.78vw, 40px) !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  #hero .hero-headline {
    font-size: clamp(38px, 6.6vw, 95px) !important;
    line-height: 1.1 !important;
    margin: clamp(6px, 0.97vw, 14px) 0 0 !important;
    display: block !important;
  }

  #hero .hero-headline-top,
  #hero .hero-headline-pro,
  #hero .hero-highlight {
    display: block !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }

  /* .hero-highlight は block だと「の」が次行に落ちるため行内に戻す */
  #hero .hero-highlight {
    display: inline !important;
  }

  #hero .hero-headline-no {
    font-size: 0.6em !important;
  }

  #hero .hero-desc--pc {
    font-size: clamp(12px, 1.11vw, 16px) !important;
    line-height: 2.12 !important;
    font-weight: 700 !important;
    margin: clamp(12px, 2.01vw, 29px) 0 0 !important;
  }

  /* --- CTA: コンプ実測 高さ70px・間隔25px・1行 --- */
  #hero .hero-cta {
    position: relative !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: clamp(8px, 1.88vw, 27px) !important;
    margin: clamp(10px, 0.97vw, 14px) 0 0 !important;
  }

  #hero .hero-cta .btn-hero-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: clamp(44px, 4.86vw, 70px) !important;
    padding: 0 clamp(14px, 3.95vw, 57px) !important;
    border-radius: 999px !important;
    font-size: clamp(11px, 1.11vw, 16px) !important;
    white-space: nowrap !important;
  }

  #hero .hero-cta-wrap {
    position: relative !important;
    display: inline-flex !important;
  }

  /* --- マスコット / バッジ / 矢印 ---
     bottom:100% で「プロに無料で相談する」ボタンの上端に接地させ、
     バッジと矢印はマスコット幅に対する比で持たせる */
  #hero .hero-figure {
    position: absolute !important;
    bottom: 100% !important;
    /* 基準は「プロに無料で相談する」ボタン幅。コンプ262pxに対し実装は280pxなので
       コンプ比(85/280, 160/280)で持たせ、実寸がコンプと一致するようにする */
    left: 30.4% !important;   /* コンプのマスコット左端 x570（ボタン左端 x485 から +85） */
    width: 57.1% !important;  /* マスコット幅160px */
    z-index: 5 !important;
    display: block !important;
    pointer-events: none;
  }

  #hero .hero-figure img {
    max-width: none !important;
  }

  #hero .hero-figure .hero-mascot {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  /* コンプ: バッジ150x120がマスコットの右上（x680 / 下端y475=ボタン上端の107px上） */
  #hero .hero-figure .hero-zoom-badge {
    position: absolute !important;
    left: 68.75% !important;   /* (680-570) / 160 */
    bottom: 71.3% !important;  /* 107 / 150（包含ブロック=マスコット高） */
    width: 93.75% !important;  /* 150 / 160 */
    height: auto !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
  }

  /* コンプ: 矢印77x50はリード文の右下（x473-550 / 下端y560=ボタン上端の22px上）。
     素材は既に「左上→右下」向きなので上下反転は掛けない */
  #hero .hero-figure .hero-arrow {
    position: absolute !important;
    left: -60.6% !important;   /* (473-570) / 160 */
    bottom: 14.7% !important;  /* 22 / 150 */
    width: 48% !important;     /* 77 / 160 */
    height: auto !important;
    top: auto !important;
    display: block !important;
    transform: none !important;
  }

  /* --- 写真タイル: コンプ実測比のカスケード --- */
  #hero .hero-visual {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    inset: auto !important;
  }

  #hero .hero-tiles {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 4.55% !important;          /* 18 / 396 */
    width: 88.6% !important;               /* 396 / 447（残りは2段目の右シフト分） */
  }

  #hero .hero-tile {
    display: block !important;
  }

  #hero .hero-tile img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 189 / 277;
    object-fit: contain !important;
    /* 素材に焼き込まれた半透明の影だけを落とし、人物と白枠は残す。 */
    filter: url("#hero-shadowless");
  }

  /* 右列 +12px下(=カード高の4.3%) / 2段目 +51px右(=カード幅の27%) /
     段間 +3px(=グリッド幅の0.76%。marginの%は常に横幅基準) */
  #hero .hero-tile:nth-child(2) { transform: translateY(4.3%) !important; }
  #hero .hero-tile:nth-child(3) { transform: translateX(27%) !important; margin-top: 0.76% !important; }
  #hero .hero-tile:nth-child(4) { transform: translate(27%, 4.3%) !important; margin-top: 0.76% !important; }

  /* 旧実装の残骸を無効化 */
  #hero .hero-cards,
  #hero .hero-group-photo,
  #hero .hero-mobile-group,
  #hero .hero-mobile-standing,
  #hero .hero-mobile-zoom {
    display: none !important;
  }
}

/* --- 641px以上はPCの構図なので、コピーもPC版を使う
       （旧実装は900px以下がモバイル構図だったため、モバイル文言に切り替わっていた） --- */
@media (min-width: 641px) {
  #hero .hero-sub--pc,
  #hero .hero-desc--pc { display: block !important; }
  #hero .hero-sub--mobile,
  #hero .hero-desc--mobile { display: none !important; }
}

/* --- 641-1040px: 溝が狭くZoomバッジが写真タイルに食い込むため、
       小さめ・マスコット寄りにして逃がす --- */
@media (min-width: 641px) and (max-width: 1040px) {
  #hero .hero-figure .hero-zoom-badge {
    /* この帯域は溝が狭く、コンプ同様に手の上へ置くとタイルへ食い込む。
       顔にも掛からないようマスコットの頭上へ逃がす */
    left: 40% !important;
    bottom: 84% !important;
    width: 88% !important;
  }
}

/* =========================================================================
   サービス詳細: ウェビナー企画代行（comp「ウェビナー企画代行.pdf」1440px原寸を採寸）
   comp実測: 本文コンテナ幅 618px (x126-743) / セクション見出しは
   オレンジ帯(#EE7A45)と濃紺帯(#3E4651)の2種 / 本文16px・行送り1.9
   ========================================================================= */
.wpp-page {
  --wpp-orange: #EE7A45;
  --wpp-dark: #3E4651;
  --wpp-text: #1B1A1A;
  --wpp-line: #E3E0DD;
  --wpp-soft: #F4F3F1;
  color: var(--wpp-text);
  font-size: 16px;
  line-height: 1.9;
}

.wpp-container {
  width: min(1040px, 100% - clamp(32px, 8vw, 96px));
  margin-inline: auto;
}

/* --- ヒーロー --- */
.wpp-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 4vw, 56px); }

.wpp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 30%, 375px);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}

.wpp-hero__title {
  margin: 0;
  padding-left: 16px;
  border-left: 7px solid var(--wpp-orange);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.3;
}

.wpp-hero__sub {
  margin: clamp(14px, 1.8vw, 24px) 0 0;
  color: var(--wpp-orange);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 900;
  line-height: 1.55;
}

.wpp-hero__lead { margin: clamp(14px, 1.6vw, 22px) 0 0; }

.wpp-hero__visual { margin: 0; }
.wpp-hero__visual img { width: 100%; height: auto; border-radius: 10px; display: block; }

.wpp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 2.2vw, 28px); }

.wpp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 26px;
  border-radius: 6px;
  background: var(--wpp-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.wpp-btn::after { content: "›"; font-size: 16px; line-height: 1; }
.wpp-btn:hover { opacity: .88; }
.wpp-btn--yellow { background: #F2B33D; }

/* --- 目次 --- */
.wpp-toc { margin: clamp(24px, 3.6vw, 48px) 0; border: 1px solid var(--wpp-line); border-radius: 2px; }
.wpp-toc__title { margin: 0; padding: 14px 22px; background: var(--wpp-dark); color: #fff; font-size: 17px; font-weight: 900; }
.wpp-toc__list { margin: 0; padding: 20px 22px 24px; list-style: none; }
.wpp-toc__list li { position: relative; padding-left: 20px; }
.wpp-toc__list li::before { content: "・"; position: absolute; left: 0; color: var(--wpp-text); }
.wpp-toc__list a { color: inherit; text-decoration: none; }
.wpp-toc__list a:hover { text-decoration: underline; }

/* --- セクション --- */
.wpp-section { margin: clamp(40px, 6vw, 88px) 0; }

.wpp-h2 {
  margin: 0 0 clamp(18px, 2.2vw, 28px);
  padding: 15px 22px;
  background: var(--wpp-orange);
  color: #fff;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 900;
  line-height: 1.45;
}
.wpp-h2--dark { background: var(--wpp-dark); }
.wpp-h2--plain { background: none; color: var(--wpp-text); padding: 0; font-size: clamp(19px, 1.9vw, 24px); }

.wpp-h3 {
  margin: clamp(28px, 3.4vw, 44px) 0 clamp(12px, 1.4vw, 18px);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wpp-text);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 900;
}

.wpp-lead { margin: 0 0 clamp(14px, 1.6vw, 20px); }
.wpp-lead:last-child { margin-bottom: 0; }

/* --- 箇条書き --- */
.wpp-bullets { margin: 0; padding: 0; list-style: none; }
.wpp-bullets li { position: relative; padding: 6px 0 6px 22px; }
.wpp-bullets li::before { content: "・"; position: absolute; left: 0; }
.wpp-bullets em, .wpp-rows em { color: var(--wpp-orange); font-style: normal; font-weight: 700; }

.wpp-dotlist { margin: 0 0 clamp(14px, 1.6vw, 20px); padding: 0; list-style: none; }
.wpp-dotlist li { position: relative; padding: 3px 0 3px 20px; }
.wpp-dotlist li::before { content: "・"; position: absolute; left: 0; }

/* comp: 薄いグレー帯が縦に積まれた行リスト */
.wpp-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.wpp-rows li {
  position: relative;
  padding: 14px 20px 14px 34px;
  background: var(--wpp-soft);
  border-left: 3px solid #D8D4D0;
}
.wpp-rows li::before { content: "・"; position: absolute; left: 18px; }

/* --- 番号付き見出し（3つの理由） --- */
.wpp-numbered article + article { margin-top: clamp(20px, 2.6vw, 32px); }
.wpp-numbered h3 {
  margin: 0 0 8px;
  color: var(--wpp-orange);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 900;
}
.wpp-numbered p { margin: 0; }

/* --- 進め方ステップ --- */
.wpp-steps { margin: 0; padding: 0; list-style: none; border: 1px solid var(--wpp-orange); }
.wpp-steps li { display: grid; grid-template-columns: clamp(48px, 6vw, 64px) minmax(0, 1fr); align-items: stretch; }
.wpp-steps li + li { border-top: 1px solid var(--wpp-orange); }
.wpp-steps__no {
  display: grid;
  place-items: center;
  background: #FBE7DC;
  color: var(--wpp-orange);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
}
.wpp-steps li > div { padding: 12px 18px; }
.wpp-steps b { display: block; color: var(--wpp-orange); font-size: 15px; font-weight: 900; }
.wpp-steps p { margin: 2px 0 0; font-size: 14px; line-height: 1.7; }
.wpp-steps small { color: #6b6b6b; }

/* --- 表 --- */
.wpp-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wpp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.65; min-width: 560px; }
.wpp-table th, .wpp-table td { border: 1px solid #EAD9CE; padding: 10px 12px; text-align: left; vertical-align: top; }
.wpp-table thead th { background: var(--wpp-orange); color: #fff; font-weight: 700; text-align: center; }
.wpp-table tbody th, .wpp-table tbody td:first-child { background: #FDF6F1; font-weight: 700; }
.wpp-table tbody tr:nth-child(even) td { background: #FBFAF9; }
.wpp-table tbody tr:nth-child(even) td:first-child { background: #FBF1EA; }

/* --- 補足ボックス --- */
.wpp-note { margin-top: clamp(20px, 2.4vw, 30px); padding: clamp(18px, 2.2vw, 26px); background: var(--wpp-soft); }
.wpp-note__title { margin: 0 0 10px; color: var(--wpp-orange); font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.wpp-note ul { margin: 0; padding: 0; list-style: none; }
.wpp-note li { position: relative; padding: 3px 0 3px 18px; font-size: 15px; }
.wpp-note li::before { content: "・"; position: absolute; left: 0; }
.wpp-note p { margin: 0; font-size: 15px; }

/* --- 図版 --- */
.wpp-figure { margin: clamp(18px, 2.2vw, 28px) 0; }
.wpp-figure img { width: 100%; height: auto; display: block; }
/* 遅延読込中も面積を確保する。未読込だと高さ0になり、
   「高さ0→ビューポートに入らない→読み込まれない」で画像が出ないままになる */
.wpp-figure--community img { aspect-ratio: 1672 / 941; }
.wpp-figure--cases img { aspect-ratio: 3024 / 1698; }

.wpp-strongline { margin: 0 0 6px; color: var(--wpp-orange); font-size: clamp(15px, 1.4vw, 19px); font-weight: 900; }

/* --- 失敗ポイント --- */
.wpp-points article + article { margin-top: clamp(20px, 2.4vw, 28px); }
.wpp-points h3 { margin: 0 0 10px; padding: 10px 16px; background: var(--wpp-soft); font-size: clamp(15px, 1.4vw, 18px); font-weight: 900; }
.wpp-points p { margin: 0; }

/* --- 料金プラン --- */
.wpp-plans { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.wpp-plan { display: grid; grid-template-columns: clamp(140px, 22%, 190px) minmax(0, 1fr); border: 1px solid var(--wpp-orange); }
.wpp-plan__head { padding: 16px; background: var(--wpp-orange); color: #fff; text-align: center; }
.wpp-plan__name { margin: 0 0 6px; display: inline-block; padding: 4px 12px; background: #fff; color: var(--wpp-orange); border-radius: 4px; font-size: 14px; font-weight: 900; }
.wpp-plan__name small { font-size: 11px; font-weight: 700; }
.wpp-plan__price { margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; line-height: 1.2; }
.wpp-plan__price span { font-size: .62em; }
.wpp-plan__tax { margin: 0; font-size: 12px; }
.wpp-plan__add { margin: 10px 0 0; padding: 6px 8px; background: #fff; color: var(--wpp-orange); border-radius: 4px; font-size: 12px; font-weight: 900; line-height: 1.5; }
.wpp-plan__body { padding: clamp(14px, 1.8vw, 22px); font-size: 15px; }
.wpp-plan__body p { margin: 0; }
.wpp-plan__memo { margin-top: 8px !important; font-size: 12.5px; color: #6b6b6b; }

/* --- その他の支援 --- */
.wpp-others article + article { margin-top: clamp(18px, 2.2vw, 26px); }
.wpp-others h3 { margin: 0 0 8px; color: var(--wpp-orange); font-size: clamp(15px, 1.4vw, 18px); font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.wpp-others p { margin: 0; }

/* --- FAQ --- */
.wpp-faq { display: grid; gap: clamp(14px, 1.8vw, 20px); }
.wpp-faq article { padding: clamp(18px, 2.2vw, 26px); border: 1px solid #2b2b2b; border-radius: 12px; }
.wpp-faq h3 { margin: 0 0 10px; font-size: clamp(15px, 1.4vw, 18px); font-weight: 900; }
.wpp-faq p { margin: 0; font-size: 14px; line-height: 1.8; }
.wpp-faq__item { border: 1px solid #2b2b2b; border-radius: 12px; overflow: hidden; }
.wpp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(18px, 2.2vw, 26px);
  cursor: pointer;
  list-style: none;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 900;
  line-height: 1.55;
  transition: background-color 160ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.wpp-faq__item summary::-webkit-details-marker { display: none; }
.wpp-faq__item summary:active { transform: scale(.995); }
.wpp-faq__item summary:focus-visible { outline: 3px solid rgba(254, 107, 50, .42); outline-offset: -4px; }
.wpp-faq__item[open] summary { background: #FDF6F1; }
.wpp-faq__icon { position: relative; flex: 0 0 20px; width: 20px; height: 20px; }
.wpp-faq__icon::before,
.wpp-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.wpp-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.wpp-faq__item[open] .wpp-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.wpp-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 220ms cubic-bezier(0.23, 1, 0.32, 1), opacity 160ms ease;
}
.wpp-faq__answer > div { min-height: 0; overflow: hidden; }
.wpp-faq__answer p { padding: 0 clamp(18px, 2.2vw, 26px) clamp(18px, 2.2vw, 26px); }
.wpp-faq__item[open] .wpp-faq__answer { grid-template-rows: 1fr; opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .wpp-faq__item summary:hover { background: #FDF6F1; }
}

@media (prefers-reduced-motion: reduce) {
  .wpp-faq__item summary,
  .wpp-faq__icon::before,
  .wpp-faq__icon::after,
  .wpp-faq__answer { transition-duration: 0.01ms; }
}

/* --- 下部CTA --- */
.wpp-cta { margin-top: clamp(40px, 6vw, 80px); padding: clamp(40px, 5vw, 72px) 0; background: var(--wpp-orange); color: #fff; }
.wpp-cta__title { margin: 0 0 clamp(12px, 1.6vw, 20px); font-size: clamp(21px, 2.4vw, 30px); font-weight: 900; line-height: 1.5; }
.wpp-cta__lead { margin: 0 0 clamp(22px, 2.8vw, 34px); font-size: 15px; }
.wpp-cta__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 720px; }
.wpp-cta__cards article { padding: clamp(20px, 2.4vw, 28px); background: #fff; color: var(--wpp-text); border-radius: 6px; text-align: center; }
.wpp-cta__cards h3 { margin: 0 0 10px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 900; }
.wpp-cta__cards p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.75; }
.wpp-cta__cards .wpp-btn { justify-content: center; }

/* --- ≤820px: 1カラムへ --- */
@media (max-width: 820px) {
  .wpp-hero__inner { grid-template-columns: 1fr; }
  .wpp-hero__visual { order: -1; }
  .wpp-plan { grid-template-columns: 1fr; }
  .wpp-cta__cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wpp-page { font-size: 15px; }
  .wpp-actions .wpp-btn { flex: 1 1 auto; justify-content: center; }
  .wpp-steps li { grid-template-columns: 42px minmax(0, 1fr); }
}

/* =========================================================================
   サービス詳細: ウェビナー運用 内製化支援
   comp「ウェビナー運用 内製化支援.pdf」1440px原寸を採寸（2026-08-05）
     本文カラム 幅890px / h2はオレンジ帯 #FE6B32・白文字（高さ73px）
     h3は淡いピーチ帯 #FFF6F2（理由・特徴＝オレンジ文字 / 失敗ポイント＝濃色文字）
     支援領域①〜④はオレンジ下線見出し＋グレーボックス #F5F5F5 の箇条書き
     「主な成果物：」はオレンジのラベル / 補足は小さめグレー
     よくある質問はグレー帯 #F9F8F8 の全幅バンド
   装飾の土台は姉妹ページ（企画代行）の wpp-* を共用し、差分のみ wis-* で持つ。
   ========================================================================= */
.wis-page {
  /* compのオレンジはサイト共通の #FE6B32（企画代行compの #EE7A45 とは別） */
  --wpp-orange: #FE6B32;
}

.wis-page .wpp-container {
  width: min(890px, 100% - clamp(32px, 8vw, 96px));
}

/* ヒーローだけはcompでビジュアルが本文カラムより右へ張り出す（x180-1288 / 幅1108） */
.wis-page .wpp-hero > .wpp-container {
  width: min(1108px, 100% - clamp(32px, 8vw, 96px));
}

.wis-page .wpp-hero__inner {
  grid-template-columns: minmax(0, 1fr) clamp(220px, 36%, 398px);
  align-items: center;
}

/* 641px以上は共通ルールの1カラム化・画像先頭化(≤820px)を打ち消し、comp同様に
   「テキスト左 / 写真右」の2カラムを保つ */
@media (min-width: 641px) {
  .wis-page .wpp-hero__visual { order: 0; }
}

/* ≤640pxは写真を上に回して1カラム（姉妹ページと同じ挙動） */
@media (max-width: 640px) {
  .wis-page .wpp-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .wis-page .wpp-hero__visual { order: -1; }
}

/* ヒーロー: 2行目だけ濃色・太字（1行目はオレンジ） */
.wis-hero__sub-strong {
  color: var(--wpp-text);
}

.wis-page .wpp-hero__visual img {
  aspect-ratio: 398 / 274;
  object-fit: cover;
}

.wis-intro { margin-bottom: clamp(24px, 3.2vw, 40px); }

.wis-note--summary { margin-top: 0; }

/* --- h2: compは高さ73px・左右パディング26px --- */
.wis-page .wpp-h2 {
  padding: clamp(14px, 1.53vw, 22px) clamp(16px, 1.81vw, 26px);
  font-size: clamp(17px, 1.53vw, 22px);
  line-height: 1.3;
}

.wis-page .wpp-h2--plain {
  padding: 0;
  font-size: clamp(20px, 1.94vw, 28px);
}

/* --- h3: 淡いピーチ帯 --- */
.wis-h3 {
  margin: clamp(26px, 3vw, 38px) 0 clamp(12px, 1.2vw, 16px);
  padding: clamp(9px, 0.97vw, 14px) clamp(12px, 1.25vw, 18px);
  background: #FFF6F2;
  color: var(--wpp-orange);
  font-size: clamp(15px, 1.32vw, 19px);
  font-weight: 900;
  line-height: 1.45;
}

.wis-h3--dark { color: var(--wpp-text); }

/* --- h4: オレンジ下線見出し（数字で見る支援実績 / 事例の小見出し） --- */
.wis-h4 {
  margin: clamp(26px, 3vw, 38px) 0 clamp(10px, 1vw, 14px);
  color: var(--wpp-orange);
  font-size: clamp(14px, 1.18vw, 17px);
  font-weight: 900;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 支援領域の①〜④は下線見出し＋直後の本文を詰める */
.wis-h4--area { margin-bottom: clamp(8px, 0.83vw, 12px); }

.wis-areatext {
  margin: 0 0 clamp(12px, 1.25vw, 18px);
  font-size: clamp(13.5px, 1.04vw, 15px);
  line-height: 1.85;
}

/* --- 箇条書きを囲むグレーボックス --- */
.wis-box {
  margin: 0 0 clamp(22px, 2.6vw, 34px);
  padding: clamp(16px, 1.8vw, 26px) clamp(16px, 1.94vw, 28px);
  background: #F5F5F5;
}

.wis-box .wpp-dotlist {
  margin: 0;
  font-size: clamp(13px, 1.04vw, 15px);
  line-height: 1.85;
}

.wis-box .wpp-dotlist li { padding: 4px 0 4px 20px; }

.wis-box__result {
  margin: clamp(12px, 1.4vw, 18px) 0 0;
  font-size: clamp(12px, 0.97vw, 14px);
  font-weight: 700;
  line-height: 1.7;
}

.wis-box__result span { color: var(--wpp-orange); }

.wis-box__memo {
  margin: 8px 0 0;
  color: #6b6b6b;
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.7;
}

/* --- 表の下の注記 --- */
.wis-tablenote {
  margin: 10px 0 0;
  color: #6b6b6b;
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.7;
}

/* --- 導入事例 --- */
.wis-case__company {
  margin: 0 0 4px;
  color: var(--wpp-orange);
  font-size: clamp(16px, 1.46vw, 21px);
  font-weight: 900;
  line-height: 1.4;
}

.wis-case__industry {
  margin: 0;
  font-size: clamp(12.5px, 1.04vw, 15px);
  font-weight: 700;
  line-height: 1.6;
}

/* --- よくある質問: グレーの全幅バンド --- */
.wis-faqband {
  margin-top: clamp(40px, 6vw, 88px);
  padding: clamp(8px, 1vw, 16px) 0 clamp(24px, 3vw, 48px);
  background: #F9F8F8;
}

.wis-section--faq { margin-bottom: clamp(20px, 2.4vw, 32px); }

.wis-page .wpp-faq article { border-color: #2b2b2b; }

/* 強調はオレンジ太字（斜体にしない） */
.wis-page em {
  color: var(--wpp-orange);
  font-style: normal;
  font-weight: 700;
}

/* --- 表: compは罫線もオレンジ / 2列とも左寄せ・見出し行のみ中央 --- */
.wis-page .wpp-table { min-width: 480px; }
.wis-page .wpp-table th,
.wis-page .wpp-table td { border-color: #F7C2AB; }

.wis-page .wpp-table tbody th {
  width: 30%;
  background: #ffffff;
  vertical-align: middle;
}

.wis-page .wpp-table tbody th small {
  display: block;
  font-size: 0.86em;
  font-weight: 700;
}

.wis-page .wpp-table tbody td { background: #ffffff; }
.wis-page .wpp-table tbody tr:nth-child(even) td,
.wis-page .wpp-table tbody tr:nth-child(even) td:first-child { background: #ffffff; }

@media (max-width: 640px) {
  .wis-page .wpp-hero__visual img { aspect-ratio: 16 / 10; }
  .wis-box { padding: 16px 18px; }
}

/* --- タッチ帯(≤900px): 目次リンクのタップ領域を44pxへ（視覚は変えず透明::beforeで拡張）
       サービス詳細（企画代行 / 内製化支援）共通 --- */
@media (max-width: 900px) {
  .wpp-toc__list a {
    position: relative;
    display: inline-block;
  }

  .wpp-toc__list a::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 44px;
    transform: translate(-50%, -50%);
  }
}

/* ===== MEMBER: 8名構成 =====
   PCは代表カード＋4列、タブレットは8名を4列×2段で整列する。 */
@media (min-width: 1101px) {
  #member .member-grid {
    grid-template-columns: 312px repeat(4, minmax(0, 1fr));
    max-width: 1140px;
  }

  #member .member-card:nth-child(8) .member-card-body {
    flex-basis: 100px;
    padding-right: 18px;
    padding-left: 18px;
  }

  #member .member-card:nth-child(8) .member-role {
    font-size: 12px;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  #member .member-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, auto) !important;
  }

  #member .member-card,
  #member .member-card:first-child,
  #member .member-card:nth-child(8) {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 0 !important;
  }

  #member .member-photo,
  #member .member-card:first-child .member-photo,
  #member .member-card:nth-child(8) .member-photo {
    flex: 0 0 auto !important;
    height: auto !important;
    aspect-ratio: 220 / 206 !important;
  }

  #member .member-card-body,
  #member .member-card:first-child .member-card-body,
  #member .member-card:nth-child(8) .member-card-body {
    flex: 1 1 auto !important;
  }
}

/* --- タッチ帯(≤900px): スライダー矢印(24x24)とフッターSNSアイコン(24x24)のタップ領域を44pxへ。
       いずれもボタン間隔20px＝中心間44pxなので、44x44に広げても隣と重ならない --- */
@media (max-width: 900px) {
  .works-nav .nav-btn,
  .blog-nav .nav-btn,
  .events-nav .nav-btn,
  .footer-social a {
    position: relative;
  }

  /* ::after は矢印グリフに使われているため ::before を使う */
  .works-nav .nav-btn::before,
  .blog-nav .nav-btn::before,
  .events-nav .nav-btn::before,
  .footer-social a::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100%, 44px);
    height: 44px;
    transform: translate(-50%, -50%);
  }
}

/* --- 641-900帯: メンバー見出しだけ左右marginが24pxあるため、共通の width:100% と
       合わさって右へ24pxはみ出していた（overflowで見えないだけ）。marginぶんを差し引く --- */
@media (max-width: 900px) {
  #member .member-header,
  .member-header {
    width: auto;
  }
}

/* --- 901-1023帯: メディア(PODCAST/YOUTUBE)は 300px+104px+540px+左右40px=1024px 必要で、
       この帯では収まらず左右へ21pxずつはみ出していた。この帯だけ流動幅にする --- */
@media (min-width: 901px) and (max-width: 1023px) {
  #media .media-content {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    column-gap: clamp(24px, 5.6vw, 104px);
  }

  /* パネルとYouTubeカードも固定px(540/261)なのでトラック幅に追従させる */
  #media .media-panel-podcast,
  #media .media-panel-youtube,
  #media .youtube-card-grid {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  #media .youtube-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #media .youtube-card-thumb {
    width: 100%;
    max-width: none;
  }
}

/* ===== Header follow behavior =====
   Keep the PDF-comp dimensions and colors untouched; only pin the existing
   header to the viewport while the document scrolls. */
html,
body {
  overflow-x: clip;
}

#site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000;
}

@media (min-width: 783px) {
  body.admin-bar #site-header {
    top: 32px !important;
  }
}

@media (min-width: 601px) and (max-width: 782px) {
  body.admin-bar #site-header {
    top: 46px !important;
  }
}

/* =========================================================================
   サービス詳細フォーマット統一
   「ウェビナーBPO伴走支援」を基準に、他4サービスのページ骨格を揃える。
   各サービス固有の表・事例・料金カードはそのまま活かし、ヒーロー／目次／
   本文幅／セクション見出し／基本タイポグラフィのリズムだけを共通化する。
   ========================================================================= */
:is(.rw-page, .oc-page, .wpp-page) {
  --service-detail-orange: #fd6b32;
  --service-detail-cream: #fef6f3;
  --rw-orange: var(--service-detail-orange);
  --rw-cream: var(--service-detail-cream);
  --oc-orange: var(--service-detail-orange);
  --oc-cream: var(--service-detail-cream);
  --wpp-orange: var(--service-detail-orange);
  color: #1b1a1a;
}

/* BPOページと同じ本文幅。長文でも視線の移動量を抑える。 */
:is(.rw-page, .oc-page, .wpp-page) :is(.rw-container, .oc-container, .wpp-container) {
  width: min(840px, calc(100% - 80px));
  max-width: none;
  margin-inline: auto;
}

/* HeroのみBPOページと同じ1100px幅で、本文より広く見せる。 */
:is(.rw-page, .oc-page, .wpp-page) :is(.rw-wide, .oc-wide, .wpp-hero > .wpp-container) {
  width: min(1100px, calc(100% - 80px));
  max-width: none;
  margin-inline: auto;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero, .oc-hero, .wpp-hero) {
  padding: 72px 0 64px;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__inner, .oc-hero__inner, .wpp-hero__inner) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__title, .oc-hero__title, .wpp-hero__title) {
  margin: 8px 0 28px;
  padding-left: 18px;
  border-left: 7px solid var(--service-detail-orange);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.35;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__lead, .oc-hero__lead, .wpp-hero__lead) {
  margin: 0 0 24px;
  font-size: 16.5px;
  line-height: 1.95;
}

.wpp-page .wpp-hero__sub {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.6;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__visual, .oc-hero__visual, .wpp-hero__visual) {
  width: 360px;
  max-width: 100%;
  margin: 0;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__visual, .oc-hero__visual, .wpp-hero__visual) img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  filter: none;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-actions, .oc-actions, .wpp-actions) {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 0;
}

/* 企画代行／内製化ページの角丸矩形ボタンもBPOのピル型へ合わせる。 */
:is(.wpp-page) .wpp-btn {
  position: relative;
  justify-content: center;
  min-height: 43px;
  padding: 9px 44px 10px 30px;
  border-radius: 36px;
  background: var(--service-detail-orange);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), opacity 160ms ease;
}

:is(.wpp-page) .wpp-btn::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

/* 企画代行／内製化ページの「お問い合わせ」はBPOと同じ黄色ボタンに揃える。
   直前の .wpp-btn（オレンジ）と同specificityなので、後勝ちで上書きする。 */
:is(.wpp-page) .wpp-btn--yellow {
  background: #fdba31;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.cv-btn, .wpp-btn):active {
  transform: scale(.97);
}

/* --- BPOと同じ、全幅グレー帯のページ内ナビ --- */
:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) {
  width: 100vw;
  max-width: none;
  margin: 0 0 30px calc(50% - 50vw);
  padding: 36px 40px 30px;
  border: 0;
  border-radius: 0;
  background: #f7f7f7;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__title, .oc-toc__title, .wpp-toc__title) {
  display: none;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__grid, .oc-toc__grid, .wpp-toc__list) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px 40px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 1180px;
}

.wpp-page .wpp-toc__list li {
  padding: 0;
}

.wpp-page .wpp-toc__list li::before,
:is(.rw-page, .oc-page) :is(.rw-toc, .oc-toc) a::before {
  display: none;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: #1b1a1a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  text-decoration: none;
  transition: color 160ms ease;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a:hover {
    color: var(--service-detail-orange);
  }
}

/* --- BPOと同じ本文リズムと見出し帯 --- */
:is(.rw-page, .oc-page, .wpp-page) :is(.rw-section, .oc-section, .wpp-section) {
  margin: 0;
  padding: 60px 0 30px;
  scroll-margin-top: 90px;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-h2, .oc-h2, .wpp-h2) {
  margin: 0 0 32px;
  padding: 17px 26px;
  background: var(--service-detail-orange);
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-lead, .oc-lead, .wpp-lead) {
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 2;
}

/* 一覧カードの角と余白もBPOのクリームカードへ寄せる。 */
:is(.rw-page, .oc-page) :is(.rw-highlight-list, .oc-highlight-list) {
  gap: 18px;
}

:is(.rw-page, .oc-page) :is(.rw-highlight-list, .oc-highlight-list) li,
.wpp-page .wpp-rows li {
  padding: 20px 28px 20px 44px;
  border: 0;
  border-radius: 8px;
  background: var(--service-detail-cream);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.9;
}

:is(.rw-page, .oc-page) :is(.rw-bottom-cta, .oc-bottom-cta),
.wpp-page .wpp-cta {
  background: var(--service-detail-orange);
}

/* --- BPOと同じレスポンシブ挙動 --- */
@media (max-width: 900px) {
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-container, .oc-container, .wpp-container),
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-wide, .oc-wide, .wpp-hero > .wpp-container) {
    width: min(100% - 56px, 840px);
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero, .oc-hero, .wpp-hero) {
    padding: 40px 0 48px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__inner, .oc-hero__inner, .wpp-hero__inner) {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__visual, .oc-hero__visual, .wpp-hero__visual) {
    order: -1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__title, .oc-hero__title, .wpp-hero__title) {
    font-size: 26px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) {
    width: 100vw;
    padding: 30px 24px 26px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__grid, .oc-toc__grid, .wpp-toc__list) {
    gap: 18px 28px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a {
    max-width: 190px;
    font-size: 13.5px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-section, .oc-section, .wpp-section) {
    padding: 44px 0 20px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-h2, .oc-h2, .wpp-h2) {
    padding: 14px 20px;
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-container, .oc-container, .wpp-container),
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-wide, .oc-wide, .wpp-hero > .wpp-container) {
    width: calc(100% - 40px);
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__title, .oc-hero__title, .wpp-hero__title) {
    padding-left: 12px;
    border-left-width: 5px;
    font-size: 22px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-hero__lead, .oc-hero__lead, .wpp-hero__lead) {
    font-size: 14px;
    line-height: 1.9;
  }

  .wpp-page .wpp-hero__sub {
    font-size: 17px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-actions, .oc-actions, .wpp-actions) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-actions, .oc-actions, .wpp-actions) :is(.cv-btn, .wpp-btn) {
    width: 100%;
    min-width: 0;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) {
    width: 100vw;
    padding-inline: 20px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__grid, .oc-toc__grid, .wpp-toc__list) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a {
    max-width: none;
    font-size: 12.5px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-h2, .oc-h2, .wpp-h2) {
    padding: 12px 15px;
    font-size: 18px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-highlight-list, .oc-highlight-list) li,
  .wpp-page .wpp-rows li {
    padding: 16px 18px 16px 34px;
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.rw-page, .oc-page, .wpp-page) :is(.cv-btn, .wpp-btn) {
    transition: opacity 160ms ease;
  }
}

/* Touch layouts are swipeable, so keep previous/next controls on desktop only. */
@media (max-width: 900px) {
  #works .works-nav,
  #blog .blog-nav,
  #events .events-nav {
    display: none !important;
  }

  #media .youtube-card-grid {
    grid-template-columns: 1fr !important;
  }

  #media .youtube-card-thumb--mobile-hidden {
    display: none !important;
  }
}

/* =========================================================================
   Service detail readability refresh
   Keep every service page on one navigation and heading system. The previous
   centered link cloud had small hit areas and no clear reading order.
   ========================================================================= */
:is(.rw-page, .oc-page, .wpp-page, .wbpo-page) {
  --service-nav-bg: #f7f6f4;
  --service-nav-card: #fff;
  --service-nav-border: #e5e2dd;
  --service-heading-bg: #fff3ed;
  --service-text-muted: #5f5a56;
}

/* Page contents navigation */
:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) {
  width: 100vw;
  max-width: none;
  margin: 0 0 20px calc(50% - 50vw);
  padding: 44px 40px 48px;
  border-top: 1px solid #efede9;
  border-bottom: 1px solid #efede9;
  background: var(--service-nav-bg);
  box-sizing: border-box;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__title, .oc-toc__title, .wpp-toc__title),
.wbpo-anchor-nav__title {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 22px;
  padding: 0;
  background: transparent;
  color: #1b1a1a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .02em;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__title, .oc-toc__title, .wpp-toc__title)::before,
.wbpo-anchor-nav__title::before {
  content: '';
  width: 5px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: var(--service-detail-orange, var(--wbpo-orange));
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__grid, .oc-toc__grid, .wpp-toc__list) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  counter-reset: service-toc;
}

.wbpo-anchor-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  padding: 44px max(40px, calc((100vw - 1180px) / 2)) 48px;
  border-top: 1px solid #efede9;
  border-bottom: 1px solid #efede9;
  background: var(--service-nav-bg);
  counter-reset: service-toc;
}

.wbpo-anchor-nav__title {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.wpp-page .wpp-toc__list li {
  display: contents;
  padding: 0;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a,
.wbpo-anchor-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 11px;
  width: 100%;
  max-width: none;
  min-height: 78px;
  padding: 14px 15px;
  border: 1px solid var(--service-nav-border);
  border-radius: 10px;
  background: var(--service-nav-card);
  box-shadow: 0 1px 2px rgba(37, 31, 27, .04);
  box-sizing: border-box;
  color: #272422;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  text-decoration: none;
  counter-increment: service-toc;
  transition:
    transform 160ms cubic-bezier(.23, 1, .32, 1),
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a::before,
.wbpo-anchor-nav a::before {
  content: counter(service-toc, decimal-leading-zero);
  position: static;
  inset: auto;
  transform: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--service-heading-bg);
  color: var(--service-detail-orange, var(--wbpo-orange));
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a::after,
.wbpo-anchor-nav a::after {
  content: '';
  position: static;
  width: 7px;
  height: 7px;
  border: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: .55;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a:focus-visible,
.wbpo-anchor-nav a:focus-visible,
.service-detail-shell .service-anchor-nav a:focus-visible {
  outline: 3px solid rgba(253, 107, 50, .28);
  outline-offset: 2px;
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a:is(.is-current, [aria-current="location"]),
.wbpo-anchor-nav a:is(.is-current, [aria-current="location"]) {
  border-color: var(--service-detail-orange, var(--wbpo-orange));
  background: #fffaf7;
  color: #1b1a1a;
  box-shadow: inset 0 0 0 1px var(--service-detail-orange, var(--wbpo-orange));
}

@media (hover: hover) and (pointer: fine) {
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a:hover,
  .wbpo-anchor-nav a:hover {
    transform: translateY(-2px);
    border-color: var(--service-detail-orange, var(--wbpo-orange));
    color: #1b1a1a;
    box-shadow: 0 8px 22px rgba(78, 50, 35, .09);
  }
}

:is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a:active,
.wbpo-anchor-nav a:active {
  transform: scale(.985);
}

/* Content rhythm and section hierarchy */
:is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-section, .oc-section, .wpp-section, .wbpo-section) {
  padding-top: clamp(54px, 6vw, 76px);
  padding-bottom: clamp(18px, 2.5vw, 32px);
  scroll-margin-top: 104px;
}

:is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-h2, .oc-h2, .wpp-h2, .wbpo-h2) {
  margin: 0 0 30px;
  padding: 18px 22px;
  border-left: 6px solid var(--service-detail-orange, var(--wbpo-orange));
  border-radius: 0 8px 8px 0;
  background: var(--service-heading-bg);
  color: #272422;
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .01em;
}

:is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-lead, .oc-lead, .wpp-lead, .wbpo-lead) {
  color: #393532;
  font-size: 16px;
  line-height: 2;
}

/* The generic service template uses a sticky side navigation. Give it the
   same title, active state and scan-friendly heading treatment. */
.service-detail-shell .service-anchor-nav::before {
  content: 'このページの内容';
  display: block;
  margin: 0 0 8px;
  padding: 0 0 12px;
  border-bottom: 1px solid #ece9e5;
  color: #272422;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.service-detail-shell .service-anchor-nav a {
  border-radius: 6px;
  color: #4b4642;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1);
}

.service-detail-shell .service-anchor-nav a:is(.is-current, [aria-current="location"]) {
  padding-left: 10px;
  background: #fff3ed;
  color: #b94317;
}

.service-detail-shell .service-section > h2 {
  padding: 18px 22px;
  border-left: 6px solid #fd6b32;
  border-radius: 0 8px 8px 0;
  background: #fff3ed;
  color: #272422;
}

@media (max-width: 1100px) {
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__grid, .oc-toc__grid, .wpp-toc__list),
  .wbpo-anchor-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) {
    padding: 32px 24px 36px;
  }

  .wbpo-anchor-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 32px 24px 36px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__grid, .oc-toc__grid, .wpp-toc__list) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) {
    margin-bottom: 4px;
    padding: 28px 20px 32px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__title, .oc-toc__title, .wpp-toc__title),
  .wbpo-anchor-nav__title {
    margin-bottom: 17px;
    font-size: 16px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc__grid, .oc-toc__grid, .wpp-toc__list),
  .wbpo-anchor-nav {
    grid-template-columns: 1fr;
  }

  .wbpo-anchor-nav {
    padding: 28px 20px 32px;
  }

  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a,
  .wbpo-anchor-nav a {
    min-height: 64px;
    padding: 11px 14px;
    font-size: 13px;
  }

  :is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-h2, .oc-h2, .wpp-h2, .wbpo-h2),
  .service-detail-shell .service-section > h2 {
    margin-bottom: 24px;
    padding: 14px 15px;
    border-left-width: 5px;
    font-size: 18px;
    line-height: 1.6;
  }

  :is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-lead, .oc-lead, .wpp-lead, .wbpo-lead) {
    font-size: 14px;
    line-height: 1.95;
  }

  .service-detail-shell .service-anchor-nav::before {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.rw-page, .oc-page, .wpp-page) :is(.rw-toc, .oc-toc, .wpp-toc) a,
  .wbpo-anchor-nav a,
  .service-detail-shell .service-anchor-nav a {
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  }
}

/* ===== TOPメンバー: 添付カンプに合わせた密度・余白の最終調整 ===== */
#member .role-br {
  display: block !important;
}

/* 代表カードだけ会社名を復帰し、カンプと同じ会社名→役職→氏名の順で見せる。 */
#member .member-card:first-child .member-company {
  display: block !important;
  margin: 0 0 4px !important;
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  white-space: nowrap;
}

#member .member-card:first-child .member-role {
  margin-bottom: 5px !important;
}

@media (min-width: 1101px) {
  #member {
    background: #ffffff !important;
  }

  #member::before {
    display: none !important;
  }

  #member .member-header {
    margin-bottom: 32px !important;
  }

  #member .member-intro {
    max-width: 1078px !important;
    margin-bottom: 54px !important;
  }

  #member .member-grid {
    grid-template-columns: 314px repeat(3, 234px) !important;
    grid-template-rows: repeat(2, 298px) !important;
    gap: 24px 20px !important;
    max-width: 1076px !important;
  }

  #member .member-card,
  #member .member-card:first-child {
    overflow: hidden !important;
    border-radius: 18px !important;
  }

  #member .member-card:first-child {
    height: 100% !important;
    min-height: 0 !important;
  }

  #member .member-card:not(:first-child) .member-card-body {
    flex: 0 0 90px !important;
    padding: 13px 18px 16px !important;
  }

  #member .member-card:not(:first-child) .member-photo--card {
    flex: 0 0 196px !important;
    height: 196px !important;
    aspect-ratio: auto !important;
  }

  #member .member-card:not(:first-child) .member-photo--cutout {
    flex: 0 0 196px !important;
    height: 196px !important;
    aspect-ratio: auto !important;
  }

  #member .member-card:not(:first-child) .member-photo--figma {
    flex: 0 0 208px !important;
    height: 208px !important;
    aspect-ratio: auto !important;
  }

  /* 代表カードの余白は内容量に合わせ、残りを写真へ配分する。 */
  #member .member-card:first-child .member-photo--card {
    flex: 1 1 auto !important;
    height: auto !important;
  }

  #member .member-card:first-child .member-photo--cutout {
    flex: 1 1 auto !important;
    height: auto !important;
  }

  #member .member-card:first-child .member-photo--figma {
    flex: 1 1 auto !important;
    height: auto !important;
  }

  #member .member-card:first-child .member-card-body {
    flex: 0 0 190px !important;
    padding: 38px 34px 28px !important;
  }

  #member .member-card:first-child .member-company {
    font-size: 15px !important;
  }

  #member .member-card:first-child .member-role {
    font-size: 15px !important;
  }

  #member .member-card:first-child .member-name::after {
    content: none !important;
  }

  #member .member-cta {
    margin-top: 46px !important;
  }

  #member .member-cta .cv-btn-large {
    width: 360px !important;
    height: 80px !important;
  }

  #member .role-br {
    display: none !important;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  #member .member-grid {
    grid-template-columns: minmax(0, 1.343fr) repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    gap: clamp(14px, 2vw, 20px) clamp(12px, 1.8vw, 18px) !important;
    max-width: 953px !important;
  }

  #member .member-card:first-child { grid-column: 1 !important; grid-row: 1 / span 2 !important; }
  #member .member-card:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
  #member .member-card:nth-child(3) { grid-column: 3 !important; grid-row: 1 !important; }
  #member .member-card:nth-child(4) { grid-column: 4 !important; grid-row: 1 !important; }
  #member .member-card:nth-child(5) { grid-column: 2 !important; grid-row: 2 !important; }
  #member .member-card:nth-child(6) { grid-column: 3 !important; grid-row: 2 !important; }
  #member .member-card:nth-child(7) { grid-column: 4 !important; grid-row: 2 !important; }

  #member .member-card,
  #member .member-card:first-child {
    overflow: hidden !important;
    border-radius: 12px !important;
  }

  #member .member-card:first-child {
    height: 100% !important;
    min-height: 0 !important;
  }

  #member .member-card:not(:first-child) .member-card-body {
    flex: 0 0 80px !important;
    min-height: 80px !important;
    padding: 12px clamp(12px, 1.8vw, 15px) 14px !important;
  }

  #member .member-card:not(:first-child) .member-photo--card {
    height: auto !important;
    aspect-ratio: 207 / 196 !important;
  }

  #member .member-card:not(:first-child) .member-photo--cutout {
    height: auto !important;
    aspect-ratio: 207 / 196 !important;
  }

  #member .member-card:not(:first-child) .member-photo--figma {
    height: auto !important;
    aspect-ratio: 207 / 196 !important;
  }

  #member .member-card:first-child .member-card-body {
    flex: 0 0 clamp(118px, 13vw, 138px) !important;
    min-height: 0 !important;
    padding: clamp(14px, 2vw, 18px) clamp(14px, 2.4vw, 24px) !important;
  }

  #member .role-br {
    display: none !important;
  }
}

/* 透過切り抜きを枠内に収め、頭上を残しながら肩下まで見せる。 */
#member .member-photo--cutout {
  overflow: hidden !important;
}

#member .member-photo--cutout img,
#member .member-card:first-child .member-photo--cutout img {
  position: absolute !important;
  z-index: 1 !important;
  top: auto !important;
  right: 50% !important;
  bottom: 0 !important;
  left: auto !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  transform: translateX(50%) scale(1.15) !important;
  transform-origin: center bottom !important;
}

#member .member-card:first-child .member-photo--cutout img {
  transform: translateX(50%) scale(0.96) !important;
}

#member .member-card--iida-yusuke .member-photo--cutout img {
  transform: translateX(50%) scale(1.15) scaleX(-1) !important;
}

/* Figma書き出し済み画像は人物・装飾・枠・影を加工せず表示する。 */
#member .member-card--figma {
  background: transparent !important;
}

#member .member-photo--figma {
  position: relative;
  overflow: hidden !important;
  background-color: transparent !important;
  background-image: none !important;
}

#member .member-photo--figma img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center top !important;
  transform: none !important;
}

/* 今回支給された透過余白済み画像は、各人物の実表示領域をカード幅へ合わせる。 */
#member .member-card:not(:first-child) .member-photo--figma img {
  inset: auto !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  width: var(--member-figma-width, 100%) !important;
  max-width: none !important;
  height: auto !important;
  object-fit: fill !important;
  transform: translateX(-50%) !important;
}

/* カンプ実測値。全員をカード幅比 100〜106% に揃え、顔の大きさを均一にする。 */
#member .member-card--yabe-kunito { --member-figma-width: 102%; }
#member .member-card--kinoshita-yota { --member-figma-width: 106%; }
#member .member-card--shizuka-rie { --member-figma-width: 101%; }
#member .member-card--iida-yusuke { --member-figma-width: 100%; }
#member .member-card--kodaira-tatsuya { --member-figma-width: 100%; }

/* 透過済み人物の背面に、完成カンプと同じ色面・装飾を敷く（色はカンプ実測値）。
   .member-grid を挟んで詳細度を上げ、641-1100px 帯の旧装飾ルールより後勝ちさせる。 */
#member .member-grid .member-card--mogi-yuya .member-photo--figma {
  background-color: #fee5e0 !important;
  background-image:
    radial-gradient(ellipse 31% 98% at 0% 113%, #fb7635 0 99.5%, transparent 100%) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}

#member .member-grid .member-card--yabe-kunito .member-photo--figma {
  background-color: #fef2e2 !important;
  background-image:
    radial-gradient(ellipse 80% 78% at 142% 80%, #fdd580 0 99.5%, transparent 100%) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}

#member .member-grid .member-card--iida-yusuke .member-photo--figma {
  background-color: #fef2e2 !important;
  background-image:
    radial-gradient(ellipse 69% 134% at 118% 157%, #fdd580 0 99.5%, transparent 100%) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}

#member .member-grid .member-card--kinoshita-yota .member-photo--figma {
  background-color: #fef2e2 !important;
  background-image:
    radial-gradient(circle, #f2d391 0 3.7px, transparent 4.2px) !important;
  background-size: 22px 22px !important;
  background-repeat: repeat !important;
}

#member .member-grid .member-card--shizuka-rie .member-photo--figma,
#member .member-grid .member-card--kodaira-tatsuya .member-photo--figma {
  background-color: #fdeaec !important;
  background-image:
    radial-gradient(circle, #fdc7c7 0 3.7px, transparent 4.2px) !important;
  background-size: 24px 24px !important;
  background-repeat: repeat !important;
}

@media (hover: hover) and (pointer: fine) {
  #member .member-card-link {
    transition: opacity 160ms ease !important;
  }

  #member .member-card-link:hover {
    opacity: 0.96 !important;
    transform: none !important;
  }
}

/* 茂木さんの書き出しだけ影の透明領域が広いため、実カード領域を基準に収める。 */
#member .member-card:first-child .member-photo--figma img {
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: -2% !important;
  width: 130% !important;
  max-width: none !important;
  height: auto !important;
  object-fit: fill !important;
}

@media (max-width: 640px) {
  #member .member-card:first-child {
    height: 224px !important;
  }

  #member .member-card:first-child .member-photo--card,
  #member .member-card:first-child .member-photo--cutout,
  #member .member-card:first-child .member-photo--figma {
    flex: 0 0 154px !important;
    height: 154px !important;
  }

  /* モバイルは写真枠が縦長なので高さ基準で敷き詰め、
     各書き出しの縦横比の差を打ち消す係数で顔の大きさを揃える。 */
  #member .member-card:not(:first-child) .member-photo--figma img {
    top: 0 !important;
    width: auto !important;
    height: 100% !important;
    transform: translateX(-50%) scale(var(--member-figma-mobile-scale, 1)) !important;
    transform-origin: center top !important;
  }

  #member .member-card--yabe-kunito { --member-figma-mobile-scale: 1.07; }
  #member .member-card--kinoshita-yota { --member-figma-mobile-scale: 1.07; }
  #member .member-card--shizuka-rie { --member-figma-mobile-scale: 1.02; }
  #member .member-card--iida-yusuke { --member-figma-mobile-scale: 1.19; }
  #member .member-card--kodaira-tatsuya { --member-figma-mobile-scale: 1.03; }

  #member .member-photo--cutout img,
  #member .member-card:first-child .member-photo--cutout img {
    object-fit: cover !important;
    transform: translateX(50%) scale(0.96) !important;
  }

  #member .member-card--iida-yusuke .member-photo--cutout img {
    transform: translateX(50%) scale(0.96) scaleX(-1) !important;
  }

  #member .member-card:first-child .member-card-body {
    flex: 0 0 70px !important;
    min-height: 70px !important;
    padding: 7px 8px 8px !important;
  }

  #member .member-card:first-child .member-company,
  #member .member-card:first-child .member-role {
    margin-bottom: 2px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
  }
}

/* ===== TOP ご支援事例: PCの送りボタンをカード列の外側へ配置 ===== */
@media (min-width: 901px) {
  #works .works-slider,
  #blog .blog-slider,
  #events .events-slider {
    position: relative;
    overflow: visible;
  }

  #works .works-cta,
  #blog .blog-cta,
  #events .events-cta {
    margin-top: 24px;
  }

  #works .works-nav,
  #blog .blog-nav,
  #events .events-nav {
    position: absolute;
    top: 100px;
    right: -68px;
    bottom: auto;
    left: -68px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    pointer-events: none;
  }

  #works .works-nav .nav-btn,
  #blog .blog-nav .nav-btn,
  #events .events-nav .nav-btn {
    pointer-events: auto;
    transition: opacity 160ms ease-out, transform 160ms ease-out;
  }

  #works .works-nav .nav-btn:active,
  #blog .blog-nav .nav-btn:active,
  #events .events-nav .nav-btn:active {
    transform: scale(0.97);
  }
}

/* =========================================================================
   TOP FV: 3人チーム写真を全幅で共通利用
   人物タイル・マスコット・矢印を廃止し、コピー / Zoom実績 / チーム写真の
   3要素へ整理する。人物群を1枚の比率可変画像にすることで帯域間の崩れを防ぐ。
   ========================================================================= */
#hero .hero-trust-badge,
#hero .hero-team-photo {
  display: block;
  height: auto;
}

#hero .hero-trust-badge {
  position: absolute;
  z-index: 6;
  pointer-events: none;
}

#hero .hero-pointing-person {
  position: absolute;
  z-index: 5;
  display: block;
  height: auto;
  pointer-events: none;
}

#hero .hero-guidance-arrow {
  display: none;
}

#hero .hero-team-photo {
  width: 100%;
  max-width: none;
}

#hero .hero-consult-wrap {
  position: relative;
  display: inline-flex;
}

@media (min-width: 1041px) {
  #hero .hero-bg-col--right {
    display: flex !important;
    left: 1210px !important;
    top: -36px !important;
  }
}

@media (max-width: 1040px) {
  #hero .hero-bg-col--right {
    display: none !important;
  }
}

@media (min-width: 1041px) {
  #hero .hero-inner {
    grid-template-columns: minmax(0, 51.5%) minmax(0, 45.5%) !important;
    align-items: end !important;
    width: min(1167px, 100% - 8%) !important;
    overflow: visible;
  }

  #hero .hero-visual {
    position: relative !important;
    display: flex !important;
    align-items: flex-end;
    align-self: stretch;
    width: 100% !important;
    height: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    inset: auto !important;
    transform: none !important;
    z-index: 3;
  }

  #hero .hero-team-photo {
    align-self: flex-end;
    width: min(100%, 490px);
    margin-left: auto;
    object-fit: contain;
    object-position: right bottom;
    /* hero-inner の下パディング分だけ下げ、人物の裾を背景の下端へ合わせる。 */
    transform: translateY(clamp(14px, 1.25vw, 18px));
  }

  #hero .hero-trust-badge {
    left: 82%;
    top: auto;
    bottom: calc(100% + clamp(4px, 0.7vw, 10px));
    width: clamp(86px, 9.3vw, 134px);
    transform: translateX(-50%);
  }

  #hero .hero-pointing-person {
    left: 20%;
    bottom: calc(100% - 1px);
    width: clamp(112px, 11.1vw, 160px);
    transform: translateX(-50%);
  }

  #hero .hero-tiles,
  #hero .hero-figure,
  #hero .hero-mascot,
  #hero .hero-arrow,
  #hero .hero-zoom-badge,
  #hero .hero-mobile-group,
  #hero .hero-mobile-standing,
  #hero .hero-mobile-zoom {
    display: none !important;
  }
}

@media (min-width: 641px) and (max-width: 1040px) {
  #hero .hero-team-photo,
  #hero .hero-consult-wrap > .hero-trust-badge,
  #hero .hero-pointing-person {
    display: none !important;
  }

  #hero .hero-tiles {
    display: grid !important;
  }

  #hero .hero-figure {
    display: block !important;
  }
}

@media (max-width: 640px) {
  #hero .hero-visual {
    display: none !important;
  }

  #hero .hero-consult-wrap .hero-trust-badge {
    display: none !important;
  }

  #hero .hero-pointing-person {
    display: none !important;
  }

  #hero .hero-mobile-group,
  #hero .hero-mobile-zoom {
    display: block !important;
  }

  #hero .hero-mobile-standing,
  #hero .hero-tiles,
  #hero .hero-figure,
  #hero .hero-mascot,
  #hero .hero-arrow,
  #hero .hero-zoom-badge {
    display: none !important;
  }
}

/* ===== TOP FV: MV.png に対する最終座標合わせ（PCのみ・最終上書き） ===== */
@media (min-width: 1200px) {
  #hero .hero-text {
    transform: translateY(-21px) !important;
  }

  #hero .hero-cta {
    margin-top: 3px !important;
    gap: 22px !important;
  }

  #hero .hero-cta > .btn-hero-primary:first-child {
    width: 326px !important;
    min-width: 326px !important;
  }

  #hero .hero-consult-wrap,
  #hero .hero-consult-wrap .btn-hero-primary {
    width: 268px !important;
    min-width: 268px !important;
  }

  #hero .hero-visual {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    pointer-events: none;
  }

  #hero .hero-team-photo {
    position: absolute !important;
    top: 14px !important;
    right: auto !important;
    bottom: auto !important;
    left: 58.91% !important;
    width: 46.62% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }

  #hero .hero-pointing-person {
    left: 54.7% !important;
    bottom: calc(100% - 28px) !important;
    width: 218px !important;
  }

  #hero .hero-trust-badge {
    left: 87.5% !important;
    bottom: calc(100% + 141px) !important;
    width: 130px !important;
  }

  /* グローは人物画像より後ろへ。右下の肌・白枠に橙色が乗らないようにする。 */
  #hero::after {
    z-index: 0 !important;
  }

  #hero .hero-inner {
    z-index: 1 !important;
  }

  /* 人物の裾はボタンの後ろへ潜らせ、ボタンの輪郭と文字を常に前面に保つ。 */
  #hero .hero-consult-wrap .btn-hero-primary {
    position: relative !important;
    z-index: 7 !important;
  }

  /* 矢印はコピー3行の右側にできる余白（1行目の下・2/3行目の右）へ収める。
     comp（pc_top_デザイン (8).pdf を1440px相当で実測）の描画実寸 73x50px、
     3行目右端から+16px、CTA上端との間隔を基準に .hero-text 基準の実測pxで固定。 */
  #hero .hero-guidance-arrow {
    position: absolute !important;
    z-index: 4 !important;
    display: block !important;
    top: auto !important;
    bottom: 78px !important;
    left: 300px !important;
    width: 86px !important;
    height: auto !important;
    pointer-events: none;
  }
}

@media (min-width: 1041px) and (max-width: 1199px) {
  #hero .hero-guidance-arrow {
    position: absolute !important;
    z-index: 4 !important;
    display: block !important;
    top: 72% !important;
    bottom: auto !important;
    left: 250px !important;
    width: 80px !important;
    height: auto !important;
    pointer-events: none;
  }
}

/* ===== header.pdf（1440×79）基準。タブレット・モバイルは従来どおり ===== */
@media (min-width: 1200px) {
  #site-header {
    height: 79px !important;
    padding: 0 59px 0 50px !important;
  }

  #site-header .site-logo,
  #site-header .site-logo img {
    width: 202px !important;
    height: auto !important;
  }

  #site-header .header-nav {
    flex: 0 0 878px !important;
    width: 878px !important;
    gap: 24px !important;
    transform: translateY(1px) !important;
  }

  #site-header .nav-menu {
    flex: 0 0 505px !important;
    width: 505px !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }

  #site-header .header-cta {
    flex: 0 0 349px !important;
    width: 349px !important;
    gap: 13px !important;
  }

  #site-header .header-cta .cv-btn {
    height: 45px !important;
  }

  #site-header .header-cta .cv-btn:first-child {
    width: 184px !important;
  }

  #site-header .header-cta .cv-btn:last-child {
    width: 152px !important;
  }

  #site-header .header-cta .cv-btn span {
    font-size: 15px !important;
  }
}

/* =========================================================================
   FV (3).pdf 準拠：スマホFVの最終座標合わせ（末尾＝最終上書き）
   comp実測(375px幅・#hero基準の相対座標):
     サブ見出し top≈66 / 「ウェビナーの」top≈124 / 「プロ集団」top≈155-183
     説明文 top≈197（12px・2行）/ FV下端(スライダー上端)≈246
     3人写真: left≈166.5 / top≈62 / width≈252（右へ約43px裁ち落とし）
     Zoomバッジ: left≈140 / top≈155 / width≈37（「プロ集団」の右横・行の高さに合わせる）
   ========================================================================= */
@media (max-width: 640px) {
  /* --- 3人写真：compと同じ大きさ(≈67vw)・同じ裁ち落とし比率(幅の17.26%が画面外) ---
     3項目のmin():
       260px … 高さの上限。写真下端 = 62 + 幅*0.711 ≦ 247px となり、
               動いているサムネ帯(上端264px)との間に必ず17px以上あける。
       67.2vw … comp比率(375で252px)。
       (100vw-194px)*1.286 … 人物の左端を説明文1行目の右端(184px)より
               10px以上外側に保つ安全弁。PNGの不透明左端は説明文の高さで
               画像幅の4.98%の位置(実測)なので、左端 = 100vw - 0.7776*幅。
               375pxでは幅233px（compの252pxよりわずかに小さい）となり、
               「プロ」やZoomバッジに腕が被らない。
     ※第1項の260pxはファイル末尾「装飾の比例スケール＋アンカー化」ブロックで
       制約式（サムネ帯上端 − クリアランス − 写真上端）/0.711 に置き換え済み。
       クリアランス自体も max(17px, 4.53vw) と幅比例になっている。 */
  #hero .hero-mobile-group {
    --fv-photo-w: min(260px, 67.2vw, calc((100vw - 194px) * 1.286));
    display: block !important;
    position: absolute !important;
    top: 62px !important;
    right: calc(var(--fv-photo-w) * -0.1726) !important;
    left: auto !important;
    bottom: auto !important;
    width: var(--fv-photo-w) !important;
    max-width: none !important;
    height: auto !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  /* --- Zoomバッジ：comp同様「プロ集団」の右横・その行の高さに収める。
         (旧値 top:132 は「ウェビナーの」の行に重なり見出しを潰していた)
         ※ここの固定px(144/154/30)はファイル末尾「装飾の比例スケール＋アンカー化」
           ブロックで「プロ集団」の字面基準（left:100% + em）へ置き換え済み。
           実測値の記録としてこのブロックは残す。 --- */
  #hero .hero-mobile-zoom {
    display: block !important;
    position: absolute !important;
    left: 144px !important;
    right: auto !important;
    top: 154px !important;
    width: 30px !important;
    height: auto !important;
    z-index: 3 !important;
    pointer-events: none !important;
  }

  /* --- サブ見出し：comp実測≈16px（17pxだと「商談創出！」が写真の頭に触れる） --- */
  #hero .hero-sub.hero-sub--mobile {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  /* --- 説明文：comp実測≈11.5px / 行送り1.3。
         1行目「少数精鋭のウェビナーのプロ」の右端≈177pxで、写真の腕(≈192px)に触れない --- */
  #hero .hero-text .hero-desc--mobile {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
  }

  /* --- 見出し「プロ集団」下端〜説明文の間隔：comp実測≈14px（従来27pxで空きすぎ） --- */
  #hero .hero-headline {
    margin-bottom: 9px !important;
  }

  /* --- 左のドット装飾：compは3列ぶん。5列だと「プロ集団」の文字に被って崩れて見える --- */
  #hero::after {
    left: 5px !important;
    top: 156px !important;
    width: 42px !important;
    height: 40px !important;
  }

  /* --- 説明文下のドットはcompに存在しない（スライダー直上に浮いて崩れて見える）ため非表示 --- */
  #hero .hero-desc--mobile::after {
    display: none !important;
  }
}

/* --- comp下部：ドット装飾はCTAボタンの左横（画面左端〜約42px）に置かれる --- */
@media (max-width: 640px) {
  .mobile-hero-download::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 50px;
    background-image: radial-gradient(circle, rgba(255, 108, 56, 0.26) 1.4px, transparent 1.7px);
    background-size: 12px 12px;
    z-index: 0;
    pointer-events: none;
  }
}

/* =========================================================================
   PC: FV背景の装飾サムネイルは「全体」ではなく人物画像の手前までで止める
   （2026-08-30 ユーザー指示）。右端まで敷くと写真まわりがうるさくなるため、
   テキスト側は従来どおり見せつつ、写真グループ(左端≈824px @1440)の手前で
   マスクでフェードアウトさせる。最右列(hero-bg-col--right)は写真の背後〜右外に
   出るため非表示にする。
   ========================================================================= */
@media (min-width: 901px) {
  #hero .hero-bg-decor {
    -webkit-mask-image: linear-gradient(to right, #000 0 54%, rgba(0, 0, 0, 0) 61%);
    mask-image: linear-gradient(to right, #000 0 54%, rgba(0, 0, 0, 0) 61%);
  }

  #hero .hero-bg-col--right {
    display: none !important;
  }
}

/* ===== BPO：ページ内目次をミニマル型に刷新 =====
   カード＋番号バッジ型から、テキスト＋丸シェブロン＋下線のシンプルなリストへ。
   直前の共通TOC定義（.rw-toc / .oc-toc と共有）を .wbpo-anchor-nav だけ後勝ちで打ち消す。 */
.wbpo-anchor-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px 42px;
  width: min(960px, 100% - 80px);
  margin: 40px auto 8px;
  padding: 0;
  border: 0;
  background: transparent;
  counter-reset: none;
}

.wbpo-anchor-nav__title {
  display: none;
}

.wbpo-anchor-nav a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto;
  text-align: left;
  min-height: 0;
  padding: 10px 2px 12px;
  border: 0;
  border-bottom: 1px solid #d8d5d1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #272422;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  counter-increment: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.wbpo-anchor-nav a::before {
  content: none;
}

.wbpo-anchor-nav a::after {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid #c9c5c1;
  border-radius: 50%;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 4.6 6 8l3.4-3.4' fill='none' stroke='%23767068' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
  transform: none;
  opacity: 1;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.wbpo-anchor-nav a:is(.is-current, [aria-current="location"]) {
  border-bottom-color: var(--wbpo-orange);
  background: transparent;
  box-shadow: none;
  color: var(--wbpo-orange);
}

.wbpo-anchor-nav a:active {
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .wbpo-anchor-nav a:hover {
    transform: none;
    border-bottom-color: var(--wbpo-orange);
    background: transparent;
    box-shadow: none;
    color: var(--wbpo-orange);
  }

  .wbpo-anchor-nav a:hover::after {
    border-color: var(--wbpo-orange);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 4.6 6 8l3.4-3.4' fill='none' stroke='%23fd6b32' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

@media (max-width: 900px) {
  .wbpo-anchor-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 32px;
    width: min(960px, 100% - 56px);
    margin-top: 32px;
  }
}

@media (max-width: 640px) {
  .wbpo-anchor-nav {
    grid-template-columns: 1fr;
    gap: 0;
    width: calc(100% - 48px);
    margin-top: 26px;
  }

  .wbpo-anchor-nav a {
    padding: 13px 2px;
    font-size: 13.5px;
  }
}

/* =========================================================
   下層ページ 見出し統一（基準：ご支援事例ページ archive-works.php）
   棒＝画面左端から 184×4px ／ 和文 48px・900 ／ 欧文 34px・900 オレンジ
   ========================================================= */
.member-archive-hero .section-heading,
.service-archive-hero .section-heading,
.static-company-page .static-page-hero .section-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0 0 0 212px;
  gap: 8px;
}

.member-archive-hero .section-heading::before,
.service-archive-hero .section-heading::before,
.static-company-page .static-page-hero .section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  width: 184px;
  height: 4px;
  background: var(--color-black);
}

.member-archive-hero .section-heading .ja-title,
.service-archive-hero .section-heading .ja-title,
.static-company-page .static-page-hero .section-heading .ja-title {
  order: 1;
  font-family: 'M PLUS 1p', var(--font-ja);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--color-black);
}

.member-archive-hero .section-heading .en-title,
.service-archive-hero .section-heading .en-title,
.static-company-page .static-page-hero .section-heading .en-title {
  order: 2;
  font-family: 'M PLUS 1p', var(--font-ja);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 0;
  color: #ff6b32;
  text-transform: uppercase;
}

/* セクション側の余白（棒を画面左端から始めるため左右パディングは持たせない） */
.member-archive-hero {
  padding-top: 96px;
}

.member-archive-hero .section-heading {
  margin-bottom: 56px;
}

.service-archive-hero {
  padding: 96px 0 56px;
}

.static-company-page .static-page-hero {
  max-width: none;
  margin: 0;
  padding: 96px 0 56px;
}

@media (max-width: 1200px) {
  .member-archive-hero .section-heading {
    margin-left: 40px;
  }

  .service-archive-hero,
  .static-company-page .static-page-hero {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 900px) {
  .member-archive-hero .section-heading {
    margin-left: 24px;
    margin-bottom: 32px;
  }

  .service-archive-hero,
  .static-company-page .static-page-hero {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* 640px以下は事例ページと同じく中央見出し（棒なし） */
@media (max-width: 640px) {
  .member-archive-hero .section-heading,
  .service-archive-hero .section-heading,
  .static-company-page .static-page-hero .section-heading {
    padding-left: 0;
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .member-archive-hero .section-heading::before,
  .service-archive-hero .section-heading::before,
  .static-company-page .static-page-hero .section-heading::before {
    display: none;
  }

  .member-archive-hero .section-heading .ja-title,
  .service-archive-hero .section-heading .ja-title,
  .static-company-page .static-page-hero .section-heading .ja-title {
    font-size: 32px;
  }

  .member-archive-hero .section-heading .en-title,
  .service-archive-hero .section-heading .en-title,
  .static-company-page .static-page-hero .section-heading .en-title {
    font-size: 22px;
  }

  .member-archive-hero {
    padding-top: 72px;
  }

  .service-archive-hero,
  .static-company-page .static-page-hero {
    padding-top: 72px;
    padding-bottom: 36px;
  }
}

/* =========================================================================
   モバイルFV下の余白ガード（2026-08-30）
   #logo-marquee は margin-top:-124px でFV下端に食い込ませる前提のため、
   ロゴ画像が無い等でセクションごと出力されないと、FV固定高さぶんの
   白い余白がCTAボタンの上に残る。マーキーが無い場合は同じ量だけ
   CTAブロックを引き上げて余白を消す。
   ========================================================================= */
@media (max-width: 900px) {
  #hero + .mobile-hero-download {
    margin-top: -124px;
  }
}

/* =========================================================================
   サービス詳細ページ 目次（3列×2段のアンカーナビ）
   カンプ準拠：見出し帯なし・6項目に集約・下線＋丸チェブロン
   ========================================================================= */
.svc-toc {
  --svc-toc-accent: var(--service-detail-orange, #fd6b32);
  margin: clamp(30px, 4vw, 56px) auto clamp(34px, 4.6vw, 64px);
  max-width: 1180px;
}

.svc-toc__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: min(44px, 4%);
  row-gap: clamp(12px, 1.6vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-toc__list > li {
  display: flex;
  margin: 0;
  padding: 0;
}

.svc-toc__list > li::before,
.svc-toc__list > li::after {
  content: none;
}

.svc-toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 12px 13px 2px;
  border: 0;
  border-bottom: 1px solid #cfcbc8;
  border-radius: 0;
  background: none;
  box-shadow: none;
  box-sizing: border-box;
  color: #1b1a1a;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.svc-toc a::before,
.svc-toc a::after {
  content: none;
}

.svc-toc__icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1.2px solid currentColor;
  border-radius: 50%;
  opacity: .85;
  transition: transform 160ms ease, opacity 160ms ease;
}

.svc-toc__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: translate(-50%, -72%) rotate(45deg);
}

.svc-toc a:is(.is-current, [aria-current="location"]) {
  color: var(--svc-toc-accent);
  border-bottom-color: var(--svc-toc-accent);
}

.svc-toc a:is(.is-current, [aria-current="location"]) .svc-toc__icon {
  opacity: 1;
}

.svc-toc a:focus-visible {
  outline: 3px solid rgba(253, 107, 50, .28);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .svc-toc a:hover {
    color: var(--svc-toc-accent);
    border-bottom-color: var(--svc-toc-accent);
  }

  .svc-toc a:hover .svc-toc__icon {
    opacity: 1;
    transform: translateY(2px);
  }
}

@media (max-width: 900px) {
  .svc-toc a {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .svc-toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }
}

@media (max-width: 480px) {
  .svc-toc__list {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .svc-toc a {
    min-height: 50px;
    font-size: 14.5px;
  }
}

/* =========================================================================
   #services サービスカード: 「詳しく見る」ボタンを画像直下に固定ギャップで置く
   （2026-08-30）
   従来はカード内グリッドの row4 に置いていたため、本文(.service-desc)の行数で
   「画像下端 → ボタン上端」の距離がカードごとにバラついていた。
   .service-image と .text-link を .service-side でまとめて縦フレックスにし、
   画像からの距離を全カードで clamp(8px, 0.7vw, 10px) に固定する。
   ≤640px はスマホコンプの既存レイアウト（画像=右上 / ボタン=本文下・中央）を
   維持するため、ラッパーを display:contents で透過させて従来の配置を活かす。
   ========================================================================= */
@media (min-width: 641px) {
  #services .services-grid > .service-item .service-side {
    grid-area: auto !important;
    grid-column: 2 !important;
    grid-row: 2 / span 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    align-self: start !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #services .services-grid > .service-item .service-side .service-image {
    width: 100% !important;
    align-self: stretch !important;
    flex: 0 0 auto !important;
  }

  #services .services-grid > .service-item .service-side .text-link {
    position: static !important;
    align-self: flex-end !important;
    flex: 0 0 auto !important;
    margin: clamp(8px, 0.7vw, 10px) 0 0 !important;
    /* ボタンがサムネ列より広くなると左隣の本文に被るため、
       min-width の clamp をサムネ列幅(100%)で頭打ちにする */
    min-width: min(clamp(120px, 12.4vw, 179px), 100%) !important;
    max-width: 100% !important;
  }
}

/* --- 641〜900px: サムネ列が101〜150pxまで細るのに対し、既存の≤900px帯の
       ボタン指定(174x46 / 14px)は実効158px幅になり本文に食い込む。
       この帯だけボタンをサムネ列いっぱいの幅に収め、文字・矢印・パディングを
       列幅に合わせて縮める（右端はサムネ右端と一致したまま） --- */
@media (min-width: 641px) and (max-width: 900px) {
  #services .services-grid > .service-item .service-side .text-link {
    align-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: clamp(36px, 5.1vw, 46px) !important;
    min-height: 0 !important;
    gap: clamp(5px, 0.9vw, 8px) !important;
    padding: 0 clamp(8px, 1.4vw, 14px) !important;
    font-size: clamp(12px, 1.72vw, 14px) !important;
  }

  #services .services-grid > .service-item .service-side .text-link .arrow-circle {
    flex: 0 0 auto !important;
    width: clamp(14px, 2vw, 18px) !important;
    height: clamp(14px, 2vw, 18px) !important;
  }
}

@media (max-width: 640px) {
  #services .services-grid > .service-item .service-side {
    display: contents !important;
  }
}

/* =========================================================================
   TOP #member: モバイル(≤640px)カルーセル最終仕様（2026-08-30）
   カンプ再現:
     - 見出し → カルーセル → 紹介文 → CTAボタン の順
     - カードは全員同サイズ（先頭=代表カードの特別扱いを打ち消す）
     - カード = ほぼ正方形の写真 + 白いbody（役職 + 氏名のみ）
     - 横スクロール + scroll-snap（中央スナップ）、左右に前後カードのピーク
   既存の ≤640px 帯（8060 / 12863 / 15533 行付近）の !important ルールへ
   後勝ちさせるため、本ブロックでも !important を付ける。641px 以上は不変。
   ========================================================================= */
@media (max-width: 640px) {

  /* --- 1. セクションの並び順（見出し → カルーセル → 紹介文 → CTA） --- */
  #member {
    display: flex !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
  }

  #member .member-header { order: 1 !important; margin-bottom: 26px !important; }
  #member .member-grid   { order: 2 !important; }
  #member .member-intro  { order: 3 !important; }
  #member .member-cta    { order: 4 !important; }

  /* --- 2. カルーセル本体 --- */
  #member .member-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 4px 24px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    /* グリッド指定を無効化 */
    grid-template-columns: none !important;
    grid-template-rows: none !important;
  }

  #member .member-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* --- 3. カード（先頭も含めて完全に同一サイズ・同一構成） --- */
  #member .member-card,
  #member .member-card:first-child,
  #member .member-card:nth-child(n) {
    flex: 0 0 clamp(150px, 42vw, 190px) !important;
    width: clamp(150px, 42vw, 190px) !important;
    max-width: clamp(150px, 42vw, 190px) !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: normal !important;
  }

  #member .member-card-link,
  #member .member-card:first-child .member-card-link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10) !important;
  }

  /* --- 4. 写真枠（ほぼ正方形・上角丸） --- */
  #member .member-photo,
  #member .member-card:first-child .member-photo,
  #member .member-photo--card,
  #member .member-card:first-child .member-photo--card,
  #member .member-photo--cutout,
  #member .member-card:first-child .member-photo--cutout,
  #member .member-photo--figma,
  #member .member-card:first-child .member-photo--figma {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    border: 0 !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  /* 先頭(代表)も他カードと同じ敷き詰め方に統一する */
  #member .member-card:first-child .member-photo--figma img,
  #member .member-card:not(:first-child) .member-photo--figma img {
    position: absolute !important;
    inset: auto !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    width: auto !important;
    max-width: none !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: fill !important;
    transform: translateX(-50%) scale(var(--member-figma-mobile-scale, 1)) !important;
    transform-origin: center top !important;
  }

  /* 代表(茂木)はモバイル専用の正方形書き出し(figma-mogi-wide.png / 900×900)を
     <picture> の (max-width:640px) ソースで読み込む。肩と両腕が画像内に収まる
     引きの構図で、人物は画像内で正方形枠に合わせて配置済みなので、拡大/移動は
     一切かけず枠にそのまま敷く。背面の桃色＋オレンジ弧は
     .member-photo--figma 側の CSS 背景がそのまま透けて見える。
     (旧 figma-mogi.png + translate(14.4%) scale(1.14) の補正は不要になったため撤回) */
  #member .member-card--mogi-yuya .member-photo--figma img,
  #member .member-card:first-child.member-card--mogi-yuya .member-photo--figma img {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: center top !important;
    transform: none !important;
    transform-origin: center top !important;
  }

  /* --- 5. 白いbody（役職 + 氏名のみ） --- */
  #member .member-card-body,
  #member .member-card:first-child .member-card-body {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 9px 10px 11px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  #member .member-role,
  #member .member-card:first-child .member-role {
    display: block !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.01em !important;
    color: #ff6b32 !important;
  }

  #member .role-br { display: inline !important; }

  #member .member-name,
  #member .member-card:first-child .member-name {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.01em !important;
    color: #1f1f1f !important;
  }

  #member .member-name::after,
  #member .member-card:first-child .member-name::after {
    content: none !important;
  }

  /* モバイルでは会社名・ローマ字・紹介文は出さない */
  #member .member-company,
  #member .member-card:first-child .member-company,
  #member .member-romanized,
  #member .member-card:first-child .member-romanized,
  #member .member-description,
  #member .member-card:first-child .member-description {
    display: none !important;
  }

  /* --- 6. 紹介文 / CTA --- */
  #member .member-intro {
    max-width: none !important;
    margin: 24px 24px 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.95 !important;
    text-align: left !important;
  }

  #member .member-cta {
    display: flex !important;
    justify-content: center !important;
    margin-top: 26px !important;
  }
}

/* ===== TOP：ヒーロー背景サムネを1枚のコラージュ画像へ差し替え =====
   front-page.php の .hero-bg-decor には --collage 修飾子を付けており、
   旧マークアップのままの preview.html には影響しないようスコープしている。
   フェード（最大アルファ約8%）は素材に焼き込み済みなので opacity は 1 のまま。 */
#hero .hero-bg-decor--collage .hero-bg-collage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 上端に隙間を作らない（トリミングは下側で吸収する） */
  object-position: top center;
  display: block;
  opacity: 1;
}

/* 素材側にフェードが入っているため、901px以上で decor に掛かっている
   右方向のマスクは（コラージュ表示時のみ）解除する。 */
@media (min-width: 901px) {
  #hero .hero-bg-decor--collage {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* 641px以上：従来「薄いサムネ背景」だった帯域なので、旧サムネ列は隠して
   コラージュ1枚に置き換える。 */
@media (min-width: 641px) {
  #hero .hero-bg-decor--collage .hero-bg-col {
    display: none !important;
  }
}

/* 640px以下：サムネ列は横流れのマーキー帯としてモバイルFVの意匠になっているため
   そのまま残し、コラージュ側を非表示にして従来の見た目を維持する。 */
@media (max-width: 640px) {
  #hero .hero-bg-decor--collage .hero-bg-collage {
    display: none !important;
  }
}

/* =========================================================================
   TOP FV — タブレット帯（641–1040px）最終調整（2026-08-30）
   1) 右カラムは PC と同じ1枚画像 hero-members-group.png(.hero-team-photo) を
      幅指定で縮小して使う。従来この帯は 15764行付近の
      `@media (min-width:641px) and (max-width:1040px)` で .hero-team-photo を
      display:none にして .hero-tiles（trim-*.png の4枚組）を出していたため、
      PCと人物の並び順・トリミングが違って見えていた。
      ※1041px以上（PC構図）はタイル表示のまま。旧タイル帯と同じ 641–1040px を
        まるごと1枚画像へ置き換える（iPad Pro=1024px もこの帯に入る）。
   2) Zoomコミュニティリーダーバッジ（.hero-figure .hero-zoom-badge）が
      右の人物写真に食い込んでいたので、マスコットの真上・左寄せに縮小配置し、
      右端がテキスト列内に収まるようにする。
   既存の !important 指定（13890行付近の 641–1040px 帯など）へ後勝ちさせるため
   本ブロックでも !important を付ける。
   ========================================================================= */
@media (min-width: 641px) and (max-width: 1040px) {
  /* --- 1. 右カラム: PCと同じ1枚画像へ --- */
  #hero .hero-tiles {
    display: none !important;
  }

  /* 右カラム幅: PC(1041px以上)は .hero-inner の 45.5%。旧タブレット指定は 38.8% で
     PCより一回り小さかったため、1040px側でPCの45.5%に一致し、641px側では
     CTAボタン列と衝突しない幅(旧38.8%相当)へ収まるよう線形に補間する。
       1040px: hero-inner 910px × 45.5% = 414px
        641px: hero-inner 561px × 38.8% = 218px  → 49.1vw - 96.7px */
  #hero .hero-inner {
    grid-template-columns: minmax(0, 1fr) clamp(218px, calc(49.1vw - 96.7px), 414px) !important;
    column-gap: 2% !important;
  }

  #hero .hero-visual {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 2 !important;
  }

  #hero .hero-team-photo {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 0 0 auto !important;
    object-fit: contain !important;
    object-position: right center !important;
    transform: none !important;
  }

  /* --- 2. Zoomバッジ: 写真に被らないようマスコット上・左寄せへ ---
     ※ここの指定はファイル末尾「装飾の比例スケール＋アンカー化」ブロックで
       マスコット右上（left:60% / bottom:90%）へ置き換え済み。 */
  #hero .hero-figure .hero-zoom-badge {
    left: auto !important;
    right: 34% !important;
    bottom: 96% !important;
    width: 78% !important;
    top: auto !important;
    transform: none !important;
  }
}

/* =========================================================================
   TOP #services — タブレット帯（641–900px）の見出し下の空きを解消（2026-08-30）
   901px以上（PC構図）は 13611行付近で `.services-grid { margin-top: -139px }` を
   掛け、右列1件目のカードを「サービス概要 / OUR SERVICE」見出しの真横へ
   差し込んでいる。641–900px だけこの指定が無く margin-top:0 のままだったため、
   見出しの直下〜左列1件目までが 163px（768px時）も空いていた。
   901px以上の -139px を、この帯のグリッド幅比で縮めた値（901pxで -139px 相当
   ＝ -15.43vw）で当て、PCと同じ千鳥の入り方に揃える。
   カードの列割当（右列=1・3・5件目 / 左列=2・4件目）は触らないので、
   5件目(Insourcing Support)が左列へ落ちる旧不具合は再発しない。
   ========================================================================= */
@media (min-width: 641px) and (max-width: 900px) {
  #services .services-grid {
    margin-top: -15.43vw !important;
  }
}

/* =========================================================================
   TOP FV — 装飾（Zoomバッジ / マスコット）の比例スケール＋アンカー化
   （2026-08-30 / 中間デバイス幅でのズレ解消）

   これまでのズレの原因は「1つの構図の中に成長率の違う3つの座標系が混ざっていた」こと。
     (1) vw比例   … .hero-inner(6.25vw〜93.75vw) / 見出し(6.6vw) / 写真列
     (2) 完全固定 … 説明文(12px・字面264.6px) / CTAラベル(11px) / モバイルのテキスト列(205px)
     (3) 中間     … CTAボタン幅 =「固定ラベル + 3.95vw×2 のpadding」
   Zoomバッジとマスコットは (3) のボタン幅に対する％で置かれていたため、
   641→1040pxでボタンが+22%しか伸びないのに対し見出し・グリッド・写真は+62%伸び、
   幅を変えるたびに装飾だけが構図の中を漂っていた（853px前後で「バッジが落ちる」ように
   見えたのは、この連続的なドリフトが説明文1行目の高さを跨ぐため）。
   以下では装飾を必ず「隣にあるべき実要素」へアンカーし、値は幅に比例させる。
   ≥1041px（PC構図）と375pxの見た目は変更しない。
   ========================================================================= */

/* ---------- 640px以下：Zoomバッジを「プロ集団」の字面へアンカー ---------- */
@media (max-width: 640px) {
  /* 見出しは display:flex の縦積み。幅だけを字面幅(=4文字ぶん)に収縮させる。
     左揃えなので字面は1pxも動かず、left:100% がグリフ右端になる。 */
  #hero .hero-headline-pro {
    position: relative !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  /* comp(FV (3).pdf) 375px実測: left 144 / top 154 / width 30。
     「プロ集団」は 27px + 28px×4文字 = 右端139px なので
       left  = グリフ右端 + 5px  = 100% + 0.1786em
       width = 30px             = 1.0714em
       top   = 行の上下中央     = 50% + translateY(-50%)  → 153.8px
     em は見出しのフォントサイズ基準。固定pxを一切使わないので、
     幅が変わっても・見出しサイズが変わっても文字に接触しない。 */
  #hero .hero-mobile-zoom {
    display: block !important;
    position: absolute !important;
    left: calc(100% + 5em / 28) !important;  /* グリフ右端 + 5px相当 */
    right: auto !important;
    /* 縦は「プロ集団」の行ボックス上端から。comp実測 top:154px、
       行ボックス上端は150.19px なので +3.81px（＝行の中でほぼ上下中央）。
       transform で中央寄せするとサブピクセル位置になり画像がにじむため、
       top だけで置く。 */
    top: calc(3.82em / 28) !important;
    bottom: auto !important;
    width: calc(30em / 28) !important;   /* comp実測30px = 見出し28px の 30/28 */
    height: auto !important;
    transform: none !important;
    z-index: 3 !important;
    pointer-events: none !important;
  }

  /* 3人写真：上限260pxは「サムネ帯(上端264px固定)との間隔17px」から逆算した値だったので、
     マジックナンバーではなく実際の制約式として書き直す。あわせてクリアランス自体を
     幅に比例させ（375pxで17px＝従来どおり／540pxで24.5px）、広い端末で写真の下端が
     動くサムネ帯に張り付いて見える問題を解消する。
     第2項(comp比率67.2vw)・第3項(説明文右端184pxからのクリアランス)は従来どおり。 */
  #hero .hero-mobile-group {
    --fv-strip-top: 264px;   /* サムネ帯 .hero-bg-col の上端（#hero基準・固定） */
    --fv-photo-top: 62px;    /* 写真の上端（comp実測） */
    --fv-photo-ratio: 0.711; /* 写真の高さ / 幅 */
    --fv-photo-clear: max(17px, 4.53vw); /* 375pxで17px、以降は幅に比例 */
    --fv-photo-w: min(
      calc((var(--fv-strip-top) - var(--fv-photo-clear) - var(--fv-photo-top)) / 0.711),
      67.2vw,
      calc((100vw - 194px) * 1.286)
    ) !important;
  }
}

/* ---------- 641–1040px：マスコット＋バッジをテキスト列／写真／CTAへアンカー ---------- */
@media (min-width: 641px) and (max-width: 1040px) {
  #hero .hero-text {
    /* .hero-figure の包含ブロック。offset を持たないのでレイアウトは変わらない。
       .hero-text の下端は常に CTA行の下端と一致する（実測で全幅一致）。 */
    position: relative !important;
  }

  #hero .hero-figure {
    /* CTAボタンの高さ。13763行 #hero .hero-cta .btn-hero-primary と同値。 */
    --fv-cta-h: clamp(44px, 4.86vw, 70px);
    /* マスコットの実寸。1040pxで従来と同じ115.1px、641pxまで同率で縮む。
       PC(≥1041)の .hero-pointing-person が clamp(112px,11.1vw,160px) なので
       1040↔1041の段差も出ない。 */
    --fv-mascot-w: 11.07vw;
    /* テキスト列の右端からの引き。テキスト列の右端と写真の左端の間は常に
       column-gap(=2% of .hero-inner = 1.75vw)しかないので、これは
       「写真の左端から一定比だけ内側」と同じ意味になる。 */
    --fv-mascot-right: 4.2vw;

    position: absolute !important;
    left: auto !important;
    top: auto !important;
    right: var(--fv-mascot-right) !important;
    bottom: var(--fv-cta-h) !important;   /* ＝CTA行の上端。マスコットは黄色ボタンに接地 */
    width: var(--fv-mascot-w) !important;
    height: auto !important;
    z-index: 5 !important;
    display: block !important;
    pointer-events: none;
  }

  /* バッジはマスコットの右上へ。包含ブロックがマスコットそのものなので、
     ％で書けば帯内のどの幅でも相対位置は完全に一定になる。 */
  #hero .hero-figure .hero-zoom-badge {
    position: absolute !important;
    left: 60% !important;
    right: auto !important;
    top: auto !important;
    bottom: 90% !important;   /* バッジ下端 = マスコット上端 + 高さの10% */
    width: 78% !important;
    height: auto !important;
    transform: none !important;
  }
}

/* =========================================================================
   UI監査（2026-09-07 / ui-audit-2026-09-07/review.md）の指摘対応
   スマホ・タブレットの可読性まわり。値は「本文14px以上」を下限に置き直す。
   ========================================================================= */

/* --- P2: トップのサービスカード（スマホ）。説明文12pxを本文サイズへ --- */
@media (max-width: 640px) {
  #services .services-grid > .service-item .service-desc {
    font-size: clamp(14px, 3.7vw, 15px) !important;
    line-height: 1.75 !important;
  }
}

/* --- P2: トップのサービスカード（641〜900px）。2列カードの中でさらに
       文章と画像を横並びにしていたため本文の実効幅が175px前後まで痩せ、
       数語ごとに改行されていた。≤640pxと同じく、サムネは見出し横・本文は
       カード全幅に置き直す（カード自体の2列千鳥は維持）。 --- */
@media (min-width: 641px) and (max-width: 900px) {
  /* サムネ＋ボタンの縦組み(.service-side)を見出し行の右へ上げ、本文をその下の
     全幅行へ移す。サムネは aspect-ratio のままだと行の高さに寄与せず本文へ
     覆いかぶさるため、この帯だけ高さを実寸で与える（img側は object-fit: cover）。 */
  #services .services-grid > .service-item .service-side {
    grid-row: 1 / span 2 !important;
  }

  #services .services-grid > .service-item .service-side .service-image {
    aspect-ratio: auto !important;
    height: clamp(72px, 12.5vw, 96px) !important;
  }

  #services .services-grid > .service-item .service-desc {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin-top: 14px !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
  }
}

/* --- P2: 資料ダウンロードの埋め込みフォーム（スマホ）。
       外側で左右24pxずつ削っていたぶん、入力欄が画面幅の6割程度まで
       縮んでいた。埋め込み側にも余白があるので外側は最小限にする。 --- */
@media (max-width: 640px) {
  .download-embed {
    padding: 0 12px 70px;
  }
}

/* --- P2: セミナー枠。掲載が3件未満のときは送りボタンを出さない（PHP側で
       出力を止めている）ため、その状態でカード列が中央に寄るようにする。
       トラックの justify-content は flex-start のままにし、
       スライダー自体の幅を件数ぶんに合わせる。 --- */
@media (min-width: 901px) {
  #events .events-slider--few {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
}

/* Service review: closed FAQs, contained diagrams and whole-card links. */
#services a.service-item {
  color: inherit;
  text-decoration: none;
}
#services a.service-item:focus-visible {
  outline: 3px solid #fe6b32;
  outline-offset: 5px;
}
.rw-comp,
.rw-comp--wide {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  transform: none;
}
.rw-comp img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
.wbpo-faq-item__q {
  cursor: pointer;
  margin-bottom: 0;
}
.wbpo-faq-item[open] .wbpo-faq-item__q {
  margin-bottom: 16px;
}
.wbpo-faq-item__q:focus-visible {
  outline: 3px solid #fe6b32;
  outline-offset: 5px;
}

/* Use native scrolling on mobile WORKS as on the other carousels. */
@media (max-width: 640px) {
  #works .works-track {
    overflow-x: auto;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
.carousel-moving {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  overflow-anchor: none;
}

/* Compact desktop: keep the mascot clear of the description and group the badge above it. */
@media (min-width: 1041px) and (max-width: 1199px) {
  #hero .hero-pointing-person {
    left: 62%;
    bottom: calc(100% - 12px);
    width: clamp(112px, 11.1vw, 133px);
  }

  #hero .hero-trust-badge {
    left: 94%;
    bottom: calc(100% + 104px);
    width: clamp(82px, 7.8vw, 94px);
  }
}

@media (min-width: 1041px) and (max-width: 1199px) {
  #hero .hero-consult-wrap .btn-hero-primary {
    position: relative;
    z-index: 7;
  }
}

/* The updated mobile group reaches the image’s right edge. */
@media (max-width: 640px) {
  #hero .hero-mobile-group { right: 0 !important; }
}

/* Center the service contact cards and keep the download copy on two balanced lines. */
.wpp-cta__cards { margin-inline: auto; }
:is(.wpp-cta__cards, .oc-cta-cards) .service-download-description {
  text-align: center;
}
@media (max-width: 374px) {
  :is(.wpp-cta__cards, .oc-cta-cards) .service-download-description {
    text-wrap: balance;
  }
  .service-download-description br { display: none; }
}

/* Service pages: one consistent section gap without stacked trailing margins. */
:is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-section, .oc-section, .wpp-section, .wbpo-section) {
  margin-block: 0;
  padding-block: clamp(32px, 3.1vw, 44px) 16px;
}
:is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-section, .oc-section, .wpp-section, .wbpo-section) > :last-child {
  margin-bottom: 0;
}
:is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-h2, .oc-h2, .wpp-h2, .wbpo-h2) {
  margin-bottom: 24px;
  padding-block: 14px;
}
:is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-lead, .oc-lead, .wpp-lead, .wbpo-lead):not(:last-child) {
  margin-bottom: 24px;
}
.wpp-page .wpp-cta, .wbpo-page .wbpo-faq-section {
  margin-top: 32px;
  padding-block: clamp(32px, 3.4vw, 48px);
}
@media (max-width: 640px) {
  :is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-section, .oc-section, .wpp-section, .wbpo-section) {
    padding-block: 28px 12px;
  }
  :is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-h2, .oc-h2, .wpp-h2, .wbpo-h2) {
    margin-bottom: 20px;
    padding-block: 12px;
  }
  :is(.rw-page, .oc-page, .wpp-page, .wbpo-page) :is(.rw-lead, .oc-lead, .wpp-lead, .wbpo-lead):not(:last-child) {
    margin-bottom: 20px;
  }
}

/* Recorded webinar cases: keep four metrics aligned, with a two-column mobile layout. */
.rw-page .rw-case-list .rw-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }
.rw-page .rw-case-list .rw-metrics > span { min-width: 0; display: flex; flex-wrap: wrap; align-content: center; align-items: baseline; justify-content: center; gap: 0 4px; }
@media (max-width: 640px) {
  .rw-page .rw-case-list .rw-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-page .rw-case-list .rw-metrics > span:nth-child(3) { border-left: 0; }
  .rw-page .rw-case-list .rw-metrics > span:nth-child(n+3) { border-top: 1px solid #f2cbbb; }
}

/* Case cards: separate metric labels from values for a stable reading rhythm. */
.rw-page .rw-case-list article { padding: clamp(24px, 3vw, 36px); border-radius: 10px; }
.rw-page .rw-case-list h3 { margin: 4px 0 12px; font-size: clamp(20px, 2vw, 24px); line-height: 1.5; }
.rw-page .rw-case-list h4 { margin-bottom: 14px; font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.rw-page .rw-case-list article > p:not(.rw-case-label) { margin: 0; line-height: 1.85; color: #555; }
.rw-page .rw-case-list .rw-metrics { margin-top: 24px; background: #fffaf7; border-color: #f2ded4; }
.rw-page .rw-case-list .rw-metrics > .rw-metric { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px 8px; }
.rw-page .rw-case-list .rw-metric > span { flex: none; min-width: 0; padding: 0; border: 0; }
.rw-page .rw-case-list .rw-metric__label { display: block; font-size: 12px; line-height: 1.5; color: #45403d; }
.rw-page .rw-case-list .rw-metric__value { display: flex; align-items: baseline; justify-content: center; gap: 3px; white-space: nowrap; }
.rw-page .rw-case-list .rw-metric__value b { font-size: clamp(25px, 2.4vw, 30px); line-height: 1.25; font-variant-numeric: tabular-nums; }
.rw-page .rw-case-list .rw-metric__value small { font-size: 13px; }
@media (max-width: 640px) {
  .rw-page .rw-case-list { gap: 20px; }
  .rw-page .rw-case-list article { padding: 22px 18px; }
  .rw-page .rw-case-list h4 { font-size: 15px; }
  .rw-page .rw-case-list .rw-metrics > .rw-metric { padding: 16px 4px; }
  .rw-page .rw-case-list .rw-metric__label { font-size: 11px; }
}

/* Shared TOP/member CTA: balanced copy and aligned buttons on both cards. */
#cta-band .cta-band-card { display: flex; flex-direction: column; align-items: center; }
#cta-band .cta-band-card-desc { text-align: center; text-wrap: balance; margin: 16px auto 24px; max-width: 28em; }
#cta-band .cta-band-card-button { margin-top: auto; }
@media (min-width: 901px) {
  #cta-band { padding-block: 56px; }
  #cta-band .cta-band-inner { gap: 28px; }
  #cta-band .cta-band-card { padding: 30px 24px; min-height: 0; }
  #cta-band .cta-band-card-desc { font-size: 14px; line-height: 1.7; }
}
@media (max-width: 374px) {
  #cta-band .cta-band-card-desc br { display: none; }
}

/* Common card anatomy; page variants only supply their existing visual styles. */
:is(#cta-band, .wpp-cta, .oc-bottom-cta) .contact-download-cards {
  margin-inline: auto;
  align-items: stretch;
}
:is(#cta-band, .wpp-cta, .oc-bottom-cta) .contact-download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}
:is(#cta-band, .wpp-cta, .oc-bottom-cta) .contact-download-card__title { margin: 0 0 14px; }
:is(#cta-band, .wpp-cta, .oc-bottom-cta) .contact-download-card__description {
  flex: none;
  margin: 0 auto 22px;
  text-align: center;
  text-wrap: balance;
  max-width: 30em;
  font-size: 13.5px;
  line-height: 1.75;
}
:is(#cta-band, .wpp-cta, .oc-bottom-cta) .contact-download-card__button { margin-top: auto; }
@media (min-width: 901px) {
  #cta-band .contact-download-cards { max-width: 900px; }
}
@media (max-width: 374px) {
  .contact-download-card__description br { display: none; }
}

/* Shared banner examples: preserve the artwork and keep captions readable. */
.service-example-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 32px;
}
.service-example-gallery--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
  margin-inline: auto;
}
.service-example-gallery .service-example-gallery__item {
  min-width: 0;
  margin: 0;
}
.service-example-gallery .service-example-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid #e8e2de;
  border-radius: 8px;
  box-sizing: border-box;
}
.service-example-gallery .service-example-gallery__item figcaption {
  margin-top: 10px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  text-align: left;
}
@media (max-width: 640px) {
  .service-example-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-block: 20px 24px;
  }
  .service-example-gallery .service-example-gallery__item figcaption {
    font-size: 13px;
    margin-top: 8px;
  }
}

/* Service FAQ: one conference-style presentation for every service. */
:is(.oc-faq__list, .rw-faq__list, .wpp-faq, .wbpo-faq-list) {
  display: grid;
  gap: 18px;
}
:is(.oc-faq, .rw-faq, .wpp-faq, .wbpo-faq-list) details {
  background: #fff;
  border: 1px solid #222;
  border-radius: 11px;
  padding: 0 25px;
  overflow: hidden;
}
:is(.oc-faq, .rw-faq, .wpp-faq, .wbpo-faq-list) details > summary {
  display: block;
  position: relative;
  margin: 0;
  padding: 20px 36px 20px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  background: transparent;
  transform: none;
}
:is(.oc-faq, .rw-faq, .wpp-faq, .wbpo-faq-list) summary::-webkit-details-marker { display: none; }
:is(.oc-faq, .rw-faq, .wpp-faq, .wbpo-faq-list) summary::marker { content: ''; }
:is(.oc-faq, .rw-faq, .wpp-faq, .wbpo-faq-list) details > summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fe6b32;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
:is(.oc-faq, .rw-faq, .wpp-faq, .wbpo-faq-list) details[open] > summary::after { content: '−'; }
:is(.oc-faq, .rw-faq, .wpp-faq, .wbpo-faq-list) details p {
  margin: 0;
  padding: 0 0 21px;
  font-size: 14px;
  line-height: 1.9;
}
.wpp-faq .wpp-faq__icon { display: none; }
@media (max-width: 640px) {
  :is(.oc-faq, .rw-faq, .wpp-faq, .wbpo-faq-list) details { padding-inline: 18px; }
  :is(.oc-faq, .rw-faq, .wpp-faq, .wbpo-faq-list) details > summary { font-size: 14px; }
}

/* TOP case cards: industry outlines and filled audience tags. */
.work-classifications { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; margin-top: 14px; }
.work-classifications__tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.work-classifications__tag--audience { background: #222; border-color: #222; color: #fff; }

/* Opaque works filter menus, independent of OS popup transparency. */
.works-filter-select[hidden], .works-filter-options[hidden] { display: none !important; }
.works-filter-trigger { display: block; text-align: left; }
.works-filter-trigger:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
.works-filter-options {
  position: absolute; z-index: 50; top: calc(100% + 8px); left: 0;
  width: 100%; max-height: 260px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; color: #222; opacity: 1;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid #d0d0d0; border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.works-filter-options [role="option"] {
  position: relative; margin: 0; padding: 10px 12px 10px 30px;
  min-height: 44px; border-radius: 6px; font-size: 15px;
  line-height: 24px; cursor: pointer;
}
.works-filter-options [role="option"]:hover,
.works-filter-options [role="option"].is-active { background: #f1f1f1; }
.works-filter-options [aria-selected="true"]::before { content: '✓'; position: absolute; left: 9px; }

/* Member archive: readable profiles and comfortably sized controls. */
.member-archive-grid {
  max-width: 1280px;
  padding: 0 32px;
  gap: 32px;
}
.member-archive-card {
  width: 100%; max-width: none; margin: 0;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px; padding: 24px; border-radius: 20px;
}
.member-archive-card .member-archive-photo { width: 180px; }
.member-archive-body { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.member-archive-romanized { font-size: 14px; }
.member-archive-body h2 { font-size: 26px; line-height: 1.4; }
.member-archive-role { font-size: 16px; line-height: 1.6; margin-top: 8px; }
.member-archive-description { font-size: 16px; line-height: 1.85; margin-top: 16px; }
.member-archive-detail {
  float: none; align-self: flex-end; min-width: 140px; min-height: 44px;
  height: auto; padding: 12px 36px 12px 20px; margin-top: 20px;
  font-size: 14px; line-height: 1.4;
}
.member-archive-detail::after { right: 16px; }
@media (max-width: 1050px) {
  .member-archive-grid { grid-template-columns: 1fr; max-width: 820px; }
}
@media (max-width: 520px) {
  .member-archive-grid { padding: 0 20px; gap: 24px; }
  .member-archive-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .member-archive-card .member-archive-photo { width: 160px; justify-self: center; }
  .member-archive-body h2 { font-size: 24px; }
  .member-archive-description { font-size: 16px; line-height: 1.85; }
  .member-archive-detail { width: 100%; }
}
