@charset "utf-8";

/* カスタマイズ用CSS */

/* =====================================================
 * ALL
 * ================================================== */

body {
  font-family: initial;
}

/* link */

a {
  color: #000;
  text-decoration: none;

  transition: all 0.2s ease;
}

a:visited {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #000;
  opacity: 0.7;
  text-decoration: none;
}

a:active {
  color: #000;
  text-decoration: none;
}

.mod-news-text p:hover {
  text-decoration: none;
}

.l-footer-nav li a:hover {
  text-decoration: underline !important;
}

.l-breadcrumbs ol li a:hover {
  text-decoration: underline !important;
}

/* social */

.pls-mod-insta {
  margin: 12px 0 0;
}

.pls-mod-fb {
  margin: 15px 0;
}

@media print, screen and (min-width: 768px) {
  .pls-mod-fb { height: 315px;}
}


.ec-link {
  color: #000;
  transition: all 0.2s ease;
}

.ec-link:hover {
  color: #000;
  opacity: 0.7;
  text-decoration: underline !important;
}

.ec-zipInputHelp span {
  color: #000;
  transition: all 0.2s ease;
}

.ec-zipInputHelp span:hover {
  opacity: 0.7;
  text-decoration: underline !important;
}

.ec-topicpath {
  color: #000;
  transition: all 0.2s ease;
}

.ec-topicpath a:hover {
  opacity: 0.7;
  text-decoration: underline !important;
}

.ec-orderDelivery__item a:hover {
  opacity: 0.7;
  text-decoration: underline !important;
}

.mark, mark {
  background-color: initial;
  padding: initial;
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .mod-nav-children li:first-child {
      margin: 0;
  }
}

/* =====================================================
* reset
* ================================================== */

.no-border {
  border: 0;
  border-radius: 0;
}

.no-mgn {
  margin: 0;
}

a.clr-white ,
a.clr-white:hover ,
a.clr-white:active ,
a.clr-white:focus ,
a.clr-white:visited {
  color: #fff !important;
}

/* h1 */

.ec-pageHeader {
  margin: 60px 0px 40px 0px;
  padding: 0;
}

.ec-pageHeader h1 {
  color: #000000;
  font-size: 2.5rem;
  font-weight: normal;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.012em;
  margin: 20px 0 0 0 !important;
  border: none;
  padding: 0 !important;
}

@media only screen and (max-width: 767px){
  .ec-pageHeader {
    margin: 40px 0px;
  }

  .ec-pageHeader h1 {
    font-size: 2.0rem;
    font-weight: normal;
    margin: 0;
    padding: 0;
  }

  .ec-mypageRole .ec-pageHeader h1{
    margin: 0;
    padding: 0;
  }
}

.u-myp-header {
  padding-bottom: 0;
}

.u-myp-header h1 {
  margin: -20px 0 0px 0;
}

@media only screen and (min-width: 768px){
  .ec-pageHeader.u-myp-header {
    padding: 0px;
  }

  .u-myp-header h1 {
    margin: 60px 0 40px;
    line-height: 1.5;
  }

  .u-myp-header {
      margin: 60px 0 40px !important;
      text-align: center !important;
  }
}

/* mod timer */

.mod-timer .timer {
  margin: 0 0 0 0;
}

@media only screen and (min-width: 768px){
  .mod-timer .timer {
    margin: 0 0 0 8px;
  }
}


/* =====================================================
* button
* ======================================================
ボタンルール
  origin : 進む 決定
  gray   : 戻る 詳細 売り切れ
  purple : Mypage内リンク
  raku   : R Pay
*/

.pls-mod-btn-origin {
  font-weight: normal !important;
  color: #ffffff !important;
  background: #890327 !important;
  border: 0 !important;
  border-radius: 9px !important;
  transition: opacity 0.2s ease-in-out !important;
}

.pls-mod-btn-origin:hover ,
.pls-mod-btn-origin:active {
  opacity: 0.7 !important;
  background: #890327 !important;
}

.pls-mod-btn-gray {
  font-weight: normal !important;
  color: #ffffff !important;
  background: #9c9c9c !important;
  border: 0 !important;
  border-radius: 9px !important;
  transition: opacity 0.2s ease-in-out !important;
}

.pls-mod-btn-gray:hover ,
.pls-mod-btn-gray:active {
  opacity: 0.7 !important;
  background: #9c9c9c !important;
}

.pls-mod-btn-purple {
  font-weight: normal !important;
  color: #ffffff !important;
  background: #76778f !important;
  border: 0 !important;
  border-radius: 9px !important;
  transition: opacity 0.2s ease-in-out !important;
}

.pls-mod-btn-purple:hover ,
.pls-mod-btn-purple:active {
  opacity: 0.7 !important;
  background: #76778f !important;
}

/* 売り切れ時 */

.mod-product-cart button:disabled {
  color: #ffffff !important;
  background: #9c9c9c !important;
  border: 0 !important;
  border-radius: 9px !important;
  opacity: 1.0 !important;
  pointer-events: none !important;
}

.mod-product-cart button:disabled:after {
  background: none !important;
}

/* 決算ボタンエリア書き換え*/

.pls-mod-btn-confirm > button {
  color: #000 !important;
  font-size: 16px !important;
  font-weight: normal !important;
  border: none;
  padding: 0;
  margin: 0 auto;
  background: none;
  width: 100%;
  line-height: 16px;
  transition: opacity 0.2s ease-in-out;
}

.pls-mod-btn-confirm > button:hover {
  background: none;
  border: none;
  color: #000;
  background: none;
  opacity: 0.7;
}

.pls-mod-btn-confirm > button:focus ,
.pls-mod-btn-confirm > button:active {
  outline: 0 !important;
  background: none;
  border: 0;
  box-shadow: none;
}

.pls-mod-btn-confirm > button > p {
  font-weight: normal;
  color: #fff;
  background: #890327;
  border-radius: 9px;
  line-height: 56px;
  transition: opacity 0.2s ease-in-out;
}

.pls-mod-btn-confirm > button > img {
  width: 100%;
}


/* =====================================================
 * link
 * ===================================================*/

.mod-btn.border:hover {
  background: #890327;
  color: #fff;
  transition: 0.5s;
  opacity: 0.7;
}

.mod-btn.border:hover:after {
  background-image: url(../img/ico_arrow_right_02.png);
  transition: 0.5s;
}

.mod-btn.border.white:hover {
  background: #fff;
  color: #000;
  transition: 0.5s;
  opacity: 0.7;
}


/* =====================================================
 * product
 * ================================================== */

.modal{
  position: initial;
}

@media (min-width: 768px) {
  .modal-content {
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

.modal-content {
  border: none;
  border-radius: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* 商品詳細 - ボトル詳細 - モーダル表示 */

@media (max-width: 767px) {
  .pls-modal-bottle {
    background-color: rgba(255,255,255,0.85)
  }

  .pls-modal-bottle .modal-content {
    background-color: transparent;
  }
}

/* フリーエリア調整 */

.mod-product-info-inner.block .data > span {
  display: block;
  width: 100%;
  justify-content: space-between;
  font-weight: bold;
  line-height: 2;
}

.mod-product-info-inner.block .data > span:nth-child(n+2) {
  margin-top: 15px;
}

/* 個数エラー調整 */
@media only screen and (max-width: 767px) {
}

/* =====================================================
 * soldout btn
 * ================================================== */

button.u-so-btn {
  cursor: not-allowed;
  color: inherit;
}

button.u-so-btn:after {
  background: none !important;
}

.mod-btn:hover.u-so-btn:hover {
  color: inherit;
  opacity: 1.0 !important;
}

.u-so-btn-list ,
.u-so-btn-list:hover {
  cursor: not-allowed;
  opacity: 1.0 !important;
  padding: 0;
}


/* =====================================================
 * favorite button
 * ================================================== */

button.u-fv-btn {
    margin: 0 !important;
    padding: 0 !important;
}

button.u-fv-btn-checked {
  color: inherit !important;
  background: none !important;
  border: none !important;
}

@media only screen and (min-width: 768px){
  button.u-fv-btn {
    width: 300px !important;
    height: 62px !important;
    margin: 0 auto !important;
    font-size: 1.6rem !important;
  }

  button.u-fv-btn-checked {
    font-size: 1.6rem !important;
  }
}

button.u-fv-btn-checked:hover {
  color: inherit !important;
  background: none !important;
  border: none !important;
}

@media screen and (min-width: 768px){
  .ec-closeBtn--circle {
    z-index: 6;
  }
}

/* =====================================================
 * cart
 * ================================================== */

/* 動線色替え */

.ec-progress .ec-progress__number {
 background: #666;
}

.ec-progress .ec-progress__item:after {
 background: #666;
}

.ec-progress .is-complete .ec-progress__number {
 background: #890327;
}

.ec-progress .is-complete .ec-progress__label {
 color: #890327;
}

.ec-cartRole .ec-cartRole__totalAmount {
  color: #890327;
}

/*値段色替え*/

.ec-totalBox .ec-totalBox__paymentTotal .ec-totalBox__price,
.ec-totalBox .ec-totalBox__paymentTotal .ec-totalBox__taxLabel {
  color: #890327;
}


/* =====================================================
 * history & Shopping(All)
 * ================================================== */

.ec-rectHeading h2 {
  color: inherit;
  text-align: left;
  padding: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #f4f3f0;
}

.ec-orderAccount .ec-rectHeading h2 {
  margin-top: 0;
}

.ec-orderAccount .ec-orderAccount__account {
  margin-bottom: 0;
}

.u-mod-de-inlinebtn {
   padding: 6px 25px;
   margin-top: -4px;
}

.u-back-btn {
  margin-top: 20px;
  width: 100%;
  padding: 16px 0;
}

@media only screen and (min-width: 768px){
  .u-back-btn {
    width: 30%;
    padding: 16px 0;
    margin: 20px 16px;
  }
}

/* SHOPPING */

@media only screen and (max-width: 767px){

  /* 登録済みクレジットカード決済 */

  #shopping_order_payment_type_1_body .dl_table dl {
    display: table !important;
    width: 100%;
    margin: 0 auto 20px auto;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
  }

  #shopping_order_payment_type_1_body .dl_table dl:last-child {
    margin-bottom: 0;
  }

  #shopping_order_payment_type_1_body div:first-of-type dl:first-child {
    display: none !important;
  }

  #shopping_order_payment_type_1_body div:last-of-type dl {
    border: none;
  }

  #shopping_order_payment_type_1_body .dl_table dl dd {
    display: block;
    border: none;
  }

  #shopping_order_payment_type_1_body .dl_table dl dd:nth-child(1) {
    text-align: center;
    display: table-cell;
    width: 7%;
  }

  #shopping_order_payment_type_1_body .dl_table dl dd:nth-child(2) {
    text-align: center;
    display: table-cell;
    width: 45%;
    font-size: 90%;
    padding: 0 2%;
  }

  #shopping_order_payment_type_1_body .dl_table dl dd:nth-child(3),
  #shopping_order_payment_type_1_body .dl_table dl dd:nth-child(4) {
    text-align: right;
    width: 100%;
    word-break: break-all;
    font-size: 90%;
  }

  #shopping_order_payment_type_1_body .dl_table dd input[type="radio"] {
    content: "";
    display: block;
    margin: 0;
  }

  #shopping_order_payment_type_1_body .dl_table dt,
  #shopping_order_payment_type_1_body .dl_table dd {
    display: inline;
  }

  #shopping_order_payment_type_1_body dt,
  #shopping_order_payment_type_1_body dd {
      border: 0 !important;
  }

  #shopping_order_payment_type_1_body .save_pay_methods {
    width: 50%;
  }

  /*クレジットカード決済*/

  #shopping_order_payment_type_0_body {
    display: inline;
    border-top: 1px dotted #ccc;
  }

  #shopping_order_payment_type_0_body dl {
    display: block !important;
    height: auto !important;
    border-bottom: 1px dotted #ccc;
    padding: 0.25em 0.25em 1.25em;
  }

  #shopping_order_payment_type_0_body dl:last-child {
    margin-bottom: 0;
    border: 0;
  }

  #shopping_order_payment_type_0_body dt {
    display: block !important;
    width: 100% !important;
    font-weight: bold !important;
    line-height: 39px;
  }

  #shopping_order_payment_type_0_body dd {
    display: block !important;
    width: 95%;
    margin: 0 auto;
  }

  #shopping_order_payment_type_0_body dd .ec-select {
    margin-bottom: 0;
  }
}


/* =====================================================
 * help
 * ================================================== */

.ec-cartRole__progress {
  z-index: 9;
}


/* =====================================================
* overwrite important
* ================================================== */

@media screen and (max-width: 767px) {
  nav.l-header-nav ul.mod-header-nav,
  nav.l-header-nav ul.mod-header-nav li,
  nav.l-header-nav ul.mod-header-nav li div.mod-nav-children-inner,
  nav.l-header-nav ul.mod-header-nav li div.mod-nav-children-inner ul,
  nav.l-header-nav ul.mod-header-nav li div.mod-nav-children-inner ul li {
    z-index: 7;
  }
  .mod-header-nav {
    background: #f4f4f4;
  }
}

.mod-check-switch > .form-check {
  display: inline-block;
}

.mod-mypage-user table td:last-child {
  width: 100px;
}

.mod-mypage-user table td:last-child span {
  font-size: 12px;
}

@media print, screen and (min-width: 768px) {
  .mod-mypage-user table td:last-child span {
    font-size: 13px;
    width: 110px;
  }
}


/* =====================================================
* border defs style overwrite
* ================================================== */

.u-dl-rule dl input#entry_file_name,
.u-dl-rule .ec-select > input {
  border: 0;
}

@media only screen and (min-width: 768px) {
  .u-dl-rule dl {
    min-height: 80px;
  }

  .u-dl-rule dl input#entry_company_name,
  .u-dl-rule dl input#entry_address_addr01,
  .u-dl-rule dl input#entry_address_addr02,
  .u-dl-rule dl input#entry_phone_number,
  .u-dl-rule dl input#entry_email_first,
  .u-dl-rule dl input#entry_email_second,
  .u-dl-rule dl input#entry_password_first,
  .u-dl-rule dl input#entry_password_second,
  .u-dl-rule dl input#entry_nickname,
  .u-dl-rule dl input#entry_file_name,
  .u-dl-rule dl input#customer_address_company_name,
  .u-dl-rule dl input#customer_address_address_addr01,
  .u-dl-rule dl input#customer_address_address_addr02 {
    margin-bottom: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .u-dl-rule dl input#entry_company_name,
  .u-dl-rule dl input#entry_address_addr01,
  .u-dl-rule dl input#entry_address_addr02,
  .u-dl-rule dl input#entry_phone_number,
  .u-dl-rule dl input#entry_email_first,
  .u-dl-rule dl input#entry_email_second,
  .u-dl-rule dl input#entry_password_first,
  .u-dl-rule dl input#entry_password_second,
  .u-dl-rule dl input#entry_nickname,
  .u-dl-rule dl input#entry_file_name,
  .u-dl-rule dl input#customer_address_company_name,
  .u-dl-rule dl input#customer_address_address_addr01,
  .u-dl-rule dl input#customer_address_address_addr02 {
    margin-bottom: 10px;
  }
}

/* 組みなおし */

.u-dl-rule-edit dl,
.u-dl-rule-edit dt,
.u-dl-rule-edit dt label,
.u-dl-rule-edit dd,
.u-dl-rule-edit dd input,
.u-dl-rule-edit dd div,
.u-dl-rule-edit dd label,
.u-dl-rule-edit dd select {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.u-dl-rule-edit dl {
  padding: 1.50em 0.75em;
  line-height: 2.00em;
}

@media only screen and (max-width: 767px){
  .u-dl-rule-edit dl {
    padding: 0.25em 0.25em 1.25em;
  }
}

.u-dl-rule-edit dt {
  line-height: 2.40em
}

.u-dl-rule-edit dd {
  line-height: 2.40em;
}

.u-dl-rule-edit dd input {
  padding: 6px 12px;
}

.u-dl-rule-edit dd .ec-halfInput input {
  width: 47%;
}

@media only screen and (max-width: 767px){
  .u-dl-rule-edit dd .ec-halfInput input {
    padding: 6px 12px;
    width: 47%;
    margin-left: 3%;
  }
}

.u-dl-rule-edit dd input#entry_file_name {
  border: 0;
  line-height: 22px;
  padding: 6px 0;
}

.u-dl-rule-edit dd div {
  line-height: inherit;
}

.u-dl-rule-edit dd > div:nth-child(n+2) {
  margin-top: 18px;
}

.u-dl-rule-edit dd div.ec-birth span {
  margin: 0 6px;
}

.u-dl-rule-edit dd div.ec-radio {
  padding: 4px 0;
}

.u-dl-rule-edit dd div.ec-radio input:nth-child(n+2) {
  margin-left: 20px;
}

.u-dl-rule-edit dd div.ec-zipInputHelp {
  line-height: 1;
  margin-left: 8px;
}

.u-dl-rule-edit dd div.ec-zipInputHelp span {
  vertical-align: 0;
  margin-left: 4px;
}

.u-dl-rule-edit dd select {
  height: 40px;
  padding: 3px 12px;
}

.u-dl-rule-edit dd .ec-select img {
  width: auto;
  height: auto;
}

/* error log */

.pls-halfEdit {
  clear: both;
}

.ec-halfInput.error.pls-halfEdit .ec-errorMessage {
  width: 47%;
  display: inline-block;
  vertical-align: top;
}

.ec-halfInput.error.pls-halfEdit .ec-errorMessage:nth-of-type(2) {
  width: 47%;
  display: inline-block;
  margin-left: 3%;
}



/* =====================================================
* MY PAGE
* ================================================== */

/* payment */

#gmo_payment_gateway_card_edit_navi {
  display: none;
}

/* history */

.u-orderDelivery .ec-imageGrid__content {
  padding: 10px 10px 10px 0;
}

.u-orderDelivery .ec-orderDelivery__address {
  margin: 18px 0 18px !important;
}

.ec-orderMail-opener {
  font-size: 14px;
  display: block;
  position: relative;
  margin: 20px 0;
}

@media only screen and (max-width: 767px){
  .ec-orderMail-opener {
    font-size: 12px;
    margin-bottom: 20px !important;
  }
}

.ec-orderMail-opener .mod-ac-trigger {
  display: block;
  position: relative;
  background-color: #f0f0f0;
  border-radius: 9px;
  padding: 10px 25px 10px 10px;
}

.ec-orderMail-opener .mod-ac-trigger:after {
  content: '';
  display: block;
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #890327 url(../img/ico_arrow_right_02.png) no-repeat 55% 50%;
  background-size: auto 9px;
  -webkit-transform: rotateZ(90deg);
  transform: rotateZ(90deg);
}

@media only screen and (max-width: 767px){
  .ec-orderMail-opener .mod-ac-trigger:after {
    top: 7px;
  }
}

.mec-orderMail-opener.is-active a:after {
  -webkit-transform: rotateZ(-90deg);
  transform: rotateZ(-90deg);
}

.ec-orderMail-opener div.is-active a:after {
  -webkit-transform: rotateZ(-90deg);
  transform: rotateZ(-90deg);
}

.mod-ac-target .mod-ac-trigger {
  background: none;
  padding: 10px 0;
}

.mod-ac-target .mod-ac-trigger:before {
  content: '';
  display: inline-block;
  position: relative;
  top: -0.05em;
  width: 9px;
  height: 9px;
  margin: 0 5px 0 0;
  background: url(../img/ico_times_01.png) no-repeat 0 0;
  background-size: contain;
  vertical-align: middle;
}

.mod-ac-target .mod-ac-trigger:after {
  background: none !important;
}

.ec-orderMail__body {
  margin: 20px 0;
  word-break: break-all;
}

/* cellar */

table.u-seen-mypage-tbl td:last-child {
  width: auto;
  text-align:left;
}

.u-tbl-price-count {
  width: 100%;
  margin-top: 16px;
}

.u-tbl-price-count td:first-child {
  width: 70%;
  text-align: left;
}

.u-tbl-price-count td:last-child {
  width: 30%;
  text-align: right;
}

.u-tbl-price-count td:last-child {
  text-align: right;
}

@media only screen and (min-width: 768px) {
  .u-head-no-navi {
    border-top: 1px solid #ddd;
    margin: 28px 0 0;
  }

  table.u-seen-mypage-tbl td:last-child {
    width: 100%;
  }
}

/* my cellar */

#cellar_wrap .mod-mypage .l-column.col-5 .l-column-inner {
  padding: 5px;
}

.mycellar_checked {
  background: #fde4ed;
}

.mycellar_checked .l-column-text .mod-selnum .mod-select select {
  background: #fff;
  border: 1px solid #890327;
}

.mod-select,
.mod-edit-image {
  cursor: pointer;
}

/* gmo card edit */

.ec-layoutRole__main > .ec-mypageRole > .mod-local-nav {
  max-width: 1200px;
  margin: 0 auto;
}

@media only screen and (max-width: 767px){
  .ec-layoutRole__main > .ec-mypageRole > .mod-local-nav {
    margin: -28px -16px 0;
  }
}

.ec-cardRole {
  width: 83.333%;
  max-width: 956px;
  margin: 0px auto;
  padding: 20px 0;
}

@media only screen and (min-width: 768px){
  .ec-cardRole .ec-borderedDefs dt {
    width: 35.5%;
  }
}

.ec-cardRole .alert {
  margin-top: 20px;
}

@media only screen and (max-width: 767px){
  .ec-cardRole {
    width: initial;
    margin: 10px 0;
    padding: 0;
  }

  .ec-cardRole .alert {
    margin-top: 0;
  }

  .ec-layoutRole__main form#form1 {
    margin-top: 40px;
  }

  .ec-cardRole .ec-cardList {
    overflow: auto;
    white-space: nowrap;
  }

  .ec-cardRole .ec-cardList .table {
    margin: 0;
  }

  .ec-cardRole .ec-cardList .table th:first-child,
  .ec-cardRole .ec-cardList .table td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background: #fff;
  }

  .ec-cardRole .ec-cardList .table thead th:first-child,
  .ec-cardRole .ec-cardList .table tbody td:first-child {
    z-index: 2;
    background: #fff;
  }

  .ec-halfInput input#mypage_card_card_no,
  .ec-halfInput input#mypage_card_card_name1 {
    width: 100% !important;
  }
}

.ec-cardRole__actions > #delete_card_action {
  font-weight: normal !important;
  color: #ffffff !important;
  background: #9c9c9c !important;
  border: 0 !important;
  border-radius: 9px !important;
  transition: opacity 0.2s ease-in-out !important;
}

.ec-cardRole__actions > #delete_card_action:hover ,
.ec-cardRole__actions > #delete_card_action:active {
  opacity: 0.7 !important;
  background: #9c9c9c !important;
}

.ec-cardRole__actions > #save_card_action {
  width: 33.333%;
  font-weight: normal !important;
  color: #ffffff !important;
  background: #890327 !important;
  border: 0 !important;
  border-radius: 9px !important;
  transition: opacity 0.2s ease-in-out !important;
  display: block;
  line-height: 40px;
  margin: 0 auto;
}

.ec-cardRole__actions > #save_card_action:hover ,
.ec-cardRole__actions > #save_card_action:active {
  opacity: 0.7 !important;
  background: #890327 !important;
}

@media only screen and (max-width: 767px){
  .ec-cardRole__actions > #delete_card_action {
    margin-top: 20px;
  }

  .ec-cardRole__actions > #save_card_action {
    width: initial;
  }
}


/* =====================================================
* withdraw & withdraw_confiorm & withdraw_complete
* ================================================== */

.u-wd-adjust .ec-icon {
  margin: 0 0 20px 0;
}

.u-wd-adjust .ec-withdrawRole .ec-withdrawRole__description ,
.u-wd-adjust .ec-withdrawConfirmRole__description {
  margin-bottom: 40px !important;
}

.u-wd-adjust .ec-withdrawConfirmRole__title ,
.u-wd-adjust .ec-withdrawConfirmRole__description {
  text-align: center;
}


/* =====================================================
* plus text align
* ================================================== */

.pls-ta-left {
  text-align: left;
}

.pls-ta-right {
  text-align: right;
}

.pls-ta-center {
  text-align: center;
}


/* =====================================================
* plus margin & padding
* ================================================== */

.pls-pdg-top-reset {padding-top: 0 !important;}
.pls-pdg-btm-reset {padding-bottom: 0 !important;}
.pls-pdg-lf-reset {padding-left: 0 !important;}
.pls-pdg-rg-reset {padding-right: 0 !important;}

.pls-mgn-top-reset {margin-top: 0 !important;}

.pls-mgn-top-10 {margin-top: 10px;}
.pls-mgn-top-16 {margin-top: 16px;}
.pls-mgn-top-24 {margin-top: 24px;}
.pls-mgn-top-30 {margin-top: 30px;}

.pls-mgn-btm-reset {margin-bottom: 0 !important;}

.pls-mgn-btm-10 {margin-bottom: 10px;}
.pls-mgn-btm-16 {margin-bottom: 16px;}
.pls-mgn-btm-24 {margin-bottom: 24px;}
.pls-mgn-btm-30 {margin-bottom: 30px;}
@media only screen and (max-width: 767px){
  .pls-mgn-btm-sp10 {margin-bottom: 10px !important;}
  .pls-mgn-btm-sp16 {margin-bottom: 16px !important;}
  .pls-mgn-btm-sp24 {margin-bottom: 24px !important;}
  .pls-mgn-btm-sp30 {margin-bottom: 30px !important;}
}

.pls-mgn-lf-reset {margin-left: 0 !important;}
.pls-mgn-lf-10 {margin-left: 10px;}
.pls-mgn-lf-16 {margin-left: 16px;}
.pls-mgn-lf-24 {margin-left: 24px;}
.pls-mgn-lf-30 {margin-left: 30px;}

.pls-mgn-rg-reset {margin-right: 0 !important;}
.pls-mgn-rg-10 {margin-right: 10px;}
.pls-mgn-rg-16 {margin-right: 16px;}
.pls-mgn-rg-24 {margin-right: 24px;}
.pls-mgn-rg-30 {margin-right: 30px;}

.pls-mgn-tb-20 {margin: 20px 0 !important;}

.pls-mgn-lr-20 {margin: 0 20px !important;}

/* レスポンシブ用 */

@media only screen and (max-width: 767px){
  .pls-mgn-btm-r10_16 {margin-bottom: 10px !important;}
  .pls-mgn-btm-r6_12 {margin-bottom: 6px !important;}
}

@media only screen and (min-width: 768px){
  .pls-mgn-btm-r10_16 {margin-bottom: 16px !important;}
  .pls-mgn-btm-r6_12 {margin-bottom: 12px !important;}
}


/* =====================================================
* img
* ================================================== */

/* マイページ ユーザー画像 */

.mod-mypage-user figure img {
  object-fit: cover;
}

/* 購入したユーザー画像 */

.mod-list-purchase-image img {
  object-fit: cover;
  width: 56px;
  height: 56px;
}

@media only screen and (max-width: 767px) {
  .mod-list-purchase-image img {
    width: 48px;
    height: 48px;
  }
}


/* =====================================================
* Complete style
* ================================================== */

/* 不足分 */

.ec-forgetCompleteRole {
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.4;
  color: #525263;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 1230px;
}

/* utility */

.u-compbox h2 {
  font-size: 90%;
  line-height: 1.5;
}

.u-compbox p {
  font-size: 90%;
  line-height: 2.0;
  margin-top: 0.75em;
}

.u-compbox p:first-child {
  margin-top: 0;
}

.u-compbox .ec-reportHeading {
  margin-top: 0;
}

@media only screen and (min-width: 768px) {
  .u-compbox div p br {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .u-compbox div p br {
    display: inline;
  }
}


/* =====================================================
* Thanks page pls Style
* ================================================== */

h2.u-shop-comp-head {
  font-size: 28px;
}

@media only screen and (max-width: 767px) {
  .ec-reportHeading {
    border: 0;
  }

  h2.u-shop-comp-head {
    font-size: 20px;
  }
}

.u-shop-comp-text p {
  font-size: 1.4rem;
  line-height: 2.5;
  text-align: center;
}

.u-shop-comp-result {
  margin-top: 30px;
}

.u-shop-comp-result .result-text p {
  line-height: 2.0;
}

.u-shop-comp-result .result-text p.upgrade {
  font-weight: bold;
  color: #890327;
}

.u-shop-comp-result ul.bottle-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.u-shop-comp-result ul.bottle-list li .wine-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.u-shop-comp-result ul.bottle-list li .wine-image:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.u-shop-comp-result ul.bottle-list li .wine-image img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@media only screen and (min-width: 768px) {
  .u-shop-comp-result ul.bottle-list {
    margin: 0px -40px;
  }

  .u-shop-comp-result ul.bottle-list li {
    width: 30%;
    margin-top: 5%;
  }

  .u-shop-comp-result ul.bottle-list li:nth-child(3n+2) {
    margin-left: 5%;
    margin-right: 5%;
  }

  .u-shop-comp-result ul.bottle-list li:last-child {
    margin-right: 0;
  }
}

@media only screen and (max-width: 767px) {

  .u-shop-comp-result ul.bottle-list li {
    width: 47.5%;
    margin-top: 5%;
  }

  .u-shop-comp-result ul.bottle-list li:nth-child(even) {
    margin-left: 5%;
  }
}

.u-shop-comp-result ul.bottle-list li .wine-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* グレード 線 */

.glade-up-rank-s .wine-image ,
.glade-up-rank-S .wine-image {
  border: 7px solid #d7b562;
  box-sizing: border-box;
}

.glade-up-rank-a .wine-image ,
.glade-up-rank-A .wine-image {
  border: 3px solid #d7b562;
  box-sizing: border-box;
}

.glade-up-rank-b .wine-image ,
.glade-up-rank-B .wine-image {
  border: 7px solid #bfbfbf;
  box-sizing: border-box;
}

.glade-up-rank-c .wine-image ,
.glade-up-rank-C .wine-image {
  border: 3px solid #bfbfbf;
  box-sizing: border-box;
}

.glade-up-rank-d .wine-image ,
.glade-up-rank-D .wine-image {
  border: 3px solid #a76737;
  box-sizing: border-box;
}

.u-shop-comp-result .bottle-list li > p {
  text-align: left;
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.75;
  height: 96px;
  overflow: hidden;
}

.u-shop-comp-link {
  margin: 20px -20px;
}

.u-shop-comp-link .mod-btn {
  margin: 0;
}

.u-shop-comp-link p {
  padding: 0 20px;
  margin: 40px 0 80px 0;
}

@media only screen and (min-width: 768px) {
  .u-shop-comp-link p {
    margin: 40px 0 80px 0;
  }
}

@media only screen and (max-width: 767px) {
  .u-shop-comp-link p {
    margin: 30px 0;
  }
}

.u-shop-comp-link .mod-btn-reorder {
  display: block;
  width: 100%;
  padding: 20px 0;
  border-radius: 9px;
  background-color: #890327;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-align: center;
}

.u-shop-comp-link ul {
  display: flex;
  flex-wrap: wrap;
}

@media only screen and (min-width: 768px) {
  .u-shop-comp-link li {
    width: 48%;
  }

  .u-shop-comp-link li:last-child {
    margin-left: 4%;
  }
}

@media only screen and (max-width: 767px) {
  .u-shop-comp-link li {
    width: 70%;
    margin: 0 auto;
  }

  .u-shop-comp-link li:last-child {
    margin-top: 3%;
  }
}

.u-shop-comp-link li > a {
  width: 100%;
}

.u-shop-comp-link .mod-btn:after,
.u-shop-comp-link button.mod-btn:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 13px;
  margin: -6px 0 0;
  background: url(../img/ico_arrow_right_02.png) no-repeat 50% 50%;
  background-size: contain;
}

.u-shop-comp-link .arrow-reverse:after,
.u-shop-comp-link button.arrow-reverse:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 14px;
  width: 8px;
  height: 13px;
  margin: -6px 0 0;
  background: url(../img/ico_arrow_right_02.png) no-repeat 50% 50%;
  background-size: contain;
  transform: scale(-1,1);
}

/* font size */

.u-fnt-90 { font-size: 90%; }
.u-fnt-85 { font-size: 85%; }
.u-fnt-80 { font-size: 80%; }

/* alert */

.ec-alert-warning {
  background: #bf0000;
}

.ec-alert-warning .ec-alert-warning__icon {
  display: inline-block;
  margin-right: 0;
  margin-bottom: 1rem;
  width: 40px;
  height: 40px;
  color: #fff;
  fill: #fff;
  vertical-align: top;
}

.ec-alert-warning .ec-alert-warning__text {
  width: 100%;
}

.u-shop-alert {
  padding: 20px;
}

.u-shop-alert > .ec-alert-warning__text {
  font-weight: normal;
}

/* pager */

.ec-pager .ec-pager__item:hover {
  background: none;
}

.ec-pager .ec-pager__item a:hover,
.ec-pager .ec-pager__item--active a:hover {
  text-decoration: underline;
}


/* -------------------- ABOUT -------------------- */


/* about pageHeader */
.about__header {
    background-color: #666; /*背景色*/
    background-image: url('../img/about_visual.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    margin-top: 0;
}
.about__header h1 {
    color: #fff;
    font-weight: bold;
}
/* about head-unit */
.about__head-unit {
    text-align: center;
    margin: 100px 0;
}
.about__head-unit h2 {
    font-size: 2.0rem;
    font-weight: bold;
    border-bottom: 2px solid #ccc;
    width: 300px;
    margin: 0 auto 30px;
    padding: 30px 0;
}
.about__head-unit p {
    line-height: 2.0;
}
@media print, screen and (max-width: 767px){
    .about__header {
        padding: 40px 0 60px;
        background-image: url('../img/about_visual_sp.png');
    }
    .about__head-unit {
        text-align: center;
        margin: 50px 0;
    }
    .about__head-unit p {
        text-align: left;
    }
}
/* about  pict & flow-unit */
.about__pict-unit,
.about__flow-unit {
    display: flex;
    margin: 5% 0;
}
.about__flow-unit li {
    margin: 0 0.75%;
    width: 31.8333%;
    text-align: center;
}
.about__pict-unit li {
    margin: 0 2%;
    width: 29.3333%;
    text-align: center;
}
.about__pict-unit li dl dt,
.about__flow-unit li dl dt {
    font-weight: bold;
    font-size: 120%;
    margin-top: 30px;
    overflow-wrap: break-all;
}
.about__pict-unit li dl dd,
.about__flow-unit li dl dd {
    margin-top: 30px;
    text-align: left;
    overflow-wrap: break-all;
    line-height: 2.0;
}
.about__pict-unit p,
.about__flow-unit p {
    text-align: center;
    margin-top: 30px;
    line-height: 2.0;
}
.about__pict-unit p > span,
.about__flow-unit p > span {
    font-weight: bold;
}
@media print, screen and (max-width: 767px){
    .about__pict-unit,
    .about__flow-unit {
        display: block;
    }
    .about__pict-unit li,
    .about__flow-unit li {
        margin: 0 0 10%;
        width: 100%;
        text-align: center;
    }
    .about__pict-unit li dl,
    .about__flow-unit li dl {
        width: 75%;
        margin: 0 auto;
    }
}
img.flow-icon {
    width: 112px;
    align-self: flex-start;
    text-align: center;
}
img.flow-image {
    width: 200px;
}
/* article overwrite */
.ec-role.about .article__txt {
    line-height: 2.0;
}
.ec-role.about .article__h3 {
    margin: 6.0rem 0 3.0rem;
}