@import url("https://fonts.googleapis.com/css?family=Rubik:500,700&display=swap");


a {color: #4778df;}
a:hover{color: #305bb5;}

input { font-size: 16px; }

input[type="date"]{
    position: relative;
}

input[type="date"]::-webkit-inner-spin-button{
    -webkit-appearance: none;
}

input[type="date"]::-webkit-clear-button{
    -webkit-appearance: none;
}

input[type=date]::-webkit-calendar-picker-indicator {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

input::placeholder,.form-control::placeholder{
    color: #989fab;
}

/* カード共通
-------------------------------------- */
.plan-card__head {
    font-size: calc(20 / 1600 * 100vw);
    font-weight: 600;
    color: #fff;
    text-align: center;
    padding: .7em;
}

.plan-card__main {
    padding: 1.5em;
    text-align: center;
}

/* 比較欄 */
.plan-card__detail {
    display: grid;
    table-layout: fixed;
}

.plan-card__detail tr {
    display: flex;
    border-bottom: 1px solid #9FB9EA;
    align-items: center;
    gap: 1rem;
}

.plan-card__detail tr.dashed-line {
    border-bottom: 1px dashed #9FB9EA;
}

.plan-card__detail tr.small-tr th,
.plan-card__detail tr.small-tr td {
    padding-top: 2em;
}

.plan-card__detail tr.text-muted {
    color: #ccc;
}

.plan-card__detail th {
    padding: 1em 0 .5em 0;
    font-weight: 500;
    line-height: 1.3em;
    text-align: right;
}
.plan-card__detail td {
    padding: 1em 0 .5em 0;
    text-align: left;
}

.plan-card__detail em.em-check {
    font-style: normal;
    font-size: 1.5em;
}

.plan-card__detail em.em-num {
    font-style: normal;
    font-size: 2em;
    font-weight: 600;
}

.plan-card__detail em.em-text {
    font-style: normal;
    font-size: 1.2em;
    font-weight: 600;
}

.plan-card__detail em + span {
    font-size: .3em;
    padding-left: .5em;
    white-space: nowrap;
}

.plan-card__detail .q-mark {
    color: #999;
    padding-left: .1em;
}

.plan-card__detail .th__br { display: inline-block; }

/* プランごとのスタイル
-------------------------------------- */
/* 左右 */
.plan-card__left .plan-card__head { background-color: #88ABEB; }
.plan-card__left .plan-card__detail em { color: #88ABEB; }

/*　左側
----------------------------------------------------------------------*/
.l-public__left-inner {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    left: 0;
    top: 0;
    width: 46.5%;
    min-width: 474px;
    margin: 4rem 0;
}

@media (max-width: 767px) {
    .l-public__left {
        height: auto;
    }
    .l-public__left-inner {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        min-width: 100%;
        margin: 1rem 0;
    }
}

.l-public__left-inner a {
    transition: all .3s ease;
}
.l-public__left-inner a:hover { opacity: .6; }

/* サービスロゴ */
.l-public__title-main { width: 150px; }
@media (max-width: 767px) {
    .l-public__title-main {
        width: 3rem;
        font-size: 1em;
    }
}

/* プランカード */
.plan-cards {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: calc(80 / 1600 * 100vw);
    padding: 0;
}
.plan-cards>li {
    width: 75%;
    box-shadow: none;
    display: block;
    background: #fff;
    margin: 0 5px;
    border-radius: .4em;
    overflow: hidden;
    box-shadow: 0px 6.6501px 5.32008px rgba(71, 120, 223, 0.0282725), 0px 22.3363px 17.869px rgba(71, 120, 223, 0.0417275), 0px 100px 80px rgba(71, 120, 223, 0.07);
}
.plan-card__label {
    display: block;
    padding: .2rem .5rem;
    margin: 0 auto;
    background-color: #00BDC7;
    color: #fff;
    font-weight: 600;
    border-radius: .5rem;
    width: fit-content;
}
.plan-card__detail { margin-bottom: 1em; }
.plan-card__detail th, .plan-card__detail td {
    width: 50%;
    font-weight: 600;
    color: #555;
}

@media screen and (min-width: 1600px) {
    .plan-card__head {
        font-size: 1rem;
    }
}

@media screen and (max-width: 750px) {
    .plan-cards {
        flex-wrap: wrap;
        margin-top: calc(80 / 750 * 100vw);
    }
    .plan-cards>li {
        width: 85%;
        margin-bottom: calc(50 / 750 * 100vw);
    }
    .plan-card__head {
        font-size: calc(35 / 750 * 100vw);
    }
}

/*　右側
----------------------------------------------------------------------*/
 /*ウィザード*/
@media screen and (max-width:767px) {
    .wizard-content .wizard>.steps>ul>li a {
        font-size: calc(27 / 767 * 100vw);
    }
}

.wizard-content .wizard>.steps>ul>li.current .step{
    border-color:#4672d1;
    color:#4672d1;
}

.wizard-content .wizard>.steps>ul>li.done .step{
    background-color: #4672d1;
    border-color:#4672d1;
    color: #fff;
}

.wizard-content .wizard>.actions {
    padding: 3rem;
}

.wizard-content .wizard>.actions>ul>li>a{
    background-color: #4672d1;
}

.wizard-content .wizard > .actions > ul > li > a[href="#next"]:focus,
.wizard-content .wizard > .actions > ul > li > a[href="#next"]:hover,
.wizard-content .wizard > .actions > ul > li > a[href="#finish"]:focus,
.wizard-content .wizard > .actions > ul > li > a[href="#finish"]:hover{
    background-color: #305bb5;
}

.wizard-content .wizard > .actions > ul > li > a.disabled,
.wizard-content .wizard > .actions > ul > li > a.disabled:hover{
    background: #eee;
    color: #aaa;
    box-shadow: none;
    pointer-events: none;
}

.wizard-content .wizard.wizard-circle>.steps>ul>li:after,
.wizard-content .wizard.wizard-circle>.steps>ul>li:before {
    background-color: #4672d1;
}

.wizard-content .wizard.wizard-notification>.steps>ul>li:after,
.wizard-content .wizard.wizard-notification>.steps>ul>li:before{
    background-color: #4672d1;
}

.wizard-content .wizard.wizard-notification>.steps>ul>li.current .step{
    border-color:#4672d1;
    color:#4672d1;
}

.wizard-content .wizard.wizard-notification>.steps>ul>li.current .step:after,
.wizard-content .wizard.wizard-notification>.steps>ul>li.done .step:after {
    border-top-color: #4672d1;
}

/*ボタン*/
.btn-info{
    background-color: #4778df;
    border-color: #4778df;
}

.btn-info:hover{
    background-color: #305bb5;
    border-color: #305bb5;
}

.btn-info.disabled, .btn-info:disabled, .btn-info.disabled:hover, .btn-info:disabled:hover {
    background-color: #305bb5;
    border-color: #305bb5;
}

/*アラートテキスト*/
.text-danger{
    color: #e66b5f !important;
    font-size: 12px;
    font-weight: 400;
}
#fb-login-check {
    height: 1px;
    width: 1px;
    visibility: hidden;
    display: inline-block;
}

input[name="charge_to_user"] + .text-danger {
    position: absolute;
    top: -2rem;
    right: 6rem;
}
input[name="tokennumber"] {
    visibility: hidden;
    height: 1px;
}
input[name="tokennumber"] + .text-danger {
    position: absolute;
    right: 0;
    bottom: -.5rem;
}

/*補足テキスト*/
.p-app__body-form-input-head-text{
    display: inline-block;
    font-size: 12px;
    padding-left: 1em;
    margin-bottom: 0.5em;
    color: #aaa;
}

/* 利用規約
-------------------------------------- */
.tou-wrapper {
    width: 100%;
    height: 250px;
    border: 1px solid #ccc;
    margin: .5rem 0;
    overflow: hidden;
    overflow-y: scroll;
}

/* FB連携関連
-------------------------------------- */
.fb__account-list {
    margin-top: 2rem;
    width: 68%;
    border: 2px solid #eee;
    border-radius: 1.5em;
    background-color: #fff;
    max-height: 450px;
    overflow: hidden;
    overflow-y: scroll;
}

.account-list__option {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    padding: .5em .8em .5em 1em;
    margin: 0 !important;
    width: 100%;
    transition: all .3s;
    cursor: pointer;
    color: #555;
}

.account-list__option:hover {
    background: #f9f9f9;
    color: #111;
}

.account-list__checkbox {
    margin: 0 1rem;
    width: 20px;
    height: 20px;
}

.account-list__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #F6F5FA;
}
.account-list__icon img { width: 100%; }

.account-list__name {
    padding-left: 2rem;
    font-weight: 600;
    width: calc(100% - 140px);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: all .3s;
}

.account-list__checkbox:checked ~ .account-list__name {
    color: #4778df;
}

@media screen and (max-width: 750px) {
    .fb__account-list {
        width: 100%;
    }
    .account-list__checkbox {
        margin-left: 0;
        width: 15px;
        height: 15px;
    }
    .account-list__icon {
        width: 40px;
        height: 40px;
    }
    .account-list__name {
        padding-left: 1rem;
        width: calc(100% - 75px);
        font-size: 12px;
    }
}


/* 連携方法ヘルプ
-------------------------------------- */
.help-container {
    margin: 2rem 0;
    border: 1px solid #ccc;
    padding: 1rem;
    width: 100%;
    border-radius: 10px;
    line-height: 2;
    font-size: 1.1em;
}

.help-container em {
    text-decoration: underline;
    font-style: normal;
    color: #ea345e;
}


/* モバイルレイアウト
---------------------------------------------------------------------- */
@media (max-width: 767px) {
    .l-public__head {
        padding-bottom: 20px;
        border: none;
    }

    .l-public__right {
        width: 100%;
        margin: 0;
    }

    .wizard-content .wizard>.content>.body {
        padding: 0 10px;
    }

    .wizard-content .wizard>.steps>ul {
        display: flex;
        flex-wrap: nowrap;
    }

    .form-check {
        padding-left: .8rem;
    }
}

/* ---------------------------------- 同意 */
.form__consent {
    position: relative;
    line-height: 1.4em;
    }

.form__agreement {
    display: inline-block;
    padding: .5em;
    padding-right: 1em;
    background: #f2f2f2;
    border-radius: 1.5em;
}

.form__agreemen:hover,
.form__agreemen.checked {
    background-color: #E8EFFA;
}
