:root {
    --blue: rgb(0, 45, 170);
    --gray: rgb(220, 221, 221);
    --skyblue: rgb(46, 167, 224);
}

.left {
    text-align-last: left;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}

#pg-main {
    display: block;
    margin: 0 auto;
}
#pg-main h1 {
    display: inline-block;
    width: fit-content;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-weight: bold;
    color: rgb(220, 45, 41);
    border-top: 3px solid rgb(220, 45, 41);
    border-bottom: 3px solid rgb(220, 45, 41);
}
#pg-main .hd-images .img-fluid {
    display: block;
    margin: 0 auto;
}

#pg-main .container {
    /*newbase相殺*/
    padding-top: 0;
    padding-bottom: 0;
}
#pg-main h2 {
    /*newbase相殺*/
    padding: 0;
    line-height: auto;
}
#search-box .go-search:hover {
    opacity: 0.5;
}
#search-result .btn-wrappar img:hover {
    opacity: 0.5;
}

#search-result .ico-service img {
    display: inline-block;
}
#search-result h3 {
    font-weight: bold !important;
    color: brown;
}
#search-result .hit-num {
    color: brown;
}
/*新デザイン対応用加筆*/
#search-result {
    font-weight: bold !important;
    margin-bottom: 30px !important;
    padding-bottom: 30px;
    border-bottom: 2px solid rgb(11, 49, 143);
}
/*
#search-result .title{
}
*/
#pg-main .staff {
    display: block;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
}
#pg-main .staff img {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    margin-right: 15px;
}
#pg-main .staff p {
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    color: rgb(114, 113, 113);
    font-size: 36px;
}
#search-result h3 {
    display: inline-block;
    vertical-align: top;
    margin-right: 15px;
}
#search-result h2 {
    font-weight: bold;
}
#search-result .title img {
    display: inline-block;
    vertical-align: top;
}

#search-result .heiten-txt {
    font-weight: normal;
}

#search-result li {
    list-style: none;
}
#search-result h3 {
    font-weight: bold !important;
    color: rgb(0, 45, 170);
}
/*時間アイコン共通 Sp/PCは箱の高さで画像サイズ調整*/
#search-result .ico-service img {
    height: 100%;
    display: inline-block;
    width: auto;
    margin: 0 5px;
}
#search-result .tenpo-img {
    display: inline-block;
    vertical-align: middle;
    border: 3px solid rgb(210, 45, 41);
    margin-right: 15px;
    transition: ease-in;
}
#search-result .tenpo-img a:hover {
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s ease-out;
}
#search-result .tenpo-img img {
    border: 3px solid #000;
    max-width: 256px;
}
#search-result .txt-wrappar {
    display: inline-block;
    vertical-align: middle;
}
#search-result .txt-wrappar .address1 {
    font-size: 16px;
}
#search-result .txt-wrappar .tel {
    font-size: 16px;
}

#search-result .txt-wrappar .title a:hover {
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s ease-out;
}

#search-result .btn-wrappar img:hover {
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s ease-out;
}

/*各リスト下の点線
 *liの margin幅は@mediaで調整
 */
#search-result ul li {
    position: relative;
}
#search-result ul li::after {
    content: "";
    display: block;
    padding-bottom: 10px;
    border-bottom: 5px dotted rgb(70, 155, 255);
}
#search-result ul li:nth-last-child(1)::after {
    display: none;
}
#search-result .title-bg {
    background-color: rgb(0, 45, 170);
    padding: 10px 0;
    margin-bottom: 20px;
}

/*検索結果改訂版css移植*/

/*~.col-md*/
@media screen and (max-width: 767px) {
    #pg-main {
        margin-top: 20px;
        margin-bottom: -20px;
    }

    /*SP見出し*/
    #pg-main h1 {
        margin: 0;
        margin-top: 30px;
        padding: 7px 25px;
        margin-bottom: 20px;
        font-size: 6vw;
        font-weight: bold;
    }
    #txt-main p {
        font-size: 4vw;
        line-height: 8vw;
    }
    #search-result li {
        list-style: none;
        margin-bottom: 20px;
    }

    #search-result h3 {
        font-weight: bold !important;
        color: rgb(0, 45, 170);
    }
    /*時間アイコン共通 Sp/PCは箱の高さで画像サイズ調整*/
    #search-result .ico-service img {
        height: 100%;
        display: inline-block;
        width: auto;
        margin: 0 5px;
    }
    /*各リスト下の点線　liのmargin幅調整*/
    #search-result ul li::after {
        margin-left: 0;
    }
    #search-result .shop-info img {
        width: 30vw;
        max-width: 180px;
    }
}
@media screen and (min-width: 768px) {
    #pg-main {
        margin-top: 100px;
    }
    #pg-main h1 {
        font-size: 42px;
        padding: 10px 65px;
    }
    #txt-main p {
        font-size: 28px;
        font-weight: normal;
        line-height: 56px;
    }
    /*検索結果一覧*/
    #search-result li {
        margin-bottom: 20px;
    }
    /*各リスト下の点線　liのmargin幅調整*/
    #search-result ul li::after {
        padding-top: 15px;
        margin-left: -30px;
    }
    #search-result {
        width: inherit;
        display: block;
        margin: 0 auto;
        font-size: 18px;
    }
    #search-result h2 {
        margin: 0;
        margin-left: 20px;
        padding-left: 10px;
        font-size: 28px;
        color: white;
        border-left: 10px solid #fff;
    }
    /*リスト全体余白調整*/
    #search-result ul {
        margin-left: -10px;
    }
    #search-result p {
        margin: 0;
        font-size: 28px;
    }
    #search-result .heiten-txt {
        margin: 0;
        font-size: 28px;
        line-height: 1.6;
    }
    #search-result .title img {
        width: 202px;
        height: auto;
        overflow: hidden;
        margin-top: 5px;
    }

    #search-result h3 {
        font-size: 28px;
        font-weight: normal;
    }

    #search-result .address1 {
        display: inline-block;
    }
    #search-result .address2 {
        display: inline-block;
        font-size: 16px;
    }
    #search-result .tel {
        margin-bottom: 10px;
    }
    /*サービスアイコン行*/
    #search-result .ico-service {
        display: block;
        width: fit-content;
        height: 40px;
        margin-bottom: 15px;
    }
    #search-result .btn-wrappar {
        position: absolute;
        right: 30px;
        bottom: 25px;
    }
    #search-result .btn-wrappar img {
        width: 100px;
    }
    #search-result .shop-info img {
        vertical-align: top;
        margin-top: 4px;
        margin-left: 12px;
    }
    #search-result .tel span {
        padding-left: 0.4em;
    }
    #search-result .title img {
        width: 55px;
        margin-right: 5px;
        margin-top: 5px;
    }

    #search-result .title-bg {
        margin-bottom: 40px;
    }
}
/*PC中間サイズ調整*/
@media screen and (min-width: 780px) and (max-width: 991px) {
    /*サービスアイコン行*/
    #search-result .btn-wrappar {
        position: absolute;
        width: 80px;
        right: 50px;
    }
}

@media screen and (max-width: 780px) {
    /*検索結果リスト*/
    #search-result h2 {
        margin: 0;
        padding-left: 15px;
        margin-left: 15px;
        font-size: 28px;
        color: white;
        border-left: 8px solid #fff;
    }
    /*リスト全体余白調整*/
    #search-result li {
        position: relative;
        /*margin-left: -39px;*/
        margin-bottom: 10px;
    }

    #search-result .btn-wrappar {
        position: absolute;
        right: 10px;
        bottom: 20px;
    }

    #search-result .btn-wrappar img {
        width: 60px;
    }

    #search-result p {
        margin: 0;
        font-size: 20px;
    }

    #search-result h3 {
        font-size: 28px;
    }
    /*
	#search-result .address1{
	}
*/
    #search-result .address2 {
        padding-left: 3em;
        font-size: 16px;
    }
    #search-result .tel {
        margin-bottom: 10px;
    }
    #search-result .tel span {
        padding-left: 0.3em;
    }
    #pg-main .staff {
        display: block;
        margin: 0 auto;
        text-align: center;
        font-weight: bold;
    }
    #pg-main .staff img {
        display: inline-block;
        vertical-align: middle;
        margin: 0;
        width: 70%;
        margin-bottom: 10px;
    }
    #pg-main .staff p {
        margin: 0;
        display: inline-block;
        vertical-align: middle;
        color: rgb(114, 113, 113);
        font-size: 4vw;
    }
}
/*最小*/
@media screen and (max-width: 576px) {
    #search-result p {
        margin: 0;
        font-size: 3.8vw;
    }

    #search-result h3 {
        font-size: 5vw;
    }
    /*検索結果リスト*/
    #search-result h2 {
        margin: 0;
        padding: 5px 0;
        margin-left: 10px;
        padding-left: 10px;
        font-size: 4vw;
        color: white;
        border-left: 8px solid #fff;
    }
}

.heiten-date-wrap {
    max-width: 320px;
    margin: 20px auto 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    border: 3px solid rgb(220, 45, 41);
    padding: 5px;
    .title {
        width: 120px;
        font-size: 24px;
        font-weight: bold;
        color: rgb(220, 45, 41);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
    }
    .date {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        align-items: flex-end;
        color: #212529;
        font-size: 36px;
        line-height: 1.6;
        font-weight: bold;
        margin: 0 auto;
        .large {
            font-size: 80px;
            padding: 0 10px;
            line-height: 1;
        }
    }
    .time {
        width: 100%;
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        color: #212529;
        text-align: left;
        padding: 0px 10px 10px;
        justify-content: center;
        .small {
            width: auto;
            font-weight: bold;
            font-size: 32px;
            line-height: 0.6;
            text-align: left;
            padding-right: 10px;
        }
        .time-container {
            display: inline;
            width: auto;
            text-align: left;
            margin: 0;
            .middle {
                font-size: 45px;
                font-weight: bold;
                line-height: 1;
                text-align: left;
            }
        }
    }
}

#shop-wrap {
    margin-bottom: 30px !important;
    padding-bottom: 30px;
    border-bottom: 2px solid rgb(11, 49, 143);
}
#shop-wrap .info-title {
    background-color: rgb(0, 45, 170);
    padding: 10px 0;
    margin: 0 0 20px;
    padding-left: 20px;
    font-size: 28px;
    color: white;
    width: 100%;
    &.-top {
        margin: 20px 0;
    }
}
#shop-wrap .shop-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
#shop-wrap .shop-link {
    display: inline-block;
    margin-right: 15px;
    color: rgb(0, 45, 170);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin: 5px 10px 10px;
    width: calc(50% - 20px);
    &:hover {
        cursor: pointer;
        opacity: 0.5;
        transition: 0.3s ease-out;
    }
}

@media screen and (min-width: 768px) {
    .heiten-date-wrap {
        max-width: 700px;
        margin: 30px auto 0;
        padding: 4px 20px 12px;
        .title {
            width: 150px;
            font-size: 36px;
            padding: 3px 0 0;
        }
        .date {
            font-size: 38px;
            line-height: 1.4;
            height: 90px;
            margin: 0;
            .large {
                font-size: 80px;
            }
        }
        .time {
            width: 30%;
            padding: 6px 0 0;
            justify-content: center;
            .small {
                width: 100%;
                font-size: 32px;
                line-height: 0.6;
                padding-right: 0;
            }
            .time-container {
                width: 100%;
                .middle {
                    font-size: 50px;
                    line-height: 1;
                }
            }
        }
    }
}
