:root {
  --base-color: #165ccc;
  --text-sub-color: #094ab1;
  /* ====== SP(375-677) =======*/
  --size-58: clamp(3.625rem, 2.064rem + 6.66vw, 7.394rem); /* 58px → 73.9px */
  --size-52: clamp(3.25rem, 1.552rem + 6.93vw, 6.633rem); /* 52px → 106.3px */
  --size-48: clamp(3rem, 1.432rem + 6.4vw, 6.133rem); /* 48px → 98.1px */
  --size-40: clamp(2.5rem, 1.194rem + 5.33vw, 5.111rem); /* 40px → 81.8px */
  --size-38: clamp(2.375rem, 1.133rem + 5.06vw, 4.86rem); /* 38px → 77.7px */
  --size-32: clamp(2rem, 0.955rem + 4.27vw, 4.089rem); /* 32px → 65.4px */
  --size-24: clamp(1.5rem, 0.716rem + 3.2vw, 3.067rem); /* 24px → 49.1px */
  --size-20: clamp(1.25rem, 0.597rem + 2.67vw, 2.556rem); /* 20px → 40.9px */
  --size-16: clamp(1rem, 0.477rem + 2.13vw, 2.045rem); /* 16px → 32.7px */
  --size-14: clamp(0.875rem, 0.417rem + 1.87vw, 1.789rem); /* 14px → 28.6px */
  --size-12: clamp(0.75rem, 0.358rem + 1.6vw, 1.534rem); /* 12px → 24.5px */
  --size-10: clamp(0.625rem, 0.298rem + 1.33vw, 1.278rem); /* 10px → 20.4px */
  --size-8: clamp(0.5rem, 0.239rem + 1.07vw, 1.023rem); /* 8px → 16.4px */
  --size-4: clamp(0.25rem, 0.119rem + 0.53vw, 0.511rem); /* 4px → 8.2px */
  --size-2: clamp(0.125rem, 0.06rem + 0.27vw, 0.256rem); /* 2px → 4.1px */
  /* ====== PC(678-1280) =======*/
  --size-64-pc: clamp(3.392rem, 0.812rem + 4.28vw, 4rem); /* 54.3px → 64px */
  --size-52-pc: clamp(2.756rem, 0.659rem + 3.48vw, 3.25rem); /* 44.1px → 52px */
  --size-40-pc: clamp(2.12rem, 0.507rem + 2.68vw, 2.5rem); /* 33.9px → 40px */
  --size-32-pc: clamp(1.696rem, 0.406rem + 2.14vw, 2rem); /* 27.1px → 32px */
  --size-28-pc: clamp(1.484rem, 0.355rem + 1.87vw, 1.75rem); /* 23.7px → 28px */
  --size-24-pc: clamp(1.272rem, 0.304rem + 1.61vw, 1.5rem); /* 20.4px → 24px */
  --size-22-pc: clamp(
    1.166rem,
    0.279rem + 1.47vw,
    1.375rem
  ); /* 18.7px → 22px */
  --size-20-pc: clamp(1.06rem, 0.254rem + 1.34vw, 1.25rem); /* 17.0px → 20px */
  --size-18-pc: clamp(0.954rem, 0.228rem + 1.2vw, 1.125rem); /* 15.3px → 18px */
  --size-16-pc: clamp(0.848rem, 0.203rem + 1.07vw, 1rem); /* 13.6px → 16px */
  --size-14-pc: clamp(
    0.742rem,
    0.178rem + 0.94vw,
    0.875rem
  ); /* 11.9px → 14px */
  --size-12-pc: clamp(0.636rem, 0.152rem + 0.8vw, 0.75rem); /* 10.2px → 12px */
  --size-8-pc: clamp(0.424rem, 0.102rem + 0.53vw, 0.5rem); /* 6.8px → 8px */
  --size-4-pc: clamp(0.212rem, 0.051rem + 0.27vw, 0.25rem); /* 3.4px → 4px */
  --size-2-pc: clamp(0.106rem, 0.025rem + 0.13vw, 0.125rem); /* 1.7px → 2px */
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--size-14-pc);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  overflow-x: hidden;
  overflow-y: visible;
}

.smooth {
  clip-path: inset(0 100% 0 0);
  transition: 0.6s cubic-bezier(0.49, 0.11, 0.53, 0.84);
  transition-property: clip-path;
}

.smooth.active {
  clip-path: inset(0);
}

/* ========================================  navi ================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  margin: 0;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Brand */
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}

.site-header__logo {
  height: 40px;
  width: auto;
  display: block;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-left: auto;
}

.site-header__link {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1;
  padding: 8px 2px;
}

/* CTA button */
.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--size-40-pc);
  padding: 10px 24px;
  border-radius: 999px;
  background: #165ccc;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1;
  white-space: nowrap;

  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.breadcrumb {
  width: 100%;
  font-size: var(--size-12-pc);
  margin-left: 28px;
  color: #afafaf;
  padding-bottom: var(--size-24-pc);
  margin-top: var(--size-20-pc);
}
.breadcrumb ol {
  display: flex;
  gap: 0.25em;
  white-space: nowrap;
  overflow-x: auto;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb li + li::before {
  content: "›";
  opacity: 0.6;
  margin: 0 0.35em;
}
.breadcrumb [aria-current="page"] {
  text-decoration: none;
  opacity: 0.9;
}
.breadcrumb a {
  transition:
    color 0.25s ease,
    text-decoration-color 0.25s ease;
}
.breadcrumb a:hover {
  color: #094ab1;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ========================================  Hero ================================================== */

.hero {
  width: 100%;
  overflow: hidden;
}

.hero__top {
  width: 100%;
  margin: 0 auto;
  transform: translateX(12%);
}

.hero__kicker {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 8px;
  width: 100%;
}

.hero__kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #111;
}

.hero__eyebrow {
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-size: clamp(24px, 6.2vw, 64px);
  margin: 0;
}

.hero__eyebrow-ja {
  font-weight: 700;
  font-size: clamp(12px, 1.6vw, 24px);
  color: #111;
}

.hero__main {
  height: clamp(214px, 46vw, 600px);
  background: linear-gradient(90deg, #ffffff 0%, #cfcfcf 45%, #acacac 100%);
  position: relative;
}

.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  box-sizing: border-box;
}

.hero__grid {
  position: relative;
  height: 100%;
}

.hero__content {
  position: absolute;
  left: clamp(24px, 4vw, 64px);
  top: 50%;
  transform: translateY(-50%) translateX(40%);

  width: min(520px, 42%);
  z-index: 5;
}

.hero__nameblock {
  width: fit-content;
  margin-bottom: 2rem;
}

.hero__name {
  font-size: clamp(22px, 4.5vw, 64px);
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  line-height: 140%;
}

.hero__underline {
  display: block;
  width: 100%;
  height: 2px;
  background: #111;
  margin-top: 0;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: bold;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  z-index: 1;
}

.hero__image-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
}

.hero__person {
  height: 100%;
  width: 100%;
  max-width: none;
  display: block;
  z-index: 1;
  object-fit: cover;
  object-position: right bottom;
}

.hero__hand {
  position: absolute;
  left: 40%;
  bottom: 4%;
  width: clamp(180px, 50vw, 550px);
  height: auto;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: left bottom;
  animation: handIn 0.9s ease-out forwards;
  animation-delay: 0.8s;
}

/* ========================================  History ================================================== */

.history {
  padding: clamp(40px, 8vw, 96px) 0;
  background-color: var(--base-color);
  background: url(../../../../img/career/noise.webp) repeat;
  background-size: 160px 160px;
}

.history__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

.history-rail {
  position: relative;
  padding: 24px 0;
}

.history-rail__viewport {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  height: clamp(120px, 20vw, 240px);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.history-rail__img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}

.history-rail__hint {
  width: 1000px;
  max-width: 100%;
  margin: 10px auto 0;

  font-size: 12px;
  opacity: 0.6;
  text-align: right;
  user-select: none;
}

.history__desc {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 4vw, 40px);
  max-width: 1280px;
  margin: clamp(28px, 4vw, 48px) auto 0;
}

.history-bubble {
  flex: 1 1 auto;
  min-width: 0;
  background: #eef4ff;
  border-radius: 60px;
  padding: clamp(24px, 3vw, 30px);
  position: relative;
  box-sizing: border-box;
}

.history-bubble__body {
  position: relative;
}

.quote__mark {
  position: absolute;
  z-index: 1;
  width: 12%;
  height: auto;
  opacity: 0.35;
  pointer-events: none;
}

.quote__mark--tl {
  top: 28px;
  left: 6%;
}

.quote__mark--br {
  right: 6%;
  bottom: 28px;
}

.history-bubble::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: 44px;
  width: 44px;
  height: 44px;
  background: #eef4ff;
  clip-path: polygon(0 30%, 100% 50%, 0 70%);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.1));
  border-radius: 10px;
  transform: rotate(24deg);
}

.history-bubble__title {
  color: #0048bc;
  text-align: center;
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 800;
  margin: 0;
}

.history-bubble__sub {
  color: #0048bc;
  font-size: clamp(12px, 1.5vw, 24px);
  text-align: center;
  margin: 0 0 18px;
  font-weight: 700;
}

.history-bubble__text {
  color: #0048bc;
  font-size: clamp(12px, 1.5vw, 16px);
  line-height: 1.9;
  opacity: 0.95;
}

.history-bubble__avatar {
  flex: 0 0 auto;
  width: 16%;
  height: 16%;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.history-bubble__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview__header {
  position: relative;
  z-index: 1;
  margin-bottom: var(--size-40-pc);
}

.interview__title {
  font-size: clamp(32px, 8vw, 64px);
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(90deg, #e1efff 0%, #5da9ff 34%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}

.history__wrap {
  width: clamp(320px, 85vw, 1000px);
  margin: 0 auto;
}

.scroll {
  position: relative;
  font-size: var(--size-12);
  margin-top: var(--size-4);
  color: #fff;
}

/* 線のアニメーション部分 */
.scroll::before {
  animation: scrollHorizontal 2s infinite;
  background-color: #fff;
  left: 3em;
  content: "";
  width: calc(var(--size-20) * 8);
  top: 0;
  margin: auto;
  position: absolute;
  bottom: 0;
  height: 1px;
}

/* ========================================  Q&A ================================================== */

.note {
  padding-top: clamp(80px, 4vw, 48px);
  padding-bottom: clamp(80px, 4vw, 48px);
  background: #fff;
}

.note__wrap {
  width: clamp(320px, 85vw, 1000px);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: clamp(26px, 20vw, 90px);
}

.note-card {
  position: relative;
}

.note-card__badge {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-35%, -60%);
  width: clamp(88px, 10vw, 140px);
  height: clamp(54px, 8vw, 78px);
  border-radius: 999px;
}

.note-card__box {
  border: 2px solid #2c6ed6;
  border-radius: 8px;
  background: #fff;

  padding: clamp(18px, 2.8vw, 28px);
}

.note-card__title {
  margin: 0 0 14px;
  text-align: center;
  font-weight: 800;
  line-height: 1.35;
  font-size: clamp(18px, 2.8vw, 40px);
}

.note-card__text {
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.9;
  color: #222;
}

.note-card__text ul {
  margin: 10px 0 0;
  padding-left: 1.1em;
}

.note-card__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(18px, 2.5vw, 28px);
}

.note-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.note-card--with-media .note-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(18px, 2.5vw, 28px);
}

.note-card--with-media .note-card__title {
  flex: 0 0 100%;
}

.note-card--with-media .note-card__text {
  flex: 1 1 0;
  min-width: 0;
  height: 240px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.note-card--with-media .note-card__media {
  flex: 0 0 420px;
  width: 420px;
  margin: 0;
}

.note-card__media {
  flex: 0 0 auto;
  width: 420px;
}

.note-card__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.note-card__media figcaption {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.75;
  text-align: center;
}

/* ======================================== Advice ================================================== */

.advice {
  position: relative;
  overflow: hidden;

  background: linear-gradient(90deg, #5b5b5b 0%, #d7d7d7 55%, #f2f2f2 100%);
}

.advice__inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  width: clamp(320px, 85vw, 1000px);
  min-height: clamp(320px, 28vw, 520px);
  padding: clamp(28px, 4vw, 56px) clamp(18px, 3vw, 40px);

  display: flex;
  align-items: center;
}

.advice__person {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 1;
  max-width: 1000px;
  width: 100%;

  height: auto;
  pointer-events: none;
}

.advice__person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

.advice__content {
  position: relative;
  z-index: 2;
  width: min(520px, 52%);
  color: #fff;
}

.advice__title {
  position: relative;
  margin-bottom: clamp(40px, 4vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(20px, 3vw, 34px);
  display: inline-block;
}

.advice__title span {
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

.advice__title::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -0.1em;
  width: 96%;
  height: 0.55em;
  background: #0b4bd4;
  z-index: 1;
}

.advice__text {
  font-size: clamp(12px, 1.4vw, 16px);
  line-height: 2;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.advice__text p {
  margin: 0 0 10px;
}

/* ======================================== Other Interview ================================================== */

.interview {
  background-color: var(--base-color);
  background: url(../../../../img/career/noise.webp) repeat;
  background-size: 160px 160px;
  padding: var(--size-2-pc) 0 var(--size-64-pc) 0;
  position: relative;
  overflow: hidden;
}

.interview__inner {
  width: clamp(600px, 85vw, 1000px);
  padding-top: clamp(40px, 6vw, 80px);
  margin: 0 auto;
  position: relative;
}

.interview__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2.13vw, 24px);
}

.member-card {
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  font-size: 14px;

  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.member-card__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.member-card__body {
  padding: clamp(4px, 0.1vw, 8px) 0;
}

.member-card__batch {
  font-size: var(--size-14-pc);
  font-weight: 400;
  color: #0050b8;
  margin-bottom: 0px;
  letter-spacing: var(--size-2-pc);
  line-height: 100%;
  padding: clamp(4px, 0.1vw, 4px) 0;
}

.member-card__name {
  font-size: var(--size-20-pc);
  font-weight: 500;
  color: #0050b8;
  letter-spacing: var(--size-2-pc);
  line-height: 100%;
  padding: clamp(2px, 0.1vw, 4px) 0;
}

.interview__scroll {
  display: none;
}

.interview__back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding-top: clamp(32px, 4vw, 48px);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.interview__back-icon {
  width: clamp(40px, 1.5vw, 60px);
  height: clamp(40px, 1.5vw, 60px);
  display: block;
  flex: 0 0 auto;
}

.interview__back-text {
  font-size: clamp(24px, 1vw, 40px);
  font-weight: 700;
  color: #fff;
}

/* ========================================  Footer ================================================== */

.footer {
  padding-top: clamp(2px, 1vw, 4px);
  background-color: var(--base-color);
  background: url(/img/career/noise.webp) repeat;
  background-size: 160px 160px;
}

.line {
  width: 100%;
  height: 1px;
  background: #fff;
}

.footer__main {
  color: var(--text-color);
  width: clamp(600px, 85vw, 1000px);
  margin: 0 auto;
  margin-bottom: 40px;
  gap: var(--size-32-pc);
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.footer__logo {
  width: calc(var(--size-20-pc) * 7);
}

.footer__links {
  display: flex;
  flex-direction: row;
  gap: var(--size-16-pc);
  color: #fff;
}

.footer__link {
  font-size: var(--size-16-pc);
  font-weight: 700;
}

.footer__external-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--size-12-pc) var(--size-16-pc);
  color: #fff;
}

.footer__external-link {
  font-size: var(--size-14-pc);
  color: #fff;
}

.footer__external-link::after {
  content: "";
  background-size: contain;
  display: inline-block;
  width: var(--size-16-pc);
  height: var(--size-16-pc);
  margin-left: var(--size-4-pc);
  color: #fff;
}

.footer__sns {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  gap: var(--size-16-pc);
  padding: var(--size-12-pc);
  align-items: center;
  justify-content: flex-start;
}

.footer__introduction-link {
  font-size: var(--size-14-pc);
  color: #fff;
}

.footer__copyright {
  font-size: var(--size-12-pc);
  opacity: 0.8;
  color: #fff;
}

.attention {
  font-size: var(--size-12-pc);
  opacity: 0.8;
  padding-top: var(--size-40-pc);
  color: #fff;
}

.primary-btn {
  border-radius: calc(infinity * 1px);
  background: linear-gradient(
    115deg,
    #0b2041 0%,
    #1f4f9b 25%,
    #0b2041 50%,
    #9fc5ff 75%,
    #b3d0ff 87.5%,
    #c8ddfe 100%
  );
  background-size: 200% 100%;
  background-position: 0% 0%;
  transition: opacity 0.8s ease;
  box-shadow: 0 0 16px 0 rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  font-weight: 700;
  color: #fff;
  text-align: center;
  animation: flicker 7s linear infinite;

  font-size: var(--size-22-pc);
  padding: var(--size-20-pc) var(--size-40-pc);
  max-width: calc(var(--size-20-pc) * 15);
  margin: 0 auto;
}

.primary-btn--floating {
  position: fixed;
  right: var(--size-40-pc);
  left: auto;
  z-index: calc(infinity);
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
  opacity: 0;
  transform: translateY(100px) scale(0.8);
  width: calc(var(--size-40-pc) * 4.5);
  height: calc(var(--size-40-pc) * 4.5);
  padding: var(--size-32-pc) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: var(--size-8-pc);
  bottom: var(--size-40-pc);
  margin: 0;
  font-size: var(--size-18-pc);
  letter-spacing: 0.04em;
}

.primary-btn--floating::after {
  content: "";
  display: block;
  width: var(--size-32-pc);
  height: var(--size-32-pc);
  background: url(/img/career/icon_double-arrow.svg) no-repeat center center;
  background-size: contain;
}

.primary-btn--floating.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation:
    fadeInUp 0.4s ease-out,
    flicker 7s linear infinite;
}

.primary-btn--floating.hidden {
  opacity: 0;
  transform: translateY(100px) scale(0.8);
}

.site-header__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.site-header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.site-header__cta:hover::after {
  transform: translateX(120%);
  transition: transform 0.6s ease;
}

.site-header__cta:active {
  transform: translateY(0px) scale(0.98);
}

.site-header__link {
  transition: color 0.2s ease;
}

.site-header__link:hover {
  color: #0048bc;
}

.member-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.member-card:hover::after {
  transform: translateX(120%);
  transition: transform 0.6s ease;
}

.member-card:active {
  transform: translateY(0px) scale(0.98);
}

/* ======================================== SP ================================================== */
/* ======================================== SP ================================================== */

/* SP */
@media (max-width: 677px) {
  .site-header__inner {
    padding: 12px 16px;
  }

  .site-header__nav {
    display: none;
  }

  .breadcrumb {
    display: none;
  }

  .site-header__cta {
    padding: 8px 24px;
    font-size: var(--size-16);
  }

  /* ======================================== Hero ================================================== */
  .hero__top {
    max-width: none;
    margin: 0;
  }

  .hero__inner {
    width: 100%;
  }

  .hero__main {
    overflow: visible;
    height: clamp(214px, 55vw, 600px);
  }

  .hero__content {
    left: 16%;
    transform: translateY(-50%);
    width: min(520px, 42%);
  }

  .hero__nameblock {
    width: fit-content;
    margin-bottom: 1rem;
  }

  .hero__meta {
    gap: 4px;
  }

  .hero__visual {
    width: 100%;
    transform: translateX(16%);
    height: 100%;
    overflow: visible;
  }

  .hero__person {
    height: 108%;
  }

  .hero__hand {
    left: 24%;
    width: 54%;
    bottom: 2%;
  }

  .history-bubble {
    border-radius: 36px;
    padding: 24px 22px;
  }

  .history-bubble__body {
    padding-right: 0;
  }

  .history-bubble__avatar {
    display: none;
  }

  .history-rail__viewport {
    width: clamp(320px, 85vw, 1000px);
  }

  .history-rail__hint {
    width: 320px;
  }

  .interview__header {
    margin-bottom: clamp(32px, 4vw, 48px);
  }

  .scroll {
    position: relative;
    font-size: var(--size-12);
    margin-top: var(--size-4);
  }

  /* 線のアニメーション部分 */
  .scroll::before {
    left: 3em;
    content: "";
    width: calc(var(--size-20) * 8);
    top: 0;
    margin: auto;
    position: absolute;
    bottom: 0;
    height: 1px;
  }

  .history-bubble::after {
    display: none;
  }

  /* ======================================== Q&A ================================================== */

  .note-card__badge {
    left: 50%;
    transform: translate(-40%, -108%);
  }

  .note-card--with-media .note-card__body {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .note-card--with-media .note-card__media {
    flex: none;
    height: auto;
    width: 100%;
  }

  .note-card--with-media .note-card__text {
    height: auto;
    overflow: visible;
    padding-right: 0;
  }

  .note-card__media {
    margin: 10px auto 0;
  }

  .note-card__media img {
    height: auto;
    aspect-ratio: 7 / 4;
  }

  .note-card__title {
    text-align: center;
    margin: 0 auto 14px;

    width: clamp(220px, 78vw, 288px);

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
  }

  /* ======================================== Advice ================================================== */
  .advice__inner {
    min-height: clamp(360px, 90vw, 560px);
    align-items: flex-start;
    padding-top: clamp(22px, 12vw, 32px);
    min-height: auto;
  }

  .advice__content {
    padding-top: clamp(12px, 3vw, 20px);
    width: 100%;
    max-width: 520px;
  }

  .advice__text {
    max-height: 300px;
  }

  .advice__person {
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    right: 0;
    transform: translateX(calc((100vw - 100%) / 2));
  }

  .advice__person img {
    object-position: right 28%;
  }

  /* ========================================  Other interview ================================================== */

  .interview {
    padding: var(--size-2) 0 var(--size-24);
  }

  .interview__inner {
    width: clamp(320px, 80vw, 600px);
  }

  .interview__viewport {
    width: clamp(240px, 50vw, 600px);

    margin: 0 auto;
  }

  .interview__grid {
    display: flex;
    overflow-x: auto;

    width: 100%;
    gap: var(--size-58);
    padding-bottom: var(--size-16);
    padding-inline: 0%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .member-card {
    flex: 0 0 100%;
    max-width: none;
    scroll-snap-align: center;
  }

  .member-card__batch {
    font-size: var(--size-16);
    font-weight: 400;
    color: #0050b8;
    margin-bottom: 0px;
    letter-spacing: var(--size-2);
    line-height: 1.2em;
  }

  .member-card__name {
    font-size: var(--size-32);
    font-weight: 500;
    color: #0050b8;
    letter-spacing: var(--size-2);
    line-height: 1em;
    padding-bottom: 8px;
  }

  .interview__scroll {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: var(--size-4);
    margin-top: var(--size-16);
  }

  .interview__scroll-arrow {
    width: 50vw;
    filter: brightness(0) invert(1);
  }

  .interview__scroll-text {
    font-size: var(--size-12);
    font-weight: 500;
    color: #fff;
  }

  .interview__back {
    left: 18px;
    bottom: 18px;
    z-index: 50;
  }

  /* ========================================  Footer ================================================== */
  .footer {
    padding: clamp(24px, 9vw, 56px);
    margin: 0;
  }

  .footer__main {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--size-24);
    line-height: 1.5;
    width: auto;
    padding-bottom: 40px;
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--size-8);
  }

  .footer__link {
    color: var(--text-color);
    font-weight: 700;
  }

  .footer__external-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--size-12) var(--size-16);
  }

  .footer__external-link {
    display: flex;
    align-items: center;
    font-size: var(--size-12);
  }

  .footer__external-link::after {
    content: "";
    background-size: contain;
    display: inline-block;
    width: var(--size-16);
    height: var(--size-16);
    margin-left: var(--size-4);
  }

  .footer__sns {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    padding: var(--size-8) var(--size-16);
    display: flex;
    gap: var(--size-16);
    align-items: center;
    justify-content: flex-start;
  }

  .footer__sns img {
    display: block;
  }

  .footer__introduction-link {
    font-size: var(--size-12);
  }

  .footer__copyright {
    font-size: var(--size-12);
    opacity: 0.8;
  }

  .primary-btn--floating::after {
    display: none;
  }

  .primary-btn {
    padding: 1em 2em;
    font-size: var(--size-16);
    max-width: none;
    margin: 0 auto;
    width: 100%;
  }

  .primary-btn--floating {
    position: fixed;
    width: 80%;
    height: auto;
    padding: 0.8em 1.6em;
    bottom: var(--size-12);
    margin: 0;
    z-index: calc(infinity);
    transition:
      transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 0.4s ease;
    opacity: 0;
    transform: translateX(-50%) translateY(100px) scale(0.8);
    left: 50%;
    right: auto;
  }

  .primary-btn--floating.visible {
    opacity: 1;

    transform: translateX(-50%) translateY(0) scale(1);
    animation:
      fadeInUp 0.4s ease-out,
      flicker 7s linear infinite;
  }

  .primary-btn--floating.hidden {
    opacity: 0;

    transform: translateX(-50%) translateY(100px) scale(0.8);
  }

  .br-pc {
    display: none !important;
  }
}

@media (min-width: 678px) and (max-width: 900px) {
  .interview__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 横スクロールの線のアニメーション */
@keyframes scrollHorizontal {
  0% {
    transform: scale(0, 1);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 100% 0;
  }
  100% {
    transform: scale(0, 1);
    transform-origin: 100% 0;
  }
}

@keyframes handIn {
  0% {
    opacity: 0;
    transform: translateY(10px) rotate(-2deg) scale(0.98);
  }
  65% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* --------- ホバーエフェクト --------- */
@media (any-hover: hover) {
  .primary-btn:hover {
    opacity: 0.6;
  }

  .primary-btn--floating:hover {
    opacity: 0.6;
    transform: scale(1.05);
  }

  .interview__back:hover {
    opacity: 0.85;
    transform: translateX(4px);
  }
}

@media (max-width: 677px) and (any-hover: hover) {
  .primary-btn--floating:hover {
    transform: translateX(-50%) translateY(0) scale(1.05);
  }
}
