@charset "UTF-8";
header h1 {
  width: 100%;
  height: 300px;
  background: url("../img/item-info/headbg.jpg") no-repeat 50% 50%;
  background-size: cover;
  margin-bottom: 50px;
}
#intro {
  line-height: 1.6;
  margin-bottom: 50px;
  text-align: center;
}
main h2 {
  font-size: 2.0rem;
  line-height: 1.3;
  min-height: 50px;
  background-color: #E8D5CD;
  padding: 13px 20px 11px;
  margin-bottom: 20px;
}
@media screen and (max-width:767px) {
  header h1 {
    background: url("../img/item-info/headbg-sp.jpg") no-repeat 50% 50%;
    background-size: cover;
    height: 200px;
    margin-bottom: 35px;
  }
  #intro {
    width: calc(100% - 30px);
    margin: auto auto 35px;
    text-align: left;
  }
  #intro br {
    display: none;
  }
  main h2 {
    padding: 13px 15px 11px;
  }
}

.flex {
  display: flex;
  flex-wrap: wrap;
  width: 1080px;
  margin: auto;
}
.flex .proBox {
  width: 340px;
  margin-right: 30px;
  padding-top: 100px;
  margin-top: -100px;
}
.flex .proBox:nth-of-type(3n) {
  margin-right: 0;
}
.flex .proBox a {
  display: block;
  width: 100%;
  height: auto;
  padding-bottom: 50px;
  min-height: 600px;
  border: 1px solid #D1C3B7;
  background-color: #F8F3F0;
  margin-bottom: 60px;
  position: relative;
}
.pc5line .proBox a {
  height: 647px;
}
.pc4line .proBox a {
  height: 622px;
}
.flex .proBoxWr {
  width: 340px;
}
.flex .proBoxWr:not(:first-of-type) {
  margin-left: 30px;
}
.flex .proBoxWr .proBox {
  width: 100%;
  margin-right: 0;
}
.flex .proBox .img {
  width: 100%;
  height: auto;
}
.flex .proBox .img img {
  width:100%;
  height: auto;
}
.flex .proBox div {
  padding: 10px 19px 0;
}
.flex .proBox div h3 {
  text-align: center;
  font-size: 2.4rem;
  line-height: 1.2;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex .proBox div .text {
  line-height: 1.6;
  margin-bottom: 20px;
}
.flex .proBox div .link {
  position: absolute;
  bottom: 25px;
  right: 20px;
  font-size: 1.3rem;
  color: #666;
  border-bottom: 1px solid;
  padding: 0 10px 10px;
}
.flex .proBox div .link img {
  vertical-align: middle;
  margin-left: 10px;
}
@media screen and (max-width:767px) {
  .flex {
    width: 100%;
    display: block;
  }
  .flex .proBox {
    width: calc(100% - 30px);
    margin: -10px auto auto;
    padding-top: 10px;
  }
  .flex .proBox:nth-of-type(3n) {
    margin-right: auto;
  }
  .flex:last-of-type .proBox:last-of-type {
    margin-bottom: 80px;
  }
  .flex .proBox a {
    min-height: auto;
    padding-bottom: 24px;
    margin-bottom: 20px;
  }
  .pc5line .proBox a {
    height: auto;
  }
  .pc4line .proBox a {
    height: auto;
  }
  .flex .proBoxWr {
    width: 100%;
  }
  .flex .proBoxWr .proBox {
    width: calc(100% - 30px);
    margin: auto auto 80px;
  }
  .flex .proBoxWr:not(:first-of-type) {
    margin-left: 0;
  }
  .flex .proBox div {
    height: auto;
    overflow: hidden;
  }
  .flex .proBox div .link {
    position: static;
    display: inline-block;
    float: right;
  }
}
