@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --text-primary: #2b2b2b;
  --text-secondary: #555555;
  --accent-color: #333333;
  --text-muted: #999999;
  --white-color: #ffffff;
  --gray-color: #fafafa;
  --gray-color02: #f5f5f5;
  --primary-color: #c9171e;
  --primary-color02: #d65156;
  --primary-color03: #e48b8e;
  --primary-color04: #efb9bb;
  --primary-color05: #f7dcdd;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 1080px;
  --content-width-lg: 1200px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-page-top: 50;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}
html {
  scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
  color: var(--text-primary);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0;
  font-weight: 500;
}

/* ---------- utility ---------- */

.u_sm-dn {
  display: none;
}

@media screen and (min-width: 768px) {
  .u_sm-dn {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .u_md-dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

.u_lg-db {
  display: none;
}
@media screen and (min-width: 1080px) {
  .u_lg-db {
    display: block;
  }
}

.u_sm-dn {
  display: none;
}

@media screen and (min-width: 768px) {
  .u_sm-dn {
    display: block;
  }
}

/* ---------- layout ---------- */
.l_container-sm,
.l_container-lg,
.l_container {
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 32px);
}

.l_container {
  max-width: calc(var(--content-width) + 32px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 32px);
}

.l_contents-xs {
  padding: 64px 0;
}

.l_contents-sm {
  padding: 80px 0;
}
@media screen and (min-width: 768px) {
  .l_contents-sm {
    padding: 104px 0;
  }
}

.l_contents {
  padding: 120px 0;
}

.l_page-main {
  padding-top: 120px;
}

.l_header {
  background: var(--white-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-header);
  width: 100%;
  height: 80px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 0 20px rgba(51, 51, 51, 0.05);
}


@media screen and (min-width: 768px) {
  .l_header {
    padding: 0 16px;
    top: 31px;
    left: 50%;
    transform: translateX(-50%);
    height: 76px;
    border-radius: 8px;
    width: calc(100% - 80px);
  }
}

.l_header-logo {
  color: var(--white-color);
  font-size: 18px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
}

.l_header-logo_link {
  height: 100%;
  display: flex;
}

.l_header-nav {
  position: fixed;
  top: 80px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-index-modal);
  background: var(--primary-color);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media screen and (min-width: 768px) {
  .l_header-nav {
    opacity: 1;
    position: static;
    background: transparent;
  }
}

.l_header-nav.js_nav.u_md-dn {
  padding: 40px 16px 100px;
}

.l_header-nav_list {
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@media screen and (min-width: 768px) {
  .l_header-nav_list {
    flex-direction: row;
  }
}

.l_header-nav_heading{
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    padding: 24px 0 24px 8px;
}

.l_header-nav_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white-color);
}

@media screen and (min-width: 768px) {
  .l_header-nav_link {
    color: var(--text-primary);
  }
}

.l_header-nav_link__contact {
  background: transparent;
  color: var(--white-color);
  border-radius: 4px;
  padding: 14px 12px;
  width: 160px;
  line-height: 0;
  position: relative;
  z-index: var(--z-index-default);
}

.l_header-nav_link__contact::after {
  content: url(../img-recruit/icon_send__white.svg);
  width: 20px;
  height: 20px;
  display: inline-block;
}

.l_header-nav_link__recruit {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 4px;
  padding: 12px;
  width: 160px;
  line-height: 0;
}

.l_header-nav_link__recruit::after {
  content: url(../img-recruit/icon_target.svg);
  width: 20px;
  height: 20px;
  display: inline-block;
  opacity: 1;
  transition: opacity 0.2s linear 0.3s;
}

.l_header-nav_link__recruit:hover::after {
  opacity: 0;
  transition: opacity 0.1s linear 0.3s;
}

.l_header-nav_link__recruit::before {
  content: url(../img-recruit/icon_target_white.svg);
  width: 20px;
  height: 20px;
  display: inline-block;
  position: absolute;
  right: 12px;
  opacity: 0;
  transition: opacity 0.2s linear 0.3s;
}

.l_header-nav_link__recruit:hover::before {
  opacity: 1;
  transition-delay: 0.2s;
}

.l_header-nav_item {
  font-weight: bold;
}
.l_header-nav_item__sp {
  padding-left: 8px;
}


.l_header-nav_item__cat:not(:first-child),
.l_footer-nav_item__cat:not(:first-child){
  margin-top: 24px;
}

.l_header-nav_item__hover {
  display: inline-block;
  text-align: center;
  position: relative;
  transition: color 0.4s ease;
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
}

.l_header-nav_link__recruit:hover {
  color: var(--white-color);
}

.l_header-nav_item__hover:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.l_header-nav_item__hover::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
  border-radius: 4px;
  inset: 0;
  z-index: var(--z-index-default);
}

.l_header-nav_link__recruit,
.l_header-nav_link__contact {
  position: relative;
  z-index: var(--z-index-default);
  background: transparent;
}

.l_header-nav_item__hover:has(.l_header-nav_link__contact) {
  background: var(--accent-color) !important;
}

.l_header_plus-mark {
  position: relative;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 100vh;
  transition: all 0.3s ease;
}

.l_header_plus-mark::before,
.l_header_plus-mark::after {
  content: "";
  background: var(--white-color);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5px;
  height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.l_header_plus-mark::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.l_header_plus-mark.is-open::after {
  opacity: 0; /* ← 縦線だけ非表示でマイナスになる */
}
.l_header-contact-nav_link__wantedly {
  margin-left: auto;
}

.l_footer {
  padding: 64px 0 24px;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 16px 16px 0 0;
}

.l_footer {
  padding: 80px 0 24px;
  position: relative;
}
@media screen and (min-width: 1080px) {
  .l_footer {
    padding: 120px 0 16px;
  }
}

.l_footer_top-link {
  position: absolute;
  top: 0;
  right: 24px;
  background: var(--white-color);
  border-radius: 0 0 8px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-index-default);
  height: 64px;
  width: 64px;
  font-size: 16px;
  font-weight: bold;
}
@media screen and (min-width: 1080px) {
  .l_footer_top-link {
    right: 40px;
    padding: 0 16px;
    height: 55px;
    justify-content: space-between;
    width: 241px;
  }
}

.pagetop__arrow__pc {
  color: var(--primary-color);
  font-weight: bold;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

@media screen and (min-width: 1080px) {
  .l_footer_inner {
    display: flex;
    justify-content: space-between;
  }
}

.l_footer-logo {
  width: 240px;
}

@media screen and (min-width: 1080px) {
  .l_footer_contents {
    display: flex;
    justify-content: space-between;
    padding: 0 56px;
  }
}

.l_footer_address {
  font-size: 14px;
  margin-top: 32px;
}

@media screen and (min-width: 1080px) {
  .l_footer_address {
    text-align: left;
    margin-top: 24px;
  }
}

.l_footer_number {
  margin-top: 32px;
}

@media screen and (min-width: 1080px) {
  .l_footer_number {
    margin-top: 24px;
  }
}

.l_footer_fax {
  margin-top: 16px;
}

@media screen and (min-width: 1080px) {
  .l_footer_fax {
    margin-top: 8px;
  }
}

.l_footer-nav {
  margin-top: 64px;
}

@media screen and (min-width: 1080px) {
  .l_footer-nav {
    margin-top: 0;
    display: flex;
    gap: 32px;
  }
}

.l_footer-nav_heading {
  font-size: 18px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;

  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  padding: 24px 0;
}

@media screen and (min-width: 768px) {
  .l_footer-nav_heading {
    font-size: 16px;
    padding-top: 0;

    /* display: block; */
  }
}

.l_header-nav_toggle {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  width: 100px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-right: 8px;
  flex-grow: 1;
}

@media screen and (min-width: 768px) {
  .l_header-nav_toggle {
    display: none;
  }

  .l_header-panel-nav_list,
  .l_footer-nav_list {
    display: flex !important;
  }
}

.l_header-panel-nav_list[hidden],
.l_footer-nav_list[hidden] {
  display: none;
}

.l_header-panel-nav_list,
.l_footer-nav_list {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-weight: bold;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.l_header-panel-nav_list {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  opacity: 1;
}

@media screen and (min-width: 1080px) {
  .l_header-panel-nav_list,
  .l_footer-nav_list {
    width: 100%;
    margin-top: 24px;
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
}

.l_header-panel-nav_list.is-open,
.l_footer-nav_list.is-open {
  max-height: 500px;
  opacity: 1;
  margin-top: 8px;
  padding-bottom: 32px;
}

.l_footer-nav_item {
  font-size: 14px;
}

@media screen and (min-width: 1080px) {
  .l_footer-nav_item {
    width: 148px;
  }
}

.l_footer-nav_link {
  display: flex;
  align-items: center;
  width: 100%;
}

.l_footer-nav_contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

@media screen and (min-width: 1080px) {
  .l_footer-nav_contact {
    display: flex;
    justify-content: end;
    flex-direction: row;

    margin-top: 64px;
  }
}

.l_footer-contact-nav_item {
  position: relative;
}

.l_footer-contact-nav_link {
  font-weight: bold;
  font-size: 16px;
  padding-left: 24px;
  padding-right: 16px;
  display: flex;
  align-items: center;
  height: 56px;
  border-radius: 4px;
  background: var(--white-color);
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
    border: 2px solid var(--primary-color);

}

@media screen and (min-width: 1080px) {
  .l_footer-contact-nav_link {
    width: 300px;
    overflow: hidden; /* 擬似要素のはみ出し防止 */
    transition: color 0.5s ease;
    isolation: isolate;
  }
}

.l_footer-contact-nav_link::before {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--primary-color);
  border-radius: inherit; /* a と同じ角丸 */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
  z-index: var(--z-index-back);
}

.l_footer-contact-nav_link:hover {
  color: var(--white-color);
border-color: var(--white-color);

}

.l_footer-contact-nav_link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.l_footer-contact-nav_link::after {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.l_footer-contact-nav_link__contact::after {
  content: url(../img-recruit/icon_contact__red.svg);
}
.l_footer-contact-nav_link__contact:hover::after {
  content: url(../img-recruit/icon_contact.svg);
}

.l_footer-contact-nav_link__recruit::after {
  content: url(../img-recruit/icon_send.svg);
}
.l_footer-contact-nav_link__recruit:hover::after {
  content: url(../img-recruit/icon_send__white.svg);
}

.l_footer-contact-nav_link__wantedly {
  width: 56px;
  height: 56px;
  display: block;
}

.l_footer_copyright-wrapper {
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--white-color);
}

@media screen and (min-width: 1080px) {
  .l_footer_copyright-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 31px;
    padding-top: 16px;
  }
}

.l_footer_kiyaku-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width: 1080px) {
  .l_footer_kiyaku-wrapper {
    flex-direction: row-reverse;
    align-items: center;
    gap: 24px;
  }
}

.l_footer_check-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 1080px) {
  .l_footer_check-wrapper {
    flex-direction: row;
    gap: 46px;
  }
}

.l_footer-copyright {
  text-align: center;
  margin-top: 64px;
}
@media screen and (min-width: 1080px) {
  .l_footer-copyright {
    text-align: left;
    margin-top: 0;
  }
}

.l_footer-copyright_txt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.l_footer_insta-wrapper {
  width: 44px;
}

.l_footer_privacy,
.l_footer_kiyaku {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l_footer_privacy::after,
.l_footer_kiyaku::after {
  content: "";
  background: url(../img-recruit/icon_target_white.svg) center / cover;
  display: inline-block;
  width: 16px;
  height: 16px;
}

/*---------- module ----------*/
.m_opening {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: var(--z-index-modal);
  background: #111;
  display: flex;
}

.m_opening_txt {
  text-align: center;
  margin: auto;
}

.m_opening_heading {
  color: var(--white-color);
  font-size: 40px;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .m_opening_heading {
    font-size: 56px;
  }
}

.m_opening_desc {
  color: var(--white-color);
  font-weight: bold;
  font-size: 16px;
  margin-top: 16px;
}

.m_hamburger {
  display: block;
  width: 48px;
  height: 23px;
  position: relative;
  z-index: var(--z-index-modal);
  border: none;
  background: transparent;
}

@media screen and (min-width: 768px) {
  .m_hamburger {
    display: none;
  }
}

.m_hamburger-bar {
  height: 3px;
  width: 32px;
  position: absolute;
  background: var(--primary-color);
}

.m_hamburger-bar:nth-child(1) {
  top: 0;
  right: 0;
}

.m_hamburger-bar:nth-child(2) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-color);
}

.m_hamburger-bar:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
  width: 16px;
  left: 0;
}

.m_btn-wrapper {
  height: 64px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  position: relative;
}

@media screen and (min-width: 768px) {
  .m_btn-wrapper {
    width: 300px;
  }
}

.m_btn {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  padding: 0 24px;
  position: relative;
  overflow: hidden;
  transition: color 0.5s ease;
  isolation: isolate;
}

.m_btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
  border-radius: inherit;
  z-index: -1; /* ← 背面へ */
}

.m_btn__more::before {
  background: var(--primary-color);
}
.m_btn__more:hover {
  color: var(--white-color);
}

.m_btn__red::before {
  background: var(--white-color);
}

.m_btn__red:hover {
  color: var(--primary-color);
}

.m_btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.m_btn__black {
  color: var(--white-color);
  font-weight: bold;
  background: var(--accent-color);
}

.m_btn__cta::after {
  content: url(../img-recruit/icon_email.svg);
  width: 24px;
  height: 24px;
  margin-left: 8px;
}

.m_btn_arrow::before,
.m_btn_arrow::after {
  content: "";
  display: block;
  position: absolute;
  right: 23px;
  top: 50%;
  transform: translateY(-50%);
}

.m_btn_arrow::before {
  width: 14px;
  height: 2px;
  background: var(--primary-color);
}
.m_btn_arrow::after {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary-color);
  border-top: 2px solid var(--primary-color);
  transform: translateY(-50%) rotate(45deg);
}

.m_btn:hover .m_btn_arrow::before {
  background: var(--white-color);
}

.m_btn:hover .m_btn_arrow::after {
  border-color: var(--white-color);
}

.m_btn_arrow__white::before {
  background: var(--white-color);
}

.m_btn_arrow__white::after {
  border-color: var(--white-color);
}

/* ホバー時に反転 */
.m_btn:hover .m_btn_arrow__white::before {
  background: var(--primary-color);
}

.m_btn:hover .m_btn_arrow__white::after {
  border-color: var(--primary-color);
}

.m_btn__more {
  color: var(--primary-color);
  background: var(--white-color);
  position: relative;
  z-index: var(--z-index-default);
  cursor: pointer;
}

.m_btn__red {
  background: var(--primary-color);
  color: var(--white-color);
  position: relative;
}

.m_cta {
  color: var(--white-color);
  text-align: center;
}

.m_cta-wrapper {
  padding: 40px 0;
  background: linear-gradient(rgba(51, 51, 51, 0.5), rgba(51, 51, 51, 0.5)),
    url("../img-recruit/cta.webp") center/cover;

  border-radius: 16px;
}
@media screen and (min-width: 768px) {
  .m_cta-wrapper {
    padding: 64px 0;
  }
}

.m_btn_arrow::before,
.m_btn_arrow::after {
  content: "";
  display: block;
  position: absolute;
  right: 23px;
  top: 50%;
  transform: translateY(-50%);
}

.m_btn_arrow::before {
  width: 14px;
  height: 2px;
  background: var(--white-color);
}
.m_btn_arrow::after {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--white-color);
  border-top: 2px solid var(--white-color);
  transform: translateY(-50%) rotate(45deg);
}

.recruit_btn_arrow::before {
  background: var(--primary-color);
}
.recruit_btn_arrow::after {
  border-right: 2px solid var(--primary-color);
  border-top: 2px solid var(--primary-color);
}

.recruit_btn_arrow__cta::before {
  rotate: 90deg;
  right: 18px;
}
.recruit_btn_arrow__cta::after {
  rotate: 90deg;
  right: 24px;
  top: 47%;
}

.m_btn_arrow__footer::after {
  rotate: 270deg;
  top: 25px;
}

@media screen and (min-width: 1080px) {
  .m_btn_arrow__footer::after {
    right: 16px;
    top: 21px;
  }
}

.m_btn_arrow__footer::before {
  rotate: 270deg;
  right: 25px;
}
@media screen and (min-width: 1080px) {
  .m_btn_arrow__footer::before {
    right: 18px;
  }
}

.top_cta_title {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.04rem;
}
@media screen and (min-width: 1080px) {
  .top_cta_title {
    font-size: 64px;
  }
}

.top_cta_txt {
  font-size: 16px;
  font-weight: bold;
  margin-top: 8px;
}

.m_cta_btn-wrapper {
  margin-top: 48px;
}

.top_kv {
  padding-bottom: 40px;
}
@media screen and (min-width: 768px) {
  .top_kv {
    padding-bottom: 150px;
  }
}

.top_kv_inner {
  padding: 234px 0 16px;
  color: var(--white-color);
  position: relative;
  background: var(--primary-color);
  height: 280px;
  z-index: var(--z-index-back);
}

@media screen and (min-width: 768px) {
  .top_kv_inner {
    padding: 274px 0 16px 72px;
    background-position-x: center;
    height: 320px;
  }
}

.top_kv_title {
  font-size: 20px;
  font-weight: bold;
}

.top_kv_title:before {
  content: "RECRUIT";
  width: 100%;
  font-size: 80px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.24);
  position: absolute;
  bottom: -43px;
  left: -8px;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.04em;
}

@media screen and (min-width: 768px) {
  .top_kv_title:before {
    font-size: 120px;
    bottom: -64px;
  }
}

.top_kv_img-wrapper {
  position: absolute;
  top: 256px;
  height: 310px;
  right: 0;
  z-index: var(--z-index-back);
}
@media screen and (min-width: 1080px) {
  .top_kv_img-wrapper {
    height: 640px;
    max-width: 78%;
    top: 152px;
  }
}

.top_kv_img {
  object-fit: cover;
  height: 100%;
}

.top_kv_contents-wrapper {
  padding-top: 281px;
}
@media screen and (min-width: 768px) {
  .top_kv_contents-wrapper {
    padding-top: 0;
  }
}

.top_kv_copy {
  margin-top: 24px;
  font-size: 28px;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .top_kv_copy {
    margin-top: 80px;
    font-size: 40px;
    padding-left: 24px;
  }
}

.top_kv_desc {
  margin-top: 24px;
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .top_kv_desc {
    margin-top: 40px;
    padding-left: 24px;
  }
}

.m_page-section-heading {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.m_section_title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  padding-bottom: 16px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .m_section_title {
    font-size: 16px;
  }
}

.m_section_title__red {
  color: var(--primary-color);
}

.m_section_title:before {
  width: 100%;
  font-size: 40px;
  padding-bottom: 16px;
  display: block;
  line-height: 1;
  color: var(--primary-color05);
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.04rem;
}

@media screen and (min-width: 768px) {
  .m_section_title:before {
    font-size: 64px;
    font-weight: bold;
  }
}

@media screen and (min-width: 768px) {
  .about_message .m_section_title:before {
    font-size: 40px;
  }
}

.m_section_title__about-us::before {
  content: "ABOUT US";
  color: rgba(255, 255, 255, 0.24);
}
.m_section_title__voices::before {
  content: "VOICES";
}
.m_section_title__benefits::before {
  content: "BENEFITS";
}

.m_section_title__staff::before {
  content: "STAFF INFORMATION";
}

@media screen and (min-width: 768px) {
  .m_section_title__members::before,
  .m_section_title__group::before {
    width: auto;
  }
}

.m_section_title__message::before {
  content: "CEO MESSAGE";
}

.m_section_title::after {
  content: "";
  width: 40px;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.m_section_title__white::after {
  background: var(--white-color);
}

.m_section_title__red::after {
  background: var(--primary-color);
}

/*---------- top ----------*/

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

.top_kv_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: imageAppear 1.2s ease-out 5s forwards;
}
@keyframes imageAppear {
  to {
    opacity: 1;
  }
}
.top_kv_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  animation: overlayDarken 0.8s ease-out 6.2s forwards;
  z-index: 1;
}

@keyframes overlayDarken {
  to {
    background: rgba(0, 0, 0, 0.3);
  }
}

.top_kv_contents {
  width: 100%;
  position: absolute;
  bottom: 64px;
  left: 0;
  max-width: calc(500px + 32px);
  padding: 0 16px;
  color: var(--white-color);
  opacity: 0;
  animation: contentsAppear 0.8s ease-out 7.3s forwards;
  z-index: var(--z-index-default);
}

@keyframes contentsAppear {
  to {
    opacity: 1;
  }
}

.top_kv_copy {
  line-height: 1.5;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 2px rgba(170, 170, 170, 0.16);
}

@media screen and (min-width: 768px) {
  .top_kv_copy {
    font-size: 40px;
  }
}

.top_kv_sub-copy {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .top_kv_sub-copy {
    font-size: 16px;
    margin-top: 24px;
  }
}

.top_kv_btn-wrapper {
  margin: 32px 0 0;
}

@media screen and (min-width: 500px) {
  .top_kv_btn-wrapper {
    text-align: left;
  }
}

.top_about-us {
  color: var(--white-color);
  padding-top: 135px;
  overflow: visible;
  z-index: 0;
  background: var(--primary-color);
}

@media screen and (min-width: 768px) {
  .top_about-us {
    padding-top: 160px;
  }
}

.m_bg__red {
  position: relative;
}

.m_bg__red::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  border-style: solid;
  border-width: 0 0 95px 100vw;
  border-color: var(--white-color) var(--white-color) var(--primary-color)
    var(--white-color);
}
.m_bg__red::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  border-style: solid;
  border-width: 0 0 95px 100vw;
  border-color: var(--white-color) var(--white-color) var(--white-color)
    var(--primary-color);
    padding-top: 32px;
}

@media screen and (min-width: 768px) {
.m_bg__red::after {
  border-width: 0 0 120px 100vw;
}
}


.top_about-us .l_contents {
  padding-top: 0;
}

@media screen and (min-width: 768px) {
  .top_about-us .l_contents {
    padding-bottom: 160px;
  }
}

.top_about-us .l_container {
  position: relative;
}

.top_about-us .l_container::after,
.top_about-us .l_container::before
 {
  height: 240px;
  width: 240px;
 position: absolute;
 }
 @media screen and (min-width: 1080px) {
   .top_about-us .l_container::after,
.top_about-us .l_container::before
 {
  height: 320px;
  width: 320px;
 }
 }


.top_about-us .l_container::after {
  content: "";
  background: url(../img-recruit/about-01.webp) center/cover;
left: 16px;
bottom: -320px;
}
@media screen and (min-width: 768px) {
.top_about-us .l_container::after {
  left: auto;
  bottom: auto;
  top: -160px;
right: 60px;
}
}


.top_about-us .l_container::before {
  content: "";
  background: url(../img-recruit/about-02.webp) center/cover;
right: 16px;
bottom: -580px;
}

@media screen and (min-width: 768px) {
  .top_about-us .l_container::before {
right: 0;
bottom: auto;
top: 180px;
}
}
@media screen and (min-width: 1080px) {
  .top_about-us .l_container::before {
top: 200px;
  }
  }


.top_about-us_title {
  font-size: 24px;
  font-weight: 900;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .top_about-us_title {
    font-size: 40px;
    margin-top: 64px;
  }
}

.top_about-us_txt {
  margin-top: 24px;
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .top_about-us_txt {
    margin-top: 40px;
    max-width: 645px;
  }
}

.top_about-us_subcopy {
  font-size: 20px;
  font-weight: bold;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .top_about-us_subcopy {
    font-size: 24px;
    margin-top: 32px;
  }
}

.top_about-us_btn-wrapper-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 64px;
}

@media screen and (min-width: 768px) {
  .top_about-us_btn-wrapper-list {
    flex-direction: row;
    gap: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 24px 20px;
    margin-top: 56px;
  }
}

.top_about-us_btn-wrapper {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .top_about-us_btn-wrapper {
    width: 320px;
  }
}

.top_about-us_btn {
  justify-content: space-between;
}
/* 
.top_about-us_btn::after {
  content: "";
  background: url(../img-recruit/target_blank.svg) center / cover;
  display: inline-block;
  width: 16px;
  height: 16px;
} */

/* アイコン用コンテナ */
.top_about-us_btn-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 通常アイコン（例：濃い色のアイコン） */
.top_about-us_btn-icon::before,
.top_about-us_btn-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 0.15s ease 0.35s; /* 0.35s待ってから0.15sで切り替え = 合計0.5s */
}

/* 通常時アイコン */
.top_about-us_btn-icon::before {
  background-image: url(../img-recruit/target_blank.svg);
  opacity: 1;
}

/* ホバー後に見せたいアイコン（例：白アイコン） */
.top_about-us_btn-icon::after {
  background-image: url(../img-recruit/target_blank__white.svg);
  opacity: 0;
}

/* ホバーしたらアイコンを入れ替え */
.m_btn__more:hover .top_about-us_btn-icon::before {
  opacity: 0;
}

.m_btn__more:hover .top_about-us_btn-icon::after {
  opacity: 1;
}

.top_pdf {
  position: relative;
}

.top_pdf-section{
  margin-top: 540px;

}
@media screen and (min-width: 768px) {
  .top_pdf-section{
  margin-top: 0;
}
}

.top_pdf_contents-wrapper {
  max-width: 360px;
  margin: auto;
  width: 100%;
  height: 240px;
}

@media screen and (min-width: 768px) {
  .top_pdf_contents-wrapper {
    max-width: 800px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -67px;
    height: 485px;
  }
}

.top_pdf_contents {
  width: 100%;
  height: 100%;
}

.about_ceo-message {
  padding: 133px 0 0;
}

@media screen and (min-width: 768px) {
  .about_ceo-message {
    margin-top: 490px;
  }
}

.top_voices .l_contents-sm {
  padding: 160px 0 80px;
}

@media screen and (min-width: 768px) {
  .top_voices_title-wrapper {
    display: flex;
    align-items: end;
    justify-content: space-between;
  }
}

/* Pagination */
.top_voices__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 0 16px;
  margin-top: 64px;
}
@media screen and (min-width: 768px) {
  .top_voices__pagination {
    margin-top: 0;
  }
}

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

.top_voices__pagination-btn {
  position: relative;
  width: 50px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  background: transparent;
  border: none;
}

/* 矢印の線（横線） */
.top_voices__pagination-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: #cccccc;
  transform: translateY(-50%);
}

/* 矢印の先端（三角） */
.top_voices__pagination-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #cccccc;
  border-top: 2px solid #cccccc;
}

/* 前へボタン（左向き矢印） */
.top_voices__pagination-btn--prev::before {
  left: 0;
}

.top_voices__pagination-btn--prev::after {
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
}

/* 次へボタン（右向き矢印） */
.top_voices__pagination-btn--next::before {
  right: 0;
}

.top_voices__pagination-btn--next::after {
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}

.top_voices__pagination-text {
  color: #cccccc;
  white-space: nowrap;
}

/* カードスライダー */
.top_voices__slider-wrapper {
  position: relative;
  margin-top: 40px;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);

  /* ここを追加 */
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.top_voices__slider-wrapper::-webkit-scrollbar {
  display: none;
}
@media screen and (min-width: 1080px) {
  .top_voices__slider-wrapper {
    margin-top: 64px;
  }
}

.top_voices__slider-wrapper {
  position: relative;
  margin-top: 40px;
  margin-right: calc(50% - 50vw);
  /* transition を削除 */
}
@media screen and (min-width: 1080px) {
  .top_voices__slider-wrapper {
    margin-top: 64px;
  }
  /* .is-scrolled 関連のスタイルを削除 */
}

.top_voices__cards {
  display: flex;
  gap: 0 16px;
  /* overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none; */
  padding-left: 11%; /* 好きな余白に調整してOK */
  padding-right: 16px;
  width: max-content; /* 中身の幅分だけ伸びる */
}

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

.top_voices__card {
  max-width: 280px;
  background: var(--white-color);
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  border-radius: 8px;
}
@media (min-width: 1080px) {
  .top_voices__card {
    max-width: 360px;
  }
}

.top_voices__card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.top_voices__card.is-active {
  border-color: var(--primary-color);
}

.top_voices__card-inner {
  position: relative;
  border-radius: 8px;
}

.top_voices__card-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}
@media (min-width: 1080px) {
  .top_voices__card-image {
    height: 420px;
  }
}

.top_voices__card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 16px;
  margin: 0 8px 8px;
}

.top_voices__card-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
@media screen and (min-width: 1080px) {
  .top_voices__card-label {
    margin-bottom: 16px;
  }
}

.top_voices__card-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12x;
}
@media screen and (min-width: 1080px) {
  .top_voices__card-name {
    margin-bottom: 16px;
  }
}

.top_voices__card-meta {
  font-size: 12px;
}

.top_voices__card-join {
  margin-bottom: 2px;
}

/* 詳細セクション */
.top_voices__detail {
  display: none;
  border-radius: 8px;
  margin-top: 40px;
}

@media screen and (min-width: 1080px) {
  .top_voices__detail {
    display: flex;
    flex-direction: row-reverse;
    gap: 112px;
    margin-top: 64px;
  }
}

.top_voices__detail.is-active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@media screen and (min-width: 1080px) {
  .top_voices__detail.is-active {
    display: flex;
    align-items: center;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top_voices__detail-content {
  line-height: 1.8;
}

.top_voices__detail-heading {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 18px;
  padding-left: 16px;

  border-left: 4px solid var(--primary-color);
}
@media screen and (min-width: 1080px) {
  .top_voices__detail-heading {
    font-size: 24px;
    margin-bottom: 16px;
  }
}

.top_voices__detail-text {
  font-size: 16px;
  margin-bottom: 40px;
}

.top_voices__detail-image {
  display: none;
}

@media (min-width: 1080px) {
  .top_voices__card-name {
    font-size: 20px;
  }

  .top_voices__card-meta {
    font-size: 13px;
  }

  /* PC版詳細セクション - 画像を右に */

  .top_voices__detail-image {
    display: block;
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .top_voices__detail-content {
    flex: 1;
  }
}

@media screen and (min-width: 768px) {
  .top_benefits .l_contents-sm {
    padding: 80px 0;
  }
}

.top_benefits_cards-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  gap: 24px;
}

@media screen and (min-width: 1080px) {
  .top_benefits_cards-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 22px;
  }
}

.top_benefits_card {
  box-shadow: 0 0 10px 0 rgba(51, 51, 51, 0.1);
  border-radius: 8px;
  padding: 24px;
}

@media screen and (min-width: 1080px) {
  .top_benefits_card {
    width: calc((100% - 22px * (3 - 1)) / 3);
  }
}

.top_benefits_card-icon {
  width: 40px;
  height: 40px;
  display: inline-block;
}

.top_benefits_card-icon__01 {
  background: url(../img-recruit/benefit-01.svg);
}
.top_benefits_card-icon__02 {
  background: url(../img-recruit/benefit-02.svg);
}
.top_benefits_card-icon__03 {
  background: url(../img-recruit/benefit-03.svg);
}
.top_benefits_card-icon__04 {
  background: url(../img-recruit/benefit-04.svg);
}
.top_benefits_card-icon__05 {
  background: url(../img-recruit/benefit-05.svg);
}
.top_benefits_card-icon__06 {
  background: url(../img-recruit/benefit-06.svg);
}

.top_benefits_card-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: bold;
  font-size: 20px;
}

.top_benefits_card-desc {
  font-weight: bold;
  margin-top: 16px;
  font-size: 16px;
}

.top_staff {
  padding-top: 135px;
  overflow: hidden;
  z-index: 0;
  background: var(--gray-color);
  position: relative;
}

@media screen and (min-width: 768px) {
  .top_staff {
    padding-top: 160px;
  }
}

.top_staff .l_contents {
  padding: 0 0 70px;
}

.top_staff::before {
  border-color: var(--white-color) var(--white-color) var(--gray-color)
    var(--white-color);
}
.top_staff::after {
  border-color: var(--white-color) var(--white-color) var(--white-color)
    var(--gray-color);
}

.top_staff_info {
  font-weight: bold;
  color: var(--text-secondary);
  text-align: right;
    display: block;
    margin-top: 40px;
}

@media screen and (min-width: 768px) {
.top_staff_info {
  text-align: left;
  display: inline;
  margin-top: 0;
}
}

.top_staff_list {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 56px;
}
@media screen and (min-width: 768px) {
  .top_staff_list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 56px 40px;
    margin-top: 80px;
  }
}

.top_staff_item {
  display: flex;
  background: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 0 10px 0 rgba(51, 51, 51, 0.1);
  font-weight: bold;
  position: relative;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .top_staff_item {
    width: calc((100% - 40px * (2 - 1)) / 2);
  }
}

.top_staff_item-term {
  position: absolute;
  color: var(--white-color);
  background: var(--primary-color);
  font-size: 20px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.top_staff_img-wrapper {
  width: 172px;
  height: 200px;
}

@media screen and (min-width: 500px) {
  .top_staff_img-wrapper {
    width: 50%;
    height: auto;
  }
}

.top_staff_img {
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 500px) {

  .top_staff_img {
    height: auto;
  }
}

@media screen and (min-width: 1080px) {
  .top_staff_img-wrapper {
    width: 260px;
  }
}

.top_staff_txt-wrapper {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
}
.top_staff_txt-wrapper__breaky {
  align-items: end;
  margin-right: 16px;
}
@media screen and (min-width: 500px) {
  .top_staff_txt-wrapper__breaky {
    margin-right: 40px;
  }
}

.top_staff_txt__bold {
  font-size: 24px;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .top_staff_txt__bold {
    font-size: 32px;
  }
}

.top_staff_txt__sub-bold {
  font-weight: bold;
  line-height: 1;
}
@media screen and (min-width: 1080px) {
  .top_staff_txt__sub-bold {
    font-size: 18px;
  }
}
.top_staff_txt__sub-bold:not(:first-child) {
  margin-top: 16px;
}
@media screen and (min-width: 1080px) {
  .top_staff_txt__sub-bold:not(:first-child) {
    margin-top: 30px;
  }
}

.top_staff_emphasize {
  font-size: 80px;
  color: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .top_staff_emphasize {
    font-size: 104px;
  }
}

.top_staff_sub-emphasize {
  line-height: 0.5;
  font-size: 32px;
  color: var(--primary-color);
  margin-left: 18px;
}

@media screen and (min-width: 768px) {
  .top_staff_sub-emphasize {
    font-size: 40px;
  }
}

.top_staff_small {
  color: var(--text-muted);
  font-size: 12px;
  display: block;
  margin-left: auto;
  margin-right: 12px;
}

.top_service {
  position: relative;
  overflow: hidden;
}

.top_service:after {
  position: absolute;
  content: "";
  background: url(../img-recruit/top_service_bg.png) no-repeat right top/contain;
  right: 0;
  bottom: 40px;
  width: 64%;
  height: 240px;
  z-index: var(--z-index-back);
}

@media screen and (min-width: 768px) {
  .top_service:after {
    width: 400px;
    height: 400px;
    bottom: -50px;
    right: -70px;
  }
}

.top_service .l_contents-sm {
  padding-bottom: 160px;
}
@media screen and (min-width: 768px) {
  .top_service .l_contents-sm {
    padding-bottom: 104px;
  }
}

.top_service_txts {
  margin-top: 40px;
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .top_service_txts {
    margin-top: 55px;
    width: 50%;
  }
}

.top_service_desc {
  line-height: 2;
}

.top_service_img-wrapper {
  width: 240px;
  margin: auto;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .top_service_img-wrapper {
    position: absolute;
    width: 36.4%;
    right: 65px;
    top: 17%;
    left: initial;
    transform: translate(0);
    margin-top: 0;
  }
}

.top_service_title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 32px;
}

@media screen and (min-width: 1080px) {
  .top_service_title {
    font-size: 24px;
    margin-top: 40px;
  }
}

.top_btn-wrapper {
  margin: 32px auto 0;
}

/* 
.top_service_btn-wrapper {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .top_service_btn-wrapper {
    margin-top: 64px;
  }
} */

.top_work-with-us_heading {
  margin-top: 80px;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 40px;
  padding-left: 16px;
  border-left: 4px solid var(--primary-color);
}
@media screen and (min-width: 1080px) {
  .top_work-with-us_heading {
    font-size: 24px;
  }
}

.top_work-with-us_sub {
  font-weight: bold;
  font-size: 16px;
  margin-top: 8px;
}

.top_work-with-us_btns-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media screen and (min-width: 768px) {
  .top_work-with-us_btns-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px 60px;
  }
}

.top_work-with-us_btn-wrapper {
  background: var(--gray-color02);
  color: var(--text-primary);

  width: 100%;
  font-size: 16px;
  height: 64px;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .top_work-with-us_btn-wrapper {
    width: calc((100% - 60px * (2 - 1)) / 2);
  }
}

@media screen and (min-width: 1080px) {
  .top_work-with-us_btn-wrapper {
    width: calc((100% - 60px * (3 - 1)) / 3);
  }
}

.top_work-with-us_btn {
  justify-content: space-between;
  transition: box-shadow 0.5s ease-out, transform 0.5s ease-out;
}

.top_work-with-us_btn::after {
  content: "";
  background: url(../img-recruit/icon_target_black.svg) center / cover;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.top_work-with-us_btn:hover {
  box-shadow: 6px 6px 16px rgba(51, 51, 51, 0.3);
}

/* ニュースセクション */

.top_news {
  background: var(--gray-color);
}
@media screen and (min-width: 768px) {
  .top_news {
    background: linear-gradient(
      to bottom,
      var(--gray-color) 0%,
      var(--gray-color) 55%,
      var(--white-color) 55%,
      var(--white-color) 100%
    );
  }
}

@media screen and (min-width: 768px) {
  .top_news .l_contents-xs {
    padding: 84px 104px;
  }
}

@media screen and (min-width: 768px) {
  .top_news_title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: end;
  }
}

.top_news_list-wrapper {
  margin-top: 40px;
}

@media screen and (min-width: 1080px) {
  .top_news_list-wrapper {
    margin-top: 64px;
  }
}

@media screen and (min-width: 1080px) {
  .top_news_list {
    display: flex;
    gap: 30px;
    justify-content: space-between;
  }
}

.top_news_item {
  background: var(--white-color);
  border-radius: 8px;
  border: 1px solid #eeeeee;
  padding: 24px 20px;
}

.top_news_item:not(:first-child) {
  margin-top: 30px;
}

@media screen and (min-width: 1080px) {
  .top_news_item:not(:first-child) {
    margin-top: 0;
  }
}

.m_news_cat-wrapper {
  display: flex;
  justify-content: space-between;
}

.m_news_cat {
  background: var(--primary-color);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: var(--white-color);
  line-height: 1.5;
}

.m_news_time {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: bold;
}

.top_news_item_thumb-wrapper {
  margin-top: 16px;
}

.top_news_item_heading {
  padding-top: 16px;
  font-size: 16px;
  font-weight: bold;
}

.top_news_btn-wrapper {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .top_news_btn-wrapper {
    margin-top: 0px;
    margin-bottom: 40px;
  }
}

/* リクルートセクション */
.top_recruit {
  color: var(--white-color);
  background: var(--primary-color);
  position: relative;
}
@media screen and (min-width: 768px) {
  .top_recruit .l_contents-xs {
    padding-top: 80px;
  }
}

.top_recruit_contents {
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}

@media screen and (min-width: 768px) {
  .top_recruit_contents {
    flex-direction: row;
  }
}

.top_recruit-title {
  font-size: 24px;
  font-weight: 900;
}
@media screen and (min-width: 1080px) {
  .top_recruit-title {
    font-size: 40px;
    line-height: 1.5;
  }
}

.top_recruit_txts {
  max-width: 500px;
}

.top_recruit_desc {
  margin-top: 24px;
  font-size: 16px;
}
@media screen and (min-width: 768px) {
  .top_recruit_desc {
    line-height: 2;
  }
}

.top_recruit_img-wrapper {
  height: 240px;
}

@media screen and (min-width: 768px) {
  .top_recruit_img-wrapper {
    width: 50%;
    position: absolute;
    right: 0;
    height: 100%;
    top: 0;
  }
}

.top_recruit_img {
  height: 100%;
  object-fit: contain;
}

.top_work-with-us_title {
  font-size: 80px;
  font-weight: bold;
  line-height: 1;
  font-family: "Roboto", sans-serif;
  letter-spacing: 3.2px;
}

.u_small {
  color: var(--text-muted);
}

.service_txt-title {
  font-size: 20px;
  color: var(--text-primary);
}

@media screen and (min-width: 768px) {
  .service_txt-title {
    font-size: 24px;
  }
}

.service_txt-title::before {
  background: var(--accent-color);
}

.about_message {
  background: url(../img/about-ceo.webp) center top/cover;
  height: 240px;
  position: relative;
}

@media screen and (min-width: 768px) {
  .about_message {
    padding: 40px 0;
    background-position: left -70px center;
    height: auto;
  }
}

@media screen and (min-width: 1220px) {
  .about_message {
    background-repeat: no-repeat;
    background-size: 120%;
    background-position: 0 -100px;
  }
}

.about_message::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: -53px;
  right: 0;
  z-index: -1;
  border-style: solid;
  border-width: 0 0 53px 240px;
  border-color: var(--white-color) var(--white-color) var(--primary-color)
    var(--white-color);
}
@media screen and (min-width: 768px) {
  .about_message::before{
    border-width: 0 0 120px 540px;
    top: -120px;

  }
}

@media screen and (min-width: 768px) {
  .about_message::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    z-index: -1;
    border-style: solid;
    border-width: 0 0 120px 540px;
    top: auto;
    left: 0;
    right: auto;
    bottom: -120px;
    border-color: var(--white-color) var(--white-color) var(--white-color)
      var(--primary-color);
  }
}


.about_message_txts {
  max-width: 540px;
  backdrop-filter: blur(30px);
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 40px;
}

.about_message_heading {
  font-size: 24px;
  font-weight: bold;
  margin-top: 40px;
}
.about_message_desc {
  font-size: 16px;
  margin-top: 24px;
}

.about_message_ceo {
  margin-top: 40px;
  font-weight: bold;
  text-align: right;
}
@media screen and (min-width: 768px) {
  .about_message_ceo {
    font-size: 16px;
    margin-top: 40px;
  }
}

.about_message_txt-sp {
  padding: 40px 0;
  position: relative;
}

.about_message_txt-sp::after{
   content: "";
    width: 0;
    height: 0;
    position: absolute;
    z-index: -1;
    border-style: solid;
    border-width: 0 0 53px 240px;
    top: auto;
    left:-16px;
    right: auto;
    bottom: -120px;
    border-color: var(--white-color) var(--white-color) var(--white-color)
      var(--primary-color);
}

.about_contents {
  padding: 64px 0;
}

@media screen and (min-width: 768px) {
  .about_contents {
    padding: 80px 0;
    margin-bottom: 40px;
  }
}

.about_company {
  background: var(--gray-color);
}

.about_company_contents-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .about_company_contents-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
  }
}

.about_company_contents-list {
  box-shadow: 0 0 16px rgba(51, 51, 51, 0.1);
  border-radius: 8px;
}

@media screen and (min-width: 768px) {
  .about_company_contents-list {
    width: calc((100% - 32px * (3 - 1)) / 3);
  }
}

.about_company_txt-wrapper {
  background: var(--white-color);
  padding: 24px;
  border-radius: 0 0 8px 8px;
}

.about_company_title {
  font-size: 24px;
  font-weight: bold;
}
.about_company_sub {
  font-size: 16px;
}

.m_btn__contact {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  justify-content: space-between;
}

.m_btn__contact:hover::after {
  opacity: 0;
  transition: opacity 0.1s linear 0.3s;
}

.m_btn__contact::before {
  content: url(../img-recruit/icon_target_white.svg);
  width: 20px;
  height: 20px;
  display: inline-block;
  position: absolute;
  right: 12px;
  opacity: 0;
  transition: opacity 0.2s linear 0.3s;
}

.m_btn__contact:hover::before {
  opacity: 1;
  transition-delay: 0.2s;
}

.m_btn__contact:hover {
  color: var(--white-color);
}

/* ---------- js ---------- */
.js_body.is_hidden {
  overflow: hidden;
}

.js_hamburger-bar {
  transition: top 0.24s, transform 0.24s, opacity 0.24s;
}

.js_hamburger.is-active .m_hamburger-bar:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
  width: 31px;
  left: 0;
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  transform: translate(50%, -50%);
  opacity: 0;
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
  width: 31px;
  left: 0;
}

.js_copy,
.js_sub-copy {
  overflow: hidden;
}

.js_nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}

@media screen and (min-width: 1080px) {
  .js_nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.js_nav.is-active {
  opacity: 1;
  pointer-events: auto;
  padding: 0 16px;
}

.effect-single {
  display: inline-block;
  position: relative;
  padding: 0;
  clip-path: inset(0 100% 0 0); /* 初期状態で非表示 */
}

.effect-single,
.effect-single::after {
  animation-delay: var(--animation-delay, 2s);
  animation-iteration-count: var(--iterations, 1);
  animation-duration: var(--duration, 800ms);
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.effect.scroll-in .effect-single {
  --animation-delay: var(--delay, 0s);
  --duration: var(--duration, 800ms);
  --iterations: var(--iterations, 1);
  animation-name: clip-text;
}
.effect.scroll-in .effect-single::after {
  content: "";
  position: absolute;
  z-index: 10000;
  inset: 0; /* top/left/right/bottom: 0; と同義 */
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  animation-name: text-revealer;
}

.effect__red.scroll-in .effect-single::after {
  background-color: var(--white-color);
}

@media (min-width: 768px) {
  .effect-group {
    display: inline-block;
    position: relative;
    z-index: 0;
    isolation: isolate; /* ← 背面帯の重なりを安定させる */
  }

  .effect.scroll-in .effect-group::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: 0 50%;
    animation: text-revealer 0.8s cubic-bezier(0, 0, 0.2, 1) both;
    z-index: 1000; /* テキストの背面へ */
  }

  .effect__red.effect.scroll-in .effect-group::after {
    background-color: var(--white-color);
  }

  /* ③ 行ごとのアニメはPCでは無効化（テキストは常に表示） */
  .effect.scroll-in .effect-group .effect-single {
    animation-name: none !important; /* clip-text を無効化 */
  }
  .effect .effect-group .effect-single::after {
    content: none !important; /* 行ごとの帯を消す */
  }
}

/* キーフレームはそのままでOK */
@keyframes clip-text {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes text-revealer {
  0%,
  50% {
    transform-origin: 0 50%;
  }
  60%,
  100% {
    transform-origin: 100% 50%;
  }
  60% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

/* 参考：視覚的に負担のある人向け */
@media (prefers-reduced-motion: reduce) {
  .effect-single,
  .effect-single::after {
    animation: none !important;
  }
}
/* ホバー */
/* 幅＝文字数＋padding。上下は高さでセンタリング */
.l_header-nav_link__hover {
  position: relative;
  display: inline-grid;
  align-items: center; /* グリッド項目を縦中央 */
  justify-items: center; /* 横中央 */
  height: 44px;
  padding: 0 8px; /* ← 縦パディングは0に（高さと競合させない） */
  line-height: normal; /* ← 行ボックスの影響をなくす */
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
}

/* 2枚のテキストを同じセルに重ねる＆自分自身で中央寄せ */
.btn__text {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
  transition: transform 0.3s;
  will-change: transform;
}

.btn__text:nth-child(1) {
  transform: translateY(0%);
}
.btn__text:nth-child(2) {
  transform: translateY(-100%);
}

.l_header-nav_link__hover:hover .btn__text:nth-child(1) {
  color: var(--primary-color);
  transform: translateY(100%);
}
.l_header-nav_link__hover:hover .btn__text:nth-child(2) {
  color: var(--primary-color);
  transform: translateY(0%);
  position: relative;
}

.l_header-nav_link__hover:hover .btn__text:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

/* お試しswiper */

.swiper {
  width: 320px;
  height: 400px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

/* オープニング */

/* オープニング画面 */
.opening-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOutAll 1s ease-out 4s forwards;
}

@keyframes fadeOutAll {
  to {
    opacity: 0;
    pointer-events: none;
  }
}

/* アニメーション終了後に非表示 */
.opening-screen.hidden {
  display: none;
}

.container {
  display: flex;
  align-items: center;
  gap: 25px;
  animation: fadeOutLogo 1s ease-out 4s forwards;
}

@keyframes fadeOutLogo {
  to {
    opacity: 0;
  }
}

.logo-mark {
  width: 145px;
  height: 75px;

  display: flex;
  justify-content: center;
  align-items: center;

  animation: logoAppear 0.8s ease-out forwards,
    logoSlideFromRight 0.6s ease-out 1.5s forwards;
  transform-origin: center;
  transform: translateX(150px);
}

@keyframes logoAppear {
  0% {
    opacity: 0;
    transform: translateX(150px) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translateX(150px) scale(1);
  }
}

@keyframes logoSlideFromRight {
  0% {
    transform: translateX(150px);
  }
  100% {
    transform: translateX(0);
  }
}

.logo-text {
  display: flex;
  gap: 20px;
}

.word {
  opacity: 0;
  transform: translateX(50px);
}

.logo_svg {
  height: 58px;
}

.word:nth-child(1) {
  animation: wordSlideIn 0.6s ease-out 2.2s forwards;
}

.word:nth-child(2) {
  animation: wordSlideIn 0.6s ease-out 2.8s forwards;
  margin-left: 15px;
}

@keyframes wordSlideIn {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.scrollbar_04 {
  position: absolute;
  right: 16px;
  bottom: 1px;
  opacity: 0;
  animation: scrollAppear 0.8s ease-out 7.6s forwards;
  z-index: var(--z-index-default);
}

@keyframes scrollAppear {
  to {
    opacity: 1;
  }
}

/* 線 */
.scrollbar_04::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100px;
  background: #fff;
}

/* 丸い玉（線の一番上） */
.scrollbar_04::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

/* 全体 */
.btt .animation-bg {
  animation-name: PageAnime-btt;
}

.btt .animation-bg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 61px;
  background-image: url("../img-recruit/icon_logo__white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  animation: LogoAnime 3s ease-in-out;
}

@keyframes PageAnime-btt {
  0% {
    transform-origin: bottom;
    transform: scaleY(1);
    opacity: 1;
  }
  80% {
    transform-origin: bottom;
    transform: scaleY(1);
    opacity: 1;
  }
  80.001% {
    transform-origin: top;
  }
  100% {
    transform-origin: top;
    transform: scaleY(0);
    opacity: 1;
  }
}

@keyframes LogoAnime {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  70% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.move .animation-bg {
  background: var(--primary-color);
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.l_header__late {
  opacity: 0;
  /* left: 50%; */
  /* transform: translate(-50%, -100%); */
  animation: headerSlideDown 0.8s ease-out 3s forwards;
}

@keyframes headerSlideDown {
  0% {
    opacity: 0;
    top: 0;
    /* transform: translate(-50%, -100%); */
  }
  100% {
    opacity: 1;
    top: 0;
    /* transform: translate(-50%, 0); */
  }
}
/* PC版の調整 */
@media screen and (min-width: 768px) {
  @keyframes headerSlideDown {
    0% {
      opacity: 0;
      top: -76px;
    }
    100% {
      opacity: 1;
      top: 31px; /* PC版の元の位置 */
    }
  }
}
