/* Simple09 Theme - GENBA NO TAKUMI */

:root {
    --simple09-sidebar-width: 240px;
    --simple09-type-display: clamp(2rem, 1.42rem + 2.4vw, 3.25rem);
    --simple09-type-section-title: clamp(1.35rem, 1.08rem + 1vw, 2rem);
    --simple09-type-card-title: clamp(0.9rem, 0.84rem + 0.2vw, 1rem);
    --simple09-type-copy: clamp(0.875rem, 0.82rem + 0.22vw, 1rem);
    --simple09-type-link: clamp(0.8rem, 0.76rem + 0.18vw, 0.92rem);
}

@media (min-width: 1280px) {
    :root {
        --simple09-sidebar-width: 260px;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 0 !important;
    background: #ffffff;
    color: #333333;
    font-family: "Noto Sans JP", sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #e8e4da;
    color: #2d2a26;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #e8e4da;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d1cbbb;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ec-layoutRole__header {
    position: relative;
    z-index: 80;
}

.ec-layoutRole__legacy-wrapper,
.ec-layoutRole__mainBottom,
.ec-layoutRole__contentBottom,
.ec-layoutRole__footer {
    background: #ffffff;
}

.ec-layoutRole__legacy-wrapper {
    min-height: 100vh;
    padding-top: 68px;
}

@media (min-width: 1024px) {
    .ec-layoutRole__legacy-wrapper,
    .ec-layoutRole__mainBottom,
    .ec-layoutRole__contentBottom,
    .ec-layoutRole__footer {
        margin-left: var(--simple09-sidebar-width);
    }

    .ec-layoutRole__legacy-wrapper {
        padding-top: 76px;
    }

    body:not(.front_page):not(.product_page):not(.product_detail_page) .ec-layoutRole__main > main {
        padding-top: 5rem !important;
    }

}

.simple09-main-shell {
    display: flex;
    flex-direction: column;
    gap: clamp(3.5rem, 2.8rem + 2.8vw, 5rem);
    width: min(100% - 2rem, 72rem);
    margin: 0 auto;
    padding: clamp(1rem, 0.3rem + 2vw, 2.5rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
}

body.front_page.simple09-front {
    height: 100vh;
    overflow: hidden;
    background: #ffffff;
}

body.front_page.simple09-front .ec-layoutRole,
body.front_page.simple09-front .ec-layoutRole__legacy-wrapper,
body.front_page.simple09-front .ec-layoutRole__contents,
body.front_page.simple09-front .ec-layoutRole__main {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100vh;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

body.front_page.simple09-front .ec-layoutRole__header,
body.front_page.simple09-front .ec-layoutRole__footer,
body.front_page.simple09-front .ec-layoutRole__mainTop,
body.front_page.simple09-front .ec-layoutRole__mainBottom,
body.front_page.simple09-front .ec-layoutRole__contentTop,
body.front_page.simple09-front .ec-layoutRole__contentBottom,
body.front_page.simple09-front .ec-layoutRole__left,
body.front_page.simple09-front .ec-layoutRole__right,
body.front_page.simple09-front .ec-layoutRole__appendBottom,
body.front_page.simple09-front .ec-overlayRole,
body.front_page.simple09-front .ec-drawerRole,
body.front_page.simple09-front .ec-drawerRoleClose {
    display: none !important;
}

.simple09-raw-shell {
    height: 100vh;
    min-height: 0;
    overflow: visible;
}

.simple09-sidebar {
    overflow: visible;
}

.simple09-hero-banner {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(27rem, 52vh, 35rem);
    overflow: hidden;
    background: #F1EFE9;
}

.simple09-hero-media,
.simple09-hero-video,
.simple09-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.simple09-hero-media {
    z-index: 0;
}

.simple09-hero-video {
    object-fit: cover;
    object-position: center;
    opacity: 1;
    background: #F1EFE9;
}

.simple09-hero-overlay {
    z-index: 1;
    background: rgba(45, 42, 38, 0.44);
}

.simple09-hero-content {
    position: relative;
    z-index: 2;
    width: min(100% - 2rem, 42rem);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: #ffffff;
}

.simple09-hero-content h2,
.simple09-hero-content p {
    color: inherit;
}

@media (max-width: 767px) {
    .simple09-hero-banner {
        min-height: clamp(24rem, 62vh, 31rem);
    }

    .simple09-hero-content {
        width: min(100% - 1.5rem, 34rem);
        padding: 0 1.25rem;
    }
}

.simple09-sidebar-category-menu,
.simple09-sidebar-category-submenu {
    left: calc(100% - 1px);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateX(0.35rem);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.simple09-sidebar-category-menu::before,
.simple09-sidebar-category-submenu::before {
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    width: 0.5rem;
    content: "";
}

.simple09-sidebar-products:hover > .simple09-sidebar-category-menu,
.simple09-sidebar-products:focus-within > .simple09-sidebar-category-menu,
.simple09-sidebar-category-item:hover > .simple09-sidebar-category-submenu,
.simple09-sidebar-category-item:focus-within > .simple09-sidebar-category-submenu {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0);
}

.simple09-category-nav {
    overflow-x: auto;
    overflow-y: visible;
}

.simple09-product-category-nav .simple09-category-nav {
    overflow: visible;
}

@media (min-width: 1024px) {
    .simple09-category-nav {
        overflow: visible;
    }

    .simple09-category-dropdown-item:nth-last-child(-n+3) .simple09-category-dropdown {
        right: 0;
        left: auto;
    }
}

.simple09-category-dropdown {
    pointer-events: none;
}

.simple09-category-dropdown::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 0.5rem;
    content: "";
}

.simple09-category-dropdown-item:hover .simple09-category-dropdown,
.simple09-category-dropdown-item:focus-within .simple09-category-dropdown {
    pointer-events: auto;
}

.hover-scale {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-1px);
}

.simple09-section {
    padding: clamp(3.5rem, 2.7rem + 3vw, 6rem) 0;
}

.simple09-section-inner {
    width: min(100% - 2rem, 72rem);
    margin: 0 auto;
}

.simple09-home-display {
    font-size: var(--simple09-type-display);
    text-wrap: balance;
}

.simple09-home-section-title {
    font-size: var(--simple09-type-section-title);
    text-wrap: balance;
}

.simple09-home-card-title {
    font-size: var(--simple09-type-card-title);
}

.simple09-home-copy {
    font-size: var(--simple09-type-copy);
    text-wrap: pretty;
}

.simple09-link {
    font-size: var(--simple09-type-link);
}

.image-hover-zoom {
    overflow: hidden;
}

.image-hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-hover-zoom:hover img {
    transform: scale(1.04);
}

.simple09-product-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.simple09-product-card__category {
    color: #7a4f2b;
}

.simple09-product-card:hover .simple09-product-card__category {
    color: #5f3b1f;
}

.dark .simple09-product-card__category {
    color: #c7a07b;
}

.simple09-product-card:hover img {
    transform: scale(1.04);
}

.simple09-cart-panel {
    pointer-events: none;
}

.simple09-cart:hover .simple09-cart-panel,
.simple09-cart:focus-within .simple09-cart-panel {
    pointer-events: auto;
}

.simple09-home-swiper {
    overflow: hidden;
}

.simple09-home-swiper .swiper-wrapper {
    align-items: stretch;
}

.simple09-home-swiper .swiper-slide {
    height: auto;
}

.simple09-home-swiper .simple09-product-card,
.simple09-home-swiper .simple09-product-card > a {
    height: 100%;
}

.simple09-home-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.simple09-home-swiper:not(.swiper-initialized) .swiper-wrapper::-webkit-scrollbar {
    display: none;
}

.simple09-home-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 min(74vw, 260px);
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .simple09-home-swiper:not(.swiper-initialized) .swiper-slide {
        flex-basis: 280px;
    }
}

@media (min-width: 1024px) {
    .simple09-home-swiper:not(.swiper-initialized) .swiper-slide {
        flex-basis: calc((100% - 4.5rem) / 4);
    }
}

.simple09-home-swiper-nav.swiper-button-disabled,
.simple09-home-swiper-nav:disabled {
    cursor: default;
    opacity: 0.35;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.animate-scroll {
    animation: scroll 60s linear infinite;
}

.simple09-footer-map iframe {
    display: block;
}

.simple09-mobile-menu__panel {
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.simple09-mobile-menu.is-open .simple09-mobile-menu__panel {
    transform: translateX(0);
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

@media (max-width: 1023px) {
    .simple09-section {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Simple09 raw theme overrides */
:root {
    --simple09-type-display: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
    --simple09-type-section-title: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
    --simple09-type-card-title: clamp(0.78rem, 0.74rem + 0.2vw, 0.88rem);
    --simple09-type-copy: clamp(0.84rem, 0.8rem + 0.2vw, 0.95rem);
    --simple09-type-link: clamp(0.76rem, 0.72rem + 0.18vw, 0.88rem);
}

.ec-layoutRole__legacy-wrapper,
.ec-layoutRole__mainBottom,
.ec-layoutRole__contentBottom,
.ec-layoutRole__footer {
    margin-left: 0 !important;
}

.ec-layoutRole__legacy-wrapper {
    padding-top: 0 !important;
}

body.front_page.simple09-front {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #ffffff;
}

body.front_page.simple09-front .ec-layoutRole,
body.front_page.simple09-front .ec-layoutRole__legacy-wrapper,
body.front_page.simple09-front .ec-layoutRole__contents,
body.front_page.simple09-front .ec-layoutRole__main {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

body.front_page.simple09-front .ec-layoutRole__main {
    width: 100% !important;
    max-width: none !important;
}

.simple09-home {
    min-height: 100vh;
}

.simple09-site-header {
    position: relative;
    z-index: 70;
}

.simple09-home-display {
    font-size: var(--simple09-type-display);
}

.simple09-home-section-title {
    font-size: var(--simple09-type-section-title);
}

.simple09-home-card-title {
    font-size: var(--simple09-type-card-title);
}

.simple09-home-copy {
    font-size: var(--simple09-type-copy);
}

.placeholder-img {
    position: relative;
    background-color: #f4f5f7;
}

.placeholder-img::after {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #d1d5db;
    content: "\f03e";
    font-family: "Font Awesome 6 Free";
    font-size: 2rem;
    font-weight: 900;
    transform: translate(-50%, -50%);
}

.line-clamp-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.simple09-product-card img {
    max-width: 100%;
}

.simple09-cart-panel {
    margin-top: 0.5rem;
}

@media (max-width: 767px) {
    .simple09-home-display {
        max-width: 11em;
    }
}

@media (min-width: 1024px) {
    body:not(.front_page):not(.product_page):not(.product_detail_page) .ec-layoutRole__main > main {
        padding-top: 0 !important;
    }
}
