/* Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  font-family: Helvetica, Arial, sans-serif;
  color: #000;
}

.media_pc {
  display: block !important;
}
.media_sp {
  display: none !important;
}
.mainvisual img {
  width: 100%;
}

.main_lead {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  text-align: center;
  margin-top: 5rem;
  padding: 2rem;
  font-family: "Zen Kaku Gothic Antique", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
}


.title-section {
  text-align: center;
  padding: 80px 20px 50px;
}

.title {
  font-size: 28px;
  letter-spacing: 0.15em;
  font-weight: 500;
}


/* Grid */

.feature-section {
  padding: 0 40px 80px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}


/* Item */

.grid-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1024 / 1447;
}


/* image */

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}


/* hover */

.grid-item:hover img {
  transform: scale(1.05);
}


/* overlay */

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.5),
    rgba(0,0,0,0)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}


.grid-item:hover .overlay {
  opacity: 1;
}

.item-name {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.brand_logo {
  max-width: 200px;
  margin: 100px auto;
}
.brand_logo img {
  width: 100%;
  height: auto;
}


/* Mobile */

@media screen and (max-width: 768px) {

  .media_pc {
    display: none !important;
  }
  .media_sp {
    display: block !important;
  }
  
  .area-header {
    margin-bottom: 1rem;
  }

  .mainvisual img {
    width: 100%;
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-section {
    padding: 0 16px 60px;
  }

  .main_lead {
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    font-weight: normal;
  }

  .title {
    font-size: 23px;
  }

  .brand_logo {
    max-width: 150px;
    margin: 10px auto 50px;
  }

}
