#myformtable [data-inquiry-feedback][role="alert"]:not(:empty) {
    margin-top: 12px;
    padding: 12px 14px;
    border-left: 4px solid #b54326;
    background: #fff2e9;
    color: #7c2916;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

#mbanner h1 {
    color: #fff;
    font-size: clamp(26px, 2.6vw, 34px);
    line-height: 1.3;
    margin: 0;
}

#mhomebox h1.title {
    text-align: center;
    background: url("../../images/x.png") bottom center no-repeat;
    padding: 10px 0;
    font-size: clamp(26px, 2.5vw, 32px);
}

#mobi_menu {
    background-image: none;
    border: 0;
    min-height: 42px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

#mobi_menu::before {
    content: "☰";
    margin-right: 5px;
}

.lyth-mobile-contact {
    display: none;
}

#mchatbutton {
    padding: 0;
    border: 0;
}

#mchatbutton[aria-expanded="true"] {
    right: 210px;
}

#divChatbox {
    width: 210px;
}

#divChatbox[hidden] {
    display: none;
}

.lyth-contact-close {
    position: absolute;
    top: 3px;
    right: 5px;
    padding: 0;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 24px;
    cursor: pointer;
}

#mobi_menu:focus-visible,
#mchatbutton:focus-visible,
.lyth-contact-close:focus-visible,
.lyth-mobile-contact:focus-visible {
    outline: 3px solid #e4a62d;
    outline-offset: 3px;
}

@media (max-width: 1160px) {
    #access2 ul ul,
    #access2 ul ul ul {
        position: static;
        display: block;
        float: none;
        left: auto;
        top: auto;
        width: 100%;
    }

    #access2 ul ul li {
        min-width: 0;
    }

    #access2 ul ul a {
        width: auto;
        min-height: 40px;
        padding: 8px 18px;
        box-sizing: border-box;
    }

    #access2 ul ul ul a {
        padding-left: 30px;
    }
}

@media (max-width: 767px) {
    #mycontents table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

    #mycontents table th,
    #mycontents table td {
        overflow-wrap: normal;
    }

    #mtop .m2col:not(.mlast),
    #mheader > .mbox > .m2col,
    #mheader > .mbox > .mclear,
    #mchatbutton,
    #divChatbox {
        display: none;
    }

    #mtop .m2col.mlast {
        padding: 0;
        text-align: center;
        line-height: 1.7;
    }

    #mtop #mlang {
        display: inline-block;
        float: none;
        vertical-align: middle;
    }

    #mheader {
        padding: 10px 0;
    }

    #mheader > .mbox {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 70px 70px;
        gap: 8px;
        align-items: center;
        padding: 0 12px;
    }

    #mheader #mlogo {
        grid-column: 1;
        grid-row: 1;
        width: auto;
    }

    #mheader img.logo {
        display: block;
        max-width: 100%;
        height: auto;
        max-height: 50px;
        margin: 0;
    }

    #mheader .m5col {
        display: contents;
    }

    #mheader #mobi_menu,
    #mheader .lyth-mobile-contact {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        min-height: 42px;
        padding: 0;
        margin: 0;
        font-size: 15px;
        border-radius: 5px;
        box-sizing: border-box;
    }

    #mheader #mobi_menu {
        grid-column: 2;
        grid-row: 1;
    }

    #mheader .lyth-mobile-contact {
        grid-column: 3;
        grid-row: 1;
        background: #edf2f7;
    }

    #mheader #searchform2 {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
    }

    #searchform2 #mtable {
        float: none;
        width: 100%;
    }

    #searchform2 td:first-child {
        width: 100%;
    }

    #searchform2 #s {
        width: 100%;
        height: 38px;
        padding: 6px 10px;
        box-sizing: border-box;
        border: 1px solid #d5dde5;
        border-right: 0;
    }

    #searchform2 #searchsubmit {
        height: 38px;
        border: 1px solid #d5dde5;
        border-left: 0;
    }
}
