﻿header {
    position: fixed;
    width: 100%;
    background: #000000;
    z-index: 1000;
    padding: 0px;

}



@media(min-width: 1024px) {
    .header-menu__item {
        margin-right: 20px; /* 右側のマージンを設定 */
    }
}


@media(min-width: 1024px) {
    .header-menu__item2 {
        margin-right: 20px; /* 右側のマージンを設定 */
    }
}


.headA {
    padding-left: 10px;
    padding-right: 10px;
}

a {
    text-decoration: none;
}

.headA p {
    font-size: 15px;
    margin: 10px 0;
    color: #000000;
}

.headB ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.headB a {
    display: block;
    padding: 8px;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 3px solid none;
}





@media(min-width: 1024px) {
    .container {
        display: flex;
        align-items: center;
        max-width: 100%;
        justify-content: space-between;
        margin-left: auto;
        margin-right: auto;
    }

    .headB ul {
        display: flex
    }

    .headC {
        display: none;

    }

    .headB {
        display: block !important;
    }
}


@media(max-width:1023px) {
    header .container-small {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .headC {
        margin-right: 10px;
        padding: 0;
        border: none;
        outline: none;
        background: none;
        font-size: 15px;
        opacity: 0.8;
        cursor: pointer;
        color: #fff;
    }
    
    

    .headC:hover {
        opacity: 0.3;

    }

    .headB {
        display: none;
    }
}


  a:hover {
    color: white;
  }
  
  
  
.language-options {
  position: relative;
  display: none;
  background-color: white;
  z-index: 1000;
}



  
  /* メニューアイテムのスタイル */
  





.header-menu__item.language-menu {
    color: #fff; /* 文字色を白色に設定 */
      display: flex;
  align-items: center;
}

/* メニューアイテムのホバースタイル */
.header-menu__item.language-menu:hover {
    /* ホバー時のスタイルを適用（必要に応じてカスタマイズ） */
}
  
/* 表示されるボックスのスタイル */
.header-menu__item2 {
  position: relative;
}

.language-options {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  position: absolute;
  top: 100%;
  left: 30px; /* ボックスを右にオフセット */
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* 影を追加 */
  border: 1px solid #ccc;
  z-index: 1;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.header-menu__item2:hover .language-options {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.header-menu__item2 a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.header-menu__item2 a b {
  margin-left: 5px;
}

.language-option a{
  width: 150px;
  color: #333; /* ボックス内の文字色を灰色に設定 */
  padding: 15px;
  line-height: 0.25; /* 行間を詰める */
  padding-left: 20px; /* 左にスペースを追加 */
}