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

:root {
    --font-s: 12px;
    --font-m: 20px;
    --font-l: 32px;
    --font-2xl: 48px;
    --body-font-color: #1B3863;
    --main-color: #1B3863;
    --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;
    color: var(--body-font-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
.wc-block-grid__product-title {
    color: var(--body-font-color);
}

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.jpg");
    background-size: cover;
    background-position: center;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

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

.mv_msg {
    width: max-content;
    height: 75px;
    text-align: center;
    font-size: var(--font-2xl);
    font-weight: 700;
    color: #fff;
    position: relative;
    max-width: 100%;
}

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

.mv_msg02 {
    width: max-content;
    height: 50px;
    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%;
}

.mv_msg div,
.mv_msg02 div {
    width: 25%;
    height: 100%;
    position: absolute;
    background: #fff;
    transition: all .5s;
}

.mv_msg02 div {
    width: 12.5%;
}

.mv_msg div.is-active,
.mv_msg02 div.is-active {
    opacity: 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%;
}

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

.mv_msg02 div:nth-child(2) {
    left: 12.5%;
}

.mv_msg02 div:nth-child(3) {
    left: 25%;
}

.mv_msg02 div:nth-child(4) {
    left: 37.5%;
}

.mv_msg02 div:nth-child(5) {
    left: 50%;
}

.mv_msg02 div:nth-child(6) {
    left: 62.5%;
}

.mv_msg02 div:nth-child(7) {
    left: 75%;
}

.mv_msg02 div:nth-child(8) {
    left: 87.5%;
}

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

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

.about_wrap * {
    color: var(--body-font-color);
}

.about_wrap .absolute_bg {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #ECEADD;
    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: 60px;
    height: 60px;
    display: block;
    margin: auto;
    margin-bottom: 5px;
}

.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;
}

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;
    padding: 40px 30px 40px;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(2, 450px);
    justify-content: center;
    gap: 16px;
}

.footer_image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 200px;
    margin: auto;
    object-fit: cover;
}

.footer_image a {
    transition: all .35s;
}

@media (any-hover: hover) {
    .footer_image a:hover {
        opacity: .6;
    }
}

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

    .footer_image img {
        height: max-content;
        object-fit: contain;
    }
}

/* .footer_image:before {
    content: "";
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fff;
    z-index: 1;
} */

.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: #ECEADD;
    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;
}

.site-header ul.menu li.current-menu-item>a {
    color: #D3EFE9;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.widget a.button {
    color: #1B3863;
    background: #ECEADD;
}

.site-footer {
    color: var(--body-font-color);
    background: #ECEADD;
}

.main-navigation ul li a:hover,
.main-navigation ul li:hover>a,
.site-title a:hover,
.site-header ul.menu li.current-menu-item>a {
    color: #D3EFE9;
}

.storefront-product-pagination a {
    display: none;
}

ul.products li.product .woocommerce-loop-product__title {
    min-height: 46px;
    line-height: 1.5;
}

@media screen and (max-width:767px) {
    ul.products li.product .woocommerce-loop-product__title {
        min-height: auto;
    }
}