/* SP Styles - responsive via media query */
@media (max-width: 768px) {

:root {
  --color-bg-light: #ececec;
}

body {
  line-height: 1.6;
  letter-spacing: 0.7px;
  background: var(--color-bg-light);
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  overflow-x: hidden;
}

.sp-only {
  max-width: 100vw;
  overflow-x: clip;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

ul, ol { list-style: none; }

/* ========================================
   Shared Components (SP)
   ======================================== */
.sp-container {
  padding: 0 20px;
}

.section-heading-sp {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.section-heading-sp__en {
  position: relative;
  display: inline-grid;
}

.section-heading-sp__en-text {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-futura);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.section-heading-sp__en-bar {
  grid-column: 1;
  grid-row: 1;
  background: var(--color-yellow);
  height: 25px;
  align-self: start;
  margin-top: 31px;
}

.section-heading-sp__deco {
  width: 56px;
  height: 38px;
  position: relative;
  flex-shrink: 0;
}

.section-heading-sp__deco-dot {
  position: absolute;
  background: var(--color-yellow);
}

.section-heading-sp__deco-dot--1 {
  bottom: 0;
  left: 0;
  width: 12px;
  height: 7px;
}

.section-heading-sp__deco-dot--2 {
  top: 44%;
  left: 29%;
  width: 22px;
  height: 7px;
}

.section-heading-sp__deco-line {
  position: absolute;
  background: var(--color-black);
}

.section-heading-sp__deco-line--1 {
  top: 63%;
  right: 0;
  width: 22px;
  height: 7px;
}

.section-heading-sp__deco-line--2 {
  top: 0;
  left: 9%;
  width: 22px;
  height: 7px;
}

.section-heading-sp__deco-line--3 {
  top: 0;
  left: 45%;
  width: 20px;
  height: 4px;
}

.section-heading-sp__jp {
  font-family: var(--font-zen);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  margin-top: 11px;
}

.view-more-sp {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 8px;
}

.view-more-sp::after {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 21px;
  background: #171717;
  border-radius: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 4H13M10 1L13 4L10 7' stroke='white' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 8px;
  flex-shrink: 0;
}

.view-more-sp--white {
  color: var(--color-white);
  border-bottom-color: var(--color-white);
}

.view-more-sp--white::after {
  background: var(--color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 4H13M10 1L13 4L10 7' stroke='%23171717' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 8px;
  border-radius: 20px;
  width: 45px;
  height: 21px;
}

.body-text-sp {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.7px;
  color: var(--color-black);
  font-feature-settings: 'palt' 1;
}

/* ========================================
   Header SP
   ======================================== */
.header-sp {
  display: none;
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--color-gray-bg, #ececec);
  padding: 12px;
  align-items: center;
  justify-content: space-between;
}

.header-sp__logo {
  width: 134px;
  height: 20px;
}

.header-sp__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-sp__menu-btn {
  width: 40px;
  height: 40px;
  background: var(--color-yellow);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px;
}

.header-sp__menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-black);
}

/* Nav Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-white);
  z-index: 200;
  padding: 0;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.nav-drawer.is-open {
  right: 0;
}

.nav-drawer__logo {
  width: 134px;
  height: 20px;
  position: absolute;
  top: 23px;
  left: 12px;
}

.nav-drawer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--color-yellow);
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-drawer__entry {
  display: none;
}

.nav-drawer__entry-text {
  display: none;
}

.nav-drawer__entry-arrow {
  display: none;
}

.nav-drawer__cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px;
  margin-top: 16px;
}

.nav-drawer__cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 16px;
  border: 1px solid var(--color-black);
}

.nav-drawer__cta-card--entry {
  background: var(--color-yellow);
}

.nav-drawer__cta-card--faq {
  background: var(--color-white);
}

.nav-drawer__cta-title {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-black);
}

.nav-drawer__cta-underline {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-black);
  margin-top: 4px;
}

.nav-drawer__cta-en {
  font-family: var(--font-futura);
  font-size: 10px;
  font-weight: 500;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 11px;
}

.nav-drawer__cta-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-drawer__cta-icon img {
  width: 32px;
  height: 32px;
}

.nav-drawer__bottom {
  padding: 24px 20px 40px;
  border-top: 0.67px solid #e5e7eb;
  margin-top: 16px;
  margin-left: 20px;
  margin-right: 20px;
}

.nav-drawer__bottom-text {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 12px;
  line-height: 19.5px;
  color: #6a7282;
}

.nav-drawer__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 68px 20px 0;
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-black);
  text-align: left;
  width: 100%;
}

.nav-drawer__list li {
  width: 100%;
  border-bottom: 0.67px solid #e5e7eb;
}

.nav-drawer__list li a {
  display: block;
  padding: 20px 0;
  line-height: 20px;
}

/* ========================================
   MV SP
   ======================================== */
.mv-sp {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #ECECEC;
  overflow: hidden;
}

.mv-sp__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 40px 19px 60px;
}

.mv-sp__entry-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--color-yellow);
  font-family: var(--font-futura);
  font-size: 16px;
  font-weight: 500;
  color: #171717;
  padding: 10px 24px;
  text-transform: uppercase;
  margin-bottom: 32px;
  margin-right: -19px;
}

.mv-sp__entry-btn::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #171717;
}

.mv-sp__menu-list {
  list-style: none;
  text-align: right;
}

.mv-sp__menu-list li a {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 16px;
  line-height: 2.8;
  color: #171717;
}

.mv-sp__copy {
  padding: 0 19px 0;
}

.mv-sp__tagline {
  font-family: var(--font-futura);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: #000;
  letter-spacing: 0.22px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mv-sp__logo {
  width: 100%;
}

.mv-sp__logo img {
  width: 100%;
  height: auto;
}

/* ========================================
   Hero Image SP
   ======================================== */
.hero-image-sp {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
}

.hero-image-sp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-image-sp__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-sp__content {
  position: absolute;
  z-index: 2;
  top: 100px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--color-white);
}

.hero-image-sp__heading {
  font-family: var(--font-zen);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.22px;
}

.hero-image-sp__body {
  font-family: var(--font-zen);
  font-weight: 500;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.7px;
}

/* Hero Image 2 */
.hero-image-sp-2 {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
}

.hero-image-sp-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Image SP スライドショー（PCと同様に画像を切り替え） */
.sp-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.sp-slideshow__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.sp-slideshow__img.is-active {
  opacity: 1;
}

/* ========================================
   About SP
   ======================================== */
.about-sp {
  padding: 120px 0 60px;
}

.about-sp__text {
  padding: 0 20px;
}

.about-sp__body {
  margin-top: 40px;
  max-width: 280px;
}

.about-sp__more {
  margin-top: 36px;
}

.about-sp__image {
  margin-top: 56px;
  width: 100%;
  padding: 0;
}

.about-sp__image-frame {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.about-sp__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* ABOUT 写真リビールアニメ（左→右ワイプ＋ズームアウト）SP
   既定は表示。JSが is-prereveal を付与して一旦隠す。 */
.about-sp__image-frame {
  transition: clip-path 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-sp__image-frame img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.about-sp__image.is-prereveal .about-sp__image-frame {
  clip-path: inset(0 0 0 100%);
}
.about-sp__image.is-prereveal .about-sp__image-frame img {
  transform: scale(1.18);
}

/* ========================================
   Vision SP
   ======================================== */
.vision-sp {
  width: 100%;
  overflow: hidden;
}

.vision-sp img {
  width: 100%;
  height: 265px;
  object-fit: cover;
}

/* ========================================
   Group SP
   ======================================== */
.group-sp {
  padding: 120px 0 60px;
}

.group-sp__text {
  padding: 0 19px;
}

.group-sp__body {
  margin-top: 24px;
  max-width: 280px;
}

.group-sp__cards {
  margin-top: 48px;
  padding: 0 19px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-card-sp {
  background: var(--color-white);
  border: 1px dashed var(--color-gray-border-dashed);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.group-card-sp__heading {
  display: flex;
  align-items: center;
}

.group-card-sp__bar {
  width: 4px;
  height: 36px;
  background: #000;
  flex-shrink: 0;
  margin-right: 10px;
}

.group-card-sp__name {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
}

.group-card-sp__desc {
  font-family: var(--font-zen);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-gray-text);
}

/* ========================================
   Job SP
   ======================================== */
.job-sp {
  padding: 60px 0;
}

.job-sp__text {
  padding: 0 19px;
}

.job-sp__body {
  margin-top: 24px;
  max-width: 280px;
}

.job-sp__cards {
  margin-top: 48px;
  padding: 0 19px;
  display: flex;
  flex-direction: column;
}

.job-card-sp {
  position: sticky;
  top: 20px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--color-gray-border-solid);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.job-sp__cards .job-card-sp:nth-child(1) { top: 20px; z-index: 1; }
.job-sp__cards .job-card-sp:nth-child(2) { top: 28px; z-index: 2; }
.job-sp__cards .job-card-sp:nth-child(3) { top: 36px; z-index: 3; }
.job-sp__cards .job-card-sp:nth-child(4) { top: 44px; z-index: 4; }
.job-sp__cards .job-card-sp:nth-child(5) { top: 52px; z-index: 5; }

.job-card-sp--yellow {
  background: var(--color-yellow);
}

.job-card-sp--dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.job-card-sp__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card-sp__num {
  font-family: var(--font-futura);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.2;
}

.job-card-sp__title {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}

.job-card-sp__desc {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  font-feature-settings: 'palt' 1;
}

.job-card-sp__icon {
  display: flex;
  justify-content: flex-end;
}

.job-card-sp__icon img {
  width: 56px;
  height: 56px;
}

/* ========================================
   Gallery SP
   ======================================== */
.gallery-sp {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.gallery-sp__bg {
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 160px;
  background: var(--color-bg-dark);
  z-index: 0;
}

.gallery-sp__photos-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 0 19px;
}

.gallery-sp__photos-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 10px;
  margin-top: -80px;
  margin-bottom: 24px;
}

.gallery-sp__photo {
  overflow: hidden;
  border-radius: 2px;
}

.gallery-sp__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-sp__photo--1 {
  width: 132px;
  height: 156px;
  margin-top: 140px;
}

.gallery-sp__photo--2 {
  width: 188px;
  height: 227px;
  margin-top: 0;
}

.gallery-sp__photo--4 {
  width: 100px;
  height: 140px;
  margin-top: 120px;
}

.gallery-sp__photo--5 {
  width: 110px;
  height: 180px;
  margin-top: 200px;
  margin-left: 20px;
}

.gallery-sp__photo--3 {
  width: 130px;
  height: 130px;
  margin-top: 0;
}

.gallery-sp__title-area {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 20px 120px;
  color: var(--color-white);
}

.gallery-sp__title {
  font-family: var(--font-futura);
  font-size: 70px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.gallery-sp__desc {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-white);
  margin-top: 24px;
}

.gallery-sp__more {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

.gallery-sp__more-link {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  color: var(--color-white);
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--color-white);
  padding-bottom: 8px;
}

.gallery-sp__more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 21px;
  background: var(--color-yellow);
  border-radius: 20px;
  position: relative;
}

.gallery-sp__more-btn::after {
  content: '';
  width: 10px;
  height: 6px;
  border-right: 1.5px solid #171717;
  border-top: 1.5px solid #171717;
  transform: rotate(45deg);
  margin-left: -2px;
}

/* ========================================
   Interview SP
   ======================================== */
.interview-sp {
  padding: 120px 0 60px;
  background: var(--color-bg-light);
}

.interview-sp__text {
  padding: 0 20px;
}

.interview-sp__body {
  margin-top: 40px;
  max-width: 280px;
}

.interview-sp__more {
  margin-top: 24px;
}

.interview-sp__slider {
  margin-top: 48px;
  width: 100%;
  overflow-x: hidden;
  padding-bottom: 60px;
  background: linear-gradient(to bottom, transparent 40%, var(--color-yellow) 40%);
  pointer-events: none;
}

.interview-sp__track {
  display: flex;
  gap: 12px;
  padding-left: 20px;
  padding-right: 20px;
}

.interview-sp__card {
  flex: 0 0 220px;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
}

.interview-sp__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Cross Interview SP
   ======================================== */
.cross-interview-sp {
  padding: 0;
}

.cross-interview-sp__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.cross-interview-sp__bg {
  position: absolute;
  inset: 0;
}

.cross-interview-sp__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* テキスト焼き込み済み1枚絵（top-cross）用 */
.cross-interview-sp__inner--image {
  aspect-ratio: auto;
  height: auto;
}
.cross-interview-sp__image {
  display: block;
  width: 100%;
  height: auto;
}

.cross-interview-sp__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.06) 35%, rgba(0,0,0,0.6) 100%);
}

.cross-interview-sp__content {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cross-interview-sp__person {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
  gap: 2px;
}

.cross-interview-sp__person--left {
  left: 4%;
  top: 0;
}

.cross-interview-sp__person--right {
  right: 4%;
  top: 0;
}

.cross-interview-sp__person-bar {
  display: none;
}

.cross-interview-sp__person-bar img {
  display: none;
}

.cross-interview-sp__person-name {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 28px;
  color: var(--color-black);
  writing-mode: vertical-rl;
  background: var(--color-yellow);
  padding: 12px 0;
  width: 24px;
  overflow: visible;
  letter-spacing: 1.3px;
  line-height: 1.1;
  background: var(--color-yellow);
  padding: 10px 4px;
}

.cross-interview-sp__person-role {
  font-family: var(--font-futura);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.1;
  writing-mode: vertical-rl;
  padding-top: 8px;
  margin-left: 8px;
  margin-right: 8px;
  writing-mode: vertical-rl;
  letter-spacing: 1.3px;
  padding-top: 10px;
}

.cross-interview-sp__title-area {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--color-white);
  width: 90%;
}

.cross-interview-sp__title {
  font-family: var(--font-futura);
  font-size: 13vw;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
}

.cross-interview-sp__subtitle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-left: 50px;
}

.cross-interview-sp__subtitle-row .cross-interview__deco {
  position: relative;
  width: 60px;
  height: 22px;
  flex-shrink: 0;
  align-self: flex-start;
}

.cross-interview-sp__subtitle-area {
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.cross-interview-sp__deco-left {
  position: absolute;
  bottom: 14px;
  left: -4px;
  width: 60px;
  height: 22px;
}

.cross-interview-sp__subtitle-row .cross-interview__deco-block {
  position: absolute;
  display: block;
}

.cross-interview-sp__subtitle {
  font-family: var(--font-zen);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.36px;
  color: var(--color-black);
}

.cross-interview-sp__subtitle span {
  background: var(--color-yellow);
  padding: 2px 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ========================================
   Tech Text SP
   ======================================== */
.tech-text-sp {
  font-family: 'Tomorrow', sans-serif;
  font-size: 190px;
  font-weight: 600;
  color: var(--color-yellow);
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 1.9px;
  padding: 30px 0;
}

/* ========================================
   Work Style SP
   ======================================== */
.workstyle-sp {
  padding: 40px 0 0;
}

.workstyle-sp__text {
  padding: 0 20px;
}

.workstyle-sp__heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.workstyle-sp__body {
  margin-top: 40px;
  max-width: 280px;
}

.workstyle-sp__more {
  margin-top: 24px;
}

.workstyle-sp__visual {
  position: relative;
  margin-top: 40px;
  height: 536px;
}

.workstyle-sp__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.workstyle-sp__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.6);
}

.workstyle-sp__cards {
  position: relative;
  z-index: 1;
  padding: 46px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.workstyle-card-sp {
  background: var(--color-bg-dark);
  border-radius: 4px;
  padding: 16px 16px;
  width: 351px;
  max-width: 100%;
  height: 105px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  transition: background 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.workstyle-card-sp:active,
.workstyle-card-sp:hover {
  background: var(--color-yellow);
}

.workstyle-card-sp:active .workstyle-card-sp__title,
.workstyle-card-sp:hover .workstyle-card-sp__title,
.workstyle-card-sp:active .workstyle-card-sp__num,
.workstyle-card-sp:hover .workstyle-card-sp__num {
  color: var(--color-black);
}

.workstyle-card-sp:active .workstyle-card-sp__en,
.workstyle-card-sp:hover .workstyle-card-sp__en {
  color: var(--color-black);
  opacity: 0.8;
  border-bottom-color: rgba(0, 0, 0, 0.3);
}

/* キャリア・研修カードのみ黄色（税務プロフェッショナルコースと同様） */
.workstyle-card-sp--yellow {
  background: var(--color-yellow);
}

.workstyle-card-sp--yellow .workstyle-card-sp__title,
.workstyle-card-sp--yellow .workstyle-card-sp__num {
  color: var(--color-black);
}

.workstyle-card-sp--yellow .workstyle-card-sp__en {
  color: var(--color-black);
  opacity: 0.8;
  border-bottom-color: rgba(0, 0, 0, 0.3);
}

.workstyle-card-sp__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.workstyle-card-sp__title {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-white);
}

.workstyle-card-sp__en {
  font-family: var(--font-futura);
  font-size: 10px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  opacity: 0.7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  display: inline-block;
}

.workstyle-card-sp__num {
  font-family: var(--font-futura);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.64px;
}

/* ========================================
   News SP
   ======================================== */
.news-sp {
  padding: 140px 0 60px;
}

.news-sp__text {
  padding: 0 20px;
}

.news-sp__list {
  margin-top: 40px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item-sp {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.news-item-sp__img {
  flex: 0 0 159px;
  height: 90px;
  background: #d9d9d9;
  border-radius: 2px;
  overflow: hidden;
}

.news-item-sp__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item-sp__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-item-sp__date {
  font-family: var(--font-futura);
  font-size: 12px;
  line-height: 1.3;
  color: var(--color-black);
}

.news-item-sp__title {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.7px;
  color: var(--color-black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-sp__more {
  margin-top: 36px;
  padding: 0 20px;
  text-align: center;
}

/* ========================================
   Blog SP
   ======================================== */
.blog-sp {
  padding: 140px 0 60px;
}

.blog-sp__text {
  padding: 0 20px;
}

.blog-sp__list {
  margin-top: 40px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.blog-card-sp {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.blog-card-sp__img {
  width: 100%;
  height: 252px;
  border-radius: 4px;
  overflow: hidden;
}

.blog-card-sp__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-sp__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-card-sp__date {
  font-family: var(--font-futura);
  font-size: 14px;
  color: #000000;
}

.blog-card-sp__tag {
  background: var(--color-yellow);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 500;
  color: var(--color-black);
  border-radius: 2px;
}

.blog-card-sp__title {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}

.blog-card-sp__excerpt {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.7px;
  color: #000000;
}

.blog-sp__more {
  margin-top: 36px;
  padding: 0 20px;
  text-align: center;
}

/* ========================================
   Entry / FAQ SP
   ======================================== */
.entry-faq-sp {
  padding: 0 8px 0;
}

.entry-faq-sp__entry {
  display: block;
  background: var(--color-bg-dark);
  padding: 24px 20px;
  color: var(--color-white);
}

.entry-faq-sp__entry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.entry-faq-sp__entry-title {
  font-family: var(--font-futura);
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-white);
}

.entry-faq-sp__entry-jp {
  font-family: var(--font-zen);
  font-weight: 700;
  font-size: 16px;
  margin-top: 8px;
  color: var(--color-white);
}

.entry-faq-sp__circle-btn {
  width: 70px;
  height: 70px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.entry-faq-sp__circle-btn--dark {
  border-color: var(--color-black);
}

.entry-faq-sp__circle-btn svg {
  width: 24px;
  height: 15px;
  transform: rotate(-45deg);
}

.entry-faq-sp__entry-body {
  margin-top: 64px;
}

.entry-faq-sp__entry-body-title {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-white);
}

.entry-faq-sp__entry-body-desc {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-white);
  opacity: 0.8;
  margin-top: 16px;
}

.entry-faq-sp__faq {
  display: block;
  background: var(--color-yellow);
  padding: 24px 20px;
  height: 172px;
}

.entry-faq-sp__faq-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.entry-faq-sp__faq-title {
  font-family: var(--font-futura);
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-black);
}

.entry-faq-sp__faq-jp {
  font-family: var(--font-zen);
  font-weight: 700;
  font-size: 16px;
  margin-top: 8px;
  color: var(--color-black);
}

/* ========================================
   Footer SP
   ======================================== */
.footer-sp {
  background: var(--color-white);
  padding: 72px 24px 80px;
}

.footer-sp__logo {
  width: 100%;
  max-width: 100%;
  margin-bottom: 64px;
  padding: 0 20px;
}

.footer-sp__logo img {
  width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  object-position: left;
}

.footer-sp__company {
  margin-bottom: 24px;
}

.footer-sp__company-jp {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-black);
}

.footer-sp__company-en {
  font-family: var(--font-futura);
  font-size: 14px;
  color: var(--color-gray-text);
}

.footer-sp__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.footer-sp__contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-sp__contact-row dt {
  font-family: var(--font-zen);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-gray-text);
}

.footer-sp__contact-row dd {
  font-family: var(--font-noto);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-black);
}

.footer-sp__contact-row dd a {
  color: var(--color-black);
}

.footer-sp__nav {
  margin-bottom: 48px;
}

.footer-sp__nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-sp__nav-list li a {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 2.2;
  color: var(--color-black);
}

.footer-sp__bottom {
  border-top: 1px solid #ddd;
  padding-top: 32px;
}

.footer-sp__bottom-links {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-sp__bottom-links a {
  font-family: var(--font-zen);
  font-size: 12px;
  color: var(--color-gray-text);
}

.footer-sp__copyright {
  font-family: var(--font-zen);
  font-size: 12px;
  color: #999;
}

/* ========================================
   Sticky Header SP
   ======================================== */
.sticky-header-sp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: transparent;
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-header-sp.is-visible,
.sticky-header-sp--static {
  transform: translateY(0);
  opacity: 1;
}
.sticky-header-sp--static {
  background: transparent;
}

.sticky-header-sp__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 0;
  height: 100%;
}

.sticky-header-sp__logo img {
  height: 30px;
  width: auto;
}

.sticky-header-sp__menu-btn {
  width: 40px;
  height: 40px;
  background: var(--color-yellow);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  -webkit-appearance: none;
  appearance: none;
}

.sticky-header-sp__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #171717;
}

} /* end @media (max-width: 768px) */
