/* 공통 */
header {
  width: 100%;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: top 0.3s ease;
}
header.hidden {
  top: -180px;
}
.header-main {
  display: flex;
  justify-content: center;
  width: 100%;
    overflow: hidden;
}
.header-m2 {
  padding : 10px;
  background-color: #f1f1f1;
  width: 100%;
  max-width: 1920px;
}

.header-m3 {
    display: flex;
    gap: 12px;
}


.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
#navbar-alogo img {
  height: 42px;
}
#logo{
     height: 38px;
    margin-top: 6px;
}
.language-list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.language-list li a img {
  width: 40px;
  transition: transform 0.2s;
}
.main-menu {
  display: flex;
  flex: 1;
    justify-content: flex-end;
}
.menu-list {
  display: flex;
  list-style: none;

  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  overflow: visible;
}
.menu-list li {

  font-size: 18px;
  flex: 0 0 auto;
}
.menu-list a {
  text-decoration: none;
  color: #333;
  font-weight: 450;
 padding : 10px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}
.menu-list a:hover {
  background-color: #ddd;
  color: black;
}
.menu-list li a.active {
  background-color: dodgerblue;
  color: white;
}
/* 스크롤바 */
.menu-list::-webkit-scrollbar {
  height: 6px;
}
.menu-list::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 3px;
}
.menu-list::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 1080px) {
.main-menu{
  justify-content: flex-start;
}
}
/* 반응형 */


@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
#navbar-alogo img{
  height: 30px;
}
  .language-list {
    margin-top: 10px;
  }

  .main-menu {
    width: 100%;
    overflow-x: auto;
  }

  .menu-list {
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }
.pr_img_jp{
          display: flex;
        justify-content: space-around;
        word-break: break-word;
        white-space: normal;
}
.pr_img_en{
          display: flex;
        justify-content: space-around;
        word-break: break-word;
        white-space: normal;
}
  .menu-list li {
    padding: 0px;
    font-size: 16px;
    white-space: nowrap;
  }
  .menu-list a{ 
 padding : 10px;
font-size: 12px;
  }

  .language-list li a img {
    width: 30px;
  }
}

li {
   margin: 0;
  padding: 0;
  list-style: none;
}
a {
  display: block;
}