body {
  font-family: "Noto Sans JP", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  color: #192934;
}

p {
  font-size: 17px;
  line-height: 1.8;
  color: #192934;
}

a {
  text-decoration: none;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1600px;
  align-items: center;
  padding: 8vw 4vw;
  /* Increased padding for better breathing room */
}

.container.s {
  max-width: 1320px;
}

.container.ss {
  max-width: 1080px;
}

.container.ss p {
  font-size: 18px;
  margin-bottom: 45px;
}

.mv .container {
  z-index: 11;
  position: absolute;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.mv .container p {
  color: #fff;
}

.right {
  text-align: right;
}

.sub-mv h1 {
  font-size: 24px;
  color: #fff;
}

h1 {
  font-size: 4rem;
  margin-bottom: 60px;
}

.grid2 {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1.5fr;
  gap: 6vw;
  /* Increased gap */
}

.grid2c {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  /* Increased gap */
}

footer .grid2c {
  padding-bottom: 6rem;
  margin-bottom: 6rem;
  border-bottom: 1px solid #2c404e;
  align-items: stretch;
}

.midashi {
  font-size: 7vw;
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.2;
}

.caption {
  margin-top: 40px;
  font-size: 17px;
  line-height: 1.6;
}

.caption br {
  display: block;
  margin-bottom: 20px;
  content: "";
}

/* ulタグ */
.scroll-list {
  font-family: "Roboto Condensed", sans-serif;
  margin-top: 6rem;
  display: flex;
  list-style: none;
  padding-inline: 0;
  margin-inline: 0;
  gap: 0;

  /* overflow: hidden; */

  /* 幅を全画面に広げる */
  position: relative;
  left: calc(50% - 50vw);
  width: 100vw;
}

/* liタグ */
.scroll-list li {
  color: #b2a29536;
  font-size: 8em;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 2rem 0 0;
  margin: 0;
  animation: marquee-left 40s linear infinite;
  font-style: italic;
}

/* PCの時のフォントサイズ */
@media (min-width: 600px) {
  .scroll-list li {
    font-size: 13vw;
    line-height: 1;
  }
}

/* アニメーション */
@keyframes marquee-left {
  100% {
    transform: translateX(-100%);
  }
}

.bg {
  background: #192934;
}

.bg p {
  color: #B2A295;
}

.bg .midashi {
  color: #B2A295;
}

.bg h2 {
  color: #B2A295;
}

.service-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  /* Increased gap for premium feel */
}

.service-bottom {
  margin-top: 8px;
  /* Increased margin */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  /* Increased gap */
}

.recruit-wrapper {
  width: 100%;
  display: flex;
  gap: 2px;
}

.recruit-wrapper .service-wrapper {
  width: 100%;
  aspect-ratio: 16 / 5;
}

.service-wrapper:hover img {
  transform: scale(1.1);
}

.service-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8;
}

.service-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.service-wrapper:hover::after {
  background-color: #192934ad;
}

.service-wrapper img {
  transition: transform .4s ease;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.service-wrapper .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.service-wrapper .title {
  font-size: 1.8vw;
  line-height: 1.3;
  color: #fff;
  font-weight: 700;
  z-index: 1;
  text-align: center;
  text-shadow: 0 0 50px #192934, 0 0 40px #192934, 0 0 25px #19293482;
  letter-spacing: 0.05rem;
}

.bg-cover {
  width: 100%;
  height: 100%;
  opacity: 0.2;
  position: absolute;
}

.news-box {
  display: flex;
  flex-direction: column;
}

.news-box a {
  display: flex;
  gap: 30px;
  padding: 40px 0;
  /* Increased padding */
  border-bottom: 1px solid rgba(25, 41, 52, 0.15);
  /* Softer border */
  position: relative;
  justify-content: space-between;
  align-items: center;
}

.news-box a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #192934;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.6s;
  /*変形の時間*/
}

.news-box a:hover::after {
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
  transform-origin: left top;
  /*左から右に向かう*/
}

.nav-link {
  position: relative;
}

.nav-link::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #fff;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;
  /*変形の時間*/
}

.nav-link:hover::after {
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
  transform-origin: left top;
  /*左から右に向かう*/
}

.solid-bg .nav-link::after {
  background: #192934;
}

.footer-nav li {
  list-style: none;
}

.footer-nav a {
  position: relative;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #B2A295;
}

.footer-nav a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #B2A295;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;
  /*変形の時間*/
}

.footer-nav a:hover::after {
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
  transform-origin: left top;
  /*左から右に向かう*/
}

.recruit-wrapper .service-wrapper .title {
  text-shadow: none;
}

.title h2 {
  color: #fff;
  font-size: 24px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #192934;
  color: #B2A295;
}

.footer-logo {
  width: 200px;
  margin-bottom: 0px;
}

.footer-company-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  margin-top: 20px;
  opacity: 1;
}

.footer-address {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  margin-bottom: 30px;
}

.service-wrapper .midashi {
  color: #fff;
}

footer p {
  color: #B2A295;
}

.about-img {
  height: 18vw;
  position: relative;
}

.a1 {
  width: 20vw;
  position: absolute;
  left: 6vw;
  bottom: -14vw;
  z-index: 1;
}

.a2 {
  width: 12vw;
  position: absolute;
  left: 29vw;
  bottom: -18vw;
  z-index: 1;
}

.a3 {
  width: 20vw;
  position: absolute;
  right: 6vw;
  bottom: -4vw;
  z-index: 1;
}

.swiper {
  margin-top: 4rem;
  padding-bottom: 90px !important;
  margin-bottom: 60px;
}

.swiper-slide img {
  height: auto;
  width: 100%;
}

.swiper-scrollbar-drag {
  background-color: #B2A295 !important;
}

.swiper-scrollbar {
  background-color: #b2a29539 !important;
}

.bg h3 {
  color: #B2A295;
}

.mv h1 {
  font-size: 4.5vw;
  line-height: 1;
  text-align: center;
  font-weight: 700;
  font-family: "Roboto Condensed", sans-serif;
  color: #fff;
  margin: 0;
}

.top-caption {
  font-size: 20px;
  margin-top: 30px;
  text-align: center;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;

  &:after {
    content: "";
    position: absolute;
    width: 30px;
    /* 背景画像の幅を必ず指定 */
    height: 30px;
    /* 背景画像の高さを必ず指定 */
    top: 50%;
    transform: translateY(-50%);
  }
}

.swiper-button-next {
  right: 25px;

  /* 次へ矢印の背景画像 */
  &::after {
    background: transparent url(../img/right-button.svg) no-repeat center / contain;
  }
}

.swiper-button-prev {
  left: 25px;

  /* 前へ矢印の背景画像 */
  &::after {
    background: transparent url(../img/left-button.svg) no-repeat center / contain;
  }
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: " " !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: " " !important;
}

.swiper-button-next,
.swiper-button-prev {
  &:after {
    width: 60px;
    height: 60px;
  }
}

.swiper-slide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.swiper-container {
  position: relative;
  margin-inline: auto;
}

.swiper-button-prev {
  left: -15px !important;
}

.swiper-button-next {
  right: -15px !important;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -60px !important;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  opacity: 0 !important;
}

.swiper-button-next,
.swiper-button-prev {
  &:after {
    top: 0% !important;
  }
}

/* Header styles */
.header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Logo styles */
.logo a {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Desktop navigation */
.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  transition: color 0.2s ease;
  letter-spacing: 0.05rem;
}

/* Mobile menu button */
.mobile-menu-button button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  background: currentColor;
  height: 2px;
  width: 24px;
  transition: all 0.3s ease;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(6px);
}

/* Active hamburger */
.mobile-menu-button.active .hamburger {
  background: transparent;
}

.mobile-menu-button.active .hamburger::before {
  transform: rotate(45deg);
}

.mobile-menu-button.active .hamburger::after {
  transform: translateY(-2px) rotate(-45deg);
}

/* Mobile navigation */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav.active {
  max-height: 300px;
  padding-bottom: 3rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1rem;
}

/* Header states */
.header.solid-bg {
  color: #192934;
  background-color: #ffffffd1;
  backdrop-filter: blur(10px);
}

.header:not(.solid-bg) {
  background-color: transparent;
  color: #ffffff;
  background-color: #00000000;
  backdrop-filter: blur(10px);
}

.header-cnt {
  background: #192934;
  ;
}

/* 
.header.solid-bg .nav-link:hover {
  color: #192934;
}



.header:not(.solid-bg) .nav-link:hover {
  color: #192934;
}

.header.solid-bg .header-cnt:hover {
  color: #fff!important;
}

 */

.header.solid-bg .mobile-menu-button button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.header:not(.solid-bg) .mobile-menu-button button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1050px) {
  .desktop-nav {
    display: block;
  }

  .mobile-menu-button {
    display: none;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 3rem;
  }

}

.logo-w {
  z-index: 1;
}

.logo-b {
  display: none;
}

.solid-bg .logo-w {
  display: none;
}

.solid-bg .logo-b {
  display: block;
}


.header-content {
  width: 100%;
  max-width: 1600px;
  padding: 0 3vw;
}

.header-cnt {
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  background-color: #00000045;
  backdrop-filter: blur(10px);
  display: block;
}


.solid-bg .header-cnt {
  background: #192934;
}

/* --- Footer CTA Optimization --- */
.footer-cta {
  background: #233847;
  border-radius: 12px;
  padding: 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
}

.footer-cta:hover {
  transform: translateY(-8px);
  background: #2a455a;
  border-color: rgba(178, 162, 149, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.footer-title {
  font-size: 48px !important;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
}

.footer-cta-sub {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #B2A295;
}

.cta-caption {
  display: flex !important;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
}

.cta-caption p {
  font-size: 14px !important;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0;
  flex: 1;
}

.footer-cta__btn {
  width: 180px;
  height: 54px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.footer-cta:hover .footer-cta__btn {
  background: #B2A295;
  border-color: #B2A295;
  color: #192934;
}

.footer-cta__btn::after {
  content: '→';
  position: absolute;
  right: 20px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-cta:hover .footer-cta__btn::after {
  opacity: 1;
  transform: translateX(0);
}

.footer-cta:hover .footer-cta__btn {
  padding-right: 20px;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(178, 162, 149, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about {
  background: linear-gradient(to bottom, #fff 10%, #e1eaf2 40%, #e1eaf2 54%, #192934);
}

/* About Section Optimization */
.about-grid,
.products-grid {
  align-items: flex-start !important;
  /* Top align heading and body */
}

.about-lead {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #192934;
  position: relative;
  padding-bottom: 20px;
}

.about-lead.text-white {
  color: #fff;
}

.about-lead::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #B2A295;
}

.about-description p,
.products-description p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
  color: #4a5a6a;
  text-align: justify;
}

.products-description p {
  color: rgba(255, 255, 255, 0.8);
}

.about-description p:last-child,
.products-description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-lead {
    font-size: 20px;
    margin-top: 20px;
  }
}

.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
  height: var(--swiper-scrollbar-size, 1px) !important;
}



.mv img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.copyright {
  font-size: 11px;
  text-align: right;
  margin-top: 0;
  color: rgba(178, 162, 149, 0.4);
  letter-spacing: 0.05em;
  font-family: "Roboto Condensed", sans-serif;
}

.grid2 div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

footer .grid2 {
  align-items: flex-end;
}

footer .grid2 div {
  justify-content: flex-end;
}

.sub-mv img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin-top: 84px;
}

.sub-mv .container {
  position: absolute;
  bottom: 0;
}

.sub-mv .container .midashi {
  color: #fff;
}

.sub-mv .container {
  padding: 3vw;
}

.sub-mv .container h2 {
  color: #fff;
}

.grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px 30px;
}

.grid3 img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s;
}

.swiper-wrapper img {
  transition: transform 0.4s;
}

.img-cover {
  overflow: hidden;
}

.grid3 a:hover .img-cover img {
  transform: scale(1.1);
}

.swiper-wrapper a:hover .img-cover img {
  transform: scale(1.1);
}

.container.s h2 {
  font-size: 32px;
  margin-bottom: 45px;
  padding-bottom: 30px;
  position: relative;
}

.container.s h2::before {
  position: absolute !important;
  height: 3px;
  content: "" !important;
  left: 0 !important;
  width: 60px !important;
  bottom: 0 !important;
  display: block !important;
  background-color: #B2A295;
  transform: none !important;
}

.name {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.name img {
  width: 12px;
  height: 12px;
}

.name h3 {
  position: relative;
}

.name h3::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #B2A295;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;
  /*変形の時間*/
}

.grid3 a:hover .name h3::after {
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
  transform-origin: left top;
  /*左から右に向かう*/
}

.grid3 a:hover h3 {
  color: #B2A295;
}

.swiper-wrapper a:hover .name h3::after {
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
  transform-origin: left top;
  /*左から右に向かう*/
}

.text-s {
  font-size: 15px;
}

.single-mv {
  margin-top: 60px;
  margin-bottom: 60px;
}

.dl-button {
  background: #B2A295;
  color: #fff;
  padding: 25px 40px;
  border-radius: 4px;
  margin: 0 auto;
  display: block;
  display: flex;
  gap: 10px;
  transition: all 0.3s;
}


.dl-button img {
  width: 25px;
}

.container.ss h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 90px;
  position: relative;
  letter-spacing: 0.1rem;
  margin-top: 90px;
}

.container.ss h2:before {
  content: '';
  position: absolute;
  bottom: -30px;
  display: inline-block;
  width: 60px;
  height: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #B2A295;
}

.container.ss h3 {
  width: 100%;
  padding-bottom: 20px;
  margin-bottom: 20px;
  margin-top: 75px;
  position: relative;
  font-size: 24px;
}

.container.ss h3::before {
  position: absolute;
  height: 1px;
  content: "";
  left: 0;
  width: 60px;
  bottom: 0;
  display: block;
  background-color: #B2A295;
}

.container.ss h3::after,
.container.ss h3::after {
  position: absolute;
  height: 1px;
  content: "";
  right: 0;
  bottom: 0;
  width: calc(100% - 70px);
  background-color: #d9d9d9;
}

.midashi-cat {
  padding-bottom: 20px;
  margin-bottom: 30px;
  margin-top: 60px;
  position: relative;
  font-size: 24px;
}

.midashi-cat::before {
  position: absolute;
  height: 1px;
  content: "";
  left: 0;
  width: 60px;
  bottom: 0;
  display: block;
  background-color: #B2A295;
}

.midashi-cat::after,
.midashi-cat::after {
  position: absolute;
  height: 1px;
  content: "";
  right: 0;
  bottom: 0;
  width: calc(100% - 70px);
  background-color: #d9d9d9;
}

.container.ss img {
  margin-top: 60px;
  margin-bottom: 60px;
}


.subtitle {
  color: #777;
  font-size: 1rem;
}

.timeline {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid #314f65;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #314f65;
  border: 1px solid #314f65;
  border-radius: 50%;
  left: -8px;
  top: 0px;
}

.timeline-content {
  background-color: #233847;
  padding: 30px 45px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.timeline-content p {
  color: #B2A295;
  margin-bottom: 0 !important;
}

.timeline-content h4 {
  color: #B2A295;
}

.timeline-date {
  display: inline-block;
  color: #B2A295;
  margin-bottom: 15px;
  font-size: 0.9rem;
  background-color: #314f65;
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
}

.timeline-title {
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 15px;
  font-weight: 500;
}

.company-info {
  width: 100%;
  border-collapse: collapse;
}

.company-info tr {
  border-bottom: 1px solid #e0e0e0;
}

.company-info th {
  padding: 30px 15px;
  text-align: left;
  font-weight: 500;
  width: 200px;
  vertical-align: top;
  padding-left: 60px;
}

.company-info td {
  padding: 30px 15px;
  vertical-align: top;
}

td,
th {
  color: #192934;
}

.container.ss h1 {
  margin-top: 60px;
}

form {
  width: 100%;
}

.form-group {
  margin-bottom: 30px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: normal;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.required {
  color: #810101;
  margin-left: 3px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 30px;
}

textarea {
  min-height: 200px;
  resize: vertical;
}

.contact-button {
  display: block;
  width: 100%;
  padding: 20px 0;
  background-color: #B2A295;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: center;
  margin-top: 60px;
}

.contact-button:hover {
  background-color: #887b70;
}

.contact-form {
  max-width: 780px !important;
}

.news-box p {
  margin-bottom: 0 !important;
}

.news-title {
  font-size: 32px;
}

.news h2 {
  font-size: 32px !important;
  text-align: left !important;
  position: relative;
  margin-bottom: 30px !important;
  padding-bottom: 30px;
  margin-top: 90px;
}

.news h2::before {
  position: absolute !important;
  height: 3px;
  content: "" !important;
  left: 0 !important;
  width: 60px !important;
  bottom: 0 !important;
  display: block !important;
  background-color: #B2A295;
  transform: none !important;
}

.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #d9d9d9;
}

.service-list li {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  padding: 90px 0;
  gap: 60px;
  border-bottom: 1px solid #d9d9d9;
}

.service-list img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.button-n {
  background: #B2A295;
  padding: 20px;
  margin-top: 30px;
  border-radius: 4px;
  display: block;
  width: 200px;
  text-align: center;
  color: #fff;
  transition: background-color 0.3s;
}

.button-n:hover {
  background-color: #887b70;
}

.ph {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(var(--clip-1) var(--clip-1), var(--clip-2) var(--clip-1), var(--clip-2) var(--clip-2), var(--clip-1) var(--clip-2))
}

.news-list {
  display: flex !important;
  flex-direction: row !important;
  gap: 30px;
}

/* アローアニメーション始まり */

.arrow-box {
  padding: 8px;
  background: #192934;
  border-radius: 2px;
  width: 31px;
  height: 31px !important;
  display: flex;
}

.c-arrow-link--icon {
  overflow: hidden;
  position: relative;
  background: #192934;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 15px;
  height: 18px;
  margin: auto 0;
  line-height: 1;
}

.c-arrow-link--icon:before,
.c-arrow-link--icon:after {
  content: "→";
  color: #fff;
  position: absolute;
  font-size: 15px;
  top: 0;
  right: 0;
  animation-fill-mode: both;
  animation-duration: 0.6s;
}

.c-arrow-link--icon:after {
  transform: translateX(-100%);
}

.c-arrow-link.is-hover .c-arrow-link--icon:before {
  animation-name: transformLeftRight;
  animation-delay: 0.2s;
}

.c-arrow-link.is-hover .c-arrow-link--icon:after {
  animation-name: transformRightLeft;
}

.c-arrow-link.is-hover:hover .c-arrow-link--icon:before {
  animation-name: transformRightLeft;
  animation-delay: 0s;
}

.c-arrow-link.is-hover:hover .c-arrow-link--icon:after {
  animation-name: transformLeftRight;
  animation-delay: 0.2s;
}

/*　ページネーション　*/
.pagination {
  text-align: center;
}

.nav-links .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.nav-links a.page-numbers,
.nav-links .current,
.nav-links a.prev,
.nav-links a.next,
.nav-links .dots {
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 37px;
  background: #fff;
  color: #192934;
  border-radius: 4px;
  margin-right: 15px;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #192934;
}

.nav-links a.page-numbers:hover {
  color: #FFF;
  background-color: #B2A295;
  border-color: #B2A295;
  border-radius: 4px;
}

.nav-links .current {
  background: #192934;
  color: #FFFFFF;
  padding: 0;
}

.nav-links a.prev,
.nav-links a.next {
  border: 1px solid #192934;
  color: #192934;
  position: relative;
}

.nav-links .next::before {
  left: -15px;
}

.nav-links .prev::after {
  right: -15px;
}

.nav-links .dots {
  background: transparent;
  border: none;
}

.dl-button:hover {
  background-color: #887b70;
}


.wp-block-button__link {
  background: #B2A295 !important;
  color: #fff !important;
  padding: 25px 40px !important;
  border-radius: 4px !important;
  margin: 0 auto !important;
  display: block !important;
  display: flex !important;
  gap: 10px !important;
  transition: all 0.3s !important;
  margin-top: 60px !important;
}

.wp-block-button__link:hover {
  background-color: #887b70 !important;
}

.wp-block-button__link:before {
  content: '';
  /*何も入れない*/
  display: inline-block;
  width: 25px;
  /*画像の幅*/
  height: 25px;
  /*画像の高さ*/
  background-image: url(../img/pdf-icon.svg);
  background-size: contain;
  vertical-align: middle;
}

.wp-block-columns img {
  margin: 0 !important;
}

:where(.wp-block-columns.is-layout-flex) {
  gap: 45px !important;
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wp-block-columns h3 {
  margin-top: 0 !important;
}

:where(.wp-block-columns) {
  margin-bottom: 60px !important;
}

.wp-element-caption {
  color: #192934bf;
}

.screen-reader-text {
  display: none;
}

@keyframes transformLeftRight {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes transformRightLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

/* アローアニメーション終わり */


/* ホバーテキストアニメーション */
.p-globalNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.p-globalNav__link {
  --base-offset-y: 1.5em;
  display: block;
  overflow: hidden;
  transition: text-shadow 0.2s ease-in-out;
  color: transparent;
  text-shadow: 0 calc(var(--hover-offset-y, 0em) * -1) 0 #ffffff, 0 calc(var(--base-offset-y, 1.5em) - var(--hover-offset-y, 0em)) 0 #ffffff;
}

.container.ss li {
  list-style: disc;
  font-size: 18px;
  line-height: 1.8;
  color: #192934;
}

.page-numbers li {
  list-style: none !important;
}

.wp-block-list {
  padding-left: 25px !important;
}

@media (hover: hover) and (pointer: fine) {
  a:hover .p-globalNav__link {
    --hover-offset-y: 1.5em;
  }
}


.slider-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide:first-child {
  opacity: 1;
  z-index: 10;
}

.slide.active {
  opacity: 1;
  z-index: 10;
}

.slide.prev-active {
  opacity: 0;
  z-index: 5;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease-out;
}

.slide.active img {
  animation: zoomIn 8s forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

/* Navigation Buttons */
.nav-buttons {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 20;
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.nav-button {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0.7;
}

.nav-button:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
  opacity: 1;
}

/* Indicators */
.indicators {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
  padding: 12px 20px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 30px;
}

.indicator {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: white;
  width: 45px;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.service-section .arrow-box {
  padding: 8px;
  background: #192934;
  border-radius: 2px;
  width: 40px;
  height: 40px !important;
  display: flex;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  align-items: center;
  justify-content: center;
}

.service-section .c-arrow-link--icon {
  overflow: hidden;
  position: relative;
  background: #192934;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 21px;
  height: 24px;
  margin: auto 0;
  line-height: 1;
}


.news-box .c-arrow-link--icon:before,
.news-box .c-arrow-link--icon:after {
  font-size: 15px;
}

.service-section .c-arrow-link--icon:before,
.service-section .c-arrow-link--icon:after {
  font-size: 21px;
}

.nav-buttons {
  display: none;
}


.bg .name h3 {
  font-size: 24px;
}

@media (max-width: 768px) {
  .nav-buttons {
    right: 30px;
    bottom: 90px;
  }

  .nav-button {
    width: 48px;
    height: 48px;
  }
}


@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
}

@media (max-width: 600px) {

  .company-info th,
  .company-info td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .company-info th {
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {

  .timeline-item {
    padding-left: 1.5rem;
  }

  .timeline-content {
    padding: 1.2rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 1300px) {

  .header-content {
    padding: 0 4vw;
  }

  .container {
    padding: 6vw 4vw;
  }
}

/* TAB */
@media screen and (max-width: 1050px) {

  .grid2c {
    grid-template-columns: 1fr;
  }

  footer .grid2 {
    align-items: flex-start;
    /* Stack */
  }

  .footer-links {
    align-items: flex-start;
    width: 100%;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 30px;
  }

  .copyright {
    text-align: left;
    margin-top: 10px;
  }

  .service-wrapper .title {
    font-size: 3vw;
  }

  .grid2 {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 9vw 3vw;
  }

  .swiper-button-next:after {
    display: none;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    display: none;
  }

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px 30px;
  }

  .copyright {
    text-align: left;
    margin-top: 30px;
  }

  .grid3 {
    grid-template-columns: 1fr 1fr;
  }

  .mv h1 {
    font-size: 10vw;
    line-height: 1.2;
  }

}

/* SP */
@media screen and (max-width: 600px) {
  .footer-cta {
    padding: 40px;
    height: auto;
  }

  .cta-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .midashi {
    font-size: 13vw;
  }

  h2 {
    font-size: 16px;
  }

  p {
    font-size: 16px;
  }

  .caption {
    font-size: 16px;
  }

  .about-img {
    display: none;
  }

  .container {
    padding: 16vw 5vw;
  }

  .header-content {
    padding: 0 5vw;
  }

  .scroll-list li {
    font-size: 4em;
  }

  .swiper {
    padding-bottom: 60px !important;
  }

  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }

  .footer-logo {
    width: 160px;
  }

  .footer-title {
    font-size: 12vw !important;
    margin-bottom: 0;
  }

  .footer-cta-sub {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .footer-cta p {
    font-size: 14px;
  }

  .footer-cta__btn {
    width: 100%;
    margin-top: 10px;
  }

  footer .grid2c {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
  }

  .title h2 {
    font-size: 16px;
  }

  .grid2 {
    gap: 3rem;
  }

  .grid2c {
    gap: 3rem;
  }

  .service-top {
    grid-template-columns: 1fr;
  }

  .service-bottom {
    grid-template-columns: 1fr;
  }

  .service-wrapper {
    aspect-ratio: 16 / 7;
  }

  .recruit-wrapper {
    aspect-ratio: 16 / 7;
  }

  .news-box a {
    gap: 10px;
    flex-direction: column;
    padding: 30px 0;
  }

  .service-wrapper .title {
    font-size: 6vw;
  }

  .header-content {
    height: 70px;
  }

  .mv {
    margin-top: 0;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .sub-mv img {
    margin-top: 70px;
  }

  h1 {
    font-size: 32px;
  }

  .timeline-title {
    font-size: 17px;
  }

  .timeline-content p {
    font-size: 15px;
  }

  .container.ss h2 {
    font-size: 26px;
    margin-bottom: 45px;
  }

  .sub-mv .container {
    margin-bottom: 30px;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .mv h1 {
    font-size: 10vw;
    line-height: 1.2;
  }

  .container.ss h3 {
    font-size: 18px;
  }

  .container.ss h2:before {
    bottom: -25px;
    width: 50px;
  }

  .mv img {
    height: 100vh;
  }

  .news-list {
    flex-direction: column !important;
    gap: 10px;
  }

  .news-box .arrow-box {
    display: none;
  }

  :where(.wp-block-columns.is-layout-flex) {
    gap: 20px !important;
  }

  .service-list li {
    gap: 45px;
    display: flex;
    flex-direction: column;
    padding: 60px 0;
  }

  .grid2 div {
    width: 100%;
  }

  .button-n {
    width: 94%;
    margin: 0 auto;
    margin-top: 45px;
  }

  .mv .container {
    top: 42%;
  }

  .indicators {
    bottom: 160px;
  }

  .top-caption {
    font-size: 16px;
  }

}

/* MV Swiper Styling */
.mv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.mv-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 0 !important;
  margin: 0 !important;
}

.mv-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.mv-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
  width: 10px;
  height: 10px;
}

.mv-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #fff;
}

.mv-swiper .swiper-button-next,
.mv-swiper .swiper-button-prev {
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.mv-swiper .swiper-button-next:hover,
.mv-swiper .swiper-button-prev:hover {
  opacity: 1;
}