@media screen and (min-width:1690px) and (max-width:1920px) {

}

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

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

@media screen and (max-width:1024px) {  
    
    .hdr__navi-tel-container {
        padding-right: 0;
        margin: 20px auto;
        justify-content: center;
    }
    
    .hdr__navi-tel {
        font-size: 20px;
    }
    
    .hdr__navi-tel-text {
        font-size: 12px;
    }
    
    .hdr__navi-tel-row {
        margin-right: 15px;
    }

    .btn-contact {
        margin: 20px auto;
    }

    #main {
        margin-top: 80px;
    }

    table.tbl-profile tr td:first-child {
        /* width: 45%; */
    }

    .business-item-note {
        font-size: 17px;
    }
}

@media screen and (max-width:834px) {
    .hdr__navi-tel-container {
        padding-right: 5px;
    }
    
    .hdr__navi-tel {
        font-size: 18px;
    }
    
    .hdr__navi-tel-text {
        font-size: 11px;
    }
    
    .hdr__navi-tel-row {
        margin-right: 10px;
    }

    .news-item {
        justify-content: flex-start;
    }   

    table.tbl-profile tr td:first-child {
        /* width: 53%; */
    }

    table.tbl-business2 tr td.first-col {
        width: 20%;
    }

    .ft-name {
        font-size: 25px;
        display: block;
    }

    .ft-address {
        font-size: 17px;
    }

    .main-content-text p {
        font-size: 40px;
    }

    .main-content-text2 {
        font-size: 38px;
    }
}

@media screen and (max-width:768px) {
    .hdr__navi-tel-container {
        margin-bottom: 10px;
        padding-right: 0;
        flex-direction: column;
        align-items: center;
    }
    
    .hdr__navi-tel {
        font-size: 16px;
    }
    
    .hdr__navi-tel-text {
        font-size: 10px;
        margin-top: 5px;
    }
    
    .hdr__navi-tel-row {
        margin-right: 0;
        margin-bottom: 5px;
    }

    table.tbl-profile tr td:first-child {
        /* width: 55%; */
    }

    .ft-name {
        font-size: 24px;
    }

    .ft-address {
        font-size: 16px;
    }
}

@media screen and (max-width:767px) {
    .hdr__navi-tel-container {
        text-align: center;
        align-items: center;
    }
    
    .hdr__navi-tel-row {
        justify-content: center;
    }

    .hdr__logo-text2 {
        font-size: 19px;
    }

    .hdr__logo-text1 {
        display: block;
    }

    #main {
        margin-top: 150px;
    }

    .main-content-text p {
        font-size: 26px;
    }

    .main-content-text2 {
        font-size: 24px;
    }

    .main-video {
        height: 500px;
        object-fit: cover;
    }

    #news {
        padding: 40px 0 60px;
    }

    .news-wrapper {
        margin-top: 40px;
    }

    .news-item .news-title {
        font-size: 18px;
        width: 100%;
    }

    .about-wrapper {
        padding: 40px 15px 20px 15px;
    }

    .about-content-text {
        max-width: 100%;
        margin: 0 0 30px 0;
        order: 2;
    }

    .about-content-img {
        max-width: 100%;
        order: 1;
    }

    .message-wrapper {
        padding: 0;
    }

    .message-item-text {
        max-width: 100%;
        margin: 0 0 30px 0;
        order: 2;
    }

    .message-item-img {
        max-width: 100%;
        order: 1;
    }

    .profile-item-img {
        max-width: 100%;
    }

    .profile-item-text {
        max-width: 100%;
    }

    .profile-item-img img {
        width: 70%;
    }

    table.tbl-office-information tr td:first-child {
        width: 100%;
    }

    table.tbl-office-information tr td {
        display: block;
    }

    .business-item {
        width: 100%;
    }

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

    table.tbl-business2 {
        
    }

    table.tbl-business2 tr td.first-col {
        width: 26%;
    }

    table.tbl-fees-sp {      
        color: rgba(6, 131, 83, 1);
        width: 100%;
        border-collapse: collapse;
        margin: 40px auto 0;
    }

    table.tbl-fees-sp tr th {
        color: rgba(42, 42, 42, 1);
        background: rgba(241, 249, 245, 1);
        border: 1px solid rgba(6, 131, 83, 1);
        font-weight: 700;
        padding: 20px;       
    }

    table.tbl-fees-sp tr td {
        padding: 20px;   
        border: 1px solid rgba(6, 131, 83, 1);
        width: 50%;
    }

    .scroll-hint-icon {       
        position: absolute;
        top: 30px!important;
        width: 180px!important;
        min-height: 100px;
    }

    .access-item-img {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .access-item-text {
        max-width: 100%;
    }

    .footer-left {
        max-width: 100%;
        margin-right: 0;
    }

    .footer-right {
        max-width: 100%;
    }

    .business2-note {
        font-size: 17px;
    }

    .sp-none {
        display: none;
    }

    .sp-show {
        display: inline-block;
    }

    .ft-logo {
        text-align: center;
        display: block;
    }
}

@media screen and (max-width:376px) {
    .hdr__navi-tel {
        font-size: 14px;
    }
    
    .hdr__navi-tel-text {
        font-size: 9px;
    }

    .hdr__logo-text1 {
        font-size: 15px;
    }

    .hdr__logo-text2 {
        font-size: 15px;
    }
    
    table.tbl-business2 tr td.first-col {
        margin-top: 100px;
    }

    table.tbl-profile tr td:first-child {
        /* width: 59%; */
    }

    table.tbl-office-information tr td:last-child {
        font-size: 19px;
    }

    .access-item-text {
        font-size: 16px;
    }

    .ft-name {
        font-size: 22px;
    }

    .ft-address {
        font-size: 15px;
    }

    .ft-info {
        font-size: 16px;
    }

    .about-wrapper {
        margin: 0;
    }

}

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

    .hdr__logo-text1 {
        font-size: 14px;
    }

    .hdr__logo-text2 {
        font-size: 12px;
    }

    .main-content-text p {
        font-size: 22px;
    }

    .main-content-text2 {
        font-size: 20px;
    }

    .about-wrapper {
        margin: 0;
    }

    table.tbl-profile tr td:first-child {
        /* width: 100%; */
    }

    table.tbl-profile tr td {
        display: block;
    }

    .business-item-desc {
        padding: 0;
    }

    table.tbl-business2 tr td {
        padding: 20px 10px;
        font-size: 18px;
    }

    .access-item-text {
        font-size: 15px;
    }

    .form-group .required {
        margin-right: 40px;
    }

    .form-group .norequired {
        margin-right: 40px;
    }

    .ft-name {
        font-size: 18px;
    }
}


/* Make the form responsive */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .form-group .form-control {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .contact-form {
        width: 88%;
    }

    .form-group p label {
        min-width: 300px;
    }
}

