@CHARSET "UTF-8";

/* base
----------------------------------------------- */
.left {
    float: left;
}

.right {
    float: right;
}

/* message */
.error,
#add_error_msg,
#add_error_msg p {
    color: #C00;
    font-size: 14px;
    font-weight: normal;
}

.error {
    margin: 25px;
    line-height: 1.8;
}

#add_error_msg {
    padding-bottom: 20px;
    display: none;
}

#add_error_msg p {
    margin: 0;
}

.message {
    margin: 24px auto 2px auto;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    padding: 0px 19px 0px 3px;
}

/* like icon */
span.like {
    background-image: url('../images/like_set.png');
    background-repeat: no-repeat;
    display: inline-block;
}

.like_hover {
    opacity: 0.8;
}

/* =main_box
----------------------------------------------- */
#main_box {
    padding-bottom: 36px;
}

#main_box .got_coupon,
#main_box .got_point {
    margin: 36px auto 10px auto;
}


/* area tab
----------------------------------------------- */
#area_tab {
    text-align: center;
}

#area_tab ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 930px;
    padding: 0 50px;
    margin: auto;
}

#area_tab li {
    padding: 0 5px;
    flex-basis: 150px;
    vertical-align: top;
}

#area_tab li a {
    border-top: 2px solid #d9d9d9;
    width: 150px;
    display: inline-block;
    padding: 10px 0;
    color: #000;
    min-height: 22px;
}

#area_tab li a.select_link {
    border-color: #000;
}


/* tab link
----------------------------------------------- */
#campain_link {
    margin: 0 0 10px 0;
}

#campain_link.campain_link_useTheme {
    border-color: transparent;
}

#campain_link ul {
    max-width: 1280px;
    min-width: 930px;
    margin: auto;
    position: relative;
    padding: 10px 50px 0 50px;
}

#campain_link li {
    display: inline-block;
}

#campain_link li.sort_mypost {
    float: right;
}

#campain_link a {
    display: inline-block;
    padding: 13px 0;
    width: 120px;
    text-align: center;
    font-size: 14px;
    color: #000;
    line-height: 1;
    border-bottom: 2px solid #d9d9d9;
}

#campain_link a.select_link {
    border-color: #B30000;
    color: #4b4b4b;
}


/* timeline postlist
----------------------------------------------- */
#timeline {
    font-size: 12px;
    position: relative;
    overflow: hidden;
    min-width: 980px;
    margin: auto;
}

#timeline_list {
    padding: 15px 15px 68px 15px;
}

/* pager */
.common_pager a,
.common_pager a:hover {
    margin: 0 0 68px 0;
}


/* timeline postlist post
----------------------------------------------- */
#timeline_list .box {
    width: 225px;
    float: left;
    word-break: break-all;
    border: 1px solid #efefef;
    background: #fff;
}

#timeline_list .box .post_link {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 3;
    filter: alpha(opacity=0);
    opacity: 0;
}

#timeline_list .box .post_link:hover {
    background: #fff;
    filter: alpha(opacity=30);
    opacity: 0.3;
}

#timeline_list .box .post_pic {
    line-height: 0;
}

#timeline_list .box .post_pic img {
    width: 100%;
    height: auto;
}

#timeline_list .post_content {
    padding: 15px 23px;
    font-size: 13px;
}

#timeline_list .post_title {
    padding: 0 0 15px 0;
    font-weight: bold;
    font-size: 15px;
}

#timeline_list .post_message {
    padding: 0 0 15px 0;
    color: #3e3a39;
}

#timeline_list .post_user {
    padding: 0 0 15px 0;
    position: relative;
}

#timeline_list .post_user .usericon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 100px;
    overflow: hidden;
    vertical-align: middle;
}

#timeline_list .post_user .usericon img {
    width: 30px;
    height: auto;
}

#timeline_list .post_sns {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
}

#timeline_list .post_sns img {
    width: 27px;
    height: auto;
}

#timeline_list .post_bottom {
    display: table;
    width: 100%;
    height: 20px;
}

#timeline_list .post_bottom .post_date,
#timeline_list .post_bottom .social_action_list_box {
    display: table-cell;
    vertical-align: middle;
    line-height: 1;
}

#timeline_list .post_bottom .post_date {
    color: #b5b5b6;
    font-size: 8px;
}

#timeline_list .box .post_areaname {
    margin: -3px 0 0 0;
    line-height: 0;
}

#timeline_list .box .post_areaname span {
    background: #0e6eb8;
    display: inline-block;
    color: #fff;
    line-height: 1;
    padding: 3px 10px;
    margin: 3px 0 0 0;
    cursor: pointer;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
}


/* = timeline postlist post delete link
----------------------------------------------- */
.admin_menu a {
    background: #f9f9f9;
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 11;
    cursor: pointer;
    line-height: 0;
}

.admin_menu a:hover {
    background: #eee;
}

.admin_menu a .batsu {
    width: 16px;
    height: 16px;
    overflow: hidden;
    text-indent: -99999px;
    margin: 4px;
}

.admin_menu a .batsu::before,
.admin_menu a .batsu::after {
    height: 2px;
    background: #757575;
}


/* timeline postlist social count
----------------------------------------------- */
#timeline_list .social_action_list_box {
    text-align: right;
    cursor: pointer;
    position: relative;
    z-index: 5;
    white-space: nowrap;
}

#timeline_list .social_likecount_list {
    display: inline-block;
    font-size: 16px;
    color: #b30000;
    vertical-align: 3px;
    margin-left: 5px;
}

#timeline_list .social_action_list_box .like_hover .social_likecount_list {
    color: #ff6666;
}

#timeline_list .like_checked .social_likecount_list,
#timeline_list .like_checked .like_hover .social_likecount_list {
    color: #666;
}

/* like loading */
#timeline_list .social_action_list_box .social_action_list_loader img {
    width: 18px;
    height: auto;
}


/* timeline postlist like
----------------------------------------------- */
#timeline_list .social_action_list_box span.like {
    width: 58px;
    height: 18px;
    background-position: -5px -105px;
}

#timeline_list .social_action_list_box .like_hover span.like {
    background-position: -114px -105px;
}

#timeline_list .social_action_list_box .like_checked span.like {
    width: 58px;
    height: 18px;
    background-position: -5px -134px;
}

#timeline_list .social_action_list_box .like_checked .like_hover span.like {
    width: 58px;
    height: 18px;
    background-position: -114px -134px;
}



/* = post delete modal
----------------------------------------------- */
#del_popup .postselect_delete {
    padding: 20px 0 70px 0;
    text-align: center;
}

#del_popup .postselect_delete a {
    color: #fff;
    padding: 12px 0;
    text-align: center;
    display: inline-block;
    line-height: 1;
    font-size: 18px;
    width: 200px;
    margin: 0 20px;
}

#del_popup .postselect_delete a:hover {
    opacity: 0.8;
}

#del_popup .postselect_delete a.del_btn {
    background: #2D7EC7;
}

#del_popup .postselect_delete a.reset_btn {
    background: #b4b4b4;
}

.post_delete_loader {
    display: none;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}


/* post form modal
----------------------------------------------- */
/* postform headline */
.postform .postform_box h5 {
    font-size: 15px;
    font-weight: normal;
    word-break: break-all;
}

.postform .postform_box h5 span {
    display: inline-block;
    color: #C00;
    padding: 0 0 0 16px;
    font-size: 12px;
}

/* postform input */
.postform .postform_box input[type="text"] {
    border: 1px solid #ccc;
    padding: 12px;
    width: 95%;
    font-size: 14px;
}

.postform .postform_box.postform_title textarea {
    height: 40px;
}

.postform .postform_box p {
    font-size: 12px;
    color: #666;
}

/* postform image upload */
.postform .postform_box .post_photo_image {
    float: right;
    width: auto;
}

.postform .postform_box .post_photo_image .icon_no_change {
    font-size: 12px;
    padding: 3px 0;
}

.postform .postform_box .post_photo_image_preview {
    float: left;
    width: 186px;
    height: 186px;
    border: 1px solid #dadada;
    background: #efefef;
    margin-right: 15px;
    text-align: center;
}

.postform .postform_box .post_photo_image_preview img {
    max-width: 186px;
    max-height: 186px;
    width: auto;
    height: auto;
}

.postform .postform_box .post_photo_image_preview p {
    font-size: 12px;
    padding: 66px 9px;
    text-align: left;
}

.postform .postform_box .post_photo_image input[type="file"] {
    padding: 15px 0 10px 0;
}

.postform .postform_box .post_photo_image_del {
    font-size: 12px;
    text-decoration: underline;
    display: inline-block;
}

.postform .postform_box .post_photo_image_info {
    border: 1px solid #ddd;
    padding: 1em .8em;
    font-size: 11px;
    display: inline-block;
    margin-bottom: 8px;
}

/* postform category */
.postform .catTagBox li {
    display: inline-block;
    padding: 5px 30px 5px 0;
    font-size: 14px;
    text-indent: -1.5em;
    margin-left: 1.5em;
}

.postform .catTagBox li input {
    vertical-align: 1px;
    margin-right: 5px;
}

/* postform button */
#add_photo_popup .post_loading,
.postform .popup_btn {
    text-align: center;
    padding: 50px;
}


/* mileage event list */
.mileage_event_list_container {
    width: 500px;
    margin: 20px auto;
}

.mileage_event_list_subject {
    font-size: 1.3rem;
    text-align: center;
    padding: 0.3rem;
    font-weight: bold;
}

.mileage_event_list_container .mileage_event {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 5px 10px;
    margin: 20px 0;
}

.mileage_event_list_container .mileage_event .catch_title {
    margin: 0 5px;
    font-weight: bold;
    font-size: 1.3rem;
    color: #1da1f2;
    text-align: left;
}

.mileage_event_list_container .mileage_event .catch_image_base {
    margin: 5px;
}

.mileage_event_list_container .mileage_event .catch_image_base .filter_alert {
    position: absolute;
    padding: 20px 10px;
    font-weight: bold;
    color: #FFF;
    z-index: 10;
}

.mileage_event_list_container .mileage_event .catch_image_base .inactive_filter {
    background-color: #999;
    display: inline-block;
    z-index: 5;
    min-width: 100%;
    min-height: 100px;
}

.mileage_event_list_container .mileage_event .catch_image {
    width: 100%;
}

.mileage_event_list_container .mileage_event .inactive_image {
    opacity: 0.2;
    display: block;
}

.mileage_event_list_container .mileage_event .entry_term {
    font-size: 0.8rem;
    margin: 5px 0 10px 5px;
}

.mileage_event_list_container .mileage_event .link_button {
    width: 100%;
    margin: 10px 0;
}

.mileage_event_list_container .mileage_event .link_button a {
    color: #fcfcfc;
    max-width: 80%;
    border-radius: 15px;
    background-color: #2d7ec7;
    margin: auto;
    padding: 5px;
    display: block;
    text-align: center;
}

.mileage_event_list_container .mileage_event .inactive_button {
    color: #fcfcfc;
    max-width: 80%;
    border-radius: 15px;
    background-color: #ccc;
    margin: auto;
    padding: 5px;
    display: block;
    text-align: center;
}

.mileage_event_list_container .mileage_event .link_text {
    max-width: 80%;
    margin: auto;
    text-align: right;
}

.mileage_event_list_container .mileage_event .link_text a {
    font-size: 0.8rem;
    color: #2d7ec7;
}

.mileage_log_pagination #prev {
    float: left;
}

.mileage_log_pagination #next {
    float: right;
}

.mileage_log_pagination span {
    display: inline-block;
    border: 1px solid #c9c9c9c9;
    margin-top: 10px;
    padding: 10px;
    background-color: #c9c9c9;
    color: #fff;
    border-radius: 5px;
}

.mileage_log_pagination {
    width: 100%;
    display: inline-block;
    height: 60px;
}

/* user point log */
.pop_content #point_log {
    padding: 0 1rem 1.5rem;
}

.point_log_table {
    margin: auto;
    position: relative;
    height: auto;
    border: 1px solid #999;
    margin: 10px 5px;
    padding: 0 5px;
    font-size: 0.6rem;
}

.point_log_table table {
    width: 100%;
}

.point_log_table td {
    padding: 10px 5px;
    vertical-align: top;
    line-height: 1.5;
    border-bottom: 1px solid #b4b4b4;
}

.point_log_item {
    margin-top: 0.5rem;
}

.point_log_date {
    color: #999;
}

.point_log_post_link {
    text-align: right;
    text-decoration: underline;
    text-decoration-color: #333;
    margin: 20px 0;
}

.point_log_post_link a {
    color: #333;
}

.post_popup_content_image img {
    max-width: 200px;
}

.post_popup_content_text {
    font-size: 0.8rem;
    color: #333;
    vertical-align: top;
}

.post_popup_content_text p {
    margin: 10px 5px;
    text-align: left;
}

/* user point status */
.available_point_title {
    font-size: 1.5rem;
    font-weight: bold;
}

.available_point_value {
    font-size: 4rem;
    font-weight: bold;
}

.point_log_link {
    font-size: 0.8rem;
}

/* thankyou popup with mileage */
.pop_content .thanks {
    margin-bottom: 50px;
}

.pop_content .thanks .get_mileage {
    display: block;
    width: 100%;
    text-align: center;
}

.pop_content .thanks .get_mileage span.point {
    font-weight: bold;
    font-size: 200%;
}

/* JANコードカメラ */
#camera-area.viewport {
    height: auto;
    width: auto;
    display: flex;
    margin-bottom: 10px;
}

#camera-area.viewport canvas,
video {
    float: left;
    height: 240px;
    width: 100%;
}

#camera-area.viewport canvas.drawingBuffer,
video.drawingBuffer {
    position: absolute;
}

/*
#camera-area.viewport {
    margin: 0 auto;
    height: 300px;
    width: 90%;
}
#camera-area.viewport canvas, video {
    float: left;
    width: 100%;
}
.drawingBuffer {
    position: absolute; left: 0;
}
*/

a#start_scan,
a#cancel_scan {
    padding: 0.5em;
    margin: 10px auto;
    display: block;
    color: #fff !important;
    background: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 3px;
    text-align: center;
    text-decoration: none !important;
    width: fit-content;
}

a#start_scan img,
a#cancel_scan img {
    border: 0;
    display: inline-block;
    height: 26px;
    margin-right: 8px;
    padding: 0;
    vertical-align: middle;
    margin-top: -5px;
}

.postform {
    padding: 10px;
}

.postform .postform_input {
    padding-bottom: 10px;
}

/** マイレージ累計ポイント */
.available_point_parent {
     display: flex;
    justify-content: center;
    align-items: center;
}
.available_point_box {
    width: 200px;
    padding: 20px;
    margin: 10px;
    border-radius: 20px;
    border: 1px solid #dfdfdf;
}
.member_rank_conditions_div{
    overflow-y: scroll;
    width: 100%;
}
.member_rank_conditions_table{
    font-size: 14px;
    max-height: 800px;
    overflow: auto;
    margin: 0px auto;
    width: max-content;
}
.member_rank_conditions_table th,
.member_rank_conditions_table td{
    text-align: center;
    border: 1px solid #d8d8d8;
    padding: 15px 10px;
    vertical-align: middle;
    word-break: break-all;
    box-sizing: border-box;
    width: 160px;
    min-height: 110px;
}
.member_rank_conditions_table th {
    border: 2px solid #fff;
    background: #A3A3A3;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.member_rank_conditions_table td {
    border: 2px solid #fff;
    font-size: 14px;
    font-weight: 500;
}
.member_rank_conditions_table td img{
    max-width: 70px;
    margin-bottom: 5px;
}
.member_rank_conditions_table td ul{
    list-style: disc;
    margin-left: 1.5em;
    text-align: left;
}
.member_rank_conditions_table td ul span{
    font-size: 20px;
}

.member_rank_container {
    display: flex;
    border: 4px solid #d8d8d8;
    border-radius: 20px;
    max-width: 600px;
    margin: 0px auto 40px;
    background-color: #fff;
    overflow: hidden;
}
.member_rank_left {
    flex: 1;
    border-right: 1px solid #d8d8d8;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 170px;
    padding: 10px;
}
.member_rank_image img{
    max-width: 140px;
}
.member_rank_name {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    word-break: break-all;
}
.member_rank_link{
    font-size: 12px;
}
.member_rank_link a::after,
.member_rank_right .point_log_link a::after,
.thanks .point_log_post_link a::after {
    content: "";
    display: inline-block;
    width: .25em;
    height: .25em;
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
    transform: rotate(45deg);
    vertical-align: middle;
    margin: 0 3px 3px;
}
.member_rank_right {
    flex: 2;
    padding: 15px;
    font-size: 14px;
}
.member_rank_right .available_point_parent{
    display: block;
}
.member_rank_right .available_point_box{
    border: none;
    border-radius: 0;
    text-align: left;
    width: auto;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #cdcdcd;
}
.member_rank_right .available_point_box .available_point_title {
    font-size: 16px;
    font-weight: normal;
}
.member_rank_right .available_point_box .available_point_value{
    text-align: right;
    font-size: 48px;
    line-height: 1;
}
.member_rank_right .available_point_box_total .available_point_value {
    font-size: 16px;
    margin-right: 0.5em;
}
.member_rank_right .available_point_box_total{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.member_rank_right .available_point_title_sub {
    font-size: 12px;
    display: block;
    margin: 15px auto auto auto;
    color: #090908;
    font-weight: normal;
    line-height: 1.6;
    text-align: right;
}
.member_rank_right .point_log_link{
    text-align: right;
    display: block;
    margin: 10px 0;
}
.member_rank_right .point_log_link a{
    font-size: 12px;
    font-weight: normal;
    border: none;
    display: inline;
}
.member_rank_detail {
    color: #979797;
    font-size: 14px;
    text-align: left;
    border-top: 1px solid #cdcdcd;
    padding: 10px 0;
    word-break: break-all;
}
.member_rank_detail span{
    font-size: 20px;
}
.member_rank_detail em{
    font-style: normal;
    padding-right: 1em;
}
.member_rankup{
    border-radius: 20px;
    display: flex;
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    background-color: #cdcdcd;
    width: 500px;
    margin: 20px auto;
}
.member_rankup img{
    max-width: 135px;
}
.member_rankup p{
    padding: 0 40px;
}
.member_pop_container{
    position: absolute;
    display: none;
    width:550px;
    z-index:10000;
}

/* カスタマイズ追加部分 */
.serial_code_remarks{
    font-size: 15px;
}
.serial_code_box{
    padding-top: 20px;
}
.input_serial_code_error {
    line-height: 1.8;
    margin: 0px;
    padding: 0px;
    color: #C00;
    font-size: 14px;
    font-weight: normal;
    text-align: left;
}
.serial_pop_container {
    position: absolute;
    display: none;
    width:700px;
    z-index:10000;
}
.serial_code_button{
    padding-top: 20px !important;
}
.input_serial_code{
    border: 1px solid #ccc;
    padding: 12px;
    width: 95%;
    font-size: 14px;
}