@charset "UTF-8";
/*共通*/
:root {
  --bgcolor: #575757;
  --border-color: #dbdbdb8c;
}
#spaine_wine {
  padding-bottom: 60px;
}
#spaine_wine img {
  max-width: 100%;
}
#spaine_wine a:hover {
  opacity: .8;
}
/*説明文*/
#spaine_wine .wrapBg01 {
  margin: 15px 0 30px;
}
/*説明文 開閉*/
#spaine_wine .txt_box1 {
  position: relative;
}
#spaine_wine .txt_box1 input {
  display: none;
}
/*開くためのボタンとテキストを隠すグラデーションの設定*/
#spaine_wine .txt_box1 label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  bottom: -10px;
  width: 100%;
  height: 140px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}
/* 開いた時にグラデーションを消す */
#spaine_wine .txt_box1 input:checked + label {
  background: inherit;
}
#spaine_wine .txt_box1 input:checked + label {
   /*display: none ; *//*閉じるボタンを消す場合コメントアウトをはずす */
}
#spaine_wine .txt_box1 .txt_container {
  overflow: hidden;
  height: 140px; /* 開く前に見えている部分の高さ */
  transition: all 0.5s;
}
/*続きをよむボタン*/
#spaine_wine .txt_box1 label:after,
#spaine_wine .txt_box1 label::before {
  content: '';
  position: absolute;
  line-height: 3.5rem;
}
#spaine_wine .txt_box1 label:after {
  z-index: 2;
  bottom: 20px;
  width: 13em;
  content: '続きを読む';
  color: #ffffff;
  background: #19191a;
  height: 35px;
}
#spaine_wine .txt_box1 label::before {
  position: absolute;
  bottom: 32px;
  left: calc(50% - 4em);
  z-index: 3;
  width: 10px;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}
/*閉じるボタン*/
#spaine_wine .txt_box1 input:checked + label:after {
  content: '閉じる';
}
#spaine_wine .txt_box1 input:checked + label:before {
  left: calc(50% - 2.5em);
  transform: scale(1, -1);
}
#spaine_wine .txt_box1 input:checked ~ .txt_container {
  height: auto;
  padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}
/*コンテンツ*/
#spaine_wine .sec01, #spaine_wine .sec02{
  border-top: 1px solid rgba(185, 7, 27, 0.34) 
}
#spaine_wine .sec01 dl, #spaine_wine .sec02 dl {
  display: flex;
}
#spaine_wine dd {
  width: 600px;
  height: 330px;
  position: relative;
}
#spaine_wine dd p {
  display: block;
  font-size: 1.4rem;
}
#spaine_wine .sec01 .sec_img, #spaine_wine .sec02 .sec_img {
  width: 400px;
}
#spaine_wine .sec01 dl, #spaine_wine .sec02 dl {
  padding-top: 4.0rem;
  margin-bottom: 1.0rem
}
#spaine_wine dd .number {
  font-weight: bold;
  background: #f8f5ef;
  display: inline-block;
  float: left;
  margin-right: .5em;
  padding: 0.05rem 1em;
  margin-left: 1.5em;
  letter-spacing: 0.1em;
}
#spaine_wine dd .name {
  font-weight: bold;
  font-size: 2.2rem;
  margin-left: 1em;
}
#spaine_wine dd .name span {
  font-size: 1.6rem;
  margin-right: 1em;
  position: relative;
  top: -.2rem;
}
#spaine_wine dd .price {
  font-weight: bold;
  font-size: 1.8rem;
  margin-left: 1.2em;
  margin-bottom: 2.6rem;
}
#spaine_wine dd .price span {
  font-size: 1.4rem;
}
#spaine_wine dd .copy {
  font-weight: 500;
  background: var(--border-color);
  padding: .3em 1.5em .3em 1.5em;
  font-size: 1.6rem;
  margin: 0 0 1.4rem 2.1rem;
}
#spaine_wine dd .description {
  margin-left: 1.5em;
  line-height: 2;
}
#spaine_wine .sec02 dl {
  flex-direction: row-reverse;
}
#spaine_wine .sec02 .dd02 {
  height: auto;
}
#spaine_wine .sec01 .dd01 {
  height: auto;
}
#spaine_wine .sec02 dl:first-of-type, #spaine_wine .sec02 dl:nth-of-type(2) {
  margin-bottom: 2rem;
}
#spaine_wine .sec02 .number, #spaine_wine .sec02 .name, #spaine_wine .sec02 .price, #spaine_wine .sec02 .description {
  margin-left: 0;
  margin-right: 2rem;
}
#spaine_wine .sec02 .copy {
  margin: 0 2rem 1.4rem 0;
}
#spaine_wine .sec02 dl dd:nth-of-type(3) {
  height: 385px;
}
/*商品を購入するボタン*/
#spaine_wine dd .buy_btn {
  background-color: rgb(185, 7, 27);
  background-repeat: no-repeat;
  border-radius: 4px;
  box-sizing: border-box;
  color: #fff;
  display: grid;
  place-content: center;
  font-size: 1.8rem;
  text-align: center;
  width: 230px;
  height: 50px;
  float: right;
  font-weight: 500;
  bottom: 0;
  right: 0;
  margin: 2rem 0 3rem;
}
#spaine_wine .sec02 .buy_btn {
  float: left;
}
#spaine_wine .popularKeywords {
  background-color: #fff;
  border: solid 2px var(--border-color);
  padding: 20px 0 20px 22px;
  margin-bottom: 30px;
}
#spaine_wine .popularKeywords:last-of-type {
  margin-bottom: 0;
}
#spaine_wine .popularKeywords a {
  color: #19191a;
}
#spaine_wine .popularKeywords h3 {
  background: url(/ec/shop/images/header/search.svg);
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: .01em;
  line-height: 20px;
  margin-bottom: 12px;
  padding-left: 30px;
}
#spaine_wine .popularKeywords ul li {
  background-image: url(/d_images/campaign/seibo/icon-arrow02.png);
  background-position: 100% 50%;
  background-repeat: no-repeat;
  background-size: 11px 15px;
  float: left;
  font-size: 16px;
  letter-spacing: .01em;
  line-height: 16px;
  margin-bottom: 6px;
  padding-right: 20px;
}
#spaine_wine .popularKeywords ul li:not(:last-child) {
  margin-right: 54px;
}
#spaine_wine .clearfix::after {
  clear: both;
  content: "";
  display: block;
}
/*TB*/
/* 画面サイズ 767px 以上 1024px 未満 */
@media screen and (767px < width < 1024px) {
  #spaine_wine {
    width: min(80vw, 767px);
  }
}
/*SP*/
/* 画面サイズ 767px 未満 */
@media screen and (width <= 767px) {
  /*コンテンツ*/
  #spaine_wine .sec01 dl, #spaine_wine .sec02 dl {
    display: block;
  }
  #spaine_wine .sec01 .sec_img, #spaine_wine .sec02 .sec_img {
    width: 100%;
  }
  #spaine_wine .sec01 dl, #spaine_wine .sec02 dl {
    padding-top: 1.5rem;
    margin-bottom: 3rem;
  }
  #spaine_wine .sec02 dl:first-of-type, #spaine_wine .sec02 dl:nth-of-type(2) {
    margin-bottom: 3rem;
  }
  #spaine_wine .sec02 .description {
    margin-right: 0;
  }
  #spaine_wine dd {
    width: 100%;
    height: auto;
    margin-top: 1.5rem;
  }
  #spaine_wine dd .number, #spaine_wine dd .name, #spaine_wine dd .price, #spaine_wine dd .description {
    margin-left: 0;
  }
  #spaine_wine dd .name {
    font-size: 1.8rem;
  }
  #spaine_wine dd .price {
    margin-bottom: 1.3rem;
  }
  #spaine_wine dd .copy, #spaine_wine .sec02 .copy {
    padding: 1em 0.8em;
    font-size: 1.4rem;
    text-align: center;
  }
  #spaine_wine .sec01 .copy {
    margin-left: 0;
  }
  #spaine_wine .sec02 .dd02 {
    height: auto;
    margin-bottom: 6rem;
  }
  #spaine_wine .sec01 .dd01 {
    height: auto;
    margin-bottom: 6rem;
  }
  /*商品を購入するボタン*/
  #spaine_wine .sec02 .buy_btn {
    float: none;
  }
  #spaine_wine dd .buy_btn {
    border-radius: 4px;
    padding: 1rem 3rem;
    font-size: 1.6rem;
    position: relative;
    text-align: center;
    width: 70%;
    height: 5rem;
    margin: 3rem auto 0 auto;
    float: unset;
  }
  #spaine_wine.popularKeywords {
    border-top: 1px solid #ececec;
    border: solid 2px #d0d0d0;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 0 11px 18px;
    text-align: center;
    width: calc(100% - 20px);
  }
  #spaine_wine.popularKeywords h3 {
    display: inline-block;
    letter-spacing: .01em;
    line-height: 24px;
    margin-bottom: 18px;
    padding: 0 30px 0 30px;
  }
  #spaine_wine.popularKeywords ul li {
    background-image: url(/d_images/campaign/seibo/sp/icon-arrow02.png);
    background-size: 10px 13px;
  }
  #spaine_wine.popularKeywords ul li a {
    font-size: 13px;
  }
  #spaine_wine.popularKeywords ul li:not(:last-child) {
    margin-right: 21px;
  }
}