/*
Theme Name:		Welcart Simple Plus Vertical Child Theme
Template:		welcart_simple-plus-vertical
Theme URI:		https://www.welcart.com/archives/16004.html
Author:			Welcart Inc.
Author URI:		https://www.welcart.com/
Description:	Welcart Simple Plus Vertical Child Theme.
Version:		1.0
License:		GNU General Public License v2 or later
License URI:	http://www.gnu.org/licenses/gpl-2.0.html
Tags:			responsive-layout, simple-plus,
*/

:root{
    --org-gray: #eff1f6;
    --btn-hover-bg-gray: #424242;
}

.inner{
    width: 94%;
    max-width: 980px;
    margin-inline: auto;

    .read-more{
        width: fit-content;
        margin-inline: auto;
    }
}

.card-image{
    background-color: #eff1f6;
}

/*-- widget --*/
/* intro */
.widget_block[id="block-7"] {
    line-height: 1.8;
    @media (max-width: 767px) {
        p{
            font-size: 1em !important;
        }
    }
}
/* about */
.widget_block[id="block-16"] {
    max-width: unset;
    margin-bottom: 0;

    h2{
        margin: 2.143rem 0 !important;
        padding: 0 1.429rem;
        font-size: 24px;
        @media screen and (min-width: 768px) {
            margin: 3.571rem 0 !important;
            padding: 0 7.143rem;
            font-size: 30px;
        }
    }
}

.widget_block[id="block-17"]{
    --bs-body-line-height: 1.8;
    max-width: unset;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;

    @media (max-width: 767px) {
        p{
            font-size: 1em !important;
        }
    }

    .widget_block_heading{
        @media (max-width: 767px) {
            font-size: 1.5em !important;
        }
    }

    .btn-readmore{
        color: #fff;
        background-color: rgb(0 0 0 / 0);
        border-color: #fff;
    }

    .btn-readmore::after{
        border-right-color: #fff;
        border-bottom-color: #fff;
    }
    .btn-readmore:hover {
        background-color: var(--btn-hover-bg-gray);
        border-color: #fff;
    }
}

.front-about_bottom{
    position: relative;
    margin-top: -195px;
    padding-right: 1em;
    padding-left: 1em;
}

/* gallery */
.general-gallery{
    @media (max-width:767px) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* cta */
.general-widget-area {
    --bs-body-line-height: 1.8;
    @media (max-width: 767px) {
        p{
            font-size: 1em !important;
        }
    }
    
    .widget_block {
        width: 100%;
        max-width: unset;
        padding: 0;
        margin: 6px 0;
    }

    .widget_block[id="block-8"]{
        > .wp-block-cover{
            @media (max-width: 767px) {
                min-height: 360px !important;
            }        
        }
    }

    .general-widget-area_heading{
        @media (max-width: 767px) {
            font-size: 1.5em !important;
        }
    }

    .read-more{
        width: fit-content;
        margin: clamp(1.875rem, .982rem + 4.46vw, 3.125rem) auto 0;
        @media screen and (min-width: 768px) {
            margin: clamp(2.813rem, 1.146rem + 3.47vw, 3.75rem) auto 2.7rem;
        }
    }

    .btn-readmore{
        color: #fff;
        background-color: rgb(0 0 0 / 0);
        border-color: #fff;
    }

    .btn-readmore::after{
        border-right-color: #fff;
        border-bottom-color: #fff;
    }
    .btn-readmore:hover {
        background-color: var(--btn-hover-bg-gray);
        border-color: #fff;
    }
}


/*-- mv --*/
.main-image-text {
    width: 100%;
    z-index: 1;
    @media (min-width: 768px){
        min-width: 1350px;
    }
    @media (max-width: 767px){
        max-width: 600px;
    }

    img{
        width: 100%;
    }
}

/*-- footer --*/
footer{
    margin-top: 6px !important;
}

/*-- archive --*/
/* category link */
.category-link-list{
    padding: 0;
    list-style: none;
    display: grid;
    row-gap: 5rem;
    margin-top: 4rem;
    margin-bottom: 8.5rem;
    @media (max-width: 767px) {
        max-width: 500px;
        margin-inline: auto;
        row-gap: 3rem;
    }
}

.category-link-item{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    @media (max-width: 767px) {
        grid-template-columns:1fr;
    }
}

.category-link-image-wrap{
    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.category-link-item_body{
    text-align: center;
    background-color: var(--org-gray);
    display: grid;
    align-content: center;
    row-gap: 1.5em;
    padding: 2em 3em;

    .read-more{
        width: fit-content;
        margin-inline: auto;
    }

    .btn-readmore{
        background-color: rgb(255 255 255 / 0);
    }

    .btn-readmore:hover {
        background-color: var(--btn-hover-bg-gray);
        border-color: #fff;
    }
}

.category-link-name{
    font-size: 2.14em;
    font-weight: 700;
    @media (max-width: 767px) {
        font-size: 1.5em;
    }
}

.category-link-desc{
    font-size: 1.21em;
    font-weight: 500;
    @media (max-width: 767px) {
        font-size: 1em;
    }
}
