/*Header.css*/
/* Minimal header.css for header.html */


#urs_logo_animation line {
  stroke: #FFF;
  stroke-width: 0.5px;
  stroke-dasharray: 400px;
  animation: svg 3s ease-in both ;
}

@keyframes svg {
  0% {
      fill: transparent;
      stroke-dashoffset: 400px;
  }
  100%{
      stroke-dashoffset: 0;
  }
}
#urs_logo_animation .cls-1 {
      stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.8s ease-in both, svg-color 2s ease-in both;
    animation-delay: 0s, 3s;
    }

#urs_logo_animation .cls-2 {
    stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.8s ease-in both, svg-color 2s ease-in both;
  animation-delay: 0.3s, 3s;
    }

#urs_logo_animation .cls-3 {
    stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.8s ease-in both, svg-color 2s ease-in both;
  animation-delay: 0.6s, 3s;
    }

#urs_logo_animation .cls-4 {
      stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.8s ease-in both, svg-color 2s ease-in both;
    animation-delay: 0.9s, 3s;
    }

#urs_logo_animation .cls-5 {
      stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.8s ease-in both, svg-color 2s ease-in both;
  animation-delay: 0.9s, 3s;
    }

#urs_logo_animation .cls-6 {
      stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.8s ease-in both, svg-color 2s ease-in both;
  animation-delay: 0.9s, 3s;
    }

#urs_logo_animation .cls-7 {
      stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.8s ease-in both, svg-color 2s ease-in both;
  animation-delay: 1.2s, 3s;
    }

#urs_logo_animation .cls-8 {
      stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.8s ease-in both, svg-color 2s ease-in both;
  animation-delay: 1.5s, 3s;
    }

#urs_logo_animation .cls-9 {
      stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.5s ease-in both, svg-color 2s ease-in both;
  animation-delay: 1.8s, 3s;
    }

#urs_logo_animation .cls-10 {
      stroke: #fff;
    stroke-width: 0.5px;
    stroke-dasharray: 400px;
    animation: svg 0.5s ease-in both, svg-color 2s ease-in both;
  animation-delay: 2.0s, 3s;
    }

    @keyframes svg-color {
  0% {
      fill: transparent;
  }
  90% {
      fill: #FFF;
  }
  100%{
      fill: #FFF;
  }   
}

/* ローディングスクリーンのスタイル */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.6s ease;
  pointer-events: none; 
}

/* ローディングスクリーンの表示状態 */
.loading-screen.active {
  opacity: 1;
  visibility: visible;
}

.loading-screen.inactive {
  opacity: 0;
  visibility: hidden;
}

/* ロゴのコンテナ */
.loading-logo-container {
  width: 240px;
  height: auto;
  animation: pulse 2s infinite;
  visibility: hidden;
}

@media screen and (max-width: 480px) {
  .loading-logo-container {
    width: 180px;
  }
}


/* ホワイトシャドウ効果 */
.loading-logo {
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

/* テキストのアニメーション */


.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10;
    width: 100%;
    background-color: transparent;
    transition: 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
  }


  .header.scrolled {
      position: fixed;
      width: 100%;
      background-color: rgba(255, 255, 255, 0.3); /* fallback用 */
      /*background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);*/
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
      z-index: 999;
      transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    }


/*.header.scrolled {
  background-color: rgba(0, 0, 0, 0.8); /* スクロール時の背景色 
  transition: background-color 0.3s; /* スムーズな遷移 
}*/

    
  
  .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .header-title img {
    width: 200px;
    height: auto;
    transition: 0.4s ease;
  }
  
  .header-logo-white {
    display: none;
  }
  
  .header-nav.pcOnly {
    display: flex;
  }
  
  .header-nav {
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    display: flex;
  }
  
  .header-nav-menu {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  
  .header-nav-list {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .header-nav-list-item > a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    position: relative;
    font-size: 1rem;
    transition: 0.3s ease;
  }
/*
  .header-nav-list-item > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #142c4b;
    transition: width 0.3s ease;
  }
*/
  .header-nav-list-item > a:hover::after {
    width: 100%;
  }
  
  .header-nav-list-item > a:hover {
    opacity: 0.6;
  }
  
  .header-info {
    margin-left: 0;
  }
  
  .button a {
    display: block;
    width: 160px;
    font-size: 14px;
    border: 2px solid #333;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    color: #333333;
    transition: 0.3s;
    text-decoration: none;
  }
  
  .button a:hover {
    background-color: #333333;
    color: #fff;
  }
  
  .sp-header-toggle {
    display: none;
  }
  
  .sp-menu-close {
    display: none;
  }
  
  @media screen and (max-width: 767px) {
    .sp-header-toggle {
      display: block;
      position: absolute;
      right: 15px;
      top: 19px;
      width: 25px;
      height: 18px;
      cursor: pointer;
      z-index: 12;
    }
  
    .sp-header-toggle span {
      display: block;
      position: absolute;
      width: 100%;
      border-bottom: 2px solid #333;
      transition: 0.35s ease-in-out;
    }

    .sp-header-toggle.active span {
        border-color: #fff;
      }
  
    .sp-header-toggle span:nth-child(1) { top: 0; }
    .sp-header-toggle span:nth-child(2) { top: 8px; }
    .sp-header-toggle span:nth-child(3) { top: 16px; }
  
    .sp-header-toggle.active span:nth-child(1) {
      transform: translateY(8px) rotate(-45deg);
    }
    .sp-header-toggle.active span:nth-child(2) {
      opacity: 0;
    }
    .sp-header-toggle.active span:nth-child(3) {
      transform: translateY(-8px) rotate(45deg);
    }

    .header-nav-menu {
        margin-top:50px;
    }
  
    /*.header-nav-menu {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      background-color: #fff;
      padding: 16px;
    }*/
    .header-nav-bg {
        position: absolute;
        opacity:.1;
        top:-10%;
        right:-24%;
    }

    .header-nav-list-item a .heading-en {
        font-size: clamp(2rem, 5vw, 3rem);
        line-height: 1.1;
        margin-bottom:0;
    }

    .header-nav-list-item a .heading-ja {
        font-size: clamp(.8rem, 5vw, 1rem);
        line-height: 1.1;
        margin-bottom:0;
    }

    .header-nav-list-item span {
        display: block;
    }

    .header-nav-menu02 {
        z-index: 10;
    }

    .header-logo-spmenu {
        margin-top:10px;
    }

    .header-logo-spmenu img {
        width:70%;
    }

      .header-nav.spOnly {
        visibility: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(155deg, #B42448, #572797, #2828BF);
        padding: 48px 24px;
        z-index: 10;
        color: #fff;
        opacity: 0;
        transform: scale(0.95);
        pointer-events: none;
        transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s;
      }
      
      .header-nav.spOnly.open {
        visibility: visible;
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
        transition-delay: 0s;
      }


      .header.sp-header-fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 10;
    }

    .header-wrapper {
        width: 100%;
        padding: 9px 15px 8px;
    }
    .header-title img {
        width: 98px;
        height: 40px;
    }
    

  
    .sp-header-contact {
      margin: 20px auto 0;
      max-width: 270px;
      width: 100%;
    }
  
    .sp-menu-close {
      position: absolute;
      top: 16px;
      right: 16px;
      z-index: 10;
      display: flex;
      justify-content: flex-end;
      /*padding-right: 30px;*/
      color: #fff;
      font-size: 12px;
      height: 70px;
      align-items: center;
      /*opacity: 1;
      transition: opacity 0.4s ease;*/
    }

  
    .sp-menu-close p {
      position: relative;
      padding: 10px 25px 10px 10px;
    }
  
    .sp-menu-close p::before,
    .sp-menu-close p::after {
      content: '';
      position: absolute;
      width: 16px;
      height: 1px;
      top: 50%;
      right: 0;
      border-bottom: 1px solid #999;
    }
  
    .sp-menu-close p::before {
      transform: translateY(-50%) rotate(-45deg);
    }
  
    .sp-menu-close p::after {
      transform: translateY(-50%) rotate(45deg);
    }
  
    .header-wrapper,
    .header-nav,
    .header-nav-menu,
    .header-nav-list,
    .header-info {
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
    }
  
    .header-nav-list {
        gap: 24px;
      }
    
      .header-nav-list-item a {
        font-size: 1.6rem;
        color: #fff;
      }


  .header-nav-list-item a:hover::after {
    width: 0 !important; /* スマホではホバーエフェクトをオフに */
  }
    
      .header-nav-list-item small {
        font-size: 0.9rem;
        display: block;
        opacity: 0.7;
      }
    
  
    .button a {
      width: 100%;
    }
  
    .pcOnly {
      display: none;
    }
  } 
  



@keyframes zoomFade {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  