@charset "utf-8";

/* ------------------------------------------------------------
PC
------------------------------------------------------------ */

#contents p,
#contents li,
#contents a,
#contents dd {
    font-size: 18px;
    color: #222;
    font-family: 'メイリオ', Osaka, 'MS PGothic', arial, helvetica, sans-serif !important;

}

#wrapper #contents .sp {
    display: none;
}

#wrapper #contents .pc {
    display: block;
}
#contents {
    margin: 70px 0 0;
}


/* ヘッダー----------------------- */
header {
    background: #fff;
    border-bottom: 1px solid #c4c4c4;
    width: 100%;
    margin: 0 auto;
    font-family: 'メイリオ', Osaka, 'MS PGothic', arial, helvetica, sans-serif !important;
}

header .pc {
    display: block;
    margin: 0 auto;
}

header .sp,
.sp_header_wrap {
    display: none;
}

/* グローバルナビ----------------------- */
header .pc_nav {
    width: 100%;
    background: #fff;
    position: fixed;
    z-index: 9999;
    border-bottom: 1px solid #ddd;
}

header .pc_nav .dropdwn {
    width: 1000px;
    margin: 0 auto;
    display: flex;
}

header .pc_nav .dropdwn li {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0 45px 0 0;
    z-index: 1000;
}

header .pc_nav .dropdwn>li {
    font-size: 16px;
    position: relative;
    display: inline-block;
    text-decoration: none;
    max-width: 220px;
}

header .pc_nav .dropdwn li a {
    text-decoration: none;
    color: #222;
}

header .pc_nav .dropdwn li:first-child {
    margin: 0 120px 0 0;
}

header .pc_nav .dropdwn>li {
    font-size: 16px;
    padding: 20px 0;
    display: inline;
    line-height: 30px;
}

/* 赤アンダーライン----------------------- */
header .pc_nav .dropdwn>li::after {
    position: absolute;
    bottom: 20px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #e03652;
    transform: scale(0, 0.5);
    transform-origin: center top;
    transition: transform .3s;
}

header .pc_nav .dropdwn>li:hover::after {
    transform: scale(1, 0.5);
}

header .pc_nav .dropdwn>li:first-child:hover::after,
header .pc_nav .dropdwn>li.entory:hover::after {
    transform: scale(0, 0);
}


/* プルダウン----------------------- */

header .pc_nav .dropdwn_menu {
    display: none;
    position: absolute;
    padding: 0;
    top: 72px;
    top: 70px\9;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.1));
}

@media all and (-ms-high-contrast: none) {
    header .pc_nav .dropdwn_menu {
        top: 70px;
    }
}

header .pc_nav .dropdwn_menu li {
    width: 240px;
    border-bottom: 1px solid #ddd;
}

header .pc_nav .dropdwn_menu li a {
    padding: 10px 20px 10px 30px;
    display: block;
    color: #222;
    font-size: 15px;
    display: block;
    text-decoration: none;
    background: #f8f8f8;
    position: relative;
}

header .pc_nav .dropdwn_menu li a:hover {
    background: #e8e8e8;
    transition: 0.5s;
}

header .pc_nav .dropdwn_menu li a:before {
    content: '';
    width: 5px;
    height: 5px;
    border: 0px;
    border-top: solid 2px #e03652;
    border-right: solid 2px #e03652;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 19px;
    left: -10px;
    margin: 0 20px;
}

/* entry_btn----------------------- */
header .pc_nav .dropdwn .entory {
    margin: 0;
}

header .pc_nav .dropdwn .entory a {
    border: none;
    text-align: center;
    background: #EEA501;
    color: #fff;
    padding: 13px 20px;
    font-size: 15px;
    margin: 30px auto 0;
    border-radius: 4px;
}

header .pc_nav .dropdwn .entory a:hover {
    background: #d68400;
    transition: 0.5s;
}

/* フッター----------------------- */
footer .footer_area {
    width: 860px;
    margin: 0 auto;
    overflow: hidden;
}

footer .footer_area li {
    float: left;
    text-align: left;
    padding: 0 60px 0 0;
}

footer .footer_area li a {
    display: block;
    text-decoration: none;
    color: #222;
    font-size: 16px;
    text-align: left;
    padding: 15px 0 15px 20px;
    position: relative;
    line-height: 1.4;
}

footer .footer_area li a:hover {
    text-decoration: underline;
}

footer .footer_area li a:before {
    content: '';
    width: 5px;
    height: 5px;
    border: 0px;
    border-top: solid 2px #e03652;
    border-right: solid 2px #e03652;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 21px;
    left: -20px;
    margin: 0 20px;
}

footer .footer_copy {
    background: #e03652;
    font-size: 14px;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}


/* actiom----------------------- */

/*-----figure------ */

#contents figure {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

#contents figcaption {
    position: absolute;
    display: grid;
    place-content: center;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(138, 81, 81, 0.5);
    -webkit-transition: .3s;
    transition: .4s;
    opacity: 0;
    /* padding: 130px 0 0; */
}

#contents figcaption p {
    color: #fff;
    text-align: center;
}

#contents figure:hover figcaption {
    opacity: 1;
}


/*-----fedein------ */

.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.0s;
}

/* ---------------TOPへ--------------- */

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 12px;
    z-index: 9999;
}

#page-top a {
    background: #EEA501;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 20px 0;
    text-align: center;
    display: block;
    z-index: 9999;
    border-radius: 5px;
}

#page-top a:hover {
    background: #d68400;
    transition: 0.5s;
}



/* ------------------------------------------------------------
SP
------------------------------------------------------------ */

@media only screen and (max-width: 767px) {
    header {
        width: 100%;
        border-bottom: none;

    }

    #contents {
        margin: 45px 0 0;
    }

    #wrapper #contents .sp {
        display: block;
    }

    #wrapper #contents .pc {
        display: none;
    }

    .header_wrap {
        display: none;
    }

    .sp_header_wrap {
        display: block;
        border-bottom: 1px solid #D51E13;
    }

    #global_navi .sp {
        display: block;
        width: 100%;
    }

    #global_navi {
        width: 100% !important;
        box-sizing: border-box;
    }

    #global_navi .sp .sp_header_wrap {
        width: 100%;
        overflow: hidden;
    }

    header .logo {
        float: left;
        margin: 10px;
    }

    #global_navi .menubtn {
        float: right;
    }

    #global_navi .pc {
        display: none;
    }

    .overlay {
        content: "a";
        display: block;
        width: 0;
        height: 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        opacity: 0.3;
        transition: opacity .5s;
    }

    .overlay.open {
        overflow: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        height: 100%;
    }

    .sp_header_wrap {
        overflow: hidden;
        padding: 0;
        position: fixed;
        top: 0;
        background: #fff;
        width: 100%;
        z-index: 2000;
    }

    .sp_header_wrap .logo {
        float: left;
        margin: 9px 0 10px 10px;
        width: 110px;
    }

    .sp_header_wrap .logo img {
        width: 100%;
    }

    .sp_header_wrap .menu-trigger {
        float: right;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        z-index: 100;
        width: 75px;
    }

    .sp_header_wrap img {
        width: 100%;
    }

    .sp_nav {
        height: 100%;
        padding-top: 0;
        background: #fff;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10;
        transform: translate(400px);
        transition: all .5s;
        border-left: 1px solid #ddd;
    }

    .sp_nav.open {
        width: 70%;
        padding: 0 20px;
        transform: translateZ(0);
        overflow: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;

    }

    .sp_nav.open::-webkit-scrollbar {
        display: none;
    }


    .sp_nav li {
        border-bottom: 1px solid #c4c4c4;
    }

    .sp_nav li a {
        display: block;
        text-decoration: none;
        color: #222;
        font-size: 15px;
        text-align: left;
        padding: 15px 0 15px 20px;
        position: relative;
        line-height: 1.4;
    }

    .sp_nav li a span {
        font-size: 14px;
    }

    .sp_nav li a:before {
        content: '';
        width: 5px;
        height: 5px;
        border: 0px;
        border-top: solid 2px #e03652;
        border-right: solid 2px #e03652;
        -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
        top: 21px;
        left: -20px;
        margin: 0 20px;
    }

    main {
        height: 100%;
        background-color: #fff;
        transition: all .5s;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    main.open {
        transform: translateX(-250px);
    }

    /* entry_btn----------------------- */
    .sp_nav .sp_entry {
        border: none;
    }

    .sp_nav .sp_entry a {
        border: none;
        text-align: center;
        background: #eeae00;
        color: #fff;
        padding: 18px 0;
        font-size: 15px;
        margin: 10px auto 0;
        border-radius: 2px;
    }

    .sp_nav .sp_entry a:before {
        display: none;
    }

    /* close_btn----------------------- */
    .sp_nav .sp_close {
        border: none;
        text-align: center;
        background: #b7b7b7;
        color: #fff;
        padding: 18px 0;
        font-size: 15px;
        margin: 10px auto 100px;
        border-radius: 2px;
    }


    /* フッター----------------------- */
    footer .footer_area {
        width: 100%;
    }

    footer .footer_area li {
        float: left;
        width: 50%;
        height: 80px;
        box-sizing: border-box;
        border-left: 1px solid #ddd;
        border-top: 1px solid #ddd;
        text-align: left;
        padding: 10px;
    }

    footer .footer_area li a {
        font-size: 14px;
        padding: 15px 0 15px 20px;
    }

    footer .footer_area li a:before {
        top: 20px;
    }

    footer .footer_copy {
        font-size: 12px;
    }

    /*-----figure------ */
    #contents figure:hover figcaption {
        opacity: 0;
    }


}