/* // Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
    #companyapply .d-grid {
        display: block !important;
    }
    .rm-mobile {
        display: none;
    }
    .rm-pc {
        display: block;
    }
    .pl-m-5 {
        padding-left: 55px;
    }
    .div-text-wht {
        font-size: small;
        padding: 5px;
    }
    .m-width-100 {
        width: 100%;
    }
    .tab-pane {
        padding: 1rem !important;
    }
    .text-xxxlarger {
        font-size: x-large;
    }
    .info-block #info {
        font-size: large;
    }
    .country-block .text-xxxlarger.pl-5 {
        padding-left: 0px;
    }
    .main {
        margin-top: 80px;
    }
    .pd-m-logo {
        padding: 6px 15px;
        margin-left: 0px;
    }
    .mg-l-14em {
        margin-left: 0;
    }
    .mg-l-10em {
        margin-left: 0;
    }
    .mg-l-3em {
        margin-left: 0;
    }
    .footer a {
        padding: 0px;
    }
    .footer {
        padding: 13px 0px;
    }
    /* #home .tab-block>.nav-tabs>li>a>h4 {
        height: 90px;
    } */
    #home .animate_image {
        height: calc(100vw * 0.85);
    }
    #home .login-block-fixed {
        font-size: 41px;
        top: 1%;
    }
    #home .login-block-fixed .winform-border-red,
    #home .login-block-fixed .winform-border-blu {
        font-size: 16px;
        margin: 3px;
        padding: 3px;
        margin-left: 0;
    }
    .login-block-fixed div.row {
        padding-top: 0px;
    }
    #home .login-block-fixed button>h4 {
        font-size: 13px;
        padding: 0;
        text-align: left;
        margin: 0;
    }
    #home .login-block-fixed div.text-right {
        padding-right: 0;
        margin: 0;
    }
    #home .login-block div.text-right {
        padding-right: 0;
    }
    #home .login-block button>h4 {
        text-align: left;
        margin-right: 15px;
        font-size: 16px;
    }
    #home .login-block .winform-border-red,
    #home .login-block .winform-border-blu {
        font-size: 16px;
    }
    .glyphicon-linecenter {
        /* width: 7%; */
        width: 5%;
    }
    .fixed-text-img .info-block-fixed {
        font-size: 19px;
    }
    .fixed-text-img .info-block-fixed-en {
        font-size: 14px;
        top: 63%;
    }
    .vietnam-block .vietnam-block-fixed {
        top: 35%;
        left: 17%;
        font-size: 18px;
    }
    .indonesia-block .indonesia-block-fixed {
        top: 35%;
        left: 8%;
        font-size: 18px;
    }
    #contact #bs-select-1 {
        width: 313px;
    }
    .tcg-change-language {
        display: none;
    }
    .logo {
        /* width: 80%; */
        display: flex;
        align-items: center;
    }
    .logo img.logo_metro {
        width: 90%;
    }
    .sitepolicy h5.responsive {
        margin-top: -35px;
    }
    .sitepolicy br.responsive {
        display: none;
    }
    #home .login-block-fixed .tabtitle-en {
        height: 50px;
        margin: 1px;
        padding: 0;
    }
    .pd-bot-1 {
        padding-bottom: 1em;
    }
    #contact #textcontact.text-start-mobile {
        text-align: left;
    }
    .style-img-pdl {
        width: 90%;
    }
    .style-pdt {
        padding-top: 0;
    }
    .p-matching-wait-september {
        margin-top: 0;
    }
    .fs-gis-16px {
        font-size: 16px;
    }
    .step-space-company-fix {
        margin-left: 0;
    }
    .fs-13mb-detail-new {
        font-size: 13px;
    }
    /* .pt-1 {
        padding-top: 1rem !important;
    }
    .pt-2 {
        padding-top: 2rem !important;
    }
    .pt-3 {
        padding-top: 4rem !important;
    }
    .pt-4 {
        padding-top: 6rem !important;
    }
    .pt-5 {
        padding-top: 8rem !important;
    }
    .pb-1 {
        padding-bottom: 1rem !important;
    }
    .pb-2 {
        padding-bottom: 2rem !important;
    }
    .pb-3 {
        padding-bottom: 4rem !important;
    }
    .pb-4 {
        padding-bottom: 6rem !important;
    }
    .pb-5 {
        padding-bottom: 8rem !important;
    }
    .pb-6 {
        padding-bottom: 10rem !important;
    }
    .px-1 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .px-2 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    .px-3 {
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }
    .px-4 {
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }
    .px-5 {
        padding-left: 8rem !important;
        padding-right: 8rem !important;
    }
    .px-6 {
        padding-left: 10rem !important;
        padding-right: 10rem !important;
    } */
    .m-height-logo {
        min-height: 190px;
    }
    .m-h-logo {
        min-height: 160px !important;
    }
    .m-h-p {
        min-height: 60px;
    }
    .tdeventnew {
        width: 76%;
    }
    /* .m-h-tdnew {
        min-height: 5rem;
    } */
    #tddatenew {
        padding: 15px 0;
    }
}


/* // Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) {
    .footer br.responsive {
        display: none;
    }
    .sitepolicy br.responsive-small-link {
        display: none;
    }
    .sitepolicy span.responsive-small-link {
        padding-left: 0px;
    }
    #companyindex br.responsive {
        display: none;
    }
    #personindex br.responsive {
        display: none;
    }
}


/* // Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) and (max-width: 767.98px) {
    .mg-l-14em {
        margin-left: 0;
    }
    .mg-l-10em {
        margin-left: 0;
    }
    .mg-l-3em {
        margin-left: 0;
    }
    #home .tab-block>.nav-tabs>li>a>h4 {
        height: 52px;
    }
  
    #home .login-block-fixed {
        font-size: 48px;
    }
    #home .login-block-fixed .winform-border-red,
    #home .login-block-fixed .winform-border-blu {
        font-size: 24px;
        margin: 3px;
        padding: 3px;
        margin-left: 0;
    }
    #home .login-block-fixed .glyphicon-regist-login {
        top: 20%;
    }
    .vietnam-block .vietnam-block-fixed {
        top: 40%;
        left: 25%;
    }
    .indonesia-block .indonesia-block-fixed {
        top: 40%;
        left: 20%;
    }
    #contact #bs-select-1 {
        width: 497px;
    }
    #home .login-block .winform-border-red,
    #home .login-block .winform-border-blu {
        font-size: 20px;
    }
    .tcg-change-language {
        display: none;
    }
    .logo {
        display: flex;
        align-items: center;
    }
    /* .logo img.logo_metro {
        width: 50%;
    }
    .logo img.logo_jobfair {
        width: 46%;
    } */
    .sitepolicy h5.responsive {
        margin-top: -5px;
    }
    .footer .tdhmetrotokyointern .tdhmetro {
        width: 66%;
        height: intrinsic;
    }
    .footer .tdhmetrotokyointern .tokyointern {
        width: 36%;
        padding: 3px;
    }
    .style-img-pdl {
        width: 90%;
    }
    .style-pdt {
        padding-top: 20px;
    }
    .p-matching-wait-september {
        margin-top: 0;
    }
    .fs-13mb-detail-new {
        font-size: 13px;
    }
}


/* // Small devices (landscape phones, less than 768px) */

@media (max-width: 767.98px) {
    .header {
        flex-direction: column;
    }
    /* .logo {
        float: left;
    } */
    .mg-l-14em {
        margin-left: 0;
    }
    .mg-l-10em {
        margin-left: 0;
    }
    .mg-l-3em {
        margin-left: 0;
    }
    .menu {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }
    .menu a {
        min-width: 255px;
        text-align: left;
    }
    .footer {
        height: auto;
    }
    .row-stretch,
    .justify-content-center {
        flex-direction: column;
    }
    #home .sroll-block .justify-content-center {
        align-items: initial;
    }
    #companyapply .label-margin {
        margin-bottom: 0px;
    }
    .buttonlang {
        padding: 16px 6px 16px 6px;
    }
    #companyindex .participation-block-right {
        border-left: 0px solid #3c91d8;
    }
    .print-error-msg>ul {
        padding-inline-start: 16px;
    }
    #home .login-block-fixed .tabtitle-en {
        /* font-size: 16px; */
    }
    .footer .tdhmetrotokyointern .tdhmetro {
        width: 50%;
        height: intrinsic;
    }
    .footer .tdhmetrotokyointern .tokyointern {
        width: 36%;
        padding: 3px;
    }
}


/*  Medium devices (tablets, 768px and up) */

@media (min-width: 768px) {
    #contact .notrequired-en {
        padding-left: 81.33px;
    }
    #nav-lang-mobile {
        display: none;
    }
}


/* // Medium devices (tablets, 768px and up) */

@media (min-width: 768px) and (max-width: 991.98px) {
    #home .tab-block>.nav-tabs>li>a>h4 {
        height: 52px;
    }
    #home .animate_image {
        height: calc(100vw * 0.55);
    }
    .menu {
        margin: 0px -6px;
    }
    .menu>a,
    .menu>p {
        padding-left: 6px;
        font-size: 13px;
    }
    .menu>p {
        min-width: 100px;
        max-width: 185px;
    }
    .logo {
        text-align: left;
    }
    .logo img {
        width: 90px;
        height: auto;
    }
    .mg-l-14em {
        margin-left: 0;
    }
    .mg-l-10em {
        margin-left: 0;
    }
    .mg-l-3em {
        margin-left: 0;
    }
    .menu a,
    .menu p {
        font-size: 12px;
    }
    .menu .menu-modal {
        max-width: 85px;
    }
    #contact .col-cus {
        width: 60%;
    }
    #contact .col-cus-label {
        width: 40%;
    }
    #contact .reponsive-en {
        width: 35%;
    }
    #home .login-block .winform-border-red,
    #home .login-block .winform-border-blu {
        font-size: 20px;
    }
    #home .login-block-fixed .tabtitle-en {
        /* font-size: 16px; */
        margin-bottom: 5px;
    }
}


/* // Medium devices (tablets, less than 992px) */

@media (max-width: 991.98px) {}


/* // Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
    .menu .menu-modal {
        max-width: 105px;
    }
    #contact .notrequired-jp {
        padding-left: 42.66px;
    }
    .small-text {
        font-size: 13px;
    }
}


/* // Large devices (desktops, 992px and up) */

@media (min-width: 992px) and (max-width: 1199.98px) {
    #home .tab-block>.nav-tabs>li>a>h4 {
        height: 52px;
    }
    #home .animate_image {
        height: calc(100vw * 0.35);
    }
    #home .login-block-fixed button>h4 {
        font-size: 20px;
    }
    .menu>p {
        min-width: 100px;
        max-width: 185px;
    }
    .mg-l-14em {
        margin-left: 0;
    }
    .mg-l-10em {
        margin-left: 0;
    }
    .mg-l-3em {
        margin-left: 0;
    }
    #contact #bs-select-1 {
        width: 490.2px;
    }
    #contact .col-cus {
        width: 63%;
    }
    #contact .col-cus-label {
        width: 37%;
    }
    #contact .reponsive-en {
        width: 46.33333333%;
    }
    #home .login-block-fixed .tabtitle-en {
        font-size: 16px;
        margin-bottom: 5px;
    }
}


/* // Large devices (desktops, less than 1200px) */

@media (max-width: 1199.98px) {}


/* // Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
    #home .nbsp {
        padding-right: 73px;
    }
    #personindex .mgs-block .text-start {
        margin-top: 40px;
    }
    #contact .col-cus {
        width: 70%;
    }
    #contact .col-cus-label {
        width: 30%;
    }
    #contact .reponsive-en {
        width: 53.333333%;
    }
    #home .login-block-fixed .tabtitle-en {
        /* font-size: 18px; */
    }
}

@media only screen and (min-width: 1824px) {
    #nav-lang-mobile {
        display: none;
    }
}


/*IE*/

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .tab-block>.nav-tabs>li.active>a,
    .tab-block>.nav-tabs>li.active>a:focus,
    .tab-block>.nav-tabs>li.active>a:hover {
        margin-top: -7px;
    }
}


/*Safari*/

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance: none) {
        @media (min-width: 768px) {
            #contact .notrequired-en {
                padding-left: 86.33px;
            }
        }
        @media (min-width: 992px) {
            #contact .notrequired-jp {
                padding-left: 45.55px;
            }
        }
        @media (min-width: 576px) {
            #companyapply .col-stretch {
                height: auto;
            }
        }
        #companyapply .d-grid {
            display: grid;
        }
        .sitepolicy ol.style-list1 {
            list-style-type: none;
        }
        .sitepolicy ol.style-list1>li {
            position: relative;
        }
        .sitepolicy ol.style-list1>li:before {
            position: absolute;
            margin-left: -14px;
            display: inline-block;
            content: '■';
        }
        .sitepolicy ol.style-list3 {
            list-style-type: none;
        }
        .sitepolicy ol.style-list3>li {
            position: relative;
        }
        .sitepolicy ol.style-list3>li:before {
            position: absolute;
            margin-left: -14px;
            display: inline-block;
            content: '・';
        }
        #contact .infomation label span.required {
            padding-top: 3px;
            padding-bottom: 3px;
        }
    }
}