@charset "UTF-8";
/*------------------------------------

共通

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

header>div>nav>ul,
.fg-nav>nav>ul {
    display: flex;
}

.g-nav>nav>ul>li,
.fg-nav>nav>ul>li {
    list-style-type: none;
}

nav>ul>li>a {
    color: rgb(0, 51, 0);
    font-size: 2.4rem;
    padding-left: 1em;
    padding-right: 1em;
}

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

header

------------------------------------- */
.fixed {
    background-image: url(../img/bg.webp);
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: -1;
}


header {
    background-color: #fff;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100vw;
}


header>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

header>div>h1 {
    display: inline-block;
    margin-bottom: 1rem;
    /* width: 15.51%; */
}

header>div>h1>a {
    display: block;
}

header>div>nav>ul>li>a {
    font-size: 2.4rem;
}

header>div>h1>a>img {
    width: 100%;
    max-width: 250px;
}

@media screen and (max-width:600px) {
    .customize-support header {
        margin-top: 46px;
    }

    header,
    header>div {
        height: 60px;
    }

    header>div>h1{
        width: 40%;
    }

    header>div>h1>a>img {
        height: 50px;
    }
    

    header>div>div:first-of-type>a>img {
        height: 60px;
        padding: .5rem 0;
    }


    .hbm {
        display: block;
        position: absolute;
        z-index: 103;
        top: 11px;
        right: 20px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
    }

    .hbm>span {
        display: block;
        position: absolute;
        width: 30px;
        height: 1px;
        left: 6px;
        background-color: black;
        transition: 0.3s ease-in-out;
    }

    .hbm>span:nth-child(1) {
        top: 10px;
    }

    .hbm>span:nth-child(2) {
        top: 20px;
    }

    .hbm>span:nth-child(3) {
        top: 30px;
    }

    .hbm.active>span {
        background-color: #fff;
    }

    .hbm.active>span:nth-child(1) {
        top: 16px;
        left: 6px;
        transform: rotate(-45deg);
    }

    .hbm.active>span:nth-child(2) {
        opacity: 0;
    }


    .hbm.active>span:nth-child(3) {
        top: 16px;
        left: 6px;
        transform: rotate(45deg);
    }

    nav.sp_gn {
        position: fixed;
        z-index: 102;
        top: 0;
        right: 0;
        color: #000;
        text-align: center;
        transform: translateY(-100%);
        width: 80%;
    }

    nav.sp_gn.active {
        background-color: rgba(0, 0, 0, .8);
        transform: translateY(0%);
        width: 77%;
        height: 87%;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }


    nav.sp_gn>ul {
        flex-direction: column;
        margin: 0 auto 6rem;
        padding: 0;
        width: 100%;
        position: relative;
        top: 17%;
    }

    nav.sp_gn>ul>li {
        list-style-type: none;
        padding: 0;
    }

    nav.sp_gn>ul>li:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    nav.sp_gn>ul>li>a {
        font-size: 2rem;
        display: inline-block;
        width: 80%;
        padding-top: 2rem;
        padding-bottom: 2rem;
        color: #fff;
        text-decoration: none;
    }

}

@media screen and (min-width:601px) {
    .customize-support header {
        margin-top: 32px;
    }

    header,
    header>div {
        height: 80px;
    }

    header>div>h1 {
        width: 25%;
    }

    header>div>h1>a>img {
        height: 70px;
    }
    
    header>div>div:first-of-type>a>img {
        height: 80px;
        padding: .5rem 0;
    }


}

@media screen and (min-width:601px) and (max-width:1100px) {
    nav.sp_gn>ul>li>a {
        font-size: 2.5vw;
        padding-left: 1vw;
        padding-right: 1vw;
    }

}

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

main

------------------------------------- */
body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

* {
    box-sizing: border-box;
    line-height: 1.5;
}

html {
    font-size: 10px;
}

h1 {
    font-size: 3.2rem;
    color: #fff;
    line-height: 80px;
}

h3 {
    font-size: 2rem;
}

h1,
h2,
h3 {
    text-align: center;
}

section {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    color: black;
    text-decoration: none;
    display: inline-block;
}

.button {
    background-color: #20711D;
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 1.6rem;
    margin: 0 auto;
    font-family: 'ヒラギノ丸ゴ ProN W4', 'Hiragino Maru Gothic ProN';
    display: flex;
    justify-content: center;
}


@media screen and (max-width:600px) {
    main {
        margin-top: 60px;
        margin-bottom: 72px;
    }

    .pc_only {
        display: none;
    }

    body {
        font-size: 1.6rem;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    section:not(:first-of-type) {
        margin: 72px auto 0;
    }

}

@media screen and (min-width:601px) {
    main {
        margin-top: 80px;
        margin-bottom: 128px;
    }

    .sp_only {
        display: none;
    }

    body {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    section:not(:first-of-type) {
        margin: 128px auto 0;
    }

}

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

footer

------------------------------------- */
footer {
    background-color: #23790F;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer>div>nav>ul {
    justify-content: center;
}

footer>div>nav>ul>li>a {
    border-right: 1px solid #fff;
    color: #fff;
    line-height: 1;
}

footer>div>nav>ul>li:last-of-type>a {
    border-right: none;
}

footer>div:last-of-type>small {
    font-size: 1.2rem;
}


@media screen and (max-width:610px) {
    footer {
        height: 100px;
        padding-top: 3rem;
        padding-bottom: 3rem;

    }

    .fg-nav>nav>ul {
        flex-wrap: wrap;
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .fg-nav>nav>ul>li {
        font-size: .5rem;
    }

    .fg-nav>nav>ul>li:nth-of-type(5),
    .fg-nav>nav>ul>li:nth-of-type(6) {
        padding-top: 2em;
    }

    footer>div>nav>ul>li:nth-of-type(4)>a {
        border-right: none;
        color: #fff;
    }


    footer>div>nav>ul>li>a {
        font-size: 1rem;
    }

    footer>div:last-of-type>small {
        font-size: 1rem;
    }

}



@media screen and (min-width:611px) {
    footer {
        height: 170px;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    footer>div:first-of-type {
        margin-bottom: 1em;
    }

    footer>div>nav>ul>li>a {
        font-size: 1.4rem;
    }


}

