@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300&display=swap');
body {
    font-family: 'Kiwi Maru', serif;
}

main {
    max-width: 90% !important;
    font-family: 'Kiwi Maru', serif;
    font-size: 16px;
}

.home {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 15px;
    position: relative;
}

.logo-top>picture>img {
    width: 100%;
    max-width: 450px;
}

.Title,
.logo-top>p {
    font-size: 20px;
    color: #E86AA1;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
}

.nav {
    display: flex;
}

.nav>.p1-div>li>a>span {
    font-weight: bold;
}

.nav>.p1-div>li {
    list-style: none;
    margin-left: auto;
    margin-right: auto;
}

.nav>.p1-div>li>a {
    text-decoration: none;
    transition: .5s;
}

.nav>.p1-div>li>a:hover {
    text-decoration: none;
}

.grid {
    display: grid;
    grid-template-columns: 45vw 45vw;
    grid-template-rows: auto;
    justify-items: center;
    text-align: center;
    align-items: center;
    grid-gap: 10px;
}

.grid1 {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
}

.grid2 {
    grid-row: 1;
    grid-column: 2;
    width: 100%;
}

.grid2>p {
    margin-left: auto;
    margin-right: auto;
}

.grid2>img {
    height: auto;
    max-width: 45vw;
}

.grid3 {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    width: 100%;
}

.grid4 {
    grid-row: 2;
    grid-column: 2 / 3;
    width: 100%;
}

.grid5 {
    grid-row: 3;
    grid-column: 1 / 3;
}

.sns {
    width: 64px;
    margin: 0 20px;
}

.sns-ul {
    display: flex;
    flex-wrap: nowrap;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

.grid6 {
    grid-row: 4;
    grid-column: 1 / 3;
}

.grid6-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 5px;
}

.grid6-1 {
    grid-row: 1;
    grid-column: 1 / 3;
}

.grid6-2 {
    grid-row: 2;
    grid-column: 1 / 2;
}

.Maine {
    position: relative;
    margin-left: 5px;
    margin: 0 auto;
}

.pc_only {
    display: block;
}

.sp_only,
.nav-sp {
    display: none!important;
}

@media only screen and (max-width: 640px) {
    .sp_only,
    .nav-sp {
        display: flex!important;
        ;
    }
    .pc_only,
    .nav-pc {
        display: none!important;
    }
}

#page-wrap {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: relative;
    padding-bottom: 370px;
    box-sizing: border-box;
}


/*動画設定 その他*/

.wrap {
    margin-bottom: 1.5rem;
}

.wrap span {
    font-weight: bolder;
}

.movie {
    position: static;
    height: 100%;
    padding-bottom: 0;
    overflow: hidden;
}

.movie iframe {
    position: static;
    top: 0;
    right: 0;
    width: 40vw;
    border-width: 0;
    height: 22.5vw;
}

.wrap img {
    width: 100%;
}

.MEMBER ul,
.promise ul {
    list-style: none;
    padding-inline-start: 0;
}

.MEMBER ul {
    display: flex;
    justify-content: center;
}

.MEMBER li {
    margin-bottom: 4px;
    width: 30%;
    margin-right: 0.66%;
    overflow: hidden;
    padding: 10px;
}

.MEMBER ul li a {
    width: 100%;
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    border: 1px solid #333;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.MEMBER ul li a:hover {
    background: #6be8b25e;
}

.bosyu img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 770px) {
    .grid {
        grid-template-columns: auto
    }
    .grid1 {
        grid-row: 1;
        grid-column: 1;
        width: 100%;
    }
    .grid2 {
        grid-row: 2;
        grid-column: 1;
        width: 100%;
    }
    .grid2>p {
        margin-left: auto;
        margin-right: auto;
    }
    .grid2>img {
        height: auto;
        max-width: 45vw;
    }
    .grid3 {
        grid-row: 4;
        grid-column: 1;
        width: 100%;
    }
    .grid4 {
        grid-row: 3;
        grid-column: 1;
        width: 100%;
    }
    .grid5 {
        grid-row: 5;
        grid-column: 1;
    }
    .grid6 {
        grid-row: 6;
        grid-column: 1;
    }
    .grid6-1 {
        grid-row: 1;
        grid-column: 1 / 3;
    }
    .movie iframe {
        position: static;
        top: 0;
        right: 0;
        width: 85vw;
        border-width: 0;
        height: 48vw;
    }
}