/* ------------------------------------
// main
------------------------------------ */
hgroup.htype01 {
  text-align: center;
  margin-bottom: 10rem;
}
hgroup.htype01 h2 {
  color: #3E699E;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 1.3vw, 1.3vw);
}
hgroup.htype01 .en {
  align-self: center;
  font-family: "Figtree", sans-serif;
  letter-spacing: 0.3em;
  padding-left: -0.3em;
  font-size: clamp(2rem, 2.8vw, 2.8vw);
  font-weight: 300;
  text-transform: uppercase;
  color: #00A187;
  line-height: 1.2;
}
@media screen and (max-width: 768px) {
  hgroup.htype01 {
    margin-bottom: 3rem;
  }
}

/* ------------------------------------
// #gallery
------------------------------------ */
#gallery {
  max-width: 1200px;
  margin: 0 auto;
}
#gallery ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem 4vw;
}
#gallery ul li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 1.5rem;
}
#gallery ul li p {
  margin-bottom: 0;
}
#gallery ul li .title {
  text-align: center;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  #gallery ul {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    grid-template-columns: 1fr 1fr;
    gap: 4rem 1rem;
  }
  #gallery ul li {
    gap: 1rem;
  }
}

/* ------------------------------------
// #equipment
------------------------------------ */
#features {
  max-width: 1200px;
  margin: 10rem auto;
}
#features section {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7rem;
}
#features section:nth-child(2n) {
  flex-direction: row-reverse;
}
#features section .photo {
  position: relative;
  width: calc(50% - 15px);
}
#features section .photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
#features section .detail {
  width: 50%;
  padding: 2rem 2vw;
  background: #F6F9FA;
  display: grid;
  place-content: center;
}
#features section .detail > hgroup {
  margin-bottom: 20px;
  display: flex;
  gap: 1rem;
  align-items: center;
}
#features section .detail > hgroup .num {
  color: #00A187;
  font-size: clamp(3rem, 4.2vw, 4.2vw);
  font-family: "Figtree", sans-serif;
  letter-spacing: 0.05em;
  padding-left: -0.05em;
  font-weight: 300;
}
#features section .detail > hgroup h3 {
  font-size: clamp(2rem, 1.4vw, 1.4vw);
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  #features {
    margin: 5rem auto;
  }
  #features section {
    margin-bottom: 4rem;
    display: block;
  }
  #features section .photo {
    width: 100%;
  }
  #features section .detail {
    width: 100%;
  }
  #features section .detail > hgroup {
    margin-bottom: 20px;
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  #features section .detail > hgroup .num {
    color: #00A187;
    font-size: clamp(6rem, 6.9vw, 6.9vw);
    font-family: "Figtree", sans-serif;
    letter-spacing: 0.05em;
    padding-left: -0.05em;
    font-weight: 300;
  }
  #features section .detail > hgroup h3 {
    font-size: clamp(1.8rem, 1.3vw, 1.3vw);
    font-weight: 500;
  }
}

/* ------------------------------------
// #equipment
------------------------------------ */
#equipment {
  max-width: 1200px;
  margin: 20rem auto 0;
}
#equipment ul {
  margin-top: 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
}
#equipment ul li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 1rem;
}
#equipment ul li .title {
  font-size: clamp(2rem, 1.4vw, 1.4vw);
  text-align: center;
  font-weight: 500;
}
#equipment ul li .photo {
  margin-bottom: 2rem;
}
@media screen and (max-width: 1024px) {
  #equipment ul {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
@media screen and (max-width: 768px) {
  #equipment {
    margin-top: 5rem;
  }
  #equipment ul {
    margin-top: 3rem;
  }
  #equipment ul li {
    margin-top: 2rem;
  }
  #equipment ul li .photo {
    margin-bottom: 0;
  }
}

/* ------------------------------------
// #forCustmer
------------------------------------ */
#forCustmer {
  max-width: 1200px;
  margin: 10rem auto 0;
}
#forCustmer dl {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid #EEE;
}
#forCustmer dl dt, #forCustmer dl dd {
  padding-bottom: 1rem;
  border-bottom: 1px solid #EEE;
}
#forCustmer dl dt {
  padding-right: 4rem;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  #forCustmer {
    margin-top: 5rem;
  }
  #forCustmer dl {
    grid-template-columns: 1fr;
  }
  #forCustmer dl dt {
    padding-left: 0;
  }
}