@media screen and (min-width: 640px) {

    .pc-only{
        display: block;
    }
    .sp-only{
        display: none;
    }

    .flow .inner{
        position: relative;
        width: 1000px;
    }
    
    .flow-bg{
        padding: 175px 0 15px;
        background: url(../img/page/support/2512/flow-bg-pc.png) no-repeat center / cover;
    }
    
    .flow h2{
        margin: 0 0 50px;
        color: #0a97ac;
        font-weight: bold;
        font-size: 56px;
        text-align: center;
        line-height: 1;
    }
    
    .flow h2 span{
        font-size: 36px;
    }
    
    .flow-plane{
        position: absolute;
        top: -150px;
        right: 0;
        width: 333px;
    }

    .flow-plane img{
        width: 100%;
    }

    .flow-item{
        height: 325px !important;
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        width: 1000px;
        margin: 0 auto;
        padding: 40px 40px 0 45px;
        background: #0a97ac;
    }
    
    .flow-item-content{
        width: 450px;
    }

    .flow-item-img{
        width: 415px;
    }

    .flow-item-img img{
        width: 100%;
    }
    
    .flow-item-img img{
        vertical-align: middle;
    }
    
    .flow-item-content-wrap{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 35px;
        margin: 0 0 13px;
    }
    
    .flow-item-content-step{
        color: #f0e91f;
        font-size: 24px;
        font-family: "Roboto", sans-serif;
        line-height: 1;
    }
    
    .flow-item-content-step span{
        font-weight: bold;
        font-size: 56px;
    }
    
    .flow-item-content-title{
        color: #ffffff;
        font-weight: bold;
        font-size: 30px;
        font-weight: bold;
        line-height: 1.4;
    }
    
    .flow-item-content-title.diff{
        color: #ffffff;
        font-weight: bold;
        font-size: 28px;
        font-weight: bold;
        line-height: 1.4;
    }
    
    .flow-item-content-text{
        color: #ffffff;
        font-weight: bold;
        font-size: 16px;
        line-height: 1.81;
    }
    
    .flow-item-content-num{
        position: absolute;
        bottom: -65px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        font-family: "Roboto", sans-serif;
        color: #0a97ac;
        font-weight: bold;
        font-size: 18px;
        text-align: center;
    }
    
    /* ページネーション（バー） */
    .flow-pagination.swiper-pagination-progressbar {
        width: 910px !important;
        height: 5px !important;
        top: auto !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        background-color: #e4e4e4;
      }
    
    .flow .swiper-wrapper{
        margin: 0 0 110px;
    }  
      
    .flow-pagination .swiper-pagination-progressbar-fill {
        background-color: #0a97ac !important;
    }
    
    /* 矢印 */
    .flow-button-prev,
    .flow-button-next {
        top: 280px !important;
        width: 20px !important;
        height: 40px !important;
        border-radius: 50%;
    }
    
    .flow-button-prev::after,
    .flow-button-next::after {
        font-size: 40px !important;
        color: #179db1;
    }
    
    /* 矢印の位置 */
    .flow-button-prev {
        left: -40px !important;
    }
    
    .flow-button-next {
        right: -40px !important;
    }
      
    .cta-bg{
        padding: 30px 0 0;
        background: #e5fdff;
    }

    .cta .inner{
        max-width: 1000px;
        width: 90%;
    }
    
    .cta h2{
        position: relative;
        margin: 0;
        padding: 24px 0;
        border-radius: 30px 30px 0 0;
        background: #f0e91f;
        color: #0098ae;
        font-weight: bold;
        font-size: 36px;
        text-align: center;
    }
    
    .cta h2::before{
        content: "";
        position: absolute;
        bottom: -18px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        width: 65px;
        height: 25px;
        background: url(../img/page/support/2512/cta-ttl-arrow.png) no-repeat center / contain;
    }
    
    .cta-buttons{
        padding: 40px 0 30px;
        background: #ffffff;
        border-radius: 0 0 30px 30px;
    }

    .cta-buttons-wrap{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 25px;
    }
    
    .cta-buttons-tel {
        pointer-events: none;
        display: block;
        width: 470px;
        margin: 0 auto 29px;
    }

    .cta-buttons-counseling {
        display: block;
        width: 410px;
    }

    .cta-buttons-document {
        display: block;
        width: 410px;
    }

    .cta-buttons a img{
        width: 100%;
    }
}

@media screen and (max-width: 1120px) {
    .flow .inner{
        transform: scale(0.85);
        transform-origin: top center;
    }

    .cta{
        margin: -76px 0 -25px;
    }
    
    .cta .inner{
        transform: scale(0.95);
        transform-origin: top center;
    }
}

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

    .pc-only{
        display: none;
    }
    .sp-only{
        display: block;
    }

    .flow .inner{
        position: relative;
        transform: scale(1);
    }

    .cta{
        margin: 0;
    }
    
    .cta .inner{
        transform: scale(1);
    }
    
    .flow-bg{
        padding: 40px 0 35px;
        background: url(../img/page/support/2512/flow-bg.png) no-repeat top / cover;
    }
    
    .flow h2{
        color: #0a97ac;
        font-weight: bold;
        font-size: 38px;
        text-align: center;
    }
    
    .flow h2 span{
        font-size: 20px;
    }
    
    .flow-plane{
        position: absolute;
        top: -45px;
        right: 2%;
        width: 50%;
    }
    
    .flow-item-content{
        height: 350px;
        padding: 20px 30px 0;
        background: #0a97ac;
    }
    
    .flow-item-img img{
        vertical-align: middle;
    }
    
    .flow-item-content-wrap{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        margin: 0 0 15px;
    }
    
    .flow-item-content-step{
        color: #f0e91f;
        font-size: 18px;
        font-family: "Roboto", sans-serif;
        line-height: 1;
    }
    
    .flow-item-content-step span{
        font-weight: bold;
        font-size: 40px;
    }
    
    .flow-item-content-title{
        color: #ffffff;
        font-weight: bold;
        font-size: 23px;
        font-weight: bold;
        line-height: 1.5;
    }
    
    .flow-item-content-title.diff{
        color: #ffffff;
        font-weight: bold;
        font-size: 19px;
        font-weight: bold;
        line-height: 1.5;
    }
    
    .flow-item-content-text{
        color: #ffffff;
        font-weight: bold;
        font-size: 15px;
        line-height: 1.67;
    }
    
    .flow-item-content-num{
        margin: 30px 0 0;
        font-family: "Roboto", sans-serif;
        color: #0a97ac;
        font-weight: bold;
        font-size: 16px;
        text-align: center;
    }
    
    /* ページネーション（バー） */
    .flow-pagination.swiper-pagination-progressbar {
        width: 80% !important;
        height: 5px !important;
        top: auto !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        background-color: #e4e4e4;
      }
    
    .flow .swiper-wrapper{
        margin: 0 0 40px;
    }  
      
    .flow-pagination .swiper-pagination-progressbar-fill {
        background-color: #0a97ac !important;
    }
    
    /* 矢印 */
    .flow-button-prev,
    .flow-button-next {
        top: auto !important;
        bottom: 14px !important;
        width: 21px !important;
        height: 21px !important;
        border-radius: 50%;
    }
    
    .flow-button-prev::after,
    .flow-button-next::after {
        font-size: 23px !important;
        color: #179db1;
    }
    
    /* 矢印の位置 */
    .flow-button-prev {
        left: 0 !important;
    }
    
    .flow-button-next {
        right: 0 !important;
    }
      
    .cta-bg{
        padding: 60px 0 0;
        background: #e5fdff;
    }
    
    .cta h2{
        position: relative;
        padding: 16px 0;
        border-radius: 10px 10px 0 0;
        background: #f0e91f;
        color: #0098ae;
        font-weight: bold;
        font-size: 23px;
        text-align: center;
        line-height: 1.41;
    }
    
    .cta h2::before{
        content: "";
        position: absolute;
        bottom: -18px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        width: 65px;
        height: 25px;
        background: url(../img/page/support/2512/cta-ttl-arrow.png) no-repeat center / contain;
    }
    
    .cta-buttons{
        padding: 30px 20px 20px 20px;
        background: #ffffff;
        border-radius: 0 0 10px 10px;
    }
    
    .cta-buttons a{
        display: block;
        margin: 0 0 7px;
    }

    .support .contents section:nth-child(16) .flex, .support .contents section:nth-child(20) .flex {
        display: block;
    }
    .support .contents section:nth-child(16) .flex div:not(:first-child), .support .contents section:nth-child(20) .flex div:not(:first-child) {
        margin-top: 20px;
    }
    .support .contents section:nth-child(16) .flex div h3, .support .contents section:nth-child(20) .flex div h3 {
        display: inline-block;
        vertical-align: middle;
        width: 73%;
        text-align: left !important;
    }
    .support .contents section:nth-child(16) .flex div img, .support .contents section:nth-child(20) .flex div img {
        display: inline-block !important;
        width: 23%;
        height: auto;
        margin-right: 2% !important;
        vertical-align: middle !important;
    }
}


.support .contents section:nth-child(5) .flex div, .support .contents section:nth-child(16) .flex div, .support .contents section:nth-child(20) .flex div {
	padding: 0 15px;
	width: 100%;
}
.support .contents section:nth-child(5) .flex div h3, .support .contents section:nth-child(16) .flex div h3, .support .contents section:nth-child(20) .flex div h3 {
	font-size: 18px;
	color: #0997ac;
	text-align: center;
	margin: 20px 0 0;
}
.support .contents section:nth-child(5) .flex div img, .support .contents section:nth-child(16) .flex div img, .support .contents section:nth-child(20) .flex div img {
	text-align: center;
	margin: 0 auto;
	display: block;
}