::-ms-expand {display: none;}
*{
    font-size: 11.5px;
    color: rgb(95, 95, 95);
    font-family: Helvetica Neue,Helvetica, Hiragino Sans,'ヒラギノ角ゴ ProN W3',Hiragino Kaku Gothic ProN, "メイリオ",Meiryo,sans-serif;
}
*{
    margin:auto;
    border-collapse: collapse;
    -moz-appearance:none;
    appearance:none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none;
    -webkit-overflow-scrolling: touch;
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer */
    -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
    -webkit-user-select: none; /* Chrome, Safari, and Opera */
    -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}
input, textarea {
-webkit-user-select : auto;
}
:root{}
body{}
/*閉じるボタンのCSS*/
    .close_btn_set{
        position: absolute;
        width: 22px;
        height: 20px;
        top: 3px;
        right: 4px;
        }
    .close_btn{
        cursor:pointer;
        position: absolute;
        width:100%;height:100%;
        background:rgb(0,0,0,0);
        }
    .close_btn:hover{
        background:rgb(0,0,0,0.2);
    }
    .close_btn_img{
        position: absolute;
        width:100%;height:100%;
        background-image: url(/cgi-bin/setting_ba_Holiday/close_btn.JPG);
        background-repeat: no-repeat;
        background-size: 100%;
    }
/*ドラッグドロップのCSS*/
    .drag-area{
        position:absolute;top:0;left:0;
        width:calc(600px - 2px);height:calc(300px - 2px);
        background:white;
        border: solid 1px rgb(180,180,180);
    }
    .dragOver{
        border: solid 1px rgb(120,200,240);
        box-shadow: 0 0 10px rgb(200,200,200);
    }
    .drag-area > .drop_img{
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgb(255,255,255,0.6);
        background-image: url(img/item_mainbackground.png);
        background-size: 40%;
        background-position: center;
        background-repeat: no-repeat;
    }
    .dragOver > .drop-area{
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgb(255,255,255,0.1);
        background-image: linear-gradient(0deg, rgb(120,200,240,0.1) 50%, transparent 50%);
        background-size: 20px 4px;
    }
/*popUpのCSS*/
    .popupWindow{
        position: absolute;
        border: solid 1px gray;
        width: 300px;
        height: 30px;
        display: flex;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        position: absolute;
    }
    .popupWindow > .innerText{
        display: flex;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        position: absolute;
        background: white;
    }
.fadeOut{display:none;}
*{
    line-height:180%;
}
.sidevar{
    display: flex;
    position: absolute;
    width: 250px;
    margin: 5px;
    top: 84px;
    left: 10px;
    background: white;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    display: none;
}
.logo {    width: 50vw;}
.logo > img{ max-width: 97%;}

    .sidevar > .title,.side_title{
        height: 19px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        padding: 10px 0;
        background: rgb(38, 69, 70);
        color:white;
        font-weight:bold;
        width: calc(100% - 20px);
        margin: 10px;
    }
    .sideSet{
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .inputset{
        display: flex;
        width: calc(100% - 50px);
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .inputset > div{
        margin: 2px;
        border: solid 1px gray;
    }.inputset > div:hover{box-shadow: 0 0 10px rgb(150 150 150);}
    .inputset > div > input{
        width: calc(100% - 5px);
        height: 25px;
        border: none;
        outline: none;
        background: none;
        text-align: center;
        color:black;
    }
    #nip1{text-align: right;}
    #nip2{text-align: left;}
    #cosmo{}
    .search_button{
        width: 78%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        border: solid 1px gray;
        margin: 7px;
        height: 25px;
        cursor: pointer;
    }.search_button:hover{box-shadow: 0 0 10px rgb(150 150 150);}

    .headline_titles{
        background: rgb(67, 121, 122);
        width: calc(100% - 14px);
        margin: 1px;
        padding: 1px;
        color: white;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        font-size: 1.3rem;
        cursor: pointer;
        padding-left: 10px;
    }.headline_titles:hover,.sidevar > .hover{background: rgba(95, 158, 160, 0.8);}
.main{
    width: calc(100vw);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: cadetblue;
    padding-bottom: 150px;
}
.set{
    display: flex;
    flex-direction: column;
    background: white;
    margin: 8px 0;
    width: calc(100% - 10px);
    cursor:pointer;
}
.set:hover > .headline_title{background: rgba(95, 158, 160, 0.8);}
.set > .headline_title{
    font-size: xx-large;
    border-bottom: double 7px white;
    margin: 5px;
    display: flex;
    flex-direction: row;
    align-content: flex-end;
    justify-content: center;
    align-items: center;
    background: content-box;
    background: rgb(67, 121, 122);
    font-weight: bold;
    color:white;
}
.set > .headlines{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    border-bottom: solid 2px rgb(67, 121, 122);
    margin: 5px;
    margin-bottom: 15px;
}
.set > .maintext{
    display: flex;
    font-size: large;
    padding: 0 5px;
    width: calc(100% - 60px);
    padding: 15px;
    background: rgba(95, 158, 160, 0.2);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-content: flex-start;
}
.content,.content_0{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.content > .text,.content_0 > .text{
    width: 80%;
    font-size:1.5rem;
}
.sentence{
    margin: 5px;
    background: cadetblue;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0 10px;
    width: calc(100% - 30px);
    color: white;
    font-size: 1.8rem;
}
.texts > .sentence{
    background: orange;
    font-size: 1.5rem;
}
.texts > .text{
    margin: 10px;}
.text{font-size: 1.5rem;}
.text > .text{
    font-size: 1.5rem;
}
.textalert{color:red;font-size:1.2rem;}
.texts > .tx{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.tx > .txt{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: flex-start;
    justify-content: center;
    width: 100%;
}
.tx > .txt > .txt{
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.2rem;
    width: 100%;
    margin-left: 10px;
}.tx > .txt > .txt:first-child{
    font-weight: bold;
    font-size: 1.4rem;
}.tx > .txt > .txt:last-child{
    margin-left: 8%;
}
.images{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}
.image{
    width: 80%;
    margin: 10px;
    font-size: 1.4rem;
    color: rgb(50,50,50);
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    border: solid 1px rgba(180,180,180, 0.7);;
    padding: 5px;
    box-shadow: 0 2px 2px rgba(180,180,180, 0.7);;
}
.image > .texts{
    min-height: 65px;
    font-size: 11pt;
    font-weight: normal;
}
.image:hover{background: rgb(100,100,100,0.1);}
.image > a{width:100%;display: flex;}
.image > a > img{width:100%;}
.nip_paper{width: 10vw; height: 10vw;   border:solid 1px rgb(200,200,200);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;}
.nip_mat{background-image: url(img/nip/SC669.jpg);}
.nip_str{background-image: url(img/nip/YE353-2.jpg);}
.nip_mok{background-image: url(img/nip/YV406-1.jpg);}
.nip_isi{background-image: url(img/nip/YJ708-3.jpg);}
.nip_mol{background-image: url(img/nip/YJ806-1.jpg);}
.nip_met{background-image: url(img/nip/YK501-1.jpg);}
.nip_ren{background-image: url(img/nip/YT501-1.jpg);}
.nip_han{background-image: url(img/nip/YL601-1.jpg);}
.nip_wah{background-image: url(img/nip/YO702-7.jpg);}
.nip_chu{background-image: url(img/nip/YO702-7.jpg);}
.nip_cyu{background-image: url(img/nip/YQ518-2.jpg);}
.nip_kin{background-image: url(img/nip/YZ821-1.jpg);}
.nip_hol{background-image: url(img/nip/YZ909-1.jpg);}

.loading{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(200,200,200,0.5);
    cursor: wait;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    animation: change-color-anim 4s linear infinite;
}
.loading_text{
    background: rgb(255,255,255,0.8);
    padding: 5px 30px;
    width: 60%;
    font-size: x-large;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 60px;
    font-weight: bold;
}
.sentence:hover,
.text:hover,
.texts:hover,
.image:hover > .texts,
.images:hover,
.maintext:hover,
.headlines:hover
{font-weight: bold;}

.display_block{display: flex;}
@keyframes change-color-anim {
    0% { background-color: rgb(200,200,200,0.8); }
    20% { background-color: rgb(255,255,255,0.8); }
    40% { background-color: rgb(200,200,200,0.8); }
    60% { background-color: rgb(255,255,255,0.8); }
    80% { background-color: rgb(200,200,200,0.8); }
    100% { background-color: rgb(255,255,255,0.8); }
}
/*PC用*/
@media screen and (min-width: 767px) { /*ウィンドウ幅が767px以上の場合に適用*/
    .hedder{
        width: calc(100% - 20px);
        height: 80px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    
    }
    .logo{width: 40vw;}
    .hedder_title{
        width: 58vw;
        font-size: large;
        background: rgb(38, 69, 70);
        color: white;
        font-weight: bold;
        padding-left: 20px;
        margin-top: 10px;
        height: 50px;
        display: flex;
        align-items: center;
    }
    .main{width: 100vw;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        background: cadetblue;
        padding-bottom: 150px;
        max-width: calc(100vw - 275px);
        margin-left: 270px;}
    .set{max-width:800px;}
    .image{
        width: 45%;
        margin: 10px;
        font-size: 1.3rem;
        font-weight: bold;
        color: rgb(50,50,50);
    }
    .image > a{width:100%;}
    .image > a > img{width:100%;}
    .content_0 > .image{width: 96%;}
    .set.sideSet{display: none;}
    .sidevar{
        display: flex;
    } 
}
/*タブレット用のcss*/
@media screen and (max-width: 767px) { /*ウィンドウ幅が最大767pxまでの場合に適用*/
    .sidevar{
        display: flex;
    }
    .hedder{
        width: calc(100% - 20px);
        height:auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .logo{    width: 40vw;}
    .hedder_title{
        width: 50%;
        font-size: large;
        background: rgb(38, 69, 70);
        color: white;
        font-weight: bold;
        padding-left: 20px;
        margin-top: 10px;
        height: 39px;
    }

    .set{width: auto;}
    .image{
        width: 45%;
        margin: 10px;
        font-size: 1.3rem;
        font-weight: bold;
        color: rgb(50,50,50);
    }
    .image > a{width:100%;}
    .image > a > img{width:100%;}
    .content_0 > .image{width: 96%;}
    .set.sideSet{display: none;}
    .sidevar{
        display:none;
    } 
}
/*スマホ用のcss*/
@media screen and (max-width: 479px) { /*ウィンドウ幅が最大479pxまでの場合に適用*/
    .abody{
        overflow-x: hidden;
        overflow-y: scroll;
        width: 100vw;
    }
    .hedder{
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .logo{
        width: calc(100% - 10px);
        margin: 5px;
        margin-left: 25px;
        margin-top: 20px;
    }
    .hedder_title{
        width: 100%;
        font-size: large;
        margin-bottom: 4px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        height: auto;
        padding: 0;}
    .nip_paper{width: 50vw; height: 50vw;}
    .set_fadeOut{margin: 8px;}
    .set_fadeOut > .headlines{display: none;}
    .set_fadeOut > .maintext{display: none;}
    .set_fadeOut > .contents{display: none;}
    .set_fadeOut > .headline_title{display: flex;}   
    .set{width: 100vw;    margin: 1px 8px;}
    .set > .headline_title{
        white-space: nowrap;
        font-size: x-large;}
    .sidevar.fadeOut{left:-100vw;}
    .sidevar{
        display:none;
    }    
    .image{
        width: 100%;
        margin: 10px;
        font-size: 1.3rem;
        font-weight: bold;
        color: rgb(50,50,50);
    }
    .image > a{width:100%;}
    .image > a > img{width:100%;}
    .content_0 > .image{width: 96%;}
    .set.sideSet{display:flex;}
}
/*印刷用のCSS*/
@media print{
/*page-break-before:always;*/
    /* A4縦用のベース設定 */
    @page {size: A4 portrait; /* 横の場合はlandscape 縦portrait  var(--TATEYOKO);*/ 
        margin:5mm;
    }
    /* 各要素の余白リセット */
        /* *{margin:auto;padding:initial;} */
    /* 印刷時の調子を整える */
        body {
        width:200mm; /* 用紙の横幅を改めて指定 Chrome用  var(--YOKO)*/
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
        line-height: 1.5rem;}
    /* 印刷1ページ用のコンテンツはここで定義 */
    .page {
        width:210mm; /* 用紙の横幅を改めて指定 var(--YOKO) */
        height:287mm;/* 高さには0.5mm余裕をもたせる */
        box-sizing: border-box;
        padding:0;/* 用紙の余白 */
        font-size: 10.5pt;}
    @media screen {
        body {
            background: #eee;
        }
        .page {
            background: white; /* 背景を白く */
            margin:5mm;
        }
    }
    .content > *,.images > .image,img{display: block;page-break-inside: avoid;}
    .image > a{display: flex;}
    .images{width: 100%;}
    .set{width: 100%;} /*display: block;page-break-before:always;*/
    .set.sideSet{display: none;}
    .abody > .sidevar{display: none;}
    .hedder{display: none;}
    .sideSet{display: none;}   

    .abody{width:200mm;}
    .main{width:100%;}
    
    @media screen and (max-width: 479px) {
    .image{
        width: 100%;
        font-size: 1.3rem;
        font-weight: bold;
        color: rgb(50,50,50);
        margin: auto;
        padding: inherit;
        text-align: center;
        }
    }
    .images > .image{
        width: calc(50% - 5px);
        font-size: 1.3rem;
        font-weight: bold;
        color: rgb(50,50,50);
        margin: auto;
        padding: inherit;
        text-align: center;
    }
    .images > .image > a{width:100%;}
    .images > .image > a > img{width:100%;}
    .content_0 > .image{width: 96%;}

    @font-face {
        font-family: number;
        src: local('Hiragino Mincho ProN');
        unicode-range: U+0030-0039;
    }
}   
    