.ribbon {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    color: #fff;
    background: #3cb371;
    width: 100%;
    border-radius: 5px;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 71px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: auto;
}

.iframe-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border: 2px solid #ccc;
}

.iframe-wrap iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.pc {
    display: block;
}

.pc-h2 {
    font-size: 2.5vw;
}

.pc-p {
    font-size: 1.5vw;
}

.sp {
    display: none;
}

.sp-header {
    font-size: 2rem;
}

h1 {
    font-size: 2.5vw;
}

h2 {
    font-size: 1.7vw;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.3rem;
}

.edit-btn {
    width: 230px;
}

.live-box {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

@media screen and (max-width: 768px) {
    .sp {
        display: block;
    }
    .live-alert {
        font-size: 0.5rem;
    }
    .live-box {
        border-bottom: none;
    }
}


/* （スマホ用） */

@media screen and (max-width: 450px) {
    h1 {
        font-size: 1.7rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    h4 {
        font-size: 1rem;
    }
    .pc {
        display: none;
    }
    .sp-header {
        font-size: 1.3rem;
    }
    .sp-nav {
        display: flex;
    }
    .sp-ul {
        flex-direction: row;
        justify-content: space-between;
    }
    .sp-ul li {
        margin-left: 10px;
    }
    .pc-p {
        font-size: 1rem;
    }
    .ribbon {
        text-align: center;
    }
    .btn {
        display: block;
    }
    .edit-btn {
        display: block;
        width: 100%;
    }
    .questionnaire-btn {
        display: block;
        width: 100%;
    }
    .live-box {
        border-bottom: none;
    }
}


/* （スマホ用） */

@media screen and (max-width: 380px) {
    .btn-lg {
        font-size: 1rem;
    }
    .top-btn {
        padding: 2px;
        font-size: 0.7rem;
    }
}


/* （ContactForm7送信後 */


/* form.sent p {
    display: none;
} */