
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message, .error-message {
    padding: 1rem;
    background: #eff8ff;
    color: #2779bd;
    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin: 1em 0;
}
.center{
    text-align: center;
}
main a{
    color: #2f85ae;
}
p.title{
    background-color: var(--main-bg-color);
    padding: 0.5em 1em;
    margin-bottom: 1em;
    font-weight: bold;
}
p.text_area{
    white-space: pre-wrap;
}
th.sub{
    font-size: 0.8rem;
}

img.qrcode{

}
@media screen and (max-width:640px) {
    img.qrcode{
        width: 80%;
    }
}

.input {
    margin-bottom: 1.5rem;
}

.note{
    color: red;
    font-size: 0.8em;
}

.center {
    text-align: center;
}

.row .column-responsive {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
}
@media (min-width: 640px){
    .row .column-responsive {
        margin-bottom: inherit;
        padding: 0 1.0rem;
    }
    .row .column-responsive.column-80 {
        flex: 0 0 80%;
        max-width: 80%;
    }
    .row .column-responsive.column-100 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.red_button{
    background-color: #ff0000;
    color:#fff;
}
.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}
.row {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}
.row .column {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
}
@media (min-width: 640px) {
    .row {
        flex-direction: row;
        margin-left: -1.0rem;
        width: calc(100% + 2.0rem);
    }
    .row .column {
        margin-bottom: inherit;
        padding: 0 1.0rem;
    }
}

.form_box{
    background-color: lightgray;
    width:80%;
    padding: 2em;
    margin: 0 auto;
}

main.main{
    width:1180px;
    margin:0 auto 0 auto;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    z-index: 2;
    min-height: 50px;
}

div.container{
    width:1180px;
    min-height:200px;
    background:none;
    position:relative;
    overflow:hidden;
}

.main_box{
    border:1px solid #ddd;
    width: 100%;
    height:auto;
    background-color:#fff;
    clear:both;
    padding:20px;
    box-sizing: border-box;
    margin-top:20px;
    margin-bottom:20px;
    margin-left:auto;
    margin-right:auto;
    box-shadow: 0 2px 10px rgba(100,100,100,0.2);
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
    padding: 2rem 1rem;
    margin: 0 auto 2rem;
}
@media screen and (max-width:640px) {
    .top-nav {
        padding: 1rem 1rem;
        margin: 0 auto 1rem;
    }
}

/*ログイン*/
.login_logo{
    display: block;
    width:200px;
    margin:0 auto;
}
.login_box{
    display: table;
    position: relative;
    vertical-align: middle;
    width:800px;
    padding:20px;
}
.login_box:after{
    display: block;
    content:"";
    clear: both;
    height: 0;
}
.login_box div{
    vertical-align:middle;
}
.login_left{
    display: table-cell;
    width: 50%;
}
.login_left div.title{
    display: block;
    color:#605143;
    font-size:18px;
    font-weight:bold;
    text-align: center;
    margin-top:5px;
}
.login_left div.version{
    margin-top:10px;
    text-align: center;
}
.login_input{
    text-align: left;
}
.login_input div.line{
    margin:10px 0;
}
.button-panel{
    margin:2rem 0;
}
.buttons_right{
    float: right;
    margin-bottom: 2em;
}

/*ドロップダウンメニュー*/
#dropmenu{
    list-style-type: none;
    width: 800px;
    position:relative;
    float:left;
    height: 40px;
    margin: 15px 0 0 30px;
    padding: 0;
    background: none;
    z-index: 9999;
}
#dropmenu li{
    position: relative;
    float: left;
    margin: 0;
    margin-right:40px;
    padding: 0;
    text-align: center;
}
#dropmenu li a{
    display: block;
    margin: 0;
    padding: 15px 0 11px;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
}
#dropmenu li ul{
    list-style: none;
    position: absolute;
    top: 53px;
    left: 0;
    margin: 0;
    width:100%;
    padding: 0;
}
#dropmenu li:last-child ul{
    width: 100%
}
#dropmenu li ul li{
    overflow: hidden;
    width: 200%;
    left:-10%;
    height: 0;
    background:rgba(255,255,255,0.6);
    -moz-transition: .2s;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
#dropmenu li ul li:hover{
    background: white;
}
#dropmenu li ul li a{
    background:none;
    color: #333;
    text-align: center;
    font-size: 13px;
    font-weight: normal;
}
#dropmenu li:hover > a{
    background: none;
    color: var(--brand-color);
}

#dropmenu > li:hover > a{
    border-radius: 3px 3px 0 0;
}
#dropmenu li:hover ul li{
    overflow: visible;
    height: 50px;
    padding:5px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

#dropmenu li:hover ul li:first-child{
    border-top: 0;
}
#dropmenu li:hover ul li:last-child{
    border-bottom: 0;
}
#dropmenu li:hover ul li:last-child a{
    border-radius: 0 0 3px 3px;
}
.member_arrow{
    display: inline-block;
    width:15px;
    margin:0 auto;
}

.top_logo{
    width:250px;
    float:left;
    margin:10px;
}

/*フッタ*/
.footer {
    margin-top:30px;
    background:#e0e0e0;
}
.footer_inner{
    width:1000px;
    padding:20px 0;
    vertical-align: middle;
    margin:0 auto;
    min-height:80px;
}
.copyright{
    width:100%;
    background: var(--brand-color);
    font-size:10px;
    padding:10px;
    color:#fff;
    text-align: center;
}

.back {
    background-color: gray;
    border: 0.1rem solid gray;
}

.count{
    font-size: 1.5em;
    font-weight: 700;
    color:var(--brand-color)
}

p.note_required{
    margin-bottom: 1em;
}
.required label:after {
    content: '*';
    color: red;
}

#dropmenu{
    width:100%;
    float:none;
    margin: 0;
}


.search_panel{
    clear: both;
    margin: 0.5em 0 1em 0;
    padding: 0.5em 1em;
    background-color: #eee;
}
.search_panel table{
    width: auto;
}
.search_panel td{
    padding: 0.5em 1em;
}
@media screen and (max-width: 640px) {
    .search_panel table{
        display: block;
    }
    .search_panel tr, .search_panel th, .search_panel td{
        display: block;
        width:100%;
    }
}


input.short{
    width:80px;
}
input.middle{
    width:200px;
}
input.long{
    width:400px;
}
select.select_time{
    width:80px;
}
select.select_short{
    width:80px;
}
select.select_middle{
    width:160px;
}
select.select_long{
    width:320px;
}
input.calendar{
    width:200px
}

@media screen and (max-width:640px) {
    input.middle{
        width:95%;
    }
    select.select_middle{
        width:95%;
    }
    select.select_long{
        width:95%;
    }
    input.calendar{
        width:95%;
    }
}

.area_content {
    overflow: hidden;
    max-width: 1240px;
    margin: 20px auto;
    padding: 0 20px;
    color: var(--color-black);
}


.area_search {
    clear: both;
    text-align: center;
    padding: 20px;
    background-color: var(--main-bg-color);
}

.area_search .search_title {
    max-width: 600px;
    font-size: 3rem;
    text-align: center;
    margin: 0 auto;
}

.area_search table {
    border-collapse: separate;
    border-spacing: 0 5px;
    max-width: 820px;
    margin: 0 auto 1em auto;
}

.area_search table th {
    padding: 0.4em 1em;
    text-align: center;
    font-size: 0.8em;
    background-color: #DCDDDD;
    white-space: nowrap;
}

.area_search table td {
    font-size: 0.8em;
    background-color: #ffffff;
    padding: 0.5em;
}

@media screen and (max-width: 640px){
    .area_search table {
        display: block;
        width: 100%;
    }
    .area_search table tr{
        display: block;
        width: 100%;
    }
    .area_search table th, .area_search table td {
        display: block;
        width: 100%;
    }
}
@media screen and (max-width: 800px){
    .content_wide {
        padding: 0;
    }
}

.area_search_count {
    overflow: hidden;
    padding: 0 1%;
    font-size: 1.67em;
}
.area_search_count span {
    font-size: 1.5em;
}

.search_list {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
}
.search_list li {
    position: relative;
    width: calc(94% / 3);
    margin: 30px 1% 0 1%;
    background-color: #ffffff;
    border: solid 1px gray;
    line-height: 1.3em;
}
.search_list li span{
    line-height: 1.2em;
}

picture.size_standarad {
    position: relative;
    display: block;
    width: 100%;
    background-size: contain;
    text-align: center;
}
picture.size_standarad img {
    max-height: 260px;
}
.search_list .area_info_top {
    padding: 0.5em 1em;
    background-color: var(--main-bg-color);
    min-height: 4em;
}
.search_list .area_info {
    padding: 1em;
}
.search_list .link_over {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}
.meta_address, .meta_tel, .meta_category {
    font-size: 0.8em;
}
.area_shopname {
    font-size: 1.2em;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin:0.5em 0;
    font-weight: 700;
}
.search_list .meta_description {
    margin-top: 0.5em;
    padding-top: 0.5em;
    border-top: dotted 1px gray;
}

.area_box_plan .box_plan_title span, .area_shopname .meta_shop, .area_shopname .meta_shop_sub {
    overflow-wrap: anywhere;
}
.area_shopname .meta_shop_sub {
    margin-right: 0.7em;
    font-size: 0.75em;
}

@media screen and (max-width: 640px){
    .search_list li {
        font-size: 1.2em;
        width: 100%;
    }
    ul{
        padding-left: 0;
    }
}


.shop_caution{
    background-color: #FFFBE5;
}
.shop_caution_inner ul{
    padding: 0;
}
.shop_caution_inner ul li{
    color: #ff0000;
    font-size:1.2em;
    list-style-type: none;
    margin-bottom:10px;
}

.card {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.4rem;
    box-shadow: 0 7px 14px 0 rgb(60 66 87 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);
    margin:0 auto 2em auto;
}
.card_narrow {
    width: 800px;
}

.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a, .next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.prev.disabled a, .next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}


/*スマホ対応*/
@media screen and (max-width:640px) {
    .card_narrow {
        width: 100%;
    }
}

.sponsorship{
    margin: 4em auto 2em;
    width: 80%;
    border: 1px solid gray;
    border-radius: 0.4rem;
    padding: 2em;
    font-size: 2rem;
}
.sponsorship .title{
    width: 100%;
    text-align: center;
    padding: 0;
    font-size: 2.5rem;
    font-weight: 600;
}
@media screen and (max-width:640px) {
    .sponsorship{
        width: 100%;
        padding: 1em;
        font-size: 1.5rem;
    }
    .sponsorship .title{
        font-size: 2rem;
    }
}

.done_message{
    margin:0;
    padding: 0;
}
.done_message_title {
    font-size: 2.5rem;
    font-weight: 600;
}
.done_message p{
    font-size: 1.5rem;
}
@media screen and (max-width:640px) {
    .done_message_title {
        font-size: 2rem;
    }
    .done_message p{
        font-size: 1.5rem;
    }
}
#map {
    margin: 0 auto;
    text-align: center;
    width: 500px;
    height: 300px;
}
#map_big {
    margin: 0 auto;
    text-align: center;
    width: 800px;
    height: 400px;
}
@media screen and (max-width:640px) {
    #map {
        width: 300px;
        height: 300px;
    }
    #map_big {
        width: 300px;
        height: 300px;
    }
}

.mobile_visible{
    display: none;
}
.pc_visible{
    display: block;
}






@media screen and (max-width:640px) {
.pc_visible{
    display: none;
}
    .mobile_visible{
        display: block;
    }



    ul li{
        margin: 0;
        list-style-type: none;
    }

    .pure-drawer{
        padding: 20px;
        background-color: rgba(255,255,255,0.9);
    }
    .pure-toggle:focus ~ .pure-toggle-label {
        border-color: var(--brand-color);
        color: var(--brand-color);
    }

    .pure-toggle-label {
        display: none;
        cursor: pointer;
        display: block;
        position: fixed;
        top: 15px;
        right:20px !important;
        z-index: 99;
        color: var(--brand-color);
        background-color: rgba(255,255,255,0.8);
        width: 60px;
        height: 60px;
        -webkit-transition: all 400ms ease-in-out;
        transition: all 400ms ease-in-out;
        border: 2px solid var(--brand-color);
        border-radius:0;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -o-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .pure-toggle-label:hover {
        border-color:var(--brand-color);
        color: var(--brand-color);
    }
    .pure-toggle-label:hover .pure-toggle-icon,
    .pure-toggle-label:hover .pure-toggle-icon:before,
    .pure-toggle-label:hover .pure-toggle-icon:after {
        background-color: var(--brand-color);
    }
    .pure-toggle-label .pure-toggle-icon,
    .pure-toggle-label .pure-toggle-icon:before,
    .pure-toggle-label .pure-toggle-icon:after {
        position: absolute;
        top: 50%;
        left: 50%;
        height: 4px;
        width: 35px;
        cursor: pointer;
        background: var(--brand-color);
        display: block;
        content: '';
        -webkit-transition: all 500ms ease-in-out;
        transition: all 500ms ease-in-out;
    }
    .pure-toggle[data-toggle='left']:checked ~ .pure-toggle-label[data-toggle-label='left'],
    .pure-toggle[data-toggle='right']:checked ~ .pure-toggle-label[data-toggle-label='right'],
    .pure-toggle[data-toggle='top']:checked ~ .pure-toggle-label[data-toggle-label='top'] {
        border-color: var(--brand-color);
        color: var(--brand-color)
    }



    .member_arrow {
        display: inline-block;
        width: 30px;
        margin: 0 auto;
    }
    nav ul#dropmenu li{
        display: block;
        width:100%;
        text-align: left;
    }

    #dropmenu li ul li {
        left: 0;
    }

    nav ul#dropmenu li ul li a{
        display: block;
        width:100%;
        text-align: left;
        border-bottom: 1px solid var(--brand-color);
        padding: 1em;
    }
    nav ul#dropmenu li a{
        font-size: 1.2em;
        text-align: left;
    }




    /*shopのメニュー*/
    aside{
        margin-bottom: 20px;
    }
    .side-nav a{
        display: inline-block;
        width:48%;
        margin: 1%;
        float: left;
        background-color: #ccc;
        border-radius: 7px;
        padding:10px 0;
        text-align: center;
        font-size: 0.9em;
        color:#333;
        font-weight: 600;
    }
    /*
    .side-nav a:nth-child(3n){
        background-color: #7CB52D;
        color:#fff;
    }
    .side-nav a:nth-child(5n){
        background-color: #DD6A8D;
        color:#fff;
    }

     */
    a.delete_button{
        background-color: #DD6A8D;
        color:#fff;
    }
    a.reset_password_button,
    a.print_qr_button{
        background-color: #7CB52D;
        color:#fff;
    }
    a.edit_button,
    a.edit_login_user_button,
    a.edit_image_button,
    a.side-nav-item add_stocks_button{
        background-color: var(--brand-color);
        color:#fff;
    }



    h4.heading{
        display: none;
    }



    /*ログイン*/
    .login_box{
        width: 100%;
    }
    .login_left, .login_right{
        display: block;
        width:100%;
    }



    /*画像編集*/
    .shops.form hr{
        width:75% !important;
    }
    .shops.form .input img{
        width:75% !important;
    }


    /*フッタ*/
    .footer{
        overflow: hidden;
        font-size:1em;
    }

    .footer_inner{
        padding: 10px 20px;
        font-size:1em;
    }


    /*メイン*/
    main.main{
        width:100%;
    }
    div.container{
        width:100% !important;
        max-width:100%;
    }


    /*ヘッダーナビ*/
    .top-nav{
        display: block;
    }
    .top_logo{
        float:none;
    }
    .top-nav-title a{
        display: block;
        text-align: left;
        width:100%;
    }


    .content{
        width:100%;
    }

    table{
        display: table;
    }
    table tbody {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }
    table tr{
        display: table-row;
        width: 100%;
    }
    table tbody th{
        display: table-cell;
        white-space: normal;
        width: 30%;
    }
    table tbody td{
        display: table-cell;
        width: 65%;
    }

    /*
    table tbody{
        width: 100%;
        overflow-x: auto;
        white-space: normal;
    }

    */

    table.with_data_label{
        /*
        display: block;
        */
    }

    table.with_data_label tbody {
        display: block;
        white-space: normal;
    }

    table.with_data_label thead{
        display: none;
    }
    table.with_data_label tbody{
        width:95%;
        height: auto;
        margin: 0 auto;
    }
    table.with_data_label tr{
        display: block;
        width:100%;
        height: auto;
        border:none;
        margin: 1em 0 2em 0;
    }

    /*
    table th, table tbody td{
        display: block;
        width:50% !important;
        float:left;
        font-size:0.9em;
        padding:5px 0;
        margin: 0;
    }
    */
    table.with_data_label td{
        display: block;
        text-align: left;
        width: 100%;
        height: auto;
        padding: 0.2em 2px;
        border:none;
        border-bottom: 1px dotted lightgray;
    }

    table.with_data_label td div{
        display: inline-block;
        width: 65%;
    }

    table.with_data_label td:before{
        float: left;
        content: attr(data-label);
        margin-right: 10px;
        font-weight: bold;
        width: 30%;
        vertical-align: top;
    }

    table.with_data_label tbody td:first-child{
        border-bottom: 1px solid lightgray;
    }


}


.system_info_list ul li{
    list-style-type: none;
    padding:0;
    margin: 0;
}
.system_info_list ul li .donation_bank_block ul li{
    display: flex;
}
.system_info_list ul li .donation_bank_block ul li .donation_bank_block_left{
    background-color: #eee;
    width:200px;
    padding: 10px 5px;
}
.system_info_list ul li .donation_bank_block ul li .donation_bank_block_right{
    padding: 10px;
}


.account_info_block{
    background-color: #f3f3f3;
    padding:10px;
}
span.account_num{
    padding-left:10px;
}
.account_info_title{
    background-color: #666;
    color:#fff;
    padding-left: 5px;
    margin-bottom: 5px;
}



@media screen and (max-width:640px) {
    .system_info_list ul li .donation_bank_block ul li{
        display: block;
    }
    .system_info_list ul li .donation_bank_block ul li .donation_bank_block_left{
        background-color: #eee;
        width:100%;
        padding: 10px 5px;
    }
    .system_info_list ul li .donation_bank_block ul li .donation_bank_block_right{
        padding: 10px;
    }
}


/*メール返信管理*/
.data_list{
    padding:0 10px;
    border-left: 4px solid #999;
    margin-bottom: 20px;
}
.data_list ul{
    padding: 0;
    margin: 0;
}

.data_list ul li{
    list-style-type: none;
    padding:0;
    margin: 0;
    margin-bottom: 10px;
}

.data_list ul li span{
    width:200px;
}
img.list_icon{
    width:20px;
    vertical-align: middle;
}

.date_block .input.text{
    display:inline-block;
    width:40%;
}