/*----------------------------------------------------
  年賀状TOPページ
----------------------------------------------------*/
.sub-nav ul {
  display: table;
  letter-spacing: 0;
}

.sub-nav ul li {
  display: table-cell;
  margin: 0;
}

.sub-nav ul li:last-child a {
  padding-right: 0;
}

#nCard.top-page { 
  color: #231815;
}

.top-page-mainimg {
  width: 100%;
  margin: 30px 0;
}

.top-page-content {
  padding: 0 10px;
}

.webfont01 {
  font-family: 'Noto Sans JP' !important;
  font-feature-settings: "palt";
  line-height: 1.5;
}

.top-page-read {
  font-size: 25px;
  margin-bottom: 15px;
}

.top-page-read_sub {
  text-align: center;
  font-size: 15px;
  margin-bottom: 60px;
}

.top-page-read_sub a,
.top-page-read_sub a:hover {
  text-decoration: underline;
}

.top-page-chart-ttl {
  text-align: center;
  font-size: 20px;
  margin-bottom: 25px;
}

.mgn-btm01 {
  margin-bottom: 40px;
}

.line-h {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #666565;
}

.top-page-section-ttl {
  font-size: 28px;
  color: #e60012;
  margin: 0 0 10px 8px;
  text-indent: -.4em;
}

.top-page-chart-list {
  text-align: center;
}

.top-page-section-subttl {
  margin: 0 0 20px 8px;
}

.top-page-section-subttl img {
  width: auto;
  height: 24px;
}

.top-page-section-txt {
  font-size: 22px;
}

.top-page-section-txt span {
  display: block;
}

.top-page-section-list {
/*
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 35px;
*/
  font-size: 18px;
  margin-top: 40px;
}

.top-page-section-note {
  font-size: 15px;
  font-weight: bold;
  color: #e60012;
  margin-top: -30px;
  margin-left: 18px;
/*
  margin-left: 35px;
*/
}

@media screen and (min-width: 768px) {

  .sub-nav ul li a {
    margin-right: 18px;
  }

  .sub-nav ul li:last-child a {
    margin-right: 0;
  }

  .mgn-btm01 {
    margin-bottom: 120px;
  }

  .top-page-mainimg {
    margin: 70px 0 80px;
  }

  .top-page-read {
    text-align: center;
    font-size: 36px;
  }

  .top-page-read_sub {
    font-size: 18px;
    margin-bottom: 130px;
  }

  .top-page-chart-ttl {
    font-size: 25px;
  }

  .top-page-section-img > img.mgn-btm01 {
    margin-bottom: 0;
  }

  .top-page-section-list br,
  .top-page-section-txt br,
  .top-page-read br {
    display: none;
  }

  .top-page-chart-wrap {
    margin-bottom: 90px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .top-page-chart {
    width: 543px;
    margin-bottom: 50px;
  }

  .top-page-section-ttl {
    font-size: 36px;
  }

  .top-page-section-subttl img {
    height: auto;
  }

  .top-page-section-txt {
    font-size: 32px;
  }

  .top-page-chart-list {
    display: flex;
    justify-content: center;
  }

  .top-page-chart-list li img {
    width: auto;
    height: 630px;
    display: block;
  }

  .top-page-chart-list li img:hover {
    opacity: .7;
  }

  .line-v {
    width: 1px;
    height: 1340px;
    background: #666565;
  }

  .top-page-section-img {
    letter-spacing: -.4em;
  }

  .pc-img-row > img {
    letter-spacing: 0;
    display: inline-block;
    vertical-align: top;
  }

  .top-page-section-list {
    margin-top: -105px;
    font-size: 24px;
    line-height: 1.5;
  }

  .top-page-section-note {
    margin-top: -100px;
    margin-left: 26px;
    font-size: 16px;
  }

  .top-page-section-list span {
    font-size: 15px;
    display: inline-block;
    margin-left: 15px;
  }

}


/*----------------------------------------------------
  年賀状一覧ページ
----------------------------------------------------*/
.nenga-category-ttl {
  text-align: center;
  font-size: 25px;
  color: #231815;
  margin: 0 10px 30px;
}

.nenga_category {
  padding: 0 10px;
  margin: 15px 0 10px;
  text-align: center;
  letter-spacing: -.4em;
}

.nenga_category li {
  width: 25%;
  letter-spacing: 0;
  display: inline-block;
  vertical-align: top;
}

.nenga_category li a {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.nenga_category li a img {
/*
  transition: .3s;
  */
}

.nenga_category li a img:first-child {
  position: absolute;
  top: 0;
  left: 0;
}

.nenga_category li a:hover img:first-child,
.nenga_category li.active a img:first-child {
  opacity: 0;
}

.nenga_category + p {
  text-align: right;
  margin: 0 20px 20px;
}

.nenga_category li a {
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

.item-lists-block .listphoto2 {
  vertical-align: top;
}

/*
.item-lists .item-lists-block .listphoto2 img {
  width: 123px;
  height: 182px;
}

.item-lists .item-lists-block .listphoto2-yoko img {
  width: 182px;
  height: 123px;
}
*/

@media screen and (min-width: 768px) {
  #nCard.list-page #breadcrumbs {
    margin: 15px 0 50px;
  }

  .nenga-category-ttl {
    font-size: 36px;
    margin-bottom: 60px;
  }

  .nenga_category {
    margin: 30px 0 0;
    padding: 0;
    letter-spacing: -.4em;
    text-align: center;
  }

  .nenga_category li {
    letter-spacing: 0;
    width: auto;
    display: inline-block;
  }

  .nenga_category + p {
    margin: 10px 42px 35px 0;
  }


}


/*----------------------------------------------------
  年賀状詳細ページ
----------------------------------------------------*/
.nenga-detail-ttl-wrap {
  text-align: center;
}

.nenga-detail-ttl {
  font-size: 24px;
  color: #231815;
  margin: 40px 0 0;
  letter-spacing: -.4em;
  line-height: 1.4;
  position: relative;
  padding: 0 10px;
}

.nenga-detail-ttl img {
  position: absolute;
  top: 0;
  left: 10px;
}

.nenga-detail-ttl-txt {
  margin-left: 74px;
  letter-spacing: 0;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

.nenga-detail-ttl-txt span {
  font-size: 14px;
  display: block;
}

.same_design_txt {
  margin-bottom: 20px;
}

button#cboxClose {
  right: 10px;
}

/* デザインへのこだわり */
#kodawari_block { 
  margin-top: 20px;
}

#nCard #item_info {
  margin: 0 0 0 10px;
}

#nCard #item_info p {
  text-align: center;
  margin: 30px 0;
}

#cboxContent {
  margin-top: 0 !important;
  padding-top: 32px;
  background: #fff !important;
}

button#cboxClose {
  top: 10px;
}

#nCard #cartbtn_default {
  margin: 30px 0 0;
}

.img-tate #same_design,
.img-yoko #same_design {
  padding: 0;
  max-width: none;
}

#same_design_ttl {
  padding: 0 10px;
}

.img-tate .main_comment,
.img-yoko .main_comment {
  margin: 0 auto 10px;
}

#recommend_product_title,
.same_design_ttl {
  font-size: 25px;
  color: #231815;
}

@media screen and (min-width: 768px) {

  .nenga-detail-ttl {
    margin-top: 80px;
  }

  #nCard.detail-page #breadcrumbs {
    margin: 15px 0 100px;
  }

  #recommend_product_title,
  .same_design_ttl {
    font-size: 29px;
  }

/*  縦
----------------------------------------------------*/

  /* 私製 */
  .img-tate .nenga-detail-ttl {
    font-size: 29px;
    margin-left: 355px;
  }

  /* お年玉 */
  .img-tate.otoshidama .nenga-detail-ttl {
    margin-left: 367px;
  }

  .nenga-detail-ttl img {
    left: 0;
  }

  .nenga-detail-ttl-txt {
    margin-left: 64px;
  }

  .nenga-detail-ttl-txt span {
    font-size: 19px;
  }

  /* 私製はがき  縦 */
  .img-tate .main_comment {
    top: 100px;
  }

  #nCard .img-tate #kodawari_block {
    top: 425px;
    right: 130px;
  }

  .img-tate #item_img {
    margin-bottom: 40px;
  }

  select[name="quantity"] {
    display: block;
    margin-bottom: 10px;
  }

  /* 私製 */
  #nCard #item-details.img-tate #back01,
  #nCard #item-details.img-tate #next01 {
    top: 796px;
  }

  #nCard #item-details.img-tate #back01 {
    left: -140px;
  }

  #nCard #item-details.img-tate #next01 {
    right: -140px;
  }

  /* お年玉 */
  #nCard #item-details.img-tate.otoshidama #back01,
  #nCard #item-details.img-tate.otoshidama #next01 {
    top: 790px;
  }

  #nCard #item-details.img-tate.otoshidama #back01 {
    left: -123px;
  }

  #nCard #item-details.img-tate.otoshidama #next01 {
    right: -123px;
  }

  /* 私製 */
  .img-tate #same_design #same_design_body {
    width: 490px;
  }

  /* お年玉 */
  .img-tate.otoshidama #same_design #same_design_body {
    width: 466px;
  }

}


/*  横
----------------------------------------------------*/
.img-yoko #same_design {
  width: 100%;
  max-width: none;
}

@media screen and (min-width: 768px) {

  .img-yoko #item_img {
    margin-bottom: 40px;
  }

  #kodawari_block.yoko {
    top: 435px;
    right: 30px;
  }

  select[name="quantity"] {
    width: 91px;
    margin: 0 auto 10px;
    display: block;
  }

  /* 私製 */
  .img-yoko .nenga-detail-ttl {
    font-size: 29px;
    margin-left: 250px;
  }

  /* お年玉 */
  .img-yoko.otoshidama .nenga-detail-ttl {
    margin-left: 255px;
  }

  #item-details.img-yoko .main_comment {
    top: 95px;
  }

  /* 私製 */
  .img-yoko #same_design #same_design_body {
    width: 700px;
  }

  /* お年玉 */
  .img-yoko.otoshidama #same_design #same_design_body {
    width: 690px;
  }

  /* 私製 */
  #nCard #item-details.img-yoko #back01,
  #nCard #item-details.img-yoko #next01 {
    top: 585px;
  }

  #nCard #item-details.img-yoko #back01 {
    left: -90px;
  }

  #nCard #item-details.img-yoko #next01 {
    right: -90px;
  }

  /* お年玉 */
  #nCard #item-details.img-yoko.otoshidama #back01,
  #nCard #item-details.img-yoko.otoshidama #next01 {
    top: 570px;
  }

}
