.sps-sns-icon-mypage {
  width: 25px;
  height: 25px;
  margin: 5px;
  vertical-align: middle;
}

.sps-sns-icon-display {
  display: block !important;
}

.sps-sns-icon-cart {
  margin-top: 2px;
  width: 20px;
  height: 20px;
}

section > div.button.text-center {
  text-align:center;
}

.sps-sns-display-inline {
  display: inline-block;
}

.button .sps-button-row,
.button .btg_r.sps-button-row {
  display: block;
  margin-bottom: 10px;
  text-align: center;
}

.button .sps-button-row input[type="submit"],
.button .sps-button-row input[type="button"],
.button .btg_r.sps-button-row input[type="submit"],
.button .btg_r.sps-button-row input[type="button"] {
  margin: 5px auto;
}

.ui-widget-content {
  box-sizing: border-box;
  padding: 1em !important;
}

.sps-sns-connection-box {
  display: block;
}

.sps-sns-connection-box.ui-dialog .ui-dialog-titlebar {
  background: #fff;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid;
  margin-bottom: .5em;
  padding: .4em .5em;
}

.sps-sns-connection-box.ui-dialog .ui-dialog-buttonpane.ui-widget-content {
  margin: 0;
  padding: .5em 0 0 !important;
}

.dialogbtnclose {
  margin: 0 !important;
}

.center {
  text-align: center;
}

.close {
  font-weight: bold;
  margin-top: 10px;
}

.close:hover, .close:focus {
  text-decoration: none;
  cursor: pointer;
}

.ui-dialog #loginSnsConnection_dialog {
  overflow-y: hidden;
  padding: 0 !important;
}

.loginSnsConnectionDetail {
  text-align: left;
}

.modal-body {
  box-sizing: border-box;
  font-size: 13px;
  margin-top: 5px;
  width: 100%;
}

.sns-text-error, .sns-text-success {
  box-sizing: border-box;
  margin: 0 auto 15px;
  padding: 0 .5em;
}

.sns-text-success:empty {
  margin: 0;
  padding: 0;
}

.sps-fab {
  align-items: center;
  border-radius: 6px;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  font-weight: bold;
  height: 40px;
  padding: 0px;
  text-align: left;
  text-decoration: none;
  margin: 10px auto 15px;
  overflow: hidden;
  width: 280px;
}

a:hover .sps-fab img.sps-sns-icon {
  opacity: 1;
}

a.sps-sns-link,
a.sps-sns-link:link,
a.sps-sns-link:visited,
a.sps-sns-link:hover,
a.sps-sns-link:active {
  text-decoration: none;
  color: white;
}

a.sps-sns-link {
  display: block;
  margin: 0 auto;
  width: 280px;
}

.sps-fab div:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-right: 11px;
}

.sps-sns-icon {
  padding: 0 8px;
  vertical-align: middle;
}

.sps-sns-text {
  text-align: center;
  flex: 1;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: .03em;
  margin-right: 11px;
  padding: 7px 0;
}

/*LINEでログインボタン*/
.sps-fa-line {
  background: #00C300;
}

.sps-fa-line:hover {
  background: #00E000;
  opacity: 1;
}

.sps-fa-line:active {
  background: #00B300;
}

.sps-fa-line .sps-sns-icon {
  padding: 0 6px;
  width: 42px;
}

/*Facebookでログインボタン*/
.sps-fa-facebook {
  background: #4267B2;
}

.sps-fa-facebook .sps-sns-icon {
  padding: 0 14px;
  width: 28px;
}

/*Twitterでログインボタン*/
.sps-fa-twitter {
  background: #ffffff;
  border: solid thin #000000;
  border-radius: 5px;
  color: #000000;
}

.sps-fa-twitter .sps-sns-icon {
  height: 40px;
  width: 40px;
}

/*Yahoo!でログインボタン*/
.sps-fa-yahoo {
  background: #ff0033;
}

.sps-fa-yahoo div:first-child {
  align-items: center;
  background-color: #fff;
  border: 1px solid #ff0033;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  box-sizing: border-box;
  display: flex;
  height: 40px;
}

.sps-fa-yahoo br {
  display: none;
}

.sps-fa-yahoo .sps-sns-icon {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding: 0 11px 0 12px;
  width: 33px;
}

/*マイページ*/
.ui-dialog #snsConnectionDialog {
  min-height: 0px;
  max-height: none;
  height: auto;
  width: auto;
}

.ui-dialog .ui-dialog-buttonpane button {
  font-size: 14px;
  height: 38px;
  margin: .5em 1em .5em 0;
  min-width: 110px;
}

@media screen and (max-width: 768px) {
  .ui-dialog.sps-sns-connection-box {
    width: 48% !important;
    left: 26% !important;
  }
  .sns-text-error, .sns-text-success {
    width: 100%;
  }
}

@media screen and (max-width: 680px) {
  .ui-dialog.sps-sns-connection-box {
    width: 56% !important;
    left: 22% !important;
  }
}

@media screen and (max-width: 600px) {
  .ui-dialog.sps-sns-connection-box {
    width: 72% !important;
    left: 14% !important;
  }
}

@media screen and (max-width: 480px) {
  .ui-dialog.sps-sns-connection-box {
    width: 96% !important;
    left: 2% !important;
  }
  a.sps-sns-link {
    max-width: 280px;
    width: 100%;
  }
  .sps-fab {
    max-width: 280px;
    height: 48px;
    width: 100%;
  }
  .sps-fa-yahoo div:first-child {
    height: 48px;
  }
}

@media screen and (max-width: 350px) {
  .sps-fab {
    height: 54px;
  }
  .sps-fa-yahoo div:first-child {
    height: 54px;
  }
  .sps-fa-yahoo br {
    display: block;
  }
}

@media screen and (max-width: 280px) {
  .sps-fab {
    height: 70px;
  }
  .sps-fa-yahoo div:first-child {
    height: 70px;
  }
  .sps-sns-text {
    line-height: 120%;
    margin-right: 30px;
  }
}

.sps-threeDS-info .sps-card-threeDS-logo {
  vertical-align: middle;
  text-align: center;;
}

.sps-threeDS-info .sps-card-threeDS-message {
  text-align: justify;
}

.sps-threeDS-info .sps-card-threeDS-logo img{
  padding: 5px;
  max-width: 30%;
  background-color: white;
}

#threeds-background-panel{
  background: #aaa;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  z-index: 10001;
}

#threeds-iframe-wrap{
  display: block;
  width: 95vw;
  height: 90%;
  max-width: 500px;
  min-width: 200px;
  max-height: 600px;
  min-height: 300px;
  z-index: 10010;
  background-color: #fff;
  overflow: hidden;
  border-radius: 20px;
}

#threeDSIframe {
  margin: 0;
  width: 100%;
  height: 100%;
}

.sps-coupon-row {
  display: flex;
  flex-wrap: wrap;
}

.sps-coupon-col {
  flex: 0 0 auto;
  width: 50%;
}

.sps-coupon-info {
  margin: 8px;
  padding: 4px;
}

.sps-coupon-info p {
  margin: 0 0 4px;
}

.sps-display-inline-block {
  display: inline-block;
}

.sps-word-break-all {
  word-break: break-all;
}

.sps-min-width-60px {
  min-width: 60px;
}

.sps-pl-20 {
  padding-left: 20px;
}