.left{
    text-align: left;
}
.center{
    text-align: center;
}
.right{
    text-align: right;
}
#roots {
    margin: 2% 0 0 0;
    font-size: 1rem;
}
#roots .wrappar {
    display: none;
}
 
/*文字サイズセット*/
#txt-bar h1 {
    font-size: 24px;
}

#pg-main{
    display: block;
    max-width: 100%;
    margin: 20px auto 0;
}
#pg-main p{
    margin: 0;
}
#pg-main p,h1,h2,h3{
    margin: 0;
}
#pg-main a {
    color: inherit;text-decoration: none;
}
/*newbase相殺*/
#pg-main .container{
    padding-top: 0;
    padding-bottom: 0;
}
#pg-main h2{
    padding-top: 0;
    padding-bottom: 8px;
    border-bottom: 3px solid #1d2088;
}

#txt-bar {
    margin-bottom: 40px;
}
#txt-bar .sub-txt{
    font-size:14px;
    margin-top: 10px;
}

#txt-bar .title-wrapper{
    background: #0B318F;
    width:100%;
    padding: 8px 0;
    margin-bottom: 30px;
    text-align:left;
}
#txt-bar h1{
    text-align: left;
    color: white;
    margin:0;
    padding: 0;
    padding-left: 15px;
    margin-left:15px;
    border-left:8px solid white;
}
#txt-bar h2{
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}
#txt-bar p {
    font-size: 16px;
}

#txt-bar-container{
    margin-bottom: 30px;
}
#txt-bar-container p:nth-of-type(1)::after{
    display: block;
    content: "";
    width: 100%;
    height: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

#flow {
    display: none;
}
#flow h2{
    font-size: 24px;
    font-weight: bold;
}
#flow p{
    font-size: 18px;
}
#flow .txt1{
    /*位置*/
    font-size: 18px;
    left: 46.5%;
}
#flow .txt2:nth-of-type(1){
    margin-top: 20px;
    font-size: 23px;
    margin-bottom: 10px;
}



.step-tittle {
    color: #0B318F;
    font-size: 2.2rem;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    line-height: 1;
    margin-bottom: 20px;
}

#step-01 , #step-02 , #step-03 , #step-04 {
    scroll-margin-top: 150px;
}

.self-container {
    display: flex;
    flex-flow: column wrap;
    margin: 0 0 30px;
    justify-content: center;
    align-items: center;
}

.self-container .self-box {
    border: solid 3px #0B318F;
    background-color: #ffffff;
    text-align: center;
    width: 240px;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.self-container .self-box:hover {
    background-color: #0B318F;
    color: #ffffff;
}

.self-step {
    font-weight: bold;
    font-size: 1.8rem;
    margin: 0 auto;
}

.self-step span {
    font-size: 2rem;
    color: #0B318F;
    margin-bottom: 20px;
}

.self-container .self-box:hover .self-step span {
    color: #ffffff;
}

.flow-arrow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 0;
    margin: 0 auto;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.triangle {
    margin-left: 8px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #0B318F;
    transform: rotate(90deg);
}

.btn-container {
    text-align: center;
    margin-top: 50px;
}

.btn-container .btn-a {
    width: 70%;
    height: 50px;
}

.self-step-container {
    padding-top: 80px;
    margin-top: -80px;
}

.self-step-inner {
    margin-top: 20px;
    border: solid 3px #0B318F;
    background: #ffffff;
    display: flex;
    padding: 10px;
    gap: 0
}

.self-step-inner .title {
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.self-step-inner .title span {
    font-size: 1.8rem;
    color: #0B318F;
    font-weight: bold;
}

.self-step-inner .red {
    color: red;
}

.self-step-inner .box {
    margin: 10px 0;
}

.self-step-inner .box .btn-d {
    max-width: initial;
}

.self-step-container .self-step-inner .text-area p {
    line-height: 1.6;
    font-size: 14px;
}

.self-step-inner .text-area {
    width: 100%;
}

.self-step-container .self-step-inner .text-area .large {
    font-weight: bold;
    line-height: 1.6;
    font-size: 18px;
}
.self-step-container .self-step-inner .text-area .bottom {
    margin-bottom: 10px;
}
.self-step-container .self-step-inner .text-area .narrow {
    line-height: 1.4;
    font-size: 14px;
}

.self-step-container .self-step-inner .text-area .image {
    text-align: center;
}

.self-step-inner.step-01 .text-area img {
    width: 100%;
    padding-bottom: 15px;
}

.self-step-inner .right-area {
    display: none;
    width: 0;
}

.self-step-inner .movie-area {
    display: flex;
    justify-content: flex-end;
    margin: 2rem auto 0;
}

.self-step-container .self-step-inner .right-area ,
.self-step-container .self-step-inner .movie-area{
    display: flex;
    align-items: center;
}

.self-step-container .self-step-inner .movie-area a {
    cursor: pointer;
    transition: 0.8s all;
}

.self-step-container .self-step-inner .movie-area a:hover {
    cursor: pointer;
    opacity: 0.5;
    transition: 0.8s all;
}

.self-step-container .self-step-inner .movie-area .youtube-txt {
    color: #555555;
    display: flex;
    justify-content: center;
    line-height: 2.4;
    text-decoration: underline;
}

.self-step-container .self-step-inner .right-area img {
    width: 100%;
    max-width: 200px;
}

.self-step-container .flow-arrow {
    padding: 40px 60px 0 0;
}

.self-step-container .triangle {
    border-top: 40px solid #0B318F;
    border-right: 30px solid transparent;
    border-left: 30px solid transparent;
    transform: rotate(0deg);
}

.self-step-container .self-step-inner .text-bold {
    font-weight: bold;
    font-size: 1.6rem;
}

.self-step-container .self-step-inner.step-02 .text-bold {
    padding-bottom: 10px;
}

.self-step-container .self-step-inner .text-bold a {
    text-decoration: underline;
    font-size: 1.6rem;
}

.self-step-container .self-step-inner.step-03 p {
    padding-bottom: 10px;
}

.self-step-inner.step-03 .box {
    margin-top: 0;
}

.self-step-inner.step-04 {
    display: block;
}

.self-step-inner.step-04 .swiper {
    overflow: hidden;
    position: relative;
}

.self-step-inner.step04 .swiper .swiper-wrapper {
    padding-bottom: 50px;
}

.self-step-inner.step-04 .swiper .swiper-pagination-bullet-active {
    background: #bad881;
}

.self-step-inner.step04 .swiper .swiper-wrapper .swiper-slide {

    display: flex;
    flex-direction: column;
    height: auto !important;
    justify-content: space-between;
}

.self-step-inner.step-04 .swiper .swiper-wrapper .swiper-slide p {
    text-align: justify;
    padding: 5px 0 5px;
    font-size: 1.2rem;
}

.self-step-inner.step-04 .swiper .swiper-wrapper .swiper-slide .text-bold {
    text-align: center;
    padding: 15px 0 0;
    font-size: 1.6rem;
}

.self-step-inner.step04 .swiper .swiper-wrapper .swiper-slide img {
    width: 100%;
}


.self-step-inner.step-02 {
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}


/*スマホブロック調整*/
/*
@media screen and (max-width:767px)
{
    /*文字サイズセット*//*
    #txt-bar h1{font-size: 24px;}
    #txt-bar h2{
        font-size: 18px;
        font-weight: bold;
    }
    #txt-bar {
        margin-bottom: 40px;
    }
}
*/

/*PC共通*/
@media screen and (min-width:768px)
{
    #roots {
        margin: 1% auto;
        font-size: 1rem;
    }
    #roots .wrappar {
        display: block;
    }
    #pg-main {
        max-width: 100%;
        max-width: 1000px;
        margin-top: 20px;
    }
    #txt-bar h1 {
        font-size: 32px;
    }
    .self-step-inner {
        padding: 30px 10px;
        gap: 0;
    }
    .self-step-inner .title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .self-step-inner .title span {
        font-size: 1.8rem;
    }
    .self-step-container .self-step-inner .text-area p {
        line-height: 1.8;
        font-size: 14px;
    }
    .self-step-container .self-step-inner .text-area .large {
        line-height: 2;
        font-size: 20px;
    }
    .self-step-container .self-step-inner .text-area .narrow {
        line-height: 1.2;
    }
}

/*col-md*/
@media screen and (min-width:992px)
{
    #pg-main {
        max-width: 100%;
        max-width: 1140px;
    }
    #flow {
        display: block;
    }
    #flow .txt1{
        /*位置*/
        font-size: 14px;
        left: 46.5%;
    }
    #txt-bar p {
        font-size: 18px;
    }
    .self-container .self-box {
        width: 200px;
        height: 240px;
    }
    .self-container {
        flex-flow: row wrap;
        margin: 0 auto;
        justify-content: space-between;
        align-items: center;
    }
    .self-step-inner {
        padding: 30px 5%;
        gap: 5%;
    }
    .self-step span {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    .triangle {
        transform: rotate(0deg);
        margin-left: 5px;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 25px solid #0B318F;
    }
    .self-step-inner .text-area {
        width: 70%;
    }
    .self-step-inner.step-02 .text-area {
        width: 65%;
    }
    .self-step-inner .right-area {
        width: 30%;
    }
    .self-step-inner.step-02 .movie-area {
        width: 30%;
    }
    .self-step-inner .title span {
        font-size: 2.8rem;
    }
    .self-step-inner .title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .self-step-container .self-step-inner .text-area p {
        line-height: 2;
        font-size: 16px;
    }
    .self-step-container .self-step-inner .text-area .narrow {
        line-height: 1.4;
        font-size: 16px;
    }
    .self-step-container .triangle {
        transform: rotate(0deg);
    }
    .self-step-inner.step-02 {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: flex-start;
    }
    .movie-area {
        margin: 0;
    }
}

@media screen and (min-width:1200px)
{
    .self-container .self-box {
        width: 240px;
        height: 240px;
    }

}



