/*
Theme Name:   Storefront Child
Template:     storefront
*/

:root {
    --font-s: 12px;
    --font-m: 20px;
    --font-l: 32px;
    --font-2xl: 48px;
    --body-font-color: #6d6d6d;
    --main-color: #030340;
    --main-color-font: #fff
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.widget a.button {
    border-radius: 30px;
}

.added_to_cart.alt,
.added_to_cart,
.widget a.button.checkout {
    border-radius: 30px;
}

body {
    font-family: -apple-system, yugothic, "YuGothic Medium", "Yu Gothic Medium", メイリオ, Meiryo, sans-serif;
    ;
}

ul.products li.product img,
ul.products .wc-block-grid__product img,
.wc-block-grid__products li.product img,
.wc-block-grid__products .wc-block-grid__product img {
    height: 300px;
    object-fit: cover;
}

.page-template-template-homepage:not(.has-post-thumbnail) .site-main {
    padding-top: 0;
}

.mv_wrap {
    background: url("./images/mv_image_pc.jpg");
    background-size: cover;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    @media screen and (max-width:767px) {
        background: url("./images/mv_image_sp.jpg");
        background-size: cover;

    }

}

.mv_msg {
    width: 300px;
    text-align: center;
    font-size: var(--font-2xl);
    font-weight: 700;
    color: #fff;
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
    transition: all 1s;
    /* filter: brightness(1) invert(1); */
}

/* .mv_msg.is-active {
    filter: brightness(0) invert(1);
} */

.mv_msg.is-active img {
    transition: all 1s;
    filter: drop-shadow(0px 0px 3px #666);
}

@media screen and (max-width:767px) {
    .mv_msg {
        margin-bottom: 15px;
    }
}

.mv_msg02 {
    width: max-content;
    font-size: var(--font-m);
    font-weight: 700;
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 16px;
    max-width: 100%;
    overflow: hidden;
    flex-direction: column;
    filter: drop-shadow(0px 2px 6px #666);
}

.mv_msg02>div:nth-child(1) {
    translate: 0 100px;
    transition: all .5s;
}

.mv_msg02>div:nth-child(2) {
    translate: 0 100px;
    transition: all 1s;
}

.mv_msg02.is-active>div {
    translate: 0;
}

.mv_msg div:nth-child(1) {
    left: 0;
}

.mv_msg div:nth-child(2) {
    left: 25%;
}

.mv_msg div:nth-child(3) {
    left: 50%;
}

.mv_msg div:nth-child(4) {
    left: 75%;
}

/* .storefront-recent-products .section-title{
    display: none;
} */

.about_wrap {
    padding: 60px 0;
    margin-bottom: 60px;
    position: relative;
}

.about_wrap .absolute_bg {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #ebf4fe;
    z-index: -1;
}

.about_sub_ttl {
    font-size: var(--font-m);
    text-align: center;
    line-height: 1.5;
}

.about_ttl {
    font-size: var(--font-l);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}

.about_box_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.about_box {
    border-right: 1px solid;
    padding: 0 15px;
}

.about_box:last-child {
    border-right: none;
}

.about_box img {
    width: 40px;
    height: 40px;
    display: block;
    margin: auto;
    margin-bottom: 15px;
}

.about_box .box_ttl {
    font-size: var(--font-m);
    font-weight: 700;
    margin-bottom: 15px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about_box .box_content {
    text-align: justify;
}

@media screen and (max-width:767px) {
    .about_box_wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    .about_box {
        border-right: none;
        border-bottom: 1px solid;
        padding: 0;
        padding-bottom: 15px;
    }

    .about_box .box_ttl {
        height: max-content;
    }
}

.product_line_ttl {
    font-size: var(--font-l);
    color: var(--body-font-color);
    font-weight: 700;
    line-height: 1.5;
}

.product_line_subttl {
    font-size: var(--font-m);
    color: var(--body-font-color);
    line-height: 1.5;
}

.storefront-product-section .section-title {
    margin-bottom: 15px;
}

ul.products li.product .woocommerce-LoopProduct-link,
ul.products .wc-block-grid__product .woocommerce-LoopProduct-link,
.wc-block-grid__products li.product .woocommerce-LoopProduct-link,
.wc-block-grid__products .wc-block-grid__product .woocommerce-LoopProduct-link {
    position: relative;
    padding: 30px 30px 20px;
    /* margin-bottom: 15px; */
}

@media screen and (max-width:767px) {

    ul.products li.product .woocommerce-LoopProduct-link,
    ul.products .wc-block-grid__product .woocommerce-LoopProduct-link,
    .wc-block-grid__products li.product .woocommerce-LoopProduct-link,
    .wc-block-grid__products .wc-block-grid__product .woocommerce-LoopProduct-link {
        padding: 30px 30px 10px;
    }
}

ul.products li.product .woocommerce-LoopProduct-link:before,
ul.products .wc-block-grid__product .woocommerce-LoopProduct-link:before,
.wc-block-grid__products li.product .woocommerce-LoopProduct-link:before,
.wc-block-grid__products .wc-block-grid__product .woocommerce-LoopProduct-link:before {
    content: "VIEW";
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: var(--font-m);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .35);
    transition: all .35s;
    opacity: 0;
}

ul.products li.product .woocommerce-LoopProduct-link:hover:before,
ul.products .wc-block-grid__product .woocommerce-LoopProduct-link:hover:before,
.wc-block-grid__products li.product .woocommerce-LoopProduct-link:hover:before,
.wc-block-grid__products .wc-block-grid__product .woocommerce-LoopProduct-link:hover:before {
    opacity: 1;
}

.product-tax-rate,
.cart-item-tax-rate {
    font-size: 12px;
}

.site-footer {
    padding-top: 0;
}

.footer_image {
    position: relative;
    margin:60px 0 60px;
    display: block;
    transition: all .3s;
}

.footer_image:hover{
    opacity: .6;
}

.footer_image img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1900px;
    margin: auto;
}

.added_to_cart {
    background: none;
    border: none;
    color: #333;
}

a:focus {
    outline-color: transparent !important;
}

a:focus-visible {
    outline-color: #333 !important;
}

.added_to_cart:focus {
    outline-color: transparent;
}

.added_to_cart:hover {
    background: none;
    border: none;
    color: #333;
}

.pc_hidden {
    display: none;
}

.widget_product_search form:not(.wp-block-search)::before {
    content: "";
    background: url(./images/icons/search.svg);
    width: 20px;
    height: 20px;
    position: absolute;
    background-size: cover;
    top: 12px;
    left: 10px;
}

@media screen and (min-width:767px) {
    .site-header-cart .cart-contents::after {
        content: "";
        background: url("./images/icons/cart.svg");
        width: 22px;
        height: 22px;
        position: relative;
        background-size: cover;
    }

    .storefront-primary-navigation {
        background: var(--main-color);
        translate: 0px 1px;
    }

    .main-navigation ul li a,
    ul.menu li a {
        color: var(--main-color-font);
    }

}

@media screen and (max-width:767px) {
    .pc_hidden {
        display: block;
    }
}

.storefront-full-width-content.woocommerce-cart .entry-header,
.storefront-full-width-content.woocommerce-checkout .entry-header,
.storefront-full-width-content.woocommerce-account .entry-header,
.storefront-full-width-content .woocommerce-products-header,
h1.entry-title,
.storefront-full-width-content.woocommerce-cart .entry-header h1:last-child,
.storefront-full-width-content.woocommerce-checkout .entry-header h1:last-child,
.storefront-full-width-content.woocommerce-account .entry-header h1:last-child,
.storefront-full-width-content .woocommerce-products-header h1:last-child {
    padding: 0;
    padding-bottom: 60px;
    text-align: center;
    font-size: var(--font-l);
    font-weight: 700;
}

@media screen and (max-width:767px) {

    .storefront-full-width-content.woocommerce-cart .entry-header,
    .storefront-full-width-content.woocommerce-checkout .entry-header,
    .storefront-full-width-content.woocommerce-account .entry-header,
    .storefront-full-width-content .woocommerce-products-header,
    h1.entry-title,
    .storefront-full-width-content.woocommerce-cart .entry-header h1:last-child,
    .storefront-full-width-content.woocommerce-checkout .entry-header h1:last-child,
    .storefront-full-width-content.woocommerce-account .entry-header h1:last-child,
    .storefront-full-width-content .woocommerce-products-header h1:last-child {
        padding-bottom: 15px;
    }

}

.trans_content dl {
    display: flex;
    gap: 30px;
    margin: 0;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.trans_content dt {
    width: 30%;
}

.trans_content dd {
    flex: 1;
}

.trans_content dt,
.trans_content dd {
    border-bottom: 1px solid #6d6d6d;
    margin: 0;
    padding: 15px;
    font-size: 16px
}

@media screen and (max-width:767px) {
    .trans_content dl {
        display: block;
    }

    .trans_content dt {
        width: 100%;
        border: none;
        padding-bottom: 0;
    }
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
    background-color: var(--main-color);
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
    background-color: var(--main-color);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
    color: var(--main-color-font);
}

.privacy_block h3 {
    font-size: var(--font-m);
    background: #f0f0f0;
    padding: 10px;
}

address p {
    margin: 0;
    font-style: normal;
    line-height: 2;
}

.footer_menu {
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer_menu a {
    text-decoration: none;
    display: block;
    color: var(--body-font-color);
    border-right: 1px solid;
    padding-right: 15px;
    overflow: hidden;
    position: relative;
}

@media screen and (max-width:767px) {
    .footer_menu {
        gap: 10px;
    }

    .footer_menu a {
        padding-right: 10px;
        font-size: 14px;
    }
}

@media screen and (max-width:360px) {
    .footer_menu {
        gap: 5px;
    }

    .footer_menu a {
        padding-right: 5px;
        font-size: 12px;
    }
}

.footer_menu a::before {
    content: "";
    position: absolute;
    width: calc(100% - 6px);
    height: 1px;
    bottom: 0;
    left: -100%;
    background: var(--body-font-color);
    opacity: 0;
    transition: all .35s;
}

.footer_menu a:hover::before {
    left: 0;
    opacity: 1;
}

.site-footer a:not(.button):not(.components-button) {
    color: var(--body-font-color);
}

.footer_menu a:last-child {
    border: none;
}

.site-info {
    padding: 0;
    padding-bottom: 30px;
    text-align: right;
}

.storefront-handheld-footer-bar ul li.search>a::before,
.storefront-handheld-footer-bar ul li.cart>a::before,
.storefront-handheld-footer-bar ul li.my-account>a::before {
    content: "";
    background: url(./images/icons/search.svg);
    width: 30px;
    height: 30px;
    position: absolute;
    background-size: cover;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

.storefront-handheld-footer-bar ul li.cart>a::before {
    background: url(./images/icons/cart_bk.svg);
    background-size: cover;
}

.storefront-handheld-footer-bar ul li.my-account>a::before {
    background: url(./images/icons/user.svg);
    background-size: cover;
}

button.woocommerce-button.button.woocommerce-form-login__submit {
    margin-top: 10px;
}

ul.products li.product img,
ul.products .wc-block-grid__product img,
.wc-block-grid__products li.product img,
.wc-block-grid__products .wc-block-grid__product img {
    margin: 0 auto 15px;
}

ul.products li.product .price,
ul.products .wc-block-grid__product .price,
.wc-block-grid__products li.product .price,
.wc-block-grid__products .wc-block-grid__product .price {
    margin-bottom: 0;
}

.site-header .custom-logo-link{
    display: inline-block;
}

.storefront-product-pagination{
    display: none!important;
}

.cart_totals .woocommerce-shipping-destination,
.cart_totals .woocommerce-shipping-calculator{
    display: none;
}