/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #E5001C;
  --red-dark: #b8001a;
  --red-light: #ff1a35;
  --black: #111111;
  --dark: #1a1a1a;
  --gray-dark: #333333;
  --gray: #666666;
  --gray-mid: #999999;
  --gray-light: #f4f4f4;
  --white: #ffffff;
  --border: #e8e8e8;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
  --header-h: 80px;
  --section-pad: 100px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Utilities ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.section--gray { background: var(--gray-light); }
.section--dark { background: var(--dark); color: var(--white); }

.section__label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
  background: var(--red);
  padding: 7px 20px 7px 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
  box-shadow: 0 4px 0 rgba(0,0,0,0.08);
  margin-bottom: 16px;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.section__title--white { color: var(--white); }

.section__desc {
  font-size: 16px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn--outline { background: transparent; color: var(--black); border-color: rgba(0,0,0,0.25); }
.btn--outline:hover { background: rgba(0,0,0,0.05); border-color: var(--black); }

.btn--white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn--white:hover { background: #f5f5f5; }

.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--full { width: 100%; }

.sp-show { display: none; }

/* ===== Scroll Animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Logo image ===== */
.logo__img {
  height: 56px;
  width: auto;
  display: block;
}
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 20px;
  border-radius: 6px;
  letter-spacing: -0.02em;
}

.logo__text {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 20px;
  color: var(--black);
  letter-spacing: -0.02em;
}

.header__nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-dark);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--red); background: rgba(229,0,28,0.06); }

.nav__link--cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
}
.nav__link--cta:hover { background: var(--red-dark); color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #fff6f6 0%, #ffffff 55%, #fff9f4 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229,0,28,0.14) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229,0,28,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.hero__content {
  flex: 1;
  min-width: 0;
}

.hero__sub {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 24px;
  transition-delay: 0.1s;
}

.hero__title {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 32px;
  transition-delay: 0.2s;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.hero__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--red);
  margin-top: 24px;
  border-radius: 2px;
}

.hero__desc {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--gray-dark);
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 520px;
  transition-delay: 0.3s;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  transition-delay: 0.4s;
}

/* インフルエンサーコンテンツのフォトウォール（flex-wrapによる通常の流し込みなので、絶対に重ならない） */
.hero__talents {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 16px;
  width: 540px;
  flex-shrink: 0;
}

.hero__talent-card {
  width: 160px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s, box-shadow 0.25s;
}
.hero__talent-card:hover {
  transform: scale(1.08) rotate(0deg) !important;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  position: relative;
}
.hero__talent-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* それぞれ軽く傾けて遊び心を出す（重ならないよう角度は控えめに） */
.hero__talent-card--a { transform: rotate(-4deg); }
.hero__talent-card--b { transform: rotate(3deg); width: 180px; margin-top: 10px; }
.hero__talent-card--c { transform: rotate(-3deg); }
.hero__talent-card--d { transform: rotate(4deg); width: 180px; margin-top: 6px; }
.hero__talent-card--e { transform: rotate(-5deg); }
.hero__talent-card--f { transform: rotate(5deg); margin-top: 8px; }
.hero__talent-card--g { transform: rotate(-3deg); width: 180px; }
.hero__talent-card--h { transform: rotate(4deg); margin-top: 4px; }

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(0,0,0,0.35);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Mission ===== */
.mission { background: var(--white); }

.mission__content {
  max-width: 720px;
  margin-bottom: 64px;
}

.mission__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  position: relative;
  padding-left: 20px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.mission__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 5px;
  background: var(--red);
  border-radius: 3px;
}

.mission__text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-dark);
}

.vision__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  transition-delay: 0.15s;
}

.vision__card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px;
  border-left: 4px solid var(--red);
}

.vision__label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 12px;
}

.vision__text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.vision__value-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vision__value-list li {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}
.vision__value-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

/* ===== Services Grid ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.services__grid--coming {
  margin-top: 24px;
}

.service__card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
}
.service__card:hover {
  border-top-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ワイドカード（インフルエンサー：1行目にフルワイド表示） */
.service__card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  padding: 0;
}
.service__card--wide .service__card-body {
  flex: 1;
  min-width: 0;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service__card-image {
  width: 360px;
  flex-shrink: 0;
  overflow: hidden;
}
.service__card-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

/* Coming Soon カード */
.service__card--coming {
  opacity: 0.55;
  border: 2px dashed var(--border);
  border-top: 3px dashed var(--border);
  box-shadow: none;
  background: rgba(244,244,244,0.6);
}
.service__card--coming:hover {
  border-color: var(--red);
  border-top-color: var(--red);
  opacity: 0.8;
  transform: translateY(-2px);
  box-shadow: none;
}
.coming-soon__text {
  font-size: 13px !important;
  font-weight: 700;
  color: var(--gray-mid) !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* カード番号ラベル */
.service__label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 20px;
}

.service__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}
.service__icon svg { width: 100%; height: 100%; }

.service__name {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.35;
}

.service__card--wide .service__name {
  font-size: 22px;
}

.service__text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray);
}

/* ===== Responsive: Services Grid ===== */
@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  .service__card { padding: 32px 28px; }
  .service__card--wide {
    flex-direction: column;
    padding: 0;
  }
  .service__card--wide .service__card-body {
    padding: 32px 28px;
  }
  .service__card-image {
    width: 100%;
  }
  .service__card-image img {
    min-height: 220px;
  }
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--red);
  padding: 56px 0;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner__text {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--white);
}

/* ===== Strengths ===== */
.strengths__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.strength__item {
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.strength__item:hover { border-color: var(--red); }
.strength__item:nth-child(2) { transition-delay: 0.1s; }
.strength__item:nth-child(3) { transition-delay: 0.05s; }
.strength__item:nth-child(4) { transition-delay: 0.15s; }

.strength__num {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 900;
  color: rgba(229,0,28,0.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.strength__title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
}

.strength__text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray);
}

/* ===== Results ===== */
.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.result__item {
  text-align: center;
  padding: 56px 24px;
  background: rgba(255,255,255,0.04);
  transition: background 0.3s;
}
.result__item:hover { background: rgba(229,0,28,0.15); }
.result__item:nth-child(2) { transition-delay: 0.1s; }
.result__item:nth-child(3) { transition-delay: 0.2s; }
.result__item:nth-child(4) { transition-delay: 0.3s; }

.result__num {
  font-family: var(--font-en);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.result__unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--red-light);
  margin: 4px 0 16px;
}

.result__label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ===== Tie-up Works：左右に流れるマーキー ===== */
.works {
  overflow: hidden;
}
.works .section__header {
  margin-bottom: 8px;
}
.works__marquee {
  overflow: hidden;
  width: 100%;
  margin-top: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.works__marquee + .works__marquee {
  margin-top: 16px;
}

.works__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeLeft 26s linear infinite;
}
.works__track--reverse {
  animation-name: marqueeRight;
  animation-duration: 30s;
}
.works__marquee:hover .works__track {
  animation-play-state: paused;
}

.works__set {
  display: flex;
  gap: 14px;
}

@keyframes marqueeLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.work__mini {
  position: relative;
  flex: 0 0 168px;
  width: 168px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  background: var(--gray-light);
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.work__mini:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}
.work__mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work__mini-name {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .work__mini { flex-basis: 128px; width: 128px; }
}

/* ===== News ===== */
.news__list { max-width: 800px; margin: 0 auto; }

.news__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.news__item:first-child { border-top: 1px solid var(--border); }

.news__date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--gray-mid);
  flex-shrink: 0;
  margin-top: 2px;
}

.news__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--gray-light);
  color: var(--gray);
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 1px;
}
.news__tag--service { background: rgba(229,0,28,0.08); color: var(--red); }

.news__title-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  transition: color 0.2s;
}
.news__title-link:hover { color: var(--red); }

/* ===== Contact Form ===== */
.contact__form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form__group { margin-bottom: 28px; }
.form__group--privacy { margin-top: 8px; }

.form__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-dark);
}

.form__required {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  margin-left: 6px;
  vertical-align: middle;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-jp);
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,0,28,0.1);
}

.form__input.is-error,
.form__select.is-error,
.form__textarea.is-error {
  border-color: var(--red);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form__textarea { resize: vertical; min-height: 120px; }

.form__error {
  font-size: 12px;
  color: var(--red);
  margin-top: 6px;
  min-height: 18px;
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
}
.form__checkbox input { display: none; }

.form__checkbox-mark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.form__checkbox input:checked + .form__checkbox-mark {
  background: var(--red);
  border-color: var(--red);
}
.form__checkbox input:checked + .form__checkbox-mark::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 6px; height: 10px;
  border: 2px solid white;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.form__link { color: var(--red); text-decoration: underline; }

.form__submit { text-align: center; margin-top: 16px; }

.form__success {
  text-align: center;
  padding: 32px;
  background: rgba(229,0,28,0.06);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-top: 24px;
}

/* ===== Company Table ===== */
.company__table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.8;
}

.company__table th {
  width: 220px;
  font-weight: 700;
  color: var(--gray-dark);
  background: var(--gray-light);
  white-space: nowrap;
}

.company__table td { color: var(--black); }
.company__table tr:first-child th,
.company__table tr:first-child td { border-top: 1px solid var(--border); }

/* ===== Footer ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__logo .logo__text { color: var(--white); }
.footer__logo .logo__mark { background: var(--red); }

.footer__catch {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  flex: 1;
  min-width: 200px;
}

.footer__sns {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.sns__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
}
.sns__link svg { width: 20px; height: 20px; }
.sns__link:hover { background: var(--red); color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer__nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--white); }

.footer__copy {
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .results__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; --header-h: 64px; }

  .sp-show { display: inline; }
  .sp-hide { display: none; }

  .hamburger { display: flex; }
  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { display: block; text-align: center; padding: 14px; }

  .hero__inner { flex-direction: column; align-items: stretch; gap: 32px; padding: 48px 24px 64px; }
  .hero__title { font-size: clamp(36px, 10vw, 52px); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .hero__scroll { display: none; }

  .hero__talents {
    width: 100%;
    justify-content: center;
  }
  .hero__talent-card {
    width: calc(33.33% - 11px) !important;
    margin-top: 0 !important;
    transform: none !important;
  }

  .vision__block { grid-template-columns: 1fr; }
  .strengths__grid { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: repeat(2, 1fr); }

  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner__text { font-size: 18px; }

  .contact__form { padding: 32px 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .company__table th,
  .company__table td { padding: 18px 20px; }
  .company__table th { width: 120px; font-size: 13px; }

  .footer__top { flex-direction: column; gap: 20px; }
  .footer__sns { margin-left: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .results__grid { grid-template-columns: 1fr; }
  .result__item { padding: 40px 24px; }
  .section__title { font-size: 26px; }
}

/* ===== Privacy Policy Page ===== */
.privacy-hero {
  background: var(--dark);
  padding: calc(var(--header-h) + 64px) 0 64px;
}

.privacy-hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-top: 12px;
}

.privacy__content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy__intro {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-dark);
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.privacy__section {
  margin-bottom: 48px;
}

.privacy__heading {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--red);
  line-height: 1.4;
}

.privacy__section p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-dark);
  margin-bottom: 12px;
}

.privacy__list {
  list-style: disc;
  padding-left: 24px;
  margin-top: 12px;
}

.privacy__list li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-dark);
  margin-bottom: 6px;
}

.privacy__contact-box {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 16px;
}

.privacy__contact-box p {
  margin-bottom: 8px;
}

.privacy__link {
  color: var(--red);
  text-decoration: underline;
}

.privacy__date {
  font-size: 13px;
  color: var(--gray-mid);
  text-align: right;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}


/* ============================================================
   EXPERIENCE LAYER — 演出スタイル
   ============================================================ */

/* ----- ローディング中はスクロール禁止 ----- */
body.is-loading {
  overflow: hidden;
}

/* ===== ページロードイントロ ===== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.intro__logo {
  height: clamp(140px, 22vw, 280px);
  width: auto;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}
.intro.is-logo-visible .intro__logo {
  opacity: 1;
  transform: scale(1);
}

/* ロゴの隙間を突き抜けるように大きくズームしながら退場（ネットフリックス風演出） */
.intro.is-zooming .intro__logo {
  transition: transform 0.75s cubic-bezier(0.6, 0, 0.85, 0.15), opacity 0.75s ease-in 0.15s;
  transform: scale(18);
  opacity: 0;
}

.intro__bar {
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}
.intro.is-loading .intro__bar {
  width: 200px;
}
.intro.is-zooming .intro__bar {
  transition: opacity 0.2s ease;
  opacity: 0;
}

/* イントロ退場 */
.intro.is-done {
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 0;
  visibility: hidden;
}

/* ===== カスタムカーソル ===== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9000;
  mix-blend-mode: normal;
}

.cursor__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

.cursor__ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(229, 0, 28, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.25s ease, height 0.25s ease, opacity 0.2s ease, border-color 0.2s ease;
}

/* ホバー時に拡大 */
.cursor.is-hovering .cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--red);
}
.cursor.is-hovering .cursor__ring {
  width: 56px;
  height: 56px;
  border-color: var(--red);
}

/* タッチデバイスでは非表示 */
@media (hover: none) {
  .cursor { display: none; }
}

/* ===== ヒーロー グレイン ===== */
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  animation: grainShift 0.12s steps(1) infinite;
  mix-blend-mode: overlay;
}

@keyframes grainShift {
  0%   { background-position: 0 0; }
  20%  { background-position: -20px -40px; }
  40%  { background-position: 30px 10px; }
  60%  { background-position: -10px 30px; }
  80%  { background-position: 40px -20px; }
  100% { background-position: 0 0; }
}

/* ===== テキストリビール（ヒーロー専用） ===== */
.reveal-text {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-text.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ヒーロータイトル — 1行ずつマスクリビール */
.hero__title {
  overflow: visible;
}
.reveal-line {
  display: block;
  overflow: hidden;
  line-height: 1.3;
  padding-bottom: 0.08em;
}
.reveal-line .reveal-line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-line.is-revealed .reveal-line-inner {
  transform: translateY(0);
}

/* ===== split-reveal: スクロール到達でマスク展開 ===== */
.split-reveal {
  overflow: hidden;
  position: relative;
}
.split-reveal .sr-inner {
  display: block;
  transform: translateY(100%);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.split-reveal.is-revealed .sr-inner {
  transform: translateY(0);
}

/* ===== section__label — ライン伸長演出 ===== */
.label--line {
  display: flex;
  align-items: center;
  gap: 12px;
}
.label--line::after {
  content: none;
}

/* ===== 強みアイテム — ホバー時の番号色変化 ===== */
.strength__item {
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.strength__item:hover {
  background: rgba(229, 0, 28, 0.02);
  transform: translateY(-4px);
}
.strength__item:hover .strength__num {
  color: rgba(229, 0, 28, 0.25);
  transition: color 0.3s;
}

/* ===== Result item — アクセント線 ===== */
.result__item {
  position: relative;
  overflow: hidden;
}
.result__item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.result__item.is-revealed::before {
  width: 40px;
}

/* ===== ニュースアイテム — 左スライドイン ===== */
.news__item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.news__item.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ===== CTAバナー — パルスボーダー ===== */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.005); }
}

/* ===== ボタン — 光沢スイープ ===== */
.btn--primary,
.btn--white {
  position: relative;
  overflow: hidden;
}
.btn--primary::after,
.btn--white::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn--primary:hover::after,
.btn--white:hover::after {
  left: 150%;
}

/* ===== スムーズスクロール強化 ===== */
html {
  scroll-behavior: smooth;
}
