/****
* 2019 会員限定投票ボタン
**/

.voteArea {
    margin: 10px;
    padding: 20px;
    text-align: center;
    background: #fff1e0;
    border: 2px dotted #cf0000;
    border-radius: 8px;
    line-height: normal;
}

.voteIntro {
    color: #c00000 !important;
    font-size: 16px;
}

.btn.vote {
    display: block;
    margin: 8px auto;
    padding: 8px;
    max-width: 550px;
    background: #42d37a;
    box-shadow: 0 4px 0 #2bb761;
    color: #fff !important;
    border-radius: 5px;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.voteCentering {
    display: flex;
    margin: auto;
    max-width: 400px;
}

.voteIcon {
    max-width: 46px;
    max-height: 46px;
    /* background: url(/vote/css/画像のパス); */
}

.voteText {
    display: flex;
    flex-grow: 1;
    font-size: 20px;
}

.voteText div,
.voteText span {
    flex-grow: 1;
}

.voteRankingName {
    margin: 0;
    padding-left: 20px;
    font-size: 16px;
    line-height: 30px;
    text-align: left;
    font-weight: normal;
}

/****** 投票済み時のボタン ******/

.btn.vote.voted {
    background: #7f7f7f;
    box-shadow: 0 4px 0 #666;
    cursor: default;
}

.voted .voteText {
    font-size: 12px;
    font-weight: normal;
}

.voted .voteThanks {
    font-size: 20px;
    font-weight: bold;
}

.voted .voteCentering {
    max-width: 500px;
}

.voted .voteText {
    display: block;
}

.vote-failed .ui-inline-block {
    color: #bf271b;
}

/****** リッチ表示時のボタン ******/

#mainSection .voteIntro {
    color: #c00000 !important;
}

#mainSection .btn.vote {
    color: #fff !important;
}

/****
* 2020 全ユーザー投票ボタン
**/

.voteAllUsers.voteArea {
    margin: 10px 0;
    padding: 12px 12px 19px 12px;
    background-size: auto;
    border: none;
    border-radius: unset;
    position: relative;
}

.voteAllUsers .voteIntro {
    color: white !important;
    font-size: 21px;
    font-weight: bold;
}

.voteAllUsers .voteNotes {
    font-size: 14px;
    color: white;
}

.voteAllUsers .btn.vote {
    margin: 5px auto;
    max-width: 300px;
    height: 30px;
    background: #E6533F;
    box-shadow: none;
    font-weight: normal;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(198, 26, 26);
    background-image: url(/vote/img/x2CTA_Text-min_pc.png);
    background-size: 194px 28px;
    background-repeat: no-repeat no-repeat;
    background-position: 50% 60%;
    border: 1px solid white;
    max-width: 351px;
    position: relative;
}
.voteAllUsers .btn.vote:before {
    content: "ただいま投票受付中！";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #57090E;
    background: #fff;
    padding: 3px 16px 3px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    top: -11px;
    width: max-content;
}

.voteAllUsers .btn.vote.voted {
    background: #ccc;
    background-image: none;
}
.voteAllUsers .btn.vote.complete:before {
    content: "施設投票ありがとうございます！";
}

.voteAllUsers .btn.vote.bumonVote {
  background-image: url(/vote/img/x2CTA_Bumon_Text-min_pc.png) !important;
  background-size: 55% !important;
}

.voteAllUsers .voteText {
    display: none;
    font-size: inherit;
    line-height: 30px;
}

.voteAllUsers .btn.vote.voted .voteText {
    display: inline;
}

.voteAllUsers ~ .voteLpLink {
    text-align: right;
}

img.voteTitleImg {
    max-width: 351px;
}

img.voteButtonCta {
    width: 141px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 60px;
}
img.voteButtonCta.voted {
    width: 201px;
}


/****** リッチ表示時のボタン ******/

#mainSection .voteAllUsers.voteArea {
    margin: 20px -19px 10px;
}

#mainSection .voteIntro {
    color: white !important;
}

#mainSection .btn.vote.voted {
    background: #ccc !important;
}

#mainSection .voteAllUsers ~ .voteLpLink {
    margin: 0 -19px 10px;
}

/****** 投票後モーダル ******/

.ui-popup.modal-all-users-vote {
    z-index: 2000 !important;
}

.ui-popup.modal-all-users-vote .ui-popup-field {
    padding: 0;
    top: 0;
}

.ui-popup.modal-all-users-vote .ui-card {
    width: 480px;
    max-width: 480px;
    min-width: 480px;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    position: fixed;
    left: 50%;
}

.ui-popup.modal-all-users-vote .ui-card-heading {
    padding: 0;
    height: 0;
}

.ui-popup.modal-all-users-vote .ui-button-close {
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    background: none;
    box-shadow: none;
    line-height: 40px;
    text-decoration: none;
}

.ui-popup.modal-all-users-vote .ui-card-body {
    padding: 0;
}

.ui-popup.modal-all-users-vote .ui-card-body p {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ui-popup.modal-all-users-vote .ui-btn.registerRedirectPage {
    background: #781819;
}

.ui-popup.modal-all-users-vote .ui-btn.lineRedirectPage {
    background: #53B634;
}

.ui-popup.modal-all-users-vote .ui-btn.facebookRedirectPage {
    background: #3875EA;
}

.ui-popup.modal-all-users-vote .ui-btn.twitteRedirectPage {
    background: #6BAAE8;
}

.ui-popup.modal-all-users-vote .ui-btn.cancelButton {
    margin: 24px auto 8px;
    width: 60%;
}

.detailRichMain .voteAllUsers.voteArea img.voteTitleImg, .detailNormalMain .voteAllUsers.voteArea img.voteTitleImg {
    visibility: hidden;
}

.detailRichMain .voteAllUsers.voteArea {
    background-image: url("/vote/img/PC_Big_BG-min.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    padding: 12px 12px 15px 12px;
}

.detailNormalMain .voteAllUsers.voteArea {
    background-image: url("/vote/img/PC_BG-min.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    padding: 12px 12px 21px 12px;
}

.vote-modal__title {
    background-image: url(/vote/img/bg-vote-ranking.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 480px;
    height: 100%;
    box-sizing: border-box;
    border-radius: 4px 4px 0px 0px;
    padding: 20px;
    justify-content: center;
    align-items: center;
  }

  .vote-modal__title p:nth-of-type(2) {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    margin: 9px 0 4px;
  }
  .vote-modal__title p:last-of-type a span {
    font-size: 14px;
    font-weight: 400;
  }
  .vote-modal__title p:last-of-type a:hover {
    opacity: 0.7;
  }
  
  .vote-modal__title__login p:nth-of-type(2) {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.04em;
  }
  .modal-title-img {
    width: 198px;
  }
  
  .vote-modal__kantan {
    margin: 0 !important;
    border-bottom-width: 1px;
    border-bottom-color: #e1e0e0;
    border-bottom-style: solid;
  }
  .vote-modal__kantan p {
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    padding: 16px 0 3px;
    color: #000;
  }
  .vote-modal__kantan span {
    font-size: 10px;
    line-height: 18px;
    text-align:center;
    display: block;
    margin: 0 auto;
    color: #000;
  }
  .vote-modal__kantan span span {
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    color: #b71f22;
  }
  .vote-modal__kantan ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 436px;
    margin: 0 auto;
    padding: 12px 0 20px;
    gap: 8px;
  }
  .vote-modal__kantan ul li {
    box-sizing: border-box;
    background: #ebebeb;
    border-radius: 4px;
    justify-content: flex-start;
    padding: 0 12px;
    font-size: 12px;
    line-height: 30px;
    height: 32px;
    color: #333333;
    position: relative;
    cursor: pointer;
    font-weight: 300;
  }
  .vote-modal__kantan ul li:not(.active) .icon {
    opacity: .12;
  }
  .vote-modal__kantan ul li div:hover {
    opacity: 1 !important;
  }
  .vote-modal__kantan ul li:before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
  }
  .vote-modal__kantan ul li.active {
    background: #f6e3e4;
    color: #b71f22;
    font-weight: 600;
    fill: #b71f22;
  }
  .vote-modal__kantan ul li.active div {
    position: absolute;
    font-weight: bold;
    font-size: 10px;
    line-height: 2px;
    color: #ffffff;
    background: color-mix(in srgb, #1b1918 70%, transparent 30%);;
    box-sizing: border-box;
    border-radius: 9999em;
    padding: 11px 10px;
    top: -30px;
    text-align: center;
    word-break: keep-all;
  }
  .vote-modal__kantan ul li.active div:before {
    content: none;
    position: absolute;
    display: block;
    bottom: -7px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6.5px 4.5px 0 4.5px;
    border-color: #ccc transparent transparent transparent;
  }
  .vote-modal__kantan ul li.active div:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -7px;
    transform: translateX(-50%);
    left:70px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 5px 0 5px;
    border-color: color-mix(in srgb, #1b1918 70%, transparent 30%) transparent transparent transparent;
  }
  .vote-modal__kantan ul li.disable {
    background: #F7F7F7;
    color: #999;
    box-shadow: none;
    pointer-events:none;
  }
  .vote-modal__sns {
    padding: 16px 0 18px;
    margin: 0 !important;
  }
  .vote-modal__sns p:last-of-type a {
    background: #ffffff;
    box-sizing: border-box;
    border: 1px solid #C61A1A;
    box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.15),
      inset 0px 0px 0px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    line-height: 34px;
    text-decoration: none;
    color: #C61A1A;
    width: 287px;
    height: 36px;
    text-align: center;
    display: block;
    margin: 8px auto 0;
  }
  .vote-modal__sns p {
    font-weight: 500;
    font-size: 11px;
    line-height: 16px;
  }
  .vote-modal__sns ul {
    display: flex;
    margin: 15px auto 0;
    align-items: center;
    width: fit-content;
    gap: 8px;
  }
  .vote-modal__sns ul li p {
    font-size: 10px;
    font-weight: 700;
    padding-right: 9px;
  }
  .vote-modal__sns ul li:hover {
    opacity: 0.7;
  }
  .modalClose {
    display:block;
    color: #000;
    text-align:center;
    font-size:16px;
    margin: -15px 0 10px 0;
    padding-top: 15px;
    text-decoration:none;
    border-color: #EFF5F8 transparent transparent;
    border-width: 1px;
    border-style: solid
  }
  .close-img {
    width:20px;
    margin-bottom: 10px;
  }

  .voteAllUsers.voteArea.renewalVote {
    padding: 24px;
    border-radius: 12px;
    background-image: url(/vote/img/bg-vote-ranking.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

  .button-vote{
    margin-top: 4px;
    background: #b71f22;
    color: #ffffff;
    width: 100%;
    justify-content: center;
    padding: .875em 1em;
    border-width: 1px;
    border-color: transparent;
    border-radius: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.button-vote:disabled{
    background: #cbd5e1;
    color: color-mix(in srgb, #0f172a 36%, transparent calc(64%));
}

.title-vote{
    justify-content: center;
    align-items: center;
    margin-right: -24px;
    margin-left: -24px;
    gap: 8px;
    display: flex;
}

.title-vote-text1{
    text-align: center;
    font-weight: 300;
    color: #ffffff;
    font-size: 75%;
}

.title-vote-text2{
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    font-size: 105%;
    line-height: 0px;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.title-vote-text3{
    text-align: center;
    font-weight: 300;
    color: #ffffff;
    font-size: 75%;
    margin-top: 15px;
}

.scope-2507 .text:is(.is-center,.is-mobile-center){
    text-align:center;
}

.scope-2507 .text.is-weight-600{
    font-weight:600;
}

.scope-2507 .text.is-weight-300{
    font-weight:300;
}

.scope-2507 .text.is-light{
    color:#ffffff;
}

.scope-2507 .is-md-lg{
    font-size:112.5%;
}

.scope-2507 :is(.is-sm,.is-mobile-sm){
    font-size:87.5%;
}

.scope-2507 .is-space-md>*:not(:first-child),.scope-2507 .is-space>*:not(:first-child){
    margin-top:16px;
}

.scope-2507 .is-flex{
    display:flex;
}

.scope-2507 :is(.is-flex,.is-inline-flex):where(:not(.is-nowrap)){
    flex-wrap:wrap;
}

.scope-2507 :is(.is-flex,.is-inline-flex).is-around{
    justify-content:space-around;
}

.scope-2507 :is(.is-flex,.is-inline-flex).is-middle{
    align-items:center;
}

.scope-2507 :where(:not(.grid)).is-gap-xs{
    gap:8px;
}

.scope-2507 .is-flex-none{
    flex:none;
}

.scope-2507 :is(.text,.icon).is-lk{
    color:#197ea8;
}

.scope-2507 .box{
    text-decoration: none;
}

.scope-2507 :is(.is-flex,.is-inline-flex).is-right{
    justify-content: flex-end;
}

.scope-2507 :is(.icon).is-light {
    fill: #ffffff;
}

.scope-2507 .is-p-lg {
    padding: 20px;
}

.scope-2507 .is-nb-xxl {
    margin-bottom: -28px;
}

.scope-2507 .is-n-lg {
    margin: -20px;
}
