.plan_wifi h1{
    font-size: 4rem;
}
.plan_wifi h2 {
    all: unset;
    font-size: 3.2rem !important;
    font-weight: bold;
    margin-bottom: 20px;
}
.fd-column{
    flex-direction: column;
}
.text-center{
    text-align: center;
}
.text-left{
    text-align: left;
}
.vertical-mid{
    vertical-align: middle;
}
html{
    scroll-behavior: smooth;
}
.border-bottom{
    border-bottom: 1px solid #F3F3F3;
}
.bg-red{
    background-color: #CC0000;
}
.bg-gray{
    background-color: #797A7C;
}
.bg-right-gray{
    background-color: #F2F2F2;
}
.text-red{
    color: #CC0000;
}
.text-black{
    color: #202124;
}
.text-bold{
    font-weight: bold;
}
.width-100{
    width: 100%;
}
.width-50{
    width: 50%;
}
A:visited {
    color: unset;
}
A:link {
    color: unset;
    text-decoration: none !important;
}


/* TOP BANNER */
.layoutArea{
    margin-bottom: 40px;
}
.layoutArea .topWrapper{
    background: url('../img/plan_new/top_bg_plan2.png') center center / cover no-repeat;
}
.layoutArea .topWrapper{
    min-height: 420px;
    align-items: initial;
}

.layoutArea .contents {
    width: 1000px;
}

.contents{
    position: relative;
}
.contents h3{
    color: #CC0000;
    font-size: 2.6rem;
    font-weight: bold;
}
.contents p{
    font-size: 1.6rem;
    font-weight: 600;
}
.topTitle{
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    border: 0;
    clip: rect(0,0,0,0);
}
.topLogo{
    width: 36%;
    margin-top: 130px;
}
.topWifiLogo{
    position: absolute;
    bottom: -27px; 
}

/* NINJA WiFiの強み */
.mainWrapper1{
    margin: 60px;
}
.wifiStrength{
    width: 240px;
    margin: 0 5px 0 5px;
    padding: 10px 0px 0px 0px;
    text-align: center;
}
.wifiStrength p{
    text-align: center;
}
.wifiStrengthLogo{
    width: 120px;
    height: 120px;
    border-radius: 60px;
    background-image: linear-gradient(-45deg, #B80000 50%, #CC0000 50%);
    margin-bottom: 18px;
}
.wifiStrengthIcon{
    max-width: 60px;
}
.wifiStrength p{
    font-size: 2rem;
    font-weight: 600;
}
.wifiStrength span{
    margin-top: 4px;
    font-size: 1.5rem;
    font-weight: 500;
}

/* 料金・プラン */
.mainWrapper2{
    background-image: linear-gradient(135deg, #fbb03b 0%, #c1272d 100%);
    width: 100%;
    padding: 40px 0;
}

.mainWrapper2 h2{
    color: #ffffff;
}
.planSection{
    display: grid;
    grid-template-columns: 72.5% 25%;
    width: 100%;
    /* height: 460px; */
}
.planSectionTitle{
    margin-bottom: 15px;
    position: relative;
}
.planSection4g{
    width: 100%;
    background-color: #ffffff;
    margin: 0 10px;
    border-radius: 8px;
    padding-top: 40px;
    position: relative;
    padding-bottom: 70px;
}
.planWifiLogo{
    max-width: 150px;
}
.planWifi5gLogo{
    margin: 22px 0 0 23px;
    max-width: 65px;
    height: 101px;
}
.planSectionTxt{
    padding-top: 20px;
    min-width: 130px;
}
.planSectionTxt span{
    position: absolute;
    bottom: 40px;
    font-size: 1.6rem;
    font-weight: 600;
}
.planSection5g{
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px;
    position: relative;
    padding-bottom: 70px;
}
.btnPlanDetail{
    background-color: #ffffff;
    border: 1px solid #202124;
    color: #202124;
    text-align: center;
    width: 100px;
    height: 25px;
    border-radius: 12px;
    padding-top: 3px;
    position: absolute;
    bottom: 6px;
}
.btnPlanDetail:hover{
    transition: .3s;
    text-decoration: none;
    background: #202124;
    color: #ffffff;
}
.planSectionList{
    width: 100%;
    gap: 10px;
}
.planSectionBox{
    width: calc(33.33% - 6.666px);
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: 0 0 12px rgb(221, 221, 221);
}
.planSectionBox5g{
    width: 100%;
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: 0 0 12px rgb(221, 221, 221);
    position: relative;
}
.planSectionContents{
    color: black;
    text-decoration: none;
    height: auto;
}
.PlanSectionText{
    width: 100%;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.5rem;
}
.planPrice{
    display: inline-block;
    margin-top: 6px;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.5rem;
}
.btnPlanNoticeArea{
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 20px;
}
.btnPlanNotice{
    background-color: #ffffff;
    border: 1px solid #CC0000;
    color: #CC0000 !important; 
    text-align: center;
    width: calc(100% - 40px);
    border-radius: 1px;
    padding: 5px 0;
}
.btnPlanNotice:hover{
    transition: .3s;
    text-decoration: none;
    border-color: #CC0000 #CC0000;
    background-color: #CC0000;
    color: #ffffff !important;
}
/* .btnOrder{
    background-color: #009EA8;
    display: inline-block;
    height: 50px;
    font-weight: 500;
    font-size: 1.3rem;
    padding: 18px 10px 5px 10px;
    width: 350px;
    line-height: 1.2;
    border-radius: 5px;
    border-color: #202124 #202124;
    border-width: 1px;
}
.btnOrder::after{
    border: 1px solid;
    border-color: #202124 #202124;
    border-width: 2px;
    color: #ffffff;
}
.btnOrder:hover{
    background-color: #1ab4bf;
} */
.tab-container, .tab5g-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
    padding: 0 20px;
}
.tab, .tab5g {
    padding: 8px 0px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    width: 50%;
    border-radius: 8px 8px 0 0;
    transition: .3s;
}
.tab:hover, .tab5g:hover{
    opacity: .8;
}
.tab.active, .tab5g.active {
    background-color: #202124;
    color: white;
}
.tab.inactive, .tab5g.inactive {
    background-color: #D9D9D9;
    color: #FFFFFF;
}
.content-container, .content-container5g {
    display: none;
    background: white;
    width: 100%;
    padding: 0 20px;
}
.content-container.active, .content-container5g.active {
    display: block;
}
.taxNotice{
    text-align: left;
    font-size: 1.3rem;
    font-weight: 600;
    padding-left: 10px;
    margin-top: 5px;
}


/* オプション(保証) */
.mainWrapper3{
    padding: 50px 0;
}
.optionArea{
    width: 100%;
    margin-bottom: 12px;
    position: relative;
}
.optionSection{
    border: 1px solid #E6E6E6;
    border-radius: 5px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 20px 20px;
    padding-bottom: 45px;
}
.optionSection2{
    border: 1px solid #E6E6E6;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 20px;
    padding: 20px 20px;
}
.optionTxtPrice{
    font-size: 1.3rem;
    font-weight: 600;
    
}
.optiontxtPoint{
    font-size: 1.8rem;
    font-weight: bold;
}
.optionTxtdetail{
    font-size: 1.3rem;
}
.optionImg{
    margin-top: 10px;
}
.optionDelayTitle{
    text-align: left;
    font-size: 1.4rem;
    font-weight: 600;
    width: 100%;
}
.optionDetailBtn{
    position: absolute;
    bottom: 0px;
    border: 1px solid #202124;
    border-radius: 12px;
    padding: 4px 25px;
    transform: translate(-50%, -50%);
    width: 90%;
    margin-bottom: 10px;
    transition: .3s;
}
.optionDetailBtn:hover{
    background: #202124;
    color: #ffffff;
}
.optionRibbon{
    background: linear-gradient(135deg, #FBB03B 0%, #C1272D 100%);
    color: #ffffff;
    font-weight: 600;
    margin: 0 0 15px -20px;
    padding: 8px 10px;
    --r: .8em;
    padding-inline: calc(var(--r) + .3em);
    line-height: 1.8;
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--r)) 50%, 100% 100%, 0 100%);
    width: fit-content;
}
.optionNotes{
    width: 100%;
    text-align: left;
    margin: 5px 0 20px 0;
}

/* BANNER */
#support-wrap h1{
    font-weight: bold;
    font-size: 18px;
    margin: 0 0 10px;
}
#support-wrap .image img {
    width: 100%;
}
#support-wrap .image,
#support-wrap .popup-modal-dismiss {
    text-align: center;
}
#support-wrap{
    position: relative;
    margin:10px auto;
    width: 80%;
    max-width: 1050px;
    border-radius: 10px;
    background: #ffffff;
    padding: 50px 20px 60px 20px;
}
.closeBtn{
    background-color: transparent;
    color: #202124 !important;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #202124;
    padding: 10px;
    margin: 20px;
    width: 160px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
}
.closeBtn:hover{
    background-color: #202124;
    color: #FFFFFF !important;
}


/* オプション（プラン) */
.mainWrapper4{
    background-color: #F6F6F6;
    padding: 40px 0;
}
.optionArea1{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    margin: auto;
    padding: 0;
}
.optionArea2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    margin: auto;
    padding: 0;
}
.optionItemArea{
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #E6E6E6;
    padding: 25px 25px 50px 25px;
    position: relative;

}
.optionItemTitle{
    font-size: 1.8rem;
    font-weight: bold;
}
.optionItemSubTitle{
    color: #F57C5B;
}
.optionItemSubArea{
    width: 100%;
}
.optionItemSubAreaTxt{
    width: 60%;
}
.optionItemSubAreaImg{
    width: 40%;
}
.optionItemSubAreaImg img{
    max-width: 90%;
}

.optionItemDetailTxt{
    margin-top: 10px;
    font-size: 1.1rem;
}
.optionItemDescription{
    margin-top: 20px;
    font-size: 1rem;
}
.optionItemDescription a{
    font-size: 1.2rem;
    color: #CC0000;
    text-decoration: underline !important;
}
.optionItemDescription a:hover{
    color: #ee9595;
}


/* 宅配受取・返却 */
.mainWrapper5{
    background-color: #FFFFFF;
    padding: 50px 0 40px 0;
}
.deliveryArea{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    margin: auto;
    padding: 0;
}
.deliveryItemArea{
    width:100%;
    background-color: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #E6E6E6;
    padding: 25px;
}
.deliveryItemAreaSub{
    width: 50%;
}
.deliveryNotice{
    width: 100%;
    margin-left: 20px;
    text-align: left;
    font-size: 1rem;
}


/* 延長料金 */
.mainWrapper6{
    background-color: #FFFFFF;
    padding: 0 0 40px 0;
}
.mainWrapper6 h2{
    color: #202124;
}
.mainWrapper6 h3{
    color: #202124;
    margin-bottom: 20px;
}
.mainWrapper6 h4{
    font-size: 2rem;
}
.planLateTable{
    width: 100%;
    margin-bottom: 20px;
}
.planLateTable table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 200 !important;
    line-height: 0.1rem;
}
.planLateTable table td {
    font-weight: bold;
}
table th, table td {
    padding: 5px 8px !important;
}
table th {
    font-weight: 600;
}
.border-transp-left{
    border-left: 1px solid transparent !important;
}
.border-transp-top{
    border-top: 1px solid transparent !important;
}
.optionTableArea1{
    width: 37%;
}
.optionTableArea2{
    width: 21%;
    margin-left: 8px;
}


/* ご利用の流れはとてもシンプル */
.mainWrapper7{
    background: url('../img/plan_new/flow_bg_plan.png') center center / cover no-repeat;
    padding: 40px 0;
}
.mainWrapper7 h2{
    color: #FFFFFF;
}
.flowSimpleArea{
    margin: 20px 0 30px 0;
    width: 100%;
}
.flowArea{
    background-color: #FFFFFF;
    width: 30%;
    min-height: 285px;
    border-radius: 8px;
    padding: 30px 20px;
    position: relative;
}
.circleArea{
    position: absolute;
    top: -14px
}
.circleIcon img{
    max-width: 34px;
    display: block; 
    height: auto;
}
.circleIconText{
    position: absolute;
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: bold;
    top: 6px;
    left: 7px;
} 
.Arrow{
    width: 30px;
    margin: 0px 0px 0px 0px;
    padding: 0px 10px 0px 0px;
    background-color: transparent;
    position: relative;
}
.Arrow::after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px; 
    border-top: 2px solid #ffffff; 
    border-right: 2px solid #ffffff; 
    transform: rotate(45deg); /* 45:> , 225:< , 135:∨ , 315:∧ */
}
.ArrowMini{
    width: 30px;
    margin: 0px 0px 0px 0px;
    /* padding: 0px 20px 50px 220px; */
    background-color: transparent;
    position: relative;
    left: 180px;
    bottom: 14px;
}
.ArrowMini::after {
    position: absolute;
    content: '';
    width: 6px;
    height: 6px; 
    border-top: 1px solid #ffffff; 
    border-right: 1px solid #ffffff; 
    transform: rotate(45deg); /* 45:> , 225:< , 135:∨ , 315:∧ */
}
.flowArea h3{
    color: #202124;
    margin: 10px;
}
.flowAreaContents{
    padding-top: 20px;
}
.flowAreaDetaillBtn{
    font-size: 1.3rem;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    padding: 10px 60px;
    margin-bottom: -20px;
}
.flowAreaDetaillBtn span{
    color: #FFFFFF;
}
.flowAreaDetaillBtn:hover, .flowAreaDetaillBtn:hover span{
    color: #d1d1d1;
    border-color: #d1d1d1;
}


/* その他のサービス */
.mainWrapper8{
    background-color: #FFFFFF;
    padding: 50px 0 40px 0;
}
.otherServicesArea{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    margin: auto;
    padding: 20px;
}

#inline-wrap_unlimited h2, #inline-wrap_5g_important h2{
    all: unset;
    display: block;
    font-weight: bold;
    font-size: 18px;
    margin: 0 0 10px
}

/* cancellation */
.cancellation-plan .optionTxtPrice  {
    line-height: 1.1;
}

.percent-cancellation-fee {
    font-weight: 600;
    font-size: 3.2rem;
}

#inline-wrap_cancel { 
    position: relative;
    margin: 10px auto;
    max-width: 600px;
    background: #fff;
    padding: 20px; 
}

#inline-wrap_cancel .image img {
    width:100%;
    max-width: 600px;
}

#inline-wrap_cancel .image,
#inline-wrap_cancel .popup-modal-dismiss {
    text-align: center;
}
/* end cancellation */

@media (max-width: 799px) {
    .plan_wifi h2{
        font-size: 2.2rem !important;
    }

    .mainWrapper1, .mainWrapper2, .mainWrapper3, .mainWrapper4, .mainWrapper5, .mainWrapper6, .mainWrapper7, .mainWrapper8{
        padding: 40px 15px;
    }

    /* TOP */
    .layoutArea .topWrapper{
        background: url('../img/plan_new/sp_top_bg_plan.png') center center / cover no-repeat;
        min-height: 70vw;
    }
    .topWrapper .contents{
        padding: 0;
    }

    .contents h3{
        font-size: 2rem;
    }
    .contents p {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .topLogo{
        width: 75%;
        margin-top: 50px;
    }
    .topWifiLogo{
        width: 60%;
    }

    /* NINJA WiFiの強み */
    .mainWrapper1{
        padding-top: 0;
        margin: 60px 0 10px;
    }
    .wifiStrengthArea{
        gap: 20px 10px;
    }
    .wifiStrengthLogo{
        margin-bottom: 10px;
    }
    .wifiStrength{
        width: calc(50% - 5px);
        margin: 0;
        padding: 0;
    }
    .wifiStrength p{
        font-size: 1.6rem;
    }

    /* 料金・プラン */
    .planSection {
        grid-template-columns: 1fr;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .planSection4g{
        margin: 0 0 10px 0;
    }
    .planSection5g{
        margin: 0;
    }
    .planSectionBox5g{
        width: 100%;
    }
    .planSectionBox{
        width: calc(50% - 5px);
    }
    .taxNotice{
        margin: 5px auto 0;
        padding: 0;
    }

    /* オプション */
    .mainWrapper6{
        padding-top: 0;
    }
    .mainWrapper6 h4{
        font-size: 1.6rem;
    }
    .optionArea1 {
        grid-template-columns: 1fr;
    }
    .optionArea2 {
        grid-template-columns: 1fr;
    }
    .optionSection2{
        margin: 0;
    }

    /* 宅配受取・返却 */
    .deliveryArea {
        grid-template-columns: 1fr;
    }
    .planLateTable table th, .planLateTable table td{
        text-align: center !important;
    }
    .otherServicesArea {
        grid-template-columns: 1fr;
    }
    .optionTableArea1 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        margin: auto;
    }
    .planLateTable2{
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px;
        margin: 10px 0;
    }
    .optionTableArea3{
        text-align: center;
        padding: 0;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    /* ご利用の流れはとてもシンプル */
    .flowSimpleArea{
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        padding-left: 20px;
    }
    .flowArea{
        width: 100%;
        min-height: 0;
        border-radius: 8px;
        padding: 25px 20px 25px 35px;
        position: relative;
    }
    .circleArea{
        position: absolute;
        top: 50%;
        left: -13px;
        transform: translateY(-50%);
    }
    .circleIcon{
        transform: rotate(-90deg);
    }
    .circleIcon img{
        max-width: 34px;
        display: block; 
        height: auto;
    }
    .circleIconText{
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
    } 
    .flowAreaContents{
        padding-top: 0px;
        flex-direction: row;
    }
    .flowAreaContents img{
        max-width: 65px;
    }
    .flowTxtAreaSp{
        padding-left: 20px;
    }
    .flowArea h3{
        margin: 0 0 10px 0;
    }

    /* cancellation */
    .percent-cancellation-fee {
        font-size: 2.8rem;
    }
}


