html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, nav, section, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

body {
    font-family: Noto Sans JP, sans-serif;
    background: url(/assets/img/top/bg.jpg) repeat;
    width: 100%;
}

.-btn {
    width: 320px;
    margin-inline: auto;
}

.-btn a {
    display: block;
    text-align: center;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 16px 40px;
}

#main {
    background: url(/assets/img/common/access_main.jpg) no-repeat center center / cover;
    position: relative;
    height: 640px;
    margin-bottom: 120px;
    width: calc(100% - 48px);
    margin-top: 24px;
    margin-inline: auto;
}

#main .main__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 80px;
    background: rgb(0 0 0 / 48%);
}

#main .main__inner h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 4%;
    line-height: 1.6;
    color: #fff;
}

#main .main__inner .-btn {
    margin-inline: 0;
}

#main .main__inner a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: opacity 0.3s;
    background: rgb(255 255 255);
    color: #000;
    font-weight: 600;

    &:hover {
        opacity: 0.8;
    }
}

#map {
    width: min(94%, 1048px);
    margin-inline: auto;
    padding: 24px;
    margin-bottom: 120px;
    background: #fff;

    &>p {
        text-align: right;
        line-height: 1.6;
        font-weight: 600;
        font-size: 14px;
    }
}

.map__inner {
    width: 100%;
    padding-top: min(100%, 400px);
    position: relative;
    margin-bottom: 24px;
}

.map__inner iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.bottom {
    color: #fff;
    background: #000;
    padding: 64px 0;

    .bottom__inner {
        width: min(1000px, 94%);
        margin-inline: auto;
        display: flex;
        align-items: center;
    }

    .btns {
        display: flex;
        flex-direction: column;
        width: 49%;
    }

    .-btn {
        margin-bottom: 12px;

        a {
            background: #fff;
            color: #000;
            display: flex;
            align-items: center;
            gap: 16px;
            font-weight: 600;
            transition: opacity 0.3s;

            p {
                width: calc(100% - 40px);
            }

            &:hover {
                opacity: 0.8;
            }
        }
    }
}

.bottom h3 {
    font-size: 1.4rem;
    letter-spacing: 2%;
    line-height: 1.6;
    margin-bottom: 24px;
    width: 49%;
}

@media screen and (max-width:768px) {
    #main {
        height: 480px;
        width: calc(100% - 32px);
        margin-top: 16px;
        margin-bottom: 40px;
    }

    #main .main__inner {
        width: calc(100% - 24px);
        height: calc(100% - 24px);
        padding: 24px 40px
    }

    #main .main__inner h2 {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }

    #main .main__inner a {
        padding: 13px 64px;
        font-size: 14px;
        width: fit-content;
    }

    #map {
        margin-bottom: 80px;
        padding: 12px;

        &>p {
            font-size: 13px;
        }

        .map__inner {
            width: 100%;
            padding-top: min(110%, 640px);
            position: relative;
            margin-bottom: 16px;
        }
    }

    .bottom {
        padding: 40px 0;

        .bottom__inner {
            flex-direction: column;
            align-items: center;

            h3 {
                width: min(400px, 100%);
                font-size: 1.2rem;
            }

            .btns {
                width: min(400px, 100%);

                a {
                    padding: 12px 24px;
                }

                p {
                    width: calc(100% - 32px);
                    font-size: 14px;
                }
            }
        }

    }

    .-btn {
        width: 240px;
        margin-inline: 0;
    }
}

@media screen and (max-width:560px) {
    #main{
        width: 94%;
    }
    #main .main__inner {
        padding: 16px 24px;
    }

    #main .main__inner h2 {
        font-size: 1.3rem;
    }

    #main {
        height: 400px;
        margin-bottom: 24px;
    }

    #map {
        &>p {
            font-size: 12px;
        }

    }

    .bottom {
        .bottom__inner {
            .btns {
                align-items: center;
            }
        }
    }

    #main .main__inner a {
        padding: 13px 56px;
    }
}