/* contents */
.example-image-link:hover {
  opacity: .7
}

.contents {
  width: 960px;
  margin: 0 auto;
  padding: 0 0 40px
}

.main-contents {
  margin-right: 20px;
  padding: 0 20px 0 0;
  border-top: 3px solid #004263
}

.ttl {
  padding: 15px 0 40px 20px;
  font-size: 24px;
  font-weight: bold;
  color: #004263
}

.item-list {
  margin-left: 20px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dotted #999
}

.item-list:last-child {
  border-bottom: none;
}

.left-area {
  position: relative;
  float: left
}

.left-area .new {
  position: absolute;
  top: -28px;
  z-index: 10
}

.right-area {
  float: left;
  width: 30%;
  margin: 0 3% 30px 0;
}

.right-area .name {
  margin-bottom: 10px;
  padding: 0;
  font-size: 24px;
  font-weight: bold;
  color: #000
}

.right-area .ec {
  display: block;
  width:100%;
  height: 170px;
  border: 1px solid #ccc;
  overflow: hidden;
}

.right-area .ec img {
  width: 100%;
}

.phonetic {
  margin: 0 0 10px;
  font-size: 9px;
  font-weight: bold;
  color: #000;
}

.category {
  margin-bottom: 15px;
  font-size: 12px;
  color: #6b90a3
}

.detail {
  min-height: 68px;
  margin-bottom: 15px;
  line-height: 1.4;
  font-size: 14px
}

.buy {
  margin: 10px 0 0;
  color: #333;
  font-size: 16px;
  font-weight: bold;
}

.ec-list {
  display: inline-block;
  margin: 10px 10px 0 0;
}


.ec-list a {
  position: relative;
  z-index: 2;
  display: inline-block;
  height: 30px;
  background-color: #fff;
  border: 2px solid #333;
  color: #333;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  line-height: 28px;
  outline: none;
  overflow: hidden;
}
.ec-list a::before,
.ec-list a::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.ec-list a,
.ec-list a::before,
.ec-list a::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.ec-list a:hover {
  color: #fff;
}
.ec-list a::after {
  top: -100%;
  width: 100%;
  height: 100%;
}
.ec-list a:hover::after {
  top: 0;
  background-color: #333;
}

.ec-list a span {
  padding: 0 10px;
}

.btn {
  display: block;
  width: 160px;
  height: 29px;
  padding: 16px 0 0;
  -webkit-border-radius: 4px;
          border-radius: 4px;
  background-color: #004263;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: bold
}

.btn:visited {
  color: #fff
}

.btn:hover {
  text-decoration: none;
  opacity: .7
}

@media screen and (max-width: 767px) {
  .sp .contents {
    width: auto;
  }
  .sp .main-contents {
    margin: 0;
    padding: 0 10px;
  }
  .sp .item-list {
    margin: 0 auto;
  }
  .sp .right-area {
    float: none;
    width: auto;
    margin: 0 auto 25px;
  }
  .right-area .ec {
    height: auto;
  }
}
