@charset "utf-8";
/* CSS Document */

#main {
    max-width: 1080px;
    padding: 0 20px;
}

/* input-search */
.input-search {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
  max-width: 720px;
  margin: 0px auto 50px auto;
}
.input-search fieldset {
  background: #fff;
  margin: 0;
  display: flex;
  justify-content: space-between;
}
.input-search fieldset legend {
  display: none;
}
.input-search fieldset input {
  border: none;
  border-radius: 0;
  background: #FFF;
  flex: 1;
  width: 100%;
  padding: 1rem 2.4rem;
  border-radius: 10px 0 0 10px;
}
input[type="text"] {
  font-size: 1.8rem;
}
.input-search fieldset legend fieldset input::placeholder {
  color: #707070;
}
.input-search fieldset button {
  color: #FFF;
  font-size: 1.8rem;
  border-radius: 10px;
  padding: .5em 1.5em;
  border: none;
  background: #0A7CB7;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  white-space: nowrap;
  min-height: 65px;
  cursor: pointer;
}
.input-search fieldset button:hover {
  background: #095ca4;
}
.input-search fieldset button img {
  margin-right: 0.5em;
}

@media screen and (max-width: 600px) {
  .input-search fieldset button {
    min-height: 48px;
  }
  .input-search fieldset button img{
    max-width: 20px;
  }
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    border: 1px solid #CED3E5;
    overflow: hidden;
}
.category-list li {
    width: calc(100% / 4);
    min-height: 70px;
}
.category-list li a {
  border-right: 1px solid #CED3E5;
  border-bottom: 1px solid #CED3E5;
}
.category-list li:nth-child(4n) a {
  border-right: none;
}
.category-list li:nth-last-child(-n+4) a {
  border-bottom: none;
}

@media screen and (max-width: 1080px) {
    .category-list li {
        width: calc(100% / 2);
    }
    .category-list li:nth-child(2n) a {
        border-right: none;
    }
    .category-list li:nth-last-child(-n+4) a {
        border-bottom: 1px solid #CED3E5;
    }
    .category-list li:nth-last-child(-n+2) a {
        border-bottom: none;
    }
    .category p {
        font-size: 1.6rem;
        padding: .8rem;
    }
}
@media screen and (max-width: 768px) {
    .category-list li {
        width: 100%;
    }
    .category-list li a {
        border-right: none;
    }
    .category-list li:nth-last-child(-n+4) a {
        border-bottom: 1px solid #CED3E5;
    }
    .category-list li:last-child a {
        border-bottom: none;
    }
    .category p {
        font-size: 1.6rem;
        padding: .8rem;
    }
}

.product-list-thumb li {
    margin-bottom: 4rem;
}
.product-list-thumb .two-post-pht-txt {
    margin: 0;
}
@media screen and (max-width: 768px){
    .product-list-thumb .two-post-pht-txt {
        margin-bottom: 60px;
    }
}
.two-post-pht-txt {
    transition: all .3s;
}
.two-post-pht-txt:hover {
    color: #0A7CB7;
}
.two-post-pht-txt .pht-block {
    width: 30%;
}
.two-post-pht-txt .pht-contain .frame {
    border-radius: 20px;
}
.two-post-pht-txt .txt-block {
    width: 65%;
    padding: 0;
}

.ttl-product {
    font-size: 2.2rem;
    margin-bottom: 1.6rem;
}

.product-detail {
    font-size: 1.6rem;
}
.product-detail .campany-name {
    font-weight: bold;
}

@media screen and (max-width: 800px) {
    .two-post-pht-txt {
        display: flex;
    }
}

@media screen and (max-width: 768px) {
    .paging {
        margin-bottom: 1.6rem;
    }
    .product-list-thumb li {
        margin-bottom: 2.4rem;
    }
    .two-post-pht-txt {
        flex-direction: column;
    }
    .two-post-pht-txt .pht-block,
    .two-post-pht-txt .txt-block {
        width: 100%;
    }
    .two-post-pht-txt .pht-block {
        margin-bottom: 1.6rem;
    }
}