/*
 * Header Styles
 * ヘッダー用スタイル
 */

/*! CSS Used from: http://localhost:8000/wp-content/themes/jof/assets/css/main.min.css?ver=20161226 ; media=all */
@media all {
    .l-footer_head::after,
    .l-header-navi_target::after,
    .l-header_foot::after {
        content: '';
        right: 0;
    }

    .l-header_head {
        overflow: hidden;
    }

    .l-header_title-wrap {
        display: block;
    }

    .l-footer_head-inner,
    .l-header-navi,
    .l-header_head-inner {
        margin-left: auto;
        margin-right: auto;
        max-width: 1200px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .l-footer_foot,
    .l-footer_head::after,
    .l-header-navi_target::after,
    .l-header_foot::after,
    .l-header_head {
        background-image: linear-gradient(30deg, #92e2ff 15%, #86f1e9 85%);
    }

    .l-header_head-inner {
        position: relative;
        z-index: 1;
        padding: 8px 20px;
        margin-left: auto;
        margin-right: auto;
        max-width: 1200px;
    }

    .l-header_rainbow {
        position: absolute;
        bottom: -10px;
        left: 45px;
        z-index: -1;
        width: 180px;
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    @media (min-width:768px) {
        .l-header_head-inner {
            padding: 12px 20px;
        }

        .l-header_rainbow {
            bottom: -10px;
            left: 65px;
            width: 220px;
        }
    }

    @media (min-width:1280px) {
        .l-header_head-inner {
            padding-right: 20px;
            padding-left: 20px;
            overflow: visible;
        }

        .l-header_rainbow {
            bottom: -20px;
            left: 35px;
            width: 260px;
        }

        .l-header_rainbow>img {
            -ms-transform: scale(.1);
            transform: scale(.1);
            -ms-transform-origin: bottom right;
            transform-origin: bottom right;
            opacity: 0;
            transition: 1.5s 1s cubic-bezier(.23, 1, .32, 1);
        }
    }

    .l-header-sp-navi_btn,
    .l-header-sp-navi_btn>.fa,
    .l-header-sp-navi_trigger,
    .l-header-sp-navi_trigger>span {
        transition: all .4s cubic-bezier(.25, .46, .45, .94);
    }

    .l-header_title {
        font-size: 10px;
        font-size: .71429rem;
        line-height: 1.35;
        color: #005081;
    }

    @media (max-width:767px) {
        .l-header_logo {
            padding-top: 4px;
        }

        .l-header-navi_item+.l-header-navi_item {
            border-left: 2px solid #92e2ff;
        }
    }

    .l-header_logo-icon {
        width: 30px;
        margin-right: 5px;
    }

    @media (min-width:768px) {
        .l-header_title {
            position: relative;
            left: 4em;
            margin-bottom: -.8em;
            font-size: 8px;
            font-size: .57143rem;
        }
    }

    @media (min-width:1280px) {
        .l-header_title {
            left: 5em;
            font-size: 12px;
        }

        .l-header_logo-icon {
            width: 48px;
            margin-right: 10px;
        }
    }

    .l-header_logo-text {
        width: 205px;
    }

    @media (min-width:768px) {
        .l-header_logo-text {
            width: 220px;
        }
    }

    @media (min-width:1280px) {
        .l-header_logo-text {
            width: 345px;
        }
    }

    .l-header_info-wrap {
        width: 330px;
        padding: .4em 1em;
        background-color: rgba(255, 255, 255, .95);
        border-radius: 19.5px/50%;
    }

    .l-header_info {
        font-weight: 600;
    }

    @media (min-width:1280px) {
        .l-header_info-wrap {
            width: 490px;
            padding: .5em 1.5em;
            border-radius: 30px/50%;
        }
    }

    .l-header-sp-navi_wrap {
        display: none;
        height: calc(100vh - 76px - 46px);
        overflow: auto;
    }

    .l-header-sp-navi_list {
        padding: 20px 6%;
    }

    .l-header-sp-navi_item+.l-header-sp-navi_item {
        margin-top: 20px;
    }

    .l-header-sp-navi_btn {
        height: 33px;
        padding-right: 1.5em;
        padding-left: 1.5em;
        font-size: 16px;
        font-size: 1.14286rem;
        color: #005081;
        letter-spacing: .05em;
        cursor: pointer;
        background-color: #fff;
        box-shadow: 0 2px 15px rgba(94, 94, 94, .1);
    }

    .l-header-sp-navi_btn:hover {
        box-shadow: 0 2px 15px rgba(94, 94, 94, .2);
    }

    .l-header-sp-navi_btn>.fa {
        color: #009fb5;
    }

    .l-header-sp-navi_item-inner {
        display: none;
    }

    .l-header-sp-navi_target {
        display: inline-block;
        padding-left: 1.6em;
        margin-top: 1.2em;
        color: #5e5e5e;
    }

    .l-header-sp-navi_target>.fa {
        margin-right: 1rem;
        color: rgba(255, 255, 255, .9);
    }

    .l-header-sp-navi_trigger {
        position: relative;
        z-index: 1;
        display: inline-block;
        width: 24px;
        height: 20px;
    }

    .l-header-sp-navi_trigger>span {
        position: absolute;
        left: 0;
        z-index: 2;
        display: inline-block;
        width: 100%;
        height: 4px;
        background-color: #005081;
        border-radius: 4px;
    }

    .l-header-sp-navi_trigger>span:nth-of-type(1) {
        top: 0;
    }

    .l-header-sp-navi_trigger>span:nth-of-type(2) {
        top: 8px;
    }

    .l-header-sp-navi_trigger>span:nth-of-type(3) {
        bottom: 0;
    }

    .l-header_foot {
        position: relative;
        z-index: 1;
        background-color: #fff;
    }

    .l-header_foot::after {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
        height: 2px;
    }

    .l-header-navi {
        margin-left: auto;
        margin-right: auto;
        max-width: 1200px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .l-header-navi_item {
        width: 25%;
    }

    @media (min-width:768px) {
        .l-header_foot::after {
            height: 4px;
        }
    }

    .l-header-navi_target {
        position: relative;
        z-index: 1;
        -ms-flex-direction: column;
        flex-direction: column;
        height: 46px;
        font-size: 10px;
        font-size: .71429rem;
        color: #5e5e5e;
        background-color: #fff;
    }

    @media (min-width:768px) {
        .l-header-navi_target {
            -ms-flex-direction: row;
            flex-direction: row;
            height: 60px;
            font-size: 14px;
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: .05em;
        }

        .l-header-navi_figure {
            margin-right: 8px;
        }
    }

    @media (min-width:1280px) {
        .l-header-navi_target {
            height: 75px;
            font-size: 20px;
            font-size: 1.42857rem;
        }
    }

    .l-header-navi_target::after {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        display: inline-block;
        height: 0;
        pointer-events: none;
        opacity: .15;
        transition: .55s cubic-bezier(.215, .61, .355, 1);
    }

    .l-header-navi_target:hover::after {
        height: 100%;
    }

    .l-header-navi_figure {
        margin-bottom: 2px;
        perspective: 800px;
    }

    @media (min-width:768px) {
        .l-header-navi_figure {
            margin-right: 12px;
        }
    }

    .l-header-navi_img {
        transition: .55s cubic-bezier(.215, .61, .355, 1);
        transform-style: preserve-3d;
    }

    .l-header-navi_target:hover .l-header-navi_img {
        transform: rotateY(360deg) scale(1.15);
    }
}

/*! CSS Used from: http://localhost:8000/wp-content/themes/jof/custom.css?ver=1.0.0 ; media=all */
@media all {
    .l-header_head-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        flex-wrap: nowrap !important;
    }

    .l-header_title-wrap {
        flex: 0 0 60%;
        max-width: 60%;
    }

    .l-header_logo-text {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .l-header_logo-text img[src*="shop_title.png"] {
        width: 194px;
        height: 25px;
    }

    .l-header_info-wrap {
        margin-right: 20px;
        max-width: 45%;
        margin-left: 15px;
    }

    .l-header_search {
        margin-right: 15px;
    }

    .header-search-form {
        display: flex;
        align-items: center;
        background: transparent;
        border-radius: 0;
        padding: 0;
        border: none;
        transition: none;
        box-shadow: none;
    }

    .header-search-form:focus-within {
        border: none;
        box-shadow: none;
    }

    .header-search-field {
        border: none;
        background: transparent;
        outline: none;
        padding: 10px 12px;
        width: 220px;
        font-size: 1.1rem;
        color: #5e5e5e;
        border-bottom: 2px solid #ddd;
    }

    .header-search-field:focus {
        border-bottom-color: #009fb5;
    }

    .header-search-field::placeholder {
        color: #999;
        font-size: 1rem;
    }

    .header-search-submit {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px 12px;
        color: #009fb5;
        transition: color 0.3s ease;
        border-radius: 0;
    }

    .header-search-submit:hover {
        color: #005081;
        background: transparent;
    }

    .header-search-submit i {
        font-size: 1.3rem;
    }

    .l-header_icons {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .header-icon-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #333;
        transition: color 0.3s;
        position: relative;
        min-width: 65px;
    }

    .header-icon-link:hover {
        color: #27ae60;
    }

    .header-icon-link i {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }

    .header-icon-link .icon-label {
        font-size: 0.85rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .header-cart {
        position: relative;
    }

    .header-cart .cart-count {
        position: absolute;
        top: -5px;
        right: -10px;
        background: #e74c3c;
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: 700;
    }

    .header-cart .cart-count:empty {
        display: none;
    }

    @media (max-width: 768px) {
        .l-header_search {
            margin-right: 0;
            margin-bottom: 15px;
            width: 100%;
        }

        .header-search-form {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }

        .header-search-field {
            width: calc(100% - 50px);
            font-size: 1rem;
        }

        .l-header_icons {
            gap: 15px;
        }

        .header-icon-link {
            min-width: 55px;
        }

        .header-icon-link i {
            font-size: 1.4rem;
        }

        .header-icon-link .icon-label {
            font-size: 0.8rem;
        }

        .l-header_logo-text {
            flex-direction: column;
            align-items: flex-start;
        }
    }
}

/*! CSS Used from: Embedded */
.l-header-navi_item {
    width: 34%;
}

