#main {
  margin-top: 0;
  padding-top: 0;
}

.content {
  margin-top: 50px;
}

.sec {
  margin-bottom: 60px;
}

.section h2,
.sec h2 {
  width:70%;
  max-width:350px;
  margin:0 auto 10px;
  padding: 0 10px;
}

#news.sec {
  width: 94%;
  max-width: 450px;
  margin: 0 auto 50px;
}


#news.sec ul {}

#news.sec ul li:first-child {
  border-top: 2px solid #eee;
}

#news.sec ul li {
  padding: 15px 10px;
  border-bottom: 2px solid #eee;
  display: flex;
}

#news.sec ul li .date {
  /*margin-right: 20px;*/
  width:8em;
}
#news.sec ul li .jp,
#news.sec ul li .en{
  width:calc(100% - 8em);
}

#news.sec ul li .title {
  /*margin-right: 20px;*/
  width:calc(100% - 8em);
}
#news.sec ul li a{
  word-wrap: break-word; 
}
.content {
  width: 840px;
  border: none;
}

@media screen and (max-width: 839px) {
  .content {
    width: 680px
  }
}

@media screen and (max-width: 639px) {
  .content {
    width: 100%;
  }
}

/* スライダー */
.slider {
  padding-top: 60px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.slick-slide {
  padding: 0;
  color: #fff;
  text-align: center;
  font-size: 1.1em;
  outline: 0;
  background-color: #fff;
}

.slick-slide img {
  width: 100%;
  /*height: 600px;*/
  margin: 0 auto;
}

.slick-next {
  right: 60px;
  z-index: 1000;
}

.slick-prev {
  left: 60px;
  z-index: 1000;
}

.slider-prev {
  left: 2vw;
  transform: scale(0.8, 1.2);
}

.slider-next {
  right: 2vw;
  transform: scale(0.8, 1.2);
}

.slider.slick-initialized {
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  height: 36px;
  margin-top: -18px;
  /* 高さの半分だけネガティブマージン */
  color: #aaa;
  line-height: 36px;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  /* 重要 */
}


@media screen and (max-width: 767px) {
  .slider {
    padding-top: 50px;
  }

  .slick-slide img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .slick-next {
    right: 3%;
  }

  .slick-prev {
    left: 3%;
  }
}


.section #today h2 {
    width: 190px;
    margin: 0 auto 20px;
}

@media screen and (max-width: 767px) {

  .section #today h2 {
      width: 42vw;
      max-width: 190px;
      margin: 0 auto 20px;
  }
  .section h3 {
    width: 28vw;
    margin: 0 auto;
  }

  .section h3.select02 {
    width: 24vw;
    margin: 0 auto;
  }

  .category ul li span span.sub {
    font-size: 2vw;
  }
}

#today {
  text-align: center;
  margin-bottom: 40px;
  background: url("../images/code-bg-pc.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  min-height: 550px;
}

.today-box {
  display: flex;
  justify-content: space-around;
  max-width: 700px;
  margin: 30px auto 0;
}

.today-image {
  width: 66vw;
  max-width: 300px;
  margin: 0 auto;
  margin-bottom: 0;
  margin-top: 0px;
}

.today-image .main-image{
  position: relative;
  border: 3px solid #eee;
  width: 300px;
  text-align: center;
  background-color: #fff;
}

.today-image .main-image img{
	max-height: 300px;
}

.today-image .soldout::after {
  content: "sold out";
  position: absolute;
  display: block;
  width: 100%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 8px 0;
  /*left: 0;*/
  top: 50%;
  margin-top: -1em;
}

.today-image img {
  max-width: 100%;
  vertical-align: bottom;
}

.today-thumbnail{
	margin-top: 10px;
}

.today-thumbnail ul{
	display: flex;
	justify-content: space-between;
}

.today-thumbnail ul li{
	cursor: pointer;
}

.today-thumbnail ul li:hover img{
	opacity: 0.8;
}

.today-thumbnail ul li img{
	width: calc(100% - 5px);
}

.today-text {
  margin-bottom: 20px;
  padding: 0 20px;
}

.today-text p {}

.today-text p.layout-left {
  text-align: left;
  font-size: 16px;
  margin-bottom: 100px;
  line-height: 1.6;
  min-width: 15em;
}

.today-text p.layout-right {
  text-align: right;
  position: relative;
  bottom: 0;
}


.is-cartin {
  background-color: #eee;
  cursor: default;
}

#item-images {
  width: auto;
  margin: 0;
}

#item-images .box {
  width: auto;
  ;
  text-align: right;
  border-radius: 0;
  margin: 0;
}

.mfp-content {
  padding: 50px 0;
}

#item-detail {
  position: relative;
  background-color: #fff;
  max-width: 640px;
  min-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  border-radius: 6px;
}

#item-detail .price {
  margin-bottom: 20px;
}

#item-detail .btns input {
  margin-right: 10px;
  padding: 10px;
  vertical-align: top;
}

#item-detail .attention {
  margin-top: 5px;
  text-align: center;
}

#item-detail #slider {
  position: relative;
  max-width: 400px;
  height: 370px;
  margin: 0 auto;
}

#item-detail #slider img {
  width: 400px;
  height: 370px;
  object-fit: contain;
}

#item-detail #thumbnail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 13px;
}

#item-detail #thumbnail .box {
  width: 72px;
  min-height: 72px;
  border: 1px solid #bcbcbc;
  margin: 0 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

#item-detail #thumbnail .box img {
  width: auto;
  max-width: 72px;
  max-height: 72px;
}

#item-detail #id-name {
  font-size: 18px;
  margin-top: 25px;
}

#item-detail .soldout {
  display: none;
  background: #a00;
  color: #fff;
  font-weight: bold;
  padding: 4px 20px;
  margin: 5px 0;
  border-radius: 10px font-size: 18px;
}

#item-detail .soldout.show {
  display: inline-block;
}

#item-detail .keep {
  display: none;
  background: #a00;
  color: #fff;
  font-weight: bold;
  padding: 4px 20px;
  margin: 5px 0;
  border-radius: 10px font-size: 18px;
}

#item-detail .keep.show {
  display: inline-block;
}


#item-detail .budgetover {
  display: none;
  color: #f00;
  font-weight: bold;
  padding: 4px 20px;
  margin: 5px 0;
  border-radius: 10px font-size: 18px;
}

#item-detail .budgetover.show {
  display: inline-block;
}

#item-detail .delete-btn {
  border: none;
}

#item-detail .delete-btn:hover {
  border: none;
  background: none;
}

#item-detail .delete-btn a {
  display: inline-block;
  padding: 5px 20px;
  margin: 20px 5px 0;
  border: 1px solid #ccc;
  outline: none;
}

#item-detail .delete-btn a:hover {
  background-color: #ccc;
  color: #fff;
}

#item-detail .delete-btn a.disabled {
  background-color: #ccc;
  color: #999;
  cursor: default;
}

.carterror {
  vertical-align: middle;
  display: none;
  pading: 0;
  color: #d00;
}

.cartinfo {
  margin-top: 1em;
  vertical-align: middle;
  display: none;
  pading: 0;
  color: #00d;
}


.addbtn select {
  font-size: 12px;
  color: #333;
  padding: 0 5px 0 5px;
  border: 1px solid #aaaaaa;
  display: inline-block;
  background: #fdfdfd;
  height: 26px;
  line-height: 150%;
  vertical-align: top;
}

.pagination {
  display: flex;
  justify-content: center;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  background: #fff;
  border-radius: 20px;
  margin: 0 5px;
}

.pagination li.active a {
  background-color: #EDEDEC;
}


.zoomit-ghost {
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  cursor: wait;
  display: block;
  position: absolute;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.zoomit-zoomed {
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 5;
  position: absolute;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
}

.zoomit-container {
  overflow: hidden;
  position: relative;
  vertical-align: top;
  display: inline-block;
}

.zoomit-container img {
  vertical-align: top;
}

.zoomit-container.loaded .zoomit-ghost {
  cursor: crosshair;
}

.zoomit-container.loaded .zoomit-zoomed {
  opacity: 1;
}

#item-detail #slider img {
  width: auto;
  height: 370px;
}

#item-detail #slider {
  position: relative;
  max-width: 400px;
  height: 370px;
  margin: 0 auto;
}

#item-detail #slider .zoomit-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 90%!important;
}

#item-detail .item-prev {
  content: "";
  display: block;
  position: absolute;
  top: 300px;
  left: 40px;
  width: 40px;
  height: 40px;
  border-top: 2px solid #999;
  border-left: 2px solid #999;
  transform: rotate(-45deg);
  cursor: pointer;
}

#item-detail .item-next {
  content: "";
  display: block;
  position: absolute;
  top: 300px;
  right: 40px;
  width: 40px;
  height: 40px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  transform: rotate(45deg);
  cursor: pointer;
}

#item-detail .item-prev:hover,
#item-detail .item-next:hover {
  border-color: #000;
}

/******************************** 

20190127 追加仮 select-item.html

*********************************/
#item-detail .btns a {
  display: inline-block;
  padding: 7px 20px;
  margin: 20px 5px 0;
  border: 1px solid #ccc;
  outline: none;
  border-radius: 20px;
}

#item-detail .btns a:hover {
  background-color: #ccc;
  color: #fff;
}

.detail-cartin-btn {
/*  display: none !important; */
}

.detail-cartin-btn {
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  padding: 10px 10px;
  box-shadow: 0px 0px 2px 1px #d9d9d9;
  border-radius: 10px;
  background-color: rgba(255,255,255,.5);
}

.detail-cartin-btn i::before,
.list-cartin-btn i::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f217";
}

.detail-cartin-btn:hover,
.list-cartin-btn:hover {
  background: rgba(100, 100, 100, 0.3);
  transform: scale(1.2, 1.2);
}

.detail-cartin-btn.is-cartin,
.list-cartin-btn.is-cartin {
  color: #fff;
  border: none;
  background: rgba(72, 255, 0, 0.6);
}

.detail-cartin-btn.is-cartin i::before,
.list-cartin-btn.is-cartin i::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f00c";
}

.detail-cartin-btn.is-cartin:hover i::before,
.list-cartin-btn.is-cartin:hover i::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f1f8";
}


@media screen and (max-width: 839px) {


  .today-box {
    max-width: 620px;
    margin: 30px auto 0;
  }

  .today-image {
    max-width: 250px;
    margin-top: 10px;
  }


  .today-text p.layout-left {
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 767px) {

  #today {
    text-align: center;
    margin-bottom: 40px;
    background: url("../images/code-bg-sp.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .today-box {
    display: block;
  }

  .today-image {
    width: auto;
    margin: 0 auto;
    margin-bottom: 15px;
  }

  .today-image img {
    max-width: 244px;
    vertical-align: bottom;
  }
  
  .today-image .main-image{
	width: auto;
	margin-bottom: 10px;
  }

  .today-text {
    display: block;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0 20px;
  }

  .today-text p {
    font-size: 14px !important;
    text-align: center;
  }

  .today-text p.layout-left {
    text-align: center;
    margin-bottom: 1em;
  }

  #item-images .box {
    text-align: center;
  }


  #item-detail {
    max-width: 98%;
    min-width: 0;
    padding: 15px;
  }

  #item-detail #slider {
    max-width: 90%;
    height: 270px;
  }

  #item-detail #slider img {
    height: 270px;
  }

  .zoomit-ghost {
    width: 90%;
    height: 100%;
    margin:0 auto;
  }

  #item-detail .item-next {
    width: 25px;
    height: 25px;
    top: 30%;
    right: 20px;
  }

  #item-detail .item-prev {
    width: 25px;
    height: 25px;
    top: 30%;
    left: 20px;
  }
}