/* ── VARIABLES & RESET ── */
/* Google Fonts は functions.php から wp_enqueue_style で読み込み */

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


/* WordPress 管理バー表示時の sticky ヘッダー調整 */
.admin-bar .top-header {
  top: 32px;
}
.admin-bar .section-navigation {
  top: 84px;
}
@media screen and (max-width: 782px) {
  .admin-bar .top-header {
    top: 46px;
  }
  .admin-bar .section-navigation {
    top: 98px;
  }
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

:root {
  --navy: #12284c;
  --navy2: #1c3a6e;
  --accent: #f07300;
  --accent2: #ffa040;
  --pg: #00c875;
  --pb: #3b82f6;
  --py: #ffd600;
  --pp: #9b59b6;
  --bg: #f5f7fa;
  --bg2: #edf1f7;
  --wh: #fff;
  --muted: #617390;
  --muted-light: rgba(97, 115, 144, 0.7);
  --muted-lighter: rgba(255, 255, 255, 0.4);
  --bdr: #d5dde8;
  --ink: #0d1b2a;
  --r: 10px;
  --rl: 16px;
  --rxl: 24px;
  --r2: 32px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── TOP HEADER ── */
.top-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bdr);
  height: 52px;
}

.top-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.top-header__logo {

  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.top-header__logo em {
  color: var(--accent);
  font-style: normal;
}

.top-header__subtitle {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}

/* ── SECTION NAVIGATION ── */
.section-navigation {
  background: var(--navy);
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 52px;
  z-index: 200;
}

.section-navigation::-webkit-scrollbar {
  display: none;
}

.section-navigation__inner {
  display: flex;
  min-width: max-content;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: .2s;
  gap: 1px;
}

.nav-item:hover {
  background: rgba(255, 255, 255, .07);
}

.nav-item--entry {
  padding: 0 !important;
}

.nav-item__link {
  text-decoration: none;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding: 9px 16px;
  width: 100%;
  height: 100%;
  transition: .2s;
}

.nav-item__link .nav-item__jp {
  transition: color .2s;
}

.nav-item--entry:hover {
  background: rgba(255, 255, 255, .07);
}

.nav-item--entry:hover .nav-item__jp {
  color: #fff;
}


.nav-indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 -2px 10px rgba(240, 115, 0, 0.3);
}

.nav-item__eng {

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .35);
}

.nav-item__jp {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
}

.nav-item.is-active .nav-item__eng {
  color: var(--accent2);
}

.nav-item.is-active .nav-item__jp {
  color: #fff;
}

/* ── PAGES ── */
.page-content {
  display: none;
}

.page-content.is-active {
  display: block;
  animation: pageReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    filter: blur(4px);
  }

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

/* ── COMMON CLASS WRAPPERS ── */
.section {
  padding: 56px 0;
}

.section-background {
  background: var(--bg);
  border-radius: var(--r2);
  margin: 20px 0;
  padding: 40px 36px;
}

.section-navy {
  background: var(--navy);
  border-radius: var(--r2);
  margin: 20px 0;
  padding: 40px 36px;
  color: #fff;
}

.section-dark {
  background: var(--ink);
  border-radius: var(--r2);
  margin: 20px 0;
  padding: 40px 36px;
  color: #fff;
}

/* ── TITLES & LABELS ── */
.section-label {

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-label--white {
  color: var(--accent2);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(23px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.5px;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-title--white {
  color: #fff;
}

.section-title--xl {
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
}

.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 540px;
}

.section-subtitle--white {
  color: rgba(255, 255, 255, .65);
}

/* ── CARDS ── */
.card {
  border-radius: var(--rl);
  padding: 16px 20px;
  transition: .2s;
}

.card--light {
  background: #fff;
  border: 1px solid var(--bdr);
}

.card--highlight {
  background: #fff;
  border-left: 3px solid var(--accent);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-title--navy {
  color: var(--navy);
}

.card-title--accent {
  color: var(--accent);
}

.card-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── BUTTONS ── */
.button {
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 20px;
  transition: .2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.button--accent {
  background: var(--accent);
  color: #fff;
}

.button--accent:hover {
  background: var(--accent2);
}

.button--primary {
  background: var(--navy);
  color: #fff;
}

.button--primary:hover {
  background: var(--navy2);
}

.button--secondary {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--bdr);
}

.button--secondary:hover {
  background: var(--bg);
  border-color: var(--navy);
}

.button--outline {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--bdr);
}

.button--outline:hover {
  background: var(--bg);
  color: var(--navy);
  border-color: var(--navy);
}

/* ── CHECKLIST ── */
.checklist {
  list-style: none;
}

.checklist-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-dot {
  width: 18px;
  height: 18px;
  background: var(--pg);
  border-radius: 50%;
  position: relative;
}

.checklist-dot::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 6px;
  width: 3px;
  height: 6px;
  border: 1.5px solid #fff;
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
}

/* ── AVATARS ── */
.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

.avatar-circle--accent {
  background: var(--accent);
}

/* ── PRESIDENT SECTION ── */
.president-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.president-visual {
  flex-shrink: 0;
  width: 130px;
}

.president-img-mask {
  width: 130px;
  height: 130px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.1);
  background: var(--bg);
}

.president-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.president-body {
  flex: 1;
}

.president-info {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .president-container {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }
}

/* ── UTILITY CLASSES ── */
.u-text-center {
  text-align: center !important;
}

.u-text-right {
  text-align: right !important;
}

.u-text-left {
  text-align: left !important;
}

.u-text-bold {
  font-weight: 700 !important;
}

.u-text-xs {
  font-size: 12px !important;
}

.u-text-xxs {
  font-size: 10px !important;
}

.u-text-sm {
  font-size: 14px !important;
}

.u-text-md {
  font-size: 17px !important;
}

.u-text-lg {
  font-size: 22px !important;
}

.u-muted {
  color: var(--muted) !important;
}

.u-muted--light {
  color: var(--muted-light) !important;
}

.u-muted--lighter {
  color: var(--muted-lighter) !important;
}

.u-white {
  color: #fff !important;
}

.u-navy {
  color: var(--navy) !important;
}

.u-accent {
  color: var(--accent) !important;
}

.u-accent2 {
  color: var(--accent2) !important;
}

.u-bg-accent {
  background-color: var(--accent) !important;
}

.u-bg-navy {
  background-color: var(--navy) !important;
}

.u-bg-blue {
  background-color: var(--pb) !important;
}

.u-bg-orange {
  background-color: var(--accent) !important;
}

.u-bg-orange-light {
  background-color: var(--accent2) !important;
}

.u-bg-green {
  background-color: var(--pg) !important;
}

.u-bg-purple {
  background-color: var(--pp) !important;
}

.u-mb-4 {
  margin-bottom: 4px !important;
}

.u-mb-8 {
  margin-bottom: 8px !important;
}

.u-mb-16 {
  margin-bottom: 16px !important;
}

.u-mb-24 {
  margin-bottom: 24px !important;
}

.u-mb-32 {
  margin-bottom: 32px !important;
}

.u-mt-4 {
  margin-top: 4px !important;
}

.u-mt-12 {
  margin-top: 12px !important;
}

.u-mt-16 {
  margin-top: 16px !important;
}

.u-mt-24 {
  margin-top: 24px !important;
}

.u-mt-32 {
  margin-top: 32px !important;
}

.u-p-32 {
  padding: 32px !important;
}

.u-pt-12 {
  padding-top: 12px !important;
}

.u-pt-24 {
  padding-top: 24px !important;
}

.u-pt-32 {
  padding-top: 32px !important;
}

.u-pb-8 {
  padding-bottom: 8px !important;
}

.u-pb-16 {
  padding-bottom: 16px !important;
}

.u-pb-32 {
  padding-bottom: 32px !important;
}

.u-ml-8 {
  margin-left: 8px !important;
}

.u-flex {
  display: flex !important;
}

.u-flex-column {
  flex-direction: column !important;
}

.u-flex-center {
  justify-content: center !important;
  align-items: center !important;
}

.u-flex-center-y {
  align-items: center !important;
}

.u-flex-wrap {
  flex-wrap: wrap !important;
}

.u-gap-8 {
  gap: 8px !important;
}

.u-gap-12 {
  gap: 12px !important;
}

.u-max-w-none {
  max-width: none !important;
}

.u-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.u-grid-career {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .u-grid-career {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── MARQUEE ── */
.marquee-wrapper {
  overflow: hidden;
  padding: 12px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 2%;
}

.marquee-wrapper--dark {
  background: var(--navy);
}

.marquee-wrapper--light {
  background: var(--bg);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
}

.marquee-track--reverse {
  animation-direction: reverse;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  margin: 0 5px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  backface-visibility: hidden;
}

.marquee-content--dark {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
}

.marquee-content--light {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--bdr);
}

.marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.marquee-quote {
  color: var(--accent);
  font-size: 16px;
}

/* ── FINAL CTA BOX ── */
.footer-cta-box {
  background: var(--navy);
  border-radius: var(--r2);
  padding: 60px 40px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.footer-cta-title {

  font-size: clamp(24px, 5vw, 36px);
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.footer-cta-subtitle {
  color: rgba(255, 255, 255, .6);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.footer-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.footer-cta-button {
  padding: 14px 28px;
  border-radius: var(--r);
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.footer-cta-button--primary {
  background: var(--accent);
  color: #fff;
  border: none;
}

.footer-cta-button--primary:hover {
  background: var(--accent2);
}

.footer-cta-button--outline {
  background: rgba(255, 255, 255, .05);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .2);
}

.footer-cta-button--outline:hover {
  background: rgba(255, 255, 255, .15);
}

/* ── RECRUITER MINI CARD ── */
.recruiter-card {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, .05);
  padding: 16px 20px;
  border-radius: var(--rl);
  margin-bottom: 24px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .1);
}

.recruiter-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 18px;
}

.recruiter-name {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.recruiter-role {
  color: rgba(255, 255, 255, .4);
  font-size: 11px;
}

.recruiter-message {
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  margin-top: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .u-grid-2col {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .section-background,
  .section-navy,
  .section-dark {
    padding: 32px 20px;
  }

  .footer-cta-box {
    padding: 40px 20px;
  }
}

/* ── PAGE HEADERS ── */
.page-header {
  position: relative;
  padding: 80px 0 60px;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--bdr);
}

.page-header__bg-text {
  position: absolute;
  top: 50%;
  left: -2%;
  transform: translateY(-45%);

  font-size: clamp(100px, 18vw, 240px);
  font-weight: 800;
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -5px;
}

.page-header__content {
  position: relative;
  z-index: 10;
}

.page-header__jp {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  color: var(--navy);
  margin-top: -10px;
  padding-left: 2px;
  display: block;
}

/* Decoration */
.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background-image:
    linear-gradient(30deg, rgba(0, 0, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(0, 0, 0, 0.03) 87.5%, rgba(0, 0, 0, 0.03)),
    linear-gradient(150deg, rgba(0, 0, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(0, 0, 0, 0.03) 87.5%, rgba(0, 0, 0, 0.03)),
    linear-gradient(30deg, rgba(0, 0, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(0, 0, 0, 0.03) 87.5%, rgba(0, 0, 0, 0.03)),
    linear-gradient(150deg, rgba(0, 0, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(0, 0, 0, 0.03) 87.5%, rgba(0, 0, 0, 0.03)),
    linear-gradient(60deg, rgba(0, 0, 0, 0.05) 25%, transparent 25.5%, transparent 75%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0.05)),
    linear-gradient(60deg, rgba(0, 0, 0, 0.05) 25%, transparent 25.5%, transparent 75%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0.05));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  mask-image: linear-gradient(to left, black, transparent);
  pointer-events: none;
}

/* Variations */
.page-header--message .page-header__bg-text {
  color: #008080;
  opacity: 0.15;
}

.page-header--voice .page-header__bg-text {
  color: #4db8d8;
  opacity: 0.2;
}

.page-header--work .page-header__bg-text {
  color: var(--pp);
  opacity: 0.15;
}

.page-header--data .page-header__bg-text {
  color: var(--pb);
  opacity: 0.15;
}

.page-header--jobs .page-header__bg-text {
  color: var(--accent);
  opacity: 0.15;
}

@media (max-width: 768px) {
  .page-header {
    padding: 60px 0 40px;
  }

  .page-header__bg-text {
    left: -5%;
  }
}