/* 基本スタイル */
.site-header {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

.header-inner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0e0d0d;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: left;
  color: white;
  background: rgba(24, 23, 23, 0.3);
  backdrop-filter: blur(1px); /* 背景ぼかし効果 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: background 0.3s ease;
}

/* ロゴ */
.logo img {
  max-height: 70px;
  width: auto;
}

.main-nav span { 
  color: #fff;
}

/* PCナビゲーション */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: 200px;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #faf5f5;
  font-weight: 500;
  font-size: 16px;
}

.main-nav a:hover {
  color: #ff5e5e;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 30px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3000;
}

.hamburger .menu_box span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px 0;
  background-color: #f1eeee;
  border-radius: 3px;
  transition: all 0.3s ease;
}

  .hamburger .i-menu_button_label::after {
    content: "MENU";
    color: #fff;
    font-size: 90%;
    text-align: center;
  }

  .hamburger .i-menu_button_label_close::after {
    content: "CLOSE";
    font-size: 90%;
  }

/* ハンバーガー → X */
.hamburger.active .menu_box span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .menu_box span:nth-child(2) {
  opacity: 0;
}
.hamburger.active .menu_box span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* モバイル用 */
@media (max-width: 768px) {

  .main-nav__ {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.1);
  }
  .main-nav {
    /*display: none;*/
    flex-direction: column;
    position: fixed;
    /*top: 90px;*/
    top: -650%;
    left:0;
    right: -100%;
    width: 100%;
    /*height: 100%; */
    background-color: #fff;
    /* padding: 60px 20px; */
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: top 0.3s ease;
  }

  .main-nav.open {
    top: 95px;
  }

.header-inner {
  background: rgba(24, 23, 23, 0.3);
}

  .main-nav.active {
    display: flex;
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    row-gap: 0;
    /*gap: 20px;*/
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .main-nav li {
    border-top: 1px solid #ccc;
    background: #F2F0F0;
    display: block;
    height: 100%;
    line-height: 50px;
    width: 100%;
  }

  .main-nav span {
    color:#333;
    
  }
  .main-nav a {
    display: block;
    color:#333;
    width: 100%;
    height: 100%;
  }
/*
  .main-nav ul ul li a {
    color: #ff5e5e;
    font-size: small;
    margin-left: 250px;
    text-align: left;
  }
*/
    .main-nav ul ul li a::before{
    content: "|";
    font-weight: 900;      /* 太字 */
    font-size: 18px;       /* 大きめに */
    color: #db5050;           /* お好みの色 */
    margin-right: 8px;
  }

  .hamburger {
    display: flex;
  }

  .has-submenu .submenu {
    position: static;
    box-shadow: none;
  }

  .has-submenu.open .submenu {
    display: block; /* スマホで開いた時 */
  }

  .main-nav ul ul {
    display: block;
    position: absolute;
    background: #fff;
    padding: 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .main-nav ul ul li a {
    display: block;
    padding: 1px 1px;
    color: #353232;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, padding-left 0.2s ease;
    margin-left: 200px;
    text-align: left;
  }
}


@media (min-width: 768px) {
  .main-nav ul ul {
    display: none;
    position: absolute;
    /*background: #fff;*/
    background: rgba(24, 23, 23, 0.6);
    width: 200px;
    padding: 10px;
    margin: 0;
    list-style: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    
  }

  .main-nav ul ul li a {
    display: block;
    padding: 10px 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, padding-left 0.2s ease;
  }
}

/* 親メニューにマウスを乗せたら表示 */
.main-nav ul li:hover > ul {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* サブメニュー内のリンク */
/*
.main-nav ul ul li a {
    display: block;
    padding: 10px 16px;
    color: #353232;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, padding-left 0.2s ease;
}
*/

.main-nav ul ul li a:hover {
  background: rgba(24, 23, 23, 0.0);
  /*background: linear-gradient(90deg, #f0f4ff, #e8efff);*/
  padding-left: 20px;
  color: #6e94e0;
}

.has-submenu:hover .submenu {
  display: block; /* PC用ホバー */
}

/* ページ上部の余白 */
body {
  padding-top: 0px;
}




