/* header */
header {
    position: fixed;
    z-index: 2;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: #fff;
}

.logo {
    width: 140px;
    margin: 0 auto;
}

/* footer */
.footer {
    padding: 2rem;
    font-size: 15px;
    color: #999;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.footer a:hover {
    color: #000;
}

footer>ul {
    list-style: none;
    padding: 0;
}

@media (min-width: 768px) {
    .footer {
        display: flex;
        justify-content: space-between;
    }

    .md-flex {
        display: flex;
    }

    .md-flex li+li {
        margin-left: 16px;
    }
}

/* トップへ戻るアイコン */
#page_top {
    width: 100px;
    height: 60px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #f0f0f0;
    opacity: 0.6;
}

#page_top a {
    position: relative;
    display: block;
    width: 100px;
    height: 60px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: #000000;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -25px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top a::after {
    content: 'PAGE TOP';
    font-size: 13px;
    color: #000000;
    position: absolute;
    top: 30px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

/* 共通 */
.tel {
    color: black;
    font-size: large;
}

.btn {
    padding: 4px 20px;
}

.image {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

img {
    width: 100%;
}

section {
    padding: 15px 0;
}

@media (min-width: 768px) {
    .container {
        width: 650px;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
    h2 {
        width: 100vw;
        margin: 15px calc(50% - 50vw);
        padding: 15px 20px;
        font-size: 20px;
        background: #00fa9a;
        text-align: center;
    }
   
}

h2 {
    width: 100vw;
    margin: 15px calc(50% - 50vw);
    padding: 15px 20px;
    font-size: 20px;
    text-align: center;
}

.sa {
    opacity: 0;
    transition: all .5s ease;
}

.sa.show {
    opacity: 1;
    transform: none;
}

.sa--up {
    transform: translate(0, 100px);
}