.f-bold{
    font-weight: bold;
}
.text-white{
    color: #fff;
}
.text-light-black{
    color: #333333;
}
.text-red{
    color: #C51317;
}
.text-grey{
    color: #FAFAFA;
}
.text-gold{
    color: #E3B94D;
}
.bg-white{
    background: #fff;
}
.bg-red{
    background-color: #C51317;
}
.bg-ribbon-red{
    background: #C51317;
}
.bg-ribbon-yellow{
    background: #D1A815;
}
.bg-ribbon-blue{
    background: #2E76A7;
}
.bg-ribbon-green{
    background: #00838E;
}
.bg-black{
    background: #1A1A1A;
}
.bg-light-blak{
    background: #333333;
}
.layoutArea h2{
    font-size: 2.5rem;
}
.fd-column{
    flex-direction: column;
}

/* MAIN TOP */
.mainvisual{
    background: url(../../img/plan/sim/mv_background.png) center top / cover no-repeat;
    min-height: 485px;
}
.mainvisual h1{
    display: none;
}
.mvContents{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mvContents img{
    width: 40%;
    margin-bottom: 30px;
}
.btn_sim_order{
    display: inline-block;
    background-color: #cc0100;
    color: white!important;
    font-size: 1.3rem;
    padding: 10px 0;
    border-radius: 40px;
    width: 30%;
    position: relative;
}
.btn_sim_order::after, .btn_notes::after{
    position: absolute;
    right: 20px;
    top: 50%;
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}
.btn_sim_order:hover{
    background: #db0000;
    transition: .3s;
    text-decoration: none;
}

/* SIM SERVICE OVERVIEW */
.divServiceOverview{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 -20px;
}
.overviewBox{
    width: 25%;
    padding: 20px;
}
.overviewBox img{
    width: 70%;
}
.overviewBox p{
    font-size: 14px;
}
.overviewBoxTitle{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75px;
}

/* SHOW PLAN */
.showPlan{
    background: url(../../img/plan/sim/plan_background.png) center top / cover no-repeat;
}
.planLineTitle{
    display: flex;
    align-items: center;
    justify-content: center;
}
.planLineTitle h2{
    margin: 0 20px;
    white-space: nowrap;
}
.planLineDeco{
    background-color: #fff;
    width: 100%;
    height: 1px;
}
.planLineDecoDimond{
    background-color: #fff;
    width: 14px;
    height: 5px;
    transform: rotate(45deg);
}
.divShowPlan{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px -10px 0;
}
.showPlanBox{
    width: calc(33.3% - 20px);
    margin: 20px 10px;
    padding: 20px;
    border-radius: 15px;
    background-color: white;
    position: relative;
}
.showPlanBox h3.term{
    font-size: 1.5rem;
    margin: 10px 0;
}
.showPlanBox h3.term span{
    font-size: 1.2rem;
}
small.note {
    color: white;
}
.ribbon {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    padding: 4px 0 4px 0;
    --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%, var(--r) 50%);
    width: 90%;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}
.btn_notes{
    display: block;
    font-size: 0.9rem;
    padding: 5px;
    border-radius: 40px;
    border: 1px solid;
    border-color: #C51317 #C51317;
    position: relative;
    margin-top: 20px;
}
.btn_notes::after{
    width: 5px;
    height: 5px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}
.btn_notes:hover{
    transition: .3s;
    text-decoration: none;
    opacity: .9;
}

/* HOW TO USE */
.howToUse{
    background: url(../../img/plan/sim/how_background.png) repeat;
}
.howToUseSubTitle{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 50px;
}
.howtoSetting{
    position: relative;
    padding: 0 35px;
    font-size: 1.5rem;
}
.howtoSetting::before, .howtoSetting::after{
    content: "";
    display: inline-block;
    background: url(../../img/plan/sim/howto_icon.png) center / contain no-repeat;
    width: 25px;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.howtoSetting::after{
    left: initial;
    right: 0;
}
.howToContents{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 -20px;
}
.howToBox{
    width: calc(25% - 40px);
    padding: 20px;
    margin: 0 20px;
    background-color: #fff;
    position: relative;
    border-radius: 10px;
}
.howToBox::after {
    position: absolute;
    right: -23px;
    top: 50%;
    content: '';
    width: 15px;
    height: 15px; 
    border-top: 2px solid #ffffff; 
    border-right: 2px solid #ffffff; 
    transform: translateY(-50%) rotate(45deg); /* 45:> , 225:< , 135:∨ , 315:∧ */
}
.howToBox:last-child:after{
    display: none;
}
.howToBoxNo{
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}
.howToBox img{
    height: 130px;
}
.howToBox p{
    margin-top: 20px;
    font-size: 14px;
}
.option{
    background-color: #F6F6F6;
}
.optionArea{
    width: 100%;
    margin-bottom: 12px;
    position: relative;
}
.optionArea2{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    width: 50%;
    margin: auto;
    padding: 0;
}
.optionItemArea{
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #E6E6E6;
    padding: 25px 25px 50px 25px;
    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.3rem;
    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%;
}
.optionItemTitle{
    font-size: 1.4rem;
    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: 0.9rem;
}
.optionItemDescription{
    margin-top: 20px;
    font-size: 1rem;
}
.optionItemDescription a{
    font-size: 1.2rem;
    color: #CC0000;
    text-decoration: underline !important;
}
.optionItemDescription a:hover{
    color: #ee9595;
}
.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;
}
.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;
}
.taxNotice{
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding-left: 10px;
    margin-top: 5px;
}

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

    .layoutArea h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    /* MAIN TOP */
    .layoutArea.mainvisual .wrapper{
        padding: 30px 20px;
    }
    .mainvisual{
        background: url(../../img/plan/sim/mv_background_sp.png) center / cover no-repeat;
        min-height: 0;
    }
    .mvContents img{
        width: 95%;
    }
    a.btn_sim_order{
        font-size: 1.2rem;
        width: 100%;
        padding: 10px;
    }

    /* SIM SERVICE OVERVIEW */
    .divServiceOverview{
        margin: 0 -10px;
    }
    .overviewBox{
        width: 50%;
        margin: 0;
        padding: 10px;
        text-align: center;
    }
    .overviewBoxTitle{
        margin-top: 10px;
        min-height: auto;
    }
    .overviewBoxTitle h3{
        font-weight: bold;
        font-size: 1rem;
    }

    /* SHOW PLAN */
    .layoutArea.showPlan .wrapper{
        padding: 50px 0;
    }
    .planTitle{
        scroll-margin-top: 60px;
    }
    .planTitle span{
        font-size: 1rem;
    }
    .planContents{
        overflow: scroll;
        margin: 20px 0 40px 20px;
    }
    .planContents.softbank{
        margin-bottom: 0;
    }
    .divShowPlan{
        flex-wrap: nowrap;
        width: 1800px;
    }
    .softbank .divShowPlan{
        width: 900px;
    }
    .showPlanBox{
        margin: 0 10px;
    }
    .showPlanBox h3.term{
        font-size: 2rem;
    }
    .showPlanBox h3.term span{
        font-size: 1.6rem;
    }
    .showPlanBox .price{
        font-size: 1rem;
    }
    small.note {
        margin: 5%;
        display: block;
    }
    .ribbon{
        font-size: 1rem;
    }
    a.btn_notes{
        font-size: .8rem;
    }
    .btn_notes::after{
        right: 15px;
    }

    /* HOW TO USE */
    .howToUseSubTitle{
        margin: 20px 0;
    }
    .howtoSetting{
        font-size: 1.5rem;
    }
    .howToContents{
        margin: 0;
    }
    .howToBox{
        width: 100%;
        margin: 0 0 30px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    .howToBox::after{
        width: 13px;
        height: 13px;
        top: initial;
        bottom: -18px;
        left: 50%;
        transform: translateX(-50%) rotate(135deg);
    }
    .howToBox img{
        width: 40%;
        height: auto;
    }
    .howToBox p{
        width: 50%;
        margin-top: 0;
    }
    .optionDiv{
        grid-template-columns: 1fr;
    }
    .optionArea1 {
        grid-template-columns: 1fr;
    }
    .optionArea2 {
        grid-template-columns: 1fr;
        width: 100%;
    }
    .optionSection2{
        margin: 0;
    }
}