li {
  list-style: none;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', serif;
  background-color: #fff;
  color: #333;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
}

.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  justify-content: space-between;
  width: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  width: 350px;
}

.nav {
  display: flex;
}
.nav ul {
  display: flex;
  gap: 2rem;
}


.nav a {
  position: relative;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 1.2rem;
  transition: color 0.3s;
}

/* 下線アニメーション */
.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #21dd72; /* 下線の色（好みに変更可能） */
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 24px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1),
.hamburger.active span:nth-child(3) {
  position: absolute;
  top: 10px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}











.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

h1, h2, .hero-title {
  font-family: 'Noto Sans JP', sans-serif;
}


.hero-image img {
  width: 100%;
  height: 1100px;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  top: 600px;
  left: 40px;
  color: #fff;
  z-index: 2;
  max-width: 750px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-text h1 {
  font-size: 8rem;
  margin: 0;
  font-weight: bold;
  border-bottom: #a5a3a3 2px solid;
}

.hero-text p {
  font-size: 2rem;
}

.hero-text .catchphrase {
  color: #edf11a;
  border-bottom: #ccc 2px solid;
}

.grunge-text {
  font-size: 9rem;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  position: relative;
}

.grunge-text::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("grunge-texture.png") repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* .hero-section {
  padding: 6rem 1rem;
  background: #fff;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 7rem);
  font-weight: 400;
  margin-bottom: 3rem;
  color: #000;
} */


.hero-section {
  position: relative;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140vh;
  text-align: center;
}



.hero-title {
  position: absolute;
  top: 50px; 
  left: 50%; 
  transform: translateX(-50%);
  font-size: 7rem;
  font-weight: 400;
  color: #000;
  line-height: 1;
  z-index: 1;
  white-space: nowrap;
  pointer-events: none;
}



.hero-content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #111;
}

.hero-content p {
  margin-top: 350px;
  font-size: 2rem;
  line-height: 2;
  color: #333;
}

.cta-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #000, #444);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cta-btn:hover {
  background: linear-gradient(to right, #444, #000);
}

.background-top,
.background-bottom {
  position: absolute;
  width: 150%;
  height: 20rem;
  background: #a0f0a7;
  left: -25%;
  z-index: 0;
  opacity: 0.3;
}

.background-bottom {
  bottom: 0;
  transform: rotate(5deg);
}

.description {
  margin-top: 3rem;
  line-height: 1.7;
  color: #eee;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}





.solution-cards {
  padding: 4rem 1rem;
  background: #fff;
}

.solution-title {
  font-size: 3rem;         /* 大きさ調整 */
  font-weight: bold;
  color: #005BAC;           /* 青系に */
  margin: 0rem 0 3rem;      /* 上下余白 */
  display: flex;
  align-items: center;
  justify-content: center;  /* 中央揃え */
  gap: 0.5rem;
  text-align: center;
}

.solution-text {
  text-align: center;
}

.solution-text p {
  font-size: 1.5rem;
}


.card-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* ← 2列対応 */
  gap: 2rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 1000px; /* 任意で中央寄せ */
}




.card-box {
  position: relative;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 背景画像用 */
.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* オーバーレイ（暗くする） */
.card-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* 中央配置のテキスト＋ボタン */
.card-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.card-content p {
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

/* ボタンスタイル */
.card-content .circle-btn {
  background: #fff;
  color: #005BAC;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.card-content .circle-btn:hover {
  transform: scale(1.2);
}




















.card-text p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.card-image {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-image img {
  width: 100px;
  height: auto;
}

.circle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #005BAC;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.circle-btn:hover {
  background: #003d80;
}

/* 丸ボタンアニメーション */
.circle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #005BAC;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.circle-btn:hover {
  transform: scale(1.2) translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}




.card-boxes {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card-box {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.card-box:hover {
  transform: translateY(-4px);
}

.card-text p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.card-image {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-image img {
  width: 100px;
  height: auto;
}

.circle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #005BAC;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.circle-btn:hover {
  transform: scale(1.2) translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}











.services-cards {
  background: #f4f4f4;
  padding: 4rem 1rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  list-style: none;
}

.card {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.overlay h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.overlay .ja {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.divider {
  width: 100px;
  height: 3px;
  background-color: #35fd49;
  margin: 0 auto 1rem;
}

.detail-btn {
  display: inline-block;
  background: #8e8585;
  color: #fff;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  border: 1px solid #fff;
}

.detail-btn span {
  margin-left: 0.5rem;
  font-weight: normal;
}

.detail-btn:hover {
  background: #3bba65;
}

.strong-points {
  padding: 4rem 0;
  background: #fff;
}

.strong-points .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1rem;
}

.points-scroll {
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.points-scroll::-webkit-scrollbar {
  display: none;
}

.point-card {
  flex: 0 0 auto;
  width: 20%;
  border-radius: 8px;
  background: #f5f5f5;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.point-card:hover {
  transform: translateY(-5px);
}

.point-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.point-content {
  padding: 1rem;
  text-align: center;
}

.point-number {
  font-size: 2rem;
  font-weight: bold;
  color: #1a5c37;
  margin-bottom: 0.5rem;
}

.point-text {
  font-size: 1rem;
  color: #333;
}







.works-title {
  text-align: left;
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-subtitle {
  font-weight: bold;
  color: #222;
  margin-bottom: 0.5rem;
}

.section-main-title {
  font-size: 6rem;
  font-weight: 900;
  margin: 0;
  line-height: 1;
  overflow: hidden;
}

.gradient-text {
  background: linear-gradient(90deg, #b2b5b6,  #4ae17f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: slideIn 1s ease-out forwards;
  transform: translateY(100%);
  opacity: 0;
}

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


.works-gallery {
  padding: 4rem 0;
  background: #f9f9f9;
}

.works-swiper {
  padding-bottom: 2rem;
}

.work-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.work-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.caption-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  font-weight: bold;
  letter-spacing: 5px;
}


/* .caption-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.8rem;
} */








.work-item:hover {
  transform: scale(1.03);
}

.btn-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.more-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #00c853, #1a5c37);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-button:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  background: linear-gradient(90deg, #1a5c37, #00c853);
}


.recruit-banner {
  background: url('logo2.jpg') center/cover no-repeat;
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruit-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruit-content {
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.recruit-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.recruit-text {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.recruit-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #1a5c37;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
}

.recruit-btn:hover {
  background: #164d2e;
}

.footer {
  background-color: #000000;
  color: #fff;
  padding: 3rem 0 1rem;
  font-size: 0.9rem;
}

.footer-inner {
  width: 1300px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-right {
  width: 300px;
  margin-top: 50px;
}

.footer-logo {
  height: 100px;
  margin-bottom: 1rem;
}

.footer address {
  font-size: 1.2rem;
  font-style: normal;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-top: 2rem;
}

.footer-social a {
  font-size: 2rem;
  color: #fff;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #58dc44; /* hover時の色 */
}

/* .footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: #fff;
  font-size: 2.8rem;
  transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
  color: #25df35;
  transform: scale(1.2);
} */


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

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #50e33f;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #444;
  color: #ccc;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 768px) {

  .header {
    display: flex;
    /* flex-direction: column; */
    height: auto;
    padding: 1rem 0;
  }

  .logo img {
    max-width: 100%;
    width: 30%;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hero-text {
    top: 40%;
    left: 5%;
    transform: none;
    max-width: 90%;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-image img {
    height: auto;
  }

  .hero-title {
  /* position: relative;  */
  font-size: 4rem;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  text-align: center;
  }


  .hero-content p {
    font-size: 1.5rem;
    padding: 0 1rem;
  }

  .card-boxes {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .card-content p {
    font-size: 1.1rem;
  }

  .services-cards {
    padding: 2rem 1rem;
  }

  .section-main-title {
    font-size: 3rem;
  }

  .work-item img {
    height: 450px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
  }

  .footer-right {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
  }

  .footer-logo {
    height: 80px;
  }

  .footer address {
    font-size: 1rem;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-nav a {
    font-size: 1.2rem;
  }

  
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100px; /* header高さと一致 */
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    z-index: 1000;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
}



/* スマホのSwiper矢印の位置調整などはJSまたはSwiperのCSS設定で対応可 */

