body{margin: 0;}
.marTs{margin-top: 5%;}
.marBms{margin-bottom: 80px;}
.marBm{margin-bottom: 10%;}
.fontS{font-size: 14px;}
.color1{color: aquamarine;}
.color2{color: gray;}

.mBgBlock{
    background-image: url('../img/test.png');
    height: 723px;
    background-size: cover;
    margin-bottom: 7%;
}
.mTexPlace{
    display: flex;
    align-items:center;
    height: inherit;
    justify-content: center;
    animation-name: mPicTShow;
    animation-duration: 5s;
}
.mTexPlace h1{
    background-color:black;
    opacity: 0.7;
    font-weight: bold;
    font-size: 48px;
    color: white;
    padding: 8px 16px;
    border-radius:4px;
}
@keyframes mPicTShow {
from {opacity: 0;height: 50%;}
to {opacity: 1;height: 100%;}
} 
.visaType{height: 600px;}
.visaType, .vityPicg div, .flowblock{text-align: center;}
.visaType h2, .flowblock h2, .stuVisBlo h2, .jobVisblock h2, .bossVisBlo h2{
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
}
.vityPicg{
    display: flex;
    margin:0 5% 5% 5%;
}
.vityPicg img{width: 80%;transition: 2s;}
.vityPicg img:hover {width: 70%;}

.serve, .stuVisBlo{
    height:625px;
    background-size:cover;
    background-position:center
    ;position:relative
}
.serve{background-image: url('../img/ask.jpg');}
.serBtn{
    text-decoration: none;
    font-size: 32px;
    background: linear-gradient(to top left, #FBDA61 0%, #FF5ACD 100%);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: #330867;
    box-shadow: 4px 5px 4px grey;
}
.serBtn:hover{
    color:whitesmoke;
    background: linear-gradient(to top left, #FF5ACD 0%, #FBDA61 100%);
}
.flowblock li, .stuVisBlo li, .jobVitems li, .bossVisBlo li{list-style: none;}
.flowPicBg{
    background-image: url('../img/flow_1.png');
    height: 625px;
    max-width: 75%;
    background-size: cover;
    font-size: 22px;
    position: relative;
    margin: auto;
    text-align: left;
}
.flowPicBg ul{
    padding: 16px;
    background-color: azure;
    border-radius: 8px;
    /* animation-name: flowText; */
    display: none;
    animation-duration: 3s;
}
.flowPicT1{position: absolute;left: 0;top: 0;}
.flowPicT2{position: absolute;right: -50px;top: 0}
.flowPicT3{position: absolute;right: 0;bottom: -105px;}
.flowPicT4{position: absolute;bottom: -150px;left: 0;}

@keyframes flowText {from {opacity: 0;}to {opacity: 1;}} 
@keyframes hidT {from {opacity: 0;}to {opacity: 1;}} 

.stuVisBlo{background-image: url('../img/tokyoU.jpg');}
.stuVisBlo div, .bossVisBlo div{
    position: absolute;
    font-size:20px;
    line-height: 30px;
    border: 2px solid gray;
    padding: 20px;
    box-shadow: 3px 3px 4px black;
}
.stuVisBlo div{
    width:35%;
    right: 15%;
    top: 15%;
    background-color: black;
    color:white;
    opacity: 0.8;
}
.jobVisblock{text-align: center;font-size: 20px;line-height: 32px;}
.jobVitems{display: flex;justify-content: space-evenly;margin-bottom: 80px;}
.jobVitems img{width: 25%;}
.jobVisblock ul{padding-left: 0;text-align: left;width: 35%;}
.jobViteAlign{display: flex;flex-flow: column;justify-content: center;}

.bossVisBlo{
    position: relative;
    height: 625px;
    background-color: papayawhip;
}
.bossVisBlo img{
    height:325px;
    position: absolute;
    top: 12%;
    left: 5%;
    border-radius: 4px;
}
.bossVisBlo div{
    bottom:8%;
    right:5%;
}
footer{
    background-color: silver;
    width: 100%;
    text-align: center;
    padding: 1% 0;
    font-size: 14px;
}
footer p{margin-bottom: 0;}
.topBtn{
    position: fixed;
    width: 5%;
    bottom: 2%;
    right: 2%;
    cursor: pointer;
    display: none;
    animation-duration: 3s;
}
.qrCblock{
    position: fixed;
    bottom: 1%;
    left: 1%;
}
.qrCblock p{
    font-weight: bold;
    font-size: 24px;
    margin: 0;
}
.qrCblock img{width: 30%;}
.rwdSmall1{width: 50%;margin: auto;text-align: justify;margin-bottom:40px;}
.rwdSmall{width: 60%;margin: auto;text-align: justify;}

@media screen and (max-width: 1440px) {
    .visaType{height: 420px}
    .stuVisBlo div {width: 50%;}
    .jobVitems img{object-fit: contain;}
    .bossVisBlo img{left: 5%;}
    .rwdSmall{width: 60%;margin: auto;}
    .jobVisblock ul{width: 45%}
    .bossVisBlo img{opacity: .6;}
    .flowPicT4{bottom:-100px;}
}

@media screen and (max-width: 1024px) {
    .mBgBlock{
        height: 566px;
        background-position: center;
        background-repeat: no-repeat;
    }
    .vityPicg img {width: 75%;}
    .flowPicBg{height: 520px;}
    .bossVisBlo div{width: 50%}
    .jobVisblock{font-size: 18px;}
    .jobVitems img{width: 35%;}
    .bossVisBlo img{height: 210px}
}
@media screen and (max-width: 768px) {
    .mBgBlock{
        background-size: cover;
        height: 575px;
    }
    .mTexPlace h1{font-size: 32px;}
    .visaType{height: 330px;}
    .vityPicg img {width: 90%;}
    .flowPicBg{font-size: 20px;height: 420px;}
    .stuVisBlo div{width: 70%;}
    .jobVitems img{object-fit: contain;}
    .jobVisblock ul{width: 50%}
    .rwdSmall{width: 70%;}
    .bossVisBlo div{width: 85%;font-size: 18px;line-height: 26px;}
    .serve{height: 430px;}
}
@media screen and (device-width:415px), (max-width:415px){
    .marTs{margin-bottom: 15px;}
    .mBgBlock{height: 280px;}
    .mTexPlace h1, .flowPicBg{font-size: 16px;}
    .visaType h2, .flowblock h2, .stuVisBlo h2, .jobVisblock h2, .bossVisBlo h2{font-size: 24px;}
    .visaType{height: 1050px;}
    .vityPicg{flex-wrap: wrap;margin: 0;}
    .vityPicg img, .vityPicg img:hover{width: 55%;}
    .flowblock{margin-bottom: 80px;}
    .flowPicBg{max-width: 100%;margin: 0;height: 270px;}
    .flowPicT1{top: -10px;}
    .flowPicT2{right: 0;top: -60px;}
    .flowPicT3, .flowPicT4{bottom: -70px;}
    .flowPicT1, .flowPicT2, .flowPicT3, .flowPicT4{opacity: .6;}
    .stuVisBlo{height: 550px;}
    .stuVisBlo div{right: 1%;width: 85%;}
    .stuVisBlo div, .jobVisblock, .bossVisBlo div{font-size: 14px;line-height: 22px;}
    .jobVitems{flex-wrap: wrap;margin-bottom: 40px;}
    .jobVitems img, .jobVisblock ul, .rwdSmall{width: 80%;}
    .rwdSmall1{margin-bottom: 20px;width:65%;}
    .bossVisBlo{height: 500px;}
    .bossVisBlo img{left: 0;height: 180px;opacity: .4;}
    .bossVisBlo div{border: none;box-shadow: none;bottom: 5%;padding: 0;right: 10%;}
    .serve{height: 190px;}
    .serBtn{font-size: 14px;}
    .flowPicBg, footer p{font-size: 12px;}
}
    @media screen and (max-width:320px){
    .mBgBlock{height: 180px;}
    .vityPicg img{width: 70%;}
    .flowPicT3, .flowPicT4{bottom: -50px;}
    .jobVitems img{width: 90%;}
    .jobVisblock ul{width: 60%;}
    .rwdSmall{width: 75%;}
}

