﻿body {
    font-family: Meiryo, "Hiragino Kaku Gothic Pro", "MS PGothic", Verdana, sans-serif;
}

.div-detail {
    position: absolute;
    width: 90%;
    margin-top: 0px;
    left: 5%;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
}

.div-detail-title {
    position: relative;
    padding-left: 10px;
    margin-top: 10px;
}

    .div-detail-title h2::before {
        content: "";
        width: 5px;
        background-color: rgb(55,96,146);
        position: absolute;
        height: calc(100% - 2px);
        left: 0px;
    }

.panel {
    background-color: gray;
    color: white;
    padding: 10px;
    margin-bottom: 20px;
}

.panel-content {
    margin-top: 10px;
}

.instruction {
    color: red;
    font-size: 0.875em;
    margin-left: 10px;
}

.div-main {
    display: flex;
    flex-direction: row;
}

.div-detail-condition {
    min-width: 320px
}

.search-Control {
    width: 200px
}

.search-title {
    background-color: rgb(55,96,146);
    border-radius: 5px;
    text-align: left;
    color: white;
    padding-left: 5px;
}

.search-btn {
    float: inline-end;
}

.defultbtn {
    background-image: linear-gradient(to bottom, white, white, #dbdbdb);
    width: 120px;
    border: solid 1px #dbdbdb;
    border-radius: 5px;
}

    .defultbtn:hover {
        background-image: linear-gradient(to bottom, #dbdbdb, white, white );
    }

.div-DetailDataBtn {
    text-align: right;
}

.jsgrid-pager {
    text-align: center;
}

.jsgrid-header-cell {
    background-color: rgb(55,96,146) !important;
}

.col-form-label {
    /* text-end */
    text-align: left !important;
    /* rounded */
    border-radius: 0.375rem !important;
    /* bg-secondary */
    background-color: #708090 !important;
    /* text-white */
    color: rgba(255, 255, 255,1) !important;
    min-width: 210px;
}

@media (max-width: 575px) {
    .col-form-label {
        background-color: transparent !important;
        color: black !important;
        text-align: start !important;
    }
}

@media (max-width: 769px) {
    .hasDatepicker {
        width: 120px !important;
    }
}

.liveAlertPlaceholder {
    max-width: 1024px;
    position: fixed;
    top: 10em;
    left: 50%;
    transform: translate(-50%, 0%);
}

.Alertdiv {
    flex-direction: column
}

.alert {
    opacity: 0.95;
}

.container {
    max-width: 700px
}

#div_Waiting {
    position: fixed !important;
}

.hasDatepicker {
    width: 110px;
}

.btn {
    width: 105px;
    border: 0;
}

.btn-primary {
    background-color: #7097C3;
}

    .btn-primary:hover {
        background-color: #46b8da !important;
    }

.form-control-plaintext {
    padding: .375rem .75rem;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5 !important;
    color: #181616 !important;
    background-color: #6d7073 !important;
    pointer-events: none;
}

.price-input {
    text-align: right;
}

.eyeicon {
    width: 20px;
    height: 20px;
    top: 7px;
    right: 17px;
}

.is-error-input {
    border-color: red;
    background-color: rgba(200, 0, 0, 0.1);
}

@media (max-width: 515px) {
    .header-tenpo-name {
        display: none !important;
    }
}

.label-group {
    border-left: 3px solid #69caf0;
    padding-left: 12px;
}

.text-comment {
    color: #69caf0;
}

.bg-blue {
    background-color: #264fa8; /* 背景色 */
}

.bg-gray {
    background-color: gray; /* 背景色 */
}

.text-green {
    color: #77933C;
}

.check-mark::before {
    content: "✓";
    margin-left: -14px;
}

.toppx-text {
    margin-top: 7px;
}

    #daikoChkDiv {
    position: fixed;
    bottom: 60px;
    background: #fff;
    padding: 4px 0;
    margin-left: 0 !important;
}
 #registerButtonDiv {
    position: fixed;
    bottom: 26px;
    /*left: 0;*/
    /*width: 100%;*/
    background: #fff;
    padding: 4px 0;
    /*box-shadow: 0 -2px 8px rgba(0,0,0,0.08);*/
    /*z-index: 1000;*/
    margin-left: 0 !important;
    /*padding-right: 300px;*/
}

#liveAlertMsg {
    margin-left: 36px;
}


/* エラーチェック */
formError {
    position: relative;
    overflow: visible;
}

.formError .formErrorContent {
    background-color: #dc3545;
    border: 1px solid #b02a37;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.formError .formErrorArrow {
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #dc3545; 
}

    .formError .formErrorArrow div{
        display: none;
    }

/* エラー時のスタイル */
.error-field {
    border: 1px solid red;
    background-color: rgba(200, 0, 0, 0.1); /* 薄赤 */
}

.trustdock-widget iframe {
    border: none;
}

/* スマホ: モーダル表示 */
@media (max-width: 767px) {
    .trustdock-widget iframe {
        position: fixed !important;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* 中央寄せ */
        width: 95% !important;
        height: 90vh !important;
        z-index: 9999;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
}

/* PC: 埋め込み */
@media (min-width: 768px) {
    .trustdock-widget iframe {
        position: static !important;
        width: 600px !important;
        height: 700px !important;
        border-radius: 12px;
    }
}