/**
 * bishokustyle.jp 本家ヘッダー・フッター CSS
 *
 * 本家テーマ（bishoku.css / responsive.css）からヘッダー・フッター部分のみ抽出。
 * 画像パスは本家の絶対URLに書き換え済み。
 */

/* ==========================================================================
   Font (本家と同じ)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css?family=M+PLUS+1p');

/* ==========================================================================
   Hover.css 下線エフェクト（本家で使用）
   ========================================================================== */
.hvr-underline-from-center {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    position: relative;
    overflow: hidden;
}
.hvr-underline-from-center:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    bottom: 0;
    background: #ffffff;
    height: 1px;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.hvr-underline-from-center:hover:before,
.hvr-underline-from-center:focus:before,
.hvr-underline-from-center:active:before {
    left: 0;
    right: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.bsk-head.head {
    position: relative;
    width: 100%;
    height: 120px;
    background: linear-gradient(
        135deg,
        rgba(206,117,163,0.8) 0%,
        rgba(207,54,135,0.8) 15%,
        rgba(206,123,166,0.8) 50%,
        rgba(206,72,141,0.8) 75%,
        rgba(206,95,152,0.8) 100%
    );
    z-index: 100;
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.1em;
    box-sizing: border-box;
}

.bsk-head .head_nav {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 120px;
    margin: 0 auto;
}

.bsk-head .head_logo {
    position: absolute;
    top: -35px;
    left: -50px;
    width: 300px;
    height: 250px;
    padding: 0;
    margin: 0;
    background-image: url(https://bishokustyle.jp/bishokustyle/wp-content/themes/bishokustyle/images/logo_header.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 300px 260px;
    z-index: 10;
}

.bsk-head .head_logo a.logo_pc {
    position: relative;
    display: block;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    box-shadow: rgba(0,0,0,0.2) 3px 3px 10px 0px;
    box-sizing: border-box;
}

.bsk-head .head_nav .head_main {
    position: absolute;
    bottom: 0;
    right: 0;
    display: table;
    width: calc(100% - 300px);
    height: 70px;
    font-size: 14px;
    justify-content: space-between;
    align-items: center;
}

.bsk-head .head_nav .head_sub {
    position: absolute;
    top: 0;
    right: 0;
    display: table;
    width: calc((100% - 300px) * 0.85);
    height: 50px;
    font-size: 14px;
    justify-content: space-between;
    align-items: center;
}

.bsk-head .head_nav li {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    list-style: none;
}

.bsk-head .head_nav li.hvr-underline-from-center:before {
    background: #ffffff !important;
    height: 1px !important;
}

.bsk-head .head_nav li a {
    display: block;
    height: 24px;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.bsk-head .head_nav li a:hover {
    opacity: 1;
}

.bsk-head .head_nav .head_main li a {
    font-size: 16px;
}

.bsk-head .head_nav .head_sub li {
    background-image: url(https://bishokustyle.jp/bishokustyle/wp-content/themes/bishokustyle/images/bg_head_sub.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100px 20px;
    vertical-align: bottom;
}

.bsk-head .head_nav .head_sub li a {
    line-height: 24px;
    margin: 0 5px 5px 15px;
    font-size: 12px;
    border: 1px solid #ffffff;
    transition: 0.3s;
}

.bsk-head .head_nav .head_sub li a.-login,
.bsk-head .head_nav .head_sub li a.-register,
.bsk-head .head_nav .head_sub li a.-profile,
.bsk-head .head_nav .head_sub li a.-logout {
    color: #CF3687;
    background-color: #FAE1EB;
}

.bsk-head .head_nav .head_sub li a:hover {
    background-color: rgba(255,255,255,0.3) !important;
}

/* SP Logo (PCでは非表示) */
.bsk-head + .spnav + .l-content ~ a.logo_sp,
a.logo_sp {
    display: none;
}

a.logo_sp img {
    width: auto;
    height: 60px;
}

/* Hamburger */
.bsk-head .head_menu {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    width: 110px;
    height: 60px;
    padding: 0;
    background: rgba(207, 54, 135, 0.85);
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.bsk-head .head_menu .icop {
    display: block;
    width: 30px;
    height: 2px;
    margin: 4px auto;
    background: #ffffff;
    transition: 0.3s;
}

.bsk-head .head_menu em {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 40%;
    margin-top: -9px;
    font-size: 10px;
    font-style: normal;
    letter-spacing: 2px;
}

/* ==========================================================================
   SP Navigation Overlay
   ========================================================================== */
.spnav {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    z-index: 800;
    background: #000000;
    color: #ffffff;
}

.spnav_wrap {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    padding-top: 30px;
    min-width: 360px;
}

.spnav_logo {
    width: 40%;
    padding: 0 30px;
    text-align: center;
    opacity: 0;
    transform: translateX(30%);
    transition: 0.3s;
}

.spnav_logo.-open {
    opacity: 1;
    transform: translateX(0);
}

.spnav_logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.spnav_nav {
    display: flex;
    flex-direction: column;
    width: 60%;
    padding: 0 30px;
}

.spnav_nav a {
    display: block;
    padding: 10px 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    opacity: 0;
    transform: translateX(30%);
    transition: opacity 0.3s, transform 0.3s;
}

.spnav_nav.-open a {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.bsk-footer.footer {
    position: relative;
    padding: 50px 0 0;
    color: #ffffff;
    background-image: url(https://bishokustyle.jp/bishokustyle/wp-content/themes/bishokustyle/images/bg_section_footer.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
    box-sizing: border-box;
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

.bsk-footer .grad {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(206,117,163,0.8) 0%,
        rgba(207,54,135,0.8) 15%,
        rgba(206,123,166,0.8) 50%,
        rgba(206,72,141,0.8) 75%,
        rgba(206,95,152,0.8) 100%
    );
    z-index: -1;
}

.bsk-footer .footer_inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.bsk-footer .footer_logo {
    width: 100%;
    margin: 0 auto;
}

.bsk-footer .footer_logo img {
    max-width: 260px;
}

/* Footer Top Nav */
.bsk-footer .footer_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 800px;
    height: 60px;
    margin: 30px auto 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.bsk-footer .footer_top li a {
    color: #ffffff;
    text-decoration: none;
}

.bsk-footer .footer_top .hvr-underline-from-center:before,
.bsk-footer .footer_middle .hvr-underline-from-center:before {
    bottom: 0 !important;
    background: #ffffff !important;
    height: 1px !important;
}

/* Footer Middle Nav */
.bsk-footer .footer_middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 600px;
    height: 60px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.bsk-footer .footer_middle li a {
    color: #ffffff;
    text-decoration: none;
}

/* Footer Bottom (Image Cards) */
.bsk-footer .footer_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 800px;
    height: 150px;
    margin: 30px auto;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.bsk-footer .footer_bottom li {
    position: relative;
    width: 31.333%;
    height: 150px;
    padding: 1px;
    margin-right: 3%;
    background-color: #ffffff;
    box-sizing: border-box;
    list-style: none;
}

.bsk-footer .footer_bottom li:last-of-type {
    margin-right: 0;
}

.bsk-footer .footer_bottom li a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
}

.bsk-footer .footer_bottom li a .img_inner {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: transform 0.3s linear;
}

.bsk-footer .footer_bottom li a .title_inner {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    background-color: rgba(47, 98, 137, 0.5);
    box-sizing: border-box;
}

.bsk-footer .footer_bottom li a .title_inner span {
    line-height: 1.5;
    font-size: 16px;
    text-align: center;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    flex: 1;
}

.bsk-footer .footer_bottom li a:hover .img_inner {
    transform: scale(1.05);
}

/* Page Top Link */
.bsk-footer .pagetop {
    position: absolute;
    top: 130px;
    right: 10%;
    display: inline-block;
    padding-top: 60px;
    font-size: 10px;
    color: #ffffff;
    letter-spacing: 1px;
    transform: translate(0, -50%);
    text-decoration: none;
    z-index: 10;
}

.bsk-footer .pagetop span {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 2px;
    height: 40px;
    margin-left: -1px;
    background: #ffffff;
}

.bsk-footer .pagetop span:first-child {
    transform: rotate(45deg);
    transform-origin: top left;
    width: 15px;
    height: 2px;
    top: 10px;
    left: calc(50% - 1px);
}

.bsk-footer .pagetop span:nth-child(2) {
    transform: rotate(-45deg);
    transform-origin: top right;
    width: 15px;
    height: 2px;
    top: 10px;
    left: calc(50% - 13px);
}

.bsk-footer .pagetop span:nth-child(3) {
    height: 40px;
    top: 10px;
}

/* Copyright */
.bsk-footer .copyright {
    width: 100%;
    height: 80px;
    line-height: 80px;
    font-size: 12px;
    text-align: center;
    box-sizing: border-box;
}

.bsk-footer .copyright p {
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Responsive: Tablet (< 960px)
   ========================================================================== */
@media (max-width: 959px) {
    .bsk-head .head_logo {
        left: -5px;
    }
}

/* ==========================================================================
   Responsive: Mobile (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
    /* Header → fixed bar */
    .bsk-head.head {
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 200;
    }

    .bsk-head .head_logo {
        padding-left: 5px;
    }

    .bsk-head .head_logo a.logo_pc {
        display: none;
    }

    .bsk-head .head_nav {
        display: none;
    }

    .bsk-head + a.logo_sp,
    a.logo_sp {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 201;
        height: 60px;
        padding: 0 10px;
        line-height: 60px;
    }

    a.logo_sp img {
        width: auto;
        height: 40px;
        vertical-align: middle;
    }

    .bsk-head .head_menu {
        display: block;
    }

    /* body padding for fixed header */
    body {
        padding-top: 60px;
    }

    /* Footer responsive */
    .bsk-footer .footer_top {
        flex-wrap: wrap;
        height: auto;
    }

    .bsk-footer .footer_top li {
        width: 50%;
        margin-top: 10px;
    }

    .bsk-footer .footer_top li:nth-child(1),
    .bsk-footer .footer_top li:nth-child(2) {
        margin-top: 0;
    }

    .bsk-footer .footer_middle {
        flex-wrap: wrap;
        height: auto;
    }

    .bsk-footer .footer_middle li {
        width: 50%;
        margin-top: 10px;
    }

    .bsk-footer .footer_bottom {
        display: block;
        height: auto;
        margin-bottom: 100px;
    }

    .bsk-footer .footer_bottom li {
        display: block;
        width: 100%;
        height: 150px;
        margin-bottom: 5%;
        margin-right: 0;
    }

    .bsk-footer .footer_bottom li:last-of-type {
        margin-bottom: 0;
    }

    .bsk-footer .pagetop {
        top: inherit;
        right: 50%;
        bottom: 40px;
        margin-right: -37.5px;
    }

    .bsk-footer.footer {
        background-attachment: inherit;
    }
}

/* ==========================================================================
   SWELL のデフォルトヘッダー / フッターを非表示
   ========================================================================== */
.l-header,
#header,
#footer.l-footer {
    display: none !important;
}
