@charset "utf-8";

/* -- h2見出しの装飾（共通） -- */
.post_content .is-style-section_ttl{
    .u-fz-xs{
        &:not(:has(mark)){
            position: relative;
            &::before,
            &::after{
                content:"";
                position: absolute;
                width: 56px;
                height: 10px;
                top: 50%;
                transform: translateY(-50%);
            }
            &::before{
                background-image: url(../../assets/img/common/h2_deco_bk_left.png);
                left: calc(-56px + -1em);
            }
            &::after{
                background-image: url(../../assets/img/common/h2_deco_bk_right.png);
                right: calc(-56px + -1em);
            }
        }
        mark.has-inline-color{
            position: relative;
            &::before,
            &::after{
                content:"";
                position: absolute;
                width: 56px;
                height: 10px;
                top: 50%;
                transform: translateY(-50%);
            }
            &::before{
                background-image: url(../../assets/img/common/h2_deco_wh_left.png);
                left: calc(-56px + -1em);
            }
            &::after{
                background-image: url(../../assets/img/common/h2_deco_wh_right.png);
                right: calc(-56px + -1em);
            }
        }
    }
}

/* --- 来店・オンライン相談会予約フォーム --- */
.reservation_form{
    table.form{
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        line-height: 1.5;
        text-indent: initial;
        tr{
            th{
                width: 200px;
                padding: 15px;
                font-weight: normal;
                text-align: left;
                vertical-align: top;
                border: none;
                background:#fff;
                .required{
                    display: inline-block;
                    padding: 3px 4px 2px;
                    font-size: 13px;
                    font-weight: bold;
                    line-height: 13px;
                    color: #fff;
                    white-space: nowrap;
                    vertical-align: baseline;
                    background-color: #9B2C42;
                    border-radius: 3px;
                    margin-left: 10px;
                }

                @media (max-width:959px){
                    font-size: 16px;
                    display: block;
                    width: auto;
                    padding: 0;
                    margin-bottom: 5px;
                }
            }
            td{
                padding: 15px;
                vertical-align: top;
                border: none;

                @media (max-width:959px){
                    width: 100%;
                    padding: 0;
                    display: block;
                }
            }

            @media (max-width:959px){
                display: block;
                width: auto;
                margin-bottom: 20px;
                padding: 10px;
            }

            &:nth-child(even){
                background-color: var(--tbody-th-color--bg, hsla(0, 0%, 59%, .05));
                th{
                    background-color: var(--tbody-th-color--bg);
                }
            }
        }
    }
}

input[type="text"],
input[type="tel"],
input[type="url"],
input[type="email"],
input[type="number"],
input[type="range"],
input[type="password"],
textarea {
    color: #595757;
    padding: 15px;
    width: calc(100% - 30px);
    border: 1px solid #595757;
    background-color: #fff;
    &::placeholder{
        color: #afafaf;
    }
    @media (max-width:959px){
        width:100%;
        padding: 10px;
    }
}

input[type="date"],
select{
    color: #595757;
    border: 1px solid #595757;
    background-color: #fff;
    padding: 15px;
    @media (max-width:767px){
        width:100%;
        padding: 10px;
        margin-bottom: 10px;
    }
}

select{
    margin-left:10px;
    @media (max-width:959px){
        width:auto;
    }
}

input[type="checkbox"],
input[type="radio"]{
    accent-color: #f00;
    transform: scale(1.4);
    margin-right: 5px;
}

input[type="submit"],
input[type="button"].confirm_button{
    background:#9B2C42;
    color: #fff;
    padding: 15px 80px;
    border: none;
    letter-spacing: 0.1rem;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: auto;
    font-family: inherit;
    &:hover{
        background: #da4030;
        transition: 0.6s;
    }
    @media (max-width:959px){
        width: 100%;
    }
}

input[type="button"].confirm_button[disabled] {
    background-color: #efefef;
    border: 1px solid #cfcfcf;
    color: #aaa;
    cursor: default;
}

/*戻るボタン*/
input[type="button"].back_button{
    padding: 10px 80px;
    margin:0 auto;
    &:hover{
        background:#f2f2f2;
        transition: 0.6s;
    }

    @media (max-width:959px){
        margin:0 auto;
        width: 100%;
    }
}

.form-submit-container{
    text-align: center;
    margin-top: 30px;
    p{
        margin:0 auto 20px auto;
    }
}

.wpcf7-not-valid-tip{
    display: block;
    width: 100%;
    padding: 10px;
}

.wpcf7-spinner{
    display: block;
    margin: 0 auto;
}

/* --- フローティングボタン --- */
@media (min-width:960px){
    /*PC*/
    .fixed_bnr_sp{ display: none; }
    .fixed_bnr_pc{
        width: 50px;
        position: fixed;
        right: 0;
        top: 35%;
        writing-mode: vertical-rl;
        z-index: 10;
        ul li a{
            display: block;
            padding: 30px 15px;
            background: #9B2C42;
            border: 1px solid #9B2C42;
            color: #fff;
            &:hover{
                color: #9B2C42;
                background: #fff;
                transition: 0.5s;
            }
        }
    }
}
@media (max-width:959px){
    /*SP*/
    .fixed_bnr_pc{ display: none; }
    .fixed_bnr_sp{
        opacity: 0;
        width:100%;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 10;
        ul{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            li{
                width: 50%;
                a{
                    display: block;
                    width: 100%;
                    color: #fff;
                    text-align: center;
                    padding: 1em 0;
                    font-size: 1.2rem;
                }
                &:first-child{
                    a{
                        background: #9B2C42;
                        &:hover{
                            color: #9B2C42;
                            background: #fff;
                            transition: 0.5s;
                        }
                    }
                }
                &:last-child{
                    a{
                        background: #2CB53B;
                        &:hover{
                            color: #2CB53B;
                            background: #fff;
                            transition: 0.5s;
                        }
                    }
                }
            }
        }
    }

    [data-scrolled=true] .fixed_bnr_sp{
        opacity:1;
        visibility: visible;
    }
}

/* --- フローティング（TOPに戻る）ボタン位置調整 --- */
@media (max-width:959px){
    .p-fixBtnWrap{
        bottom:5.25em;
    }
}



@media (min-width:769px){
    .js-datepicker{
        max-width: 280px;
    }
}

@media (max-width:769px){
    .js-datepicker{
        margin-bottom: 10px;
    }
}


@media (max-width:768px){
    input[type="text"], input[type="tel"], input[type="url"], input[type="email"], 
    input[type="number"], input[type="range"], input[type="password"], textarea {
        font-size: 16px;
    }

}
@media (max-width:768px){
.p-mainVisual__inner {
    height: 80vh !important;
}
}
.p-mainVisual__title {
    position: absolute;
    bottom: 10%;
    left: 12%;
    z-index: 999;
    text-align: left;
    font-size: 28px;
    color: #372c25;
    margin-bottom: 50px;
    padding-bottom: 30px;
    padding-bottom: 0;
text-shadow: #fff 0 0 10px,#fff 0 0 10px,#fff 0 0 10px,#fff 0 0 10px,#fff 0 0 10px,#fff 0 0 10px,#fff 0 0 10px,#fff 0 0 10px,#fff 0 0 10px,#fff 0 0 10px;
}

@media (max-width:900px){
    .p-mainVisual__title {
        bottom: auto;
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        font-size: 18px;
        margin-bottom: 0;
    }
}

.div-mainVisual__slideicon{
    position: absolute;
    bottom: 10%;
    right: 12%;
    z-index: 999;
    text-align: right;
}

.div-mainVisual__slideicon img{
    width: 80%;
}

@media (max-width:768px){

    .div-mainVisual__slideicon{
        width: 30%;
        bottom: 5%;
        right: 5%;
    }

    .div-mainVisual__slideicon img{
        width: 100%;
    }

    /* .swell-block-columns{
        display: none;
    }
    .l-footer {
        padding-bottom: 55px !important;
    } */
}