@charset "utf-8";
/*
Theme Name: Lightning Pro Child Sample
Theme URI:
Template: lightning-pro
Description:
Author:
Tags:
Version: 0.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* =======================
基本設定
======================= */
body {
    font-weight: 400;
}
.ff-en {
    font-family: "kallisto", sans-serif;
    font-weight: 900;
    font-style: italic;
}
h2 {
    padding-top: 0;
    border: none;
    &::before, &::after {
        content: none;
    }
}
h3 {
    padding-left: 0;
    border-left: none;
}

/* レイアウト */
@media (max-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1140px;
    }
}
@media (max-width: 575.98px) {
    :is(.single-product, .product, .archive, .page-id-120, .woocommerce-checkout){
        .mainSection-base-on, .sideSection-base-on {
            padding: 0;
        }
    }
    .woocommerce ul.products[class*=columns-] {
        margin: 0;
    }
}

/* タイトル共通 */
.cmn__title.wp-block-group {
    margin-bottom: 50px;
    h2 {
        font-size: 32px;
        font-weight: 900;
        padding-bottom: 12px;
        border-bottom: 1px solid #707070;
        width: fit-content;
        margin-inline: auto;
        padding-top: 0;
        border-top: none;
        margin-bottom: 0;
        margin-top: 50px;
        &::before, &::after {
            content: none;
        }
    }
    .ff-en {
        font-size: 18px;
    }
}

@media (max-width: 991.98px) {
    .cmn__title.wp-block-group {
        margin-bottom: 30px;
        h2 {
            font-size: 20px;
            margin-top: 25px;
        }
        .ff-en {
            font-size: 14px;
        }
    }
}

/* カートボタン */
.vk_fixed-display-position-right {
    right: 1.3%;
}
.vk_fixed-display a {
    &:hover {
        opacity: 0.7;
    }
}
@media (max-width: 991.98px) {
    .vk_fixed-display-position-right {
        right: 0;
    }
}
/* ショップページ */
.woocommerce-shop {
    .page-header, .breadSection, .page-title {
        display: none;
    }
    .mainSection {
        padding-top: 0;
    }
    .siteContent {
        padding-top: 0;
    }
    .fv {
        margin-bottom: 50px;
        .fv-sp {
            display: none;
        }
    }
}

@media (max-width: 781.98px) {
    .woocommerce-shop {
        .fv {
            margin-bottom: 30px;
            .fv-pc {
                display: none;
            }
            .fv-sp {
                display: block;
            }
        }
    }
}

/* =======================
ヘッダー&フッターメニュー
======================= */
.menu .nav-icon {
    height: 47px;
    background: none !important;
    width: auto;
    flex-shrink: 0;
    padding: 5px 10px;
    border-right: none !important;
    a {
        padding: 0 !important;
        height: 100%;
        width: 100%;
        border-bottom: none !important;
        transition: 0.3s;
        &:hover {
            opacity: 0.7;
        }
    }
    strong {
        width: 100%;
        height: 100%;
    }
    img {
        height: 100%;
        object-fit: contain;
    }
}
.menu .nav-account {
    border-left: none !important;
}
.widget_nav_menu ul li a:hover{
    opacity: 0.7;
    color: #fff !important;
}
@media (max-width: 991.999px) {
    .menu .nav-cart {
        margin-top: 20px;
    }
}
/* =======================
商品一覧ページ
======================= */
.archive, .single, .page-id-120 {

    ul:is(.products, .is-product-collection-layout-list) {
        display: flex;
        flex-wrap: wrap;
        column-gap: 40px;
        row-gap: 60px;
        padding: 0;
        margin-bottom: 50px;
        &::before {
            content: none !important;
        }
        img {
            display: block;
            margin-bottom: 10px;
        }
    }
    li:is(.product, .wc-block-product) {
        width: calc((100% - 40px) / 2) !important;
        box-shadow: 0px 3px 6px rgba(0 0 0 / 16%);
        margin: 0 !important;
        float: none !important;
        padding-bottom: 30px;
        position: relative;
        list-style: none;
        a {
            color: #333;
            display: block;
            padding: 30px 10px 0;
            padding-left: 50%;
            img {
                display: block;
                margin-bottom: 10px;
                max-height: calc(100% - 40px);
                object-fit: cover;
            }
        }
        .onsale, .wc-block-components-product-sale-badge {
            font-size: 18px;
            font-weight: 700;
            background: #E60012;
            border: 1px solid #E60012;
            color: #fff;
            border-radius: 50%;
            position: absolute;
            width: 70px;
            height: 70px;
            top: 0;
            right: 0;
            left: auto;
            transform: translate(30%, -30%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 !important;
            padding: 2px;
        }
    }
    .add_to_cart_button, .button, .added_to_cart {
        margin-left: 50% !important;
        margin-top: 10px !important;
    }
    .attachment-woocommerce_thumbnail {
        position: absolute;
        width: 40% !important;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .woocommerce-loop-product__title {
        font-size: 16px !important;
        font-weight: 700;
        text-align: left;
        border-bottom: 1px solid #707070 !important;
        margin-bottom: 10px !important;
        margin-top: 0;
    }
    .product-meta {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 10px;
        dt {
            width: 60px;
            background: #E60012;
            color: #fff;
            border-radius: 30px;
            font-weight: 400;
            font-size: 14px;
            padding: 0px 5px;
            border: none;
            text-align: center;
            line-height: 1.3;
            &:last-of-type {
                margin-bottom: 0;
            }
        }
        dd {
            width: calc(100% - 70px);
            padding: 0 10px;
            font-size: 16px;
            border: none;
            line-height: 1.3;
            &:last-of-type {
                margin-bottom: 0;
            }
        }
    }
    .product-inventory {
        border: 1px solid #70707080;
        display: flex;
        margin-bottom: 24px;
        dt {
            width: 60px;
            background: #E60012;
            color: #fff;
            font-size: 14px;
            padding: 3px 5px;
            border: none;
            margin-bottom: 0;
        }
        dd {
            width: calc(100% - 70px);
            padding: 0 10px;
            font-size: 16px;
            border: none;
            margin-bottom: 0;
        }
    }
    .product-price{
        .price-regular {
            text-decoration: line-through;
            opacity: 0.7;
            margin-right: 10px;
            bdi {
                color: #333;
                font-size: 16px;
            }
        }
        .woocommerce-Price-amount {
            font-size: 21px;
        }
        .tax {
            font-size: 10px;
            font-weight: 500;
        }
        br {
            display: none;
        }
    }
}
.woocommerce-ordering {
    display: none;
}
.add_to_cart_button, .button , .added_to_cart{
    background: #E60012;
    border: 1px solid #E60012 !important;
    color: #fff !important;
    border-radius: 5px;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    min-width: 160px;
    width: fit-content !important;
    min-height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative !important;
    z-index: 10;
    transition: 0.3s;
    &::before {
        content: "";
        width: 16px;
        height: 16px;
        background: url(/wp-content/uploads/2026/03/cart-icon-white.png) no-repeat center/contain;
        transition: 0.3s;
    }
    &::after {
        content: none !important;
    }
    &:hover {
        background: #fff !important;
        color: #E60012 !important;
        &::before {
            background-image: url(/wp-content/uploads/2026/03/cart-icon-red.png);
        }
    }
    &.btn-phone {
        &::before {
            background-image: url(/wp-content/uploads/2026/03/phone-icon-white.png);
        }
        &:hover::before {
            background-image: url(/wp-content/uploads/2026/03/phone-icon-red.png);
        }
    }
}
.added_to_cart{
    margin-top: 10px;
}
.archive, .page-id-120 {
    .price {
        display: none !important;
    }
}
@media (max-width: 991.98px) {
    .archive, .single, .page-id-120 {
        li:is(.product, .wc-block-product) {
            width: 100% !important;
            a {
                padding-left: 40%;
            }
        }
        .attachment-woocommerce_thumbnail {
            width: 35% !important;
        }
        .add_to_cart_button, .button, .added_to_cart {
            margin-left: 40% !important;
        }
    }
}
@media (max-width: 575.98px) {
    .archive, .single, .page-id-120 {
        .woocommerce-loop-product__title {
            margin-bottom: 5px !important;
        }
        ul:is(.products, .is-product-collection-layout-list) {
            row-gap: 10px;
        }
        li:is(.product, .wc-block-product) {
            padding-bottom: 10px !important;
            .add_to_cart_button, .button, .added_to_cart {
                margin-inline: 10px !important;
                width: calc(100% - 20px) !important;
            }
            a {
                padding-top: 10px;
            }
            .onsale, .wc-block-components-product-sale-badge {
                font-size: 13px;
                width: 50px;
                height: 50px;
                transform: translate(24%, -53%);
            }
        }
        .product-price {
            .price-regular {
                bdi {
                    font-size: 14px;
                }
            }
            .woocommerce-Price-amount {
                font-size: 18px;
            }
        }
        .product-meta {
            margin-top: 10px;
            margin-bottom: 10px;
            dt {
                margin-bottom: 5px;
            }
            dd {
                margin-bottom: 5px;
            }
        }
        .product-inventory {
            margin-top: 10px;
            margin-bottom: 10px;
        }
        .add_to_cart_button {
            margin-inline: 10px !important;
            width: calc(100% - 20px) !important;
        }
    }
}

/* 検索ブロック */
.product-search {
    background: #E60012;
    padding: 30px 40px;
    border-radius: 15px;
    margin-bottom: 90px;
    .wp-block-search-filter-choice-select {
        margin-bottom: 30px;
    }
    .search-filter-label {
        color: #fff;
        font-size: 19px;
        font-weight: 700;
    }
    .search-filter-input-checkbox__label {
        font-size: 19px;
        font-weight: 700;
        color: #fff;
    }
    .search-filter-input-checkbox__control>svg {
        fill: #fff;
        color: #fff;
    }
    .search-filter-input-checkbox--is-active>.search-filter-input-checkbox__container>.search-filter-input-checkbox__control>svg {
        fill: #fff;
        color: #fff;
    }
    .search-filter-component-combobox {
        border: none;
        min-height: 40px;
    }
    .search-filter-component-combobox__input-divider::before {
        content: none;
    }
    .search-filter-component-combobox__listbox-toggle {
        transition: 0.3s;
    }
    .search-filter-component-combobox.search-filter-component-combobox-base--listbox-visible .search-filter-component-combobox__listbox-toggle {
        transform: rotate(180deg);
    }
    .product__size .search-filter-component-combobox__listbox-toggle .search-filter-icon {
        &::before {
            content: "";
            width: 18px;
            height: 12px;
            background: #FF0000;
            clip-path: polygon(0 0, 100% 0%, 50% 100%);
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        svg {
            opacity: 0;
        }
    }
    .product__status {
        > div {
            display: flex;
            gap: 10px;
        }
        .search-filter-input-group {
            flex-direction: row;
            gap: 10px;
        }
    }
    .product__size {
        margin-bottom: 30px;
        > div {
            display: flex;
            gap: 10px;
        }
        .search-filter-base {
            margin-bottom: 0;
            flex-grow: 1;
        }
    }
}
.archive .product-search {
    display: flex;
    gap: 2em;
    > div {
        flex: 1;
    }
}
/* カテゴリーフィルター */
.category-filter-box {
    position: relative;
}

/* 現在のカテゴリー名（プルダウンのヘッダー） */
.category-filter-box__current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 12px !important;
    cursor: pointer;
}

/* 矢印 */
.category-filter-box__current::after {
    content: '';
    width: 18px;
    height: 12px;
    background: #FF0000;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    transition: 0.3s;
}

/* リスト（デフォルト非表示） */
.category-filter-box__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 100;
}

/* 開いたとき */
.category-filter-box.is-open .category-filter-box__list {
    display: block;
}

.category-filter-box.is-open .category-filter-box__current::after {
    transform: rotate(180deg);
    margin-top: 4px;
}
.category-filter-box__item {
    margin-bottom: 0;
}
.category-filter-box__item a,
.category-filter-box__item span {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
}

.category-filter-box__item a:hover {
    background: #f5f5f5;
}

/* 現在のカテゴリーはグレーアウト */
.category-filter-box__item.is-current span {
    color: #999;
    cursor: default;
}
@media (max-width: 991.98px) {
    .product-search {
        padding: 30px 20px;
    }
}

@media (max-width: 781.98px) {
    .product-search {
        gap: 0;
        margin-bottom: 50px;
        > div {
            width: 100%;
        }
        .search-filter-label {
            font-size: 16px;
        }
        .search-filter-input-checkbox__label {
            font-size: 16px;
        }
        .wp-block-search-filter-choice-select {
            margin-bottom: 16px;
        }
        .product__status {
            margin-bottom: 16px;
            > div {
                flex-direction: column;
            }
        }
        .product__size {
            margin-bottom: 16px;
            > div {
                flex-direction: column;
            }
        }
    }
    .archive .product-search {
        flex-direction: column;
        row-gap: 0;
    }
}
/* セールブロック */
.category-sale-products {
    margin-bottom: 100px;
    li.wc-block-product {
        padding: 0 0 30px;
        .woocommerce-loop-product__link {
            margin-bottom: 10px;
        }
        h3 {
            margin-top: 0;
            font-size: 16px !important;
            font-weight: 700;
            text-align: left;
            border-bottom: 1px solid #707070 !important;
            margin-bottom: 10px !important;
            a {
                padding: 0 !important;
            }
        }
        .product-price {
            display: flex;
        }
    }
    .wp-block-buttons {
        justify-content: center;
        a {
            display: block;
        }
    }
}

.wc-block-product-template .wp-block-woocommerce-product-price,
.wc-block-product-template .wp-block-woocommerce-product-button {
    display: none;
}
@media (max-width: 991.98px) {
    .category-sale-products {
        margin-bottom: 60px;
    }
}

/* ページネーション */
.page-numbers {
    margin-top: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    li {
        margin: 0 !important;
    }
    .page-numbers {
        width: 40px;
        height: auto;
        aspect-ratio: 1 / 1;
        background: #fff;
        border: 1px solid #E60012;
        border-radius: 50% !important;
        color: #E60012;
        transition: 0.3s;
        display: flex !important;
        align-items: center;
        justify-content: center;
        &.current {
            background: #E60012 !important;
            color: #fff !important;
        }
        &:hover {
            background: #E60012 !important;
            color: #fff !important;
        }
        &.dots {
            border: none !important;
            &:hover {
                background: none !important;
                color: #E60012 !important;
            }
        }
    }
}

/* カテゴリー一覧ブロック */

.category-list {

}
.category-list__items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-left: 0;
}
.category-list__item {
    list-style: none;
    width: calc((100% - 40px) / 3);
    margin-bottom: 0;
}
.category-list__link {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    box-shadow: 0px 3px 6px rgba(0 0 0 / 16%);
    height: 100%;
}
.category-list__name {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #333;
    font-size: 20px;
}

@media (max-width: 781.98px) {

    .category-list__item {
        list-style: none;
        width: calc((100% - 20px) / 2);
    }
    .category-list__link {
        padding: 10px;
    }
    .category-list__name {
        font-size: 14px;
    }
}

/* =======================
商品詳細ページ
======================= */
.single {
    .summary {
        .single_add_to_cart_button {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: row-reverse;
            gap: 10px;
            border-radius: 5px;
        }
        .button {
            margin-left: 0 !important;
            margin-top: 0 !important;
        }
        .add_to_cart_button {
            margin-left: 0 !important;
            font-size: 16px !important;
            gap: 10px;
            width: 100% !important;
            padding: .618em 1em !important;
            margin-bottom: 2em;
        }
        .stock {
            color: #212529 !important;
            border: 1px solid #E60012;
            padding: 6px 12px;
            width: fit-content;
            font-size: 17px !important;
            font-weight: 700;
        }
        .product-spec-table {
            margin-bottom: 20px;
        }
        .product_meta {
            a {
                display: inline-block;
                border: 1px solid #E60012;
                border-radius: 3px;
                color: #E60012;
                padding: 5px 10px;
                margin-left: 5px;
                &:hover {
                    background: #E60012;
                    color: #fff;
                }
            }
        }
    }
    &.woocommerce span.onsale {
        min-height: 70px;
        min-width: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 700;
    }
}
.woocommerce-message {
    border-top-color: #E60012;
}
.woocommerce-message::before {
    color: #E60012;
}
.form-control {
    font-size: 16px;
}
.woocommerce-message {
    .button {
        margin-left: 0 !important;
        margin-top: 5px;
    }
}
@media (max-width: 781.98px) {
    .single {
        &.woocommerce span.onsale {
            min-height: 60px;
            min-width: 60px;
            font-size: 15px;
        }
    }
}

/* =======================
カートページ
======================= */
.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
    position: static;
    height: 7em;
}
.wc-block-cart-items {
    .wc-block-components-product-name {
        font-size: 22px !important;
        font-weight: 700;
    }
    .wc-block-components-product-price__value {
        font-weight: 700;
    }
    .price .wc-block-formatted-money-amount {
        font-weight: 700;
        font-size: 16px;   
    }
}
.wc-block-cart__submit-container {
    .wc-block-components-button {
        border: 1px solid #E60012;
        background: #E60012;
        color: #fff;
        transition: 0.3s;
        &:hover {
            background: #fff;
            color: #E60012;
        }
    }
}
.wp-block-button .wp-block-button__link:hover:not(.has-background) {
    color: #E60012 !important;
}
/* オススメ商品 */
.wp-block-woocommerce-product-collection {
    > h2 {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
}
.wc-block-product-template {
    li {
        box-shadow: 0px 3px 6px rgba(0 0 0 / 16%);

    }
    .wc-block-components-product-image {
        margin-bottom: 0;
    }
    .wc-block-components-product-sale-badge {
        font-size: 18px;
        font-weight: 700;
        background: #E60012;
        border: 1px solid #E60012;
        color: #fff;
        border-radius: 50%;
        position: absolute;
        width: 70px;
        height: 70px;
        top: 0;
        right: 0;
        left: auto;
        transform: translate(30%, -30%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 2px;   
    }
    h2 {
        margin-bottom: 0 !important;
        a {
            color: #212529;
        }
    }
}
.shop-btn{
    margin-top: 30px;
}
.shop-btn a {
    border: 1px solid #E60012;
    background: #fff;
    color: #E60012;
    transition: 0.3s;
    width: min(100%, 300px);
    padding: 8px 20px;
    margin-inline: auto;
    border-radius: 3px;
    display: block;
    text-align: center;

    &:hover {
        background: #E60012;
        color: #fff;
    }
}

@container (max-width: 699px) {
    .wc-block-cart-items__row {
        grid-template-rows: repeat(2, auto);
    }
    .wc-block-cart-item__total {
        grid-row: 2 / 3 !important;
        grid-column: 1 / 4;
    }
    .shop-btn {
        padding-bottom: 50px;
    }
}

@media (max-width: 575.98px) {
    .wp-block-woocommerce-product-collection {
        > h2 {
            font-size: 20px !important;
        }
    }
    .wc-block-product-template {
        .wc-block-components-product-sale-badge {
            font-size: 13px;
            width: 50px;
            height: 50px;
            transform: translate(24%, -53%);
        }
        h2 {
            font-size: 16px !important;
        }
    }

}

/* =======================
購入ページ
======================= */
#state-limit-message {
    clear: both;
}
.woocommerce-checkout input {
    font-size: 16px;
}
.billing-email-notice {
    font-size: 14px;
    color: red;
}