@charset "UTF-8";
:root {
  --ease-out-01: cubic-bezier(0.12, 0.88, 0.32, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background-color: #fff;
  color: #fff;
  width: 100%;
  font-family: "Noto Serif JP", serif;
  line-height: 1.6;
}

main {
  overflow: hidden;
  background: #0e0e22;
}

.inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

a {
  transition: 0.3s all ease;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

.bold {
  font-weight: bold;
}

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

:where([hidden]:not([hidden=until-found])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
  tab-size: 2;
  scrollbar-gutter: stable;
}

:where(html:has(dialog:modal[open])) {
  overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}
:where(body) {
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(button) {
  all: unset;
}

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

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(a) {
  color: inherit;
  text-underline-offset: 0.2ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg, video) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
  text-wrap: balance;
}

:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(dialog) {
  border: none;
  background: none;
  inset: unset;
  max-width: unset;
  max-height: unset;
}

:where(dialog:not([open])) {
  display: none !important;
}

:where(:focus-visible) {
  outline: 3px solid CanvasText;
  box-shadow: 0 0 0 5px Canvas;
  outline-offset: 1px;
}

:where(:focus-visible, :target) {
  scroll-margin-block: 8vh;
}

:where(.visually-hidden:not(:focus-within, :active)) {
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.l-footer {
  background: #222233;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: noto sans jp;
  font-weight: 400;
  padding: 50px 50px 10px 50px;
}
@media (max-width: 1024px) {
  .l-footer {
    padding: 20px 20px 10px 20px;
  }
}
.l-footer__inner {
  max-width: 1100px;
  width: 100%;
  width: 100%;
  display: flex;
}
@media (max-width: 1024px) {
  .l-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
.l-footer__logo {
  padding: 10px;
}
@media (max-width: 1024px) {
  .l-footer__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
}
.l-footer img {
  width: 100%;
  max-width: 150px;
  display: inline-block;
  margin-bottom: 20px;
}
@media (max-width: 1024px) {
  .l-footer img {
    margin: 0 auto;
    margin-bottom: 20px;
  }
}
.l-footer__nav {
  display: flex;
  margin-left: auto;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .l-footer__nav {
    flex-direction: column;
    margin-left: 0;
    margin-top: 30px;
    width: 100%;
  }
}
.l-footer__nav-list:nth-child(1) {
  margin-right: 50px;
}
@media (max-width: 1024px) {
  .l-footer__nav-list:nth-child(1) {
    margin-right: 0;
  }
}
.l-footer__nav-item {
  gap: 10px;
  border-bottom: 0.5px solid #fff;
}
.l-footer__nav-item a {
  display: block;
  padding: 15px 5px;
  width: 266.667px;
}
@media (max-width: 1024px) {
  .l-footer__nav-item a {
    width: 100%;
  }
}
.l-footer__nav-item:hover {
  color: #a29921;
}
.l-footer__bottom {
  margin-top: 30px;
}
.l-footer__terms {
  margin-bottom: 15px;
  font-size: 13px;
  color: #ccc;
}
.l-footer__terms a {
  margin: 0 5px;
}
.l-footer__copyright {
  color: #ccc;
  font-size: 13px;
}

.home .l-header {
  animation: fade-down 1.1s 0.7s forwards;
  overflow: hidden;
  transform: translateY(-100%);
}
@media (max-width: 1024px) {
  .home .l-header {
    overflow: visible;
  }
}
.home .l-header__inner {
  animation: fade-up 1s 1.2s forwards;
  opacity: 0;
}
.home .l-header__nav {
  animation: fade-down 0.5s;
}

.l-header {
  width: 100%;
  background-color: rgba(35, 35, 35, 0.7450980392);
  color: #fff;
  margin: 0 auto;
  position: fixed;
  top: 0;
  z-index: 100;
  transition: 1s ease all;
}
.l-header.is-scrolled {
  background-color: rgba(35, 35, 35, 0.937254902);
}
@media (max-width: 1024px) {
  .l-header {
    overflow: visible;
  }
}
@keyframes fade-down {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}
.l-header__inner {
  display: flex;
  align-items: center;
  padding-left: 50px;
}
@keyframes fade-up {
  0% {
    transform: translateY(40%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}
@media (max-width: 1024px) {
  .l-header__inner {
    padding-left: 10px;
  }
}
.l-header__logo {
  padding: 10px;
}
.l-header__logo img {
  max-width: 150px;
  width: 100%;
}
.l-header__nav {
  margin-left: auto;
  margin-right: 40px;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .l-header__nav {
    margin-right: 10px;
    display: none;
  }
}
.l-header__nav-list {
  display: flex;
}
.l-header__nav-list-item {
  white-space: nowrap;
  padding-right: 30px;
}
.l-header__nav-list-item:hover {
  color: #a29921;
}
.l-header__nav a {
  position: relative;
}
.l-header__nav a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #a29921;
  bottom: -10px;
  transform: scale(0, 1);
  transition: transform 0.3s;
  transform-origin: center top;
}
.l-header__nav a:hover::after {
  transform: scale(1, 1);
}
.l-header__cta {
  display: flex;
  text-align: center;
  font-size: 12px;
}
@media (max-width: 1024px) {
  .l-header__cta {
    display: none;
  }
}
.l-header__cta-icon img {
  width: 45px;
}
.l-header__cta-button {
  padding: 10px;
}
.l-header__cta-button--gray {
  background: linear-gradient(180deg, #aeaeae 0%, #474747 100%);
}
.l-header__cta-button--red {
  background: linear-gradient(180deg, #c63131 0%, #620d0d 100%);
}
.l-header__cta-subtitle {
  font-size: 14px;
  font-family: noto sans jp;
}
.l-header__cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.l-header__cta-sp {
  display: flex;
  justify-content: center;
  justify-content: space-around;
  text-align: center;
  font-size: 12px;
  padding: 0 50px;
  width: 100%;
}
.l-header__cta-sp-icon img {
  width: 45px;
}
.l-header__cta-sp-button {
  width: 100%;
  padding: 10px;
}
.l-header__cta-sp-button--gray {
  background: linear-gradient(180deg, #aeaeae 0%, #474747 100%);
}
.l-header__cta-sp-button--red {
  background: linear-gradient(180deg, #c63131 0%, #620d0d 100%);
}
.l-header__cta-sp-subtitle {
  font-size: 14px;
  font-family: noto sans jp;
}
.l-header__cta-sp-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.c-menuButton {
  width: 45px;
  height: 42px;
  border-radius: 5px;
  position: relative;
  display: none;
  margin: auto 0;
  margin-left: auto;
  margin-right: 10px;
}

.c-menuButton div {
  height: 2px;
  width: 100%;
  background-color: #fff;
  transition: 0.5s;
}

.c-menuButton div:nth-child(1) {
  position: absolute;
  top: 50%;
  height: 2px;
  background-color: #fff;
  right: 0;
  width: 80%;
}

.c-menuButton div:nth-child(2) {
  position: absolute;
  top: 20%;
  left: 0;
}

.c-menuButton div:nth-child(3) {
  position: absolute;
  top: 80%;
  left: 0;
}

.c-menuButton.active div:nth-child(1) {
  position: absolute;
  top: 50%;
  height: 2px;
  background-color: #fff;
  left: 17%;
  opacity: 0;
  rotate: 1080deg;
}

.c-menuButton.active div:nth-child(2) {
  rotate: 45deg;
  transform-origin: 0%;
  transform: translate(1px, -8px);
}

.c-menuButton.active div:nth-child(3) {
  transform: translate(16px, -26px);
  rotate: -45deg;
  transform-origin: 100%;
}

/* ハンバーガーメニュー */
.l-header__nav__sp {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0e0e22;
  transform: translateX(-100vw);
  transition: 0.5s;
}

@media (max-width: 1024px) {
  .l-header__nav__sp {
    display: block;
  }
  .c-menuButton {
    display: block;
    z-index: 20;
  }
  .l-header__nav.pc {
    display: none;
  }
  .l-header__nav__sp.active {
    animation: fade-in-sp-menu 1s forwards;
  }
  @keyframes fade-in-sp-menu {
    0% {
      transform: translateX(-100vw);
    }
    100% {
      transform: none;
    }
  }
  .l-header__nav__sp__contents ul {
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 1024px) and (max-width: 1024px) {
  .l-header__nav__sp__contents ul {
    padding: 50px;
    margin-top: 5%;
  }
}
@media (max-width: 1024px) and (max-width: 1024px) {
  .l-header__nav__sp__contents ul li {
    padding-right: 0;
  }
}
@media (max-width: 1024px) {
  .l-header__nav__sp__contents ul li a {
    display: inline-block;
    width: 100% !important;
    padding: 25px;
    border-bottom: 1px solid #727272;
  }
}
.auto-br {
  display: inline-block;
}

@media (max-width: 1024px) {
  .br-pc {
    display: none;
  }
}

.page-header {
  position: relative;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #a29921;
}
@media (max-width: 1024px) {
  .page-header {
    height: 250px;
  }
}
.page-header.service-bg {
  background: url("../img/service-header.png") center/cover no-repeat;
}
.page-header.recruitment-bg {
  background: url("../img/recruitment-header.png") center/cover no-repeat;
}
.page-header.outsourcing-bg {
  background: url("../img/outsourcing-header.png") center/cover no-repeat;
}
.page-header.spotwork-bg {
  background: url("../img/spotwork-header.png") center/cover no-repeat;
}
.page-header.about-bg {
  background: url("../img/about-header.png") center/cover no-repeat;
}
.page-header.contact-bg {
  background: url("../img/contact-header.png") center/cover no-repeat;
}
.page-header.corporate-bg {
  background: url("../img/corporate-header.png") center/cover no-repeat;
}
.page-header__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-header__title {
  font-size: clamp(1rem, 7vw, 36px);
  margin: 0;
  font-weight: bold;
  color: #fff;
}
.page-header__subtitle {
  font-size: clamp(1rem, 7vw, 24px);
  color: #a29921;
  margin-top: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .page-header__subtitle {
    margin-top: 5px;
  }
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.84;
  background: #575331;
  z-index: 1;
}

.breadcrumb {
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 14px;
  text-align: left;
  background: #333;
}
.breadcrumb__link {
  text-decoration: none;
}
.breadcrumb__link:hover {
  text-decoration: underline;
}

.js-scroll-fadein {
  transition: opacity 1s;
  visibility: hidden;
  opacity: 0;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
  transition: 0.3s;
}
.js-scroll-fadein.is-fadein {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------
    arrow
  --------------------------------*/
.arrow {
  position: fixed;
  right: -15px;
  bottom: 10%;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  line-height: 1;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  font-family: "Replica-Bold", sans-serif;
  text-transform: uppercase;
  transform: rotate(270deg);
}
.arrow:hover {
  opacity: 0.8;
  bottom: 11%;
}
.arrow:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  border-bottom: 1px solid #727272;
  top: 50%;
  right: -110%;
}

.kv {
  position: relative;
  width: 100%;
  height: 85vh; /* 全画面高さに調整 */
  background-image: url("../img/kv.jpg"); /* 背景画像を設定 */
  background-size: cover;
  background-position: 40%;
  display: flex;
  align-items: center;
  padding: 55px;
  z-index: 0;
  animation: fade-in 1s;
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (max-width: 1024px) {
  .kv {
    padding: 20px;
  }
}
.kv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background-image: url("../img/kv-gold-front.png"); /* 背景画像を設定 */
  background-size: cover;
  background-position: top right;
  animation: fade-in-50x 1.5s;
  z-index: -1;
  transform: translateX(-180px);
}
@media (max-width: 1024px) {
  .kv::before {
    animation: none;
    transform: translateX(0px);
    width: 60%;
  }
}
.kv::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-image: url("../img/kv-gold-back.jpg"); /* 背景画像を設定 */
  background-position: top right;
  background-size: cover;
  animation: fade-in-30x 1s;
  z-index: -2;
}
@media (max-width: 1024px) {
  .kv::after {
    animation: none;
    transform: translateX(0px);
    width: 70%;
  }
}

@keyframes fade-in-50x {
  0% {
    transform: translateX(-250px);
  }
  100% {
    transform: translateX(-180px);
  }
}
@keyframes fade-in-30x {
  0% {
    transform: translateX(-30px);
  }
  100% {
    transform: translateX(0px);
  }
}
.kv__content {
  position: relative;
  z-index: 2;
  color: #fff; /* テキストカラーを白に */
  text-align: left; /* 左揃え */
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transform: translateY(20%);
}
.kv__content .kv__description {
  text-shadow: 0px 0px 4px rgb(0, 0, 0);
}

.kv__title {
  font-size: 4rem; /* タイトルのフォントサイズを調整 */
  font-size: clamp(1.5rem, 8vw, 4rem);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.96px;
  white-space: nowrap;
}

.kv__description {
  font-size: 1.2rem;
  line-height: 1.8;
}

.cta-section {
  padding: 50px 20px;
  background-image: url("../img/cta-bg.png"); /* 背景画像を設定 */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
}

.cta-section__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* カード間のスペース */
  max-width: 1100px;
  width: 100%;
}
@media (max-width: 768px) {
  .cta-section__wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.cta-card {
  flex: 1;
  padding: 50px 30px;
  text-align: center;
  max-width: 528px;
}
@media (max-width: 1024px) {
  .cta-card {
    padding: 30px;
    width: 100%;
  }
}
.cta-card.gray {
  background: linear-gradient(180deg, #aeaeae 0%, #474747 100%);
}
.cta-card.red {
  background: linear-gradient(180deg, #c63131 0%, #620d0d 100%);
}

.cta-card__title {
  font-size: 1.5rem;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: solid 1px #8d8442;
}

.cta-card__text {
  font-size: 1rem;
  margin: 40px 0;
  line-height: 1.8;
}

.btn-icon {
  padding-right: 10px;
}

.cta-card__button:hover {
  background-color: #887532; /* ホバー時の色 */
}
.cta-card__button:hover .btn-icon-hover {
  display: block;
  transition: 0.3s;
}
.cta-card__button:hover .btn-icon {
  display: none;
}

.btn-icon-hover {
  display: none;
  padding-right: 10px;
}

.cta-card__button-text {
  margin-right: 10px;
}

.cta-card__icon {
  font-size: 1.2rem;
}

.cta-card--entry {
  border-top: 8px solid #333333; /* カードの上部のアクセントカラー */
}

.cta-card--contact {
  border-top: 8px solid #520d14; /* 別のアクセントカラー */
}

.p-service {
  padding: 100px 20px;
  background-image: url("../img/service-bg.jpg"); /* 背景画像を設定 */
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
}
@media (max-width: 768px) {
  .p-service {
    padding: 50px 20px;
  }
}

.p-service__header {
  display: flex;
  margin-bottom: 105px;
}
@media (max-width: 1024px) {
  .p-service__header {
    flex-direction: column;
    margin-bottom: 80px;
  }
}
.p-service__header .u-section__title-wrapper {
  margin-right: 40px;
}

.p-service__description {
  font-size: 16px;
  line-height: 1.6;
  text-align: start;
  display: flex;
  align-items: center;
}
@media (max-width: 1024px) {
  .p-service__description {
    margin: 20px 0 0 0;
  }
}

.p-service__content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 60px;
}
@media (max-width: 1024px) {
  .p-service__content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.p-service__item {
  background-color: #1b263b;
  text-align: left;
  flex: 1;
  transition: transform 0.3s;
  position: relative;
  width: 100%;
  height: fit-content;
  max-width: 500px;
}
.p-service__item-header {
  position: relative;
}
.p-service__item-content {
  padding: 12px;
  border-top: #a29921 solid 2px;
}
.p-service__item:nth-child(1) {
  transform: translateY(-30px);
}
.p-service__item:nth-child(3) {
  transform: translateY(30px);
}

.p-service__image {
  width: 100%;
}

.p-service__item-title {
  font-size: 24px;
  font-weight: bold;
  color: #a29921;
  margin: 10px 0;
  position: absolute;
  bottom: 5px;
  left: 20px;
}

.p-service__item-subtitle {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.p-service__item-description {
  font-size: 1rem;
  margin-bottom: 20px;
}

.p-service__item-link {
  font-size: 1rem;
  color: #fff;
  display: block;
  text-decoration: none;
  font-weight: bold;
  margin-left: auto;
  width: fit-content;
  position: relative;
  padding-right: 30px;
  text-transform: uppercase;
}
.p-service__item-link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 20px;
  height: 60%;
  background-image: url("../img/button-triangle.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateY(-50%);
  transition: 0.3s all ease;
}
.p-service__item-link:hover {
  transition: 0.3s all ease;
}
.p-service__item-link:hover::before {
  transform: translate(2px, -50%);
}

.p-performance {
  padding: 100px 20px;
  background-image: url("../img/performance-bg.png"); /* 背景画像を設定 */
  background-size: cover;
  background-position: center;
}
@media (max-width: 768px) {
  .p-performance {
    padding: 50px 20px;
  }
}

.p-performance__header {
  display: flex;
  margin-bottom: 50px;
}
@media (max-width: 1024px) {
  .p-performance__header {
    flex-direction: column;
  }
}

.p-performance__description {
  margin-left: 40px;
  font-size: 16px;
  line-height: 1.6;
  text-align: start;
}
@media (max-width: 1024px) {
  .p-performance__description {
    margin: 20px 0 0 0;
  }
}

.p-performance__content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (max-width: 1024px) {
  .p-performance__content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.p-performance__card {
  border-radius: 5px;
  width: 32%;
  position: relative;
}
.p-performance__card-content {
  padding-top: 20px;
}
@media (max-width: 1024px) {
  .p-performance__card {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
  }
}
.p-performance__card img {
  width: 100%;
  aspect-ratio: 1.618/1;
  object-fit: cover;
}

.p-performance__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(44deg, #a29921 2.39%, #999237 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.p-performance__card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
}
.p-performance__card h3.show::before {
  content: "";
  height: 1px;
  width: 0;
  background: #8d8442;
  position: absolute;
  bottom: 0;
  left: 0;
  animation: line-slide-in 1s 0.3s ease-in-out forwards;
}
@keyframes line-slide-in {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.p-performance__card p {
  font-size: 14px;
  line-height: 1.6;
}

/* サービスセクション全体のスタイル */
.services {
  background-color: #1a1a2e; /* ダークブルーの背景色 */
  color: #ffffff;
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .services {
    padding: 50px 20px;
  }
}

.services__inner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

/* 各サービスカード */
.services__item {
  width: 100%;
  min-width: 300px;
  display: flex;
  background: #1b263b;
  margin-bottom: 30px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
@media (max-width: 1024px) {
  .services__item {
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
}
.services__item .u-button {
  margin: 0;
  margin-left: auto;
}
@media (max-width: 1024px) {
  .services__item .u-button {
    margin: 0 auto;
  }
}
.services__item:nth-last-child(2) {
  flex-direction: row-reverse;
}
@media (max-width: 1024px) {
  .services__item:nth-last-child(2) {
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
}
.services__item:nth-last-child(2) .services__content {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}
@media (max-width: 1024px) {
  .services__item:nth-last-child(2) .services__content {
    margin-right: 0;
  }
}
.services__item:nth-last-child(2) .u-button {
  margin: 0;
  margin-right: auto;
}
@media (max-width: 1024px) {
  .services__item:nth-last-child(2) .u-button {
    margin: 0 auto;
  }
}

/* サービス画像 */
.services__right {
  max-width: 520px;
  width: 100%;
  position: relative;
}
.services__right .animation-Target-wrapper {
  height: 100%;
}
@media (max-width: 1024px) {
  .services__right {
    max-width: 100%;
  }
}
.services__right__title {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: bold;
  color: #a29921;
  margin-bottom: 10px;
}
.services__right img {
  width: 100%;
  height: 100%;
  display: block;
}

/* サービス内容 */
.services__content {
  padding: 20px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
}
@media (max-width: 1024px) {
  .services__content {
    text-align: left;
    margin-left: 0;
  }
}

.services__subtitle {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 18px;
}

.services__description {
  line-height: 1.8;
  margin-bottom: 20px;
}

/* p-service-introのスタイル */
.p-service-intro {
  color: #ffffff; /* テキスト：白色 */
  padding: 90px 20px; /* 上下左右の余白 */
  text-align: center; /* テキスト中央揃え */
  animation: fade-in 1s;
}
@media (max-width: 1024px) {
  .p-service-intro {
    padding: 50px 20px;
  }
}

@keyframes fade-up-20 {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
.p-service-intro__inner {
  max-width: 900px; /* 最大幅 */
  margin: 0 auto; /* 中央寄せ */
  background-color: #1b263b; /* コンテンツ背景色 */
  padding: 50px; /* 内側の余白 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* シャドウ効果 */
}
@media (max-width: 1024px) {
  .p-service-intro__inner {
    padding: 30px 20px;
  }
}

.p-service-intro__title {
  font-size: 24px; /* タイトルのフォントサイズ */
  font-weight: bold; /* 太字 */
  margin-bottom: 20px; /* 下余白 */
  opacity: 0;
  animation: fade-in 1s 0.1s forwards;
}

.p-service-intro__description {
  font-size: 16px; /* 説明文のフォントサイズ */
  line-height: 1.8; /* 行間 */
  color: #d3d3d3; /* テキストカラー：淡いグレー */
  opacity: 0;
  animation: fade-in 1s 0.2s forwards;
}

.p-achievement {
  padding: 100px 20px 120px;
}
@media (max-width: 1024px) {
  .p-achievement {
    padding: 50px 20px;
  }
}
.p-achievement__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.p-achievement__item {
  background: #1b263b;
  width: 100%;
  width: 30%;
  overflow: hidden;
  margin: 30px 10px;
}
@media (max-width: 1024px) {
  .p-achievement__item {
    width: 43%;
    max-width: 400px;
  }
}
@media (max-width: 768px) {
  .p-achievement__item {
    width: 100%;
    max-width: 400px;
  }
}
.p-achievement__image {
  width: 100%;
  height: 200px;
  position: relative;
}
.p-achievement__image::before {
  content: "";
  width: 35px;
  height: 35px;
  background-color: #a29921;
  position: absolute;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.p-achievement__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1.618/1;
}
.p-achievement__title {
  font-size: 18px;
  margin-bottom: 10px;
}
.p-achievement__text {
  border-top: 1px solid #a29921;
  padding: 20px;
}

.p-outsourcing .animation-Target-wrapper {
  position: relative;
}
.p-outsourcing .animation-Target-wrapper::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.39);
  position: absolute;
  top: 0;
  left: 0;
}

/* セクション全体 */
.p-service-summary {
  padding: 100px 20px;
  background-image: url("../img/performance-bg.png"); /* 背景画像を設定 */
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
}
@media (max-width: 1024px) {
  .p-service-summary {
    padding: 50px 20px;
  }
}

.p-service-summary__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.p-service-summary__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.p-service-summary__description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #cccccc;
}

/* カードリスト */
.p-service-summary__list {
  display: flex;
  justify-content: space-around;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .p-service-summary__list {
    flex-direction: column;
    align-items: center;
  }
}

.p-service-summary__item {
  background: rgba(132, 125, 64, 0.9);
  color: #fff;
  padding: 40px 15px;
  text-align: center;
  width: 100%;
  max-width: 344px;
  min-height: 400px;
  background-image: url("../img/service-item-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .p-service-summary__item {
    max-width: 400px;
  }
}
.p-service-summary__item:hover {
  animation: bound 0.5s forwards;
}
@keyframes bound {
  100% {
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.4549019608);
  }
}

/* 画像 */
.p-service-summary__image {
  width: 190px;
  height: 190px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
}
.p-service-summary__image::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.39);
  position: absolute;
  top: 0;
  left: 0;
}

.p-service-summary__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 役職タイトル */
.p-service-summary-role {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px;
}

/* テキスト */
.p-service-summary__text {
  font-size: 1rem;
  color: #ffffff;
  text-align: left;
}

.p-service-flow {
  padding: 100px 20px;
  background: #1d1d2f;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
}
@media (max-width: 1024px) {
  .p-service-flow {
    padding: 50px 20px;
  }
}
.p-service-flow__footer {
  margin-top: 60px;
}

/* セクション全体のスタイル */
/* セクション全体 */
.p-contact {
  padding: 60px 20px;
  text-align: center;
}
@media (max-width: 1024px) {
  .p-contact {
    padding: 50px 20px;
  }
}
.p-contact__buttons {
  display: flex;
  justify-content: center;
}
@media (max-width: 1024px) {
  .p-contact__buttons {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.p-contact__buttons a {
  padding: 15px;
  margin: 10px;
  width: 100%;
  max-width: 400px;
  font-weight: 600;
  border-radius: 3px;
  font-size: 16px;
  position: relative;
}
.p-contact__buttons a::before {
  content: "";
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  background-image: url("../img/icon-down.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50% 50%;
}
@media (max-width: 1024px) {
  .p-contact__buttons a {
    max-width: 800px;
  }
}

/* ヘッダー部分 */
.p-contact__header {
  margin-bottom: 30px; /* 下余白 */
}

.p-contact__subtitle {
  font-size: 20px;
}

/* 注意事項 */
.p-contact__note {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ボタン */
.u-button--gray {
  background: linear-gradient(180deg, #aeaeae 0%, #474747 100%);
  color: #ffffff;
}

.u-button--red {
  background: linear-gradient(180deg, #c63131 0%, #620d0d 100%);
  color: #ffffff;
}

/* フォーム*/
/* 全体スタイル */
.p-form {
  margin-top: 65px;
  background-color: #ffffff; /* 白背景 */
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 1024px) {
  .p-form {
    margin-top: 30px;
  }
}
.p-form .u-button {
  border: 0;
}
@media (max-width: 1024px) {
  .p-form .u-button {
    width: 100%;
    max-width: 400px;
    padding: 20px 0;
  }
}

.p-form__inner {
  padding: 60px 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  color: #333333; /* 黒文字 */
}
@media (max-width: 1024px) {
  .p-form__inner {
    padding: 20px;
  }
}

/* タイトル */
.p-form__title {
  font-size: 24px;
  padding: 20px;
  font-weight: bold;
}
.p-form__title.gray {
  background: linear-gradient(180deg, #aeaeae 0%, #474747 100%);
}
.p-form__title.red {
  background: linear-gradient(180deg, #c63131 0%, #620d0d 100%);
}

/* フォームグループ */
.p-form__group {
  margin-bottom: 20px;
  text-align: left;
}

.p-form__group label {
  display: block;
  font-size: 16px;
  margin-top: 40px;
  font-weight: bold;
}

.p-form__required {
  font-size: 12px;
  padding: 4px 5px;
  background-color: #963131;
  color: #fff;
  margin-left: 5px;
}

.p-form__name {
  display: flex;
  gap: 10px;
}

.p-form__name input {
  flex: 1;
}

.wpcf7-response-output {
  background: #333;
  color: #fff;
  border-color: #333 !important;
  font-family: noto sans jp;
}

.wpcf7-not-valid-tip {
  background: #e0e2b7;
  margin-top: 5px;
  padding: 2px 5px;
  border-radius: 5px;
  font-family: noto sans jp;
}

/* 入力フィールド */
input[type=text],
input[type=email],
input[type=tel],
textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #acacac;
  box-sizing: border-box;
  background: #fff;
}

textarea {
  resize: none; /* テキストエリアのサイズ変更を無効化 */
}

.wpcf7-spinner {
  display: none;
}

/* チェックボックス */
.p-form__checkbox {
  margin: 20px 0;
  text-align: center;
  color: #000;
}
.p-form__checkbox input[type=checkbox] {
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.p-form__checkbox input[type=checkbox]:checked:before {
  position: absolute;
  top: 5px;
  left: 11px;
  transform: rotate(50deg);
  width: 4px;
  height: 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  content: "";
  z-index: 10;
}
.p-form__checkbox input[type=checkbox]::after {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  top: 1px;
  left: 4px;
  border: 1px solid #d9d9d9;
  z-index: 1;
}
.p-form__checkbox input[type=checkbox]:checked:after {
  background-color: #b5b28f;
}
.p-form__checkbox .wpcf7-list-item-label {
  padding-left: 10px;
}
.p-form__checkbox a {
  text-decoration: underline;
}

.p-form__checkbox label {
  font-size: 16px;
  margin-left: 5px;
  font-family: noto sans jp;
}

/* 確認ページ */
.p-form-confirm {
  background-color: #1a1a2e; /* 背景色：ダークブルー */
  color: #ffffff;
  padding: 100px 20px;
  text-align: center;
}
@media (max-width: 1024px) {
  .p-form-confirm {
    padding: 50px 20px;
  }
}
.p-form-confirm__buttons p {
  display: flex;
  justify-content: center;
}
.p-form-confirm__buttons .u-button {
  margin: 50px 10px 0 10px;
  border: none;
}
.p-form-confirm__buttons .u-button:hover {
  color: #ffffff;
}
@media (max-width: 1024px) {
  .p-form-confirm__buttons .u-button {
    margin: 30px 10px 0 10px;
  }
}
.p-form-confirm__buttons .wpcf7-spinner {
  display: none;
}

.p-form-confirm__inner {
  max-width: 900px;
  margin: 0 auto;
}

.p-form-confirm-content {
  background-color: #ffffff; /* 背景色：白 */
  padding: 60px 40px;
  border-radius: 5px;
  color: #333333; /* テキスト色：黒 */
}
@media (max-width: 1024px) {
  .p-form-confirm-content {
    padding: 50px 20px;
  }
}

/* テーブルスタイル */
.p-form-confirm__table {
  width: 100%;
  border-collapse: collapse; /* ボーダーの隙間をなくす */
  margin-bottom: 40px;
}
.p-form-confirm__table tr {
  border-bottom: 1px solid #a29921; /* ボーダー */
  padding: 20px 0;
}
@media (max-width: 1024px) {
  .p-form-confirm__table tr {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #a29921; /* ボーダー */
  }
}

.p-form-confirm__table th,
.p-form-confirm__table td {
  padding: 20px;
  text-align: left;
  color: #333333;
}
@media (max-width: 1024px) {
  .p-form-confirm__table th,
  .p-form-confirm__table td {
    padding: 12px;
  }
}

.p-form-confirm__table th {
  width: 30%;
  font-weight: bold;
}
@media (max-width: 1024px) {
  .p-form-confirm__table th {
    width: 100%;
    border-bottom: none;
  }
}

/* サンクスページ */
.p-thank-you {
  background-color: #1a1a2e; /* 背景色：ダークブルー */
  color: #ffffff; /* テキスト色：白 */
  padding: 100px 20px; /* 上下左右の余白 */
  text-align: center; /* 中央揃え */
}
@media (max-width: 1024px) {
  .p-thank-you {
    padding: 50px 20px;
  }
}

/* 内部コンテンツの最大幅設定 */
.p-thank-you__inner {
  max-width: 800px; /* 最大幅を指定 */
  margin: 0 auto; /* コンテンツを中央寄せ */
}

/* タイトルのスタイル */
.p-thank-you__title {
  font-size: 36px;
  font-weight: bold; /* 太字 */
  margin-bottom: 50px; /* 下余白 */
  color: #ffffff; /* タイトルの色 */
}

/* 説明文のスタイル */
.p-thank-you__description {
  font-size: 16px; /* 説明文のフォントサイズ */
  line-height: 1.8; /* 行間 */
  color: #d3d3d3; /* 説明文の色（淡いグレー） */
}

.p-form .u-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(44deg, #7e7821 2.39%, #c0ba57 100%);
  color: #fff;
  padding: 20px 20px;
  max-width: 319px;
  width: 100%;
  text-decoration: none;
  border-radius: 2px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  outline: none;
  transition: color 0.5s ease;
  display: flex;
  transition: 0.6s ease all;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 768px) {
  .p-form .u-button {
    max-width: 500px;
  }
}
.p-form .u-button::after {
  content: "";
  position: absolute;
  top: 0%;
  right: 10px;
  width: 50px;
  height: 100%;
  background-image: url("../img/button-arrow.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.6s all ease;
}
.p-form .u-button:hover {
  scale: 0.98;
  opacity: 0.9;
}
.p-form .u-button:hover {
  color: #ffffff;
}
.p-form .u-button:hover::after {
  background-image: url("../img/button-arrow-hover.png");
  transform: translateX(5px);
}
.p-form .u-button:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.p-form .u-button::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
  z-index: -1;
}

.p-company-overview {
  padding: 60px 20px;
  text-align: center;
}
@media (max-width: 1024px) {
  .p-company-overview {
    padding: 50px 20px;
  }
}

.p-company-overview__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  background-image: url("../img/about-philosophy-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 20px;
}
@media (max-width: 768px) {
  .p-company-overview__content {
    padding: 50px 20px;
  }
}

.p-company-overview__text {
  font-size: 24px;
  line-height: 1.8;
  max-width: 800px;
  color: #ffffff;
}

.p-vision-mission {
  background-color: #2e2e2e;
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .p-vision-mission {
    padding: 50px 20px;
  }
}
.p-vision-mission__block {
  background-color: #b3af7a;
  color: #333333;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
}
@media (max-width: 1024px) {
  .p-vision-mission__block {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}
.p-vision-mission__block::before {
  content: "";
  width: 50px;
  height: 50px;
  background: linear-gradient(44deg, #a29921 2.39%, #999237 100%);
  position: absolute;
  top: -5px;
  left: -5px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.p-vision-mission__block-title {
  margin-bottom: 30px;
  font-size: 36px;
  font-weight: bold;
}
.p-vision-mission__block-body {
  display: flex;
  flex-direction: column;
  padding: 25px 40px;
  margin-right: auto;
  width: 80%;
}
@media (max-width: 1024px) {
  .p-vision-mission__block-body {
    padding: 25px 20px;
    width: 100%;
  }
}
.p-vision-mission__block-content {
  display: flex;
}
.p-vision-mission__text {
  flex: 1;
  font-size: 16px;
  color: #333333;
}
.p-vision-mission__image {
  display: flex;
  justify-content: flex-start;
  width: 20%;
}
@media (max-width: 1024px) {
  .p-vision-mission__image {
    display: none;
  }
}
.p-vision-mission__image img {
  text-align: left;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-vision-mission__summary {
  font-size: 24px;
  font-weight: bold;
}

.p-profile {
  background-color: #1f1f1f;
  padding: 100px 20px;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .p-profile {
    padding: 50px 20px;
  }
}
.p-profile__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
.p-profile__table th {
  white-space: nowrap;
}
.p-profile__table th,
.p-profile__table td {
  padding: 15px 20px;
  text-align: left;
}
.p-profile__table th {
  background-color: #8d8442;
  font-weight: bold;
  width: 25%;
}
.p-profile__table td {
  background-color: #595959;
}
.p-profile__table tr {
  border-bottom: 1px solid #8d8442;
}
.p-profile__table tr:last-child {
  border-bottom: none;
}

.p-access {
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .p-access {
    padding: 50px 20px;
  }
}
.p-access__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .p-access__content {
    flex-direction: column;
  }
}
.p-access__details {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  flex: 1;
  width: 100%;
  font-size: 16px;
  line-height: 1.8;
  color: #cccccc;
}
@media (max-width: 768px) {
  .p-access__details {
    flex-direction: column;
    margin: 0 auto;
  }
}
.p-access__details p {
  width: 50%;
  margin-bottom: 20px;
  display: inline-block;
}
@media (max-width: 768px) {
  .p-access__details p {
    width: 100%;
  }
}
.p-access__map {
  text-align: center;
  width: 100%;
}
.p-access__map iframe {
  width: 100%;
  height: 350px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.p-strength {
  background-color: #1a1a2e;
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .p-strength {
    padding: 50px 20px;
  }
}
.p-strength__inner {
  display: flex;
}
@media (max-width: 1024px) {
  .p-strength__inner {
    flex-direction: column;
  }
}
.p-strength__description {
  font-size: 16px;
  line-height: 1.8;
  margin-left: 100px;
}
@media (max-width: 1024px) {
  .p-strength__description {
    margin-left: 0px;
    margin-top: 30px;
  }
}

.p-flow {
  background-image: url("../img/performance-bg.png"); /* 背景画像を設定 */
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .p-flow {
    padding: 50px 20px;
  }
}
.p-flow__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.p-flow__title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 50px;
}
@media (max-width: 1024px) {
  .p-flow__title {
    margin-bottom: 30px;
    font-size: 30px;
  }
}
.p-flow__description {
  font-size: 16px;
}
@media (max-width: 1024px) {
  .p-flow__description {
    text-align: start;
  }
}

.p-flow--contract {
  background-color: #0e0e22;
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .p-flow--contract {
    padding: 50px 20px;
  }
}

.p-flow--scout {
  background-color: #363636;
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .p-flow--scout {
    padding: 50px 20px;
  }
}

.p-flow--interview {
  background-color: #0e0e22;
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .p-flow--interview {
    padding: 50px 20px;
  }
}

.p-achievement.for-corporate {
  background-color: #363636;
}

.p-flow__steps {
  display: flex;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 1024px) {
  .p-flow__steps {
    flex-direction: column;
    align-items: center;
  }
}
.p-flow__step {
  padding: 20px;
  display: flex;
  max-width: 350px;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 1024px) {
  .p-flow__step {
    position: initial;
    max-width: 400px;
  }
}
.p-flow__step-header {
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #828282;
  border-radius: 5px;
  padding: 3px 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.p-flow__step-title {
  color: #a29921;
  font-size: 24px;
  font-weight: bold;
}
.p-flow__step-description {
  margin-top: 35px;
}
.p-flow__circle {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  min-height: 220px;
  min-width: 220px;
  border: 1px solid #a29921;
  border-radius: 300px;
  text-align: center;
}
.p-flow__arrow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.p-flow__arrow img {
  min-width: 32px;
  position: absolute;
  top: 180px;
  left: 0;
  transform: translate(-50%, -50%);
}
@media (max-width: 1024px) {
  .p-flow__arrow img {
    position: initial;
    transform: rotate(90deg);
  }
}

.p-achievement.p-corporate {
  background: #363636;
}

.p-faq {
  background-color: #333;
  padding: 80px 20px;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .p-faq {
    padding: 50px 20px;
  }
}
.p-faq__list {
  margin-top: 20px;
}
.p-faq__item {
  background-color: #2e2e2e;
  margin-bottom: 20px;
  overflow: hidden;
}
.p-faq__item:last-child {
  margin-bottom: 0;
}
.p-faq__question {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  background-color: #0e0e22;
  padding: 15px;
}
.p-faq__question .p-faq__icon {
  display: inline-block;
  min-width: 30px;
  min-height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: #a29921;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 16px;
}
.p-faq__answer {
  font-size: 16px;
  padding: 15px;
  min-height: 115px;
  background-color: #878787;
}

.p-message {
  background-color: #0e0e22;
  color: #fff;
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .p-message {
    padding: 50px 20px;
  }
}
.p-message__header {
  text-align: center;
  margin-bottom: 40px;
}
.p-message__content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  position: relative;
}
@media (max-width: 1024px) {
  .p-message__content {
    display: flex;
    flex-direction: column-reverse;
  }
}
.p-message__text {
  flex: 1;
  margin-right: 20px;
  font-size: 16px;
  line-height: 1.8;
  background: #847d40;
  padding: 30px;
  width: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
}
@media (max-width: 1024px) {
  .p-message__text {
    position: initial;
    transform: none;
    margin-right: 0px;
    width: 100%;
    flex-direction: column-reverse;
    max-width: 704px;
    padding: 20px;
  }
}
.p-message__text .p-message__author {
  margin-top: 50px;
  font-size: 24px;
}
@media (max-width: 1024px) {
  .p-message__text .p-message__author {
    margin-top: 0px;
  }
}
.p-message__image {
  width: 60%;
  max-width: 704px;
}
@media (max-width: 1024px) {
  .p-message__image {
    width: 100%;
  }
}
.p-message__image img {
  width: 100%;
  height: auto;
}

/* プライバシーポリシー全体のスタイル */
.privacy-policy {
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .privacy-policy {
    padding: 50px 20px;
  }
}

.privacy-policy__inner {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #ffffff;
  color: #333333;
  padding: 50px 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
@media (max-width: 1024px) {
  .privacy-policy__inner {
    padding: 30px 20px;
  }
}

.privacy-policy__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.privacy-policy__description {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.privacy-policy__content h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.privacy-policy__content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.privacy-policy__content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 10px;
}

.privacy-policy__content li {
  font-size: 1rem;
  line-height: 1.8;
}

.terms {
  padding: 100px 20px;
}
@media (max-width: 1024px) {
  .terms {
    padding: 50px 20px;
  }
}

.terms__inner {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #ffffff;
  color: #333333;
  padding: 50px 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
@media (max-width: 1024px) {
  .terms__inner {
    padding: 30px 20px;
  }
}

.terms__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.terms__description {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.terms__content h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.terms__content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.terms__content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 10px;
}

.terms__content li {
  font-size: 1rem;
  line-height: 1.8;
}

/* サンクスページ */
.p-404 {
  background-color: #1a1a2e; /* 背景色：ダークブルー */
  color: #ffffff; /* テキスト色：白 */
  padding: 100px 20px; /* 上下左右の余白 */
  text-align: center; /* 中央揃え */
}
@media (max-width: 1024px) {
  .p-404 {
    padding: 50px 20px;
  }
}

/* 内部コンテンツの最大幅設定 */
.p-404__inner {
  max-width: 800px; /* 最大幅を指定 */
  margin: 0 auto; /* コンテンツを中央寄せ */
}

/* タイトルのスタイル */
.p-404__title {
  font-size: 36px;
  font-weight: bold; /* 太字 */
  margin-bottom: 50px; /* 下余白 */
  color: #ffffff; /* タイトルの色 */
}

/* 説明文のスタイル */
.p-404__description {
  font-size: 16px; /* 説明文のフォントサイズ */
  line-height: 1.8; /* 行間 */
  color: #d3d3d3; /* 説明文の色（淡いグレー） */
}

.mt40 {
  margin-top: 40px;
}

.u-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(44deg, #7e7821 2.39%, #c0ba57 100%);
  color: #fff;
  padding: 20px 20px;
  max-width: 319px;
  width: 100%;
  text-decoration: none;
  border-radius: 2px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  outline: none;
  position: relative;
  display: flex;
  transition: 0.6s ease all;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .u-button {
    max-width: 500px;
  }
}
.u-button::after {
  content: "";
  position: absolute;
  top: 0%;
  right: 10px;
  width: 50px;
  height: 100%;
  background-image: url("../img/button-arrow.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.6s all ease;
}
.u-button:hover {
  scale: 0.98;
}

.u-button:hover {
  color: #a29921;
}
.u-button:hover::after {
  background-image: url("../img/button-arrow-hover.png");
  transform: translateX(5px);
}

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

.u-button::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
  z-index: -1;
}

/*------ scroll Down ------*/
.scroll-down {
  position: absolute;
  right: 20px;
  bottom: 10%;
  padding-left: 52px;
  margin-left: 81px;
  z-index: 201;
  transform: rotateZ(-90deg);
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  color: #fff;
  transform-origin: right bottom;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .scroll-down {
    display: none;
  }
}

@keyframes scroll-down-line {
  0% {
    transform-origin: 0% 50%;
    transform: scale(1, 1);
  }
  20% {
    transform-origin: 0% 50%;
    transform: scale(0.001, 1);
  }
  20.01% {
    transform-origin: 100% 50%;
  }
  38% {
    transform-origin: 100% 50%;
    transform: scale(1, 1);
  }
}
.scroll-down__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 44px;
  height: 0px;
  margin-top: -1px;
}

.scroll-down__line:after {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  border-bottom: 1px solid #727272;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0s linear 0.5s;
  transform-origin: right center;
  transform: scale(0.001, 1);
  opacity: 0;
}

.scroll-down__text {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.2em;
  font-family: "Replica-Bold", sans-serif;
  overflow: hidden;
}

.scroll-down__text span {
  display: block;
  transform: translate3d(0, 100%, 0);
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.scroll-down.is-active.is-inview .scroll-down__text span {
  transform: none;
}

.scroll-down.is-active.is-inview .scroll-down__line {
  animation: scroll-down-line 2.5s infinite 851ms;
}

.scroll-down.is-active.is-inview .scroll-down__line:after {
  transform: none;
  opacity: 1;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), opacity 0s linear;
}

.is-body-touch .scroll-down {
  display: none;
}

.cta-section__wrapper .cta-card {
  opacity: 0;
}
.cta-section__wrapper .cta-card.show {
  animation: cta-fade-up 1s forwards;
}
.cta-section__wrapper .cta-card:nth-child(2).show {
  animation: cta-fade-up 1s forwards;
}
@keyframes cta-fade-up {
  0% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.cta-card__title {
  opacity: 0;
}
.cta-card__title.show {
  animation: fade-in 1s 0.2s forwards;
}

.cta-card__text {
  opacity: 0;
}
.cta-card__text.show {
  animation: fade-in 1s 0.3s forwards;
}

.p-service__description {
  opacity: 0;
  transition: 1.2s all ease;
}
.p-service__description.show {
  opacity: 1;
}

.u-section__subtitle-wrapper {
  opacity: 0;
  transition: 1s all ease;
}
.u-section__subtitle-wrapper.show {
  opacity: 1;
  transform: none;
}

.p-service__item {
  opacity: 0;
  transition: 1s all ease;
}
.p-service__item.show {
  opacity: 1;
}

.p-service__item-title {
  opacity: 0;
  transition: 2.5s all ease;
  transform: translateY(30px);
}
.p-service__item-title.show {
  opacity: 1;
  transform: none;
}

.p-performance__description {
  opacity: 0;
  transition: 1.2s all ease;
}
.p-performance__description.show {
  opacity: 1;
}

.p-performance__card {
  opacity: 0;
  transition: 1s all ease;
}
.p-performance__card.show {
  opacity: 1;
}

.services__item {
  opacity: 0;
  transition: 1s all ease;
}
.services__item.show {
  opacity: 1;
  transform: none;
  animation: slide-in-left 1s forwards;
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}
@keyframes slide-in-right {
  0% {
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}
.services__item:nth-of-type(2) {
  opacity: 0;
  transition: 1s all ease;
}
.services__item:nth-of-type(2).show {
  transform: none;
  animation: slide-in-right 1s 0.5s forwards;
}

.u-section__title-wrapper {
  opacity: 0;
  transition: 1.3s all ease;
}
.u-section__title-wrapper .u-section__subtitle-wrapper {
  transform: translateX(-50px);
}
.u-section__title-wrapper.show {
  opacity: 1;
}
.u-section__title-wrapper.show .u-section__subtitle-wrapper {
  transform: none;
}

.p-strength__description {
  opacity: 0;
  transition: 2s all ease;
}
.p-strength__description.show {
  opacity: 1;
}

.p-message__content {
  opacity: 0;
  transition: 1s all ease;
}
.p-message__content.show {
  opacity: 1;
}

.p-message__image {
  opacity: 0;
  transition: 1s all ease;
}
.p-message__image.show {
  opacity: 1;
}

.page-header__title.corporate {
  opacity: 0;
  transition: 1.5s all ease;
  transform: translateY(5px);
}
.page-header__title.corporate.show {
  opacity: 1;
  transform: none;
}

.p-achievement__item {
  opacity: 0;
  transition: 1s all ease;
}
.p-achievement__item.show {
  opacity: 1;
}

.p-service-summary__item {
  opacity: 0;
  transition: 1s all ease;
}
.p-service-summary__item.show {
  opacity: 1;
}

.p-flow__step {
  opacity: 0;
  transition: 1s all ease;
}
.p-flow__step.show {
  animation: cta-fade-up 1s forwards;
}

.p-flow__arrow {
  opacity: 0;
  transition: 1s all ease;
}
.p-flow__arrow.show {
  opacity: 1;
}

.p-company-overview__content {
  animation: fade-in 1s;
}

.p-vision-mission__block {
  transition: 0.6s all ease;
  transform: translateX(-50px);
  opacity: 0;
}
.p-vision-mission__block.show {
  transform: none;
  opacity: 1;
}

.p-access__map {
  transition: 0.6s all ease;
  opacity: 0;
}
.p-access__map.show {
  opacity: 1;
}

.animation-Target {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.animation-Target::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(44deg, #222106 2.39%, #47441e 100%);
  transform: translateX(-100%);
  opacity: 0;
}
.animation-Target .animation-Target-wrapper {
  opacity: 0;
}
.animation-Target.show_Element .animation-Target-wrapper {
  animation: show-Element 0.1s 0.9s forwards;
}
.animation-Target.show_Element::before {
  animation: showMask 1.8s;
}

@keyframes showMask {
  0% {
    transform: translateX(-100%);
    opacity: 1;
  }
  45%, 50% {
    transform: translateX(0%);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 1;
  }
}
@keyframes show-Element {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fade-in-animation {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.fade-in-animation .fade-in-animation-wrapper {
  opacity: 0;
}
.fade-in-animation.is-animated .fade-in-animation-wrapper {
  animation: show-fade-in 0.1s 0.9s forwards;
}
@keyframes show-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fade-in-animation::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(44deg, #222106 2.39%, #47441e 100%);
  transform: translateX(-100%);
  opacity: 0;
}
.fade-in-animation.is-animated::before {
  animation: showMask 1.8s;
}

@keyframes fade-out {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.u-section__title {
  font-size: 36px;
  font-weight: bold;
  color: #a29921;
  text-transform: uppercase;
}
.u-section__title-wrapper {
  width: fit-content;
}
.u-section__title-type02 {
  font-size: 24px;
  margin-bottom: 50px;
  position: relative;
  text-align: center;
}
.u-section__title-type02::before {
  content: "";
  width: 50px;
  height: 1px;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #a29921;
}
.u-section__title-type03 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 50px;
  width: fit-content;
  margin: 0 auto 50px;
  position: relative;
}
.u-section__title-type03::before {
  content: "";
  width: 30px;
  height: 100%;
  position: absolute;
  left: -30px;
  bottom: 0;
  clip-path: polygon(25% 0%, 71% 0, 45% 100%, 0% 100%);
  background-color: #a29921;
}
@media (max-width: 768px) {
  .u-section__title-type03::before {
    display: none;
  }
}

.u-section__subtitle {
  font-size: 1rem;
  color: #a29921;
  position: relative;
  text-align: left;
  width: fit-content;
  white-space: nowrap;
}
.u-section__subtitle-wrapper {
  display: flex;
  align-items: center;
}
.u-section__subtitle__line {
  width: 100%;
  height: 1px;
  background: #a29921;
  display: inline-block;
  margin-left: 10px;
}