@charset "UTF-8";

/* Header | ヘッダー */
@media screen and (min-width: 1200px) {
  .l-naviDelivery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 15px;

    max-width: 1240px;
    margin: 0 auto;
    width: 80%;
  }

  .l-naviDelivery_item {
    width: 31%;
  }

  .l-naviDelivery a {
    background: #fff;
    border-radius: 30px;
    text-align: center;
    padding: 15px;
  }
}

/* クーポン一覧ページ */
div.yourcoupons {
  padding: 50px 20px;
}

div.yourcoupons div.yourcoupon-list {
  flex-wrap: wrap;
  gap: 30px 20px;
}

div.yourcoupons div.coupon {
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);
  width: calc((100% / 3) - 14px);
  overflow: hidden;
  padding: 10px;
  position: relative;
  box-sizing: border-box;
}

div.yourcoupons div.coupon div.coupon-props {
  border-radius: 2px;
  padding: 10px 20px;
  position: relative;
  text-align: center;

  display: flex;
  flex-direction: column;
}

div.yourcoupons div.coupon div.coupon-props div.label {
  display: flex;
  flex-direction: column;
  width: fit-content;
  row-gap: 5px;
}

div.yourcoupons div.coupon div.coupon-props span.code {
  background-color: transparent;
  color: #000;
}

div.yourcoupons div.coupon div.coupon-props span.name {
  text-align: left;
}

div.yourcoupons div.coupon div.coupon-props div.expiry {
  display: flex;
  column-gap: 8px;
}

div.yourcoupons div.coupon div.coupon-props div.description {
  text-align: left;
}

@media screen and (max-width: 768px) {
  div.yourcoupons {
    padding: 30px 20px;
  }

  div.yourcoupons div.yourcoupon-list {
    gap: 20px;
  }

  div.yourcoupons div.yourcoupon-list {
    flex-direction: column;
  }

  div.yourcoupons div.coupon {
    width: 100%;
  }
}

/* 注文確認ページ */
#order__confirm .update-admail-opt-in h3 {
  margin: 30px 0 0;
}

#order__confirm .update-admail-opt-in form label {
  display: block;
  margin: 12px 0 0;
  font-size: 14px;
}

#order__confirm .update-admail-opt-in form .update-admail-opt-in-note {
  margin: 10px 0 0;
  font-size: 11px;
}

@media screen and (max-width: 768px) {
  #order__confirm .update-admail-opt-in h3 {
    margin: 0;
  }

  #order__confirm .update-admail-opt-in form label {
    font-size: 12px;
  }

  #order__confirm .update-admail-opt-in form .update-admail-opt-in-note {
    font-size: 10px;
  }
}

/* お届け先変更ページ（同じお届け先の引き継ぎ案内 #14238） */
#order__consignee .ena-consignee-carry {
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 1px solid #bcbcbc;
  background-color: #f7f7f7;
  color: #212121;
  font-size: 14px;
  line-height: 1.6;
}

#order__consignee .ena-consignee-carry-title {
  margin: 0;
  font-weight: bold;
}

#order__consignee .ena-consignee-carry-address {
  margin: 8px 0 0;
}

#order__consignee .ena-consignee-carry-address p {
  margin: 0;
}

#order__consignee .ena-consignee-carry-button {
  margin: 12px 0 0;
}

@media screen and (max-width: 768px) {
  #order__consignee .ena-consignee-carry {
    padding: 12px;
    font-size: 12px;
  }
}

/* 商品ページ */
#product #outer {
  max-width: 1240px;
}

#product #item-contents-purchase .item-description-prd {
  font-size: 1.2rem;
}

#product .article-option {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  gap: 10px;
  width: 55%;
  margin: 0 0 0 auto;
  box-sizing: border-box;
}

#product .article-option-btn {
  width: calc(50% - 5px);
  cursor: pointer;
}

#product .article-option-btn input[type="radio"] {
  display: none;
}

#product .article-option-btn span {
  width: 100%;
  display: inline-block;
  padding: 20px 10px;
  font-size: 16px;
  font-weight: 700;
  color: #212121;
  background-color: #fff;
  border: 2px solid #bcbcbc;
  border-radius: 4px;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

#product .article-option-btn:hover span {
  border: 2px solid #212121;
}

#product .article-option-btn input[type="radio"]:checked + span {
  background-color: #212121;
  border: 2px solid #212121;
  color: #ffffff;
}

#product #item-contents-main {
  flex-wrap: wrap;
}

#product div#item-contents-main #item-contents-purchase {
  width: 50%;
}

#product .item-purchase-table thead {
  display: none;
}

#product .item-purchase-table tbody {
  display: flex;
  justify-content: right;
}

#product .item-purchase-table tbody > tr {
  display: none;
  flex-direction: column;
  width: 55%;
}

#product .item-purchase-table tbody > tr.is-active {
  display: flex;
  animation: fadeIn 1s ease;
}

#product .item-purchase-table tbody tr .summary,
#product .item-purchase-table tbody tr .summary .summary-txt {
  padding: 0;
}

#product .item-purchase-table tbody tr .summary .item-thumbnail-img-wrapper,
#product .item-purchase-table tbody tr .summary .view-item-detail {
  display: none;
}

#product .item-purchase-table tbody tr .summary div.item-tags div.item-tag {
  background-color: transparent;
  padding: 0;
}

#product .item-aboutTag_option {
  display: none;
}

#product .item-purchase-table tbody td {
  border: none;
}

#product form.item-purchase div.item-qty-item {
  display: flex;
  align-items: center;
}

#product .ena-delivery-message {
  font-size: 12px;
  color: #977;
  text-align: right;
}

@media screen and (max-width: 768px) {
  #product #item-contents-main,
  #product .article-option,
  #product #item-purchase-table {
    padding: 0 20px;
  }

  #product .article-option {
    width: 100%;
  }

  #product .article-option-btn span {
    padding: 16px 5px;
    font-size: 12px;
  }

  #product .item-purchase-table tbody tr {
    width: 100%;
  }
}

/*-----------------------------------------------------------
	アニメーション
-----------------------------------------------------------*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Cart | カート */
body.cart {
  /* 代替商品 */
  .ofr-alternatives {
    margin-bottom: 12px;
    border: 1px solid #555;
  }

  .ofr-alternatives h4 {
    background-color: #555;
    color: white;
    padding: 5px 8px;
  }

  .ofr-alternatives ul {
    padding: 6px 4px;
  }

  .ofr-alternatives li {
    text-align: center;
  }
}

/* コミュニティ参加履歴・公開プロフィール */
body#account__your_communities,
body#account__edit_profile {
  div#page-title {
    display: block;
    margin: 40px 0 30px;
    text-align: center;
  }

  div#page-title .breadcrumbs {
    display: none;
  }

  div#page-title h1,
  div#page-title > strong {
    font-size: 24px !important;
    font-weight: normal;
    letter-spacing: 0.1em;
  }

  #container {
    padding-bottom: 60px;
  }
}

body#account__your_communities {
  div.talkthreads h2 {
    margin: 40px 0 0;
    padding: 0 0 10px;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
  }

  ol.talkthreads {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  ol.talkthreads > li {
    border-bottom: 1px solid #e5e5e5;
  }

  ol.talkthreads div.message {
    padding: 20px 0;
  }

  .talkthread.summary {
    display: flex;
    gap: 20px;
    padding: 16px 0;
  }

  .talkthread.summary .board {
    flex: 0 0 140px;
  }

  .talkthread.summary .board-icon {
    max-width: 100%;
    height: auto;
  }

  .talkthread.summary .board-name {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #a5825f;
    color: #a5825f;
    font-size: 12px;
  }

  .talkthread.summary .talkthread-detail {
    flex: 1;
    min-width: 0;
  }

  .talkthread.summary .title {
    font-size: 16px;
    font-weight: bold;
    overflow-wrap: anywhere;
  }

  .talkthread.summary .title a {
    text-decoration: underline;
  }

  .talkthread.summary .comment-count {
    display: inline-block;
    margin-left: 8px;
    color: #a5825f;
    font-size: 13px;
    font-weight: normal;
    white-space: nowrap;
  }

  .talkthread.summary .comment-count::before {
    content: "\f075";
    margin-right: 4px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
  }

  .talkthread.summary .latest-comment {
    margin-top: 6px;
    color: #555;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .talkthread.summary .latest-comment .info {
    margin-top: 4px;
    color: #888;
    font-size: 12px;
  }

  .talkthread.summary .latest-comment .nickname {
    margin-right: 10px;
  }
}

@media (max-width: 780px) {
  body#account__your_communities div.account,
  body#account__edit_profile div.form-edit-account {
    padding: 0 16px;
  }

  body#account__your_communities .talkthread.summary {
    display: block;
  }

  body#account__your_communities .talkthread.summary .board {
    margin-bottom: 6px;
  }

  body#account__edit_profile .formrow-submit button {
    width: 100%;
  }
}

body:not(:has(.form.signup-form, .form-signin.form-normal-signin)) #signupMenu + .SP_Flex_container,
body:not(:has(.form.signup-form, .form-signin.form-normal-signin)) .loginnote,
body:not(:has(.form.signup-form, .form-signin.form-normal-signin)) #loginInfo,
body:not(:has(.form.signup-form, .form-signin.form-normal-signin)) .box29 {
  display: none;
}

.form-signin.form-normal-signin {
  display: flex;
  flex-direction: column;
}

.form-signin.form-normal-signin div.formrow,
.form-signin.form-normal-signin div.form-password-reminder div.formrow {
  background-color: transparent;
}

.form-signin.form-normal-signin .form.signup-form {
  order: -1;
}
