:root {
  --ink: #111111;
  --ink-soft: #444444;
  --ink-mute: #888888;
  --white: #ffffff;
  --cream: #ffffff;
  --cream-soft: #f8f6ef;
  --cream-deep: #f0ead8;
  --line: #e6e0d2;
  --line-soft: #efe9da;
  --yellow: #e3c436;
  --yellow-soft: #f6e279;
  --yellow-pale: #fbefc5;
  --midnight: #1a2940;
  --bg-blue-1: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/blue%20(2).jpg');
  --bg-blue-2: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/blue%20(3).jpg');
  --bg-blue-3: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/blue.jpg');
  --bg-blue-4: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/blue%20(2).jpg');
  --bg-green: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/green.jpg');
  --bg-white-1: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/white%20(4).jpg');
  --bg-white-2: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/white%20(3).jpg');
  --bg-white-3: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/white%20(2).jpg');
  --bg-white-4: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/white%20(6).jpg');
  --bg-white-5: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/white%20(5).jpg');
  --bg-white-6: url('https://kasanare.co.jp/hubfs/hp_top/backgroun2/white.jpg');
  --jp-serif: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --jp-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --en-serif: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --en-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  font-family: var(--jp-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}


/* Decorative background SVGs - subtle full-bleed atmosphere */
.hero,
.awards-section,
.business,
.feature-case,
.news-section,
.event-section,
.media-section,
.company-section,
.recruit-section,
.cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.awards-section::before,
.business::before,
.feature-case::before,
.news-section::before,
.event-section::before,
.media-section::before,
.company-section::before,
.recruit-section::before,
.cta-section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  width: auto;
  max-width: 100%;
  pointer-events: none;
  z-index: -1;
  transform: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.hero::before {
  top: 20px;
  height: 520px;
  background-image: var(--bg-white-4);
  opacity: 0.62;
  background-position: center top;
}

.awards-section::before {
  top: 80px;
  height: 460px;
  background-image: var(--bg-blue-1);
  opacity: 0.24;
  background-position: center center;
}

.business::before {
  top: 110px;
  height: 420px;
  background-image: var(--bg-green);
  opacity: 0.14;
  background-position: center center;
}

.feature-case::before {
  top: 80px;
  height: 520px;
  background-image: var(--bg-blue-2);
  opacity: 0.2;
  background-position: center center;
}

.news-section::before {
  top: 90px;
  height: 390px;
  background-image: var(--bg-white-2);
  opacity: 0.54;
  background-position: center center;
}

.event-section::before {
  top: 80px;
  height: 420px;
  background-image: var(--bg-blue-4);
  opacity: 0.17;
  background-position: center center;
}

.media-section::before {
  top: 90px;
  height: 430px;
  background-image: var(--bg-white-3);
  opacity: 0.5;
  background-position: center center;
}

.company-section::before {
  top: 50%;
  height: 520px;
  transform: translateY(-50%);
  background-image: var(--bg-blue-3);
  opacity: 0.18;
  background-position: center center;
}

.recruit-section::before {
  top: 60px;
  height: 430px;
  background-image: var(--bg-green);
  opacity: 0.12;
  background-position: center center;
}

.cta-section::before {
  top: 50%;
  height: 500px;
  transform: translateY(-50%);
  background-image: var(--bg-white-6);
  opacity: 0.62;
  background-position: center center;
}

@media (max-width: 900px) {
  .hero::before,
  .awards-section::before,
  .business::before,
  .feature-case::before,
  .news-section::before,
  .event-section::before,
  .media-section::before,
  .company-section::before,
  .recruit-section::before,
  .cta-section::before {
    width: 116vw;
    background-size: cover;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
  }

  .hero::before {
    top: 64px;
    height: 360px;
  }

  .awards-section::before,
  .business::before,
  .feature-case::before,
  .news-section::before,
  .event-section::before,
  .media-section::before,
  .company-section::before,
  .recruit-section::before,
  .cta-section::before {
    height: 320px;
  }
}

/* Common */
.section,
.awards-section {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.section-label {
  font-family: var(--en-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section-label::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  margin-right: 12px;
  margin-bottom: 2px;
}

.section-label .num {
  font-family: var(--en-sans);
  font-size: 1.05em;
  font-weight: 700;
  color: var(--ink);
  margin-right: 10px;
}

.section-title {
  font-family: var(--jp-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--midnight);
  letter-spacing: 0.02em;
}

.section-title .sub {
  display: block;
  font-family: var(--en-serif);
  font-weight: 400;
  font-size: 0.5em;
  color: var(--ink-mute);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 48px 120px;
  max-width: 1320px;
  margin: 0 auto;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  font-family: var(--en-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeUp 0.8s 0.15s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--yellow);
}

.hero-tagline {
  font-family: var(--jp-serif);
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.02em;
  color: var(--midnight);
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 1s 0.35s forwards;
}

.hero-tagline .accent-100 {
  font-family: var(--en-sans);
  font-weight: 700;
  color: var(--midnight);
  font-size: 1.12em;
  position: relative;
  display: inline-block;
  padding: 0 0.06em;
}

.hero-tagline .accent-100::after {
  content: '';
  position: absolute;
  left: -0.18em;
  right: -0.18em;
  bottom: -0.02em;
  height: 0.42em;
  background: var(--yellow);
  z-index: -1;
  opacity: 0.92;
  border-radius: 50%;
  transform: rotate(-1.2deg);
}

.hero-subtagline {
  font-family: var(--jp-serif);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 1s 0.45s forwards;
}

.hero-subtagline .bracket {
  color: var(--ink);
  font-weight: 600;
}

.hero-body {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  animation: fadeUp 1s 0.55s forwards;
}

.hero-body p {
  font-size: 17px;
  line-height: 2;
  color: var(--ink-soft);
}

.hero-origin {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
  line-height: 1.95 !important;
  color: var(--ink-mute) !important;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-mark {
  position: absolute;
  top: 200px;
  right: 48px;
  font-family: var(--en-sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fadeIn 1.5s 1s forwards;
}

.brand-katakana {
  font-family: var(--jp-serif);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.brand-katakana .accent {
  color: var(--ink);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.brand-katakana .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.04em;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.link-btn,
.case-link,
.recruit-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--jp-sans);
  font-size: 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.btn-primary {
  font-weight: 600;
  color: var(--white);
  background: var(--midnight);
  padding: 16px 36px;
}

.btn-primary::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 0 5px var(--yellow-pale);
  transform: translateY(-1px);
}

.btn-primary:hover::before {
  transform: scale(1.3);
}

.btn-secondary,
.link-btn,
.case-link {
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  padding: 16px 36px;
  border: 1px solid var(--ink);
}

.btn-secondary:hover,
.link-btn:hover,
.case-link:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Logos */
.logos-band {
  padding: 34px 48px 40px;
  background: var(--white);
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line-soft);
}

.logos-band-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.logos-band-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.logos-band-label {
  font-family: var(--en-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logos-band-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.logos-band-headline {
  font-family: var(--en-sans);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.logos-band-headline .en-num {
  font-family: var(--en-sans);
  font-weight: 700;
  color: var(--ink);
  background: var(--yellow-pale);
  padding: 2px 10px;
  border-radius: 100px;
  margin-right: 6px;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}

.logo-cell {
  background: var(--white);
  aspect-ratio: 2.15 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: 0 10px 28px -24px rgba(26, 41, 64, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.logo-cell:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: 0 16px 34px -24px rgba(26, 41, 64, 0.55);
}

.logo-cell img {
  width: 100%;
  max-width: 118px;
  max-height: 46px;
  object-fit: contain;
}

/* Awards */
.awards-section {
  padding-top: 120px;
  padding-bottom: 140px;
}

.awards-tier-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.award-card {
  position: relative;
  padding: 36px 28px 28px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
  color: var(--ink);
  min-height: 260px;
}

.award-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(13, 17, 23, 0.08);
}

.award-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--yellow);
}

.award-logo {
  width: 100%;
  aspect-ratio: 1080 / 504;
  min-height: 72px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  margin-bottom: 4px;
  overflow: hidden;
}

.award-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.award-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en-sans);
  font-size: 17px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 4px;
}

.award-title {
  font-family: var(--jp-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.award-subtitle {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.7;
}

.award-year {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--en-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-soft);
}

.itreview-block {
  margin: 32px 0;
  padding: 44px 40px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: center;
}

.itreview-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.itreview-label {
  font-family: var(--en-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.itreview-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.itreview-headline {
  font-family: var(--jp-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.itreview-desc {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.itreview-categories {
  display: flex;
  flex-direction: column;
}

.itreview-cat {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.itreview-cat:last-child {
  border-bottom: none;
}

.cat-name {
  font-family: var(--jp-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.cat-rank {
  font-family: var(--en-sans);
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  background: var(--yellow);
  padding: 4px 12px;
  border-radius: 100px;
}

.awards-tier-2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.awards-tier-2 .award-card:nth-child(1),
.awards-tier-2 .award-card:nth-child(2),
.awards-tier-2 .award-card:nth-child(3) {
  grid-column: span 2;
}

.awards-tier-2 .award-card:nth-child(4),
.awards-tier-2 .award-card:nth-child(5) {
  grid-column: span 3;
}

.tech-partners {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.tech-partners-label {
  font-family: var(--en-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 32px;
}

.tech-partners-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tech-partner {
  background: var(--white);
  padding: 28px 20px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-partner img {
  max-width: 78%;
  max-height: 70px;
  object-fit: contain;
}

/* Business */
.business {
  padding-top: 120px;
  padding-bottom: 140px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.pillar {
  position: relative;
  padding: 52px 36px 44px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(13, 17, 23, 0.1);
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--yellow);
}

.pillar-num {
  font-family: var(--en-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.pillar-issue {
  display: inline-block;
  font-family: var(--en-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow-pale);
  padding: 5px 11px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pillar-title {
  font-family: var(--jp-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 22px;
}

.pillar-desc {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.platform-note {
  padding: 32px 40px;
  background: var(--cream-soft);
  border-radius: 16px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  border-left: 3px solid var(--ink);
}

.platform-label {
  font-family: var(--en-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  padding-top: 4px;
}

.platform-text {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.platform-text .modules {
  font-family: var(--en-serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.05em;
}

/* Feature Case */
.feature-case {
  position: relative;
  padding: 140px 48px;
  background: var(--cream-soft);
  color: var(--ink);
  margin-top: 80px;
}

.feature-case-inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-case-header {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.case-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--white);
  padding: 56px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.case-image {
  aspect-ratio: 4 / 5;
  background: var(--yellow-pale);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

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

.case-image-label {
  position: absolute;
  top: 24px;
  left: 64px;
  font-family: var(--en-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  z-index: 2;
}

.case-client {
  font-family: var(--en-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding: 4px 12px;
  background: var(--yellow-pale);
  display: inline-block;
  border-radius: 100px;
}

.case-stat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 32px;
}

.case-stat-num {
  font-family: var(--en-sans);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 1;
  color: var(--midnight);
  letter-spacing: -0.02em;
}

.case-stat-num::after {
  content: none;
  display: none;
}

.case-stat-unit {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 12px;
  line-height: 1.35;
}

.case-stat-unit span {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--midnight);
}

.case-headline {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--midnight);
  margin-bottom: 28px;
}

.case-quote {
  padding: 20px 24px;
  background: var(--cream-soft);
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.case-meta {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.case-meta-item-label {
  font-family: var(--en-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 6px;
}

.case-meta-item-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}

.case-award-note {
  margin-top: 32px;
  padding: 24px 32px;
  background: var(--yellow-pale);
  border: 1px solid var(--yellow-soft);
  border-radius: 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.case-award-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en-sans);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.case-award-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
}

.case-award-attribution {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.case-others {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-other {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.2s;
}

.case-other:hover {
  background: var(--yellow-pale);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.case-other-client {
  font-family: var(--en-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.case-other-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 16px;
}

.case-other-stat {
  font-family: var(--en-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}

.cases-cta {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

/* News */
.news-section {
  padding-top: 140px;
  padding-bottom: 140px;
}

.category-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.category-button {
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  padding: 8px 16px;
  font-family: var(--jp-sans);
  font-size: 12px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}

.category-button.active,
.category-button:hover {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 56px;
}

.news-item {
  display: grid;
  grid-template-columns: 160px 140px 1fr 40px;
  gap: 32px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding 0.2s, background 0.2s;
}

.news-item:hover {
  padding-left: 16px;
  background: var(--cream-soft);
}

.news-item-date {
  font-family: var(--en-serif);
  font-size: 16px;
  color: var(--ink-mute);
}

.news-item-cat {
  font-family: var(--en-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  justify-self: start;
}

.news-item-cat.press {
  color: var(--ink);
  border-color: var(--yellow);
  background: var(--yellow);
}

.news-item-cat.media {
  color: var(--ink);
  border-color: var(--yellow-soft);
  background: var(--yellow-soft);
}

.news-item-cat.event {
  color: var(--ink);
  border-color: var(--line);
  background: var(--cream-soft);
}

.news-item-title {
  font-family: var(--jp-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.65;
}

.news-item-arrow {
  font-family: var(--en-sans);
  font-size: 14px;
  color: var(--ink-mute);
  justify-self: end;
}

.news-cta {
  display: flex;
  justify-content: center;
}

/* Event */
.event-section {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.event-container {
  width: 100%;
  padding: 40px;
  background: var(--cream-soft);
  border-radius: 24px;
  border: 1px solid var(--line);
}

.event-list-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.event-list {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease-in-out;
}

.event-item {
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
  padding: 10px;
  transition: transform 0.3s ease;
}

.event-item:hover {
  transform: translateY(-2px);
}

.event-link {
  display: block;
  color: var(--ink);
}

.event-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.event-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-align: left;
}

.event-prev,
.event-next {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  background-color: #fff;
  color: #b88cd4;
  border: solid 1px #b88cd4;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  font-size: 28px;
  line-height: 1;
}

.event-prev {
  left: 0;
}

.event-next {
  right: 0;
}

.event-prev:hover,
.event-next:hover {
  background-color: #b88cd4;
  color: #fff;
}

/* Media */
.media-section {
  padding-top: 140px;
  padding-bottom: 140px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.media-card {
  padding: 40px 32px 36px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -16px rgba(13, 17, 23, 0.08);
}

.media-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.media-card-source {
  font-family: var(--en-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.media-card-date {
  font-family: var(--en-sans);
  font-size: 11px;
  color: var(--ink-mute);
}

.media-card-type {
  display: inline-block;
  font-family: var(--en-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  align-self: flex-start;
}

.media-card-title {
  font-family: var(--jp-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
}

.media-card-arrow {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--en-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-card-arrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.media-logos {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 36px 56px;
  align-items: center;
  justify-content: center;
}

.media-logo {
  width: min(180px, 42vw);
  aspect-ratio: 1080 / 504;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recognition-logos {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.recognition-logo {
  aspect-ratio: 1080 / 504;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recognition-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Company */
.company-section {
  padding: 140px 48px;
  background: var(--cream-soft);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.company-image {
  aspect-ratio: 5 / 4;
  background: var(--cream-deep);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


.company-content .section-label {
  margin-bottom: 32px;
  display: block;
}

.company-content .section-title {
  margin-bottom: 36px;
}

.company-text {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.company-text + .company-text {
  margin-bottom: 40px;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  margin-bottom: 40px;
}

.company-stat-num {
  font-family: var(--en-sans);
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.company-stat-num::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.company-stat-label {
  font-size: 12px;
  color: var(--ink-mute);
}

/* Recruit */
.recruit-section {
  padding: 140px 48px;
  background: var(--yellow-pale);
  color: var(--ink);
  position: relative;
}

.recruit-inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: center;
}

.recruit-label {
  font-family: var(--en-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

.recruit-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--midnight);
  margin-bottom: 36px;
}

.recruit-title .accent {
  position: relative;
  display: inline-block;
  color: var(--ink);
}

.recruit-title .accent::after {
  content: '';
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.04em;
  height: 0.36em;
  background: var(--yellow);
  z-index: -1;
  opacity: 0.95;
  border-radius: 50%;
  transform: rotate(-1deg);
}

.recruit-text {
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.recruit-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.recruit-tag {
  font-family: var(--en-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}

.recruit-link {
  color: var(--white);
  background: var(--ink);
  padding: 14px 28px;
  font-weight: 600;
}

.recruit-link:hover {
  background: var(--ink-soft);
}

.recruit-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.recruit-photo {
  aspect-ratio: 3 / 4;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.recruit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-photo:nth-child(2) {
  margin-top: 32px;
}

/* CTA */
.cta-section {
  padding: 140px 48px 160px;
  text-align: center;
}

.cta-inner {
  max-width: 880px;
  margin: 0 auto;
}

.cta-label {
  font-family: var(--en-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.cta-title {
  font-family: var(--jp-serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--midnight);
  margin-bottom: 36px;
}

.cta-title .accent {
  color: var(--midnight);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.cta-title .accent::after {
  content: '';
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.04em;
  height: 0.34em;
  background: var(--yellow);
  z-index: -1;
  opacity: 0.85;
  border-radius: 50%;
}

.cta-text {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 48px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Reveal */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.empty-message {
  padding: 32px 0;
  color: var(--ink-mute);
  font-size: 14px;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.55;
  }
}

/* Responsive */
@media (max-width: 1024px) {

  .logos-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .recognition-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .awards-tier-1 {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 900px) {

  .hero {
    padding: 90px 24px 90px;
  }

  .hero-tagline {
    font-size: clamp(36px, 9vw, 64px);
    margin-bottom: 48px;
  }

  .hero-eyebrow {
    margin-bottom: 40px;
  }

  .hero-mark {
    display: none;
  }

  .logos-band {
    padding: 28px 24px 34px;
  }

  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .recognition-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .awards-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .business,
  .awards-section {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .section-header,
  .feature-case-header {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }

  .pillars,
  .media-grid,
  .case-others {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .platform-note {
    flex-direction: column;
    gap: 12px;
    padding: 24px 28px;
  }

  .feature-case {
    padding: 100px 24px;
  }

  .case-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px;
  }

  .case-image {
    aspect-ratio: 4 / 3;
  }

  .company-section,
  .news-section,
  .media-section,
  .recruit-section,
  .cta-section {
    padding: 80px 24px 100px;
  }

  .company-grid,
  .recruit-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .company-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .news-item-arrow {
    display: none;
  }

  .itreview-block {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
  }

  .awards-tier-2 {
    grid-template-columns: 1fr;
  }

  .awards-tier-2 .award-card:nth-child(n) {
    grid-column: span 1;
  }

  .tech-partners-logos {
    grid-template-columns: 1fr;
  }

  .event-container {
    padding: 24px;
  }

  .event-item {
    flex: 0 0 100%;
  }

  .recruit-photos {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
}

@media (max-width: 520px) {
  .awards-tier-1,
  .company-stats,
  .recruit-photos,
  .recognition-logos {
    grid-template-columns: 1fr;
  }

  .cta-buttons,
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }

}

/* Hero内に移動したIn Partnership */
.hero .hero-partnership {
  width: min(100%, 980px);
  padding: 6px 0 10px;
  margin-top: 4px;
  background: transparent;
  border: none;
  z-index: 2;
}

.hero .hero-partnership .logos-band-inner {
  max-width: 100%;
}

.hero .hero-partnership .logos-band-meta {
  margin-bottom: 18px;
}

.hero .hero-partnership .logos-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero .hero-partnership .logo-cell {
  min-height: 82px;
}

.hero .hero-buttons {
  margin-top: 8px;
}

.recognition-logos {
  display: none !important;
}

.company-image {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -40px rgba(26, 41, 64, 0.35);
}

.company-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
}

@media (max-width: 900px) {
  .hero .hero-partnership {
    width: 100%;
    padding-top: 0;
  }

  .hero .hero-partnership .logos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero .hero-partnership .logo-cell {
    min-height: 72px;
    padding: 10px;
  }

  .company-image img {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .hero .hero-partnership .logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Latest refinements: partnership and media logos in one row, no hover motion */
.hero .hero-partnership {
  width: min(100%, 1080px);
  max-width: none;
  margin-top: 18px;
  margin-bottom: 8px;
}

.hero .hero-partnership .logos-band-meta {
  margin-bottom: 16px;
}

.hero .hero-partnership .logos-grid {
  display: flex;
  grid-template-columns: none;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
}

.hero .hero-partnership .logo-cell,
.logo-cell,
.logo-cell:hover {
  transform: none;
}

.hero .hero-partnership .logo-cell {
  flex: 1 1 0;
  min-width: 0;
  min-height: 64px;
  aspect-ratio: auto;
  padding: 8px 10px;
  box-shadow: none;
}

.hero .hero-partnership .logo-cell:hover {
  border-color: var(--line-soft);
  box-shadow: none;
  background: var(--white);
}

.hero .hero-partnership .logo-cell img {
  max-width: 100%;
  max-height: 34px;
}

.media-logos {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 8px;
}

.media-logo {
  flex: 1 1 0;
  min-width: 0;
  max-width: 180px;
}

.company-image {
  aspect-ratio: 1 / 1;
}

.company-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}

@media (max-width: 900px) {
  .hero .hero-partnership {
    width: 100%;
  }

  .hero .hero-partnership .logos-grid {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero .hero-partnership .logo-cell {
    flex: 0 0 92px;
    min-height: 58px;
  }

  .media-logo {
    flex: 0 0 150px;
  }
}

@media (max-width: 520px) {
  .hero .hero-partnership .logos-grid {
    display: flex;
    grid-template-columns: none;
  }

  .hero .hero-partnership .logo-cell {
    flex: 0 0 86px;
  }

  .media-logos {
    justify-content: flex-start;
  }
}

.case-stat-num::after {
  content: none;
  display: none;
}

/* Requested case label refinement */
.case-other-client {
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--midnight);
}

@media (max-width: 900px) {
  .hero::before,
  .awards-section::before,
  .business::before,
  .feature-case::before,
  .news-section::before,
  .event-section::before,
  .media-section::before,
  .company-section::before,
  .recruit-section::before,
  .cta-section::before {
    width: 520px;
    height: 292px;
    opacity: 0.12;
  }
}


/* =========================================================
   2026 update: section duck visuals / logo row / media / recruit
   ========================================================= */
.section-with-duck .section-header,
.section-with-duck .feature-case-header {
  align-items: start;
}

.section-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.section-duck-image {
  width: min(100%, 388px);
  aspect-ratio: 388 / 164;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(230, 224, 210, 0.72);
  box-shadow: 0 22px 54px -36px rgba(26, 41, 64, 0.45);
}

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

.section-duck-image.is-pending {
  display: none;
}

/* Background images: use provided jpgs and blend top/bottom with masks */
.hero::before,
.awards-section::before,
.business::before,
.feature-case::before,
.news-section::before,
.event-section::before,
.media-section::before,
.company-section::before,
.recruit-section::before,
.cta-section::before {
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

.awards-section::before {
  background-image: var(--bg-white-4);
  top: 64px;
  height: 520px;
  opacity: 0.46;
}

.business::before {
  background-image: var(--bg-white-3);
  top: 40px;
  height: 560px;
  opacity: 0.54;
}

.feature-case::before {
  background-image: var(--bg-blue-2);
  top: 48px;
  height: 620px;
  opacity: 0.22;
}

/* In Partnership: stretch logos across the full page width in one row */
.hero .hero-partnership {
  width: 100%;
  max-width: 1320px;
  margin-top: 18px;
  margin-bottom: 8px;
}

.hero .hero-partnership .logos-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.hero .hero-partnership .logo-cell {
  min-width: 0;
  min-height: 68px;
  aspect-ratio: auto;
  padding: 8px 10px;
  box-shadow: none;
}

.hero .hero-partnership .logo-cell img {
  max-width: 100%;
  max-height: 36px;
  object-fit: contain;
}

.itreview-award-image {
  width: min(100%, 420px);
  aspect-ratio: 1080 / 504;
  margin: 2px 0 6px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
}

.itreview-award-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  align-items: center;
  justify-content: center;
}

.media-logo {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.recruit-photos {
  display: block;
}

.recruit-photo-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-top: 0 !important;
}

.recruit-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .section-side {
    gap: 18px;
  }

  .section-duck-image {
    width: min(100%, 360px);
    border-radius: 14px;
  }

  .hero .hero-partnership {
    width: 100%;
  }

  .hero .hero-partnership .logos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .hero .hero-partnership .logo-cell {
    min-height: 58px;
  }

  .media-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
  }

  .hero::before,
  .awards-section::before,
  .business::before,
  .feature-case::before,
  .news-section::before,
  .event-section::before,
  .media-section::before,
  .company-section::before,
  .recruit-section::before,
  .cta-section::before {
    width: 116vw;
    height: 360px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 78%, transparent 100%);
  }
}

@media (max-width: 520px) {
  .section-duck-image {
    width: 100%;
  }

  .hero .hero-partnership .logos-grid,
  .media-logos {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   Final update: pillar icons / case icons / media logo cleanup
   ========================================================= */
.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 0 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px -28px rgba(26, 41, 64, 0.42);
}

.pillar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.case-other-icon {
  width: 72px;
  height: 72px;
  margin: 0 0 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px -28px rgba(26, 41, 64, 0.42);
}

.case-other-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.case-other-title {
  margin-bottom: 18px;
}

.media-logos {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    margin-bottom: 18px;
  }

  .case-other-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin-bottom: 16px;
  }
}

/* =========================================================
   UI refinement: service pillar cards / featured case mini cards
   ========================================================= */
.pillars {
  gap: 28px;
  align-items: stretch;
}

.pillar {
  min-height: 430px;
  padding: 50px 36px 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 17%, rgba(227, 196, 54, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  box-shadow: 0 24px 70px -58px rgba(26, 41, 64, 0.45);
}

.pillar::after {
  content: '';
  position: absolute;
  top: 34px;
  right: 28px;
  width: 118px;
  height: 118px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(230, 224, 210, 0.58);
  z-index: -0;
}

.pillar-num {
  margin-bottom: 88px;
  position: relative;
  z-index: 2;
}

.pillar-icon {
  position: absolute;
  top: 46px;
  right: 34px;
  width: 92px;
  height: 92px;
  margin: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(230, 224, 210, 0.76);
  box-shadow: 0 22px 42px -30px rgba(26, 41, 64, 0.5);
  z-index: 2;
}

.pillar-icon img {
  padding: 12px;
}

.pillar-issue {
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}

.pillar-title {
  font-size: 25px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.pillar-desc {
  line-height: 2.02;
  position: relative;
  z-index: 2;
}

.case-others {
  gap: 22px;
}

.case-other {
  position: relative;
  min-height: 264px;
  padding: 34px 34px 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 86% 22%, rgba(227, 196, 54, 0.1), transparent 30%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px -58px rgba(26, 41, 64, 0.42);
}

.case-other::after {
  content: '';
  position: absolute;
  top: 26px;
  right: 28px;
  width: 112px;
  height: 112px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(230, 224, 210, 0.58);
  pointer-events: none;
}

.case-other-icon {
  position: absolute;
  top: 34px;
  right: 36px;
  width: 86px;
  height: 86px;
  margin: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(230, 224, 210, 0.76);
  box-shadow: 0 22px 42px -30px rgba(26, 41, 64, 0.48);
  z-index: 2;
}

.case-other-icon img {
  padding: 10px;
}

.case-other-client {
  margin-bottom: 84px;
  padding-right: 122px;
  color: var(--midnight);
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
}

.case-other-title {
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 24px;
  color: var(--midnight);
  position: relative;
  z-index: 2;
}

.case-other-stat {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
}

.case-other-stat::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

@media (max-width: 900px) {
  .pillar {
    min-height: auto;
    padding: 42px 28px 34px;
  }

  .pillar::after {
    top: 26px;
    right: 22px;
    width: 96px;
    height: 96px;
    border-radius: 28px;
  }

  .pillar-icon {
    top: 32px;
    right: 28px;
    width: 74px;
    height: 74px;
    border-radius: 22px;
  }

  .pillar-num {
    margin-bottom: 72px;
  }

  .case-other {
    min-height: 236px;
    padding: 30px 28px 30px;
  }

  .case-other::after {
    width: 94px;
    height: 94px;
    border-radius: 28px;
  }

  .case-other-icon {
    top: 32px;
    right: 30px;
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }

  .case-other-client {
    margin-bottom: 70px;
    padding-right: 104px;
  }
}

@media (max-width: 520px) {
  .pillar-icon,
  .case-other-icon {
    position: static;
    margin: 18px 0 22px;
  }

  .pillar::after,
  .case-other::after {
    display: none;
  }

  .pillar-num,
  .case-other-client {
    margin-bottom: 0;
    padding-right: 0;
  }
}


/* =========================================================
   Mobile / SEO quality update
   - 既存UIは維持しつつ、スマホでの縦長化・はみ出し・画像過大表示を抑制
   ========================================================= */

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--midnight);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(227, 196, 54, 0.72);
  outline-offset: 4px;
}

.section-title,
.hero-tagline,
.hero-subtagline,
.award-title,
.pillar-title,
.case-headline,
.case-other-title,
.media-card-title,
.company-text,
.recruit-title,
.cta-title {
  overflow-wrap: anywhere;
}

.hero,
.section,
.awards-section,
.feature-case-inner,
.company-grid,
.recruit-inner,
.cta-inner {
  max-width: min(1320px, 100%);
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero {
    padding: 64px 20px 68px;
  }

  .hero-eyebrow {
    margin-bottom: 28px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero-tagline {
    font-size: clamp(31px, 10vw, 48px);
    line-height: 1.36;
    margin-bottom: 28px;
  }

  .hero-subtagline {
    font-size: clamp(17px, 5vw, 23px);
    line-height: 1.55;
    margin-bottom: 28px;
  }

  .hero-body {
    gap: 18px;
  }

  .hero-body p {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-origin {
    margin-top: 4px;
    padding-top: 18px;
    font-size: 12px !important;
    line-height: 1.85 !important;
  }

  .hero .hero-partnership {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 2px;
  }

  .hero .hero-partnership .logos-band-meta {
    margin-bottom: 10px;
  }

  .hero .hero-partnership .logos-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    padding: 2px 0 8px;
    -webkit-overflow-scrolling: touch;
  }

  .hero .hero-partnership .logo-cell {
    flex: 0 0 112px;
    min-height: 52px;
    padding: 7px 9px;
    scroll-snap-align: start;
  }

  .hero .hero-partnership .logo-cell img {
    max-height: 30px;
  }

  .hero-buttons {
    margin-top: 6px;
    gap: 10px;
  }

  .section,
  .awards-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .business,
  .awards-section,
  .news-section,
  .media-section,
  .company-section,
  .recruit-section,
  .cta-section {
    padding-top: 62px;
    padding-bottom: 72px;
  }

  .feature-case {
    padding: 68px 20px;
    margin-top: 48px;
  }

  .section-header,
  .feature-case-header {
    gap: 18px;
    margin-bottom: 40px;
  }

  .section-label {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .section-title {
    font-size: clamp(25px, 7.2vw, 34px);
    line-height: 1.48;
  }

  .section-title .sub {
    margin-bottom: 10px;
  }

  .section-duck-image {
    width: min(100%, 320px);
    max-height: 136px;
  }

  .awards-tier-1,
  .awards-tier-2 {
    gap: 14px;
  }

  .award-card {
    min-height: auto;
    padding: 26px 22px 22px;
    gap: 10px;
  }

  .award-logo {
    min-height: 54px;
    max-height: 86px;
    padding: 8px 10px;
  }

  .award-title {
    font-size: 15px;
    line-height: 1.45;
  }

  .award-subtitle {
    font-size: 11px;
    line-height: 1.6;
  }

  .itreview-block {
    margin: 22px 0;
  }

  .itreview-award-image {
    max-height: 142px;
  }

  .itreview-cat {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 0;
  }

  .cat-rank {
    justify-self: start;
    font-size: 12px;
  }

  .tech-partners {
    padding-top: 28px;
  }

  .tech-partner {
    min-height: 88px;
    padding: 20px 16px;
  }

  .pillars {
    gap: 14px;
    margin-bottom: 36px;
  }

  .pillar {
    padding: 34px 24px 28px;
  }

  .pillar-title {
    font-size: 21px;
    margin-bottom: 14px;
  }

  .pillar-desc {
    font-size: 13px;
    line-height: 1.85;
  }

  .platform-note {
    padding: 22px 22px;
  }

  .case-hero {
    padding: 24px;
    gap: 28px;
  }

  .case-image {
    aspect-ratio: 16 / 10;
    max-height: 330px;
  }

  .case-image-label {
    left: 16px;
    top: 16px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .case-client {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .case-stat {
    gap: 10px;
    margin-bottom: 18px;
  }

  .case-stat-num {
    font-size: clamp(54px, 18vw, 82px);
  }

  .case-stat-unit {
    font-size: 15px;
    padding-bottom: 6px;
  }

  .case-headline {
    font-size: 20px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .case-quote {
    padding: 16px 18px;
    font-size: 13px;
    line-height: 1.85;
    margin-bottom: 24px;
  }

  .case-meta {
    gap: 18px;
    margin-bottom: 28px;
  }

  .case-other {
    min-height: auto;
    padding: 26px 22px 24px;
  }

  .case-other-title {
    font-size: 15px;
    line-height: 1.62;
  }

  .news-item:hover {
    padding-left: 0;
  }

  .category-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .category-button {
    flex: 0 0 auto;
  }

  .event-section {
    padding: 62px 0 72px;
  }

  .event-container {
    padding: 18px;
    border-radius: 18px;
  }

  .event-thumbnail {
    max-height: 220px;
  }

  .media-grid {
    gap: 14px;
  }

  .media-card {
    padding: 28px 24px 24px;
    gap: 14px;
  }

  .media-logos {
    display: flex;
    grid-template-columns: none;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 10px;
    padding: 24px 0 8px;
    -webkit-overflow-scrolling: touch;
  }

  .media-logo {
    flex: 0 0 142px;
    width: 142px;
    min-width: 142px;
  }

  .company-grid,
  .recruit-inner {
    gap: 34px;
  }

  .company-image {
    max-height: 360px;
  }

  .company-text {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 22px;
  }

  .company-stats {
    padding-top: 24px;
    margin-bottom: 28px;
  }

  .company-stat-num {
    font-size: 30px;
  }

  .recruit-text {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 24px;
  }

  .recruit-tags {
    gap: 8px;
    margin-bottom: 28px;
  }

  .recruit-tag {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .recruit-photo-main {
    max-height: 380px;
  }

  .cta-title {
    font-size: clamp(27px, 8vw, 38px);
    margin-bottom: 24px;
  }

  .cta-text {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 34px;
  }
}

@media (max-width: 620px) {
  .awards-tier-1 {
    grid-template-columns: 1fr;
  }

  .awards-tier-2 {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary,
  .link-btn,
  .case-link,
  .recruit-link {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
  }

  .case-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .company-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 52px;
  }

  .hero-tagline {
    font-size: clamp(28px, 10.5vw, 38px);
  }

  .section,
  .awards-section,
  .feature-case,
  .company-section,
  .recruit-section,
  .cta-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .case-hero,
  .award-card,
  .pillar,
  .media-card,
  .platform-note {
    border-radius: 14px;
  }

  .case-stat {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-stat-num {
    font-size: clamp(48px, 19vw, 66px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-eyebrow,
  .hero-tagline,
  .hero-subtagline,
  .hero-body,
  .hero-mark,
  .js-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition-duration: 0.001ms !important;
  }

  * {
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Mobile only: infinite horizontal logo marquee
   - Desktop layout remains unchanged because JS only enables
     .mobile-marquee under 900px.
   ========================================================= */
@keyframes kasanareMobileMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 900px) {
  .hero .hero-partnership .logos-grid.mobile-marquee,
  .media-logos.mobile-marquee {
    display: block !important;
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
    padding-bottom: 0;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  }

  .hero .hero-partnership .logos-grid.mobile-marquee::-webkit-scrollbar,
  .media-logos.mobile-marquee::-webkit-scrollbar {
    display: none;
  }

  .mobile-marquee-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 200%;
    will-change: transform;
    animation: kasanareMobileMarquee 28s linear infinite;
  }

  .mobile-marquee-track > * {
    flex: 0 0 auto;
  }

  .hero .hero-partnership .logos-grid.mobile-marquee .mobile-marquee-track {
    gap: 8px;
    animation-duration: 16s;
  }

  .hero .hero-partnership .logos-grid.mobile-marquee .logo-cell {
    width: 112px;
    min-height: 58px;
    aspect-ratio: auto;
  }

  .media-logos.mobile-marquee {
    justify-content: initial;
  }

  .media-logos.mobile-marquee .mobile-marquee-track {
    gap: 12px;
    animation-duration: 20s;
  }

  .media-logos.mobile-marquee .media-logo {
    width: 158px;
    max-width: 158px;
    min-width: 158px;
    flex: 0 0 158px;
  }
}

@media (max-width: 520px) {
  .hero .hero-partnership .logos-grid.mobile-marquee .logo-cell {
    width: 104px;
  }

  .media-logos.mobile-marquee .media-logo {
    width: 148px;
    max-width: 148px;
    min-width: 148px;
    flex-basis: 148px;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .hero .hero-partnership .logos-grid.mobile-marquee,
  .media-logos.mobile-marquee {
    overflow-x: auto !important;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .mobile-marquee-track {
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================================
   Final fix: first paint mobile width stability
   - JS補正ではなく、初期描画のCSS時点で横幅を作らない
   - 参考ページと同じく、背景疑似要素を親要素内に閉じ込める
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

#main-content,
main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.hero,
.awards-section,
.business,
.feature-case,
.news-section,
.event-section,
.media-section,
.company-section,
.recruit-section,
.cta-section {
  overflow: hidden;
}

.hero::before,
.awards-section::before,
.business::before,
.feature-case::before,
.news-section::before,
.event-section::before,
.media-section::before,
.company-section::before,
.recruit-section::before,
.cta-section::before {
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  transform: none !important;
}

.company-section::before,
.cta-section::before {
  transform: translateY(-50%) !important;
}

.hero .hero-partnership,
.hero .hero-partnership .logos-band-inner,
.hero .hero-partnership .logos-grid,
.media-logos,
.event-container,
.event-list-wrapper,
.feature-case-inner,
.company-grid,
.recruit-inner,
.cta-inner {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  #main-content,
  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero,
  .awards-section,
  .business,
  .feature-case,
  .news-section,
  .event-section,
  .media-section,
  .company-section,
  .recruit-section,
  .cta-section {
    overflow: hidden;
  }

  .hero::before,
  .awards-section::before,
  .business::before,
  .feature-case::before,
  .news-section::before,
  .event-section::before,
  .media-section::before,
  .company-section::before,
  .recruit-section::before,
  .cta-section::before {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .company-section::before,
  .cta-section::before {
    transform: translateY(-50%) !important;
  }

  .hero .hero-partnership {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero .hero-partnership .logos-band-inner,
  .hero .hero-partnership .logos-grid,
  .media-logos {
    width: 100%;
    max-width: 100%;
  }

  /*
    モバイルのロゴ列はJSで .mobile-marquee 化し、横スクロールUIではなく
    左方向の無限スクロールとして表示する。
    親要素で overflow:hidden するため、ページ全体の横幅は作らない。
  */
  .hero .hero-partnership .logos-grid.mobile-marquee,
  .media-logos.mobile-marquee {
    display: block !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%) !important;
  }

  .hero .hero-partnership .logos-grid.mobile-marquee::-webkit-scrollbar,
  .media-logos.mobile-marquee::-webkit-scrollbar {
    display: none;
  }

  .mobile-marquee-track {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;
    will-change: transform;
    animation: kasanareMobileMarquee 28s linear infinite !important;
  }

  .mobile-marquee-track > * {
    flex: 0 0 auto;
  }

  .hero .hero-partnership .logos-grid.mobile-marquee .mobile-marquee-track {
    gap: 8px;
    animation-duration: 16s !important;
  }

  .media-logos.mobile-marquee .mobile-marquee-track {
    gap: 12px;
    animation-duration: 20s !important;
  }
}

/* =========================================================
   Final correction: desktop logo spread + mobile infinite marquee
   - デスクトップ: クライアントロゴは横いっぱいに9列で広げる
   - モバイル: クライアント/メディアロゴは手動横スクロールではなく左方向に無限スクロール
   - ページ全体の横ズレは発生させない
   ========================================================= */

.hero .hero-partnership {
  width: 100%;
  max-width: 1320px;
}

.hero .hero-partnership .logos-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.hero .hero-partnership .logo-cell {
  min-width: 0;
  min-height: 68px;
  aspect-ratio: auto;
}

.media-logos {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 900px) {
  .hero .hero-partnership,
  .hero .hero-partnership .logos-band-inner,
  .hero .hero-partnership .logos-grid,
  .media-logos {
    width: 100%;
    max-width: 100%;
  }

  .hero .hero-partnership .logos-grid,
  .media-logos {
    overflow: hidden;
  }

  .hero .hero-partnership .logos-grid.mobile-marquee,
  .media-logos.mobile-marquee {
    display: block !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%) !important;
    contain: layout paint;
  }

  .hero .hero-partnership .logos-grid.mobile-marquee::-webkit-scrollbar,
  .media-logos.mobile-marquee::-webkit-scrollbar {
    display: none;
  }

  .mobile-marquee-track {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation-name: kasanareMobileMarquee !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
  }

  .mobile-marquee-track > * {
    flex: 0 0 auto;
  }

  .hero .hero-partnership .logos-grid.mobile-marquee .mobile-marquee-track {
    gap: 8px;
    animation-duration: 16s !important;
  }

  .hero .hero-partnership .logos-grid.mobile-marquee .logo-cell {
    width: 112px;
    min-width: 112px;
    min-height: 58px;
    aspect-ratio: auto;
  }

  .media-logos.mobile-marquee .mobile-marquee-track {
    gap: 12px;
    animation-duration: 20s !important;
  }

  .media-logos.mobile-marquee .media-logo {
    width: 158px;
    max-width: 158px;
    min-width: 158px;
    flex: 0 0 158px;
  }
}

@media (max-width: 520px) {
  .hero .hero-partnership .logos-grid.mobile-marquee .logo-cell {
    width: 104px;
    min-width: 104px;
  }

  .media-logos.mobile-marquee .media-logo {
    width: 148px;
    max-width: 148px;
    min-width: 148px;
    flex-basis: 148px;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .hero .hero-partnership .logos-grid.mobile-marquee,
  .media-logos.mobile-marquee {
    overflow-x: auto !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .mobile-marquee-track {
    animation: none !important;
    transform: none !important;
  }
}

@media (min-width: 901px) {
  .hero .hero-partnership {
    width: min(calc(100vw - 96px), 1320px) !important;
    max-width: none !important;
  }

  .hero .hero-partnership .logos-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
  }

  .hero .hero-partnership .logo-cell {
    min-height: 76px;
  }
}

@media (min-width: 901px) {
  .hero .hero-partnership {
    width: min(calc(100vw - 180px), 1240px) !important;
    max-width: none !important;
    overflow: visible !important;
  }

  .hero .hero-partnership .logos-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  
  /* =========================================================
   Wide monitor layout fix
   - ワイドモニターで背景付きセクションが横いっぱいに広がりすぎる問題を修正
   - コンテンツを中央寄せし、最大幅を制御
   - 既存CSSの一番下に追加してください
   ========================================================= */

:root {
  --wide-container: 1320px;
  --wide-section: 1440px;
  --wide-gutter: 48px;
}

/* 共通：ワイド画面でもコンテンツが伸びすぎないようにする */
.hero,
.section,
.awards-section,
.feature-case-inner,
.company-grid,
.recruit-inner,
.cta-inner {
  width: 100%;
  max-width: var(--wide-container);
  margin-left: auto;
  margin-right: auto;
}

/* 背景付きセクションをワイド画面で全幅に見せすぎない */
@media (min-width: 1280px) {
  .feature-case,
  .company-section,
  .recruit-section,
  .cta-section {
    width: min(calc(100% - 96px), var(--wide-section));
    margin-left: auto;
    margin-right: auto;
    border-radius: 32px;
    overflow: hidden;
  }

  .feature-case {
    margin-top: 80px;
    margin-bottom: 80px;
    padding-left: 64px;
    padding-right: 64px;
  }

  .company-section,
  .recruit-section {
    margin-top: 80px;
    margin-bottom: 80px;
    padding-left: 64px;
    padding-right: 64px;
  }

  .cta-section {
    margin-top: 80px;
    padding-left: 64px;
    padding-right: 64px;
  }

  .event-section {
    width: min(calc(100% - 96px), var(--wide-section));
    margin-left: auto;
    margin-right: auto;
    border-radius: 32px;
    overflow: hidden;
  }
}

/* さらに大きいワイドモニターでは、横幅をより強めに固定 */
@media (min-width: 1600px) {
  .hero,
  .section,
  .awards-section,
  .feature-case-inner,
  .company-grid,
  .recruit-inner,
  .cta-inner {
    max-width: 1240px;
  }

  .feature-case,
  .company-section,
  .recruit-section,
  .cta-section,
  .event-section {
    width: min(calc(100% - 160px), 1400px);
  }
}

/* Hero内のパートナー企業ロゴが横に伸びすぎるのを防ぐ */
@media (min-width: 901px) {
  .hero .hero-partnership {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: 0;
    margin-right: auto;
  }

  .hero .hero-partnership .logos-grid {
    grid-template-columns: repeat(9, minmax(88px, 1fr)) !important;
    gap: 8px;
  }

  .hero .hero-partnership .logo-cell {
    min-height: 64px;
    padding: 8px 10px;
  }

  .hero .hero-partnership .logo-cell img {
    max-height: 34px;
  }
}

/* Awards / Business / Mediaなどのカードが間延びしすぎないように調整 */
@media (min-width: 1440px) {
  .awards-tier-1,
  .pillars,
  .media-grid,
  .case-others {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }

  .platform-note,
  .itreview-block,
  .event-container {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Featured Caseの大きいカードがワイド画面で横に広がりすぎないようにする */
@media (min-width: 1440px) {
  .case-hero {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(420px, 0.92fr) minmax(420px, 1fr);
    gap: 64px;
  }
}

/* Company / Recruitの2カラムも大画面で広がりすぎないようにする */
@media (min-width: 1440px) {
  .company-grid,
  .recruit-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 64px;
  }

  .company-image,
  .recruit-photo-main {
    max-width: 560px;
    justify-self: center;
  }
}

/* メディアロゴがワイド画面で横長に間延びしないようにする */
@media (min-width: 901px) {
  .media-logos {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .media-logo {
    max-height: 86px;
  }
}

/* CTAが横いっぱいに広がって見えないように中央の読み物幅に制御 */
@media (min-width: 901px) {
  .cta-inner {
    max-width: 820px;
  }
}

/* 背景画像の疑似要素がセクション外に広がって見えるのを抑制 */
@media (min-width: 901px) {
  .hero::before,
  .awards-section::before,
  .business::before,
  .feature-case::before,
  .news-section::before,
  .event-section::before,
  .media-section::before,
  .company-section::before,
  .recruit-section::before,
  .cta-section::before {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background-size: cover;
  }
}

/* タブレット以下は従来どおり全幅に近い表示に戻す */
@media (max-width: 900px) {
  .feature-case,
  .company-section,
  .recruit-section,
  .cta-section,
  .event-section {
    width: 100%;
    border-radius: 0;
  }

  .hero .hero-partnership {
    max-width: 100% !important;
  }
}