.page_nav ul {
    max-width: 1054px;
    width: 90%;
    margin: 50px auto 80px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.page_nav ul li {
    width: calc(100%/4 - 30px/4*3);
}

.all_wrap {
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 120px 0;
}

.sec_type {
    max-width: 850px;
    width: 90%;
    margin: 0 auto;
}

.type_ttl {
    margin-bottom: 50px;
}

.plan_wrap {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
}

.box_lead {
    font-size: clamp(13px,1.4vw,14px);
    color: #565353;
}

.equ_btn a {
    display: block;
    max-width: 350px;
    width: 80%;
    margin: 80px auto 120px;
    background-color: #6c3c35;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 2px 2px 2px #00000053;
    padding: 10px;
    text-align: center;
    font-size: clamp(18px,2.2vw,22px);
}

.tab_wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.tab_wrap li {
    cursor: pointer;
    width: 48%;
    background-color: #fff;
    border: 1px solid #6C3C35;
    color: #6C3C35;
    filter: drop-shadow(0px 3px 3px #00000090);
    padding: 10px;
    text-align: center;
    font-size: clamp(14px,1.4vw,16px);
    transition: 0.3s all;
}

.tab_wrap li:hover {
    background-color: #6C3C35;
    border: 1px solid #fff;
    color: #fff;
}

.tab_wrap li.active {
    pointer-events: none;
    background-color: #6C3C35;
    border: 1px solid #fff;
    color: #fff;
}

.plan {
    display: none;
}

.plan.active {
    display: block;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.point_wrap {
    margin-bottom: 40px;
}

/* SP調整 */
@media screen and (max-width:730px) {

    .page_nav ul {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 15px;
        margin: 30px auto 50px;
    }

    .page_nav ul li {
        width: calc(50% - 15px/2);
    }

    .all_wrap {
        margin-top: 30px;
        gap: 80px 0;
    }

    .type_ttl {
        margin-bottom: 15px;
    }

    .type_ttl::after {
        content: url(../images/common/expansion.svg);
        display: block;
        margin-top: 20px;
    }

    .plan_wrap {
        display: flex;
        flex-direction: column;
        gap: 20px 0;
    }

    .plan_wrap .container {
        width: 100%;
    }

    .plan_wrap .con02 {
        margin-top: 20px;
    }

    .equ_btn a {
        margin: 60px auto 80px;
    }

    .tab_wrap {
        margin-bottom: 23px;
    }

    .tab_wrap li {
        padding: 8px;
    }

    .point_wrap {
        margin-bottom: 25px;
    }
}



/* Etype */


#Etype {
    max-width: none;
    width: 100%;
    background-image: url(../images/premium_plan/premium_plan_ttl_bg.png);
    background-size: cover;
    padding: 50px 0;
    color: #fff;
    margin-bottom: 0;
}

#Etype .ttl {
    max-width: 480px;
    width: 80%;
    margin: 0 auto;
}

#Etype .txt {
    text-align: center;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 20px;
    font-size: clamp(12px,1.3vw,16px);
}

#Etype .txt span {
    border: 1px solid #fff;
    padding: 5px 10px;
}

#Etype .lead {
    text-align: center;
    font-size: clamp(25px,3vw,30px);
    letter-spacing: 0.2em;
}

#Etype .lead .small {
    display: block;
    font-size: clamp(14px,1.4vw,17px);
    letter-spacing: 0.15em;
}

#Etype .btn_wrap {
    max-width: 800px;
    width: 90%;
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
}

#Etype .btn_wrap li {
    width: 48%;
}

@media screen and (max-width:730px) {

    #Etype {
        padding: 35px 0 40px;
    }

    #Etype .txt {
        gap: 0 10px;
        margin: 30px 0 20px;
    }

    #Etype .txt span {
        padding: 5px;
    }

    #Etype .btn_wrap li {
        width: 100%;
    }
}

/* Dtype */

#Dtype .con02 {
    padding-top: 22%;
}


#Dtype .con02 .box01 .icon {
    max-width: 148px;
    width: 35%;
}

#Dtype .con02 .box01 .box_lead {
    margin: 13px 0 10px;
}

#Dtype .con02 .box02 {
    align-items: center;
    margin-top: 30px;
}

#Dtype .con02 .gray {
    color: #828181;
}

#Dtype .con02 .box03 {
    align-items: center;
    margin-top: 35px;
}

#Dtype .con02 .box03 .image {
    width: 93%;
    margin: 0 auto;
}

#Dtype .con02 .box03 .image .cap {
    bottom: 29%;
}

#Dtype .con02 .box02 .txt_wrap,
#Dtype .con02 .box03 .txt_wrap {
    width: 48%;
}

#Dtype .con02 .box02 .box_lead,
#Dtype .con02 .box03 .box_lead {
    margin: 15px 0 0;
    text-align: center;
}

#Dtype .con02 .box02 .txt_wrap {
    margin-bottom: 20px;
}

#Dtype .con02 .box02 .icon {
    max-width: 114px;
    width: 65%;
    margin: 0 auto;
}

#Dtype .con02 .box03 .icon {
    max-width: 140px;
    width: 77%;
    margin: 0 auto;
}

#Dtype .con03 {
    grid-column: 1/3;
}

#Dtype .con03 .box {
    border-top: 1px dashed #a67c83;
    border-bottom: 1px dashed #a67c83;
    padding: 20px 0;
    margin-top: 10px;
}

#Dtype .con04 {
    grid-column: 1/3;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

#Dtype .con04 .box {
    width: 48%;
}

#Dtype .con04 .box_lead {
    color: #6a4b3b;
    font-size: clamp(15px,1.5vw,17px);
}

#Dtype .con04 .box_txt {
    font-size: clamp(13px,1.3vw,14px);
    margin: 8px 0 15px;
}

#Dtype .con05 {
    grid-column: 1/3;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

#Dtype .con05 .tab_wrap {
    gap: 30px;
}

#Dtype .con05 .box01 .txt_wrap .icon {
    max-width: 114px;
    width: 65%;
    margin: 0 auto;
}

#Dtype .con05 .box01, #Dtype .con05 .box02 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

#Dtype .con05 .box01 .box_lead, #Dtype .con05 .box02 .box_lead {
    margin: 15px 0 0;
    text-align: center;
    font-size: clamp(12px,1.4vw,14px);
}

#Dtype .con05 .box01 .txt_wrap, #Dtype .con05 .box01 .image, #Dtype .con05 .box02 .txt_wrap, #Dtype .con05 .box02 .image {
    width: 48%;
}

#Dtype .con05 .box02 .icon {
    max-width: 140px;
    width: 77%;
    margin: 0 auto;
}

#Dtype .con05 .box01 .icon02 {
    width: 80%;
    margin: 15px auto 0;
}

#Dtype .con06 {
    max-width: 750px;
    margin: 0 auto;
    grid-column: 1/3;
    margin-top: 20px;
}

#Dtype .con06 .lead {
    max-width: 350px;
    width: 80%;
    margin: 0 auto 30px;
}

#Dtype .con06 .box_lead {
    text-align: center;
    font-size: clamp(14px,1.8vw,19px);
    margin-bottom: 30px;
}

/* SP調整 */
@media screen and (max-width:730px) {
    

    #Dtype .con02 {
        padding-top: 0;
    }

    #Dtype .con02 .box03 {
        margin-top: 20px;
    }

    #Dtype .con02 .box03 .image {
        width: 100%;
    }
    
    #Dtype .con02 .box03 .image .cap {
        bottom: -10px;
    }

    #Dtype .con04 .tab_wrap {
        flex-direction: column;
    }

    #Dtype .con04 {
        flex-direction: column;
        gap: 40px 0;
    }

    #Dtype .con04 .box {
        width: 100%;
    }



    #Dtype .con05 .tab_wrap  {
        flex-direction: column;
        gap: 30px;
        margin-top: 15px;
    }

    #Dtype .con05 .box01,
    #Dtype .con05 .box02 {
        margin-top: 0;
    }

    #Dtype .con05 { 
        margin-top: 0px;
    }

    #Dtype .con05 .box01 .icon02 {
        width: 90%;
    }

    #Dtype .con06 {
        margin: 20px 0 30px;
    }

    #Dtype .con06 .lead {
        margin-bottom: 20px;
    }

    #Dtype .con06 .box_lead {
        margin-bottom: 20px;
    }
}


/* #Btype */
#Btype .box03 {
    width: 35%;
    margin-bottom: 30px;
}


#Btype .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#Btype .box01 {
    margin-bottom: 50px;
}

#Btype .box01 .flex .icon {
    width: 21%;
}

#Btype .box01 .flex .box_lead {
    width: 73%;
}

#Btype .box02 .flex .icon {
    width: 23%;
}

#Btype .box02 .flex .box_lead {
    width: 70%;
}

/* SP調整 */
@media screen and (max-width:730px) {

    #Btype .box03 {
        margin-bottom: 20px;
    }

    #Btype .box01 {
        margin-bottom: 40px;
    }
}


/* Ctype */

#Ctype .con02 .box01,
#Ctype .con02 .box02 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#Ctype .con02 .box01 .box_lead,
#Ctype .con02 .box02 .box_lead {
    margin: 15px 0 0;
    text-align: center;
    font-size: clamp(12px,1.4vw,14px);
}

#Ctype .con02 .box01 .txt_wrap,
#Ctype .con02 .box01 .image,
#Ctype .con02 .box02 .txt_wrap,
#Ctype .con02 .box02 .image {
    width: 48%;
}

#Ctype .con02 .box02 .icon {
    max-width: 140px;
    width: 77%;
    margin: 0 auto;
}

#Ctype .con02 .box01 .icon02 {
    width: 80%;
    margin: 15px auto 0;
}

#Ctype .con02 .box01 .txt_wrap .icon {
    max-width: 114px;
    width: 65%;
    margin: 0 auto;
}

#Ctype .con02 .box01 {
    margin: 30px 0;
}

#Ctype .con02 .box03 .lead {
    color: #6c3c35;
    font-size: 14px;
    margin-bottom: 10px;
}

#Ctype .con03 {
    grid-column: 1/3;
}

#Ctype .con03 .image {
    border-top: 1px dashed #a67c83;
    border-bottom: 1px dashed #a67c83;
    padding: 20px 0;
    margin-top: 10px;
}

.bnr_wrap{
    max-width: 800px;
    margin:  auto;
    padding-top: 50px; 
}

/* SP調整 */
@media screen and (max-width:730px) {
    #Ctype .con03 {
        margin-top: 20px;
    }

    .bnr_wrap{
        padding-top: 30px;
    }
}

/* Ftype */

#Ftype.sec_type {
    max-width: 1054px;
}

#Ftype.sec_type .type_ttl {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

#Ftype .plan_wrap {
    grid-template-columns: 55% 1fr;
}

#Ftype .con02 {
    margin-top: 2%;
}

#Ftype .box01 .lead {
    color: #2e3192;
    font-size: clamp(17px,2vw,20px);
    margin-bottom: 10px;
}

#Ftype .point_wrap {
    margin: 30px 0 0;
}

#Ftype .bnr {
    grid-column: 1/3;
    max-width: 800px;
    margin: 40px auto 0;
}

/* SP調整 */
@media screen and (max-width:730px) {

    #Ftype .bnr {
        margin-top: 20px;
    }

    #Ftype .con02 {
        order: -1;
        margin-top: 10px;
    }

    #Ftype .point_wrap {
        margin: 20px 0;
    }
}