/*---------------------------------------------
                  Plan
----------------------------------------------*/
.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/*------------Plan-color----------*/

.plan-cat {
    background-color: #986200;
}

.plan-area {
    background-color: #ab50ab;
}

.open,
.limited,
.confirm,
.new {
    background-color: green !important;
    color: #fff !important;
}

.request {
    background-color: orange !important;
    color: #fff !important;
}

.waiting {
    background-color: #111;
    color: #fff !important;
}

.close,
.charter,
.full {
    background-color: #555;
    color: #fff !important;
}

.plan-day i {
    margin-right: 5px;
}

.fusion-sidebar-left {
    display: none;
}

/*------------Plan-New-Label----------*/
.plan-new-wrap {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 100%;
    display: flex;
    align-items: center;
}

.plan-new-wrap .label-new {
    width: 50px;
    background: #f20000;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
}

.plan-single .plan-new {
    width: 80px;
    background: #f20000;
}

.plan-single .plan-popular {
    width: 80px;
    color: #fcff00 !important;
    background: #f20000;
}

.plan-new-wrap .label {
    position: absolute;
    display: block;
    top: 0px;
    left: 0;
    width: 50px !important;
    height: 50px !important;
}


/* .new-label:before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    background-image: url(/wp-content/themes/UraUraTour-Child-Theme/assets/new-label.svg);
    background-repeat: no-repeat;
    background-size: contain;
} */

#related_plan .plan-new-wrap {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 100%;
    display: flex;
    align-items: center;
}

/*------------Plan-exclusion-Label----------*/

.plan-exclusion-wrap {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.plan-exclusion-wrap.plan-exclusion img {
    width: 60px;
    height: auto !important;
    object-fit: contain;
}

/*-------------Grid-------------*/

.plan-list-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 1100px;
    max-width: 100%;
}

.plan-list-main:after {
    content: "";
    width: calc(100% / 3 - 5px);
    display: block;
}

.plan-list-item {
    width: calc(100% / 3 - 5px);
    position: relative;
    padding: 10px;
    background-color: #fffbed;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    border: solid 1px #eee;
}

.plan-list-main .plan-list-item:nth-child(even) {
    background: #fffbf7 !important;
}

.plan-item-link {
    display: block;
    line-height: 1.5;
    font-weight: 700;
}

.plan-item-tag-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 1;
    position: absolute;
    width: 100%;
    top: -24px;
    left: 0;
}

.plan-item-tag-wrap ul {
    margin: 0 !important;
}

.plan-item-tag-wrap li {
    margin: 0 !important;
    text-align: center;
    border-radius: 3px 3px 0 0;
    color: #fff;
    font-size: 11px !important;
    padding: 2px 0;
    font-weight: 700;
}

.plan-list-tag-left {
    display: flex;
    list-style: none;
    padding: 0;
    width: 65%;
    justify-content: flex-start;
}

.plan-list-tag-left li {
    width: 50%;
}

.plan-list-tag-right {
    display: flex;
    list-style: none;
    padding: 0;
    width: 30%;
    justify-content: flex-end;
}

.plan-list-status {
    width: 100%;
}

.plan-item-img-wrap {
    position: relative;
}

.plan-item-img-wrap .plan-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.plan-list-outline {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

.plan-day-wrap {
    display: flex;
    align-items: center;
    position: relative;
    margin: 10px auto 10px;
    border: solid 2px #ff9800;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    min-height: 120px;
    background-color: #fff;
    font-weight: 700;
}

.plan-day-wrap .simplefavorite-button {
    font-size: 24px;
    min-width: 24px;
    height: 24px;
    margin-right: 10px;
    cursor: pointer;
    display: flex;
    z-index: 1000;
}

.plan-day-wrap .simplefavorite-button i:hover {
    transform: scale(1.1);
}

.plan-day-wrap .simplefavorite-button i {
    color: #ff9800;
    transition: all 0.3s;
}

.plan-day-wrap .simplefavorite-button i:hover {
    transform: scale(1.1);
}

.plan-day-wrap .simplefavorite-button.active {
    opacity: 1;
}

.plan-day-wrap ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0 40px;
}

.plan-day-wrap li {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: calc(100% / 7);
    border: solid 1px;
    padding: 0;
    margin: 0 2px;
    background-color: #fff;
}

.plan-day-title {
    display: block;
    width: 100%;
    margin-bottom: 3px;
}

.plan-day-title i {
    margin-right: 5px;
}

.plan-day-title span {
    margin-right: 10px;
}

.plan-list-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
}

.plan-list-detail {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    background: #fff;
    border: dotted 1px #ccc;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
    margin-top: auto;
    margin-bottom: 0;
    height: 100%;
}

.plan-list-detail li {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: solid 1px #eee;
    display: flex;
}

.plan-list-detail li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-label {
    width: 90px;
    margin-right: 5px;
    position: relative;
}

html[lang="en-US"] .detail-label {
    width: 160px;
    min-width: 160px;
}

.detail-label:after {
    content: "\FF1A";
    position: absolute;
    right: 0;
}

.detail-text {
    width: calc(100% - 100px);
}

.detail-text.departure {
    display: flex;
    flex-wrap: wrap;
}

.plan-list-detail li.li-bottom {
    margin-top: auto;
}

.plan-list-detail li.li-top {
    margin-bottom: 5px;
    height: 100%;
}

.plan-list-detail .youbi-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: calc(100% - 95px);
}

.youbi-list .kaisai-youbi {
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    border: solid 1px;
    margin: 3px 2px 3px 0px;
    text-align: center;
}

.detail-text .start-time-text {
    display: block;
    width: 100%;
}

.start-time-text span {
    display: block;
    width: 100%;
    word-wrap: break-word;
}

.plan-list-text {
    padding: 10px;
    background-color: #fff;
}

.plan-list-ul {
    padding: 5px 10px;
    list-style: none;
}

.detail-label i {
    width: 16px;
    margin-right: 3px;
    text-align: center;
}

.plan-label-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

/*---------------Favorites---------------*/

.no-favorites {
    border: solid 2px;
    text-align: center;
    padding: 30px;
    background-color: #fff;
    margin: 20px auto;
    width: 100%;
    font-weight: 700;
    font-size: 16px;
}


/*---------------------------------------------

                    PC

----------------------------------------------*/
@media only screen and (min-width: 1025px) {}

/*---------------------------------------------

                    PC-Under

----------------------------------------------*/
@media only screen and (max-width: 1024px) {

    .icon-detail {
        flex-wrap: wrap;
    }

    .plan-list-main.plan-block .plan-list-outline {
        display: block;
    }

    .plan-list-main.plan-block .plan-title-box {
        width: 100%;
        flex-wrap: wrap;
    }

    .plan-list-main.plan-block .plan-list-detail {
        width: 100%;
    }

    .plan-list-main.plan-block .plan-list-title {
        margin-bottom: 20px;
    }

    #related_plan .plan-new-wrap {
        top: 20px;
        left: 0px;
    }

}

/*---------------------------------------------

                    Tablet

----------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .plan-list-item {
        width: calc(100% / 2 - 5px);
    }

    .plan-list-main:after {
        width: calc(100% / 2 - 5px);
    }

    .plan-list-main.plan-block .plan-item-tag-wrap {
        width: 380px;
    }

    #related_plan .plan-exclusion-wrap {
        top: 22px;
    }

}

/*---------------------------------------------

                    Mobile

----------------------------------------------*/
@media only screen and (max-width: 767px) {
    #sidebar {
        width: 100%;
        margin-bottom: 50px;
    }

    /*-------------Layout Change-------------*/

    .layout-change-wrapper {
        display: block;
        width: 100%;
    }

    .layout-change-wrapper h4 {
        margin-bottom: 20px;
        text-align: center;
        font-size: 14px;
    }

    .layout-change-button {
        width: 120px;
        font-size: 12px;
        line-height: 1;
        margin-right: 5px;
    }

    .plan-list-main {
        width: 100%;
        display: block;
        height: auto !important;
    }

    .plan-list-main:after {
        display: none;
    }

    .plan-list-item {
        width: 100%;
        margin-bottom: 40px;
    }

    .plan-list-main.plan-block .plan-list-item {
        padding: 10px;
    }

    .plan-list-main.plan-block .plan-item-tag-wrap {
        width: 100%;
        position: static;
    }

    .plan-list-main.plan-block .plan-day-wrap {
        margin: 35px 0 0;
        display: block;
    }

    .plan-list-main.plan-block .plan-day-title {
        border-right: none;
    }

    .plan-list-main.plan-block .plan-icon-wrap {
        width: 100%;
        top: 5px;
        justify-content: flex-start;
        margin-top: 2px;
    }

    .plan-list-main.plan-block .plan-icon-wrap ul {
        justify-content: flex-start;
    }

    .plan-list-main.plan-block .plan-day-wrap ul {
        justify-content: flex-start;
    }

    .plan-list-main.plan-block .plan-list-detail li {
        width: 100%;
    }

    .plan-list-main.plan-block .plan-list-detail li:nth-last-child(2) {
        margin-bottom: 5px;
        padding-bottom: 5px;
        border-bottom: solid 1px #eee;
    }

    .plan-list-detail li:last-child {
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    .plan-list-main.plan-block .plan-item-tag-wrap li {
        font-size: 11px !important;
        margin-right: 1px !important;
    }

    .plan-list-tag-left {
        width: 66%;
    }

    .plan-list-tag-right {
        width: 33%;
    }

    #related_plan .plan-exclusion-wrap {
        top: 26px;
    }

}
