/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*********** 共通設定 ***********/
.top0,
.top0 > table {
    margin-top: 0!important;
    padding-top: 0!important;
}
.top01 { margin-top: 0.1em!important; padding-top: 0!important; }
.top02 { margin-top: 0.2em!important; padding-top: 0!important; }
.top03 { margin-top: 0.3em!important; padding-top: 0!important; }
.top04 { margin-top: 0.4em!important; padding-top: 0!important; }
.top05 { margin-top: 0.5em!important; padding-top: 0!important; }
.top06 { margin-top: 0.6em!important; padding-top: 0!important; }
.top07 { margin-top: 0.7em!important; padding-top: 0!important; }
.top08 { margin-top: 0.8em!important; padding-top: 0!important; }
.top09 { margin-top: 0.9em!important; padding-top: 0!important; }
.top10 { margin-top: 1.0em!important; padding-top: 0!important; }
.top10 { margin-top: 1.0em!important; padding-top: 0!important; }
.top11 { margin-top: 1.1em!important; padding-top: 0!important; }
.top12 { margin-top: 1.2em!important; padding-top: 0!important; }
.top13 { margin-top: 1.3em!important; padding-top: 0!important; }
.top14 { margin-top: 1.4em!important; padding-top: 0!important; }
.top15 { margin-top: 1.5em!important; padding-top: 0!important; }
.top-10 { margin-top: -10px!important; padding-top: 0!important; }
.top-20 { margin-top: -20px!important; padding-top: 0!important; }
.top-30 { margin-top: -30px!important; padding-top: 0!important; }
.bottom0 {
    margin-bottom: 0!important;
    padding-bottom: 0!important;
}
.middle {
    align-items: center!important;
    vertical-align: middle!important;
}
.flex-center {
    display: flex;
    justify-content: center;
}
.lh10 { line-height: 1.0; }
.lh11 { line-height: 1.1; }
.lh12 { line-height: 1.2; }
.lh13 { line-height: 1.3; }
.lh14 { line-height: 1.4; }
.lh15 { line-height: 1.5; }
.lh16 { line-height: 1.6; }
.lh17 { line-height: 1.7; }
.lh18 { line-height: 1.8; }
.aspect4-3 img { aspect-ratio: 4 / 3; }
.aspect16-9 img { aspect-ratio: 16 / 9; }
.gmap360 .wp-has-aspect-ratio iframe,
.gmap360 .wp-block-embed__wrapper {
    height: 360px
}
.border-none { border: none!important; }
.textjusty

@media (min-width: 1025px) {
    .flex-width_auto .ystdb-columns > .ystdb-column {
        flex: 0 0 auto;
        width: auto;
    }
}
@media (min-width: 769px) {
    .only_mobile {
        display: none;
    }
    .top0-pc {
        margin-top: 0!important;
        padding-top: 0!important;
    }
    br.sp-br { display: none; }
    .pc-right { text-align: right; }
}
@media (min-width:768px) and ( max-width:1024px) {
    .only_mobile {
        display: none;
    }
    br.pc-br { display: none; }
}
@media (max-width: 768px) {
    .only_pc {
        display: none;
    }
    .sp-gap0 > .ystdb-columns {
        gap: 0;
    }
    .sp-gap0 > .ystdb-columns > .ystdb-column {
        margin-bottom: 0;
    }
    br.pc-br { display: none; }
    .sp-left { text-align: left; }
    .sp-center { text-align: center; }
    .sp-right { text-align: right; }
    .flex-reverse > .ystdb-columns { flex-direction: column-reverse; }
    .sp-top0 { margin-top: 0!important; padding-top: 0!important; }
    .sp-lh12 { line-height: 1.2!important; }
    .sp-lh14 { line-height: 1.4!important; }
}


/*********** Woocommerce ***********/
.woocommerce div.product {
    margin-top: 1em;
}
.confirmation {
    display: block;
    background: #e9aeac;
    text-align: center;
    font-weight: bold;
    padding: .2em;
}
.woocommerce span.onsale {
    background-image: linear-gradient(90deg, #0082c8, #00a199);
}
.price del {
    margin-right: 0.67em;
}
.woocommerce div.product form.cart .variations tr {
    border: none;
}
.woocommerce div.product form.cart .variations th {
    min-width: 6em;
    padding: 0 .5em;
    vertical-align: middle;
    text-align: center;
}
.woocommerce div.product form.cart .variations td {
    display: flex;
    padding: 0 .5em;
}
.woocommerce div.product form.cart .variations td select {
    margin-right: .5em;
    flex-basis: 75%;
}
.woocommerce div.product form.cart .reset_variations {
    font-size: 0.67em;
    letter-spacing: 0;
}
.footer-main {
    padding-top: 2em;
}
.footer-main>* {
    margin-top: 2em;
}

/*********** Contact ***********/
#contact-form {
    max-width: 600px;
}
.grecaptcha-badge { visibility: hidden; }
form.cf-default,
.cf-default form {
    max-width: 720px;
}
form.cf-default label,
.cf-default form label {
    font-weight: bold;
}
form.cf-default label span.required-mark,
.cf-default form label span.required-mark {
    color: #f15a24;
    font-size: 0.8em;
    line-height: 1rem;
    vertical-align: top;
}
::placeholder {
    color: #9D9897;
}
form.cf-default .cf-confirm,
.cf-default form .cf-confirm {
    display: block;
    text-align: left;
    font-size: 16px;
}
form.cf-default input[type='submit'],
.cf-default form input[type='submit'] {
    background: linear-gradient(180deg, #7ecef4, #0068b7);
    box-shadow: none;
    border: none;
    border-radius: 6px;
    width: 100%;
    max-width: 220px;
    height: 45px;
    font-size: 19px;
    font-weight: bold;
    letter-spacing: .05em;
    margin-top: 1em;
    padding-top: 12px!important;
    border-bottom: 5px solid #005799;
}
form.cf-default .cf-submit input[type='submit']:hover,
form.cf-default .cf-submit input[type='submit']:focus,
.cf-default form .cf-submit input[type='submit']:hover,
.cf-default form .cf-submit input[type='submit']:focus {
    opacity: .9;
    box-shadow: none;
    border-bottom: 2px solid #0068b7;
    cursor: pointer;
}
.show-block span.wpcf7-list-item {
    margin-top: 8px;
    display: block;
}
.show-block span.wpcf7-list-item:first-child {
    margin-top: 12px;
}
.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-radio .wpcf7-list-item {
margin-top:5px;
display: block;
}
@media (max-width: 767px) {
    form.cf-default .cf-submit,
    .cf-default form .cf-submit {
        text-align: center;
    }
    .wpcf7-spinner,
    .cf-default form .wpcf7-spinner {
        display: block;
        margin: 5px auto 0;
    }
}