/*
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;
}

body {
  font-family: "Noto Sans JP", 
               "Hiragino Sans", 
               "Yu Gothic Medium", 
               "Yu Gothic", 
               "Meiryo", 
               sans-serif;
}

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

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

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

/*-- block --*/
/* table */
:is(.wp-block-table).is-style-border{
    tr td:first-child{
        min-width: 17em;
        text-align: center;
    }

    td{
        vertical-align: baseline;
        border: none;
        border-top: 1px solid #ccc;
        padding: 1.1em;
    }

    tr:last-of-type td{
        border-bottom: 1px solid #ccc;
    }
}
@media screen and (max-width: 767px){
    :is(.wp-block-table).is-style-border{
        td{
            display: block;
            padding: .8em;
        }

        tr td:first-child{
            text-align: left;
            min-width: unset;
            border-bottom: none;
            padding-bottom: 0;
        }
        tr td:not(:first-child){
            border-top: none;
            padding-top: .5em;
        }
    }
}

/*-- 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;
    }
}

/*-- header --*/
header .logo{
    width: min(90%,250px);
    @media screen and (min-width: 768px) {
        width: 84%;
    }
}

/*-- mv --*/
.main-image-area{
    overflow: clip;
}
.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;
}

/*-- page --*/
/* 共通 */
body:not(.blog) .site-content {
    margin-top: 5rem;
    margin-bottom: 8rem;
}

@media screen and (min-width: 768px) {
    body:not(.blog) .site-content {
        margin-top: 7rem;
        margin-bottom: 10rem;
    }
}

:where(.page-title, .entry-title, .member_page_title, .cart_page_title) h1{
    font-size: 23px ;
}
@media screen and (min-width: 768px) {
    :where(.page-title, .entry-title, .member_page_title, .cart_page_title ) h1{
        font-size: 30px;
    }    
}    

/* about */
.about_table{
    width: 100%;

    td{
        padding: 1em;
        background-color: #eff1f6;
        border: none;
        min-width: 6em;
        @media screen and (min-width: 768px) {
            padding: 1em 1.5em;
            min-width: 9em;
        }
    }
    tr td:first-child{
        background-color: #d7dcde;
    }

    tr + tr{
        border-top: 1px solid #b4bdc1;
    }

}
.wp-block-heading.about_sec-heading{
    font-size: 23px;
    @media screen and (min-width: 768px) {
        font-size: 30px;       
    }
}
.about_map{
    width: 100%;
    height: 400px;
    @media screen and (min-width: 768px) {
        height: 500px;
    }
}

/* contact */
.post-387 .entry-content{
    font-size: 1.071rem;
    @media screen and (min-width: 768px) {
        font-size: 1.35rem;
    }
}
/* snow-monkey-form */
.snow-monkey-form {
    font-size: 1.071rem;
    @media screen and (min-width: 768px) {
        font-size: 1.35rem;
    }    
  input {
    border-radius: 0 !important;
    font-size: 1rem;
    @media screen and (min-width: 768px) {
        font-size: 1.21rem;
    }
  }

  ::placeholder {
    color: #c9c9c9;
  }

  .smf-form {
    max-width: 800px;
    margin-inline: auto;
  }

  .smf-form--letter .smf-item {
    padding: 1.3rem 0;
  }

  .smf-text-control__control {
    padding: 1em;
    background-color: #eff1f6;
    border: none;
    height: unset;
  }

  .smf-textarea-control__control {
    padding: 1em;
    background-color: #eff1f6;
    border: none;
  }

  .smf-select-control {
    width: 100%;
  }

  .smf-select-control__control{
    padding: 1em calc(1em + 15px) 1em 1.5em;
    background: #eff1f6;
    border: none;
    height: unset;
  } 

  .smf-select-control__toggle {
    background-color: unset;
    z-index: 2;
    pointer-events: none;
  }
  .smf-form .smf-select-control__toggle:before{
    width: 9px;
    height: 9px;
    right: 15px;
  }

  .smf-radio-button-control__control {
    align-self: center;
    margin-top: 0;
    border-color: #000;
    border-radius: 50% !important;

    &:checked {
      background-color: #000;
      border-color: #000;
    }
  }

  .smf-select-control__control {
    width: 100%;
  }

  .smf-checkbox-control {
    align-items: center;
  }

  .smf-checkbox-control__control {
    width: 1.3em;
    height: 1.3em;
    margin-top: .2em;
    margin-right: .2em;
    border: 2px solid #000;
    box-shadow: none;

    &:checked {
      background-color: #000;
      border-color: #000;
    }
  }

  .smf-item__description{
    font-size: 1rem;
    line-height: 2;
    color: #000;
    @media screen and (min-width: 768px) {
        font-size: 1.21rem;
    } 
  }

  .privacy-link {
    text-decoration: underline;
    transition: opacity var(--transition);
  }

  .smf-placeholder[data-name="check"] .smf-label{
    text-align: center;
  }

  .smf-placeholder[data-name="check"] input[type="checkbox"]{
    width: 1.5em;
    height: 1.5em;
  }

  input[type=checkbox]:checked::after{
    content: none;
  }

  .smf-action {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    justify-content: center;

    .smf-button-control__control {
      color: #000;
      font-weight: 700;
      min-width: 240px;
      min-height: 60px;
      border-color: #000;
      font-size: 1.07rem;
      background: #fff;
      transition: color .15s ease, background-color .15s ease;
      position: relative;
    }
    .smf-button-control__control:hover {
        background-color: var(--btn-hover-bg-color, #424242);
        color: var(--btn-hover-text-color, #fff);
    }
    .smf-button-control__control::after {
      content: "";
      display: block;
      position: absolute;
      top: 50%;
      right: 1.4286rem;
      width: 1.143rem;
      height: .357rem;
      margin-bottom: .15rem;
      -webkit-transform: skew(45deg) translate(0, calc(50% - 7px));
      transform: skew(45deg) translate(0, calc(50% - 7px));
      border-right: 1px solid var(--subbtn1-text-color, #1f1f1f);
      border-bottom: 1px solid var(--subbtn1-text-color, #1f1f1f);
      transition: .15s ease;
    }
    .smf-button-control__control:hover::after  {
        border-right-color: #fff;
        border-bottom-color: #fff;
    }
    

    .smf-button-control + .smf-button-control {
      margin: 0;
    }
  }

  .smf-item__col--label {
    padding-bottom: .7em;
  }

  .smf-item__label__text {
    position: relative;
    font-size: rem(17);

    @media (max-width: 767px){
      font-size: rem(15);
    }
  }
}

/* 必須ラベル */
.smf-item:has([data-validations~="required"]) .smf-item__label__text::before {
    display: inline-block;
    width: 5.5em;
    padding: .2em;
    margin-right: 15px;
    font-size: .8em;
    font-weight: 500;
    color: #fff;
    text-align: center;
    content: "必須";
    background-color:#000;
    border-radius: 9999px;
    @media (max-width: 767px){
        width: 4em;
        font-size: .8em;
    }
}

/*-- 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;
        font-weight: 400;
    }
}


/*-- single --*/
/* related items */
.related-items{
    grid-template-rows: repeat(var(--bs-rows, 2), 1fr);
    grid-template-columns: repeat(var(--bs-columns, 4), 1fr);
    gap: 2rem var(--bs-gap, 1.5rem) !important;
    @media screen and (min-width: 768px){
        gap: 3rem .5rem !important;
    }
}

.single-post .assistance_item>ul{
    gap: 2rem var(--bs-gap, 1.5rem);
}

.item-description_section{
    margin-bottom: 4.5rem;
    @media screen and (min-width: 768px){
        font-weight: 500;

        p:not([class]){
            font-weight: 500;
        }
    }
}

.item-description_ttl{
    color: #fff;
    background-color: #000;
    padding: .5em;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    margin-bottom: 1em !important;
    
    @media screen and (min-width: 768px){
        font-size: 1.8rem !important;
    }
}

.item-description_feature-list{
    margin: 1.3rem 0 1.3rem 1em;
    list-style-type: none;
}

.item-description_feature-item{
    position: relative;
    font-weight: 600;
    line-height: 1.4;
    font-size: 1.15em;
    margin-top: .4rem;
    margin-bottom: .4rem;

    @media screen and (min-width: 768px){
        font-size: 1.3em;
        font-weight: 700;
        margin-top: .8rem;
        margin-bottom: .8rem;
    }

    &::before{
        content: "";
        display: block;
        background-color: #89cdb9;
        width: .65em;
        aspect-ratio: 1;
        border-radius: 50%;
        position: absolute;
        right: 100%;
        top: .45em;
    }
}

.item-description_table{
    margin-top: .4rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center;
    background-color: #f0f2f4;
    @media screen and (min-width: 768px){
        margin-top: .7rem;
    }

    tr{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 2fr;
    }

    tr:not(:last-of-type){
        border-bottom: 1px solid #b4bdc1;
    }

    th,
    td{
        line-height: 1.2;
        padding: .5rem;
        border: none;

        @media screen and (min-width: 768px){
            padding: .8rem .5rem;
        }
    }

    th{
        font-weight: 400;
        background-color: #d8dcde;
    }
    td{
        align-self: center;
    }
}

.item-description_caption{
    font-weight: 600;
    margin-bottom: .4rem;
    @media screen and (min-width: 768px){
        font-size: 1.1em;
        font-weight: 700;
        margin-top: .7rem;
    }
}

.item-description_tab-list{
    list-style-type: none;
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(5.2em, 1fr));
    column-gap: 3%;
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
    margin-left: 0;

    @media screen and (min-width: 768px){
        margin-top: 1rem;
        margin-bottom: 1.3rem;
    }
}

.item-description_tab-item{
    text-align: center;
    border: 1px solid #000;
    border-radius: 5px;
    padding: .7rem;
    cursor: pointer;

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

.item-description_panel{
    display: none;

    &.js-active{
        display: block;
    }
}