
#message {
    opacity: 0;
}

#message.is-active {
    opacity: 1;
}

.messageCopy {
    opacity: 0;
    position: absolute;
    top: -10px;
    z-index: 99;
    pointer-events: none;
    background: #5d8fc2;
    color: #ffffff;
    font-size: 11px;
    padding: 8px;
    display: flex;
    justify-content: center;
    width: fit-content;
    border-radius: 3px;
    transform: translate(0%,-100%);
    transition: opacity .1s ease-in;
}
.messageCopy:after {
    position: absolute;
    content: "";
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #5d8fc2;
}

.messageCopy.is-active {
    opacity: 1;
}

/*レイアウト調整*/
ul,li{
    list-style: none;
    padding: 0;
}
img{
    width: auto;
    max-width: 100%;
}
a:hover img {
    opacity: 0.8;
}
.flex{
    display: flex;
    align-items: center;
}
.break-spaces{
    /* white-space: break-spaces; */
    padding: 0 3px;
}
label {
    font-size: 80%;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    
}
input,select {
    margin-bottom: 20px;
    border-radius: 3px !important;
    max-width: 100%;
    height: 40px;
    line-height: 1.5;
    display: block;
    padding: 6px 12px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.form-control{
    border: 0;
    padding: 0;  
}
table{
    width: 100%;
}
th,td{
    border-top: 1px solid #d1d8d9;
    padding:8px
}
a {
    color: #337ab7;
    text-decoration: none;
}
.delete_button{
    font-size: 80%;
    padding: 8px;
    float: right;
    margin: 0;
}
.disable{
    opacity: .4;
}
#svgicon {
    display: none;
}
body{
    line-height: 1.3;
    color: #444;
    background: #EFF0F4;
    letter-spacing: 1px;
}

#main h3{
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    font-size: 20px;
    font-weight: normal;
}
#main h3 span{
    margin-left: 16px;
    font-size: 80%;
}
header{
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 64px;
    z-index: 10;
    background: #334454;
    color: #fff;
}
#main{
    transition: margin-left .3s ease;
    transform: translateZ(0);
    will-change: transform;
    padding-top:64px;;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-left: 0;
}
.sidebar-open #main {
    margin-left: 230px;
}
@media only screen and (max-width: 769px){
    .sidebar-open #main {
        margin-left: 0px;
    }
}
.preload *{
    transition: none !important;
}
.sidebar-open #side {
    transform: translate(0, 0);
}
#side{
    transform: translate(-230px, 0);
    transition: transform .3s ease;
    will-change: transform;
    width: 230px;
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    z-index: 810;
    display: block;
    color: #d6dadd;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #F3F4F6;
    border-right: 1px solid #DFDFDF;
}
#side li {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #DFDFDF;
    width: 100%;
}
#side a {
    display: block;
    position: relative;
    padding: 20px;
    color: #337ab7;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    text-align: center;
    /* font-weight: bold; */
    color: #444;
}
#side a:hover,
#side a.current {
    background: #fdfdfd;
}

#bt_drawermenu {
    display: flex;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    width: 54px;
    height: 64px;
    line-height: 64px;
    justify-content: center;
}
#bt_drawermenu:hover {
    background: #3F5467;
    text-decoration: none;
}
#bt_drawermenu .cb-bars {
    display: block;
    font-size: 22px;
    color: #fff;
}
#sitename{
    padding: 0 8px;
    font-weight: bold;
    height: 64px;
    line-height: 64px;
}
header a,header a:hover{
    color: #fff;
}
#side a#logout{
    padding: 10px 20px;
    border-radius: 0.375rem;
    font-size: 12px;
    color: #999;
}
#model-viewer-show{
    width: 100%;
    height: 100vh;
    background: #fff;
}
@media only screen and (max-width: 769px){
    #model-viewer-show{
        height: 150vw;
    }
}

#pagination nav{
    display: flex;
    justify-content: center;
}
.primal-btn{
    margin: 16px 0;
    width: fit-content;
    display: flex;
    line-height: 1.33;
    font-weight: normal;
    border-radius: 3px;
    border: 0;
    color: #fff;
    background: #5d8fc2;
    height: 50px;
    width: 120px;
    justify-content: center;
    align-items: center;
}
.primal-btn:hover{
    text-decoration: none;
    color: #fff;
}
.passive-btn,.passive-btn:hover{
    min-height: 50px;
    min-width: 100px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}
.page_outer{
    background: #fff;
    margin: 16px;
    padding: 16px;
    border-radius: 3px;
    line-height: 1.6;
}
.page_outer_none{
    margin: 16px;
}
fieldset{
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
}
fieldset input,fieldset select,fieldset .primal-btn{
    margin: 0;
}
@media only screen and (max-width: 769px){
#keyword_outer,
#keyword,
.primal-btn{
    width: 100%; 
}
#keyword_outer label{
    display: none;
}
#category_outer{
    width: 40%;;
}
fieldset #category_id{
    font-size: 12px;
}
#date_outer{
    width: calc(60% - 10px);
}
fieldset #date_start,
fieldset #date_end{
    line-height: 40px;
    font-size: 11px;
}
.break-spaces{
    font-size: 11px;
}
}
.errors{
    width: 100%;
    font-size: 11px;
    color: red;
}
/*********************************/
#product_grid_pager{
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: -16px;
}
#product_grid_pager select{
    margin: 0;
    border: 0;
    background: none;
    outline: 0;
    cursor: pointer;
}
#product_grid{
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
@media only screen and (max-width: 1600px){#product_grid{grid-template-columns: repeat(6, 1fr);}}
@media only screen and (max-width: 1400px){#product_grid{grid-template-columns: repeat(5, 1fr);}}
@media only screen and (max-width: 1280px){#product_grid{grid-template-columns: repeat(4, 1fr);}}
@media only screen and (max-width: 960px){#product_grid{grid-template-columns: repeat(3, 1fr);}}
@media only screen and (max-width: 520px){#product_grid{grid-template-columns: repeat(2, 1fr);}}

#product_grid .figure{
    user-select: none;
}
#product_grid img{
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
#product_grid li{
    padding: 16px;
    display: flex;
    position: relative;
    flex-direction: column;
    background: #fff;
    border: solid 1px #eee;
    border-radius: 6px;
}
#product_grid li>div{
    display: flex;
    flex-direction: column;
}
#product_grid li>div>g{
    font-size: 80%;
}
#product_grid .product_name{
    line-height: 1.2;
    margin: 5px 0;
    letter-spacing: 0;
}
#product_grid .data{
    font-size: 90%;
}
.product_id{

}
.android_file{
    display: none;
}
.ios_file{
    display: none;
}
.created_date{
    letter-spacing: .5px;
    font-size: 80%;
    color: #999;
}
.category{
    opacity: .4;
}
.preview-link{

}
.preview-url-outer{
    position: relative;
    width: 100%;
    display: flex;
    margin: 10px 0 0;
}
.showurl-area{
    font-size: 11px;
    padding: 10px;
    height: 10px;
    max-width: 340px;
    width: 100%;
    margin: 0;
}
.showUrlCopyBtn{
    position: absolute;
    top: 0;
    opacity: 0;
    width: 100%;
}

/*ドロップダウンメニュー*/
#product_grid .dropdown{
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    background: #fff;
    border-radius: 3px;
    border: solid 1px #eee;
    border-width: 0 0 1px 1px;
}
.dropdown > a {
    display: block;
    padding: 13px 16px;
}
.dropdown .dropdown-toggle{
    cursor: pointer;
}
.dropdown-toggle::after {
    display: none;
}
.dropdown-menu {
    min-width: fit-content;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
#product_grid .dropdown-menu>li,
.dropdown-menu>li{
    margin: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    width: 100%;
}
.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.dropdown-menu>li>form{
    width: 100%;
}
.dropdown-menu>li input {
    border: 0;
    font-size: inherit;
    color: initial;
    padding: 0;
    height: fit-content;
    width: 100%;
}

.dropdown-menu>li input:hover,
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
.dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    margin: 0;
}
.dropdown-menu-right {
    right: 0;
    left: auto;
}
.open>.dropdown-menu {
    display: block;
}

.icon_edit {
    padding: 0 !important;
    text-align: right;
}
.icon_edit .dropdown > a {
    display: block;
    padding: 13px 16px;
}
.icon_edit .dropdown-menu {
    min-width: auto;
    margin-top: -10px;
}

.cb {
    color: #B8BEC4;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
}

/*カテゴリ*/
.notice{
    font-size: 70%;
    color: #999;
    margin-bottom: 5px;
}
/*3Dモデル登録*/
#drag-drop-area {
    border-radius: 3px;
    box-shadow: none;
    border: 1px solid #C4CCCE;
    padding: 16px;
    text-align: center;
}
#drag-drop-area .no-image {
    fill: #d0d0d0;
    font-size: 60px;
}
#androidPreview{
    border: 1px solid #C4CCCE;
    border-radius: 3px;
    max-width: 300px;
    width: 100%;
    height: 300px;
}
#posterPreview{
    border: 1px solid #C4CCCE;
    border-radius: 3px;
    aspect-ratio: 1/1;
    object-fit: cover;
    max-width: 300px;
    width: 100%;
    height: 300px;
    display: none;
}

/**/
.preview_link{
    font-size: 80%;
    display: inline-block;
    margin-top: 10px;
}
.back_btn{
    margin-top: 10px;
    display: inline-block;    
}
.required{
    color: red;
}
.clear_btn{
    display: block;
    margin-top: -20px;
    padding: 0 12px;
    line-height: 1;
    height: 30px;
    font-size: 11px;
    color: #337ab7;
    border: 0;
    /* background: #eee; */
    /* padding: 0; */
    border: #337ab7 solid 1px;
    border-radius: 100px!important;
}

#show-caution{
    padding: 6px;
    border-radius: 6px;
    margin: 6px;
    position: fixed;
    z-index: 999;
    top: 0;
    line-height: 1.6;
    font-size: min(3.2vw,14px);
    background: #ffffffb5;
    letter-spacing: -.001px;
    width: -webkit-fill-available;
}
#show-caution .pop-close-btn,
#show-caution .pop-close-btn:hover{
    display: flex;
    height: 30px;
    font-size: 11px;
    border: solid 1px;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 5px;
    padding: 0 10px;
    color: #999;
    cursor: pointer;
}