table#myTable > thead > tr > th {
    text-align: center;
}

/* ===== プロフィール編集 ===== */
.profedit_check {
    margin-top: 22px;
    margin-bottom: 34px;
}
.profedit_check > input {
    box-sizing: border-box;
    width: 280px;
    height: 40px;
    padding: 0 15px;
    font-size: 14px;
}
.profedit_check .explaintext {
    margin-top: 0;
    margin-bottom: 10px;
}
.c-checkbox {
    display: flex;
    flex-wrap: wrap;
}
.c-checkbox input[type="checkbox"] {
    display: none;
}
.c-checkbox label {
    margin: 0 30px 25px 0;
}
.c-checkbox label p {
    position: relative;
    padding-left: 24px;
}
.c-checkbox label p::before {
    display: inline-block;
    content: "";
    width: 15px;
    height: 15px;
    border: 1px solid #999;
    position: absolute;
    top: -1px;
    left: 0;
}
.c-checkbox input[type="checkbox"]:checked + p::after {
    display: block;
    content: "";
    width: 18px;
    height: 18px;
    background-image: url(../img/check.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: -1px;
    left: 0;
}
.dayoff_check {
    margin-bottom: 20px;
}
.text_heght {
    margin: 14px 0 27px;
}
.text_heght input {
    box-sizing: border-box;
    width: 100px;
    height: 40px;
    margin-right: 5px;
    padding: 0 10px;
    text-align: right;
    font-size: 14px;
}

/* Disabled Preferences Option Boxes */
.disabled .checkbox_label::before {
    border: 1px dashed #999;
    background: #e6e6e6;
    cursor: not-allowed;
}
.disabled input[type="checkbox"]:checked + .checkbox_label::after {
    cursor: not-allowed;
    background-image: url(../img/check.png);
    -webkit-filter: grayscale(100%);
}

.disabled .dummyradio + label:before {
    border: 1px dashed #999;
    background: #e6e6e6;
    cursor: not-allowed;
}
.disabled .dummyradio:checked + label::after {
    background: #666 !important;
    cursor: not-allowed;
}

/* Error Validator */
.errortext {
    color: #e37070;
    display: block;
    font-size: 90%;
    margin-bottom: 1em;
}

#disableATag[disabled] {
    pointer-events: none;
}
/* For preferences Edit */
.p-mypagetop__preferencearea table.edit tr td ul.c-iconarea.preferences {
    margin-left: 0;
}
.p-mypagetop__preferencearea
    table.edit
    tr
    td
    ul.c-iconarea.preferences.count-4 {
    width: 100%;
    max-width: 100%;
    margin: 15px auto 0;
    justify-content: left;
}
.p-mypagetop__preferencearea
    table.edit
    tr
    td
    ul.c-iconarea.preferences.count-3 {
    width: 128px;
}
.p-mypagetop__preferencearea
    table.edit
    tr
    td
    ul.c-iconarea.preferences.count-2 {
    width: 78px !important;
}
.p-mypagetop__preferencearea table.edit tr td ul.c-iconarea.preferences li {
    width: 28px;
    height: 28px;
    margin-right: 21px;
}
.p-mypagetop__preferencearea
    table.edit
    tr
    td
    ul.c-iconarea.preferences
    li:first-child {
    margin-left: 1.5px;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    _::-webkit-full-page-media,
    _:future,
    :root
        .p-mypagetop__preferencearea
        table.edit
        tr
        td
        ul.c-iconarea.preferences
        li {
        margin-right: 23px;
    }
}

/*------------file upload------------*/
.div_img input[type="file"] {
    display: none;
}
.file_label {
    display: block;
    width: 250px;
    height: 145px;
    background-image: url(/img/upfile.png);
    background-repeat: no-repeat;
    background-size: 55px 55px;
    background-position: center;
    border: 1px solid #dcdcdc;
    margin: 0 22px 20px 0;
    text-align: center;
    margin-bottom: 0;
}
.file_label img:not([src=""]) {
    width: 250px;
    height: 145px;
    object-fit: cover;
    display: unset;
}
.upfile_box {
    min-width: 530px;
}
.file_label img {
    display: block;
    width: 100%;
    height: auto;
}

/* ------------loader------------*/
.content_cover {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: #cccccc48;
    z-index: 100;
}
.content_cover .loader {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    text-align: center;
    color: #fff;
    z-index: 999;
}

.container-message {
    padding: 0;
}
.container-message .text-success,
.container-message .text-danger {
    display: table;
    padding: 25px 20px;
    margin-bottom: 25px;
    width: 100%;
}
.container-message .text-success {
    background-color: #b1feb1;
}
.container-message .text-danger {
    background-color: #f5cece;
}

.justify-content-center input[type="submit"].btn,
.justify-content-center .btn-delete {
    min-width: 140px;
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
}

.l-articletop__slider picture > img {
    object-fit: cover;
    width: 450px;
    height: 200px;
}

.p_article__inner .thumbnail {
    width: 700px;
    height: 405px;
    object-fit: cover;
}

.p_article__subposts a > img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.c-subpost img {
    min-width: 140px;
    max-height: 140px;
}

.p_article__localnav span.before,
.p_article__localnav span.next {
    display: inline-block;
    border: #ddd 1px solid;
    color: #999;
    text-decoration: none;
    padding: 10px 1em;
    cursor: not-allowed;
}

.p_article__localnav span.before img {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    padding-left: 1em;
}

.p_article__localnav span.next img {
    padding-left: 1em;
}

table .image-column .img-box {
    width: 100px;
    margin: 0 auto;
    min-height: 100px;
}

table .image-column img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.file_label {
    width: 250px;
    text-align: center;
    margin-bottom: 0;
}

.file_label img:not([src=""]) {
    width: 250px;
    height: 145px;
    object-fit: cover;
    display: unset;
}

.justify-content-center input[type="submit"].btn,
.justify-content-center .btn-delete {
    min-width: 140px;
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
}

.trumbowyg-editor img {
    position: relative;
}

.trumbowyg-editor img:hover:before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
}

/* happyphoto detail */
.nwsartcl_btns .nwsartcl_next,
.nwsartcl_btns .nwsartcl_prev {
    display: inline-block;
    width: auto;
    line-height: 38px;
    border: 1px solid #959595;
    padding: 0 23px;
    color: #515151;
    font-weight: 500;
}

.nwsartcl_btns img {
    width: 9px;
    height: auto;
}

.btn-user-detail {
    margin-top: 1em;
    display: flex;
    justify-content: center;
}

#page_happyphotodetail h1 {
    margin-bottom: 35px;
    text-align: center;
    font-size: 24px;
}
#page_happyphotodetail .c_article-share {
    margin: 55px auto;
}
#page_happyphotodetail .p_article__inner {
    width: 800px;
    margin: 0 auto;
    padding-bottom: 75px;
}
#page_happyphotodetail .commingsoon {
    width: 100%;
}
#page_happyphotodetail .commingsoon img {
    width: 100%;
    height: auto;
}
#page_happyphotodetail .c_article-label .c_article_cate > span {
    border-radius: 14px;
}
#page_happyphotodetail .hppyphtddl_info {
    margin-bottom: 37px;
    text-align: center;
}
#page_happyphotodetail .hppyphtddl_date {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #999999;
}
#page_happyphotodetail .hppyphtddl_cate {
    display: inline-block;
    line-height: 28px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.blur {
    -ms-filter: blur(1px);
    filter: blur(1px);
}

.nice_comment_img {
    display: flex;
    object-fit: cover;
    border-radius: 50%;
    color: #ffffff;
    position: absolute;
    top: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
}

.nice_comment_img img {
    position: absolute;
    top: 15%;
}
.nice_comment_img p {
    position: absolute;
    top: 45%;
    font-size: 11px !important;
    color: #fff;
}

#nice_comments {
    height: 140px;
    overflow: scroll;
    text-align: left;
    width: 90%;
    margin-left: 15px;
    border: 1px solid #eaeaea;
    padding: 10px;
    margin-bottom: 10px;
}

.nice_like_btn {
    display: block;
    cursor: pointer;
    border: none;
    text-align: center;
    letter-spacing: inherit;
    color: #fff;
    background-color: #4bd0ef;
    margin: auto !important;
    width: 90% !important;
    height: 35px;
    font-size: 14px;
    border-radius: 22.5px;
}

.nice_like_btn img {
    width: 11.5px;
    margin-right: 6px;
}

.nice_prof_btn {
    display: block;
    cursor: pointer;
    border: none;
    text-align: center;
    letter-spacing: inherit;
    color: #fff;
    background-color: #b7b7b7;
    margin: auto !important;
    width: 90% !important;
    height: 35px;
    font-size: 14px;
    border-radius: 22.5px;
}

.nice_close {
    position: fixed;
    bottom: 7%;
    width: 94%;
    z-index: 99998;
    color: white;
    display: none;
}

@media (max-width: 834px) {
    #page_happyphotodetail .p_article__inner {
        width: 100%;
        padding-bottom: 75px;
    }
    #page_happyphotodetail .commingsoon {
        width: 100%;
    }
    #page_happyphotodetail .commingsoon img {
        width: 100%;
        height: auto;
    }
}
.c-matchingmodal__btnarea.del-modal {
    background: none;
    position: inherit;
}
textarea.mx-auto.w-100.del-modal-body {
    height: 150px;
    margin-top: 15px;
}
.p-modal__contents.matching.confirm-del-modal {
    height: 320px;
}
.c-matchingmodal p {
    font-weight: bold;
}
.btn-user-detail {
    margin-top: 1em;
    display: flex;
    justify-content: center;
}

/* Admin Page info */
#page_info #btn_restore {
    float: right;
}
#page_info #tx_content_default {
    display: none;
}
#page_info .data-val {
    padding-top: 8px;
}
#page_info .trumbowyg-box,
#page_info .trumbowyg-editor,
#page_info .trumbowyg-textarea {
    min-height: 750px;
}
#page_info_help_item .trumbowyg-editor {
    min-height: 450px;
}
#page_info address {
    margin-bottom: 0;
}

/* Admin Page Info (Help Page) */
#page_info_help_group .justify-content-right {
    justify-content: flex-end;
}
#page_info_help_group .table_search {
    display: table;
    float: left;
}

.help_cont {
    padding-bottom: 15px;
}
#page_help_detail .nwsartcl_prev[disabled],
#page_help_detail .nwsartcl_next[disabled] {
    cursor: not-allowed;
}

.applying_icon_wrap {
    position: absolute;
    right: 40px;
    top: 50px;
}
.applying_icon {
    height: 100px !important;
    width: 100px !important;
}

.icon_applying_now::before,
.icon_applying_now::after {
    position: absolute;
    right: 0;
    top: 0;
    height: 100px;
    width: 100px;
    border-radius: 50%;
}
.icon_applying_now::before {
    content: "申請中";
    text-align: center;
    font-size: 1.5rem;
    color: #ff4500;
    line-height: 100px;
    z-index: 100;
}
.icon_applying_now::after {
    content: "";
    background: black;
    opacity: 0.5;
}
.photo_applying_now::before,
.photo_applying_now::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin-right: 10%;
}
.photo_applying_now::before {
    content: "申請中";
    text-align: center;
    padding-top: 15px;
    font-size: 1.5rem;
    color: #ff4500;
    z-index: 100;
}
.photo_applying_now::after {
    content: "";
    background: black;
    opacity: 0.5;
}
.pc {
    display: block;
}
.sp {
    display: none;
}

@media (max-width: 834px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}

.mypage_banner {
    margin: 0 0 60px;
}
.mypage_banner .mypage_banner_slide {
    width: 100%;
    overflow: hidden;
}
.mypage_banner .mypage_banner_slide img {
    width: 100%;
    height: auto;
}
.mypage_banner .slick-prev:before,
.mypage_banner .slick-next:before {
    color: #999;
}
.mypage_banner .swiper-pagination-bullets {
    bottom: -23px !important;
}
.mypage_banner .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 5px !important;
    opacity: 1 !important;
    background: #d2d2d2 !important;
}
.mypage_banner .swiper-pagination-bullet-active {
    background: #626262 !important;
}

@media (max-width: 834px) {
    .mypage_banner {
        margin: 0 0 55px;
    }
    .mypage_banner .mypage_banner_slide {
        overflow: visible;
    }
}
