/* プレビュー用 */
.fs-preview-header {
    display: none;
}
/* プレビュー用 */


/* PC/タブレット用 */
.header-message {
    background: #ffffff;  /* background: #66A659; */
    color: #4d5156;       /* color: #ffffff; */
    text-align: center;
}

.pc-only {
    display: none;
}

.sp-only {
    display: block;
}


.login-link.logged-in-true {
    display: none;
}
.login-link.logged-in-false {
    display: block;
}
.logout-link.logged-in-true {
    display: block;
}
.logout-link.logged-in-false {
    display: none;
}


#headerOuter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}
#headerOuter header {
    background: #fff;
    height: 60px;
}
#headerOuter  .fs-p-headerNavBar {
    border-bottom: none;
}

.fs-l-header {
    display: flex;
    justify-content: space-between;
    padding-left: 8px;
    padding-right: 8px;
}

.fs-l-header__contents {
    display: block;
}

.fs-p-headerNavigation {
    justify-content: end !important;
    position: absolute;
    top: 25px;
    right: 0;
}

.fs-p-headerNavBar {
    display: block;
    background: #fff !important;
    color: #000;
}

.fs-p-headerNavigation__listItem {
    min-width: 40px;
}

.fs-p-headerNavigation__link {
    color: #000 !important;
}

.fs-p-headerNavigation__link .icon-outer {
    text-align: center;
    position: relative;
    cursor: pointer;
}
.fs-p-headerNavigation__link .icon-img {
    height: 25px;
}
.fs-p-headerNavigation__link .icon-text {
    font-size: 0.7rem;
}
.fs-p-headerNavigation__link .fs-client-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff0909;
    width: 15px;
    height: 15px;
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
}


.fs-p-headerNavigation__viewCartButton {
    /* padding:0 !important; */
}

.fs-p-headerNavigation__viewCartButton .fs-icon--cart:before,
.search_icon_btn .fs-icon--search:before{
    font-size: 40px;
}

.fs-l-header__drawerOpener {
    margin-right: 8px;
}

.drawer-head-logo {
    text-align: center;
}

.drawer-head-logo > h3 {
    margin: 0;
}
.drawer-head-logo > span {
    font-size: 0.7em;
}

#drawerSearchOuter {
    margin-bottom: 1em;
}

#drawerSearchOuter .fs-p-inputGroup {
    border-radius: 8px;
}
#drawerSearchOuter .fs-p-searchForm__input {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
#drawerSearchOuter .fs-p-searchForm__button {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.drawer-footer-btn {
    padding: 0.5em 1em;
    text-align: center;
    border: 1px solid #000;
}

.drawer-footer-btn a {
    color: #000;
    text-decoration: none;
}

.drawer-section {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin-top: -1px;
    margin-bottom: -1px;
    padding: 0 1em;
    cursor: pointer;
}


.drawer-section-link {
    color: #000 !important;
    text-decoration: none !important;
}

.drawer-section .fs-p-sideMenu {
    overflow: hidden;
    max-height: 0;
    height: auto;
}

.drawer-section .fs-p-sideMenu.active {
    max-height: none;
}

.drawer-section .fs-p-sideMenu .fs-pt-menu__heading--lv1 {
    border: none;
}

.drawer-section .fs-p-sideMenu .fs-pt-menu__item + .fs-pt-menu__item {
    margin-top: 0;
}

.drawer-section .fragrance-head {
    margin-top: 2em !important;
}

.drawer-section .fs-p-sideMenu .fs-pt-menu__link--lv1 {
    justify-content: start;
}

.drawer-section .fs-p-sideMenu .fs-pt-menu__link--lv1::before {
    content: "-";
}

.drawer-section .fs-p-sideMenu .fs-pt-menu__link--lv1::after {
    content: "";
}
.toggle-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.toggle-head:after {
    content: "+";
    transition: transform 0.5s;
}

.toggle-head.active:after {
    transform: rotate(45deg);
}

.fs-c-breadcrumb {
    margin-top: 80px;
    margin-left: 5px;
}

.search_icon_btn {
    /* padding:0 !important; */
}

.fs-p-drawerButton {
    display: inline-block !important;
}

.fs-p-drawer {
    position: fixed !important;
    top: 81px;
    left: 0;
    right: 0;
    min-width: 200px;
    max-width: none;
    transform: translateX(101%);
}



.fs-p-drawer.active {
    transform: translateX(0);
}

.icon-humberger:before {
    content: "☰";
    font-size: 25px;
}

.icon-close:before {
    content: "\e911";
    font-size: 25px;
}

#carouselOuter {
    position: relative;
}

.secondary_header {
    display: none;
}

.secondary_header .fs-p-headerNavigation__search {
    width: 50%;
    margin: 10px auto;
}

.carousel_overlay {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.fs-pt-carousel .slick-dots {
    margin-top: -36px;
}



.fs-pt-carousel {
    margin-top: 81px;
}

.area-section {
    padding: 1.5em;
}

.area-section > .section-head, 
.area-section > div {
    max-width: 1216px;
    margin-left: auto;
    margin-right: auto;
}

#topicsArea, #productsArea {
    background: #F6F3EE;
}

#topicListArea .fs-pt-list {
    margin-bottom: 6em;
}


#topicsArea .fs-pt-list__link {
    padding-top: 2em;
    padding-bottom: 1em;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #808080;
    color: #333333;
    align-items: center;
    font-size: 0.8em;
}
#topicsArea .publish-date {
    margin-right: 1em;
}
#topicsArea .topic-type {
    padding: 0.2em 1em;
    background: #808080;
    color: #fff;
    border-radius: 20px;
    width: 90px;
    text-align: center;
    margin-right: 1em;
}

#topicsArea .topic-content {
    width: 100%;
    margin: 1em 0;
}

.fs-pt-column__heading {
    font-size: 1.5rem;
    font-weight: normal;
    text-align: center;
}

.fs-pt-column--2, .fs-pt-column--3 {
    grid-template-columns: 1fr 1fr;
}

.section-head {
    text-align: center;
}
.drawer-section .section-head {
    text-align: left;
}

h1.section-head, h3.section-head {
    padding-left: 0.15em;
    letter-spacing: 0.15em;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.search-type-title {
    display: block;
    margin-bottom: 0.5em;
    letter-spacing: 0.15em;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

.fs-l-main {
    /* margin: 0 2em; */
    padding: 0 2em;
}



/* SELECTION */
#selectionColumn .fs-c-productListCarousel__ctrl {
    display: none !important;
}

#selectionColumn .fs-c-productListCarousel__list {
    width: 100%;
}

#selectionColumn .fs-c-productListCarousel__list__itemTrack {
    width: 100%;
}

#selectionColumn .slick-track {
    width: auto !important;
    transform: translate3d(0px, 0px, 0px) !important;
}

#selectionColumn .slick-slide {
    width: 31%;
    margin: 0 1%;
}

#selectionColumn .fs-c-productListCarousel__list__item {
    max-width: none;
    min-width: 0;
    margin: 0;
}
/* SELECTION */

/* RANKING */
#rankingArea {
    padding-left: 1em;
    padding-right: 1em;
}
#rankingColumn .fs-c-productListCarousel__list {
    width: 100%;
}

#rankingColumn .fs-c-productListCarousel__list__itemTrack {
    width: 100%;
}

/* #rankingColumn .slick-track {
    width: auto !important;
} */

#rankingColumn .slick-slide {
    max-width: 128px;
    /* width: 46%;
    margin: 0 2%; */
}

#rankingColumn .fs-c-productListCarousel__list__item {
    max-width: none;
    padding: 0 8px;
    margin: 0;
}

#rankingColumn .fs-c-button--carousel::before {
    color: #66A659;
    background: #F6F3EE;
    border-radius: 20px;
}

#rankingColumn .fs-c-productListItem__image:before {
    content: "";
    position: absolute;
    top: 21px;
    left: 4px;
    background: #66A659;
    color: #fff;
    border-radius: 20px;
    padding-top: 2px;
    padding-bottom: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 30px;
    height: 20px;
    width: 25px;
    font-family: "Zen Maru Mincho", serif;
    /* font-optical-sizing: auto; */
    font-weight: 700;
    font-size: 2rem;
    font-style: normal;
}
#rankingColumn .fs-c-productListItem__image:after {
    content:"";
    background-image: url(https://meettree.itembox.design/item/mdi_crown.png?t=20250423175024);
    background-size: contain;
    position: absolute;
    top: 0;
    left: 5px;
    width: 23px;
    height: 23px;
}

/* RANKING */


.fs-p-footerSnsLink {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.fs-p-footerSnsLink > li {
    width: 45px;
    margin: 0 1.5em;
}

.fs-l-footer {
    border-top: none;
    background-color: #fff;
}

.fs-l-footer a {
    color: #4d5156;  /* color: #ffffff; */
}

.footer-main {
    background: #ffffff;  /* background: #66A659; */
    color: #ffffff;       /* color: #ffffff; */
    margin-top: 0;
    padding: 0 2em;
    padding-top: 1em;
}

.fs-p-footerNavigation {
        grid-gap: 0;
}
.fs-p-footerNavigationItem__title {
    border-bottom: none;
    font-size: 1.4rem;
    text-align: start;
}

.fs-p-footerCopyright {
    background: #ffffff;  /* background: #66A659; */
    color: #4d5156; /* カラー指定追加 */
}


@media screen and (max-width: 599px) {
    .fs-pt-carousel__slide img {
        height: 250px;
        object-fit: cover;
    }
}

@media screen and (min-width: 600px) {
    .fs-pt-column--3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* #rankingColumn .slick-track {
        transform: translate3d(0px, 0px, 0px) !important;
    } */

    #selectionColumn .fs-c-productListCarousel__list__item {
        padding: 0 8px;
    }

    #rankingColumn .slick-slide {
        max-width: 372px;
        /*  width: 31%;
        margin: 0 1%; */
    } 
}

@media screen and (min-width: 768px) {
    .pc-only {
        display: block;
    }
    .sp-only {
        display: none;
    }

    .fs-l-header {
        padding-left: 2em;
        padding-right: 2em;
    }

    .fs-p-headerNavigation {
        position: relative;
        top: 0;
        right: 0;
    }

    .fs-p-headerNavigation__list {
        margin-top: -6px;
        gap: 6px;
    }

    .fs-p-headerNavBar {
        display: block;
    }

    .secondary_header {
        display: block;
    }

    .fs-p-footerNavigation {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .secondary_header {
        padding: 5px;
        background: #F7F7F7;  /* background: #F6F3EE; */
    }

    .secondary_header_navigation {
        margin: 10px auto;
        max-width: 1216px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        color: #000;
    }

    .secondary_header_navigation .navigation_list {
        box-sizing: border-box;
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        width: auto;
    }

    .secondary_header_navigation .navigation_item {
        display: flex;
        padding: 0 15px;
        border-right: 1px solid #333333;
    }

    .secondary_header_navigation a {
        color: #000 !important;
    }

    .secondary_header .search_outer {
        display: none;
    }

    .search_outer .fs-p-searchForm__input {
        padding: 10px 13px; 
    }

    .search_outer .fs-p-searchForm__inputGroup {
        border-radius: 10px;
        overflow: hidden;
        background: #fff !important;
    }

    .search_outer .fs-p-searchForm__button {
        width: 3em;
        height: 3em;
        /* border-radius: 10px 0 0 10px; */
    }
    .search_outer .fs-p-searchForm__button:before {
        top: 46%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        -webkit-transform: translateY(-50%) translateX(-50%);
    }


    .fs-c-breadcrumb {
        margin-top: 150px;
        margin-left: calc(2em + 8px);
    }

    .fs-pt-carousel {
        margin-top: 132px;
    }
    .area-section {
        padding: 4em;
    }

    #topicsArea .fs-pt-list__link {
        flex-wrap: nowrap;
        font-size: 1em;
    }

    #topicsArea .publish-date {
        margin-right: 2em;
    }

    #topicsArea .topic-type {
        padding: 0.2em 1.5em;
        width: 110px;
        margin-right: 2em;
    }

    #topicsArea .topic-content {
        width: auto;
        margin: 0;
    }

    .fs-pt-column--4 .fs-pt-column__image > img {
        width: 100%;
    }

    .fs-pt-column--3 .fs-pt-column__image > img {
        width: 100%;
    }

    .fs-pt-column {
        padding-left: 48px;
        padding-right: 48px;
    }

    .fs-pt-column__item {
        margin-top: 2em;
    }

    #selectionColumn .fs-c-productListCarousel__list,
    #rankingColumn .fs-c-productListCarousel__list {
        margin-top: 2em;
    }

    #rankingColumn .fs-c-productListItem__image:before {
        top: 30px;
        left: 5px;
        padding-top: 3px;
        padding-bottom: 5px;
        height: 30px;
        width: 38px;
        font-size: 2.8rem;
    }
    #rankingColumn .fs-c-productListItem__image:after {
        top: 0;
        left: 9px;
        width: 30px;
        height: 30px;
    }

    /* 香りから選ぶ */
    .fs-pt-column__item.fragrance {
        padding: 2em 5em;
    }
    .fs-pt-column__item.fragrance .fs-pt-column__heading {
        margin-top: 1.5em;
    }
}

@media screen and (min-width: 960px) {
    .fs-p-footerNavigation {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 1200px) {
    .fs-p-drawer {
        box-shadow: none;
        position: fixed;
        transform: translateX(101%);
    }
}
