@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');

:root {
    --: #0362A2;
    --2: #004370; /* 好きな色 */
}

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 {
    text-decoration: unset;
}

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: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
        '游ゴシック体', 'Yu Gothic', 'メイリオ', Meiryo,
        'ＭＳ ゴシック', 'MS Gothic', sans-serif;
    color: #424242;
}

.mCSB_scrollTools {
  opacity: 1 !important;   /* 非アクティブ時に透明化されないよう固定 */
}

/* スクロールバーを右から8px内側に */
.mCSB_scrollTools {
    right: 8px;
}

/* 背景 */
.mCSB_scrollTools .mCSB_draggerRail {
    background: #f1f1f1;
    width: 5px;
}

/* バー本体 */
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background: #d4d4d4;
    width: 5px;
    border-radius: 3px;
}

.page_mv img {
    width: 100%;
}

.h-logo {
    width: 6.435vw;
    z-index: 1002;
    margin-left: 1.5vw;
}

.h_btn.pc {
    width: 19.122vw;
}

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

.box_h-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto;
    border-bottom: solid 1px #dcdcdc;
}

/* ハンバーガーアイコン */
.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: #004370;
    font-size: 1.758vw;
    font-style: normal;
    font-weight: 400;
    line-height: 35px; /* 145.833% */
    letter-spacing: 1.5px;
    text-decoration: none;
}

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

.page_mv h1 {
    position: absolute;
    top: 42%;
    left: 13%;
    color: var(--Neutral-White-000, #FFF);
    font-family: "Zen Kaku Gothic New";
    font-size: 2.344vw;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.page_mv h1.taxonomy {
    font-size: 1.978vw;
}

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

.menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.menu ul li {
    margin: 0 1.11vw;
}

.menu ul li a {
    padding: 1.11vw 0;
    display: block;
    color: var(--2, #004370);
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
}

.cta_wrap {
    position: relative;
}

.cta_bg {
    display: flex;
}

.cta_btn a {
    margin: 0 0.368vw;
}

.cta_btn {
    position: absolute;
    bottom: 1.456vw;
    display: flex;
    width: 40%;
    margin: 0 30%;
}

.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: var(--2, #004370);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 2;
}

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

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

.footer_menu li {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.172vw;
    font-style: normal;
    font-weight: 700;
    color: #fff;
    height: 2.059vw;
    position: relative;
}

.footer_menu li a:before {
    content: "";
    position: absolute;
    right: 0;
    top: .7vw;
    background: url(../img/top/arrow1.png);
    width: 0.809vw;
    height: 0.588vw;
}

.footer_menu li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.172vw;
    letter-spacing: 0.11vw;
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 400;
    width: 100%;
    height: 2.059vw;
    border-bottom: solid 1px #0362A2;
}

p.f_p.zen {
    color: #FFF;
    font-family: "Zen Kaku Gothic New";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
}

.copyright {
    margin-top: 0;
    color: #fff;
    font-family: 'Noto Sans JP';
    font-size: 1vw;
    font-style: normal;
    font-weight: 400;
    line-height: 2.564vw;
    letter-spacing: 0;
    padding-bottom: 2.564vw;
    text-align: right;
}

.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.wrap {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.footer_menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 29%;
}

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

.page_mv {
    margin-top: 7.588vw;
    position: relative;
}

p.p-404__lead {
    width: 1000px;
    margin: auto;
    padding: 150px;
}

.page.house.p404 h1 {
    font-size: 2vw;
}

.item_thumbnail {
    height: 16vw;
    width: 100%;
    overflow: hidden;
    vertical-align: middle;
}

@media(max-width:767px) {

    .pc {
    display: none;
    } 

    .sp {
        display: block;
    } 

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

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

    .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;
    }

    .mv_cta .cta_btn {
        position: fixed;
        bottom: 0;
        width: 100%;
        margin: 0;
        z-index: 99999;
    }

    p {
        font-size: 4.324vw;
    }  

    footer {
        position: relative;
        margin-top: 0;
        padding: 35px 0 120px;
        z-index: 2;
    }

    .footer_menu.wrap {
        flex-direction: column;
    }

    .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;
    }

    .item_thumbnail {
        height: 54vw;
        width: 100%;
        overflow: hidden;
        vertical-align: middle;
    }

    .f-logo {
        width: 250px;
    }

    .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;
        width: 100%;
        margin-bottom: 34px;
    }

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

    a:visited {
        color:inherit;
    }

    .footer_menu li {
        font-size: 4.172vw;
        font-style: normal;
        font-weight: 700;
        color: #fff;
        height: auto;
        position: relative;
    }

    .footer_menu li a {
        text-decoration: none;
        color: #fff;
        font-size: 4.172vw;
        height: auto;
        font-style: normal;
        font-weight: 500;
        letter-spacing: 0.11vw;
        padding: 10px 0 2px;
    }

    .footer_menu li a:before {
        content: "";
        position: absolute;
        right: 0;
        top: 3.8vw;
        background: url(../img/top/arrow1.png);
        width: 2.809vw;
        height: 1.88vw;
    }

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

    .copyright {
        font-size: 12px;
        padding: 20px 0;
        text-align: center;
        font-weight: 400;
        letter-spacing: .5px;
    }

    .fullscreen-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: hwb(0deg 100% 0% / 90%);
        display: none;
        z-index: 1000;
    }

    .fullscreen-menu .menu-content ul li {
        margin: 0 0 2.93vw;
        text-align: left;
        position: relative;
        border-bottom: solid 1px #0362A2;
    }

    .fullscreen-menu .menu-content ul li a {
        position: relative;
        color: #004370;
        font-size: 4vw;
        font-style: normal;
        font-weight: 400;
        line-height: 35px;
        letter-spacing: 1.5px;
        text-decoration: none;
    }

    .fullscreen-menu .menu-content ul li:before {
        content: "";
        position: absolute;
        right: 0;
        top: 3.8vw;
        background: url(../img/top/arrow3.png);
        width: 3.809vw;
        height: 1.88vw;
    }

    .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;
    }

    .cta_wrap .cta_btn {
        position: absolute;
        bottom: 67.456vw;
        display: flex;
        flex-wrap: wrap;
        width: 69%;
        margin: 0 15.5%;
    }

    .cta_btn a {
        margin: 0 0 0;
    }

    .cta_wrap .cta_btn a {
        margin: 0 0 10px;
    }

    footer {
        position: relative;
        margin-top: 0;
        padding: 35px 0 120px;
        z-index: 2;
    }

    .page_mv h1 {
        width: 85%;
        text-align: center;
        top: 40%;
        left: 50%;
        transform: translate(-50%, 0);
        font-size: 6vw;
    }

    .page_mv h1.taxonomy {
        font-size: 3.978vw;
    }
}