@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap');

html {
    margin-top: 0 !important; /* デフォルトは0 */
}

.wrapper {
    width: 100%;
    overflow: hidden;
}

body.admin-bar html {
    margin-top: 32px !important; /* 管理バーがあるときだけ32px */
}

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

a:hover,
button:hover {
    opacity: 0.8;
}

.pc {
    display: block;
} 

.sp {
    display: none;
}

p, a, input, h1, h2, h3, h4, h5, button, input, optgroup, select, textarea {
    font-family: Roboto;
}

.h-logo {
    width: 16.935vw;
    z-index: 1002;
}

.box_header {
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    margin: auto;
    z-index: 9999;
}

.box_h-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85.044vw;
    margin: auto;
    padding-top: 3.592vw;
}

/* ハンバーガーアイコン */
.menu-icon {
    position: relative;
    min-width: 60px;
    width: 4.396vw;
    cursor: pointer;
    z-index: 1001;
}

/* フルスクリーンメニュー */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/menu_pc.jpg);
    background-size: cover;
    color: #000;
    display: none; /* 初期は非表示 */
    z-index: 1000;
}

.fullscreen-menu.active {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    margin: auto;
}

.fullscreen-menu .menu-content ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.fullscreen-menu .menu-content ul li {
    margin: 0 0 2.93vw;
    text-align: left;
}

.fullscreen-menu .menu-content ul li:last-child {
    margin: 0 0 0;
}

.fullscreen-menu .menu-content ul li a {
    color: #6C584C;
    font-family: Roboto;
    font-size: 1.758vw;
    font-style: normal;
    font-weight: 700;
    line-height: 35px; /* 145.833% */
    letter-spacing: 1.5px;
    text-decoration: none;
}

.tit_flex {
    display: flex;
    align-items: center;
}

.menu-content {
    width: 84%;
    margin: auto;
}

.txt_logo {
    width: 33.7vw;
    margin-top: 6.593vw;
}

.more_btn {
    display: flex;
    align-items: center;
    font-family: Roboto;
    font-size: 1.172vw;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.11vw;
}

.more_btn a {
    display: flex;
    align-items: center;
    text-decoration: unset;
    color: #6c584c;
    opacity: 1;
    font-weight: 700;
}

.more_btn span {
    position: relative;
    display: block;
    width: 2.564vw;
    margin-left: 0.733vw;
    right: 0;
    transition: right 0.3s ease;
}

.more_btn a:hover {
    opacity: 1;
}

.more_btn a:hover > span {
    right: -10px;
}

footer {
    position: relative;
    background: url(../img/footer_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    margin-top: -5.275vw;
    z-index: 2;
}

.link_card_wrap {
    display: flex;
    justify-content: center;
}

.link_card {
    position: relative;
    width: 24.908vw;
    background: #fff;
    border-radius: 1.465vw;
    margin: -1.319vw 1.319vw 0;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.25));
}

.link_card {
    display: inline-block;
    transition: transform 0.3s ease;
}

.link_ttl {
    width: 10.256vw;
}

.link_ttl.con {
    width: 13.773vw;
}

.link_card p {
    font-size: 1.026vw;
    color: #6c584c;
    font-weight: 500;
    
}

.link_card a {
    display: inline-block;
    font-size: 1.026vw;
    color: #6c584c;
    font-weight: 500;
    text-decoration: unset;
    width: 100%;
    height: 100%;
    padding: 1.026vw 1.026vw 4.762vw 4.615vw;
}

.link_card .more_btn {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    right: 1.026vw;
    bottom: 1.026vw;
}

.footer_menu ul {
    list-style: none;
    display: flex;
}

.con_footer {
    width: 85%;
    margin: auto;
}

.footer_menu li {
    margin-right: 2.93vw;
}

.footer_menu li a {
    text-decoration: none;
    color: #fff;
    font-family: Roboto;
    font-size: 1.172vw;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.11vw;
}

.f-logo {
    width: 15.531vw;
    margin: 4.396vw 0 1.465vw;
}

.copyright {
    margin-top: 4.615vw;
    color: #fff;
    font-family: Roboto;
    font-size: 1.172vw;
    font-style: normal;
    font-weight: 700;
    line-height: 2.564vw;
    letter-spacing: 0.11vw;
    padding-bottom: 2.564vw;
}

.cta_line_btn a {
    position: relative;
    display: inline-block;
}

.cta_line_btn a img.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0s ease;
}

.cta_line_btn a:hover img.hover {
    opacity: 1;
}

.cta_line_btn a:hover img.normal {
    opacity: 0;
}

.cta_mail_btn a {
    position: relative;
    display: inline-block;
}

.cta_mail_btn a img.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0s ease;
}

.cta_mail_btn a:hover img.hover {
    opacity: 1;
}

.cta_mail_btn a:hover img.normal {
    opacity: 0;
}

.con_footer {
    width: 87%;
    margin: auto;
    padding-top: 4.396vw;
}

.footer_menu {
    margin-top: 1.465vw;
}

.footer_menu ul {
    list-style: none;
}

.rank_wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

@media(max-width:767px) {

    .pc {
    display: none;
    } 

    .sp {
        display: block;
    } 

    .box_header {
        width: 100%;
        position: fixed;
        display: flex;
        justify-content: center;
        margin: 20px auto 0;
        z-index: 9999;
    }

    .box_h-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 97.044vw;
        margin: auto;
        padding-top: 0;
    }

    .h-logo {
        width: 38.935vw;
        z-index: 1002;
    }

    .menu-icon {
        position: relative;
        width: 13.514vw;
        cursor: pointer;
        z-index: 1001;
    }

    .more_btn span {
        position: relative;
        display: block;
        width: 35px;
        margin-left: 10px;
        right: 0;
        transition: right 0.3s ease;
    }

    p {
        font-size: 4.324vw;
    }  

    footer {
        position: relative;
        background: url(../img/sp/footer_bg.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
        margin-top: -10.275vw;
        z-index: 2;
    }

    .link_card_wrap {
        flex-direction: column;
        align-items: center;
    }

    .link_card {
        width: 340px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 16px;
        margin-bottom: 25px;
        border-radius: 20px;
    }

    .f-logo {
        width: 150px;
    }

    .link_ttl {
        width: 70px;
        margin: auto;
    }

    .link_ttl.con {
        width: 122px;
    }

    .link_card p {
        font-size: 3.59vw;
        color: #6c584c;
        font-weight: 500;
        width: 100%;
        padding: 10px 0 31px;
        text-align: center;
    }

    .link_card .more_btn {
        display: flex;
        justify-content: flex-end;
        position: absolute;
        right: 4.026vw;
        bottom: 4.026vw;
    }

    .footer_menu ul {
        flex-direction: column;
    }

    .footer_menu li a {
        text-decoration: none;
        color: #fff;
        font-family: Roboto;
        font-size: 4.172vw;
        font-style: normal;
        font-weight: 700;
        letter-spacing: 0.11vw;
    }

    a:visited {
        color:inherit;
    }

    .footer_menu li {
        margin-top: 20px;
    }

    .con_footer {
        width: 87%;
        margin: auto;
        padding-top: 0;
    }

    .copyright {
        font-size: 12px;
        padding: 20px 0;
    }

    .fullscreen-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../img/sp/menu_sp.jpg);
        background-size: cover;
        color: #000;
        display: none;
        z-index: 1000;
    }

    .fullscreen-menu .menu-content ul li a {
        color: #6C584C;
        font-family: Roboto;
        font-size: 4vw;
        font-style: normal;
        font-weight: 700;
        line-height: 35px;
        letter-spacing: 1.5px;
        text-decoration: none;
    }

    .txt_logo {
        width: 78.7vw;
        margin-top: 14.593vw;
    }

    .more_btn {
        display: flex;
        align-items: center;
        font-family: Roboto;
        font-size: 4.172vw;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        letter-spacing: .4vw;
    }
}