/*
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.
*/
/*********** サイト全体 ***********/
#content.site-content .content__wrap,
#content.site-content .content__wrap #main.content__main {
    background: #fff;
}
:root {
    --ystd-container-width: 937px;
    --ystd-content-default-width: 900px;
    --ystd-content-min-width: 100%;
    --ystd-sidebar-width: 0%;
    --ystd-sidebar-max-width: 0px;
}
@media (min-width: 1025px) {
    .has-sidebar .content__wrap {
        flex-direction: row-reverse;
    }
    .has-sidebar .archive__main, .has-sidebar .content__main {
        margin-left: auto;
        margin-right: 0;
    }
}
.entry-content p { margin-top: 1rem; }
a {
    text-decoration: none;
}
a:hover,
a:hover img {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity:0.8;
}
.ystdb-column > a:hover {
    background: #ffffff32;
}
a img {
    transition: 0.4s ease-in-out;
}
.site-branding {
    padding: .5em 0;
}
.site-content {
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.breadcrumbs__list {
    margin-top: 0;
}
.entry-content {
    margin-top: 1em;
    margin-bottom: 2em;
}
body.home #footer {
    max-width: 937px;
    margin: auto;
}
body.home .footer-main {
    background: #fff;
}
.site-info {
    margin-top: 2em;
}
#back-to-top {
    right: 2vh;
    bottom: 2vh;
}
.back-to-top__content {
    background-color: #f1f1f388;
}
/*********** 共通設定 ***********/
.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; }
.top125 { margin-top: 1.25em!important; padding-top: 0!important; }
.top15 { margin-top: 1.5em!important; padding-top: 0!important; }
.top175 { margin-top: 1.75em!important; padding-top: 0!important; }
.top20 { margin-top: 2.0em!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; }
.gap0 > .ystdb-columns { gap: 0; }
.gap05 > .ystdb-columns { gap: .5rem; }
.gap075 > .ystdb-columns { gap: .75rem; }
.gap10 > .ystdb-columns { gap: 1rem; }
.gap125 > .ystdb-columns { gap: 1.25rem; }
.gap15 > .ystdb-columns { gap: 1.5rem; }
@media (min-width: 1025px) {
    .flex-width_auto .ystdb-columns > .ystdb-column {
        flex: 0 0 auto;
        width: auto;
    }
}
@media (min-width: 768px) {
    .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 (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; }
}

/*********** Home ***********/
@media (max-width: 768px) {
    .eye-h2 {
        line-height: 1.2;
        text-shadow: 0px 0px #fff, 2px 0px 2px #fff, 0px 2px 2px #fff, 2px 2px 2px #fff;
    }
}
.eye-btn-col ..ystdb-columns {
    display: inline-flex;
}
.eye-btn {
    display: inline-block;
    position: relative;
}
.eye-btn a {
    background: linear-gradient(90deg, #EC3749 0%, #F14F45 53%, #F35943 100%);
    transition: 0.3s ease-in-out;
}
.eye-btn a:after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 45%;
    right: 22px;
}
#special .ystdb-section__bg {
    background: linear-gradient(90deg, #EC3749 0%, #F14F45 53%, #F35943 100%)!important;
}
@media (min-width: 1025px) {
    #special .ystdb-columns-wrap .wp-block-image.alignwide {
        margin-left: -10.5%;
    }
    #special .ystdb-columns-wrap.flex-reverse .wp-block-image.alignwide {
        margin-right: -10.5%;
        margin-left: -5%;
    }
}

/*********** Home - WooCommerce - ***********/
.plan-table {
    font-size: 14px;
}
.plan-table table,
.plan-table table tr,
.plan-table table tr td {
    border: none;
}
.plan-table table tr td {
    padding: 0.18em 0.5em;
}
.place-table .ystdb-columns .ystdb-column:first-child {
    border-right: 1px solid #EC3749;
    border-bottom: 1px solid #EC3749;
}
@media (max-width: 768px) {
    .fp-plan-h .ystdb-inline--smaller {
        padding-left: 9vw;
    }
}

/*********** WooCommerce ***********/
.woocommerce div.product form.cart table.variations {
    margin-bottom: 0em;
}
.woocommerce div.product form.cart table.variations tr {
    border: none;
}
.woocommerce div.product form.cart table.variations tr th {
    background-color: transparent;
}
.wcpa_form_outer {
    margin: 2em 0;
    width: 100%;
}
.wcpa_form_outer .wcpa_form_item {
    margin: 0 0 1em;
}
.wcpa_form_outer .wcpa_form_item .wcpa_helptext {
    display: block;
}
.wcpa_price_summary {
    margin-bottom: 1em;
}
.mprice_table tr:first-child td,
.mprice_table tr td:first-child {
    background: #efefef;
}
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: #ffe6c0;
}
#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box
 {
    background-color: #ffad7c;
}
.woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid #ffad7c;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}
.wc-block-all-products .wc-block-components-product-rating {
    display: none;
}
.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button {
    background: #1e73be !important;
}
.woofc-area .woofc-area-mid .woofc-notices .woocommerce-message a {
    color: #ffba00;
}

/*********** Company ***********/
.about-box {
    max-width: 660px;
    margin: auto;
}
.about-table {
    margin-top: 0;
}
.about-table table,
.about-table tr {
    border: none;
}
.about-table td {
    border: none;
    padding: 0.1em 0;
    font-size: 1.2em;
}
.about-table td:first-child {
    max-width: 6em;
    text-align-last: justify;
    padding-right: 2em;
}
.about-table td:last-child {
    border-left: 2px solid #EC3749;
    padding-left: 2em;
}
.about-point {
    border-left: 5px solid #005299;
    padding-left: 1em;
}

@media (max-width: 767px) {
    .about-table tr,
    .about-table td {
        font-size: 16px;
    }
    .about-table td {
        display: flex;
        flex-wrap: wrap;
    }
    .about-table td:first-child {
        max-width: 100%;
        text-align-last: left;
        padding-right: 0;
        background: #EC3749;
        color: #fff;
        padding-left: 0.5em;
    }
    .about-table td:last-child {
        border-left: none;
        padding: 0.5em 0.5em 1em;
    }

}

/*********** 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: #EC3749;
    box-shadow: none;
    border: none;
    border-radius: 30px;
    width: 100%;
    max-width: 220px;
    height: 45px;
    font-size: 19px;
    font-weight: bold;
    letter-spacing: .05em;
    margin-top: 1em;
    padding-top: 12px!important;
    //text-shadow: 0 0 8px grey;
}
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;
    border: none;
    box-shadow: 0 0 8px grey;
    cursor: pointer;
}
.show-block span.wpcf7-list-item {
    margin-top: 8px;
    display: block;
}
.show-block span.wpcf7-list-item:first-child {
    margin-top: 12px;
}
@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;
    }
}
