/*
.gift_manage header img {
    width: 120vw;
    overflow: hidden;
    text-align: center;
}


.gift_manage a.for_guest,
.gift_manage button.for_staff,
.gift_manage input.btn-primary {
    background-color: #ffffff;
    border-radius: 5px;
    font-size: 18px;
    width: 90vw;
    padding: 1em 0;
}

.gift_manage a.for_guest:active,
.gift_manage button.for_staff:active,
.gift_manage input.btn-primary:active {
    color: #ffffff;
}

.gift_manage a.for_guest {
    color: #fff;
    background-color: #0179be;
}

.gift_manage a.for_guest:active {
    background-color: #0179be;
}

.gift_manage button.for_staff,
.gift_manage input.btn-primary {
    color: #82be01;
    border: 2px solid #82be01;
}

.gift_manage button.for_staff:active,
.gift_manage input.btn-primary:active {
    background-color: #82be01;
    border: 2px solid #82be01;
}

.gift_manage .form-control {
    border: none;
    border-bottom: 1px solid #dddddd;
    margin: 0 auto;
    width: 90%;
}

*/

/*----- ヘッダ -----*/

.gift_manage header {
    width: 100%;
    height: 30vh;
    /* テキストを画像に置換する */
    text-indent: 120%;
    white-space: nowrap;
    overflow: hidden;
    background: url(/img/header.jpg) center center no-repeat;
    background-size: cover;
}

/*----- ステップタイトル(h3) -----*/

.box h3 {
    font-size: 14px;
    text-align: center;
    color: #3e484e;
    line-height: 1.5em;
    margin: 0 0 50px;
    background: #edf4f6;
    padding: 15px 0px;
    }

/*----- フォーム -----*/

.form_box {
    margin: 0 0 50px;
    }

.gift_manage p.lead.alert-success {
    background-color: #efefef;
    font-size: 16px;
    border: none;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden;
    color: #888888;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
}

.box {
    width: 70%;
    max-width: 700px;
    min-width: 700px;
    margin: 0 auto 50px;
    padding: 5% 0 0;
    font-size: 14px;
    color: #3e484e;
}

.box .flexbox {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 auto 20px;
}

.box .flexbox.pin {
    margin: 0 auto 20px;
}

.box .submit_button {
    margin: 0 auto 50px;
    text-align: center;
}

.box .flexbox label {
    width: 30%;
    display: inline-block;
    text-align: right;
    font-size: 14px;
    line-height: 40px;
    margin: 0;
}

.box .flexbox .input_form {
    width: 70%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    }

.box .flexbox .input_form input {
    color: #3e484e;
    -webkit-appearance: none;
}

.box .flexbox .input_form input::placeholder {
    font-size: 14px;
    color: #979da0;
    }

/*----- ゲスト -----*/

.box a.for_guest,
.box input.btn-primary {
    border: none;
    color: #fff;
    background-color: #58B5CA;
    width: 100%;
    padding: 20px;
    margin: 0 auto 30px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.25em;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    }

.box a.for_guest span {
    font-size: 14px;
    }

.box a.for_guest:active {
    background-color: #58B5CA;
}

.box a.for_guest:hover {
    background-color: rgba(88, 181, 202, 0.7);
    transition: 0.5s;
}

.box input.btn-primary:active {
    background-color: #58B5CA;
}

.box input.btn-primary:hover {
    background-color: rgba(88, 181, 202, 0.7);
    transition: 0.5s;
}

.box .expiration_date {
    margin: 0 auto 50px;
    }

.box .expiration_date .status p {
    text-align: center;
    margin: 0;
    }

.box .activate,
.box .expiration_date.no {
    margin: 0 0 50px;
}

.box .activate .inquiry {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background-color: rgba(223, 225, 227, 0.5);
    padding: 20px 35px;
    margin: 15px 0 0;
}

.box .inquiry span {
    font-size: 12px;
    opacity: 0.8;
}

.box .inquiry span.tel {
    color: #fff;
    font-size: 16px;
    opacity: 1;
    padding: 10px;
    margin: 0 10px;
    background-color: #58b5ca;
    text-decoration: none;
    display: block;
    border-radius: 5px;
    text-align: center;
    /* width: 45%; */
    min-width: 250px;
    display: inline-block;
}

.box .inquiry span.tel a {
    color: #fff;
    text-decoration: none;
    }

.box .status {
    border: 1px solid #dfe1e3;
    padding: 20px 35px;
    line-height: 2;
    margin: 20px auto;
}

.box .activate h2,
.box .expiration_date.no h2 {
    color: #fca85a;
}

.box .expiration_date.ok h2 {
    color: #58B5CA;
}

.box .activate h2,
.box .expiration_date.no h2,
.box .expiration_date.ok h2 {
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    font-weight: bolder;
}

/*----- ストアリスト -----*/

.box .storelist {
    font-size: 14px;
    text-align: center;
}

.box .storelist a {
    color: #3e484e;
    text-decoration: none;
    position: relative;
}

.box .storelist a:active {
    color: #3e484e;
}

.box .storelist a:hover {
    opacity: 0.7;
}

.box .storelist a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -10px;
    margin: auto;
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1px solid #3e484e;
    border-right: 1px solid #3e484e;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*----- キャスト ------*/

.box .cast {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    }

.box .cast .btn-primary {
    font-size: 16px;
    color: #888;
    background: #eee;
    border: none;
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    line-height: 100%;
    height:70px;
    }

.box .cast .btn-primary:active {
    background-color: #fff;
    color: #3e484e;
    }

.box .cast .btn-primary:hover {
    text-decoration: none;
    opacity: 0.7;
    }


/*----- 本社スタッフ ------*/

.box .staff {
    width: 100%;
    position: fixed;
    bottom: 71px;
    left: 0;
    text-align: center;
    }

.box .staff .btn-primary {
    font-size: 16px;
    color: #888;
    background: #eee;
    border: none;
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    line-height: 100%;
    height:70px;
    }

.box .staff .btn-primary:active {
    background-color: #fff;
    color: #3e484e;
    }

.box .staff .btn-primary:hover {
    text-decoration: none;
    opacity: 0.7;
    }


/*PC*/

.sp {
    display: none;
}

/*----- エラー用 -----*/
.box .error {
    font-size: 14px;
    border: 1px solid #ff0000;
    padding: 20px;
    margin: 0 auto 25px;
    text-align: center;
    color: #ff0000;
}

/*----- お知らせ用 -----*/
.box .notice {
    font-size: 14px;
    border: 1px solid #58b5ca;
    padding: 20px;
    margin: 0 auto 50px;
    text-align: center;
    color: #58b5ca;
}

/*------ フォーム -----*/

.form-giftcord,
.form-control {
    display: inline-block;
    text-align: center;
    margin: 0 5px 0 0;
    width: 22%;
    height: 40px;
    line-height: 40px;
    color: #3e484e;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control {
    width: 100%;
    text-align: left;
    }

/* 入力済 */
.comp .form-giftcord,
.comp .form-control {
    opacity: 1 !important;
    background: #edf4f6 !important;
    color: #979da0 !important;
    }

@media screen and (max-width: 768px) {
    .box {
        width: 100%;
        min-width: 100%;
    }

    .form-giftcord {
        width: 100px;
        margin: 0;
    }

}

/*SP表示*/

@media screen and (max-width: 480px) {

    .gift_manage header {
        width: 100%;
        height: 20vh;
        /* テキストを画像に置換する */
        text-indent: 110%;
        background: url(/img/header_sp.jpg) center center no-repeat;
        background-size: cover;
    }
    .box {
        font-size: 14px;
        width: 100%;
        margin: 10% auto 50px;
        padding: 0;
    }
    .box .flexbox .input_form input {
        font-size: 16px;
    }
    .box a.for_guest {
        width: 90%;
        font-size: 20px;
    }
    .box .flexbox label {
        font-size: 13px;
    }
    .box .flexbox .input_form {
        font-size: 16px;
    }
    .box .activate .inquiry {
        display: block;
        text-align: center;
        padding: 5% 0;
        margin: 0;
        background: transparent;
    }
    .box .inquiry span {
        font-size: 10px;
    }
    .box .inquiry span.tel {
        width: 100%;
        margin: 2% 0;
    }
    .box .status {
        padding: 5% 10%;
        line-height: 2;
    }
    .box .activate h2,
    .box .expiration_date.no h2,
    .box .expiration_date.ok h2 {
        font-size: 18px;
        font-weight: bolder;
    }

    /*フォーム*/
    .form-giftcord {
        margin: 0;
        width: 23%;
        padding: 5px;
    }

    .sp {
        display: block;
    }

}