* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* 横スクロールを防ぐ */
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 64.5%;
    line-height: 1.5;
    background-color: black;
    -webkit-font-smoothing: antialiased; /* Webkit系ブラウザでフォントを滑らかに */
    -moz-osx-font-smoothing: grayscale;  /* macOS用フォントスムージング */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 60px;
}

.logo {
    font-weight: bold;
    font-size: 24px;
    width: 200px;
}
.logo img {
    width: 100%;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    font-size: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px;
    transition: all 0.3s ease;
}

.slideshow {
    position: relative;
    max-width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 60px;
}

#image-slider .splide__slide {
  background-size: cover;
  background-position: center;
  height: 670px; /* スライドの高さ */
  display: flex;
  margin-top: 60px!important;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  #image-slider .splide__slide {
    height: 60vh;
  }
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 透過度40%の黒 */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.text {
  color: white;
  padding: 20px;
  text-align: center;
  max-width: 56rem;
  margin: auto;
}

.text-kv {
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    max-width: 52rem;
    position: absolute;
    left: 5%;
}

.text-kv h1 {
    font-size: 120px;
    margin: 0;
    text-align: left;
    line-height: .9;
}
@media (max-width: 768px) {
  /* モバイル向けのスタイル */
  .text-kv h1 {
    font-size: 56px;
}
}

.text-kv p {
    font-size: 18px;
    text-align: left;
    line-height: 1.2;
    /* text-shadow: 0 0 4px rgba(0, 0, 0, 0.7); */
}
@media (max-width: 768px) {
  /* モバイル向けのスタイル */
  .text-kv p {
    font-size: 14px;
    /* text-shadow: 0 0 4px rgba(0, 0, 0, 0.7); */
}
}

.fade {
    animation: fade 3s infinite;
}

@keyframes fade {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.active, .dot:hover {
    background-color: #717171;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        background-color: white;
        position: absolute;
        top: 60px;
        left: 0;
        transform: translateX(-100%);
        justify-content: center; /* 縦方向中央揃え */
        align-items: center; /* 横方向中央揃え */
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }
    .nav-links li {
      margin: 10px 15px;
  }
  
  .nav-links a {
      text-decoration: none;
      color: black;
      font-weight: 400;
      font-size: 1.6rem;
  }

    .hamburger {
        display: flex;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 10px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -10px);
    }
} 

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

.splide__slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: contrast(1.5) brightness(0.7); /* コントラストと明るさを調整 */
    z-index: 1;
}
.splide__slide img {
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.splide__slide.is-active img {
  transform: scale(1.1); /* 画像を少しズームイン */
  opacity: 1;
}

.splide__slide img {
  border-radius: 30px; /* 丸くトリミング */
  transition: transform 0.5s ease;
}

.splide__slide.is-active img {
  transform: scale(1.1);
}

.text-kv {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    text-shadow: 0 0 3px #333;
    position: absolute;
    left: 5%;
}

.team-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 0;
}

.team-section .slideshow {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 30px;
}

.team-section .slideshow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: contrast(1.3) brightness(0.9); /* コントラストと明るさを調整 */
}

.team-section .text {
    width: 80%;
    color: white;
    text-align: center;
    font-size: 1rem;
}
.team-section .text h3 {
    font-size: 1.8rem;
}
@media (max-width: 768px) {
  /* モバイル向けのスタイル */
  .team-section {

    padding: 20px 0 0;
}
.team-section .text {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.team-section .text h3 {
  font-size: 1.8rem;
  margin: 1rem auto;
}
.text-kv {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 20px 0;
  left: 3%;
}
}
.about-us {
    text-align: center;
    padding: 50px 20px
} 
@media (max-width: 768px) {
  .about-us {
    padding: 40px 14px 0;
  }
}
.about-us h2 {
    font-size: 10em;
    margin: 0;
    letter-spacing: 0.1em;
    background-image: linear-gradient(-225deg, #2E5C52 50%, #fda085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
@media (max-width: 768px) {
  /* モバイル向けのスタイル */
  .about-us h2 {
    font-size: 3.2rem;
}
.team-section .slideshow {
  height: 300px;
}
}

.info-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

.info-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.info-item img {
    width: 50%;
    height: auto;
    display: block;
    filter: contrast(1.3) brightness(0.9); /* コントラストと明るさを調整 */
}

.info-text {
    width: 50%;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
  /* モバイル向けのスタイル */
  .info-item {
    display: flex;
    flex-direction: column;
}
.info-item img {
  width: 100%;
  height: 300px;
}
.info-text {
  width: 100%;
  padding: 20px 0
}
}

.info-block {
  padding: 20px 0;
}

.info-text h2 {
    margin-top: 0;
    font-size: 1.8rem;
}

.info-text h3{
    font-size: 1.8rem;
    margin: 1rem auto;
}

.info-text p {
    margin: 10px 0 0;
    font-size: .9rem;
}

.info-item:nth-child(2) {
    flex-direction: row-reverse;
}
@media (max-width: 768px) {
  /* モバイル向けのスタイル */
  .info-item:nth-child(2) {
    flex-direction: column;
  }
}

.splide__arrow {
    width: 3em!important;
    height: 3em!important;
}
.services {
    text-align: center;
    padding: 50px 20px;
}

@media (max-width: 768px) {
  .services {
    padding: 40px 20px 0;
  }
}
.services h2 {
    font-size: 7em;
    margin-bottom: 20px;
    margin-top: 0px;
    background-image: linear-gradient(-225deg, #2E5C52 50%, #fda085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-item {
    flex: 1 1 calc(33.333% - 20px);
    margin: 10px;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    color: white;
    text-align: left;
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-item img:hover {
    transform: scale(1.05);
}

.service-text {
    padding: 20px;
    font-size: .9rem;
}

.service-text h3 {
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.service-text p {
    margin: 10px 0 0;
    font-size: 1em;
}

@media (max-width: 768px) {
    .service-item {
        flex: 1 1 100%;
    }
}

.industries {
    text-align: center;
    padding: 50px 20px;
    color: white;
}

@media (max-width: 768px) {
  .industries {
    padding: 40px 20px 0;
  }
}

.industries h2 {
    font-size: 5.2em;
    margin-top: 20px;
    margin-bottom: 0px;
    background-image: linear-gradient(-225deg, #2E5C52 50%, #fda085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.industries p {
    margin-bottom: 40px;
    font-size: .9rem;
}

.industry-items {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.industry-item {
    flex: 1 1 calc(25% - 20px);
    margin: 10px;
    background-color: #333;
    border-radius: 8px;
    padding: 40px 20px;
    color: white;
    text-align: center;
}
@media (max-width: 768px) {
  .industry-items {
    flex-wrap: wrap;
  }
}
.fa-dice:before {
  content: "\f522";
  font-size: 3rem;
}
.fa-building:before {
  content: "\f1ad";
  font-size: 3rem;
}
.fa-list-check:before, .fa-tasks:before {
  content: "\f0ae";
  font-size: 3rem;
}
.fa-headset:before {
  content: "\f590";
  font-size: 3rem;
}
.fa-location-dot:before, .fa-map-marker-alt:before {
  content: "\f3c5";
}
.industry-item .icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.industry-item h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
    line-height: 1.2;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .industry-item {
        flex: 1 1 100%;
    }
}

.careers {
    text-align: center;
    padding: 50px 20px;
    color: white;
}

.careers h2 {
    font-size: 10em;
    margin-top: 40px;
    margin-bottom: 20px;
    background-image: linear-gradient(-225deg, #2E5C52 50%, #fda085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

@media (max-width: 768px) {
  .careers {
    padding: 40px 20px 0;
  }
  .careers h2 {
    font-size: 5.2em;
    margin-top: 20px;
    margin-bottom: 0px;
  }
}
.careers h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.careers p {
    margin-bottom: 40px;
    font-size: .9rem;
}

.careers h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.job-listings {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.job-item {
  flex: 1 1 calc(45% - 20px); /* 2カラム */
  margin: 10px;
  background-color: #333;
  border-radius: 8px;
  padding: 20px;
  color: white;
  text-align: left;
}

.job-item h5 {
  margin: 0 0 10px;
  font-size: .9rem;
}

.job-item p {
  margin: 0;
  font-size: .9rem;
}

@media (max-width: 768px) {
  .job-item {
      flex: 1 1 100%; /* 1カラム */
  }
}

.contact {
    text-align: center;
    padding: 50px 20px;
    color: white;
    position: relative;
    background: url('./images/contact-bg.jpg') no-repeat center center;
    background-size: cover;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); /* 透過のためのオーバーレイ */
    z-index: 1;
}
.contact h2 {
  font-size: 10em;
  margin-top: 40px;
  margin-bottom: 20px;
  background-image: linear-gradient(-220deg, #2E5C52 20%, orange 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .contact {
    padding: 40px 20px 50px;
  }
  .contact h2 {
    font-size: 6em;
    margin-top: 20px;
    margin-bottom: 0px;
  }
}

.contact-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 1.1rem;
}
.contact-content h3 {
    font-size: 1.4rem;
}

.company-profile, .contact-form {
    flex: 1 1 calc(50% - 20px);
    margin: 10px;
    border-radius: 8px;
    padding: 20px;
    color: white;
    text-align: left;
}
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
}
.contact-form {
    border-radius: 8px;
    padding: 20px;
    color: white;
    text-align: left;
}

@media (max-width: 768px) {
  .contact-form,.company-profile {
    padding: 0;
  }
  .contact-form {
    width: 100%;
  }
}

.contact-form input, .contact-form textarea, .contact-form select {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.5); /* 半透明のボーダー */
    background-color: rgba(255, 255, 255, 0.1); /* 透過させる */
    color: white;
}
.contact-form textarea {
  height: 140px;
}
.contact-form button {
    padding: 10px;
    border-radius: 4px;
    border: none;
    background-color: orange;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: darkorange;
}

@media (max-width: 768px) {
    .company-profile, .contact-form {
        flex: 1 1 100%;
    }
} 

.contact-form form {
    display: flex;
    flex-direction: column;
}

.footer {
    background-color: #2E5C52;
    padding: 20px;
    color: white;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: .8rem;
}

.footer p {
    margin: 0;
}

.social-icons a {
    color: white;
    margin-left: 10px;
    text-decoration: none;
    font-size: 1.5em;
}

.social-icons a:hover {
    color: #fda085;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .social-icons {
        margin-top: 10px;
    }
}

.door {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.left-door, .right-door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #2E5C52;
    transform-origin: left center; /* 回転の基点を設定 */
}

.left-door {
    left: 0;
    transform-origin: left center; /* 左扉の回転基点 */
}

.right-door {
    right: 0;
    transform-origin: right center; /* 右扉の回転基点 */
}

img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* 画像をトリミングして表示 */
}