/* where to buy accordion */

header #navigation {
    position: relative;
}

header #navigation ul li label {
    display: inline-block;
    position: relative;
    padding-right: 1em;
    text-align: left;
    line-height: 45px;
    font-family: 'Barlow Condensed',sans-serif;
    font-size: 23px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    cursor: pointer;
    transition: all .3s ease;
}
header #navigation ul li:hover label {
    color: #666666;
}
header #navigation ul > li label:after {
    position: absolute;
    top: 0;
    right: 0.25em;
    bottom: 0;
    width: 11px;
    height: 10px;
    background-repeat: no-repeat;
    background-image: url("../images/arrrow_nav.png");
    background-size: contain;
    margin: auto;
    transition: all .3s ease;
    content: "";
}
header #navigation ul > li:hover label:after {
    transform: scale(1,-1);
}
@media only screen and (max-width: 1100px) {
    header #navigation ul li label {
        font-size: 2.0vw;
    }
}
@media only screen and (max-width: 750px) {
    header #navigation ul li label {
        line-height: 1.6;
        font-size: 4.8vw;
    }
    header #navigation ul li a:after {
        display: none;
    }
    header #navigation ul li label:hover {
        color: #ffffff;
    }
}

#navigation input {
    display: none;
}

header .acc-where {
    position: absolute;
    right: 0;
    bottom: max-content;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    background-color: #ffffff;
    margin: auto;
    padding: 12px 20px 14px;
    font-size: 23px;
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.3);
    transform: translateX(25%);
    transition: all .5s ease;
}
header #navigation ul li:hover .acc-where {
    visibility: visible;
    opacity: 1;
    z-index: 1000;
}
@media only screen and (max-width: 1290px) {
    header .acc-where {
        transform: translateX(4%);
    }
}

 /* accordion */
header #navigation .acc-where ul li {
    width: 265px;
    border-bottom: 1px solid #cacaca;
    text-align: left;
    letter-spacing: -0.025em;
}

.acc-where ul li:first-child {
    border-top: 1px solid #cacaca;
}
.acc-where ul {
    flex-direction: column;
    justify-content:flex-start !important;
    width: 100% !important;
}
.acc-where ul li {
    display: flex;
    margin-right: auto !important;
}
.acc-where ul li a {
    display: flex !important;
    justify-content: space-between;
    padding-right: 0 !important;
    line-height: 1.6 !important;
    font-size: 21px !important;
    color: #000000 !important;
}
.acc-where ul li a:hover {
    opacity: 0.7;
}
.acc-where ul li a:after {
    display: none;
}
#wrapper .acc-where ul li a figure {
    width: 103px;
}
.acc-where ul li a span {
    display: inline-block;
    width: calc(100% - 114px);
    line-height: 1.4;
}
header #navigation .acc-where ul li a {
    font-weight: 500;
}
header #navigation .acc-where ul li a span {
    line-height: 40px;
}
header #navigation .acc-where ul > li:not(:last-child) {
    margin-right: auto;
}


@media only screen and (max-width: 750px) {
    header #navigation ul li label {
        margin-bottom: 1em;
        padding-left: 14vw;
    }
    header #navigation ul > li label:after {
        top: 0.1em;
        right: -0.5em;
        width: 4.93vw;
        height: 4.93vw;
        background-image: url("../images/btn_acc_plus.png");
    }
    header #navigation ul li input:checked ~ label:after {
        background-image: url("../images/btn_acc_minus.png");
    }
    header #navigation ul li:hover label {
        color: #ffffff;
    }
    header #navigation ul > li:hover label:after {
        transform: none;
    }
    header .acc-where {
        position: static;
        visibility: hidden;
        opacity: 0;
        height: 0;
        z-index: inherit;
        width: 100%;
        padding-top: 0;
        padding-left: 4.6vw;
        padding-right: 4.6vw;
        padding-bottom: 0;
        font-size: 23px;
        box-shadow: none;
        transform: none;
    }
    header #navigation ul li:hover .acc-where {
        visibility: hidden;
        opacity: 0;
        z-index: inherit;
        background-color: #ffffff;
    }

    header #navigation .acc-where ul {
        height: 0;
        padding-left: 0;
    }
    header #navigation .acc-where ul li {
        width: 100%;
        margin-bottom: 0;
        padding-left: 0;
    }
    header #navigation .acc-where ul li a {
        height: 0;
        padding: 0;
        font-size: 4.6vw !important;
    }
    header #navigation .acc-where ul li a figure {
        display: flex;
        justify-content: center;
        width: 50%;
    }
    header #navigation .acc-where ul li a figure img {
        width: 21vw;
    }
    header #navigation .acc-where ul li a span {
        width: 50%;
        line-height: 1.4;
    }

    header #navigation ul li input:checked ~ .acc-where {
        visibility: visible;
        opacity: 1;
        height: auto;
        padding-top: 4.8vw;
        padding-bottom: 6.4vw;
    }
    header #navigation ul li input:checked ~ .acc-where ul {
        height: auto;
    }
    header #navigation ul li input:checked ~ .acc-where ul li a {
        display: flex;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 1.2vw 0;
    }
}




/**********************************************/
/* products accordion */
/**********************************************/

section#products input {display: none;}

/* button */
section#products .block ul.link li label {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #ff0000;
    border: 5px solid #ff0000;
    border-radius: 5px;
    line-height: 60px;
    font-family: 'Barlow Condensed',sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all .3s ease;
}
section#products .block ul.link li label:after {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 25px;
    bottom: 0;
    height: 1em;
    margin: auto;
    line-height: 1;
    font-family: "Sintony", sans-serif;
    font-size: 20px;
    font-weight: 700;
    transform: rotate(90deg);
    transition: all .3s ease;
    content: ">";
}
section#products .block ul.link li label:hover {
    opacity: 0.5;
}
@media only screen and (max-width: 750px) {
    section#products .block ul.link li label {
        line-height: 11.333vw;
        font-size: 5.333vw;
    }
    section#products .block ul.link li label:after {
        right: 4vw;
        font-size: 4vw;
    }
}

 /* accordion */
.acc-products {
    visibility: hidden;
    height: 0;
    opacity: 0;
    position: relative;
    width: 94%;
    max-width: 920px;
    background-color: #ffffff;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    padding-left: 30px;
    padding-right: 30px;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.3));
    transition: all .3s ease;
}
.acc-products:before {
    position: absolute;
    top: -13px;
    right: 50%;
    width: 15px;
    height: 13px;
    background-color: #ffffff;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    transform: translateX(15.5em);
    content: "";
}
.acc-products ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.acc-products ul:after {
    display: block;
    width: 30.5%;
    content: "";
}
.acc-products ul li {
    display: flex;
    align-items: center;
    width: 30.5%;
    border-bottom: 1px solid #cacaca;
    text-align: left;
    font-family: 'Barlow Condensed',sans-serif;
    font-weight: 500;
    letter-spacing: -0.025em;
}
.acc-products ul li:nth-child(-n+3) {
    border-top: 1px solid #cacaca;
}

@media only screen and (max-width: 920px) {
    .acc-products ul:after,
    .acc-products ul li {
        width: 48%;
    }
    .acc-products ul li:nth-child(-n+3) {
        border-top: 0;
    }
    .acc-products ul li:nth-child(-n+2) {
        border-top: 1px solid #cacaca;
    }
}

.acc-products ul li a {
    display: flex;
    justify-content: space-between;
    flex-flow: 1;
    width: 100%;
    font-size: 21px;
    color: #000000;
}
.acc-products ul li a:hover {
    opacity: 0.7;
}
.acc-products ul li a figure {
    display: flex;
    align-items: center;
    width: 103px;
}
.acc-products ul li a span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: calc(100% - 103px);
    padding-top: 2px;
    padding-left: 0.5em;
    padding-bottom: 2px;
    line-height: 1.2;
}
.acc-products ul li a span small {
    display: inline-block;
    margin-left: 0.5em;
    font-size: 0.8em;
}

/* checked */
section#products input:checked ~ ul.link li label {
    background-color: #ff6161;
    border: 5px solid #ff6161;
}
section#products input:checked ~ ul.link li label:after {
    transform: rotate(90deg) scale(-1,1);
}

section#products input:checked ~ .acc-products {
    visibility: visible;
    opacity: 1;
    height: auto;
    margin-top: -15px;
    margin-bottom: 45px;
    padding-top: 20px;
    padding-bottom: 20px;
}


@media only screen and (max-width: 750px) {
    .acc-products {
        width: 100%;
        padding-left: 6%;
        padding-right: 6%;
    }
    .acc-products:before {
        top: -2.6vw;
        left: 0;
        right: 0;
        width: 4vw;
        height: 2.666vw;
        margin: auto;
        transform: none;
    }
    section#products input:checked ~ .acc-products {
        margin-top: -13vw;
        margin-bottom: 10vw;
        padding-top: 6.4vw;
        padding-bottom: 6.4vw;
    }
    .acc-products ul {
        flex-direction: column;
    }
    .acc-products ul:after,
    .acc-products ul li {
        width: 100%;
    }
    .acc-products ul li:nth-child(-n+2) {
        border-top: 0;
    }
    .acc-products ul li:first-child {
        border-top: 1px solid #cacaca;
    }
    .acc-products ul li a {
        padding: 1.2vw 0;
        font-size: 4.8vw;
    }
    .acc-products ul li a figure {
        justify-content: center;
        width: 50%;
    }
    .acc-products ul li a figure img {
        width: 21vw;
    }
    .acc-products ul li a span {
        width: 50%;
    }
}
