@charset "utf-8";

/* メイン領域 */
body {
  font-size: 15px;
  font-family: Hiragino Sans;
}

.detail_main {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    overflow: hidden;
}

/* info */
.info {
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.detail_btn {
    white-space: nowrap;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.medical_questionnaire_btn {
    white-space: nowrap;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.detail_btn_d {
    width: 182px;
    height: 32px;
    white-space: nowrap;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    font-weight: 600;
}

#btn_map {
    width: 71px;
    height: 24px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 13px;
    /* font-weight: 700; */
}

.btn_cancel, .btn_close {
    border: none;
}

.annotation {
    font-size: 11px;
    margin: 0 5px;
    font-weight: normal;
}

.reserve_info_frame {
    margin-top: 32px;
}
 
.salon_info_head {
    vertical-align: top;
    font-weight: 400;
    line-height: 23px;
}

.salon_info_head::after {
    content: "　";
}

.salon_info_text{
    line-height: 23px;
}

.salon_info_text.bold{
    font-weight: 600;
    line-height: 23px;
}

.reserve_info_text {
    display: inline-block;
    /*font-weight: bold;*/
}

.info_title {
    margin-bottom: 10px;
}

.info_line {
    margin-bottom: 15px;
    line-height: 20px;
}

.info_line_updown {
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 20px;
}

.salon_info_frame .info_line {
    margin-bottom: 10px;
}

.info_text .info_line:last-child {
    margin-bottom: 0;
}

.text_div {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* 指名料注意書き */
.fee_info {
    font-size:11px;
}

/* メニュー名 */
.menu_name {
    width: 453px;
    text-align: left;
    font-weight: 500;
    /* font-weight: bold; */
}

/* 所要時間 */
.time {
    /* font-weight: bold; */
    text-align: right;
}

/* 価格 */
.price_text {
    text-align: right;
}

/* メニュー行 */
.menu_selected .menu_selected_item {
    background: #f9f9f9;
    padding: 15px 10px 15px 10px;
    margin-bottom: 2px;
}

/* メニュー合計行 */
.menu_sum {
    padding: 5px 10px 0 17px;
    margin-top: 10px;
}

/* メニュー合計欄の文字太さ指定 */
.sum_font{
    font-size: 14px !important;
}

/* メニュー項目領域の枠1 */
.menu_col.col1 {
    flex: 1;
    max-width: 130px;
}

/* メニュー項目領域の枠2 */
.menu_col.col2 {
    flex: 1;
    max-width: 830px;
}

.menu_selected .menu_col.col_info2 {
    font-size: 12px;
}

/* メニュー項目詳細 */
.menu_col.col_info {
    display: flex !important;
    line-height: 25px;
}

/* メニュー項目詳細1 */
.menu_col.col_info1 {
    flex: 5;
}

/* メニュー項目詳細2 */
.menu_col.col_info2 {
    height: 100%;
    flex-grow: 2;
    max-width: 150px;
}

/* メニュー項目時間枠 */
.menu_col.time {
    flex: 1;
    max-width: 50px;
}

/* メニュー項目価格枠 */
.menu_col.price_text {
    flex: 1;
    width: 100px;
}

/* 担当者 */
.staff_div {
    font-weight: normal;
    min-height:38px;
}

.staff_div .staff_col {
    display: inline;
    vertical-align: top;
    position:absolute;
}

.staff_name {
    font-weight: 600;
}

.stafffee {
    text-align:left;
    position: relative;
    font-family: Hiragino Sans;
    font-weight: W3;
    font-size: 11px;
}

/* メニュー画像領域 */
.staff_col.col_photo {
    display: inline-block !important;
    width: 80px;
    position: relative;
}

.photo {
    width: 68px;
    height: 68px;
}

/* flexbox用 */
.div_f {
    display: flex;
}

.margin_off {
    margin: 0 !important;
}

.detail_dialog {
    margin-left: auto;
    margin-right: auto;
}

.dialog_content {
    padding-top: 8px;
    padding-left: 16px;
    padding-right: 16px;
}

.dialog_title {
    font-size: 18px;
    font-weight: 600;
}

.dialog_content p {
    height: 75px;
    margin: 0;
    white-space: pre-wrap;
    text-align: center;
    font-size: 13px;
}

.open_dialog, .close_dialog {
    cursor: pointer;
}

.detail_main hr {
    margin: 10px 0;
}

/* エラーダイアログ関連 */
.error-message-dialog {
    margin-left: auto;
    margin-right: auto;
}

.error-message-title {
    margin-top: 25px;
    text-align: center;
}

.error-message-title span {
    font-family: Hiragino Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
}

.error-message {
    margin-top: 25px;
    text-align: center;
}

.error-message span {
    font-family: Hiragino Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
}

.error-message-dialog-footer {
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
    display: grid;
}

.error-message-ok {
    justify-self:center;
    border-style: none;
}

.error-message-ok button {
    width: 182px;
    height: 32px;
    border-radius: 6px;
}

/* サイズは仮 */
@media screen and (max-width: 873px) {
    .detail_btn {
        margin-top: 5px;
    }
}

@media screen and (min-width: 640px) {
    .salon_info_frame .info_text {
        margin-left: 18px;
        margin-right: 5px;
    }

    .detail_btn {
        width: 230px;
        height: 48px;
        font-size: 15px;
        margin-top:5px;
        font-weight: 600;
    }

    .medical_questionnaire_btn {
        width: 230px;
        height: 48px;
        font-size: 15px;
        margin-top:5px;
        font-weight: 600;
    }

    .detail_dialog {
        width: 500px;
        height: 215px;
    }

    .error-message-dialog {
        width: 804px;
        height: 203px;
        border : none;
        border-radius: 6px;
    }

}

@media screen and (max-width: 639px) {
    .detail_main {
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
        opacity: 1;
        overflow: hidden;
    }
    
    .detail_btn {
        width: 175px;
        height: 32px;
        font-size: 15px;
        font-weight: 600;
    }

    .medical_questionnaire_btn {
        width: 200px;
        height: 32px;
        font-size: 15px;
        font-weight: 600;
    }

    .salon_info_frame {
        margin: 10px 16px;
    }
    
    /* メニュー行 */
    .menu_selected .menu_selected_item {
        background: #f9f9f9;
        padding: 15px 10px 15px 16px;
        margin-bottom: 2px;
    }   
    
    .reserve_info_frame {
        margin: 10px 16px;
    }

    .detail_main hr {
        margin: 10px -15px;
    }

    .menu_selected {
        margin-left: -15px;
        margin-right: -15px;
    }

    .detail_dialog {
        width: 280px;
        height: 215px;
    }

    .detail_dialog .detail_btn_d {
        width: 120px;
        height: 32px;
    }

    .error-message-dialog {
        width: 348px;
        border : none;
        border-radius: 6px;
    }
    .detail_btn_d {
    height: 32px;
    white-space: nowrap;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    float: left;
    width: 50%;
    font-weight: 600;
    }
    .dialog_content p {
    height: 57px;
    margin: 0;
    white-space: pre-wrap;
    font-size: 13px;
    text-align: left;
    }
    .dialog_content {
    padding-top: 6px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 30px;
    }
 }
@media screen and (max-width: 320px) {
    .detail_btn {
        width: 150px;
        height: 32px;
        font-size: 13px;
    }
    .medical_questionnaire_btn {
        width: 100%;
        height: 32px;
        font-size: 13px;
    }
}

@media screen and (min-width: 845px) {
    .detail_btn {
        width: 314px;
        height: 48px;
        font-size: 15px;
        margin-top:5px;
        font-weight: 600;
    }
    .medical_questionnaire_btn {
        width: 314px;
        height: 48px;
        font-size: 15px;
        margin-top:5px;
        font-weight: 600;
    }
}
