/* assets/css/header.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&family=Noto+Sans+JP:wght@400;500&display=swap');

/* Logo容器样式 */
.l-header__logo a {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 8px 0;
  margin-left: 20px;
}

.l-header__logo a:hover {
  transform: translateY(-1px);
}

.l-header__logo a:hover .logo-brand {
  animation-duration: 3s;
}

/* 主品牌名称 - 嘉華 */
.logo-brand {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.12em;
  color: #003EB7;
  vertical-align: baseline;
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, #003EB7 0%, #001f5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* 渐变动画 - 更微妙的效果 */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 品牌名称装饰元素 - 竖线 */
.logo-brand::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -0.5em;
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, #003EB7 50%, transparent 100%);
  transform: translateY(-50%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.l-header__logo a:hover .logo-brand::before {
  height: 80%;
  opacity: 0.8;
}

/* 公司类型 - 株式会社 */
.logo-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-left: 0.6em;
  color: #444;
  vertical-align: baseline;
  letter-spacing: 0.15em;
  position: relative;
  top: 0.05em;
  opacity: 0.85;
  transition: all 0.3s ease;
  padding: 0.2em 0.4em;
  border-left: 2px solid #e0e0e0;
}

.l-header__logo a:hover .logo-label {
  color: #003EB7;
  opacity: 1;
  border-left-color: #003EB7;
}

/* 装饰性下划线 */
.l-header__logo a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #003EB7 0%, #0056d6 100%);
  transition: width 0.3s ease;
}

.l-header__logo a:hover::after {
  width: 100%;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .logo-brand {
    font-size: 1.8rem;
    letter-spacing: 0.08em;
  }
  
  .logo-label {
    font-size: 0.85rem;
    margin-left: 0.3em;
  }
  
  .l-header__logo a {
    padding: 6px 0;
  }
}

@media screen and (max-width: 480px) {
  .logo-brand {
    font-size: 1.5rem;
  }
  
  .logo-label {
    font-size: 0.75rem;
  }
}
