
.header {
  width: 100%;
  padding: 1.4rem 0;
  background-color: white;
  box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0.1);
  /* This creates the smooth transition effect */
  transition: all 0.4s ease-in-out;
}

.header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* Optional: slightly different styling for the sticky state */
  padding: 1rem 0;
  box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.1);
}



.header-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.header-left {
  max-width: 15rem;
}

.header-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header_right {
  display:flex;
  justify-content:center;
  font-family: Noto Sans JP;
  font-size: 12px;
  font-weight: 700;
  line-height: 25.6px;
  text-align: center;
  padding: 0;
  list-style: none;
  margin: 0;
  align-items: center;
}

.header_right li a {

}

.header_right li a:hover {
  text-decoration: underline;
}

.nav_content {
  margin: 0 10px;
  color:black;
}


.btn_header{
  border-radius: 0.8rem;
  cursor: pointer;
  font-weight: 700;
  padding: 1.2rem 2.4rem;
  text-align: center;
  width: 100%;
  display: block;
}

.btn_header.is_fitContent{
  width: fit-content;
  max-width: inherit;
}

.btn_header.is_middle{
  padding: 0.4rem 0.8rem;
  font-size: 1.4rem;
}


{# main #}
.btn_header.is_main{
  border: 1px solid #1a5398;
  background: #1a5398;
  color: var(--white);
}
.btn_header.is_main:hover{
  opacity: 0.8;
  text-decoration: none;
}



.action-button {
  padding: 10px 20px;
  display: flex;
  background-color: #1a5398;
  color: #ffffff;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  gap: 8px;
  margin: 0 auto;
  margin-left:10px;
}
.action-button:hover {
  background-color: #003e7d;
}

@media (max-width:768px) {
  .action-button {
    width: 100%;
  }

  .header_right li {
    display: none;
  }

  .header_right {
    display: flex;
    gap: 10px;
  }

  .header-left {
    max-width: 12rem;
  }

  .action-button {
    padding: 8px 12px;
    font-size: 13px;
    line-height: 100%;
    font-weight: 500;
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .action-button {
    font-size: 12px;
  }
}

