.machino-company-button {
    display: inline-block;
    box-sizing: border-box;
    padding: .55em 1.1em;
    border: 1px solid #995c14;
    border-radius: .4em;
    background: #fffaf2;
    color: #81511c;
    font: bold 16px/1.4 "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
.machino-company-button:hover,
.machino-company-button:focus {
    background: #fff;
    color: #643e12;
    text-decoration: underline;
}
.machino-company-button:focus-visible {
    outline: 3px solid #81511c;
    outline-offset: 2px;
}
#headerWrap .machino-company-header {
    position: absolute;
    top: 135px;
    right: 198px;
    z-index: 2;
}
@media (min-width: 768px) and (max-width: 1199px) {
    #headerWrap .machino-company-header { right: max(198px, calc(1200px - 100vw + 12px)); }
}
#machino-company-footer {
    margin: 0;
    padding: .5em;
    color: #81511c;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}
#machino-company-footer a { color: inherit; text-decoration: underline; }
#footerWrap #machino-company-footer {
    margin: 10px 0 0;
    color: #fff;
}
#headerWrap .textNavi .machino-company-menu-item { display: none; }
@media (max-width: 767px) {
    #headerWrap .machino-company-header { display: none; }
    #headerWrap .textNavi .machino-company-menu-item { display: block; }
    #headerWrap .textNavi li.machino-company-menu-item a {
        display: block;
        width: 100%;
        height: auto;
        min-height: 44px;
        padding: .7em;
        border: 0;
        border-top: 1px dashed #c7a275;
        border-radius: 0;
        color: #81511c;
        line-height: 1.4;
    }
}
