/* Reset CSS
===================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, button, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

a {
    text-decoration: none;
}


#top-head{
    position: relative !important;
}

/* Basic Settings
===================================== */
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

.content_for_mypage{
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "MS ゴシック", "MS Gothic",  "メイリオ", "Meiryo", "verdana", sans-serif !important;
    max-width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 5px !important;
    line-height: 120%;
}
.content_for_mypage input{
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "MS ゴシック", "MS Gothic",  "メイリオ", "Meiryo", "verdana", sans-serif !important;
}
@media screen and (max-width: 900px) {
    .content_for_mypage{
        padding-top: 50px !important;
    }
}

.thumnail-image{
    max-width: 100px;
    width: 100%;
    height: auto;
}
.thumnail-image2{
    max-height: 100px;
    max-width: 100px;
    height: auto;
    width:auto;
}
.normal-image{
    max-height: 100px;
    width: auto;
    max-width: 100%;
}



.mb_10 {
    margin-bottom: 10px;
}

.basic_font_disp{
    font-size: 1rem;
}

.form_select {
    margin-top: 20px;
    margin-bottom: 10px;
}
.q_form {
    height: 30px;
    max-width: 500px !important;
}
.q_select_box{
    font-size: 1rem;
    width: 200px;
    border: 1px solid #cccccc;
}
.form_select_item{
    margin-bottom: 10px;
}

@media screen and (max-width: 900px) {
    .form_select_item label, .q_terms {
        display: block;
    }
}

dt {
    float: left;
    width: 200px;
}

dt, dd{
    margin-bottom: 5px;
}

.search_button {
    margin-top: 20px !important;
    margin-bottom: 5px;
    width: 180px !important;
    height: 33px !important;
    font-size: 1rem !important;
}

/* Common Style */
.btn1{
    display: inline-block !important;
    font-size: 1rem !important;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    /*background: rgba(73,169,212,1);*/
    padding: 8px 40px !important;
    border-radius: 5px;
    border: 0;
    border-bottom: 1px solid #757575;
    cursor: pointer;
    line-height: 110% !important;
    height: auto !important;
    width: auto !important;
}
.btn1:hover{
    /*background: rgba(73,169,212,0.8);*/
}


.btn2{
    display: inline-block !important;
    font-size: 1rem !important;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #666;
    background: #e6e6e6;
    padding: 8px 40px !important;
    border-radius: 5px;
    border: 0;
    border-bottom: 1px solid #757575;
    cursor: pointer;
    line-height: 100% !important;
    height: auto !important;
    width: auto !important;
}
.btn2:hover{
    background: #bbb;
}

.btn3{
    display: inline-block !important;
    font-size: 1rem !important;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #ffffff !important;
    background: rgba(73,169,212,1) !important;
    padding: 8px 10px !important;
    border-radius: 0px;
    border: 0;
    border-bottom: 1px solid #757575;
    cursor: pointer;
    line-height: 110% !important;
    height: auto !important;
    width: 100px !important;
}
.btn3:hover{
    color: #ffffff !important;
    background: rgba(73,169,212,0.8) !important;
}

.btn4{
    display: inline-block !important;
    font-size: 1rem !important;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #666 !important;
    background: rgba(230,230,230,1) !important;
    padding: 8px 10px !important;
    border-radius: 0px;
    border: 0;
    border-bottom: 1px solid #757575;
    cursor: pointer;
    line-height: 110% !important;
    height: auto !important;
    width: 100px !important;
}
.btn4:hover{
    color: #666 !important;
    background: rgba(230,230,230,0.8) !important;
}

.btn5{
    display: inline-block !important;
    font-size: 1rem !important;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #ffffff !important;
    background: rgba(73,169,212,1) !important;
    padding: 8px 10px !important;
    border-radius: 5px;
    border: 0;
    border-bottom: 1px solid #757575;
    cursor: pointer;
    line-height: 110% !important;
    height: auto !important;
    width: 100px !important;
}
.btn5:hover{
    color: #ffffff !important;
    background: rgba(73,169,212,0.8) !important;
}

.btn6{
    display: inline-block !important;
    font-size: 1rem !important;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #666 !important;
    background: rgba(230,230,230,1) !important;
    padding: 8px 10px !important;
    border-radius: 5px;
    border: 0;
    border-bottom: 1px solid #757575;
    cursor: pointer;
    line-height: 110% !important;
    height: auto !important;
    width: 100px !important;
}
.btn6:hover{
    color: #666 !important;
    background: rgba(230,230,230,0.8) !important;
}

.btn7{
    display: inline-block !important;
    font-size: 0.8rem !important;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #ffffff !important;
    background: rgba(73,169,212,1) !important;
    padding: 8px 10px !important;
    border-radius: 5px;
    border: 0;
    border-bottom: 1px solid #757575;
    cursor: pointer;
    line-height: 110% !important;
    height: auto !important;
    width: 70px !important;
}
.btn7:hover{
    color: #ffffff !important;
    background: rgba(73,169,212,1) !important;
}

/* Login page */
.input {
    height: 30px;
    margin-bottom: 20px;
}

.login_submit {
    margin-top: 10px;
    width: 200px !important;
}

.check_for_chart{
    margin-right: 10px;
}

.login_input_row{
    display: block;
    width: 100%;
}

.login_input_row .text-input{
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    padding: 5px 5px;
    font-size: 1rem;
}

.login_frame{
    border: solid 1px #000000;
    padding: 30px;
    max-width: 500px;
    margin: 10px auto;

    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    -ms-border-radius: 10px;
}

/* Mypage */
.btn-logout-frame{
    position: relative;
    height: 20px;
}
.btn-logout{
    position: absolute;
    right: 0px;
    top: 0;
}

.graph-frame{
    display: flex;
    flex-wrap:wrap;
    justify-content:space-around;
}
@media print {
    .graph-frame{
        display: block;
    }
}
.graph-item{
    display: block;
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
}
@media screen and (max-width: 1200px){
    .graph-frame{
        display: block;
    }
    .graph-item{
        width: 100%;
    }
}
@media print {
    .graph-frame{
        display: block;
    }
    .graph-item{
        width: 100%;
    }
}

.pagenavi{
    text-align: right;
}

.search-row{
    margin-bottom: 10px;
}
.search-row .search-title{
    display: inline-block;
    width: 200px;
    font-size: 1rem;
    vertical-align: middle;
}
.search-row .search-body{
    display: inline-block;
    width: calc(100% - 210px);
    font-size: 1rem;
    vertical-align: middle;
}
.search-row .search-date{
    width: 150px;
    display: inline;
    vertical-align: middle;
}
@media screen and (max-width: 700px){
    .search-row .search-title{
        width: 100%;
    }
    .search-row .search-body{
        width: 100%;
    }
}

/* table */
.tablet_display {
    display: none;
}
.search_result {
    border: 1px solid #cacaca;
}

/* header row */
.search_result_row_title {
    background-color: #ffffff;
    border-bottom: 1px solid #cccccc;
    padding: 5px 0px 5px 10px;
    text-align: left;
}
/* content row */
.search_result_row {
    background-color: #f8f8f8;
    padding: 5px 5px 0px 5px;
    text-align: left;
    line-height: 200%;
}
.search_result_row:nth-child(odd){
    background-color: #ffffff;
}
/* each content */
.search_result_value {
    display: block;
}
.search_result_main {
    display: flex;
    justify-content: flex-start;
}

.search_result_header{
    position: relative;
    padding: 10px 10px;
}

.search_result_main div.sp_title{
    width: 250px;
}
.search_result_main div.sp_content{
    width: 100%;
}
.search_result_header a{
    font-size: 1.1rem;
}

.icon-ejects {
    content: "";
    position: absolute;
    right: 15px;
    top: 15px;
    transition: all 0.2s ease-in-out;
    display: block;
    width: 14px;
    height: 14px;
    transform: rotate(0deg);
    cursor: pointer;
}
.icon-ejects.rotate{
    transform: rotate(180deg);
    top: 17px;
}

table tr:nth-child(odd) td {
	background: #ffffff;
}

.result_table {
    border: 1px solid #cacaca;
    /* width: auto; */
    width: 100%;
}
.result_table td{
    vertical-align: middle;
}
.table_title {
    background-color: #ffffff;
    border-bottom: 1px solid #cccccc;
    padding: 5px 5px 5px 10px;
    text-align: left;
}
.table_content {
    background-color: #f8f8f8;
    padding: 20px 5px 20px 10px;
}

.csv_output {
    width: 200px !important;
    font-size: 1rem !important;
    padding: 10px 35px 8px 35px !important;
    margin-top: 30px;
    color: #fff;
    background-color: #007cba;
    border-color: #007cba;
    border-radius: 3px;
    padding: 5px 8px;
    box-sizing: border-box;
    cursor: pointer;
}
.csv_output:hover{
    background-color: #015c8a;
    transition: 0.3s;
}
.show {
    opacity: 1;
    transform: translateY(20px);
    transition: 500ms;
}
.hide {
    opacity: 0;
    transition: 500ms;
}

.shop_display {
    width: 160px !important;
    padding: 8px 20px !important;
    margin-left: 30px !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    color: #016087;
    border: 1px solid #016087;
    border-radius: 3px;
    cursor: pointer;
}
.shop_display:hover {
    background-color: #dddddd;
    transition: 0.2s;
}


.table_display, .search_button{
    width: 300px;
    margin-bottom: 20px;
    margin-top: 5px;
    color: #fff;
    background-color: #000000;
    border: 1px solid #000000;
    padding: 15px 20px;
    border-radius: 3px;
    font-size: 1rem;
    cursor: pointer;
}
.select_form_display{
    width: 300px;
    margin-bottom: 20px;
    margin-top: 5px;
    color: #fff;
    border: 1px solid #000000;
    padding: 15px 20px;
    border-radius: 3px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #000000;
}
.table_display:hover, .search_button:hover, .select_form_display:hover{
    background-color: #333333;
    transition: 0.2s;
}

.disp_item_info{
    margin-top: 10px;
    font-size: .8em;
}

.disp_item_body{
    width: 100%;
    /* overflow-x: scroll; */
}

.csv_form {
    margin-bottom: 50px;
}

/* Individual page */
.ind_return {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
}


.ind_title {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold
}
.ind_table {
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    font-size: 1rem;
    border: 1px solid #aaaaaa;
    border-collapse: collapse;
}
.ind_row{
    display: flex;
    justify-content: flex-start;
}
.ind_val {
    padding: 10px 3px;
    border: 1px solid #aaaaaa;
    width: 50%;
}
.font-b{
    font-weight: bold;
}

/* Chart Data */
.chart_data_table {
    border: solid 1px #aaaaaa;
    font-size: 1rem;
}
.chart_data_table th, .chart_data_table td {
    border: solid 1px #aaaaaa;
    border-collapse: collapse;
    padding: 5px 10px 5px 10px; 
}
.chart_data_table th {
    background-color: #d7eeff;
}
.chart_data_table td:nth-child(2) {
    text-align: right;
}


/* Media Query */
@media screen and (max-width: 900px){
    .pc_display{
        display: none;
    }
    .tablet_display{
        display: block;
    }
    .q_form {
        max-width: 300px !important;
    }
}
@media print{
    .no_disp_print{
        display: none !important;
    }
}

#btn-close-modal{
    position: relative;
}

#btn-close-modal .icon-cross{
    position: fixed;
    top:20px;
    right: 20px;
    color: white;
    background-color: rgba(0,0,0,0.8) !important;
    display: block;
    width: auto;
    height: auto;
    padding: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    z-index: 999;
}
.image-pop{
    position: relative;
    background-color: rgba(0,0,0,0.8) !important;
}
.modal-content{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    max-height: 80%;
    width: auto;
    height: auto;
    box-sizing:border-box;
}

.modal-content img{
    display: block;
    margin: 0px auto;
    height: 100%;
    width: auto;
    object-fit:contain;
}
