@media (max-width:1520px) {
    .aside-nav.about-nav ul:hover {
        height: 300px;
        overflow-y: scroll;
    }
}

@media (max-width:1280px) {
    .menu-content h1 {
        font-size: 32px !important;
    }

    .am-text {
        font-size: 17px;
    }

    .social-links li {
        font-size: 20px;
    }

    .aommori-primary-menu .navbar-nav li .menu-title {
        font-size: 14px;
        padding: 5px 15px;
    }

    .open-modal {
        padding-left: 0;
        font-size: 20px;
    }
}


@media (max-width:991px) {

    section {
        padding: 60px 0;
    }

    .small-pb {
        padding-bottom: 40px;
    }

    .small-pt {
        padding-top: 40px;
    }

    .small-p {
        padding: 40px 0;
    }

    .large-pb {
        padding-bottom: 80px;
    }

    .large-pt {
        padding-top: 80px;
    }

    .large-p {
        padding: 80px 0;
    }

    .container {
        padding: 0 15px;
    }

    .aomori-secondary-menu {
        display: none;
    }

    header {
        position: fixed !important;
        background: #ffffff;
        z-index: 88;
    }

    header.inner-header {
        background: #ffffff;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu h2 small {
        font-size: 16px;
        font-weight: 300;
    }

    .mobile-menu h2,
    .mobile-menu h2 a {
        font-size: 23px;
        font-weight: 500;
    }

    header.fixed,
    a.scrollup,
    a.scrollup:visited {
        z-index: 88;
    }

    header.fixed,
    header.inner-header.fixed {
        animation: unset;
        position: fixed;
    }

    .aomori-sticky-sec {
        top: 0;
        bottom: 0;
        background: #194C6D;
        padding: 25px 0;
        left: 0;
        right: 0;
        border: 0;
        width: 100%;
        visibility: hidden;
        opacity: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        -webkit-transition: 0.35s -webkit-transform ease-in-out;
        transition: 0.35s -webkit-transform ease-in-out;
        transition: 0.35s transform ease-in-out;
        transition: 0.35s transform ease-in-out, 0.35s -webkit-transform ease-in-out;
        -moz-transition: 0.35s transform ease-in-out, 0.35s -webkit-transform ease-in-out, opacity 0.35s ease-out, visibility 0.35s linear;
        -webkit-transition: 0.35s transform ease-in-out, 0.35s -webkit-transform ease-in-out, opacity 0.35s ease-out, visibility 0.35s linear;
        -o-transition: 0.35s transform ease-in-out, 0.35s -webkit-transform ease-in-out, opacity 0.35s ease-out, visibility 0.35s linear;
        transition: 0.35s transform ease-in-out, 0.35s -webkit-transform ease-in-out, opacity 0.35s ease-out, visibility 0.35s linear;
    }

    .aomori-sticky-sec.active {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-box-shadow: 0 0 50px rgb(0 0 0 / 10%);
        box-shadow: 0 0 50px rgb(0 0 0 / 10%);
        visibility: visible;
        opacity: 1;
        overflow: hidden;

    }

    .aomori-sticky-sec ul li .menu-title {
        transform: unset !important;
        position: relative;
        top: 10px;
    }

    .aomori-sticky-sec.fixed {
        z-index: 111;
    }

    .aommori-primary-menu .navbar-nav {
        display: block;
    }

    .aommori-primary-menu .navbar-nav li {
        text-align: left;
    }

    .aommori-primary-menu .navbar-nav li .menu-title {
        display: inline-block;
    }

    .aommori-primary-menu .navbar-nav li img {
        max-width: 65px;
        object-fit: contain;
        height: 75px;
        margin-right: 10px;
    }

    .aomori-sticky-sec::before {
        display: none;
    }

    .menu-close {
        font-size: 50px;
        color: #fff;
        position: absolute;
        right: 10px;
        top: 10px;
        line-height: 0;
        display: block !important;
    }

    .menu-icon .icon {
        font-size: 50px;
        display: inline-block;
        line-height: 0;
    }

    .menu-icon .icon i {
        display: inline-block;
        line-height: 0;
    }

    header.fixed .menu-icon,
    header.fixed .mobile-menu h2,
    header.fixed .mobile-menu h2 a {
        color: #ffffff;
    }

    .hero-sec {
        padding-top: 87px !important;
    }

    .tt-card,
    .featured-article {
        margin-bottom: 35px;
    }

    .tt-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        border: 2px solid #08449A;
        padding-top: 20px;
        box-sizing: border-box;
    }

    .text-ltblue .tt-header {
        border: 1px solid #7FCDF3;
    }

    .text-pink .tt-header {
        border: 1px solid #C96A9D;
    }

    .tt-card figure,
    .tt-card .tt-contact {
        width: 100%;
    }

    .company-img {
        height: auto;
        margin: 0;
        border-radius: 0;
    }

    .tt-contact {
        border-radius: 0;
    }

    .company-logo {
        order: -1;
    }

    .open-modal {
        padding: 0 10px;
    }

    .weather-sec,
    .parking-brief {
        padding: 0 !important;
    }

    .article-brief .meta-data,
    .article-brief .brief-desc {
        margin: 0 !important;
    }

    .article-brief .article-title {
        margin: 25px 0;
    }

    .article-brief .btn-wrap {
        text-align: center !important;
        margin: 40px 0 20px;
    }

    .ac-brief {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .ac-brief .article-title {
        order: 3;
    }

    .ac-brief .meta-date {
        padding: 7px 35px;
        margin-bottom: 15px;
    }

    .video-iframe iframe {
        height: 300px;
        margin-bottom: 35px;
    }

    .video-brief h2 {
        padding: 0 0 20px;
        font-size: 20px;
    }

    .footer-content .social-links {
        justify-content: flex-start;
    }

    .social-links li {
        margin: 0 20px 0 0 !important;
    }

    .copy-right {
        display: block;
        margin-top: 15px;
    }

    a.scrollup,
    a.scrollup:visited {
        bottom: 50px;
    }

    .parking-thumbnail {
        height: auto;
    }

    .boarding-steps-info h2,
    .boarding-steps-info ul,
    .service-detail {
        padding-left: 0 !important;
    }

    .fixed-row {
        background: #194c6d;
        z-index: 999;
        position: static;
    }

    .aside-nav {
        border: 0;
        box-shadow: unset;
    }

    .aside-nav h3 {
        display: none;
    }

    .aside-nav ul {
        background: transparent;
        padding: 5px 0 !important;
        display: flex;
        /* justify-content: space-around; */
        white-space: nowrap;
        overflow-x: auto;
    }

    .aside-nav ul:before,
    .aside-nav ul:after {
        display: none;

    }

    .aside-nav ul li {
        padding: 0;
        border: 0;
    }

    .aside-nav ul li a {
        color: #ffffff;
    }

    .aside-nav ul li a.active,
    .aside-nav ul li a:hover {
        background: transparent;
    }

    .aside-nav ul li+li:before {
        content: "|";
        padding: 0 10px;
        font-size: 16px;
        color: #fff;
    }

    .service-title {
        position: static;
        margin-bottom: 20px;
    }

    .fixed-row .col-lg-3 {
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
    }

    .col-lg-9.ps-0 {
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
    }

    .wf-mobile {
        padding-top: 225px !important;
    }

    .terminal-points:not(:last-child) {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .terminal-services .service-info,
    .terminal-points {
        padding: 30px 0 0;
    }

    .terminal-services .row {
        margin-bottom: 50px;
    }

    .service-title {
        padding: 10px;
        text-align: center;
    }

    .banner-img {
        height: 75px;
    }

    .banner-sec {
        position: fixed;
        top: 87px;
        z-index: 88;
        left: 0;
        right: 0;
    }

    .banner-sec.contact-banner {
        position: static !important;
    }


    .recomonded-spot {
        padding: 0 !important;
        margin-bottom: 20px;
    }

    .faq-card {
        margin-bottom: 35px;
    }

    .question-lists {
        padding: 45px;
    }

    .ab-title,
    .abp-desc {
        z-index: unset;
    }

    .about-part {
        padding: 50px 0;
    }

    .article-sec .notice-nav {
        display: none;
    }

    .article-header {
        display: block !important;
    }

    .article-header .meta-data br {
        display: none;
    }

    .terminal-map {
        z-index: unset;
    }

    .map-content,
    .article-detail {
        padding-top: 25px;
    }

    section.notices-sec,
    .article-sec {
        padding-top: 80px;
    }

    .aside-nav.about-nav ul:hover {
        height: auto;
        overflow-y: unset;
    }

    .media-content {
        margin-bottom: 30px;
    }
	
	#history .abp-desc{
		white-space: nowrap;
    overflow: hidden;
    overflow-x: scroll;
	}
	.aside-nav ul li+li:before{
		padding:0 5px;
	}

    #history .abp-desc {
        white-space: nowrap;
        overflow: hidden;
        overflow-x: scroll;
    }

    .aside-nav ul li+li:before {
        padding: 0 5px;
    }
    .inner-menu{
        display: block;
    }
}

@media (max-width:767px) {

    h2,
    .section-title h2,
    h3 {
        font-size: 20px;
    }

    .st-border:after {
        max-width: 100%;
    }

    .hero-text img {
        display: none;
    }

    .bording-methods {
        margin: 0 !important;
        text-align: left;
    }

    .boarding-tab-header ul li .page-btn {
        min-width: unset;
        width: 100%;
        margin: 0;
    }

    .boarding-tab-header ul li {
        width: 50%;
        padding: 0 10px;
    }

    .boarding-steps .row {
        margin-bottom: 50px;
    }

    .tsugaru-terminal,
    .terminal-points .service-guide {
        padding-top: 50px;
    }

    .terminal-points .floor-map {
        padding-top: 40px;
    }

    .terminal-services .row {
        margin-bottom: 40px;
    }

    .question-lists,
    .qa-body {
        padding: 20px;
    }

    .question-lists ul li a, 
    .question-lists ul li i {
        font-size: 15px;
    }

    .qa-header {
        padding: 10px 20px;
    }

    .qa-body .answer {
        padding: 0;
    }

    .qa-body h3 {
        padding-bottom: 20px;
    }

    .about-part .tablepress>*+tbody>*>*,
    .about-part .tablepress>tbody>*~*>*,
    .about-part .tablepress>tfoot>*>* {
        border: 0 !important;
    }

    #co-history {
        white-space: nowrap;
        overflow: hidden;
        overflow-x: scroll;
    }

    .abp-desc table tr td:first-child {
        position: sticky;
        left: 0;
        background: var(--color-white);
    }

    .notice-nav {
        display: flex;
        align-items: center;
        margin-top: 35px;
    }

    .notice-nav .notice-nav-header,
    .notice-nav ul {
        width: 50%;
    }

    .wharf-ferry-articles .featured-article .article-brief {
        padding-top: 0;
    }

    .notice-nav-header h2 {
        font-size: 20px;
    }

    .custom-checkbox .wpcf7-radio {
        flex-wrap: wrap;
    }

    .custom-checkbox .wpcf7-list-item {
        width: 50%;
        margin-bottom: 10px;
    }

    .tt-sec .modal-body {
        padding: 20px !important;
    }

    .recomonded-spot .page-btn {
        padding: 20px 35px;
        display: block;
        text-align: center;
    }

    .boarding-tab-header ul li .page-btn {
        padding: 10px 15px;
    }

    .floor-map-img {
        margin-bottom: 15px;
    }

    .wf-mobile {
        padding-top: 180px !important;
    }

    .map-content {
        padding-top: 75px;
    }
}

@media (min-width:575px) {
    .modal-dialog {
        max-width: 650px;
    }
}