@charset "UTF-8";
/* ==========================================================================
   Foundation - Fonts
   ========================================================================== */

/* ==========================================================================
   Foundation - Custom Properties
   ========================================================================== */
:root {
  /* --- Layout --- */
  --design-width-pc: 1366px;
  --design-width-sp: 640px;
  --container-pc-max: 1080px;
  --container-sp-max: 580px;
  --container-service-bg-max: 1388px;
  --gutter-sp: 18px;
  --gutter-tablet: 40px;
  /* --- Color --- */
  --color-main: #1e56ae;
  --color-accent: #d92b8b;
  --color-white: #fff;
  --color-text: #333;

  /* --- Typography --- */
  --font-ja: "kozuka-gothic-pr6n", sans-serif;
  --font-en: "acumin-variable", sans-serif;
  --font-heading: "ta-koigokoro", sans-serif;
  --font-size-heading-pc: 36px;
  --font-size-heading-sp: 21px;
  --font-size-body-pc: 16px;
  --font-size-body-sp: 15px;
  --font-size-nav: 14px;
  --font-size-button: 14px;
  --letter-spacing-heading: 0.12em;
  /* --- Infinite scroll speed --- */
  --scroll-duration-data: 80s;
  --scroll-duration-interview: 60s;
  --scroll-duration-footer-text: 96s;
  --z-content: 1;
  --z-deco: 2;
  --z-header: 100;
  --z-fixed-btn: 150;
  --z-sp-menu: 200;
}

/* ==========================================================================
   Foundation - Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-white);
  word-break: break-word;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

[hidden] {
  display: none !important;
}

.spbr {
  display: none;
}

.tbbr {
  display: none;
}

/* ==========================================================================
   Layout - Container
   ========================================================================== */
.l-container {
  width: 100%;
  max-width: var(--container-pc-max);
  margin-inline: auto;
}

.l-container--service {
  max-width: var(--container-service-bg-max);
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .l-container,
  .l-container--service {
    box-sizing: border-box;
    max-width: none;
    width: calc(100% - var(--gutter-tablet) * 2);
    margin-inline: var(--gutter-tablet);
  }
  .tbbr {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .l-container {
    max-width: var(--container-sp-max);
    padding-inline: var(--gutter-sp);
  }
  body {
    font-size: var(--font-size-body-sp);
  }
  .spbr {
    display: block;
  }
  .tbbr {
    display: none;
  }
}
/* ==========================================================================
   Component - Button
   ========================================================================== */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ja);
  font-size: var(--font-size-button);
  font-weight: 700;
  line-height: 1.5;

  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.c-btn--primary {
  background-color: var(--color-main);
  color: var(--color-white);

}

.c-btn--primary:hover {

  color: var(--color-white);
}

.c-btn--accent {
  background-color: var(--color-accent);
  color: var(--color-white);

}

.c-btn--accent:hover {

  color: var(--color-white);
}

.c-btn--outline {
  background-color: var(--color-white);
  color: var(--color-main);
  border: 1px solid var(--color-main);
}

.c-btn--outline:hover {
  background-color: var(--color-main);
  color: var(--color-white);
}

.pc-dis {
  display: block;
}

.sp-dis {
  display: none !important;
}

.spbr {
  display: none;
}

.pcbr {
  display: block;
}

@media screen and (max-width: 767px) {
  .pc-dis {
    display: none !important;
  }
  .sp-dis {
    display: block !important;
  }
  .spbr {
    display: block;
  }
  .pcbr {
    display: none;
  }
}
/* ==========================================================================
   01. Header========================= */
.site-header {
  position: fixed;
  width: 100%;
  z-index: var(--z-header);

}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;

  min-height: 80px;
  padding-inline: 30px;
  overflow: visible;
}

.site-header__logo {
  position: relative;
  top: 20px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-right: auto;
  padding: 20px 24px 28px 0;
  border-bottom-right-radius: 24px;
  line-height: 0;
}

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

/* --- PC Navigation --- */
.site-header__nav {
  flex-shrink: 1;
  min-width: 0;
  overflow: visible;
}

.site-header__nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  overflow: visible;
}

.site-header__nav-link {
  display: block;
  padding: 8px 6px;
  font-family: var(--font-ja);
  font-size: var(--font-size-nav);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header__nav-link:hover,
.site-header__nav-item--has-dropdown:hover > .site-header__nav-link {
  color: var(--color-main);
}

.site-header__nav-item--has-dropdown {
  position: relative;
}

.site-header__nav-item--has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
}

.site-header__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: calc(var(--z-header) + 10);
  min-width: 260px;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-header__nav-item--has-dropdown:hover .site-header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header__dropdown-item + .site-header__dropdown-item {
  border-top: 1px solid #e8e8e8;
}

.site-header__dropdown-link {
  display: block;
  padding: 14px 48px 14px 16px;
  font-family: var(--font-ja);
  font-size: var(--font-size-nav);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  white-space: nowrap;
  background-color: var(--color-white);
  background-image: url("../images/top/arrow-bgb01.png");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 22px 22px;
}

/* --- Entry Buttons --- */
.site-header__entries {
  display: flex;
  flex-shrink: 0;
  gap: 0;
}

.site-header__entry {
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: .3s;
}
.site-header__entry:hover {
  opacity: .7;
}

.site-header__entry--new {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.site-header__entry--mid {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* --- Hamburger (Tablet / SP) --- */
.site-header__menu-button {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-main);
  color: var(--color-white);
}

.site-header__menu-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 24px;
}

.site-header__menu-line {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background-color: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- SP Menu --- */
.sp-menu {
  display: none;
}

.sp-menu[hidden] {
  display: none !important;
}

.sp-menu__body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sp-menu__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-menu__group + .sp-menu__group {
  margin-top: 4px;
}

.sp-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0 8px;
  border: 0;
  border-bottom: 1px solid #0e0e0e;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sp-menu__toggle-title {
  font-family: "acumin-variable", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--color-text);
  font-variation-settings: "slnt" 0, "wdth" 100, "wght" 600;
}

.sp-menu__toggle-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.sp-menu__toggle-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.sp-menu__sublist {
  list-style: none;
  margin: 0;
  padding: 12px 0 20px;
}

.sp-menu__group:not(.is-open) .sp-menu__sublist {
  display: none;
}

.sp-menu__sublist li + li {
  margin-top: 10px;
}

.sp-menu__sublink {
  display: block;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #999;
  text-decoration: none;
}

.sp-menu__footer {
  margin-top: auto;
  padding: 32px var(--gutter-sp) 48px;
  background-color: #f5f5f5;
  border-radius: 40px 40px 0 0;
}

.sp-menu__footer .footer_btn_wrap {
  margin-bottom: 32px;
}

.sp-menu__footer .footer__company-block {
  width: 100%;
  text-align: center;
}

.sp-menu__footer .footer__logo {
  margin-inline: auto;
}

.sp-menu__footer .footer__company-name,
.sp-menu__footer .footer__address,
.sp-menu__footer .footer__tel {
  margin-bottom: 0;
}

.sp-menu__footer .footer__links {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.sp-menu__footer .footer__links-item {
  font-size: 16px;
  color: #999;
}

.sp-menu__footer .footer__message {
  margin-bottom: 0;
}

.sp-menu__footer .footer__message-img {
  margin-inline: auto;
}

.sp-menu__footer .footer__copyright {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin-top: 16px;
  font-size: 12px;
}

.site-header--menu-open .site-header__menu-button {
  background-color: var(--color-accent);
}

.site-header--menu-open .site-header__menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header--menu-open .site-header__menu-line:nth-child(2) {
  opacity: 0;
}

.site-header--menu-open .site-header__menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.is-sp-menu-open {
  overflow: hidden;
}

/* SPメニューを開いている間は、背後のページを完全に固定する。
   （html 側も止めないと、body だけでは背後がスクロールできてしまう） */
html.is-sp-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* メニューを一番下（一番上）まで動かした後、そのままスクロールしても
   背後のページに動きが伝わらないようにする */
.sp-menu {
  overscroll-behavior: contain;
}

/* SPメニューを開いている間は、ヘッダー（上部64px）の背景も白くして
   下のページが透けて見えないようにする。ロゴとメニューボタンはこの上に乗る。 */
@media screen and (max-width: 1024px) {
  body.is-sp-menu-open .site-header {
    background-color: var(--color-white);
  }
}

/* --- Right Fixed Buttons --- */
.site-header-fixed {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: var(--z-fixed-btn);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
  z-index: 9999;
}

.site-header-fixed__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 16px 0;
  writing-mode: vertical-rl;
  font-family: var(--font-ja);
  font-size: var(--font-size-button);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--color-white);
  border-radius: 8px 0 0 8px;
  transition: .3s;
}

.site-header-fixed__link:hover {
  opacity: .7;
}

.site-header-fixed__link--new {
  background-color: var(--color-accent);
}

.site-header-fixed__link--new img,
.site-header-fixed__link--mid img {
  display: inline-block;
  width: 40%;
  margin-top: 10px;
}

.site-header-fixed__link--mid {
  background-color: var(--color-main);
}

/* --- Header: Tablet / SP --- */
@media screen and (max-width: 1024px) {
  html {
    scroll-padding-top: 66px;
  }
  .site-header__inner {
    align-items: center;
    min-height: 66px;
    padding-inline: var(--gutter-tablet);
    gap: 16px;
  }
  .site-header__logo {
    top: 0;
    align-self: center;
    padding: 0;
    border-bottom-right-radius: 0;
  }
  .site-header__logo img {
    height: 32px;
  }
  .site-header__nav,
  .site-header__entries {
    display: none;
  }
  .site-header__menu-button {
    display: inline-flex;
    margin-left: auto;
  }
  .site-header--menu-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sp-menu);
  }
  .sp-menu:not([hidden]) {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: calc(var(--z-sp-menu) - 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--color-white);
  }
  .sp-menu__body {
    padding: 8px var(--gutter-tablet) 0;
  }
  .sp-menu__footer {
    padding: 32px var(--gutter-tablet) 48px;
  }
  .sp-menu__footer .footer_btn {
    width: 49%;
    border-radius: 20px;
    padding: 26px 20px 15px;
    font-size: 30px;
    letter-spacing: 1.2px;
  }
  .sp-menu__footer .footer_btn span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: -2px;
  }
}
@media screen and (max-width: 767px) {
  .site-header__inner {
    padding-inline: var(--gutter-sp);
  }
  .sp-menu__body {
    padding: 8px var(--gutter-sp) 0;
  }
  .sp-menu__footer {
    padding: 32px var(--gutter-sp) 48px;
  }
  .sp-menu__footer .footer_btn {
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .site-header-fixed {
    display: flex;
    flex-direction: column;
    gap: 0;
    top: auto;
    right: 0;
    bottom: 0;
    margin-bottom: 110px;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    pointer-events: none;
    z-index: var(--z-fixed-btn);
  }

  .site-header-fixed.is-visible {
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header-fixed__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 0;
    padding: 18px 20px;
    writing-mode: horizontal-tb;
    font-size: 15px;
    letter-spacing: 0.06em;
    border-radius: 0;
  }

  .site-header-fixed__link--new {
    border-radius: 28px 28px 0 0;
  }

  .site-header-fixed__link--mid {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .site-header-fixed__link--new img,
  .site-header-fixed__link--mid img {
    width: 18px;
    height: 18px;
    margin-top: 0;
    flex-shrink: 0;
  }
}
/* ==========================================================================
   02. Hero
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--color-white);
}

.hero__body {
  position: relative;
  margin-bottom: 80px;
}

.hero__visual_sub01 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.hero__visual {
  display: block;
  overflow: hidden;
  object-fit: cover;
  display: block;
}

.hero__movie {
  transform: scale(1.4);
}

.hero__visual_sub02 {
  position: absolute;
  bottom: -6%;
  right: 0;
  width: 36%;
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* --- Main Copy --- */
.hero__content {
  position: absolute;
  z-index: var(--z-content);
  pointer-events: none;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  color: var(--color-white);
}

.hero__title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15em 0.35em;
}

.hero__title-bold {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.hero__title-script {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;

}

/* --- Latest News --- */
.hero-news {
  position: absolute;
  z-index: calc(var(--z-content) + 1);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 18px 0;
  text-decoration: none;
}

.hero-news__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  grid-column: 1/-1;
}

.hero-news__date {
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  min-width: 4em;
  min-height: 1em;
}

.hero-news__label {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-ja);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.hero-news__title {
  grid-column: 1;
  margin: 0;
  min-height: 1.5em;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
}

.hero-news span img {
  display: inline-block;
  width: 26px;
  margin-top: -3px;
}

/* --- Hero: PC --- */
@media screen and (min-width: 768px) {
  .hero__visual {
    padding-top: 92px;
    margin-left: 4.3%;
  }
  .hero__visual::after {
    content: "";
    position: absolute;
    top: 56.2%;
    left: -13.4%;
    display: block;
    width: 33%;
    height: 55.3%;
    background: url(../images/top/fv.deco_circle.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
  }
  .hero__visual img {
    width: 100%;
    height: auto;
  }
  .hero__content {
    width: 47.4%;
    left: 9%;
    bottom: 6%;
    z-index: 2;
  }
  .hero-news {
    left: 69%;
    top: 90%;
    width: min(27%, 401px);
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero__visual_sub02 {
    position: absolute;
    bottom: -7%;
    right: 0;
    width: 46%;
  }
  .hero-news {
    left: 61%;
    top: 88%;
    width: min(91%, 228px);
  }
}
/* --- Hero: SP --- */
@media screen and (max-width: 767px) {
  .hero {
    height: 87.9vh;
    position: relative;
    background-color: var(--color-white);
  }
  .hero__body {
    height: 100%;
  }
  .hero__visual {
    height: 100%;
    background-color: #000;
  }
  .hero__movie {
    height: 100%;
  }
  .hero__visual::after {
    content: "";
    position: absolute;
    top: 53.2%;
    left: -28.4%;
    display: block;
    width: 56%;
    height: 36.3%;
    background: url(../images/top/fv.deco_circle.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 99;
  }
  .hero__movie {
    height: 100%;
    transform: scale(3.3);
  }
  .hero__visual_sub02 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 96%;
  }
  .hero__content {
    width: 90%;
    right: 0;
    bottom: 124px;
    z-index: 99;
  }
  .hero__title-bold {
    font-size: 2.25rem;
  }
  .hero__title-script {
    font-size: 1.75rem;
  }
  .hero-news {
    right: 0;
    bottom: -10px;
    width: 86%;
    padding: 0px 16px 24px 16px;
    gap: 6px 2px;
  }
  .hero-news__title {
    font-size: 12px;
    color: var(--color-text);
  }
}
/* ==========================================================================
   03. Concept
   ========================================================================== */
.concept {
  position: relative;
  background-color: var(--color-white);
  overflow: hidden;
  padding-block: 80px;
}

.concept::before {
  content: "";
  position: absolute;
  top: 35%;
  left: -28px;
  width: 300px;
  height: 300px;
  background-image: url(../images/top/concept_deco01_pc.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.concept::after {
  content: "";
  position: absolute;
  top: 42%;
  right: 0;
  width: 146px;
  height: 300px;
  background-image: url(../images/top/concept_deco_right_pc.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.concept__inner {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.concept__inner::before {
  content: "";
  position: absolute;
  top: -19%;
  right: -6%;
  width: 16px;
  height: 95px;
  background-image: url(../images/top/concept-b-dots.png);
  background-size: contain;
  background-repeat: no-repeat;
}

/* --- Decorative Images --- */
.concept__deco {
  width: 1080px;
  margin: 0 auto;
  position: relative;
  inset: 0;
  z-index: var(--z-deco);
  pointer-events: none;
}

.concept__deco-img {
  position: absolute;
  display: block;
}

.concept__deco-img.concept__deco-img--person {
  top: -60px;
  left: -12%;
}

.concept__deco-img.concept__deco-img--deco03 {
  top: 150px;
  right: -90px;
}

.person_animation {
  animation: person_move 5s linear infinite;
}

@keyframes person_move {
  0% {
    rotate: 10deg;
  }
  50% {
    rotate: -10deg;
  }
  100% {
    rotate: 10deg;
  }
}
@media screen and (min-width: 768px) {
  .concept__deco-img--circle-sp,
  .concept__deco-img--sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .concept__deco-img--bottom-pc,
  .concept__deco-img--dots-bottom-pc,
  .concept__deco-img--right-pc,
  .concept__deco-img--vertical-dots-pc {
    display: none;
  }
}
/* --- Title --- */
.concept__title {
  margin-bottom: 40px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing-heading);
  text-align: center;
  color: var(--color-text);
  letter-spacing: normal;
}

.concept__title::after {
  content: "";
  position: absolute;
  top: -88px;
  right: -60px;
  width: 310px;
  height: 330px;
  background-image: url(../images/top/concept_deco_bottom_pc.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.concept__title-accent--pink {
  color: var(--color-accent);
}

.concept__title-accent--blue {
  color: var(--color-main);
}

/* --- Body Text --- */
.concept__text {
  margin-bottom: 40px;
  text-align: center;
}

.concept__text::before {
  content: "";
  position: absolute;
  top: 77%;
  left: 1%;
  width: 86px;
  height: 85px;
  background-image: url(../images/top/concept_deco02_pc.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.concept__text::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: 15%;
  width: 60px;
  height: 64px;
  background-image: url(../images/top/concept_deco_dots_bottom_pc.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.concept__text p {
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: 2px;
  color: var(--color-text);
}

.concept__text p + p {
  margin-top: 0;
}

/* --- Button --- */
.concept__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: start;
  gap: 12px;
  min-width: 240px;
  padding: 14px 24px;
  border-radius: 8px;
  transition: .3s;
}

.concept__button:hover {
  opacity: .7;
}

.concept__button-label {
  font-family: var(--font-ja);
  font-size: var(--font-size-button);
  font-weight: 700;
  line-height: 1.5;
}

.concept__button-arrow {
  position: absolute;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-main);
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .concept {
    padding: 0 0 80px;
  }

  .concept__deco {
    width: 100%;
    max-width: 1080px;
  }

  .concept__deco-img.concept__deco-img--person {
    top: -12px;
    left: -2%;
    width: 31%;
  }

  .concept__deco-img.concept__deco-img--deco03 {
    top: 41vh;
    right: 0;
    width: 28%;
    max-width: 200px;
    height: auto;
  }
}
/* --- Concept: SP --- */
@media screen and (max-width: 767px) {
  .concept {
    padding-block: 56px;
  }

  .concept__inner {
    z-index: 2;
  }
  .concept__title {
    font-size: clamp(18px, 4.6875vw, 30px);
    margin-bottom: 32px;
  }
  .concept__deco-img.concept__deco-img--person {
    width: 140px;
    height: auto;
    top: -10px;
    left: -4%;
  }
  .concept__title::after {
    content: "";
    top: -8px;
    right: -70px;
    width: 200px;
    height: 200px;
  }
  .concept__text::before,
  .concept__text::after {
    display: none;
  }
  .concept__inner::after {
    top: -8%;
    right: 14px;
    width: 11px;
    height: 95px;
  }
  .concept::after {
    top: 69%;
    right: 0px;
    width: 86px;
    height: 180px;
  }
  .concept::before {
    top: 24%;
    left: 0;
    width: 16.6%;
    height: 12.6%;
    background-image: url(../images/top/concept_deco_circle_sp.png);
  }
  .concept__deco-img.concept__deco-img--deco03 {
    width: 120px;
    top: 82vh;
    right: 64%;
    z-index: 1;
  }
  .concept__text {
    margin-bottom: 32px;
  }
  .concept__text p {
    font-size: var(--font-size-body-sp);
    line-height: 2.2;
    letter-spacing: 0px;
  }
  .concept__button {
    position: relative;
    width: 81%;
    max-width: 580px;
    min-width: 0;
    justify-content: center;
  }
}
/* ==========================================================================
   04. News
   ========================================================================== */
.news {
  position: relative;
  background-color: var(--color-white);
  height: auto;
  overflow-x: clip;
  background-image: url(../images/top/news_bg.png);
  background-size: 100% auto;
  background-position: bottom;
  background-repeat: no-repeat;
}

.news__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 98px;
  align-items: start;
  overflow: visible;
}

/* --- Decorative Images --- */
.news__deco {
  position: absolute;
  inset: 0;
  z-index: var(--z-deco);
  pointer-events: none;
  z-index: 1;
}

.news__deco-img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
}

.news__deco-img--dots {
  width: 60px;
  top: 220px;
  left: 60px;
}

.news__deco-img--purson {
  width: 150px;
  bottom: 0px;
  left: 410px;
  z-index: 2;
}

/* --- Intro --- */
.news__intro {
  position: relative;
  z-index: 1;
}

.news__heading-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 78px;
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-pc);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-text);
  transition: .3s;
}

.news__heading-title:hover {
  opacity: .7;
}


.news__heading-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-main);
  color: var(--color-white);
}

.news__lead {
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
}

.news__button {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 16px 30px 16px;
  border-radius: 10px;
  width: 100%;
  margin-top: 52px;
  transition: .3s;
}

.news__button:hover {
  opacity: .7;
}

.news__button-label {
  font-family: var(--font-ja);
  font-size: var(--font-size-button);
  font-weight: 700;
  line-height: 1.5;
}

.news__button-arrow {
  position: absolute;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}

/* --- Slider --- */
.news__slider-wrap {
  position: relative;
  z-index: 1;
  margin: 50px 0 70px;
  min-width: 0;
  width: calc(100% + var(--news-slider-bleed, 0px));
  margin-right: calc(-1 * var(--news-slider-bleed, 0px));
  max-width: none;
}

@media screen and (min-width: 1025px) {
  .news__slider-wrap {
    --news-slider-bleed: max(0px, (100vw - var(--container-pc-max)) / 2);
  }
}
.news__slider-wrap::before {
  content: "";
  position: absolute;
  top: 190px;
  left: -144px;
  width: 144px;
  height: 262px;
  background-image: url(../images/top/news_deco_purson.png);
  background-size: 100% auto;
  z-index: 1;
  animation: person_move 5s linear infinite;
}

.news__slider {
  overflow: hidden;
  margin-inline: -10px;
  padding-inline: 10px;
}

.news__list {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.news-card {
  min-width: 300px;
}

@media screen and (max-width: 1024px) {
  .news__slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .news__slider::-webkit-scrollbar {
    display: none;
  }

  .news__list {
    transition: none;
    will-change: auto;
  }

  .news-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

.news-card__link {
  display: block;
  overflow: hidden;
  background-color: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  text-decoration: none;
}

.news-card__image {
  aspect-ratio: 335/198;
  background-color: #ececec;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 32px; */
}

.news-card__image img {
  width: 80%;
}


.news-card__body {
  padding: 16px;
}

.news-card__date {
  display: inline-block;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  min-height: 1em;
}

.news-card__category {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 8px 0 8px;
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 4px;
  color: var(--color-white);
  background-color: var(--color-accent);
  min-height: 1.4em;
  min-width: 4em;
}

.news-card__category:empty {
  background-color: transparent;
}

.news-card__title {
  margin-top: 8px;
  min-height: 3em;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
}

/* --- Slider Controls --- */
.news__slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  width: 85%;
}

.news__slider-progress {
  flex: 1;
  height: 3px;
  background-color: #e0e0e0;
  border-radius: 999px;
  overflow: hidden;
}

.news__slider-progress-bar {
  display: block;
  width: 33%;
  height: 100%;
  background-color: var(--color-main);
  border-radius: inherit;
  transition: width 0.4s ease;
}

.news__slider-arrows {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.news__slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-main);
  color: var(--color-main);
  cursor: pointer;
}

.news__slider-arrow--next {
  background-color: var(--color-main);
  color: var(--color-white);
}

.news__slider-arrow::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.news__slider-arrow--prev::before {
  transform: rotate(-135deg) translate(-1px, 1px);
}

.news__slider-arrow--next::before {
  transform: rotate(45deg) translate(-1px, 1px);
}

.news__slider-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

/* --- News: Tablet / SP --- */
@media screen and (max-width: 1024px) {
  .news {
    padding-block: 26px;
  }
  .news__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .news__heading-title {
    font-size: var(--font-size-heading-sp);
    margin-bottom: 16px;
  }
  .news__lead {
    font-size: var(--font-size-body-sp);
  }
  .news__deco-img--dots {
    top: auto;
    bottom: 40px;
    right: 0;
    left: auto;
    width: 38px;
    z-index: 1;
  }
  .news__deco-img--purson {
    bottom: 80px;
    width: 180px;
  }
  .news__slider-wrap {
    margin: 30px 0 0;
  }
  .news__slider-wrap::before {
    top: 300px;
    width: 88px;
    height: 162px;
  }
  .news__list {
    gap: 16px;
  }
  .news-card__title {
    font-size: 16px;
  }
  .news__button {
    position: relative;
    margin: 42px auto 70px;
    width: 80%;
    justify-content: center;
}
  .news__button.pc-dis {
    display: none !important;
  }
  .news__button.sp-dis {
    display: flex !important;
  }
  .news__slider-progress {
    height: 10px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .news__intro .news__button.pc-dis {
    display: none !important;
  }
  .news__button.sp-dis {
    display: block !important;
  }
  .news__deco-img--purson {
    left: 0;
  }
  .news__slider-wrap {
    --news-slider-bleed: var(--gutter-tablet);
  }
  .news__slider-wrap::before {
    left: -9%;
            top: 81%;
        width: 21%;
        height: 63%;
  }
  .news__slider {
    margin-inline: 0;
    padding-inline: 0;
  }
  .news-card {
    flex: 0 0 calc(50% - 60px);
    min-width: calc(50% - 60px);
  }
  .news__slider-controls {
    margin: 24px auto;
    width: 90%;
  }
}
@media screen and (max-width: 767px) {
  .news__slider {
    margin-inline: 0;
    padding-inline: 0;
  }
  .news__deco-img--purson {
    left: -10px;
  }
  .news__slider-wrap {
    --news-slider-bleed: var(--gutter-sp);
  }
  .news__slider-wrap::before {
    top: 97%;
    left: -9%;
  }
  .news-card {
    min-width: calc(100% - 100px);
  }
  .news__slider-controls {
    margin-top: 24px;
    width: calc(100% - 9.6%);
    gap: 0;
  }
  .news__slider-arrows {
    display: none;
  }
  .news__slider-progress {
    flex: 1 1 auto;
  }
}
/* ==========================================================================
   05. Company
   ========================================================================== */
.company {
  position: relative;
  background-color: var(--color-white);
  overflow: hidden;
  padding-block: 80px;
  background-color: #f3f5f7;
  background-image: url(../images/top/co_bg_b.png);
  background-size: 100% auto;
  background-position: bottom;
  background-repeat: no-repeat;
}

.company::before {
  content: "";
  display: block;
  width: 200px;
  height: 286px;
  background-image: url(../images/top/co-purson_01.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 204px;
  left: 0;
}

.company__inner {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: var(--z-content);
}

.company__layout {
  width: 52.7%;
}

.company__layout::before {
  content: "";
  display: block;
  width: 290px;
  height: 350px;
  background-image: url(../images/top/co_img03.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -33px;
  left: 430px;
  z-index: 99;
}

.company__layout::after {
  content: "";
  display: block;
  width: 176px;
  height: 380px;
  background-image: url(../images/top/co_person.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -40px;
  left: 650px;
  z-index: 999;
  animation: person_move 5s linear infinite;
}

.company__content {
  grid-column: 1;
  grid-row: 1;
}

.company__buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 398px;
  margin-top: 98px;
}

.company__buttons-item {
  list-style: none;
}

.company__image {
  position: absolute;
  width: 49.9%;
  right: -100px;
  top: 4%;
}

.company__image::after {
  content: "";
  display: block;
  width: 168px;
  height: 168px;
  background-image: url(../images/top/co.4circle.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 560px;
  right: -100px;
}

/* --- Decorative Images --- */
.company__deco {
  position: absolute;
  inset: 0;
  z-index: var(--z-deco);
  pointer-events: none;
}

.company__deco-img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;

  left: -9999px;
  top: 0;
}

.company__deco-img--purson-01 {
  width: 400px;
}

.company__deco-img--purson-02 {
  width: 703px;
}

.company__deco-img--purson-03 {
  width: 940px;
}

.company__deco-img--4circle {
  width: 336px;
}

.company__deco-img--dots-sp {
  width: 120px;
}

.company__deco-img--purson-04-sp {
  width: 479px;
}

.company__deco-img--purson-05-sp {
  width: 760px;
}

.company__deco-img--purson-sp {
  width: 189px;
}

.company__deco-img--purson03-sp {
  width: 1024px;
}

@media screen and (min-width: 1025px) {
  .company__deco-img--dots-sp,
  .company__deco-img--purson-04-sp,
  .company__deco-img--purson-05-sp,
  .company__deco-img--purson-sp,
  .company__deco-img--purson03-sp {
    display: none;
  }
}
/* --- Heading --- */
.company__heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-pc);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-text);
  transition: .3s;
}

.company__heading:hover {
  opacity: .7;
}

.company__heading-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-main);
  color: var(--color-white);
}

/* --- Body Text --- */
.company__text p {
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-text);
}

/* --- Buttons --- */
.company__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.company__button:hover {
  background-color: #e3e7ef;
}

.company__button-label {
  font-family: var(--font-ja);
  font-size: var(--font-size-button);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.3px;
  color: var(--color-main);
}

.company__button-arrow {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: url("../images/top/arrow-co.png") no-repeat center/contain;
  transition: background-image 0.2s ease;
}

.company__button:hover .company__button-arrow {
  background-image: url("../images/top/arrow-bgb01.png");
}

/* --- Company: SP / Tablet --- */
@media screen and (max-width: 1024px) {
  .company__deco-img--purson-01,
  .company__deco-img--purson-02,
  .company__deco-img--purson-03 {
    display: none;
  }
  .company {
    padding-block: 56px;
    background-color: #f5f5f5;
  }
  .company__inner {
    flex-direction: column;
    justify-content: space-between;
  }
  .company__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
    width: 100%;
  }
  .company__content {
    grid-column: 1;
    grid-row: 1;
  }
  .company__buttons {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    gap: 10px;
    margin-top: 20px;
  }
  .company__buttons::after {
    content: "";
    display: block;
    width: 108px;
    height: 108px;
    background-image: url(../images/top/co.4circle.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: auto;
    bottom: 60px;
    left: -41px;
    right: auto;
    z-index: -1;
  }
  .company__heading {
    font-size: var(--font-size-heading-sp);
    margin-bottom: 16px;
  }
  .company__text {
    max-width: none;
  }
  .company__text p {
    font-size: var(--font-size-body-sp);
    line-height: 1.85;
  }
  .company__image {
    position: relative;
    width: 100%;
    right: auto;
  }
  .company__image.pc-dis {
    display: none !important;
  }
  .company__image.sp-dis {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100vw;
    margin-left: -5.3%;
  }
  .company__image.sp-dis img:nth-child(1) {
    width: calc(100% - 24px);
    margin-left: 1%;
  }
  .company__image.sp-dis img:nth-child(2) {
    margin-left: -1%;
    width: 37%;
}
  .company__image.sp-dis img:nth-child(3) {
    width: 58%;
  }
  .company::before,
  .company__layout::after,
  .company__layout::before {
    display: none;
  }
  .company__image::after {
    display: none;
  }
  .company__image.sp-dis::after {
    content: "";
    display: block;
    width: 22%;
    height: 47%;
    background-image: url(../images/top/co_person.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 14%;
    bottom: auto;
    left: auto;
    right: -10px;
    z-index: 999;
    animation: person_move 5s linear infinite;
  }
  .company__deco-img--purson-04-sp {
    width: 100%;
    max-width: 479px;
  }
  .company__deco-img--purson-05-sp {
    width: 100%;
    max-width: 760px;
  }
  .company__deco-img--purson03-sp {
    width: 100%;
    max-width: 580px;
  }
}
/* ==========================================================================
   06. Service
   ========================================================================== */
.service {
  position: relative;
  z-index: 1; /* recruit(auto) より前。footer(z-index:2) より後ろ */
  padding-block: 80px 0;
  background-color: var(--color-white);
  background-image: url(../images/top/service_bg.png);
  background-size: 100% auto;
  background-position: top;
  background-repeat: no-repeat;
  overflow: visible;
}

.service__bg {
  width: 100%;
  max-width: var(--container-service-bg-max);
  margin-inline: auto;
}

.service__inner {
  position: relative;
}

/* --- Heading --- */
.service__heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-pc);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-text);
  transition: .3s;
}

.service__heading:hover {
  opacity: .7;
}

.service__heading-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-main);
  color: var(--color-white);
}

/* --- Lead --- */
.service__lead {
  margin-bottom: 40px;
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-text);
}

/* --- Accordion Items --- */
.service__items {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  overflow-anchor: none;
  min-height: 0;
  /* 見える帯 126px + かぶり 40px（バックアップの閉じ見出し高さに合わせる） */
  --service-collapsed-slot: 166px;
  --service-overlap: 40px;
  /* 直後セクション（採用情報の margin-top: -40px など）のかぶり */
  --service-after-overlap: 40px;
  /* 一番下の閉じタブが下に伸びないよう、採用へ食い込ませる */
  margin-bottom: calc(var(--service-after-overlap) * -1);
}

.service-item {
  overflow: hidden;
  border-radius: 46px 46px 0 0;
}

.service-item:last-child {
  border-radius: 46px 46px 0 0;
}

.service-item:nth-child(even):not(.service-item--active) {
  background-color: #f3f5f7;
  color: var(--color-main);
}

.service-item:nth-child(odd):not(.service-item--active) {
  background-color: #e6e7e8;
  color: var(--color-main);
}

.service-item--active {
  background-color: var(--color-main);
  color: var(--color-white);
  border-radius: 46px 46px 0 0;
  /* 次カードに隠れる overlap 分 + 本文下の見える余白 */
  padding: 0 0 calc(var(--service-overlap) + 48px);
}

/* 開いたカードは常に上左右を丸く（下は次カード／採用に食わせるため角なし） */
.service__items .service-item--active {
  border-top-left-radius: 46px;
  border-top-right-radius: 46px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* --- Item Button --- */
.service-item__button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  border: none;
  background: transparent;
  cursor: default;
  text-align: left;
  font-family: inherit;
  position: relative;
  touch-action: manipulation;
}

.service-item--active .service-item__button {
  padding-bottom: 0;
}

.service-item__icon {
  flex-shrink: 0;
  width: 39px;
  height: 30px;
  object-fit: contain;
  transition: opacity 0s;
}

.service-item__icon--white {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.service-item:not(.service-item--active) .service-item__icon--blue {
  opacity: 1;
  visibility: visible;
  position: static;
  transform: none;
}

.service-item:not(.service-item--active) .service-item__icon--white {
  opacity: 0;
  visibility: hidden;
}

.service-item--active .service-item__icon--blue {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.service-item--active .service-item__icon--white {
  opacity: 1;
  visibility: visible;
  position: static;
  transform: none;
}

.service-item__title {
  font-family: var(--font-ja);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-main);
  transition: color 0s;
}

.service-item--active .service-item__title {
  color: var(--color-white);
}

/* --- Item Body（開閉高さは JS。初期表示用に CSS も持つ。アニメ中は inline が優先） --- */
.service-item__body {
  display: none;
  overflow: hidden;
  max-height: none;
  opacity: 1;
}

.service-item--active .service-item__body {
  display: block;
  max-height: none;
  opacity: 1;
}

/* --- Active Item Content --- */
.service-item__content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 24px;
  transform: none;
}

.service-item--active .service-item__content {
  transform: none;
}

.service-item__media {
  min-width: 0;
  width: 35.65%;
  height: auto;
}

.service-item__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 385 / 255;
  border-radius: 24px;
  object-fit: cover;
}

.service-item__detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 61.4%;
  min-width: 0;
}

.service-item__text {
  margin-bottom: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-white);
}

/* --- Meta --- */
.service-item__meta {
  margin: 0;
  padding: 14px 24px;
  background-color: #5694ef;
  border-radius: 10px;
}

.service-item__meta-row {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
}

.service-item__meta-label {
  display: inline-flex;
  align-self: flex-start;
  width: 13.5%;
  margin-top: 5px;
  padding: 1px 12px;
  border: 1px solid var(--color-white);
  border-radius: 999px;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
}

.service-item__meta-value {
  width: 80%;
  margin: 0;
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-white);
}

/* --- Service: Stack accordion（FAQ と同じ文書フロー＋負マージンのかぶり） --- */
.service-item {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  /* 色は FAQ に近い時間感。高さは JS が本文をスライドする */
  transition:
    background-color 0.3s,
    color 0.3s;
}

.service__items--no-transition .service-item,
.service__items--no-transition .service-item__body,
.service__items--no-transition .service-item__content {
  transition: none !important;
}

.service__items--is-transitioning .service-item:not(.service-item--active) {
  /* ホバー切替を阻害しない（中間バグの元になるため pointer-events は触らない） */
}

.service-item:nth-child(1),
.service-item:nth-child(2),
.service-item:nth-child(3),
.service-item:nth-child(4),
.service-item:nth-child(5),
.service-item:nth-child(6),
.service-item:nth-child(7),
.service-item:nth-child(8),
.service-item:nth-child(9),
.service-item:nth-child(10),
.service-item:nth-child(11),
.service-item:nth-child(12) {
  /* 実効の重ね順は末尾の !important ブロック（active / 後続）で制御 */
  z-index: 1;
}

/*
  active を前面に出さない。
  前面に出すと「開いたカードの下余白」が後続カードの見出しを覆い、
  閉じ見出しが帯状に潰れて見える。
*/
.service-item--active {
  max-height: none;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.service-item:not(:last-child) {
  margin-bottom: calc(var(--service-overlap) * -1);
}

.service-item:last-child {
  margin-bottom: 0;
  border-radius: 46px 46px 0 0;
}

/*
  閉じたカードの高さは固定 height ではなく、
  見出し高さ + margin-bottom（かぶり用）で作る。
*/
.service-item:not(.service-item--active) {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;
}

.service-item:not(.service-item--active) .service-item__button,
.service-item:last-child:not(.service-item--active) .service-item__button {
  height: calc(var(--service-collapsed-slot) - var(--service-overlap));
  align-items: center;
}

.service-item:not(.service-item--active):not(:last-child) .service-item__button {
  margin-bottom: var(--service-overlap);
}

/* 一番下の閉じたタブは見出し帯のみ（下に余白を足さない） */
.service-item:last-child:not(.service-item--active) {
  padding-bottom: 0;
}

.service-item:last-child:not(.service-item--active) .service-item__button {
  margin-bottom: 0;
}

.service-item--active .service-item__button {
  height: auto;
  min-height: calc(var(--service-collapsed-slot) - var(--service-overlap));
  margin-bottom: 0;
  align-items: center;
  cursor: default;
}

.service-item:not(.service-item--active) .service-item__button {
  cursor: pointer;
}

/* 最後の開いたカード: 採用のかぶり分（余白を足しすぎない） */
.service-item:last-child.service-item--active {
  padding-bottom: calc(var(--service-after-overlap) + 40px);
}

/* --- Service: Tablet / SP --- */
@media screen and (max-width: 1024px) {
  .service__items {
    min-height: 0;
    --service-collapsed-slot: 82px;
    --service-overlap: 16px;
    --service-after-overlap: 46px;
  }
  .service-item--active .service-item__button {
    cursor: pointer;
  }
  .service {
    padding: 56px 0 0;
  }
  .service-item {
    border-radius: 12px 12px 0 0;
  }
  .service-item:last-child {
    border-radius: 12px 12px 0 0;
  }
  .service-item--active,
  .service__items .service-item--active {
    border-radius: 12px 12px 0 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 0 0 calc(var(--service-overlap) + 40px);
  }
  .service-item:last-child.service-item--active {
    padding-bottom: calc(var(--service-after-overlap) + 40px);
  }
  .service__heading {
    font-size: var(--font-size-heading-sp);
    margin-bottom: 16px;
  }
  .service__lead {
    margin-bottom: 32px;
    font-size: var(--font-size-body-sp);
    line-height: 1.85;
  }
  .service-item:not(.service-item--active) .service-item__button,
  .service-item:last-child:not(.service-item--active) .service-item__button {
    height: calc(var(--service-collapsed-slot) - var(--service-overlap));
    padding-block: 0;
    padding-inline: 20px;
    gap: 12px;
  }
  .service-item--active .service-item__button {
    height: auto;
    min-height: calc(var(--service-collapsed-slot) - var(--service-overlap));
    padding-block: 0;
    padding-inline: 20px;
    gap: 12px;
  }
  .service-item__icon {
    width: 30px;
    height: 30px;
  }
  .service-item__title {
    font-size: 18px;
  }
  .service-item__body {
    padding: 16px 20px 24px;
  }
  .service-item__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
    overflow: visible;
  }
  .service-item__media,
  .service-item__detail {
    width: 100%;
  }
  .service-item__image {
    height: auto;
  }
  .service-item__text {
    margin-bottom: 16px;
    font-size: var(--font-size-body-sp);
    line-height: 1.85;
  }
  .service-item__meta {
    padding: 8px 14px;
  }
  .service-item__meta-value {
    width: 100%;
    margin: 0;
    font-size: var(--font-size-body-sp);
  }
  .service-item__meta-label {
    width: auto;
    margin-top: 5px;
    padding: 1px 12px;
    font-family: var(--font-ja);
    font-size: 10px;
  }
  .service-item__meta-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
  }
  .service-item__meta-row:nth-child(2) {
    margin-top: 10px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .service__bg {
    max-width: none;
    width: calc(100% - var(--gutter-tablet) * 2);
    margin-inline: var(--gutter-tablet);
  }
}
@media screen and (max-width: 767px) {
  .service__bg {
    max-width: none;
  }
  .service-item__body {
    padding: 0 0 24px;
  }
  .service-item__content {
    margin-top: 0px;
  }
}

/*
  ==========================================================================
  バックアップ版（position:absolute + --service-item-slot + active z-index 前面化）
  が本番に残っていても、フロー開閉を優先するための上書き。
  ========================================================================== */
.service__items {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  clip-path: none !important;
}

.service__items .service-item {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  float: none !important;
}

/* 重ね順:
   - 開いたカードは直前カードより前（上角の丸みが見える）
   - 直後以降の閉じカードはさらに前（開いた下余白で見出しが潰れない） */
.service__items .service-item {
  z-index: 1 !important;
}

.service__items .service-item--active {
  z-index: 2 !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  border-radius: 46px 46px 0 0 !important;
  border-top-left-radius: 46px !important;
  border-top-right-radius: 46px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.service__items .service-item--active ~ .service-item {
  z-index: 3 !important;
}

.service__items .service-item:not(.service-item--active) {
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
}

.p-service .division .service-item--active,
.division .service-item--active {
  z-index: 2 !important;
  border-radius: 46px 46px 0 0 !important;
  border-top-left-radius: 46px !important;
  border-top-right-radius: 46px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.p-service .division .service-item--active ~ .service-item,
.division .service-item--active ~ .service-item {
  z-index: 3 !important;
}

@media screen and (max-width: 1024px) {
  .service__items .service-item--active,
  .p-service .division .service-item--active,
  .division .service-item--active {
    border-radius: 12px 12px 0 0 !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
  }
}

/* ==========================================================================
   Infinite scroll
   ========================================================================== */
.infinite-scroll {
  overflow: hidden;
  width: 100%;
}

.infinite-scroll__wrap {
  display: flex;
  width: max-content;
}

.infinite-scroll__wrap--data {
  animation: infinite-scroll-left var(--scroll-duration-data) linear infinite;
}

.infinite-scroll__wrap--interview {
  animation: infinite-scroll-left var(--scroll-duration-interview) linear infinite;
}

.infinite-scroll__wrap--footer-text {
  position: absolute;
  bottom: -30px;
  opacity: 0.1;
  animation: infinite-scroll-left var(--scroll-duration-footer-text) linear infinite;
}

.infinite-scroll__track {
  display: flex;
  flex-shrink: 0;
}

.infinite-scroll__track--data {
  gap: 24px;
  padding-right: 24px;
}

.infinite-scroll__track--interview {
  gap: 20px;
  padding-right: 20px;
}

.infinite-scroll__track--footer-text {
  gap: 0;
  padding-right: 0;
}

@keyframes infinite-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(var(--infinite-scroll-distance, 50%) * -1));
  }
}
@media (prefers-reduced-motion: reduce) {
  .infinite-scroll__wrap {
    animation: none;
  }
}
/* ==========================================================================
   07. Data
   ========================================================================== */
.data {
  position: relative;
  background-color: var(--color-white);
  overflow: hidden;
  padding-block: 80px;
  background-image: url(../images/top/data_bg.png);
  background-size: 100% auto;
  background-position: bottom;
  background-repeat: no-repeat;
}

.data__inner {
  position: relative;
  z-index: var(--z-content);
}

.data__inner::before {
  content: "";
  display: block;
  width: 106px;
  aspect-ratio: 121/233;
  background-image: url(../images/top/data_decopurson01.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -40px;
  left: -80px;
  z-index: 999;
  animation: person_move 5s linear infinite;
}

/* --- Decorative Images --- */
.data__deco {
  position: absolute;
  inset: 0;
  z-index: var(--z-deco);
  pointer-events: none;
}

.data__deco-img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;

  left: -9999px;
  top: 0;
}

.data__deco-img--dots {
  width: 120px;
}

.data__deco-img--purson01 {
  width: 280px;
}

.data__deco-img--purson02 {
  width: 400px;
}

/* --- Heading --- */
.data__heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-pc);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-text);
  transition: .3s;
}

.data__heading:hover {
  opacity: .7;
}


.data__heading-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-main);
  color: var(--color-white);
}

/* --- Lead --- */
.data__lead {
  margin-bottom: 70px;
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-text);
}

/* --- Slider --- */
.data__slider {
  overflow: hidden;
  margin-inline: -10px;
  padding-inline: 10px;
}

.data__slider::before {
  content: "";
  display: block;
  width: 200px;
  aspect-ratio: 137/244;
  background-image: url(../images/top/data_deco_purson02.png);
  background-size: 100% auto;
  background-position: top;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0px;
  left: 71%;
  z-index: 9;
  animation: person_move 5s linear infinite;
}

.data__list {
  display: flex;
  gap: 24px;
}

/* --- Data Card --- */
.data-card {
  flex-shrink: 0;
  min-width: 340px;
  background-color: #5694ef;
  border-radius: 24px;
  color: var(--color-white);
  height: 600px;
  overflow: hidden;
}

.data_card-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 84px 60px 0px;
}

.data-card:nth-child(3n+1) {
  width: 1080px;
}

.data-card:nth-child(3n+2) {
  width: 350px;
}

.data-card:nth-child(3n) {
  width: 714px;
}

.data-card-l {
  width: 1080px;
}

.data-card-s {
  width: 350px;
}

.data-card-m {
  width: 714px;
}

.data-card__title {
  margin-bottom: 16px;
  padding: 22.4px;
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--color-white);
  border-bottom: 1px solid #fff;
}

.data-card:nth-child(3n+1) .data-card__title {
  background-image: url(../images/top/gold_bg.png);
  background-size: 100%, 100%;
  border-bottom: none;
}

.data-card__images {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.data-card:nth-child(3n+1) .data-card__images {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 50px 40px 30px;
}

.data-card:nth-child(3n+2) .data-card__images {
  margin: 45px 40px 16px;
}

.data-card__image {
  display: block;
  width: 100%;
  height: auto;

}

.data-card:nth-child(3n) .data-card__image {
  display: block;
  width: 88%;
  height: auto;

}

.data-card__image--sales01 {
  width: 318px;
}

.data-card__image--sales02 {
  width: 618px;
}

.data-card__text {
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 400;
  line-height: 1.85;
  color: var(--color-white);
  padding: 26px 40px 0;
  font-size: 14px;
  border-top: 1px dotted #fff;
}

.data-card:nth-child(3n+1) .data-card__text {
  padding: 0 20px;
  border-top: none;
}

.data-card:nth-child(3n+2) .data-card__text {
  padding: 26px 20px 0;
}

.data-card__note {
  text-align: center;
  font-size: 14px;
}

.data-card__breakdown {
  margin: 0 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.data-card__breakdown-row {
  text-align: center;
}

.data-card__breakdown-label {
  width: 110px;
  border: 1px solid #fff;
  padding: 5px 20px;
  text-align: center;
  font-size: 14px;
}

.data-card__breakdown-value span {
  font-size: 60px;
  font-weight: 700;
}

/* --- Data: Tablet --- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .data-card {
    flex: 0 0 min(340px, 42vw);
    min-width: min(340px, 42vw);
  }
  .data__inner::before {
    top: 70vh;
    left: -10px;
  }
  .data__slider::before {
    width: 130px;
    height: 254px;
    bottom: 0px;
    left: 80%;
  }
}
/* --- Data: SP --- */
@media screen and (max-width: 767px) {
  .data {
    padding-block: 56px;
  }
  .data__heading {
    font-size: var(--font-size-heading-sp);
    margin-bottom: 16px;
  }
  .data__lead {
    max-width: none;
    margin-bottom: 32px;
    font-size: var(--font-size-body-sp);
    line-height: 1.85;
  }
  .data__slider {
    margin-inline: 0;
    padding-inline: 0;
    overflow: hidden;
  }
  .data__list {
    gap: 20px;
  }
  .data-card {
    flex: none;
    min-width: 280px;
    padding: 20px 16px 24px;
    border-radius: 20px;
  }
  .data-card__title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .data-card__images {
    margin-bottom: 12px;
  }
  .data-card__text {
    font-size: var(--font-size-body-sp);
    line-height: 1.85;
  }
  .data-card__breakdown-row {
    font-size: var(--font-size-body-sp);
  }
  .data__slider::before {
    width: 90px;
    bottom: 30px;
    left: 76%;
  }
  .data__inner::before {
    width: 84px;
    top: 107vh;
    left: 20px;
  }
}
/* ==========================================================================
   08. Interview
   ========================================================================== */
.interview {
  position: relative;
  background-color: #333;
  overflow: hidden;
  padding: 80px 0 100px;
  border-radius: 48px 0 0 0;
}

.interview::before {
  content: "";
  display: block;
  width: 180px;
  height: 194px;
  background-image: url(../images/top/interview_person.png);
  background-size: 100% auto;
  background-position: top;
  background-repeat: no-repeat;
  position: absolute;
  top: 20px;
  right: 120px;
  z-index: 1;
  animation: person_move 5s linear infinite;
}

.interview::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  width: 365px;
  height: 302px;
  background-image: url(../images/top/interview_circle.png);
  background-size: 100%;
  background-position: top right;
  background-repeat: no-repeat;
  position: absolute;
}

.interview__inner {
  position: relative;
  z-index: var(--z-content);
}

/* --- Header --- */
.interview__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}


.interview__heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-pc);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-white);
  transition: .3s;
}

.interview__heading:hover {
  opacity: .7;
}


.interview__heading-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-main);
  color: var(--color-white);
}

.interview__lead {
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-white);
}

/* --- Slider --- */
.interview__slider {
  position: relative;
  overflow: hidden;
  margin-inline: -10px;
  padding-inline: 10px;
  z-index: 9;
}

.interview__list {
  display: flex;
  gap: 20px;
  margin-top: 98px;
}

/* --- Interview Card --- */
.interview-card {
  flex: 0 0 330px;
  flex-shrink: 0;
  min-width: 260px;
}

.interview-card__link {
  display: block;
  position: relative;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.interview-card__link:hover {
  color: inherit;
}

.interview-card__image {
  aspect-ratio: 3/4;
  min-height: 320px;
  height: 100%;
}

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

.interview-card__body {
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  inset: auto 0 0;
  padding: 20px 16px 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.interview-card__copy {
  margin-bottom: 12px;
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-white);
}

.interview-card__position {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-white);
}

.interview-card__name {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
}

/* --- Interview: Tablet --- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .interview-card {
    flex: 0 0 min(260px, 38vw);
    min-width: min(260px, 38vw);
  }
}
/* --- Interview: SP --- */
@media screen and (max-width: 767px) {
  .interview {
    padding: 56px 0 90px;
    border-radius: 32px 0 0 0;
  }
  .interview__header {
    margin-bottom: 24px;
  }
  .interview__intro {
    max-width: none;
  }
  .interview__heading {
    font-size: var(--font-size-heading-sp);
    margin-bottom: 16px;
  }
  .interview__lead {
    font-size: var(--font-size-body-sp);
    line-height: 1.85;
  }
  .interview__slider {
    margin-inline: 0;
    padding-inline: 0;
    overflow: hidden;
  }
  .interview__list {
    margin-top: 20px;
  }
  .infinite-scroll__track--interview {
    gap: 16px;
    padding-right: 16px;
  }
  .interview-card {
    flex: 0 0 min(260px, 72vw);
    min-width: min(260px, 72vw);
  }
  .interview-card__image {
    min-height: 280px;
  }
  .interview-card__copy {
    font-size: var(--font-size-body-sp);
  }
  .interview-card__name {
    font-size: 16px;
  }
  .interview::after {
    width: 230px;
    height: 230px;
  }
  .interview::before {
    top: 0;
    right: 0;
    width: 160px;
    height: 170px;
    z-index: 1;
  }
}
/* ==========================================================================
   09. Recruit
   ========================================================================== */
.recruit {
  position: relative;
  /* z-index を付けない: 付けると footer（margin-top:-100px のかぶり）が背面に回りボタン上端が欠ける */
  z-index: auto;
  margin-top: -40px;
  overflow: hidden;
  padding: 80px 0 180px;
  background: linear-gradient(88deg, #5694ef, #1e56ae);
  border-radius: 46px 0 0;
}

.recruit__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.recruit__bg-img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  right: min(14%, 6px);
  top: 33px;
  width: min(68%, 944px);
}

.recruit__inner {
  position: relative;
  z-index: var(--z-content);
}

/* --- Heading --- */
.recruit__heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 45px;
  font-family: var(--font-heading);
  font-size: var(--font-size-heading-pc);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--color-white);
  transition: .3s;
}
.recruit__heading:hover {
  opacity: .7;
}

.recruit__heading-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-main);
}

.recruit__subheading {
  font-family: var(--font-ja);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
}

.recruit__text {
  margin-bottom: 32px;
}

.recruit__text p {
  font-family: var(--font-ja);
  font-size: var(--font-size-body-pc);
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-white);
}

.recruit__text p + p {
  margin-top: 0.5em;
}

/* --- Items Grid --- */
.recruit__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* --- Recruit Card --- */
.recruit-card {
  display: block;
  position: relative;
  padding: 16px 20px;
  background-color: var(--color-white);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: .3s;
}

.recruit-card:hover {
  color: inherit;
  opacity: .7;
}

.recruit-card__icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.title_wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.recruit-card__title {
  margin-top: 4px;
  padding-right: 40px;
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-main);
}

.recruit-card__text {
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
}

.recruit-card__arrow {
  position: absolute;
  top: 30px;
  right: 20px;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

/* --- Recruit: Tablet --- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .recruit__bg-img {
    width: min(55%, 50vw);
    right: min(14%, 56px);
    top: 113px;
  }
  .recruit__items {
    max-width: min(700px, 100%);
  }
}
/* --- Recruit: SP --- */
@media screen and (max-width: 767px) {
  .recruit {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-block: 56px;
    margin-top: -46px;
    background: linear-gradient(88deg, #5694ef, #1e56ae);
    border-radius: 46px 0 0 0;
  }
  .recruit__inner {
    order: 1;
  }
  .recruit__bg {
    order: 2;
    position: relative;
    inset: auto;
    margin-top: 32px;
  }
  .recruit__bg-img {
    position: relative;
    right: auto;
    bottom: auto;
    top: 0;
    width: 100%;
    max-width: 100%;
  }
  .recruit__heading {
    font-size: var(--font-size-heading-sp);
    margin-bottom: 12px;
  }
  .recruit__subheading {
    font-size: 18px;
    margin-bottom: 0;
  }
  .recruit__text {
    max-width: none;
    margin-bottom: 24px;
  }
  .recruit__text p {
    font-size: var(--font-size-body-sp);
    line-height: 1.85;
  }
  .recruit__items {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
  }
  .recruit-card {
    padding: 20px 16px;
  }
  .recruit-card__text {
    font-size: var(--font-size-body-sp);
  }
}
/* ==========================================================================
   Foundation - Person reveal
   ========================================================================== */
html.js-person-reveal [data-person-reveal]::before,
html.js-person-reveal [data-person-reveal]::after,
html.js-person-reveal .person_animation {
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

html.js-person-reveal [data-person-reveal=right]:not(.is-person-revealed) {
  --person-reveal-x: 25vw;
}

html.js-person-reveal [data-person-reveal=left]:not(.is-person-revealed) {
  --person-reveal-x: -25vw;
}

html.js-person-reveal [data-person-reveal]:not(.is-person-revealed)::before,
html.js-person-reveal [data-person-reveal]:not(.is-person-revealed)::after,
html.js-person-reveal .person_animation:not(.is-person-revealed) {
  animation: none !important;
  opacity: 0;
  transform: translateX(var(--person-reveal-x, -25vw));
}

html.js-person-reveal [data-person-reveal].is-person-revealed::before,
html.js-person-reveal [data-person-reveal].is-person-revealed::after,
html.js-person-reveal .person_animation.is-person-revealed {
  opacity: 1;
  transform: translateX(0);
  animation: person_move 5s linear 0.8s infinite;
}

html.js-person-reveal .company__layout::before,
html.js-person-reveal .interview::after {
  transition: none !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

html.js-person-reveal .company__layout::after,
html.js-person-reveal .data__slider::before,
html.js-person-reveal .data__inner::before,
html.js-person-reveal .news__slider-wrap::before {
  transition-delay: 0.6s;
}

html.js-person-reveal .company__layout.is-person-revealed::after,
html.js-person-reveal .data__slider.is-person-revealed::before,
html.js-person-reveal .data__inner.is-person-revealed::before,
html.js-person-reveal .news__slider-wrap.is-person-revealed::before {
  animation: person_move 5s linear 1.4s infinite;
}

@media (prefers-reduced-motion: reduce) {
  html.js-person-reveal [data-person-reveal]::before,
  html.js-person-reveal [data-person-reveal]::after,
  html.js-person-reveal .person_animation {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* ==========================================================================
   99. Footer
   ========================================================================== */
.footer {
  position: relative;
  z-index: 2; /* recruit より前面（Contact / Recruit ボタンのかぶり） */
  background-color: #f5f5f5;
  overflow: hidden;
  padding: 60px 40px 24px;
  border-radius: 100px 100px 0 0;
  margin-top: -100px;
}

.footer__inner {
  width: min(100% - 40px, 1250px);
  margin: 0 auto;
  z-index: var(--z-content);
}

.footer_btn_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 62px;
}

.footer_btn {
  position: relative;
  display: inline-block;
  width: 49%;
  padding: 30px 50px 40px;
  border-radius: 55px;
  font-size: 48px;
  line-height: 1.5;
  letter-spacing: 0px;
  color: var(--color-white);
  font-family: "acumin-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 100, "wght" 600;
  transition: .3s;
}

.footer_btn:hover {
  opacity: .7;
}

.footer_btn::before {
  content: "";
  position: absolute;
  top: 44%;
  right: 30px;
  width: 42px;
  height: 42px;
}

.fb01 {
  background: linear-gradient(360deg, #1e56ae, #5694ef);
  color: var(--color-white);
}

.fb01::before {
  background: url(../images/top/arrow-b01.png) no-repeat center center;
  background-size: 100% auto;
}

.fb02 {
  background: linear-gradient(360deg, #d92b8b, #f76fcd);
  color: var(--color-white);
}

.fb02::before {
  background: url(../images/top/arrow-p01.png) no-repeat center center;
  background-size: 100% auto;
}

.footer_btn span {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 5px;
  margin-bottom: 0px;
}

.footer__layout {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

/* --- Company Block --- */
.footer__company-block {
  width: 45%;
  min-width: 0;
}

.footer__logo {
  display: block;
  width: 255px;
  height: auto;
  margin-bottom: 30px;
}

.footer__company {
  color: #999999;
}

.footer__company-name {
  margin-bottom: 4px;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.footer__address {
  margin-bottom: 4px;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
}

.footer__tel {
  margin-bottom: 56px;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.footer__message {
  margin-bottom: 24px;
}

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

.footer__copyright {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #999;
}

.footer__company-block .footer__links.sp-dis {
  position: absolute;
  left: -999999px;
  opacity: 0;
}

/* --- Navigation --- */
.footer__nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: start;
  width: 55%;
}

.footer__nav {
  width: 83%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 12px;
  margin-bottom: 16px;
}

.footer__nav-group {
  min-width: 0;
}

.footer__nav-title {
  margin-bottom: 2px;
  padding-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2px;
  border-bottom: 1px solid #0e0e0e;
  font-family: "acumin-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 100, "wght" 600;
}

.footer__nav-title .footer__nav-link {
  color: var(--color-main);
}

.fntb {
  color: var(--color-main);
  border: none;
}

.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-list li + li {
  margin-top: 6px;
  line-height: 0.8;
}

.footer__nav-link {
  font-family: var(--font-ja);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  text-decoration: none;
}

.footer__nav-link:hover {
  color: inherit;
}

/* --- Bottom Links --- */
.footer__links {
  display: flex;
  width: max-content;
  margin-top: 26px;
}

.footer__links-item {
  font-family: var(--font-ja);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  text-decoration: none;
}

.footer__links-item:hover {
  color: inherit;
}

.footer__links-sep {
  font-size: 12px;
  color: var(--color-text);
}

/* --- Decorative Image --- */
.footer__deco {
  position: absolute;
  inset: 0;
  z-index: var(--z-deco);
  pointer-events: none;
}

.footer__deco-img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
}

.footer__deco-img--purson {
  right: 30px;
  bottom: 0;
  width: 33%;
  max-width: 480px;
}

.deco_text-scroll {
  overflow: hidden;
  width: 100%;
  margin-top: 40px;
  margin-bottom: -36px;
}

.deco_text-scroll__wrap {
  display: flex;
  width: max-content;
}

.deco_text-scroll__track {
  display: flex;
  flex-shrink: 0;
}

.deco_text {
  flex-shrink: 0;
  font-size: 100px;
  padding-right: 0.5em;
  font-family: "acumin-variable", sans-serif;
  font-variation-settings: "slnt" 0, "wdth" 100, "wght" 600;
  color: #999999;
  white-space: nowrap;
}

/* --- Footer: Tablet / SP --- */
@media screen and (max-width: 1024px) {
  .footer {
    padding: 48px 0;
    border-radius: 40px 40px 0 0;
  }
  .footer_btn {
    border-radius: 20px;
    padding: 26px 20px 15px;
    font-size: 30px;
    letter-spacing: 1.2px;
  }
  .footer_btn span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: -2px;
  }
  .footer__layout {
    flex-direction: column;
    gap: 0;
  }
  .footer__company-block {
    text-align: center;
    width: 100%;
  }
  .footer__company-name,
  .footer__address,
  .footer__tel {
    margin-bottom: 0;
  }
  .footer__logo {
    margin-inline: auto;
  }
  .footer__message {
    margin-bottom: 0;
  }
  .footer__message-img {
    margin-inline: auto;
  }
  .footer__copyright {
    position: absolute;
    width: 100%;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
  }
  .footer__nav-group {
    display: none;
  }
  .footer__nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer__links {
    justify-content: center;
  }
  .footer__nav-group .footer__links.pc-dis {
    position: absolute;
    left: -999999px;
    opacity: 0;
  }
  .footer__company-block .footer__links.sp-dis {
    display: block !important;
    position: relative;
    left: auto;
    width: auto;
    opacity: 1;
    margin: 20px 0;
  }
  .footer__links-item {
    font-size: 16px;
    color: #999;
  }
  .footer__deco-img--purson {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
  }
  .footer__deco {
    position: relative;
    inset: auto;
    margin-top: -19%;
  }
  .footer_btn::before {
    width: 32px;
    height: 32px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .footer__inner {
    width: calc(100% - var(--gutter-tablet) * 2);
    margin-inline: var(--gutter-tablet);
  }
}
@media screen and (max-width: 767px) {
  .footer_btn_wrap {
    flex-direction: column;
  }
  .footer_btn {
    width: 100%;
  }
  .fb02 {
    margin-top: 14px;
  }
}

/* ==========================================================================
   Section English label（各セクション見出し右の【News】等）
   recruitページの .c-sec-head__en を参考。右端は幅1360pxコンテナの右端に揃える。
   ========================================================================== */
.service {
  position: relative; /* ラベルの絶対配置の基準にする */
}

.c-sec-en {
  position: absolute;
  z-index: 5;
  /* 右端を「中央寄せした1360pxコンテナ」の右端に合わせる（狭い画面ではガター確保） */
  right: max(var(--gutter-tablet), calc((100% - 1360px) / 2));
  margin: 0;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
  pointer-events: none;
}

/* 暗い背景のセクション（Interview / Recruit）は白文字 */
.c-sec-en--light {
  color: var(--color-white);
}

/* 各セクションの見出し1行目に縦位置を合わせる（見出し上端 + 微調整） */
.news .c-sec-en {
  top: 17px;
}
.company .c-sec-en,
.service .c-sec-en,
.data .c-sec-en,
.interview .c-sec-en,
.recruit .c-sec-en {
  top: 97px;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .c-sec-en {
    right: var(--gutter-sp);
    font-size: 11px;
  }
  .news .c-sec-en {
    top: 40px;
  }
  .company .c-sec-en,
  .service .c-sec-en,
  .data .c-sec-en,
  .interview .c-sec-en,
  .recruit .c-sec-en {
    top: 70px;
  }
}

/* ==========================================================================
   下からフェードイン（見出し・テキストなど）
   JS: initFadeUp が画面に入った要素へ .is-faded-in を付ける
   ========================================================================== */
/* フェードイン（下から浮かび上がる）。
   出現後は opacity/transform の指定を残さないので、ホバーの opacity と競合しない。 */
html.js-fade-up .js-fade-up-item:not(.is-faded-in) {
  opacity: 0;
  transform: translateY(32px);
}

html.js-fade-up .js-fade-up-item.is-faded-in {
  animation: fade-up 0.8s cubic-bezier(0.19, 1, 0.22, 1) var(--fade-up-delay, 0ms) backwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[id] {
  scroll-margin-top: 110px;
}
