@charset "utf-8";

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: "Zen Old Mincho", serif;
    font-size: 20px;
    color: black;
    line-height: 1;
    background-color: #fff;
}

img {
    max-width: 100%;
}

/* header */

.header {
    /* position: sticky;
    top: 0;
    left: 0;
    right: 0; */
    background-color: #fff;
    color: #000;
}

.header-inner {
    max-width: 1200px;
    height: 110px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-menu-button {
    display: none;
}

.header-logo {
    display: block;
    width: 170px;
}

.site-menu ul {
    display: flex;
}

.site-menu ul li {
    margin-left: 20px;
    margin-right: 20px;
    transition-duration: 0.5s;
}

.site-menu ul li:hover {
    transform: scale(1.25);
    opacity: 0.5;
}

/*  共通部分 */

.link-button {
    background-color: #5DAC81;
    display: inline-block;
    min-width: 180px;
    line-height: 50px;
    border-radius: 5px;
}

.link-button:hover {
    background-color: #21c269;
}

/* img 丸く */

.works img {
    border-radius: 2%;
}

/* jQuery発展編 */

/* TOPに戻るボタン */
#page-top {
    position: fixed;
    bottom: 38px;
    right: 20px;
    background-color: #5DAC81;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 28px 24px;
    border-radius: 50%;
    display: none;
}

/* モーダル */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

.big-img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80%;
    max-width: 800px;
    margin: auto;
    border-radius: 1%;
}

.close-btn {
    position: absolute;
    top: 40px;
    right: 20px;
    color: white;
    font-size: 40px;
    text-decoration: none;
    cursor: pointer;
}



/* footer */

.footer {
    background-color: #B5CAA0;
    ;
    color: black;
    padding-top: 30px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: block;
    width: 235px;
    margin-top: 50px;
}

.footer-adress {
    font-size: 20px;
    margin-top: 15px;
}

.footer-tel {
    font-size: 20px;
    margin-top: 15px;
}

.copyright {
    font-size: 20px;
    margin-top: 15px;
}

.map {
    width: 930px;
    max-width: 90%;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
}

.map iframe {
    display: block;
    width: 100%;
    height: 300px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* レスポンシブデザイン */
@media (max-width: 800px) {
    .site-menu ul {
        display: block;
        text-align: center;
    }

    .site-menu li {
        margin-top: 20px;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 50px;
        z-index: 10;
    }

    .header-inner {
        padding-left: 20px;
        padding-right: 20px;
        height: 100%;
        position: relative;
    }

    .header-logo {
        width: 100px;
    }

    .header-site-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        color: #fff;
        background-color: #B5CAA0;
        padding-top: 0;
        padding-bottom: 20px;
        display: none;
    }

    .header-site-menu.is-show {
        display: block;
    }

    .toggle-menu-button {
        display: block;
        width: 40px;
        height: 30px;
        background-image: url(../images/common/icon-menu.png);
        background-size: 50%;
        background-position: center;
        background-repeat: no-repeat;
        background-color: transparent;
        border: none;
    }

    /* jQuery発展編 */
    /* モーダル */

    .close-btn {
        position: absolute;
        top: 70px;
        right: 20px;
        color: white;
        font-size: 40px;
        text-decoration: none;
        cursor: pointer;
    }

}