/*---------------------------------------------
                    Kakuninjikou
----------------------------------------------*/
#footer-kakuninjikou{
    margin: 50px auto 0;
    max-width: 1100px;
    width: 100%;
}

#footer-tab-wrap .footer-tab {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}

#footer-tab-wrap {
    margin-top: 30px;
}

#footer-tab-wrap .footer-tab li {
    border-bottom-color: transparent;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b1a89b;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    width: 100%;
    font-size: 14px;
    text-align: center;
    font-weight: 700;
}

#footer-tab-wrap .footer-tab li:hover {
    background-color: #ffeacc;
    color: #000;
}

#footer-tab-wrap .footer-tab li.tab-active {
    background: #ffbf61;
    color: #fff;
}

#footer-tab-wrap .footer-tab-cnt {
    padding: 50px;
    margin-top: -1px;
    margin-bottom: 50px;
    background-color: #f9f9f9 !important;
    text-align: left;
    border: solid 1px #ccc;
}

#footer-tab-wrap .footer-tab-cnt>.tab-item {
    display: none;
}

#footer-tab-wrap .footer-tab-cnt>.tab-item.tab-active {
    display: block;
}

.cancel-heading {
    display: block;
    margin: 0 auto 50px;
    width: 350px;
    background-color: #fff;
    border: solid 3px #000;
    color: #000 !important;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    max-width: 100%;
}

.cancel-sub-heading {
    border-top: solid 1px;
    border-bottom: solid 1px;
    text-align: center;
    padding: 10px;
    margin: 30px auto;
}

.tab-item .img-wrap {
    margin-bottom: 20px;
}

#torikumi .torikumi-item {
    width: 22%;
    margin-top: 30px;
}

#onegai .onegai-item {
    width: 18%;
    margin-top: 30px;
}

.cancel-ul {
    text-align: left;
}

.kakuninjikou-button {
    display: flex;
    align-items: center;
    width: 300px;
    justify-content: center;
    margin: 30px auto;
    background-color: #91743f;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
}

.kakuninjikou-button:hover{
    color: #fff !important;
    background-color: #1d242d;
}

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

                    PC

----------------------------------------------*/
@media only screen and (min-width: 1025px){
#footer-tab-wrap .footer-tab-cnt {
    max-height: 60vh;
    overflow-y: scroll;
}
}

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

                    PC-Under

----------------------------------------------*/
@media only screen and (max-width: 1024px){
.remodal {
    width: 95% !important;
}

#footer-tab-wrap .footer-tab {
    flex-wrap: wrap;
}

.remodal-close {
    position: absolute;
    top: 65px;
    left: 20px;
    width: 40px;
    height: 40px;
    z-index:10000;
  }

.remodal-close:before {
    font-size: 40px;
    line-height: 40px;
    width: 40x;
  }

}

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

                    Tablet

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

}

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

                    Mobile

----------------------------------------------*/
@media only screen and (max-width: 767px){
    #guide-page-content {
        width: 100%;
    }

    #footer-tab-wrap .footer-tab li {
        width: 100% !important;
        border-bottom: solid 1px #fff;
    }

    #footer-tab-wrap .footer-tab li:last-child {
        border-bottom: none;
    }

    #footer-tab-wrap .footer-tab-cnt {
        padding: 10px;
        margin-top: -1px;
        margin-bottom: 0;
        width: 100%;
        max-height: 50vh;
        overflow-Y: scroll;
    }

    #onegai {
        justify-content: center !important;
        gap: 2%;
    }

    .onegai-item {
        width: 32% !important;
    }

    .torikumi-item {
        width: 48% !important;
    }

    .remodal {
        padding: 10px !important;
      }

      .check-wrap span input {
        margin-right: 10px;
    }

}