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

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.7;
  color: #fff;
  /* background-color: #161617; */
  background-color: #fff
}

.hero {
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  background-color: #fff;
  background-image: url('/earths-environment/img/bg2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem 1rem;
}

.hero h1 {
  width: 100%;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: "M PLUS 1", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.hero h1.gradient-text {
  font-weight: bold;
  background: linear-gradient(
      90deg, 
      #52a9ff 0%, 
      #b660ff 50%, 
      #ff9c4a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 20px;
  text-align: center;
}


.hero-image {
  width: min(95%, 650px);
  width: min(95%, 1000px);
  height: auto;
  object-fit: contain;
  margin: 20px auto 40px;
  border-radius: 20px;
  /* clip-path: circle(50%); */
}

.pooject-name {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: "M PLUS 1", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  background-image: linear-gradient(51deg, #F7B500, #6DD400 76%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
}

.hero-description {
  margin-top: 3rem;
  padding-bottom: 30px;
}

.hero-description h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: white;
  font-family: "M PLUS 1", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.hero-description p {
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  background-color: #161617;
  background-color: #fff;
}

section {
  margin-bottom: 5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-family: "M PLUS 1", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 1.8rem;
  margin: 0.5rem 0 2rem;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: linear-gradient(
      165deg,
      #FF65B6 30%,
      #8227ff 70%
  );
}

.features-container {
  width: 100%;
  height: 100%;
}


.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem auto 6rem;
  max-width: 1200px
}

.feature-card {
  padding: 2rem;
  background: #fafafa;
  border-radius: 20px;
  text-align: center;
  /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
}

ul {
  list-style-position: inside;
  margin-bottom: 1rem;
  /* list-style-type: none; */
}

ul li {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000;
  text-align: left;
  font-weight: 600;
}

.gadget-list {
  list-style-type: none;
}

.feature-list {
  list-style-type: none;
}

ul.gadget-list li:nth-child(1)  {
  background: url('/earths-environment/css/ic_ComputerTower.svg') no-repeat left center;
  background-size: 40px;
  padding-left: 50px;
}

ul.gadget-list li:nth-child(2)  {
  background: url('/earths-environment/css/ic_Monitor.svg') no-repeat left center;
  background-size: 40px;
  padding-left: 50px;
}

ul.gadget-list li:nth-child(3)  {
  background: url('/earths-environment/css/ic_Network.svg') no-repeat left center;
  background-size: 40px;
  padding-left: 50px;
}

ul.feature-list li:nth-child(1)  {
  background: url('/earths-environment/css/ic_BuildingApartment.svg') no-repeat left center;
  background-size: 40px;
  padding-left: 50px;
}

ul.feature-list li:nth-child(2)  {
  background: url('/earths-environment/css/ic_Garage.svg') no-repeat left center;
  background-size: 40px;
  padding-left: 50px;
}

ul.feature-list li:nth-child(3)  {
  background: url('/earths-environment/css/ic_City.svg') no-repeat left center;
  background-size: 40px;
  padding-left: 50px;
}

.info-container {
  padding: 2rem 4rem;
  background: #fafafa;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 3rem;
}


.info-container h3 {
  width: 20%;
  display: block;
  text-align: left;
  font-size: 1.8rem;
  margin: 0.5rem 0 2rem;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: linear-gradient(
      165deg,
      #FF65B6 30%,
      #8227ff 70%
  );
}

.info-container h4 {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 20px;
    color: #000;
    border-left: 4px solid #86868b;
    padding-left: 10px;
}


.info-container  ul {
  margin-left: 1rem;
  margin-bottom: 3rem;
}

.info-container  ul.info li {
  font-size: 1rem;
  list-style-position: outside;
  color: #86868b
}

.info-container  ul.info li a {
  color: #86868b;
  text-underline-offset: 5px;
  transition: color 0.6s ease;
}

.info-container  ul.info li a:hover {
  color: #000;
}

.contact-text {
  font-size: 1rem;
  text-align: left;
  color: #000;
  font-weight: bold
}




.contact {
  text-align: center;
  background: #f8f9fa;
  padding: 5rem 2rem;
}

.project-info-inner {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 80px;
  background-color: #000;
  background-image: url('/earths-environment/img/bg3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
}

.project-info-inner h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  background-image: linear-gradient(51deg, #F7B500, #6DD400 76%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  font-family: "M PLUS 1", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.project-info-inner p {
  font-size: 1.2rem;
  font-weight: 600;
}

.project-logo {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto 60px;
}

footer {
  display: flex;
  text-align: center;
  padding: 2rem 0;
  background-color: #333;
  color: #fff;
  height: 200px;
  align-items: center;
  justify-content: center;
}

footer p {
  font-size: 0.75rem;
}


@media (max-width: 768px) {
  .hero-content {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    padding: 10px;
  }

  .hero-image {
    width: 98%;
    margin: 15px auto;
    border-radius: 12px;
  }

  .pooject-name {
    font-size: 1.2rem;
  }

  .hero-description {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .hero-description h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .hero-description p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .container {
    padding: 3rem 1rem;
  }

  .project-logo {
    max-width: 280px;
    margin-bottom: 40px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem auto 4rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  ul li {
    font-size: 1.1rem;
  }

  .info-container {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }

  .info-container h3 {
    width: 100%;
    font-size: 1.4rem;
  }

  .info-container h4 {
    font-size: 1rem;
  }

  .info-container ul {
    margin-left: 0.5rem;
    margin-bottom: 2rem;
  }

  .info-container ul.info li {
    font-size: 0.9rem;
  }

  .project-info-inner {
    padding: 40px 20px;
  }

  .project-info-inner h2 {
    font-size: 1.5rem;
  }

  .project-info-inner p {
    font-size: 1rem;
  }

  footer {
    height: auto;
    padding: 2rem 1rem;
  }

  .equipment-table {
    font-size: 0.8rem;
  }

  .equipment-table th,
  .equipment-table td {
    padding: 8px 10px;
  }

  .equipment-list-container {
    margin: 2rem -1rem;
    width: calc(100% + 2rem);
  }

  .table-wrapper {
    padding: 0;
  }

  .equipment-accordion {
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4rem;
  }

  .pooject-name {
    font-size: 1rem;
  }

  .hero-description h2 {
    font-size: 1rem;
  }

  .hero-description p {
    font-size: 0.85rem;
  }

  ul li {
    font-size: 1rem;
  }

  ul.gadget-list li,
  ul.feature-list li {
    background-size: 30px;
    padding-left: 40px;
  }
}

.slideshow-container {
    position: relative;
    max-width: 100%;
}

.slide {
    display: none;
    animation: fade 5s ease-in-out;
}

@keyframes fade {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}
/* 機材一覧テーブル用スタイル */
.equipment-list-container {
  margin: 2rem 1rem;
  text-align: left;
}

.equipment-accordion {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.equipment-accordion summary {
  padding: 1rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333;
  list-style: none; /* デフォルトの三角アイコンを消す（モダンブラウザ用） */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* カスタムアイコン（+ / -） */
.equipment-accordion summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: normal;
  transition: transform 0.2s;
}

.equipment-accordion[open] summary::after {
  content: '-';
}

/* Chrome/Safariなどのデフォルトマーカーを消す */
.equipment-accordion summary::-webkit-details-marker {
  display: none;
}

.table-wrapper {
  overflow-x: auto; /* スマホで横スクロール可能に */
  padding: 1rem;
}

.equipment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px; /* 横スクロール発生させるための最小幅 */
}

.equipment-table th,
.equipment-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  color: #333;
}

.equipment-table th {
  background-color: #f8f9fa;
  font-weight: bold;
  text-align: left;
  white-space: nowrap; /* ヘッダーは折り返さない */
}

.equipment-table tr:hover {
  background-color: #f5f5f5;
}

.equipment-table a {
  color: #007bff;
  text-decoration: none;
}

.equipment-table a:hover {
  text-decoration: underline;
}

/* アコーディオンのアニメーション */
.equipment-accordion[open] summary ~ * {
  animation: slideDown 0.3s ease-in-out;
}

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