/*--------------------------------
商品紹介 アフィページ
---------------------------------*/
.itemcard {
  background-color: #fff;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  margin: 1em 0;
  padding: 2em 1em;
  position: relative;
}
.items {
  display: flex;
  justify-content: space-around;
  align-items: baseline;
}

.slide_itemimgs {
  display: none;
}
.itemimgs,
.slide_itemimgs {
  text-align: center;
  width: 45%;
  padding: .5em 1.5em .5em 1em;
  margin: auto;
}
.itemimgs img {
  width: 100%;
  object-fit: contain;
}
.itemimgsc,
.itemimgsc a {
  color: #999;
  font-size: 12px;
  margin: .2em 0;
}
.itemimg img {
  padding: .5em .5em 0;
}

/*-----item slide-----*/
.itemimg {
  display: none;
}
.itemimg.slick-initialized {
  display: block; /*slick-initializedが付与されたら表示*/
}
.thumbnail img {
  margin: 0 .25em .25em;
  width: 38px!important;
  height: 38px;
  border-radius: 2px;
  opacity: .7;
}
.thumbnail-current {
  opacity: 1!important;
  border: 1px solid #888888;
}
.item_img_prev.slick-arrow,
.item_img_next.slick-arrow {
  position: absolute;
  top: 50%;
}
.item_img_next.slick-arrow {
  right: 1px;
}
.item_img_prev.slick-arrow:before {
  content: "\f137";
  font-family: FontAwesome;
  position: absolute;
  left: -1em;
  font-size: 22px;
  z-index: 99;
  color: #ada5a1;
}
.item_img_next.slick-arrow:after {
  content: "\f138";
  font-family: FontAwesome;
  position: absolute;
  right: -.7em;
  font-size: 22px;
  z-index: 99;
  color: #ada5a1;
}

.itemconts {
  width: 50%;
}
.itemconts p {
  line-height: 1.6;
}
p.itemname{
  margin: .3em 0 0;
  font-size: 20px;
}
.itemconts p.item_price {
  margin: 0;
  font-size: 15px;
}
.iteminfo .detail p {
  margin: 0;
  padding: .2rem 0;
}

/*ボタン*/
.itembtns {
  margin: .6em 0;
  width: 100%;
}

.itembtns a {
  position: relative;
  width: 100%;
  display: inline-block;
  margin-bottom: .7em;
  font-size: 1rem;
  line-height: 1;
  background-color: #ff9000;
  border: solid 1px #ff8400;
  border-bottom: 4px solid #e66a00;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  padding: 15px 5px;
  text-align: center;
  background-image: -webkit-linear-gradient(top, #ff9900, #ff8400);
  background-image: -moz-linear-gradient(top, #ff9900, #ff8400);
  background-image: -ms-linear-gradient(top, #ff9900, #ff8400);
  background-image: -o-linear-gradient(top, #ff9900, #ff8400);
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.itembtns a:after {
  position: absolute;
  font-family: "FontAwesome";
  font-weight: 900;
  content: "\f054";
  margin-left: 6px;
}
.itembtns a:hover{
  top: 4px;
  left: 0px;
  transition: all .3s;
  border: unset;
}
.itembtns li {
  position: relative;
}
.ribbon {
  width: 120px;
  height: 50px;
  overflow: hidden;
  position: absolute;
  top: -3px;
  left: -5px;
}
.ribbon::before {
  top: 0;
  right: 0;
}
.ribbon::after {
  bottom: 0;
  left: 0;
}
.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #a20606;
  border-top-color: transparent;
  border-left-color: transparent;
}
.ribbon_text {
  position: absolute;
  display: block;
  width: 200px;
  padding: 3px 0 3px 16px;
  background-color: #e41212;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 10px/1 'Lato', sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
  right: -14px;
  top: 13px;
  transform: rotate(-23deg);
}

/*詳細*/
.iteminfo {
  width: 100%;
}
.iteminfo .detail,.iteminfo .detail p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
.scroll {
  overflow-x: scroll;　　　　
  width: 100%;
  margin: 1rem 0;
}
.scroll table {
  margin: 0;
}
.scroll::-webkit-scrollbar {
  height: 5px;
}
.scroll::-webkit-scrollbar-track {
  margin: 0 2px;
  background: #eaeaea;
  border-radius: 5px;
}
.scroll::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #a2a2a2;
}
.scrollx {
  table-layout: fixed;
}
.scrollx td {
  width: 140px;
}
.scrollx th {
  width: 80px;
}
.scrollx .itembtns a {
  margin: 0;
}
.rankmark {
  counter-reset: ranking-mark;
}
.rankmark img {
  max-height: 200px;
  width: 100%;
  object-fit: contain;
}

table.listed {
  font-weight: normal;
  border-left: 1px solid #e4e4e4;
  border-collapse: collapse;
}
table.listed th,table.listed td {
  color: #262626;
  border-left: 0;
  border-top: 1px solid #e4e4e4;
  /*border-top: 0;*/
  border-right: 0.1em solid #e4e4e4;
  border-bottom: 0.01em solid #e4e4e4;
  background-color: #f1f1f1;
  padding: .5rem;
  vertical-align: middle;
}
table.listed th {
  background-color: #eee;
  white-space: nowrap;
  font-size: .7rem;
  font-weight: normal;
}
table.listed td {
  background-color: #fff;
  position: relative;
  text-align: left;
}
table.listed .rankmark td:before {
  content: counter(ranking-mark, decimal);
  counter-increment: ranking-mark;
  background: #999;
  border-radius: 50%;
  color: #fff;
  font-size: .85rem;
  line-height: 1;
  padding: 4px 6.5px;
  position: absolute;
  top: .25rem;
  left: .25rem;
}
table.listed .rankmark td:nth-child(2):before {
  background: #fa0;
}
table.listed .rankmark td:nth-child(3):before {
  background: #757575;
}
table.listed .rankmark td:nth-child(4):before {
  background: #930;
}
a.btn_down {
  cursor: pointer;
  padding: .6rem .5rem;
  background: linear-gradient(to bottom,#fff 5%,#f1f1f1 100%);
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid #ddd;
  width: 100%;
  display: inline-block;
  text-align: center;
}

.btn_af {
  margin: 0 auto;
  margin-top: 1em;
  width: 70%;
}
.btn_af {
  border-radius: 1.4rem;
  color: #fff !important;
  display: block;
  font-size: 14px;
  font-weight: bold;
  overflow: hidden;
  margin-top: 1em;
  position: relative;
  text-align: center;
  transition: .3s;
  text-decoration: none !important;
}
.btn_af {
  border-radius: 50px;
  padding: .8rem;
  background-color: #d7003a;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
  -webkit-transition: all .4s;
  transition: all .4s;
  margin: 1.5rem auto;
  width: 80%;
  line-height: 1.4;
}
.btn_af:hover {
  opacity: .7;
  color: #fff !important;
}
.btn_af:after {
  font-family: 'FontAwesome';
  content: "\f138";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  margin-left: .6rem;
}


@media screen and (max-width: 768px) {
  .itemcard {
    padding: 0px;
    position: relative;
  }
  .itemconts {
    width: 100%;
    padding: 0 1em .1em;
  }
  .item_header {
    display: block;
    width: 100%;
    text-align: left;
    position: sticky;
    position: -webkit-sticky;
    top: 55px;
    height: auto;
    background-color: rgba(239, 239, 239, 0.83);
    vertical-align: middle;
    padding: 1em;
    z-index: 10;
  }
  p.itemname {
    background-color: rgba(239, 239, 239, 0.13);
    top: 0;
    z-index: 999;
    vertical-align: middle;
    font-size: 18px;
    margin: 0!important;
  }
  .item_header p.item_price {
    margin: 0em 0 0;
    font-size: 16px;
  }
  .itemimgs {
    width: auto;
    padding: 0;
    display: block;
    margin-top: 1em;
  }
  .itemimgs img {
    width: auto;
    max-height: 300px;
  }
  .item_img_prev.slick-arrow:before {
    left: 0em;
    font-size: 31px;
    z-index: 9;
  }
  .item_img_next.slick-arrow:after{
    right: -.3em;
    font-size: 31px;
    z-index: 9;
  }
  .itemimgsc {
    margin: .5em;
    font-size: 14px;
  }
  .iteminfo {
    width: 100%;
    margin: 1em auto;
  }
  .iteminfo .detail, .iteminfo .detail p {
    font-size: inherit;
    padding: 0;
    line-height: 1.5;
    display: block;
    padding: 0 .5em;
  }
  .itembtns {
    margin: 1em 0;
    width: 100%;
    padding: 0 ;
  }
}
/*--------------------------------
gallery product_lp
---------------------------------*/
a.gallerylp_bana {
  display: block;
  margin: auto;
  text-align: center;
  width: 30%;
  margin: 1em auto 3em;
  box-shadow: 1px 1px 8px 1px rgb(0 0 0 / 10%);
}
@media screen and (max-width: 768px) {
  a.gallerylp_bana {
    width: 100%;
  }
}

/*--------------------------------
診断
---------------------------------*/
.chart,
.chartresult  {
  padding: 1em 1em 2em;
  text-align: center;
  font-weight: 900;
  color: #505050;
}
.chart {
  background-color: #FFFDEF;
}
.heading {
  font-size: 20px;
}
.chart .inner {
  margin: 1em .5em 1.7em;
  background-color: #fff;
  padding: .75em .5em;
  box-shadow: 1px 8px 9px 0px rgb(0 0 0 / 30%);
}
.chart .inner p {
  font-size: 18px;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  margin-bottom: 1.25em;
}
.chart .inner p:after {
  position: absolute;
  background-color: #ffdb7b;
  width: 174px;
  height: 3px;
  content: "";
  bottom: -5px;
  right: 0;
  display: block;
}
.chart .inner p:last-of-type {
  margin-top: 1.5em;
}
.chart .inner p:last-of-type:after {
  width: 300px;
}
.uniq.btns input {
  display: none;
}
.uniq.btns:first-of-type label {
  border: 2px solid #FFBD27;
  padding: .25em 3em;
  border-radius: 50px;
  color: #FFBD27;
  margin: .25em;
  display: inline-block;
  width: 250px;
  font-size: 22px;
}
.uniq.btns:first-of-type label:hover,
.uniq.btns:first-of-type label.clicked {
  background-color: #FFBD27;
  color: #fff;
}
.uniq.btns:last-of-type label img {
  display: inline-block;
  width: 140px;
  margin: 0.5em 0.35em;
}
.uniq.btns:last-of-type label img:hover {
  opacity: .8;
  border: 5px solid #FFBD27;
  border-radius: 16px;
}
.uniq.btns:last-of-type label.clicked img {
  border: 5px solid #FFBD27;
  border-radius: 16px;
}
button.btn-dim {
  width: 240px;
  text-align: center;
  margin: auto;
  background-color: #fcae4d;
  border-radius: 50px;
  border: unset;
  box-shadow: 6px 6px 15px -2px rgb(0 0 0 / 30%);
  position: relative;
}
button.btn-dim:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateY(-50%);
  border: 9px solid transparent;
  border-left: 12px solid #fff;
}
button.btn-dim:hover,
button.btn-dim:active {
  opacity: .8;
}
.siteblock_head {
  font-size: 18px;
}
.chartresult_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.chartresult_box a {
  display: block;
  width: 40%;
}
.chartresult_box a img {
  height: 140px;
  box-shadow: 6px 6px 15px -2px rgb(0 0 0 / 30%);
}
.chartresult_box p {
  line-height: 1.4;
  margin: 1em 0;
  font-size: 15px;
}
.chartresult_box p:first-of-type {
  margin: 1em 0 .5em ;
}
.chartresult_box p:last-of-type {
  margin: 0 0 1em;
  color: #FD0000;
}
a.btn-cahrt_gallery {
  margin: .5em auto 1em;
  background-color: #66D83D;
  border-radius: 50px;
  border: unset;
  box-shadow: 6px 6px 15px -2px rgb(0 0 0 / 30%);
  font-size: 20px;
  padding: .5em 1.5em .5em 2em;
  color: #fff;
  display: inline-block;
  position: relative;
}
a.btn-cahrt_gallery:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  border: 9px solid transparent;
  border-left: 12px solid #fff;
}
.onemore_cahrt {
  display: inline-block;
  border: 2px solid #505050;
  border-radius: 7px;
  padding: 0.25em 1.2em;
}
.onemore_cahrt:hover,
.onemore_cahrt:active {
  background-color: #505050;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .chartresult_box {
    justify-content: flex-start;
  }
  .chartresult_box a {
    display: block;
    width: 46%;
    margin-bottom: 10px;
    min-height: 240px;
  }
  .chartresult_box a:nth-child(odd){
    margin-right: 20px;
}
@media screen and (max-width: 390px) {
  .uniq.btns:last-of-type label img {
    width: 125px;
  }
}
