/* =====================================
   共用 Logo 基礎
===================================== */
 input:focus{
    outline: 3px #ff2a2a dotted !important;
    outline-offset: -3px;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);	 
 }


.logo-h1{
    margin:0;
    padding:0;
    line-height:0;
    font-size:0;
    font-weight:normal;
}

.logo-h1 .homeicon{
    display:block;
}

.logo-h1 img{
    display:block;
    width:auto;
}

/* =====================================
   PC版（hide400）
===================================== */

.hide400 .header1 .centerwrap{
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
}

/* Logo */
.hide400 .logo-h1{
    flex-shrink:0;
    position:static;
}

/* PC Logo 高度 */
.hide400 .logo-h1 img{
    height:70px;
    width:auto;
}

/* 右側功能區 */
.hide400 .header1in{
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    flex-wrap:nowrap;
}

/* 不換行 */
.hide400 .header1in .h1block{
    white-space:nowrap;
}

/* icon 限制 */
.hide400 .header1in img{
    max-height:24px;
    width:auto;
}

/* =====================================
   手機版（show400）
===================================== */


/* ⭐ Logo 置中 */
.show400 .logo-h1{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    z-index:1 !important; /* 保留你原本設計 */
}

/* 手機 Logo 大小 */
.show400 .logo-h1 img{
    height:45px;
    width:auto;
}

/* hamburger menu（一定要壓過 logo） */
.show400 .sidemenuicon{
    position:relative;
    z-index:10000 !important;
}

/* menu 本體（避免被 logo 壓） */
.show400 .topmenuwrap{
    z-index:9999 !important;
}

/* =====================================
   超小手機
===================================== */

@media (max-width:480px){
    .show400 .logo-h1 img{
        height:40px;
    }
}