/* eco-recruit — Design System */

/* ===== Variables ===== */
:root {
  --color-primary: #e60012;
  --color-primary-dark: #c00010;
  --color-text: #000;
  --color-text-light: #666;
  --color-text-white: #fff;
  --color-bg: #fff;
  --color-bg-light: #eef0f4;
  --color-bg-dark: #333;
  --color-border-light: #eee;
  --color-border: #ddd;
  --container: 1120px;
  --container-wide: 1280px;
  --font-ja:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  /* --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-catch: "Zen Old Mincho", "Noto Serif JP", serif; */
  --font-en: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --transition: 0.25s ease;
  /* Background images */
  --bg-front-top-image: url("../images/backgrount-top-page.jpg");
  --bg-top-image: url("../images/background-img.jpg");
  --bg-repeat-image: url("../images/background-repeat.jpg");
  --bg-repeat-image-gray: url("../images/background-gray.jpg");
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  line-height: 1.8;
  color: var(--color-text);
  background-color: #f4f4f4;
  background-image: var(--bg-top-image), var(--bg-repeat-image);
  background-position:
    center top,
    center top;
  background-repeat: no-repeat, repeat-y;
  background-size:
    100% auto,
    100% auto;
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
}

/* Front top page only: add dedicated top-most background */
body.home:not(.blog) {
  background-image:
    var(--bg-front-top-image), var(--bg-top-image), var(--bg-repeat-image);
  background-position:
    center top,
    center top,
    center top;
  background-repeat: no-repeat, no-repeat, repeat-y;
  background-size:
    100% auto,
    100% auto,
    100% auto;
}

/* Hero section background fade-out */
.hero {
  background-color: white;
  animation: fadeOutBackground 0.8s ease-in-out forwards 1.6s;
}

/* Hero fade-in animations for individual elements */
.animate-fade-in-1,
.animate-fade-in-2,
.animate-fade-in-3 {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.animate-fade-in-1.is-visible,
.animate-fade-in-2.is-visible,
.animate-fade-in-3.is-visible {
  opacity: 1;
}

@keyframes fadeOutBackground {
  from {
    background-color: white;
  }
  to {
    background-color: transparent;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover {
  opacity: 0.7;
}

a.article-card__body:hover {
  opacity: 1;
}

a.job-card:hover {
  opacity: 1;
}

a.cta-banner__card:hover {
  opacity: 1;
}

ul,
ol {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container--special-contents-wide {
  max-width: calc(var(--container) + 70px);
}

.container--wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section--gray {
  background-color: var(--color-bg-light);
  background-image: var(--bg-repeat-image-gray);
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
}

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

.home-white-bg {
  background-color: #fff;
}

/* ===== Typography ===== */
.section-label {
  /* font-family: var(--font-en); */
  font-size: 14px;
  font-weight: 600;
  /* letter-spacing: 0.15em; */
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-title--en {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  /* letter-spacing: 0.05em; */
}

.section-lead {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: 640px;
}

/* Section Heading styles moved to components/section-heading.css */

@media (max-width: 768px) {
  .section {
    padding: 20px 0;
  }

  /* section-heading responsive rules moved to components/section-heading.css */

  /* ===== Header SP ===== */
  .site-header {
    height: 56px;
  }
  .site-header__inner {
    padding: 0 16px;
  }
  .site-header__logo-img {
    height: 24px;
  }
  .site-header__logo-text small {
    font-size: 11px;
  }
  .site-header__logo-sub {
    font-size: 10px;
  }
  .site-header__menu-label {
    font-size: 12px;
  }
  .site-header__menu-icon {
    width: 16px;
    height: 16px;
    gap: 2px;
  }
  .site-header__menu-icon span {
    width: 3px;
    height: 3px;
  }

  /* ===== Mega Menu SP ===== */
  .mega-menu {
    padding-top: 56px;
  }
  .mega-menu__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0;
  }
  /* .mega-menu__heading {
    font-size: 18px;
    margin-bottom: 4px;
  } */
  /* .mega-menu__heading-ja {
    font-size: 18px;
  } */
  .mega-menu__list a {
    font-size: 14px;
    padding: 14px 0;
  }
  .mega-menu__num {
    font-size: 10px;
    padding: 2px 8px;
  }
  .mega-menu__text {
    font-size: 14px;
  }
  .mega-menu__links {
    flex-direction: column;
    gap: 8px;
  }
  .mega-menu__link-card {
    min-height: 60px;
    padding: 16px;
    flex-direction: row;
    gap: 12px;
  }
  .mega-menu__link-en {
    font-size: 16px;
    margin-bottom: 0;
  }
  .mega-menu__link-ja {
    font-size: 12px;
  }
  .mega-menu__bottom-inner {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .mega-menu__cta {
    gap: 8px;
  }
  .mega-menu__cta .btn--outline-round,
  .mega-menu__cta .btn--primary-round {
    padding: 12px 28px;
    font-size: 14px;
  }

  /* ===== Hero SP ===== */
  .hero {
    margin-top: 56px;
  }
  .hero__photos-top {
    padding: 16px 0 0;
  }
  .hero__photos-top .hero__photos-track,
  .hero__photos-bottom .hero__photos-track {
    gap: 16px;
  }
  .hero__photo--sm {
    width: 160px;
    height: 120px;
  }
  .hero__photo--lg {
    width: 220px;
    height: 160px;
  }
  .hero__photo--md {
    width: 140px;
    height: 100px;
  }
  .hero__catch {
    padding: 24px 16px 12px;
  }
  .hero__title-ja {
    font-size: 28px;
  }
  .hero__title-en {
    font-size: 14px;
  }
  .hero__scroll-line {
    right: 0;
    bottom: 0;
  }
  .hero__scroll-text {
    font-size: 10px;
  }

  /* ===== Floating CTA SP ===== */
  .floating-cta {
    display: none !important;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    gap: 0;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .floating-cta__btn {
    flex: 1;
    justify-content: center;
    border-radius: 0;
    padding: 14px 8px;
    font-size: 13px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  }

  /* ===== Footer SP ===== */
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 0 24px;
    gap: 24px;
  }
  .site-footer__brand {
    align-items: center;
  }
  .site-footer__right {
    align-items: center !important;
  }
  .site-footer__links {
    text-align: center;
  }
  .site-footer__copy {
    font-size: 12px;
    padding: 14px 0;
  }

  /* ===== CTA Banner SP ===== */
  .cta-banner {
    padding: 60px 16px 40px;
  }
  .cta-banner__cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .cta-banner__card {
    width: 100%;
    max-width: 100%;
    padding: 28px 20px;
  }
  .cta-banner__en {
    font-size: 24px;
  }

  /* ===== Theme Banner SP ===== */
  .theme-banner {
    padding: 20px 0;
  }

  /* ===== Marquee SP ===== */
  .marquee {
    padding: 20px 0;
  }
  .marquee__text {
    font-size: 40px;
    padding-right: 40px;
  }

  /* ===== Special Feature SP ===== */
  .special-feature {
    gap: 20px;
    margin-bottom: 48px;
  }

  /* ===== Link Section SP ===== */
  .link-section__bg-text span {
    font-size: 24px;
  }
  .link-section__bg-text p {
    font-size: 14px;
  }

  /* ===== Interview Card SP ===== */
  .interview-card__catch {
    font-size: 18px;
  }
  .interview-card__name {
    font-size: 20px;
  }
  .interview-card__dept {
    font-size: 13px;
  }

  /* ===== Job Card SP extras ===== */
  .job-card__title {
    font-size: 20px;
  }

  /* ===== Breadcrumb SP ===== */
  .breadcrumb {
    margin-top: 56px;
  }

  /* ===== Page Header SP ===== */
  .page-header {
    padding: 40px 0 32px;
  }

  /* ===== Special Card SP ===== */
  .special-card__img-wrap {
    width: 160px;
    height: 160px;
  }
  .special-card::before {
    width: 220px;
    height: 220px;
    top: -20px;
  }

  /* ===== Bottom padding for floating CTA ===== */
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  opacity: 1;
}

.btn--white {
  background: #fff;
  color: var(--color-text);
}

.btn--arrow::after {
  content: "→";
  font-size: 14px;
}

/* VIEW MORE button (Figma) */
.btn--view-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0px 20px;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: clamp(15px, 2vw, 16px);
  font-weight: 600;
  /* letter-spacing: 0.05em; */
  background: #fff;
  text-decoration: none;
  transition: all var(--transition);
  max-width: 176px;
  height: 36px;
  min-height: 36px;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn--view-more .btn__spacer {
  display: none;
}

.btn--view-more:hover {
  background: var(--color-primary);
  color: #fff;
  opacity: 1;
}

.btn--view-more--filled {
  background: var(--color-primary);
  color: #fff;
}

.btn--view-more--filled:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn--view-more .btn__circle-arrow {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--view-more--filled .btn__circle-arrow {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

/* ===== Grid ===== */
.grid {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ===== Cards (generic) ===== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

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

.card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: 20px;
}

.card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.card__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.card__meta {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 12px;
}

/* ===== Job Card (shared component) ===== */
.job-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
  margin-bottom: 16px;
  padding: 0;
}
/* 
.job-card:hover {
  border-color: var(--color-primary, #e60012);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
} */

.job-card__media {
  flex-shrink: 0;
  width: 280px;
  height: 134px;
  border-radius: 6px 0 0 6px;
  overflow: hidden;
  background: #f0f0f0;
}

.job-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-card__media-placeholder {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
}

.job-card__body {
  flex: 1;
  min-width: 0;
  padding-right: 140px;
}

.job-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: rgb(0, 0, 0);
}

.job-card__text {
  font-size: 14px;
  color: rgb(0, 0, 0);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card .btn--view-more {
  position: absolute;
  right: 20px;
  top: 20px;
  white-space: nowrap;
}

.job-card:hover .btn--view-more {
  background: var(--color-primary) !important;
  color: #fff !important;
  opacity: 1 !important;
}

.job-card:hover .btn--view-more .btn__circle-arrow {
  background: #fff !important;
  color: var(--color-primary) !important;
}

@media (max-width: 769px) {
  .job-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .job-card__media {
    display: none;
  }
  .job-card__body {
    padding-right: 0;
    padding-left: 0;
  }
  .job-card .btn--view-more {
    position: static;
    width: 176px;
    margin-top: 12px;
    margin-left: auto;
    margin-right: 15px;
  }

  .btn--view-more {
    width: 176px;
    height: 36px;
  }
}

.section__heading-sm {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary, #e60012);
}

/* ===== Interview Card (大写真 + 左下赤番号タグ) ===== */
.interview-card {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  /* background: #fff; */
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* box-shadow: var(--shadow); */
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.interview-card:hover .btn--view-more {
  background: var(--color-primary);
  color: #fff;
  opacity: 1;
}

.interview-card__media {
  position: relative;
  background: var(--color-bg-light);
  width: 100%;
}

.interview-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.interview-card__num {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 16px;
  font-family: var(--font-en);
  font-size: clamp(13.5px, 2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.05em;
  /* border-radius: 4px; */
  z-index: 2;
}

.interview-card__body {
  /* padding: 24px; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.interview-card__body.is-clickable {
  padding: 0;
}
.interview-card__name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  /* margin-bottom: 8px; */
  color: var(--color-text);
}

.interview-card__role {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.interview-card__excerpt {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
}

@media (max-width: 900px) {
  .interview-card {
    grid-template-columns: 1fr;
  }
  .interview-card__body {
    padding: 20px;
  }
}

/* ===== Special Card (3カラム：丸画像 + テキスト + VIEW MORE) ===== */
.special-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .special-grid {
    grid-template-columns: 1fr;
  }
  .interview-card__media {
    margin-bottom: 0;
  }
  .interview-card__body {
    padding-top: 12px;
    padding-bottom: 0px;
  }
}

.special-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 24px;
  transition:
    box-shadow var(--transition),
    transform var(--transition),
    border-color var(--transition);
}

.special-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.special-card__thumb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  background: var(--color-bg-light);
}

.special-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-card__title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--color-text);
}

.special-card__text {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 18px;
}

.special-card__actions {
  display: flex;
  justify-content: center;
}

/* ===== CTA Banner (COMPANY/FAQ) ===== */
.cta-banner {
  position: relative;
  background: url("../images/footer-building_pc.jpg") 75% 15% / cover no-repeat;
  padding: 100px 0;
  min-height: 450px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.cta-banner__cards {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.cta-banner__card {
  width: 500px;
  max-width: calc(50% - 20px);
  padding: 20px 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: var(--color-text);
  min-height: 240px;
  text-align: left;
}

.cta-banner__en {
  font-family: var(--font-en);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  /* font-style: italic; */
  color: var(--color-primary);
  line-height: 1;
}

.cta-banner__ja {
  font-size: clamp(13.5px, 2vw, 24px);
  font-weight: 400;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-banner__dot {
  color: var(--color-primary);
  font-size: clamp(6px, 1.2vw, 14px);
  position: relative;
  top: 2px;
}

.cta-banner__btn {
  margin-top: auto;
  align-self: flex-end;
  min-width: 162px !important;
}

.cta-banner__card:hover .cta-banner__btn {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 140px 14px 60px;
    min-height: auto;
    background-image: url("../images/footer-building_sp.jpg");
    background-position: 65% 0;
  }
  .cta-banner__cards {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .cta-banner__card {
    width: 100%;
    max-width: 400px;
    /* padding: 36px 28px; */
    min-height: auto;
  }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border-light);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* max-width: var(--container-wide); */
  margin: 0 auto;
  padding: 0 40px;
}

/* Logo */
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 35px;
  text-decoration: none;
  color: var(--color-text);
}

.site-header__logo-mark {
  font-size: 28px;
  color: var(--color-primary);
  line-height: 1;
}

.site-header__logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-header__logo-text strong {
  /* font-family: var(--font-en); */
  font-size: 28px;
  font-weight: 900;
  /* :0.04em; */
  color: var(--color-text);
}

.site-header__logo-text small {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.site-header__logo-sub {
  color: var(--color-primary);
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 14px;
}

/* Menu button (center) */
.site-header__menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.site-header__menu-icon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 18px;
  height: 18px;
}

.site-header__menu-icon span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
}

.site-header__menu-label {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  /* letter-spacing: 0.08em; */
  color: var(--color-text);
}

/* CTA group (right) */
.site-header__cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== Header Responsive (770px+) ===== */
@media (min-width: 771px) {
  .site-header__logo-text strong {
    font-size: clamp(18px, 2.5vw, 28px);
  }
  .site-header__logo-text small {
    font-size: clamp(12px, 1.5vw, 16px);
  }
  .site-header__logo-sub {
    font-size: clamp(10px, 1.2vw, 14px);
  }
  .site-header__menu-label {
    font-size: clamp(12px, 1.3vw, 15px);
  }
}

/* ===== Header Tablet (960px) ===== */
@media (max-width: 960px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .site-header__logo {
    grid-column: 1 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
  }
  .site-header__logo-img {
    grid-column: 1;
    justify-self: start;
  }
  .site-header__logo-text {
    grid-column: 2;
    justify-self: center;
  }
  .site-header__menu-btn {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    z-index: 1;
  }
  .site-header__cta-group {
    display: none;
  }
}

/* ===== Header SP Small (520px) ===== */
@media (max-width: 520px) {
  .site-header__inner {
    grid-template-columns: 82px 1fr 78px;
    padding: 0 2px;
  }
  .site-header__logo {
    grid-template-columns: 82px 1fr 78px;
  }
  .site-header__logo-img {
    width: 82px;
    padding: 2px;
    padding-left: 12px;
  }
  .site-header__logo-text {
    grid-column: 2;
    justify-self: center;
    /* max-width: 133px; */
  }
  .site-header__logo-text small {
    font-size: 13px;
  }
  .site-header__logo-sub {
    font-size: 12px;
  }
  .site-header__menu-btn {
    width: 78px;
    justify-content: flex-end;
  }
}

/* Round buttons */
.btn--outline-round {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0px 24px;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 400;
  background: #fff;
  text-decoration: none;
  transition: all var(--transition);
  min-width: 180px;
  height: 44px;
}

.btn--outline-round .btn__spacer {
  display: none;
}

.btn--outline-round:hover {
  background: var(--color-primary);
  color: #fff;
  opacity: 1;
}

.btn--primary-round {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0px 24px;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  background: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition);
  min-width: 180px;
  height: 44px;
}

.btn--primary-round .btn__spacer {
  display: none;
}

.btn--primary-round:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  opacity: 1;
}

.btn__circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 0;
  line-height: 0;
  position: relative;
  top: 1px;
}

/* .btn__text {
} */

.btn__spacer {
  width: 22px;
  height: 22px;
}

.btn__circle-arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  transform: translateX(1px);
}

.btn--outline-round .btn__circle-arrow {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary-round .btn__circle-arrow {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

/* ===== Floating CTA (right-bottom fixed) ===== */
.floating-cta {
  position: fixed;
  right: 0px;
  bottom: 0px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--color-primary);
  padding: 17px;
}

.floating-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  background: #fff;
  color: var(--color-primary);
  border: none;
  min-width: 180px;
  height: 44px;
  white-space: nowrap;
}

.floating-cta__btn .btn__spacer {
  display: none;
}

.floating-cta__btn .btn__circle-arrow {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  width: 16px;
  height: 16px;
}

.floating-cta__btn .btn__text {
}

.floating-cta__btn--mid {
  background: #fff;
  color: var(--color-primary);
}

.floating-cta__btn--new {
  background: #fff;
  color: var(--color-primary);
}

.floating-cta__btn:hover {
  background: #f5f5f5;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* SP用フローティングCTA（横長） */
.floating-cta--sp {
  display: none;
}

@media (max-width: 770px) {
  .floating-cta {
    display: none;
  }

  .floating-cta--sp {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    flex-direction: row;
    gap: 12px;
    background: var(--color-primary);
    padding: 12px 16px;
    justify-content: center;
  }

  .floating-cta--sp .floating-cta__btn {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    font-size: 14px;
    height: 40px;
  }
}

/* ===== Mega Menu ===== */
.mega-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 999;
  overflow-y: auto;
  padding: 0 0 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu__panel {
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  /* border-radius: 16px; */
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px 16px;
}

@media (min-width: 769px) {
  .mega-menu__inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    padding: 28px 32px 24px;
  }
}

@media (min-width: 1300px) {
  .mega-menu__inner {
    grid-template-columns: 426.5px 307px 474px;
    gap: 40px;
    justify-content: center;
  }
}

/* .mega-menu__heading {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
} */

.mega-menu__heading-ja {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  /* margin-bottom: 11px; */
}

.mega-menu__heading-ja::first-letter {
  color: var(--color-primary);
  font-size: 8px;
  vertical-align: middle;
}

.mega-menu__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.mega-menu__list li {
  margin-bottom: 0;
}

.mega-menu__list a {
  display: flex;
  align-items: center;
  position: relative;
  padding: 8px 44px 8px 0;
  color: var(--color-text);
  text-decoration: none;
  font-size: clamp(14px, 2.2vw, 16px);
  border-bottom: 1px solid #ddd;
  transition: color 0.2s;
}

@media (max-width: 769px) {
  /* mega-menu が header の下から始まるように維持 */
  .mega-menu {
    top: 80px;
    padding: 0;
  }

  .mega-menu__panel {
    padding: 0 16px;
    max-height: calc(100vh - 80px);
  }

  .mega-menu__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0;
  }

  /* 矢印を小さくする */
  .mega-menu__list a::before {
    right: 7px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 5px solid #fff;
  }
  .mega-menu__list a::after {
    width: 24px;
    height: 24px;
    right: 0;
  }
  .mega-menu__list a {
    padding: 12px 36px 12px 0;
    font-size: 14px;
  }

  /* フォントサイズ調整 */
  /* .mega-menu__heading {
    font-size: 20px;
  } */
  .mega-menu__heading-ja {
    font-size: 16px;
  }
  .mega-menu__num {
    font-size: 13px;
    min-width: 79.5px !important;
  }
  .mega-menu__text {
    font-size: 15px;
  }
  .mega-menu__list--sub a {
    font-size: 14px;
  }
  .mega-menu__interview-name {
    font-size: 16px;
  }
  .mega-menu__interview-name-en {
    font-size: 12px;
  }
  .mega-menu__interview-dept {
    font-size: 13px;
  }

  /* 下部リンク */
  .mega-menu__bottom-links {
    gap: 8px;
  }
  .mega-menu__bottom-link {
    font-size: 13px;
    padding: 8px 0;
  }
  .mega-menu__bottom-link-arrow {
    width: 24px;
    height: 24px;
    margin-left: 8px;
  }
  .mega-menu__bottom-link-arrow::before {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
  }
}

/* その他のリンク（ボーダーなし） */
.mega-menu__list-more a {
  border-bottom: none !important;
}

/* Red circle + white play triangle (pure CSS, no external assets) */
.mega-menu__list a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
}

.mega-menu__list a::before {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #fff;
  z-index: 1;
}

.mega-menu__list a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.mega-menu__label {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mega-menu__num {
  display: inline-block;
  background: var(--color-primary);
  min-width: 106px;
  color: #fff;
  padding: 0px 10px;
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.mega-menu__text {
  display: block;
  font-size: clamp(16px, 2.2vw, 20px);
}

.mega-menu__list--sub {
  margin-top: 12px;
}

.mega-menu__list--sub a {
  font-size: clamp(16px, 2vw, 18px);
  padding: 7px 0;
}

.mega-menu__more {
  display: inline-block;
  font-size: clamp(12px, 1.5vw, 14px);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 8px;
}

.mega-menu__more:hover {
  text-decoration: underline;
}

/* Interview gray card wrapper */
.mega-menu__interview-card {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 5px 16px;
  margin-top: 23px;
  margin-bottom: 12px;
}

.mega-menu__interview-card .mega-menu__list {
  margin-bottom: 8px;
}

.mega-menu__interview-card .mega-menu__list a {
  border-bottom-color: #ddd;
}

.mega-menu__interview-card .mega-menu__more {
  margin-top: 4px;
}

/* Interview list (Figma design) */
.mega-menu__list--interview a {
  padding: 12px 44px 12px 0;
}

.mega-menu__interview-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-menu__interview-name {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 500;
  color: var(--color-text);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.mega-menu__interview-name-en {
  font-family: var(--font-en);
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 500;
  color: var(--color-primary);
}

.mega-menu__interview-dept {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 400;
}

/* Bottom links (FAQ/Company) — side by side */
.mega-menu__bottom-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 0;
}

.mega-menu__bottom-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--color-text);
  text-decoration: none;
  font-size: clamp(13px, 1.6vw, 15px);
  border-bottom: 1px solid #ddd;
  transition: color 0.2s;
}

.mega-menu__bottom-link:hover {
  color: var(--color-primary);
  opacity: 1;
}

.mega-menu__bottom-link-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-left: 12px;
  position: relative;
  display: inline-block;
}

.mega-menu__bottom-link-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}

.mega-menu__links {
  display: flex;
  gap: 12px;
  /* border-top: 1px solid rgba(0, 0, 0, 0.1); */
  /* padding-top: 24px; */
  /* margin-top: 24px; */
}

.mega-menu__link-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #f5f5f5;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition:
    background 0.2s,
    transform 0.2s;
  min-height: 100px;
}

.mega-menu__link-card:hover {
  background: #eee;
  transform: translateY(-2px);
  opacity: 1;
}

.mega-menu__link-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.mega-menu__link-ja {
  display: block;
  font-size: clamp(11px, 1.4vw, 13px);
  color: var(--color-text-light);
}

.mega-menu__bottom {
  border-top: 1px solid #eee;
  padding: 20px 32px 24px;
}

.mega-menu__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
  width: 100%;
  padding: 0;
}

.mega-menu__cta {
  display: flex;
  gap: 12px;
}

.mega-menu__sns {
  display: flex;
  gap: 12px;
}

.mega-menu--sp {
  display: none;
}

.mega-menu__sns a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all 0.2s;
}

.mega-menu__sns a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  opacity: 1;
}

.mega-menu__sns svg {
  width: 16px;
  height: 16px;
}

/* Menu toggle active state */
.site-header__menu-btn.is-active .site-header__menu-label {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .mega-menu {
    background: rgba(255, 255, 255, 0.95);
    top: 80px;
    padding: 0;
    pointer-events: none;
  }

  .mega-menu.is-open {
    pointer-events: auto;
  }

  .mega-menu__panel {
    width: 100%;
    max-height: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .mega-menu__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .mega-menu__bottom {
    padding: 24px 0;
  }

  .mega-menu--sp {
    display: block;
  }

  .mega-menu__links {
    flex-direction: column;
  }

  .mega-menu__bottom-inner {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  margin-top: 80px; /* header height */
  /* background: #fff; */
  overflow: hidden;
  padding: 0;
}

/* Background decoration separated into pseudo-element for fade-in animation */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url("../images/hero/hero-bg-deco.png") center / cover no-repeat; */
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 800ms ease-out;
}

/* 写真コラージュ上段 */
.hero__photos-top {
  overflow: hidden;
  padding: 65px 0 65px;
  position: relative;
}

.hero__photos-top .hero__photos-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: fit-content;
  animation: hero-scroll-left 35s linear infinite;
}

.hero__photos-top .hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}

.hero__photos-top .hero__photo:nth-child(odd) {
  transform: translateY(-60px);
}

.hero__photos-top .hero__photo:nth-child(even) {
  transform: translateY(60px);
}

.hero__photos-top .hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo--sm {
  width: clamp(180px, 22vw, 320px);
  height: clamp(135px, 16.5vw, 240px);
}
.hero__photo--lg {
  width: clamp(240px, 29vw, 420px);
  height: clamp(170px, 20.5vw, 300px);
}
.hero__photo--md {
  width: clamp(160px, 19vw, 280px);
  height: clamp(100px, 12vw, 180px);
}

/* キャッチコピー */
.hero__catch {
  text-align: center;
  padding: clamp(24px, 4vw, 48px) clamp(12px, 2vw, 20px) clamp(24px, 4vw, 48px);
  position: relative;
}

.hero__title-ja {
  /* font-family: var(--font-catch); */
  font-size: clamp(40px, 5.5vw, 74px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
  /* margin-bottom: 16px; */
  padding-left: 0.1em;
}

@media (max-width: 1330px) {
  .hero__title-ja {
    max-width: 9em;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero__title-ja .accent {
  color: var(--color-primary);
  font-size: 1.1em;
  font-weight: 500;
}

.hero__title-ja-number {
  font-family: var(--font-en);
}

.hero__title-ja-comma {
  display: inline-block;
  margin-right: -0.4em;
}

.hero__title-en {
  font-family: var(--font-en);
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 600;
  color: var(--color-text);
}

.hero__title-en .accent {
  color: var(--color-primary);
  /* font-style: italic; */
}

.hero__title-en .sp-br {
  display: none;
}

@media (max-width: 1330px) {
  .hero__title-en .sp-br {
    display: block;
  }
}

/* 写真コラージュ下段 */
.hero__photos-bottom {
  overflow: hidden;
  padding: 65px 0 65px;
}

.hero__photos-bottom .hero__photos-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: fit-content;
  animation: hero-scroll-right 35s linear infinite;
}

.hero__photos-bottom .hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}

.hero__photos-bottom .hero__photo:nth-child(odd) {
  transform: translateY(60px);
}

.hero__photos-bottom .hero__photo:nth-child(even) {
  transform: translateY(-60px);
}

.hero__photos-bottom .hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero marquee keyframes */
@keyframes hero-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes hero-scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* スクロール示唆 */
.hero__scroll-line {
  position: absolute;
  right: 25px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll-text {
  display: inline-block;
  color: var(--color-primary);
  font-size: 12px;
  font-family: var(--font-en);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  margin-bottom: 10px;
}

.hero__scroll-bar {
  position: relative;
  width: 1px;
  height: 100px;
}

.hero__scroll-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--color-primary);
  opacity: 0.4;
}

.hero__scroll-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation:
    hero-scroll-circle 3s ease-in-out infinite,
    hero-scroll-circle-fade 3s ease-out infinite;
}

@keyframes hero-scroll-circle {
  0% {
    top: 0;
  }
  100% {
    top: calc(100% - 8px);
  }
}

@keyframes hero-scroll-circle-fade {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

/* Ensure hero content appears above decorations */
.hero__catch,
.hero__photos-top,
.hero__photos-bottom {
  position: relative;
  z-index: 1;
  opacity: 0;
}

/* Hero fade-in initial states */
.hero__catch {
  transform: translateY(20px);
}

.hero__scroll-line {
  opacity: 0;
  pointer-events: none;
}

/* Hero fade-in animation (triggered by JS adding .hero--animate) */
.hero--animate .hero__catch {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 800ms ease-out,
    transform 800ms ease-out;
  transition-delay: 0ms;
}

.hero--animate .hero__photos-top,
.hero--animate .hero__photos-bottom {
  opacity: 1;
  transition: opacity 1100ms ease-out;
  transition-delay: 1000ms;
}

.hero--animate::before {
  opacity: 1;
  transition-delay: 800ms;
}

.hero--animate .hero__scroll-line {
  opacity: 1;
  transition: opacity 800ms ease-out;
  transition-delay: 1200ms;
}

/* Hero Responsive - SP */
@media (max-width: 768px) {
  .hero {
    margin-top: 56px; /* SP header height */
    background-size:
      212px 100%,
      212px 100%;
  }
}

/* ===== Footer (white) ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #fff;
  background-image: url("../images/background-footer.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  color: var(--color-text);
  padding: 0;
}

.site-footer__container {
  width: 100%;
  padding: 0 93px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 70px 0 40px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 25px;
}

.site-footer__logo img {
  height: 34px;
  width: auto;
}

.site-footer__logo strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.site-footer__logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.site-footer__info {
  font-size: 14px;
  /* color: var(--color-text-light); */
  line-height: 1.9;
}

.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.site-footer__links {
  font-size: 14px;
  color: var(--color-text-light);
}

.site-footer__links a {
  color: var(--color-text);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.site-footer__copyright {
  display: none;
  font-size: 14px;
  text-align: center;
  width: 100%;
}

.site-footer__sns {
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-footer__sns a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: none;
}

.site-footer__sns a[aria-label="YouTube"] {
  width: 50px;
  height: 50px;
}

.site-footer__sns a[aria-label="YouTube"] img {
  width: 50px;
  height: 50px;
}

/* .site-footer__sns a[aria-label="YouTube"] {
  background: #ff0000;
  border-radius: 6px;
  color: #fff;
}

.site-footer__sns a[aria-label="Instagram"] {
  background: #000;
  border-radius: 6px;
  color: #fff;
}

.site-footer__sns a[aria-label="X"] {
  background: #000;
  border-radius: 50%;
  color: #fff;
} */

.site-footer__sns a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.site-footer__sns svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__copy {
  text-align: center;
  /* font-family: var(--font-en); */
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding: 18px 0;
}

@media (max-width: 899px) {
  .site-footer {
    background-image: url("../images/background-footer-sp.jpg");
  }
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0 24px;
  }
  .site-footer__right {
    align-items: center;
  }
  .site-footer__logo {
    flex-direction: column;
    gap: 12px;
  }
  .copyright-text {
    display: none;
  }
  .site-footer__copyright {
    display: block;
  }
}

/* ===== Link Banner (image overlay) ===== */
.link-banner {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.link-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.link-banner:hover img {
  transform: scale(1.05);
}

.link-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.link-banner__title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

/* ===== Utility ===== */
.text-center {
  text-align: center;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.text-right {
  text-align: right;
}
.mt-0 {
  margin-top: 0;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-48 {
  margin-top: 48px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-32 {
  margin-bottom: 32px;
}
.mb-48 {
  margin-bottom: 48px;
}
.text-muted {
  color: var(--color-text-light);
}

/* ===== Link Section (bg catchcopy) ===== */
.link-section {
  position: relative;
  overflow: hidden;
}
.link-section__bg-text {
  text-align: center;
  margin-bottom: 40px;
}
.link-section__bg-text span {
  /* font-family: var(--font-ja); */
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  display: block;
}
.link-section__bg-text em {
  color: var(--color-primary);
  /* font-style: normal; */
}
.link-section__bg-text p {
  /* font-family: var(--font-en); */
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 8px;
  /* font-style: italic; */
}

/* ===== VIEW MORE Button ===== */
/* ===== Special Card (circle img) ===== */
.special-card {
  text-align: center;
}
.special-card__img-wrap {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
}
.special-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.special-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.special-card__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===== Link Card (rectangular — for 数字/お仕事/福利厚生) ===== */
.link-section .link-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  background: #333;
}

.link-section .link-card__img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.link-section .link-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.link-section .link-card:hover .link-card__img img {
  transform: scale(1.05);
}

.link-section .link-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 32px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  color: #fff;
}

.link-section .link-card__title {
  /* font-family: var(--font-ja); */
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.link-section .link-card__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  line-height: 1.7;
}

.link-section .link-card .btn--view-more {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.link-section .link-card .btn--view-more::after {
  background: #fff;
  color: #333;
}

/* ===== Interview Grid (TOP) ===== */
.interview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) {
  .site-footer__container {
    padding: 0 20px;
  }
  .interview-grid {
    grid-template-columns: 1fr;
  }
}

.interview-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.interview-card:hover .btn--view-more {
  background: var(--color-primary);
  color: #fff;
  opacity: 1;
}

.interview-card__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .interview-card__media {
    margin-bottom: 0;
  }
}
.interview-card__img {
  max-height: 300px;
  width: 100%;
  /* aspect-ratio: 4 / 3; */
  object-fit: cover;
  display: block;
}
.interview-card__num {
  max-width: 158px;
  height: 30px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: var(--color-primary);
  color: #fff;
  padding: 4px 16px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  /* border-radius: 4px; */
  z-index: 2;
}
.interview-card__catch {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--color-text);
}
.interview-card__info {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 4px;
}
.interview-card__name {
  font-size: clamp(20px, 3.5vw, 24px);
  font-weight: 500;
}
.interview-card__name-en {
  font-family: var(--font-en);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 500;
  color: var(--color-primary);
}
.interview-card__dept {
  /* font-family: var(--font-en); */
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 500;
  /* color: var(--color-text-light); */
}
.accent {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .interview-card__catch {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .interview-card__name {
    font-size: 14px;
  }
  .interview-card__dept {
    font-size: 12px;
  }
}

/* ===== CTA Banner (Company/FAQ) ===== */
/* (duplicate cta-banner removed — see above) */

/* ===== Marquee ===== */
.marquee {
  overflow: hidden;
  padding: 32px 0;
  background: #fff;
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
}
.marquee__text {
  /* font-family: var(--font-en); */
  font-size: 120px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.06);
  padding-right: 80px;
  flex-shrink: 0;
  text-transform: none;
}
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* ===== Special Feature (vertical cards) ===== */
.special-feature {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.special-feature:nth-child(odd) {
  flex-direction: row-reverse;
}
.special-feature__img {
  position: relative;
  flex: 0 0 50%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.special-feature__img img {
  width: 100%;
  height: auto;
  display: block;
}
.special-feature__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary);
  color: #fff;
  /* font-family: var(--font-en); */
  font-size: 18px;
  font-weight: 800;
  padding: 6px 20px;
  /* letter-spacing: 0.05em; */
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3);
}
.special-feature:nth-child(odd) .special-feature__tag {
  left: auto;
  right: 16px;
}
.special-feature__title {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}
.special-feature__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .special-feature {
    flex-direction: column !important;
    gap: 24px;
  }
  .special-feature__img {
    flex-basis: auto;
  }
  .marquee__text {
    font-size: 60px;
  }
}

/* ===== Marquee (Front page) ===== */
/* end of file — duplicates removed */

/* ===== Circle decoration for special cards ===== */
.special-card {
  position: relative;
}

.special-card__img-wrap {
  position: relative;
  z-index: 1;
}

.special-card::before {
  content: "";
  position: absolute;
  /* 丸画像(220px)の左上に少しずらして配置 */
  top: -40px;
  left: 50%;
  transform: translateX(-60%);
  width: 340px;
  height: 340px;
  background: url("../images/circle-deco-figma.png") center/contain no-repeat;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

/* 2つ目と3つ目のカードは少し位置をずらしてバリエーション */
.special-card:nth-child(2)::before {
  transform: translateX(-40%);
  top: -30px;
}

.special-card:nth-child(3)::before {
  transform: translateX(-50%);
  top: -50px;
}

/* ===== FAQ Page ===== */

/* ===== Page Header (shared) ===== */
.page-header {
  position: relative;
  /* background: #fff; */
  padding: 120px 0 60px;
  overflow: hidden;
}

.page-header__inner {
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
}

.page-header__text {
  text-align: center;
  flex: 3;
  min-width: 0;
}

.page-header__title {
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 7px;
  /* white-space: nowrap; */
}

.page-header__subtitle {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  color: var(--color-primary, #e60012);
  font-family: var(--font-en, "Inter"), sans-serif;
  text-transform: uppercase;
  /* letter-spacing: 0.05em; */
}

.page-header__media {
  flex: 7;
  max-width: 800px;
  min-width: 0;
  /* aspect-ratio: 16 / 10; */
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); */
}

.page-header__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__img-placeholder {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 40px;
  }
  .page-header__inner {
    flex-direction: column;
    gap: 17px;
  }
  .page-header__title {
    margin-bottom: 0;
  }
  .page-header__media {
    width: 100%;
    max-width: 100%;
  }
  .mega-menu__list a::before,
  .mega-menu__bottom-link-arrow::before {
    right: 4px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 6px solid #fff;
  }
  .mega-menu__list a::after,
  .mega-menu__bottom-link-arrow {
    width: 16px;
    height: 16px;
  }
}

/* page-header--no-image: 画像なしバリアント */
.page-header--no-image .page-header__inner {
  justify-content: center;
  max-width: 393px;
  margin: 0 auto;
}
.page-header--no-image .page-header__text {
  flex: none;
}

@media (min-width: 769px) {
  .page-header__inner {
    padding: 0 clamp(40px, 4vw, 240px);
  }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 16px 0;
  /* margin-top: 80px; */
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-light);
}
.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  margin-right: 8px;
}
.breadcrumb__item a {
  color: var(--color-text-light);
}
.breadcrumb__item a:hover {
  color: var(--color-primary);
}

/* ===== Scroll Reveal Animations ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Placeholder for design assets ===== */
.page-header__deco-placeholder,
.site-footer__deco-placeholder {
  position: absolute;
  background: #1a1a1a;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  pointer-events: none;
  z-index: 0;
}
.page-header__deco-placeholder {
  position: absolute;
  top: 20px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
}
/* Decorative concentric arc rings for page headers */
.page-header__deco-arc {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 0 0 12px transparent,
    0 0 0 13.5px rgba(0, 0, 0, 0.05),
    0 0 0 26px transparent,
    0 0 0 27.5px rgba(0, 0, 0, 0.04),
    0 0 0 40px transparent,
    0 0 0 41.5px rgba(0, 0, 0, 0.035),
    0 0 0 54px transparent,
    0 0 0 55.5px rgba(0, 0, 0, 0.03),
    0 0 0 68px transparent,
    0 0 0 69.5px rgba(0, 0, 0, 0.025);
  pointer-events: none;
  z-index: 0;
}
.site-footer__deco-placeholder {
  display: none;
  bottom: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .hero__photos-top .hero__photos-track {
    gap: 20px;
  }
  .hero__photos-top .hero__photo:nth-child(odd) {
    transform: translateY(15px);
  }

  .hero__photos-top .hero__photo:nth-child(even) {
    transform: translateY(-23px);
  }

  .hero__catch {
    padding: clamp(10px, 4vw, 80px) clamp(12px, 2vw, 20px)
      clamp(10px, 4vw, 48px);
  }

  .hero__photos-bottom {
    padding: 27px 0 0;
  }

  .hero__photos-bottom .hero__photo:nth-child(odd) {
    transform: translateY(-27px);
  }

  .hero__photos-bottom .hero__photo:nth-child(even) {
    transform: translateY(23px);
  }

  .hero__photos-bottom .hero__photos-track {
    gap: 20px;
  }

  .hero__photos-top {
    padding: 50px 0 0;
  }
  .hero__scroll-line {
    right: 16px;
    bottom: 0px;
  }
}
