/* Anomaly Marketing 採用サイト 共有スタイル */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

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

:root {
  --blue: #71BCE3;
  --green: #9EC877;
  --dark: #3E3A39;
  --bg: #faf8f5;
  --dark-section: #242220;
  --grad: linear-gradient(225deg, #71BCE3, #9EC877);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark);
  background: var(--bg);
  overflow-x: hidden;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px max(48px, calc((100vw - 1100px) / 2));
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: padding .3s, border-color .3s, box-shadow .3s;
}

header.scrolled {
  padding: 12px max(48px, calc((100vw - 1100px) / 2));
  border-color: rgba(62, 58, 57, .08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .06);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--grad);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 18px;
  height: 18px;
}

.logo-text .ja {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  display: block;
}

.logo-text .en {
  font-family: 'Rubik', sans-serif;
  font-size: 9px;
  color: #999;
  letter-spacing: .08em;
  display: block;
}

/* DESKTOP NAV */
nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 13px;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: .02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 6px;
  opacity: .75;
  transition: opacity .2s, background .2s;
}

.nav-link:hover {
  opacity: 1;
  background: rgba(0, 0, 0, .04);
}

.nav-link.has-drop::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  display: block;
  transition: transform .25s;
  flex-shrink: 0;
}

.nav-item:hover .nav-link.has-drop::after {
  transform: rotate(-135deg) translateY(2px);
}

/* DROPDOWN */
.nav-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  padding-top: 8px; /* transparent bridge — keeps hover active over the gap */
  min-width: 192px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 300;
}
.nav-drop::before {
  content: '';
  position: absolute;
  inset: 8px 0 0 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);
  z-index: 0;
}
.nav-item:hover .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--dark);
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}

.nav-drop a:hover {
  background: var(--bg);
}

.nav-drop a::before {
  content: '→';
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  color: var(--blue);
  flex-shrink: 0;
}

/* ENTRY BUTTON */
.btn-entry {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #fff;
  background: var(--dark);
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-entry:hover {
  opacity: .85;
  transform: translateY(-1px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE NAV OVERLAY */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #fff;
  padding: 96px 32px 48px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-section {
  margin-bottom: 28px;
}

.mobile-nav-label {
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--blue);
  margin-bottom: 8px;
}

.mobile-nav-section>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #f0ede8;
}

.mobile-nav-section>a::after {
  content: '→';
  font-family: 'Rubik', sans-serif;
  color: var(--blue);
}

.mobile-nav-sub {
  display: flex;
  flex-direction: column;
}

.mobile-nav-sub a {
  font-size: 15px;
  color: #555;
  text-decoration: none;
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid #f0ede8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-sub a::after {
  content: '›';
  color: var(--blue);
  font-size: 18px;
}

.mobile-nav-entry {
  display: block;
  text-align: center;
  margin-top: 32px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--dark);
  padding: 16px;
  border-radius: 100px;
  text-decoration: none;
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px max(48px, calc((100vw - 1100px) / 2)) 48px;
  background: linear-gradient(225deg, #71BCE3, #9EC877);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: rgba(255, 255, 255, .4);
  flex-shrink: 0;
}

.page-hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 0;
  color: #fff;
  max-width: none;
}

.page-hero-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, .75);
  margin-top: 20px;
  line-height: 1.9;
  letter-spacing: .01em;
  max-width: 640px;
}

.page-hero.dark .page-hero-sub {
  color: rgba(255, 255, 255, .6);
}

.hero-deco {
  display: none;
}

/* ============================================================
   PHOTO PLACEHOLDER
   ============================================================ */
.photo-placeholder {
  background: #e0e0e0;
  display: block;
}
.card-image .photo-placeholder,
.job-card-left .photo-placeholder,
.member-card-top .photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.profile-photo .photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
.job-summary-img .photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  display: block;
}
.interview-photo .photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.partner-badge .photo-placeholder {
  width: 160px;
  height: 56px;
  border-radius: 6px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: 80px max(48px, calc((100vw - 1100px) / 2));
}
.sec-white {
  background: #fff;
}

.section-label {
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 52px;
}

.section-label span {
  color: #bbb;
}

.section-label.light {
  color: rgba(113, 188, 227, .7);
}

.section-label.light span {
  color: rgba(255, 255, 255, .2);
}

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

.section-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.section-heading::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--blue);
  margin-top: 10px;
}

.section-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #777;
  max-width: 440px;
}

.dark-bg {
  background: var(--dark-section);
}

.dark-bg .section-heading {
  color: #fff;
}

.dark-bg .section-desc {
  color: rgba(255, 255, 255, .45);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-hero {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--dark);
  background: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.btn-dark {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #fff;
  background: var(--dark);
  padding: 14px 36px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s, opacity .2s;
}

.btn-dark:hover {
  transform: translateY(-2px);
  opacity: .85;
}

.btn-white {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--dark);
  background: #fff;
  padding: 12px 28px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.btn-grad {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #fff;
  background: var(--grad);
  padding: 14px 36px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s, opacity .2s;
}

.btn-grad:hover {
  transform: translateY(-2px);
  opacity: .9;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
#cta {
  background: var(--dark-section);
  padding: 140px max(48px, calc((100vw - 1100px) / 2));
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(113, 188, 227, .08), transparent 70%);
}

.cta-label {
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .3);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, .2);
}

.cta-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.cta-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 48px;
}

.btn-entry-light {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--dark);
  background: #fff;
  padding: 16px 40px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
}

.btn-entry-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, .15);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1a1917;
  padding: 72px max(48px, calc((100vw - 1100px) / 2)) 48px;
}

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-head {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .2s;
  line-height: 1.6;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, .85);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-policy {
  font-size: 11px;
  color: rgba(255, 255, 255, .3);
  text-decoration: none;
  transition: color .2s;
}

.footer-policy:hover {
  color: rgba(255, 255, 255, .6);
}

.footer-copy {
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, .2);
  letter-spacing: .06em;
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .1);
}

.card-link {
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.card-link:hover {
  gap: 10px;
}

/* ============================================================
   MEMBER CARDS
   ============================================================ */
.member-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .15);
}

.member-card-top {
  height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.m-green {
  background: linear-gradient(160deg, #9EC877, #71BCE3);
}

.m-blue {
  background: linear-gradient(160deg, #71BCE3, #9EC877);
}

.m-dark {
  background: linear-gradient(160deg, #4a8aaa, #3a6e8f);
}

.member-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'Rubik', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 100px;
}

.member-initial {
  font-family: 'Rubik', sans-serif;
  font-size: 160px;
  font-weight: 700;
  color: rgba(255, 255, 255, .25);
  line-height: 1;
  user-select: none;
}

.member-card-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.member-card-num {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .06em;
}

.member-card-body {
  background: #fff;
  padding: 28px 24px;
}

.member-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.member-role {
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}

.member-en {
  font-family: 'Rubik', sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
  color: #ccc;
  margin-bottom: 16px;
}

.member-quote {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--blue);
}

.member-link {
  font-family: 'Rubik', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.member-link:hover {
  gap: 10px;
}

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.img-placeholder {
  width: 100%;
  background: #eee;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  position: relative;
}

.img-placeholder::after {
  content: 'PHOTO';
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  header {
    padding: 18px 40px;
  }

  header.scrolled {
    padding: 12px 40px;
  }

  nav {
    gap: 0;
    margin-right: 16px;
  }

  .nav-link {
    padding: 8px 8px;
    font-size: 12px;
  }

  section {
    padding: 72px 40px;
  }

  .page-hero {
    padding: 120px 40px 64px;
  }

  #cta {
    padding: 100px 40px;
  }

  footer {
    padding: 56px 40px 40px;
  }

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

  .section-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  header {
    padding: 16px 20px;
  }

  header.scrolled {
    padding: 12px 20px;
  }

  nav {
    display: none;
  }

  .btn-entry {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .page-hero {
    padding: 100px 20px 48px;
    min-height: 50vh;
  }

  .page-hero-title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .page-hero-sub {
    font-size: 14px;
  }

  section {
    padding: 72px 20px;
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }

  .section-label {
    margin-bottom: 36px;
  }

  #cta {
    padding: 64px 20px;
  }

  .cta-heading {
    font-size: clamp(32px, 9vw, 52px);
  }

  footer {
    padding: 40px 20px;
  }

  .footer-sitemap {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-bottom-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .member-card-top {
    height: 260px;
  }

  .member-initial {
    font-size: 120px;
  }
}