﻿/* 設定１つ  - 四辺すべてに適用 */
/* 設定２つ  - 上下 | 左右 */
/* 設定３つ  - 上 | 左右 | 下 */
/* 設定４つ  - 上 | 右 | 下 | 左 */

/* 濃い目のオレンジ　#EC7336 */
/* 黒文字 #333333 */


#datablk { /*kkcwebcom.css での定義を上書き （左右のmarginを0に）*/
    margin: 20px 0 !important;
}

.cps {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0 auto;
    font-weight: 500;
    max-width: calc(1200px + 30px); /* 30px = imgの余白分 */
}

.cps_title {
    border-bottom: 2px solid orange;
}

    .cps_title > a {
        font-size: 28pt;
        line-height: 50px;
        font-weight: 400;
        text-decoration: none;
        color: #000000;
    }

/***************************************/
/**** スクロールボタン *****************/
/***************************************/
#cps_joken2_scroll {
    position: fixed;
    bottom: 70px;
    right: 50px;
    height: 50px;
    width: 50px;
    background-color: #EC7336;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #cps_joken2_scroll > .upmark {
        position: relative;
        width: 18px;
        height: 18px;
    }

        #cps_joken2_scroll > .upmark::before {
            content: '';
            position: absolute;
            width: 18px;
            height: 18px;
            border-right: 3px solid #ffffff;
            border-bottom: 3px solid #ffffff;
            transform: rotate(-135deg); /* 上向き */
            /* 上向きの場合、少し下にずらすと視覚的に中央に見える */
            top: 4px;
            left: 0;
        }

/***************************************/
/**** 簡易検索 *************************/
/***************************************/
.cps_src {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
}

    .cps_src > .keywordbox {
        position: relative;
    }

        .cps_src > .keywordbox > #btn_keyword {
            position: absolute;
            /*background-image: url("/images/categoryMark2.gif");*/
            background-image: url("/asp/images/categoryMark2.gif");
            background-color: transparent;
            top: 5px;
            right: 5px;
            height: 30px;
            width: 30px;
            border: 0;
            cursor: pointer;
        }

        .cps_src > .keywordbox > #tb_keyword {
            outline: none;
            height: 30px;
            width: 280px;
            margin: 5px;
            box-shadow: 0 0 5px 3px rgba(100, 100, 100, 0.3);
            border-radius: 5px;
            border: 0;
        }

    .cps_src > #sb_selti {
        width: 200px;
    }

    .cps_src > #sb_selbunrui {
        width: 200px;
    }

    .cps_src > #sb_selsort {
        width: 200px;
    }

/***************************************/
/**** 詳細検索 *************************/
/***************************************/
.cps_src2 {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
    align-items: start;
    height: 100%;
}

    .cps_src2 > .blk0 {
        margin: 0 30px;
        width: 100%;
        height: 25px;
        margin-bottom: 10px;
    }

        .cps_src2 > .blk0 > .title { /*タイトル*/
            letter-spacing: 5px;
            font-size: 20pt;
        }

    .cps_src2 > .blk1 {
        display: flex;
        flex-wrap: wrap;
        justify-content:space-between;
        margin: 0 0 0 30px;
        width: 100%;
    }

        .cps_src2 > .blk1 > .keywordbox {
            position: relative;
        }
            .cps_src2 > .blk1 > .keywordbox > #btn_keyword2 {
                position: absolute;
                /*background-image: url("/images/categoryMark2.gif");*/
                background-image: url("/asp/images/categoryMark2.gif");
                background-color: transparent;
                top: 5px;
                right: 10px;
                height: 30px;
                width: 30px;
                border: 0;
                cursor: pointer;
            }

            .cps_src2 > .blk1 > .keywordbox > #tb_keyword2 {
                outline: none;
                height: 40px;
                width: 300px;
                margin: 0 5px;
                border: 3px solid #EC7336;
                border-radius: 5px;
            }

        .cps_src2 > .blk1 > .btnbox {
        }
            .cps_src2 > .blk1 > .btnbox > #btn_joken2clear {
                width: 120px;
                height: 40px;
                border: 3px solid #EC7336;
                border-radius: 5px;
                margin: 0 5px;
                background-color: transparent;
                color: #EC7336;
                font-size: 16pt;
                cursor: pointer;
            }

            .cps_src2 > .blk1 > .btnbox > #btn_joken2src {
                width: 120px;
                height: 40px;
                border: 3px solid #EC7336;
                border-radius: 5px;
                background-color: #EC7336;
                margin: 0 5px;
                color: #ffffff;
                font-size: 16pt;
                cursor: pointer;
            }


    .cps_src2 > .blk2 {
        display: flex;
        flex-wrap: wrap;
        background-color: #dddddd;
        width: 100%;
        margin-top: 10px;
        padding: 10px 30px;
    }

        .cps_src2 > .blk2 > .title { /*タイトル*/
            letter-spacing: 2px;
            font-size: 16pt;
            width: 100%;
            margin-bottom: 10px;
        }

        .cps_src2 > .blk2 > .bunruibox {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
        }

            .cps_src2 > .blk2 > .bunruibox > .bunrui1box {
                margin-left: 20px;
            }

                .cps_src2 > .blk2 > .bunruibox > .bunrui1box > .title {
                    line-height: 25px;
                    letter-spacing: 2px;
                    font-size: 12pt;
                    width: stretch;
                }

                .cps_src2 > .blk2 > .bunruibox > .bunrui1box > .checkarea {
                    display: flex;
                    flex-wrap: wrap;
                }

                    .cps_src2 > .blk2 > .bunruibox > .bunrui1box > .checkarea > .checkcol {
                        width: 155px;
                    }


    .cps_src2 > .blk3 {
        width: 100%;
        margin-top: 10px;
        padding: 10px 30px;
    }

        .cps_src2 > .blk3 > .title { /*タイトル*/
            letter-spacing: 2px;
            font-size: 16pt;
            width: 100%;
            margin-bottom: 10px;
        }

        .cps_src2 > .blk3 > .tibox {
            display: block;
            width: 100%;
            margin-bottom: 10px;
        }

            .cps_src2 > .blk3 > .tibox > .ti0 {
                font-size: 12pt;
                width: stretch;
                border-top: 1px solid #EC7336;
            }

            .cps_src2 > .blk3 > .tibox > .ti1box {
                display: flex;
                flex-wrap: wrap;
                margin-left: 20px;
                margin-bottom: 10px;
            }

/***************************************/
/**** 写真表示 *************************/
/***************************************/

.trgt_tagname {
    line-height:35px;
    font-size:16pt;
}
.trgt_tagname > span {
    color:#0000ff;
}


.cps_photo_panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    justify-items: left;
}

    .cps_photo_panel > .nf {
        font-size: 14pt;
        height: 150px;
    }

.cps_photo_box {
    max-width: 225px;
    min-width: 225px;
    margin: 5px;
    box-shadow: -3px 3px 8px rgba(0.3, 0.3, 0.3, 0.3);
    border-radius: 7px;
    overflow: hidden;
}

    .cps_photo_box > a {
        display: block;
        align-content: center;
        max-width: 225px;
        max-height: 150px;
        min-height: 150px;
        overflow: hidden;
    }

        .cps_photo_box > a > img {
            max-width: 225px;
            /*max-width: calc(235px - 5px - 5px);*/
            object-fit: contain;
        }

    .cps_photo_box > .cps_caption {
        width: 100%;
        padding: 10px;
        font-weight: 600;
    }

        .cps_photo_box > .cps_caption > .hnnm {
            font-size: 10pt;
            line-height: 16px;
            height: 35px;
        }

        .cps_photo_box > .cps_caption > .kinm {
            font-size: 9pt;
            line-height: 16px;
            margin-left: 10px;
            height: 30px;
        }

            .cps_photo_box > .cps_caption > .kinm > a {
                color: #444444;
                text-decoration-skip-ink: none;
            }

        .cps_photo_box > .cps_caption > .tagbox {
            height:30px;
        }

            .cps_photo_box > .cps_caption > .tagbox > .tag {
                font-size: 7pt;
                line-height: 14px;
                color: #0000ff;
                margin-right: 5px;
                text-decoration: none;
            }
            .cps_photo_box > .cps_caption > .tagbox > .tag:hover {
                text-decoration: underline;
            }

.cps_photo_link {
    position: relative;
}

    .cps_photo_link > .pr {
        position: absolute;
        top: 0;
        left: 0;
        padding: 2px 5px;
        background-color: #C0C0C0;
        font-size: 8pt;
        color: #ffffff;
    }

/***************************************/
/**** 共通 *****************************/
/***************************************/
.mark { /*下付きレジスターマーク等*/
    display: inline;
    top: 0.15em;
    position: relative;
    vertical-align:sub;
}


/***************************************/
/**** ＣＰダイアログ *******************/
/***************************************/
/*#cps_dialog {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%) translateY(-20%);*/ /* 少し上から */
    /*max-width: 800px;
    min-width: 400px;
    background: #ffffff;
    box-shadow: 0 0 5px 3px rgba(100, 100, 100, 0.3);
    border-radius: 5px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

    #cps_dialog.open {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

#cps_dialog_close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #aaa;
    cursor: pointer;
    z-index: 100;
}

.closebtn {
    position: relative;
    width: 30px;
    height: 30px;
    border: 2px solid #333;
}

    .closebtn::before,
    .closebtn::after {
        content: '';
        position: absolute;
        width: 70%;*/ /* 線の長さ */
        /*height: 2px;*/ /* 線の太さ */
        /*background-color: #333;
        top: 50%;
        left: 50%;
    }

    .closebtn::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .closebtn::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

#_updatepanel_cps_dialog {
    padding: 0;
}

.cps_dialog_content {
    display: flex;
}

.cps_dialog_content {
    display: flex;
    flex-wrap: wrap;
}

    .cps_dialog_content > .cps_photo {
        position: relative;
    }

        .cps_dialog_content > .cps_photo > img {
            width: 400px;
            border-start-start-radius: 5px;
        }

        .cps_dialog_content > .cps_photo > .pr {
            position: absolute;
            top: 0;
            left: 0;
            padding: 2px 5px;
            background-color: #C0C0C0;
            font-size: 10pt;
            color: #ffffff;
            border-start-start-radius: 5px;
        }

    .cps_dialog_content > .cps_caption {
        display: flex;
        flex-direction: column;
        min-width: 200px;
        max-width: 400px;
        padding: 10px;
        align-content: space-between;
    }

        .cps_dialog_content > .cps_caption > .title_box {
            flex-grow: 1;
        }

            .cps_dialog_content > .cps_caption > .title_box > .hnnm {
                margin-top: 20px;
                line-height: 30px;
                font-size: 18pt;
            }*/

        /*            .cps_dialog_content > .cps_caption > .title_box > .kinm {
                margin-top: 10px;
                margin-left: 10px;
                color: #444444;
                line-height: 25px;
                font-size: 14pt;
            }
*/
        /*.cps_dialog_content > .cps_caption > .toi_box {
        }

            .cps_dialog_content > .cps_caption > .toi_box > .toi {
                margin-left: 5px;
                line-height: 25px;
                font-size: 8pt;
            }

            .cps_dialog_content > .cps_caption > .toi_box > .toi_kinm {
                margin-left: 10px;
                line-height: 25px;
                font-size: 10pt;
                color: #000000;
                text-decoration-skip-ink: none;
            }

            .cps_dialog_content > .cps_caption > .toi_box > .toi_addr {
                margin-left: 10px;
                line-height: 25px;
                font-size: 10pt;
            }

            .cps_dialog_content > .cps_caption > .toi_box > .toi_tel {
                margin-left: 10px;
                line-height: 25px;
                font-size: 10pt;
            }

            .cps_dialog_content > .cps_caption > .toi_box > .toi_url {
                margin-left: 10px;
                line-height: 25px;
                font-size: 10pt;
            }

                .cps_dialog_content > .cps_caption > .toi_box > .toi_url > a {
                    color: #444444;
                    text-decoration: none;
                }

    .cps_dialog_content > .cps_tagbox {
        display: flex;
        width: 100%;
        min-height: 35px;
        justify-content: space-between;
        align-items: flex-start;
        padding: 5px 10px;
    }

        .cps_dialog_content > .cps_tagbox > .taglist {
            display: flex;
            flex-wrap: wrap;
        }

            .cps_dialog_content > .cps_tagbox > .taglist > .tag {
                line-height: 20px;
                font-size: 10pt;
                color: #0000ff;
                margin-right: 10px;
                text-decoration: none;
            }

        .cps_dialog_content > .cps_tagbox > #btn_toi {
            height: 30px;
            background-color: #EC7336;
            font-size: 12pt;
            color: #ffffff;
            padding: 5px 10px;
            border-radius: 5px;
            white-space: nowrap;
            cursor: pointer;
        }

            .cps_dialog_content > .cps_tagbox > #btn_toi.disabled {
                background-color: #777777;
                color: #BBBBBB;
                cursor: not-allowed;
            }*/

@media (max-width: 1550px) {
    #cps_dialog {
        width: 400px;
    }
}

/***************************************/
/**** 詳細検索　　　　　 ***************/
/***************************************/

#cps_joken2_box {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 80%;
    max-height: 80%;
    border: 3px solid #EC7336;
    border-radius: 10px;
    background-color: #ffffff;
    align-content: start;
    cursor: pointer;
    /*overflow-y:scroll;*/
    /* アニメーション用 */
    transform: translateY(100%); /* 初期位置：画面下に隠す */
    transition: transform 0.4s ease;
    overflow-y: scroll;
}
    /* 表示時 */
    #cps_joken2_box.open {
        transform: translateY(0);
        cursor: initial;
    }


#cps_joken2_openclose {
    position: fixed;
    right: 0;
    bottom: 0;
    background-color: #EC7336;
    border-radius: 10px;
    color: #ffffff;
    font-size: 20pt;
    text-align: center;
    align-content: center;
    cursor: pointer;
    padding: 15px 30px 15px 20px;
}


.double-chevron-down {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
}

    .double-chevron-down::before,
    .double-chevron-down::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        border-right: 3px solid #ffffff;
        border-bottom: 3px solid #ffffff;
        transform: rotate(45deg); /* 下向き ∨ */
        transform-origin: 120%; /* 回転の基準点を調整 */
        left: 50%;
        margin-left: -9px; /* width の半分 */
    }

    .double-chevron-down::before {
        top: 0;
    }

    .double-chevron-down::after {
        top: 10px; /* ずらして二重に */
    }


.double-chevron-up {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
}

    .double-chevron-up::before,
    .double-chevron-up::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        border-right: 3px solid #ffffff;
        border-bottom: 3px solid #ffffff;
        transform: rotate(-135deg); /* 上向き ∨ */
        transform-origin: 50%; /* 回転の基準点を調整 */
        left: 50%;
        margin-left: -9px; /* width の半分 */
    }

    .double-chevron-up::before {
        top: 0;
    }

    .double-chevron-up::after {
        top: 10px; /* ずらして二重に */
    }
