* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
}
.content {
  width: 100%;
  height: auto;
  margin-top: 195px;
}

.sectionA {
  width: 100%;
  height: auto;
  background-color: #bed3d8;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sectionA .title {
  font-size: 36px;
  color: #fff;
  font-weight: bold;
  margin-right: 40px;
}

.sectionB {
  padding: 120px 0 60px 0;
}
.sectionB .articleA {
  padding-bottom: 20px;
}
.sectionB h4 {
  display: none;
  font-size: 23px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 60px;
}
.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: auto;
  align-items: center;
}
.button-container button.active {
  background-color: #ff3147;
  color: #fff;
}
.btn {
  padding: 15.5px 10px;
  background-color: #f2f6f9;
  color: #021738;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, 370px);
  grid-auto-rows: auto;
  gap: 30px;
  justify-content: start;
  margin: 20px auto;
  max-width: 1171px;
}
.gallery .item {
  width: 370px;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.gallery .item img {
  width: 100%;
  /* height: 270px; */
  height: 370px;
  /* object-fit: cover; */
  cursor: pointer;
}
.gallery .item .info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  text-align: left;
  line-height: 1.4;
}
.gallery .item .info .title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
}
.gallery .item .info .details {
  font-size: 16px;
  color: #000;
}
.custom-select {
  width: 328px;
  height: 50px;
  padding: 6px 12px;
  font-size: 18px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("https://img.icons8.com/?size=50&id=60662&format=png&color=#00000061")
    no-repeat right 10px center;
  background-size: 20px;
  border: 1px solid #e3dcfb;
  border-radius: 6px;
  text-indent: 5px;
  cursor: pointer;
  color: #00000073;
}

.border-line {
  display: none;
  width: 328px;
  max-width: 700px;
  height: 1px;
  border: dashed;
  border-width: 1px;
  border-color: #d9d9d9;
  margin: 0 5%;
}
.pc {
  display: block;
}
.tablet {
  display: none;
}

@media (max-width: 1171px) {
  .content {
    margin-top: 185px;
  }

  .gallery {
    justify-content: center;
  }
}

@media (max-width: 830px) {
  .content {
    margin-top: 20px;
  }
  .sectionA {
    display: none;
  }
  .sectionB h4 {
    display: block;
  }
}

@media (max-width: 769px) {
  .sectionB {
    padding: 40px 0 11px 0;
  }
  .gallery .item {
    width: 100%;
    max-width: 370px;
    gap: 10px;
    justify-content: start;
    align-items: center;
  }
  .gallery {
    justify-content: center;
    gap: 10px;
  }
  .gallery .item img {
    width: 90%;
    height: 270px;
    max-width: 370px;
    border-radius: 10px;
  }
  .gallery .item .info {
    position: static;
    width: 90%;
    color: #000;
    padding: 0 10px 2px 10px;
    text-align: left;
    line-height: 1.4;
  }
  .gallery .item .info .title {
    font-size: 16px;
    font-weight: 500;
  }
  .gallery .item .info .details {
    font-size: 16px;
    color: #000;
    font-weight: 500;
  }

  .border-line {
    display: block;
  }
  .pc {
    display: none;
  }
  .tablet {
    display: block;
  }
}

@media (max-width: 480px) {
  .content {
    margin-top: 0px;
    overflow: hidden;
  }
}
