/*---------------------------------

header

---------------------------------*/

.site-header {
    width: 100%;
    margin-top: 20px;
    background-color: #fff;
}

.header-inner {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    font-weight: bold;
    font-size: 1.3em;
}

.header-logo a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
}

.header-logo img {
    width: 82px;
    height: auto;
    margin-right: 20px;
}

.header-tel {
    font-size: 1.8em;
    font-weight: bold;
    text-align: right;
    margin-right: 20px;
}

.header-tel a {
    color: #555;
    text-decoration: none;
}

.phone::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url("../img/phone.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0b6e3a;
    border: 5px solid #0b6e3a;
    border-radius: 25px;
    vertical-align: middle;
    margin-right: 10px;
    position: relative;
    top: 50%;
    left: 0;
}

/* navigation */

.global-nav {
    width: 100%;
    margin-top: 20px;
    background-color: #17a258;
}

.nav-list {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-list li {
    flex: 1;
    text-align: center;
}

.nav-list a {
    display: block;
    padding: 17px 10px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.nav-list a:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
}

/* PC hover */

@media screen and (min-width: 1024px) {
    .nav-list a {
        background:
            linear-gradient(currentColor 0 0)
            bottom / var(--d, 0) 3px
            no-repeat;
        transition: 0.5s;
    }

    .nav-list a:hover {
        --d: 100%;
    }
}

/* tablet */

@media screen and (max-width: 1024px) {
    .header-tel {
        margin-bottom: 30px;
    }
}

/* sp */

@media screen and (max-width: 767px) {
    .site-header {
        margin-top: 15px;
    }

    .header-inner {
        padding: 0 15px;
        flex-wrap: wrap;
    }

    .header-logo {
        width: calc(100% - 55px);
        font-size: 1.1em;
    }

    .header-logo img {
        width: 58px;
        margin-right: 12px;
    }

    .global-nav {
        margin-top: 0;
        position: relative;
        background-color: #17a258;
    }

    .nav-toggle {
        display: block;
        width: 50px;
        height: 46px;
        margin-left: auto;
        padding: 0;
        background: #17a258;
        border: none;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        margin: 6px auto;
        background: #fff;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .nav-list {
        display: block;
        width: 100%;
        max-width: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.45s ease, opacity 0.3s ease;
    }

    .global-nav.is-open .nav-list {
        max-height: 300px;
        opacity: 1;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.35);
    }

    .nav-list a {
        display: block;
        padding: 14px 20px;
        color: #fff;
        font-weight: bold;
        text-decoration: none;
    }

    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media screen and (max-width: 600px) {
    .header-tel {
        display: none;
    }
}


/*---------------------------------

footer

---------------------------------*/

footer {
    background-color: rgb(198, 249, 189);
    margin-top: 120px;
    padding: 35px 15px;
}

.footer-inner {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    column-gap: 45px;
    align-items: flex-start;
}

.footer-logo {
    display: inline-block;
    color: #555;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.footer-logo:hover {
    color: #555;
}

.address,
.menu {
    margin: 0;
    padding: 0;
}

.address span,
.menu span {
    font-weight: bold;
    border-bottom: 1px solid rgba(80, 120, 80, 0.35);
    padding: 0 0 10px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 4px;
    color: #5d8d65;
}

.address li,
.menu li {
    margin: 7px 0;
    list-style: none;
    line-height: 1.5;
}

.address li a,
.menu li a {
    color: #555;
    letter-spacing: 2px;
    text-decoration: none;
    font-size: 12px;
}

.address li a:hover,
.menu li a:hover {
    color: #17a258;
    transition: all 0.4s ease-in-out;
}

/* アイコン色変更版 */
.address .fa {
    color: #17a258;
    margin-right: 10px;
    font-size: 16px;
}

@media screen and (max-width: 767px) {
    footer {
        margin-top: 80px;
        padding: 35px 20px;
    }

    .footer-inner {
        max-width: none;
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .footer-logo {
        font-size: 1.1em;
    }
}