/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-bottom: 1px solid #635941;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 75px;
}
@media screen and (max-width: 767px) {
    .header-container {
        height: 60px;
    }
}
.header-left, .header-center, .header-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-left {
  justify-content: flex-start;
}

.header-center {
  justify-content: center;
}

.header-right {
  justify-content: flex-end;
}
.left-logo{
    width: 120px;
}
.header-center a{
    width: 20%;
    display: block;
    line-height: 1;
}
@media screen and (max-width: 767px) {
    .header-center a{
        width: 80%;
    }
}

.hamburger-menu {
  cursor: pointer;
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001; /* メニューの上に表示 */
  flex-direction: column;
}

.hamburger-menu span {
  display: block;
  height: 1px;
  width: 35px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.hamburger-menu span:not(:last-child) {
  margin-bottom: 10px; /* 各バーの間隔 */
}

/* アニメーション：ハンバーガーメニューを「×」に変化 */
.hamburger-menu.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 0;
  top: 5px;
}

.hamburger-menu.open span:nth-child(2) {
  transform: rotate(-45deg);
  top: -5px;
}


@media screen and (max-width: 767px) {
    .hamburger-menu {
      width: 60px;
      height: 60px;
    }

}

/* メニュー全体の初期スタイル */
.menu {
    opacity: 0; /* 初期状態で透明に */
    visibility: hidden; /* 非表示状態 */
    pointer-events: none; /* 非表示時クリックを無効化 */
    transition: opacity 0.5s ease, visibility 0.5s ease; /* フェードイン/アウトのアニメーション */
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    display: flex; /* 常にflexを維持 */
    position: fixed;
    top: 0;
    height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* 縦並びを維持 */
    z-index: 100;
}


/* .menu.show でフェードイン */
.menu.show {
    opacity: 1; /* 完全に表示 */
    visibility: visible; /* 表示状態 */
    pointer-events: auto; /* クリック可能に */
}

.menu ul.list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* 縦並びを維持 */
    align-items: center;
    justify-content: center;
    width: 100%;
}
.menu ul.sns{
    display: flex;
}


.menu .link > a {
    display: block;
    border: 1px solid #000;
    padding: 15px;
    text-align: center;
}

.menu ul.list li{
    margin: 0 0 30px;
}
.menu ul.sns li{
    margin: 0 20px 30px;
}


.menu ul.list a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.menu ul.list a:hover {
  text-decoration: underline;
}

.menu ul.sns a{
    display: flex;
    align-items: center;
}
.menu ul.sns li img{
    width: 30px;
    margin: 0 10px 0 0;
}


@media screen and (max-width: 767px) {
.menu a {
  font-size: 15px;
}
.menu ul.sns{
    flex-direction: column;
}
.menu ul.list li {
  margin: 0 0 30px;
}
.menu ul.sns li{
    margin: 0 0 30px;
}

}











.moser {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    margin: 20px 0 0;
}
.moser a {
    border: 1px solid #333;
    margin: 0px 10px 0px 0;
    padding: 6px 16px 4px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 11px;
}
.moser a:hover {
    background: #65593d;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
.moser a:before {
    border: 0;
    margin: 0;
}

.lang {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
}
.lang a {
    border: 1px solid #333;
    margin: 10px 10px 10px 0;
    padding: 6px 16px 4px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.lang a:hover {
    background: #65593d;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
.lang a:before {
    border: 0;
    margin: 0;
}

body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
}


nav .lang a {
    width: auto;
    padding: 8px 17px 6px;
    margin: 10px 5px;
}
nav .logo {
    position: absolute;
    width: 94px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
nav .new_logo {
    position: absolute;
    width: 94px;
    top: 50%;
    left: 10%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
/*-----------------------
SMP MENU
-----------------------*/
.sidebar_sns {
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 15px 0;
}
.sidebar_sns a {
    /* width: 30%; */
    display: block;
    text-align: center;
    margin: 0 10px;
}
.sidebar_sns a:before {
}
.sidebar_sns img {
    width: 30px;
    vertical-align: middle;
}
.moser {
    /*display: -webkit-box;*/
    /*display: -ms-flexbox;*/
    display: block;
    /* -webkit-box-orient: vertical; */
    /* -webkit-box-direction: normal; */
    margin: 10px 0 0;
}
.moser a {
    margin: 0px 0px 0px 0;
    padding: 7px 16px 8px;
}

@media (max-width: 1024px) and (min-width: 767px) {
    .moser {
        margin: 0 0 40px;
    }
    .lang {
        flex-flow: column;
    }
}
