/**
 * マイページ関連
 */

.mypage_menu .linkarea .cf {
  display: table;
}
.mypage_menu .photo {
  float: none;
  display: table-cell;
  vertical-align: middle;
}
.mypage_menu .title {
  line-height: 1.2;
  display: table-cell;
  vertical-align: middle;
  padding-left: 0;
}
@media only screen and (max-width: 768px){
  .mypage_menu .title {
    font-size: 16px;
  }
}
@media only screen and (max-width: 480px){
  .mypage_menu .title {
    font-size: 12px;
  }
  .mypage_menu .link {
    margin-top: -10px;
  }
}

/*** 一覧(見積、注文、契約、請求) START ***/
/* 一覧のリンクを改行させない */
.mypage_table .detail span a,
.mypage_table .edit span a {
    white-space:nowrap;
}

.mypage_table .type {width:15%;} /* 「○○種別」列の幅 */
.mypage_table .pdf_download_status {width:12%;} /* 「PDFダウンロード」列の幅 */

/* 一覧画面において style.css スタイルをで指定されていないセル */
.mypage_table td.type,
.mypage_table td.pdf_download_status {
    text-align:center;
}

/* SP向けレイアウトの指定：～480px */
@media only screen and (max-width: 480px) {
    /* 一覧画面において style.css スタイルをで指定されていないセル */
    .mypage_table td.type,
    .mypage_table td.pdf_download_status {
        width: 100%;
        text-align: left;
    }
}
/*** 一覧(見積、注文、契約、請求) END ***/

/*** 検索条件パネル関連 START ***/
.panel {
    border: solid 1px lightgray;
    padding: 0;
    margin-bottom: 30px;
}
.panel .panel_header {
    color: #fff;
    padding-left: 5px;
}
/* デザイン設定による色の設定 */
.red {
    color: #943023;
}
.blue {
    color: #0047a2;
}
.gray {
    color: #666;
}
.red .panel {
    border-color: #861718;
}
.red .panel .panel_header {
    background-color: #861718;
}
.blue .panel {
    border-color: #3498db;
}
.blue .panel .panel_header {
    background-color: #3498db;
}
.gray .panel {
    border-color: #666;
}
.gray .panel .panel_header {
    background-color: #666;
}
.panel .panel_body {
    padding: 30px;
}
.panel .panel_body input[type="text"]{
    width: 100%;
    margin-bottom:1em;
}
@media screen and (max-width: 480px) {
    .panel .panel_body {
        padding: 15px;
    }
}
/* 検索条件 */
.panel .conditions,
.panel .conditions tr,
.panel .conditions td {
    border: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.panel .conditions,
.panel .conditions tbody,
.panel .conditions td {
    display: block;
    width: 100%;
}
.panel .conditions tr {
    display: flex;
    justify-content: space-between;
}
.panel .conditions td {
    width: 48%;
}
.panel .conditions td input {
    box-sizing: border-box;
}
.panel .conditions .date_range_box_container {
    display: flex;
    justify-content: space-between;
}
.panel .conditions .date_range_box_container .date_range_box:nth-child(odd){
    width: calc( 50% - 1em );
}
.panel .conditions .date_range_box_container .date_range_box:nth-child(even){
    width: 1em;
    text-align: center;
}
@media screen and (max-width: 900px) {
    .panel .conditions dt {
        font-size: 12px;
        line-height: 1.2;
        margin-bottom: 3px;
    }
}
@media screen and (max-width: 760px) {
    .panel .conditions tr {
        display: block;
    }
    .panel .conditions td {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    .panel .conditions dt {
        font-size: 11px;
    }
}
/* チェックボックスを横に並べる  */
.panel .conditions .checkbox_box {
    float: left;
    margin-right:13px;
}
.panel .conditions .checkbox_box_container {
    overflow: hidden;
}
.panel .conditions .checkbox_box_container:after {
    content: " ";
    display: block;
    clear: both;
}
/* ボタン */
.panel .btn_container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.panel .submit_btn,
.panel .clear_btn {
    width: 200px;
    display: block;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    padding: 10px 0;
    border-radius: 3px;
    transition: .1s;
    margin: 5px;
    cursor: pointer;
}
.panel .submit_btn {
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    border: solid 1px #000;
}
.panel .submit_btn:hover {
    background-color:rgba(0,0,0,0.5);
}
.panel .clear_btn {
    background-color: #fff;
    color: #333;
    border: solid 1px #ccc;
}
.panel .clear_btn:hover {
    color: lightgray;
}
@media screen and (max-width: 480px) {
    .panel .btn_container {
        margin-top: 15px;
        flex-direction: column;
    }
    .panel .submit_btn,
    .panel .clear_btn {
        margin: 5px auto;
    }
}
/*** 検索条件パネル関連 END ***/

/*** 商品一覧(お気に入り画面) START ***/
.content_cart .favorite_delete .btn_delete a {
    position: relative;
    display: block;
    width: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    border: solid 1px #000;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
    border-radius: 3px;
    transition: .1s;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}
.section_product_detail2 .section_inner {
    padding:20px;
}
.section_product_detail2 .content_width {
    width:100%;
}
.section_product_detail2 .porduct_photo img {
    max-width:150px;
    max-height:150px;
}
.section_product_detail2 .column_left {
    float:left;
    width:60%;
}
.section_product_detail2 .column_left .product_details {
    float:left;
    width:45%;
    margin-left:20px;
    margin-right:20px;
}
.section_product_detail2 .column_right {
    float:left;
    width:35%;
}
@media screen and (max-width: 1280px) {
    .section_product_detail2 .column_left {
        float:none;
        width:100%;
    }
    .section_product_detail2 .column_left .product_details {
        float:left;
        width:calc(100% - 270px);
        margin-left:20px;
        margin-right:20px;
    }
    .section_product_detail2 .column_right {
        clear:both;
        width:100%;
    }
} /* for tablet max-width: 960px */
@media screen and (max-width: 768px) {
    .section_product_detail2 .column_left .product_details {
        clear:both;
        width:100%;
        margin-top:20px;
    }
} /* for tablet max-width: 768px */
/*** 商品一覧(お気に入り画面) END ***/

/*** 詳細画面 START ***/
.is_disabled_product {
    background:#a9a9a9;
}
.cart_table .breakdown .cost ul li.title_val {
    text-align: right;
}
.content_cart .content_mypage {
    padding:0;
}
.content_mypage table.quote tbody tr td,
.content_mypage table.order tbody tr td,
.content_mypage table.agreement tbody tr td,
.content_mypage table.billing tbody tr td {
    word-break: break-all;
}

/* RI概要ボタン table */
table.ri_detail_info_button {
    border-bottom: 0;
    margin-top: 0;
}
/* RI概要ボタン td */
.ri_detail_info_button td:last-child {
    border-top: 0!important;
    border-right: 0;
    padding: 0;
}

/*** 詳細画面 END ***/

/*** ファイルアップロード(申請書項目) START ***/
.content_mypage .upload_file_area .btn_delete {
    margin-left: 12px;
}
.content_mypage .upload_file_area .btn_delete a {
    border: solid 1px #c00;
    color: #c00;
    padding: 3px 5px;
    border-radius: 3px;
}
.content_mypage .upload_file_area .error_message {
    color: red;
}
/*** ファイルアップロード(申請書項目) END ***/

/*** 配送状況 START ***/
.delivery_receipt_btns .btn_detail {
    margin: 10px 0 20px;
}
@media only screen and (min-width: 481px) {
    .delivery_receipt_btns .btn_detail:last-of-type {
        margin: 10px 0;
    }
}
#delivery_receipt_file_name_invisible {
    display: none;
}
#delivery_receipt_file_name_label {
    background-color: #fff;
    color: #333;
    border: solid 1px #ccc;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    padding: 5px 20px;
    border-radius: 3px;
    -webkit-transition: .1s;
    transition: .1s;
    display: inline-block;
    vertical-align: middle;
}
#delivery_receipt_file_name_label:hover {
    color: lightgray;
    cursor: pointer;
}
@media only screen and (max-width: 700px) {
    #delivery_receipt_file_name_label, .file_delete {
        margin-top: 5px;
    }
}
@media only screen and (max-width: 480px) {
    .delivery_receipt_btns .btn_detail {
        margin: 10px auto 20px;
    }
}

.delivery {
    border-collapse: collapse;
}
.delivery tr.line-top-none {
    border-top: medium solid #FFFFFF;
}

.no_editable_message {
    clear:both;
    color:#FF0000;
    font-weight:bold;
}

.alert-message {
    color:#FF0000;
}

/*** 配送状況 END ***/

/*** 従量明細 START ***/
/* 一覧画面において style.css スタイルをで指定されていないセル */
.mypage_table td.type {
    text-align:center;
}

/* SP向けレイアウトの指定：～480px */
@media only screen and (max-width: 480px) {
    /* 一覧画面において style.css スタイルをで指定されていないセル */
    .mypage_table td.type {
        width: 100%;
        text-align: left;
    }
}

@media only screen and (min-width: 481px) {
 /* 要素内のスクロールを許可する(table等でコンテンツが領域外にはみ出る対策) */
  .scroll_box_x {
    max-width: 100%;
    overflow-x: auto;
  }
  .scroll_box_x table.basic thead th {
    white-space: nowrap;
  }
}
/*** 従量明細 END ***/

/* 会員証 契約一覧 ※他でも使うようならbplats_common.cssに移動*/
.detail-list {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.pager_num + .detail-list {
    margin-top: 30px;
}
.detail-list li {
    width: 47%;
    margin: 0 0 30px 0;
    padding: 0;
    border-radius: 3px;
    position: relative;
    background: #fff;
}
.detail-list dl {
    color: #333;
}
.detail-list dl dt {
    clear: left;
    display: inline-block;
    border-radius: 2px;
    margin: 4px 10px 0 10px;
    padding: 2px 4px;
    color: #666;
    border: 1px solid #ddd;
    background: #fff;
    vertical-align: middle;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.4;
}
.detail-list dl dd {
    display: block;
    padding: 4px 15px;
    border-bottom: 1px dotted #ddd;
    font-size: 12px;
    line-height: 1.4;
}
.detail-list dl dt:first-of-type {
    margin: 8px 8px 0 10px;
    float: left;
}
.detail-list dl dd:first-of-type {
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    border-bottom: none;
}
.detail-list dl::after {
    content: " ";
    display: block;
    clear: both;
}
.detail-list .qrcodeView {
    display: flex;
    justify-content: space-around;
    padding: 20px 10px;
}
.detail-list .qrcode {
    text-align: center;
}
.detail-list .qrcode img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.detail-list .qrcode img + span {
    margin: 5px auto 0;
    display: inline-block;
    color: #666;
    font-size: 90%;
}
.detail-list p.caution {
    padding: 20px 15px;
}

@media screen and (min-width: 1200px) {
    .detail-list {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .detail-list li {
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
        width: 30%;
        margin: 0 5% 40px 0;
        box-sizing: border-box;
    }
    .detail-list li:nth-of-type(3n) {
        margin-right: 0;
    }
}
@media screen and (max-width: 700px) {
    .detail-list li {
        width: 100%;
        margin: 0 0 30px 0;
    }
}
@media screen and (max-width: 370px) {
    .detail-list dl dt {
        margin-left: 5px!important;
    }
    .detail-list dl dd {
        padding: 4px 10px;
    }
}

/**
 * マイページ関連ここまで
 */
