.container {
  max-width: 100%;

  margin: 0;

  padding: 0;
}

.container section:first-of-type {
  padding-top: 2rem !important;
}

h1.page_title1,
h1.page_title2,
h1.page_title3 {
  width: 100%;

  text-align: center;

  color: rgb(88, 88, 88);

  font-size: 2rem;

  font-weight: 900;

  padding: 0.3rem 0;
}

h1.page_title3 {
  margin-top: 1em;
}

hr {
  margin-top: 60px;

  border-top: 7px solid rgb(0, 204, 255);
  opacity: 1;
}

h1.page_title2,
h1.page_title3 {
  font-size: 1.5rem;
}

.contact-button-container {
  text-align: center;

  align-self: center;

  margin: 2rem auto;

  font-size: 1.5rem;

  margin-top: 60px;
}

.contact-button {
  color: white;

  background: #f73194;

  border-style: solid;

  border-color: black;

  border-radius: 7px;

  border-width: 1px;

  padding: 0.6em;

  transition: 0.3s;
}

.contact-button:hover {
  transform: scale(1.1);
}

.contact-button > a,
a:hover,
a:visited {
  color: inherit;
}

.merit-demerit {
  margin-top: 1em;

  margin-bottom: 2em;
}

.product_list {
  width: 100%;

  overflow: hidden;

  justify-content: space-between;

  margin: 1rem 0;
}

.product_list li {
  width: 25%;

  overflow: hidden;
}

.product_list li {
  padding-left: 1rem;

  padding-right: 1rem;

  padding-bottom: 1rem;
}

.card {
  width: 90%;

  height: 90%;

  box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.25);

  padding: 5%;

  margin: 5%;
}

.card:hover .current_img {
  transform: scale(1.1, 1.1);

  transition: all 0.5x;
}

.product_list:first-child {
  padding-left: 0;
}

.product_list:last-child {
  padding-right: 0;
}

.product_list li > .product_wrap > div.display-flex {
  height: 13vw;

  margin-bottom: 0.3rem;
}

.product_wrap {
  margin-top: 0.5rem;

  text-align: left;
}

h4.product_name {
  font-size: 1.3rem;

  font-weight: 700;

  text-align: center;
}

h4.product_name::before {
  content: "品番：";

  display: inline-block;

  font-size: 1rem;

  margin-right: 0.3rem;
}

.product_wrap .slide-wrap {
  border: none;

  overflow: hidden;
}

/* スライドショー */

.slide-wrap {
  width: 20vw;

  height: 13vw;

  border: 1px solid #eeeeee;

  position: relative;
}

.slide_img {
  width: 100%;

  height: 100%;

  position: absolute;

  top: 0;

  left: 0;

  opacity: 0;

  transition: 0.2s;
}

.slide_img img {
  width: 100%;

  height: 100%;

  object-fit: contain;

  background-color: inherit;
}

.slide_img.current_img {
  opacity: 1;
}

@media screen {
  .merit-demerit-col-1 {
    margin-left: 100px;

    margin-right: 50px;
  }

  .merit-demerit-col-2 {
    margin-left: 50px;

    margin-right: 100px;
  }

  .description1,
  .description2 {
    margin-top: 1em;

    text-align: left;
  }

  .description1 {
    height: 100px;
  }
}

@media screen and (max-width: 1023px) {
  .description1,
  .description2 {
    margin-top: 1em;

    text-align: left;
  }

  .description1 {
    height: 60%;
  }

  .product_list li > .product_wrap > div.display-flex {
    padding-right: 1.5rem;

    height: 100%;
  }

  .slide-wrap {
    width: 100%;

    margin-bottom: 0.5rem;
  }

  .thumb-wrap {
    width: 100%;

    flex-direction: row;
  }

  .product_list li {
    width: 100%;

    border-bottom: 1px dashed #cccccc;

    margin-bottom: 1rem;
  }

  .product_list li:last-child {
    border-bottom: none;
  }

  .product_wrap {
    display: flex;

    flex-wrap: wrap;
  }

  .product_wrap > div:first-child {
    width: 30%;
  }

  .product_wrap > div:last-child {
    width: 70%;
  }
}

@media screen and (max-width: 767px) {
  .description1,
  .description2 {
    margin-top: 0;

    text-align: left;
  }

  .description1 {
    height: initial;
  }

  .merit-demerit-col-1 {
    margin-left: 0;

    margin-right: 0;
  }

  .merit-demerit-col-2 {
    margin-top: 0.5em;

    margin-left: 0;

    margin-right: 0;
  }

  .merit-demerit-col-3 {
    margin-top: 1em;

    display: flex;

    justify-content: center;
  }

  .contact-button {
    width: 60%;
  }

  .product_wrap {
    display: flex;

    flex-wrap: wrap;
  }

  .product_wrap > div:first-child,
  .product_wrap > div:last-child {
    width: 100%;
  }

  .product_list li > .product_wrap > div.display-flex {
    padding-right: 0;
  }

  .slide-wrap {
    height: 80vw;
  }

  .thumb-wrap img {
    width: 25%;
  }

  hr {
    margin-top: 70px;

    border-top: 7px solid rgb(0, 204, 255);
    opacity: 1;
  }

  p.product_description {
    font-weight: 900;
  
    font-size: 1.0rem;
  }
}

/* 商品説明 */

.product_detail {
  margin-top: 2rem;

  margin-bottom: 1.5rem;

  text-align: left;
}

.product_detail p {
  text-align: center;
}

p.product_description {
  font-weight: 900;

  font-size: 0.9rem;
}

p.product_price {
  margin-top: 0.5rem;
}

span.num::before {
  content: "無地単価：";

  display: inline-block;
}

span.num::after {
  content: "円";

  display: inline-block;
}

.product_detail {
  padding-left: 1rem;

  padding-right: 1rem;
}

.product_detail > .display-flex {
  margin: 1rem 0;
}

.product_detail > .display-flex > .display-flex {
  margin-right: 1rem;
}

.product_detail .th {
  margin-right: 0.3rem;
}
