[id^="section"] {
  scroll-margin-top: 100px;
}

.section {
    background-color: #000;
}

.section1 {
    padding-top: 0;
}
	
.section1 h1 {
    padding-top: 0;
}

.section>.block {
    width: 100%;
}

.section1>.block>.head {
    color: #fff;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;

position: absolute;
top: 50%;
left: 50%;
z-index: 10;
transform: translate(-50%, -50%);
}

.section1 .img picture{
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}

.footer {
  background-color: #000;
  padding: 80px 0 60px;
  text-align: center;
}

.link-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px; /* ← 画像間のスペース */
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-logo li {
  /* floatを削除してブロック要素に */
  display: inline-block;

}

.link-logo img {
  height: 7.5rem;
  width: auto;
  display: block;
}
  .top {
    background-color: #000;
} 
  .product-section {
    padding:  0 40px;
    background-color: #000;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
  }

  .product-section a{
    transition: opacity .2s;
    display:inline-block;
  }
  .product-section a:hover{
    opacity:.7;
  }


  .product-section h2,
  .product-section h3,
  .product-section h4 {
    color: #fff;
  }

  .product-section h2 {
    font-size: 3.3rem;
    border-left: 4px solid #fff;
    padding-left: 1.2rem;
    margin-top: 6rem;
  }

  .product-section h3 {
    font-size: 2.5rem;
    border-left: 1px solid #ccc;
    padding-left: 1rem;
    margin-top: 6rem;
    margin-bottom: 4rem;
  }


.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* ← 最大3列 */
  gap: 7rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: start; /* 念のため */
}

.product-item {
  margin: 0 auto;
}

.product-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 16px;
  display: block;
}

  .product-item h4 {
    font-size: 2.2rem;
    line-height: 1.8;
    margin-top: 2.6rem;
    margin-bottom: 2rem;
    font-weight: normal;
  }
  .product-item h4 span {
    border-bottom: 1px solid;
  }
  .product-item h4 a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #888;
  }

  .product-item h4 a:hover {
    border-color: #fff;
  }

  .product-item p {
    font-size: 1.8rem;
    color: #ddd;
    line-height: 1.6;
	padding: 1rem 0;
  }

@media screen and (max-width: 750px) {
  .top {
    padding:  0 ;
} 
.product-section {
padding: 0 2rem;
}
  .product-grid {
    grid-template-columns: 1fr !important; /* ← スマホでは1列に強制 */
  }
  .section .text, .section>.block {
    margin-left: auto;
    margin-right: auto;
}
.link-logo img {
  height: 5rem;
  width: auto;
  display: block;
}  

.product-item p {
font-size: 1.6rem;
}

}