body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* パンくずリスト */
.breadcrumb {
  font-size: 14px;
  color: #666;
  padding-left: 10px;
  margin-bottom: 10px;
}
.breadcrumb a {
  color: #5a7d7c;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  .breadcrumb {
    font-size: 11px;
    padding-left: 5px;
    padding-top: 10px;
    margin-bottom: 2px;
  }
}

/* スクロールトップボタン */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.2); /* 黒の20%透過 */
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  display: none;
  line-height: 1.2;
}
#scrollTopBtn:hover {
  background-color: #3e5e5d;
}

@media screen and (max-width: 600px) {
  #scrollTopBtn {
    bottom: 10px;
    right: 10px;
    width: 43px;
    height: 43px;
    font-size: 15px;
  }
}


/* ヘッダー全体のレイアウト調整 */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;

  z-index: 1100;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0 20px;
  background-color: #f5f5f5;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(-20px); /* 最初は少し上にずらす */
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.main-header.visible {
  opacity: 1;
  transform: translateY(0); /* 表示時に元の位置へ */
  pointer-events: auto;
}




/* ヘッダー内のテキスト部分 */
.main-header div {
  aflex: 1 1 300px;
}

.main-header img {
  display: block;
  position: fixed;
  top: 10px;
  left: 0;
  width: 170px;
  max-width: 170px;
}


/* ナビゲーションメニュー（PC表示） */
    .main-nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      font-size: 14px;
    }

    .main-nav li {
      position: relative;
    }

    .main-nav a {
      display: block;
      padding: 12px 16px;
      color: #2c3e50;
      text-decoration: none;
    }

    .main-nav .submenu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #f5f5f5;
      min-width: 180px;
    }

    .main-nav .submenu li a {
      padding: 10px 14px;
    }

    .main-nav li:hover .submenu {
      display: block;
    }

    .main-nav li:hover > a {
      background: #e0e0e0;
    }




/* ハンバーガーアイコン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 35px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1150;

  position: fixed;
  top: 20px;
  right: 10px;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #2c3e50;
  border-radius: 2px;
}

/* スマホ表示用 */
@media screen and (max-width: 600px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  .hamburger .label {
    font-size: 12px;
    color: #333;
    margin-top: 4px;
    margin-right: 40px;
    border: none;
    background: none;
  }
  .hamburger .bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  /* バツ印に変形 */
  .hamburger.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    height: auto;
    background-color: #f5f5f5;
    flex-direction: column;
    align-items: center;
    padding: 0px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
  }
  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0)
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }
  .nav-menu li a {
    font-size: 15px;
    padding: 8px 0;
    padding-left: 20px;
  }


  /* オーバーレイ */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 900;
  }

  .overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* サブメニューが上に重なるように */
  .main-nav .submenu {
    background-color: #f5f5f5;
    z-index: 1001;
  }
  .main-nav .submenu {
    display: block !important; /* ← 常に表示 */
    position: static;          /* ← 絶対位置を解除して自然な流れに */
    background-color: #d6d6d6; /* ← 背景色も調整可能 */
    padding-left: 20px;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav li a {
    padding: 12px 20px;
  }


  .main-nav .submenu {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #d6d6d6;
    padding-left: 20px;
  }

  .main-nav .submenu.open {
    display: block;
    max-height: 500px; /* 十分な高さにしておく（必要に応じて調整） */
  }

  .main-nav .has-submenu > a::after {
    content: "＋";
    float: right;
    margin-right: 10px;
  }

  .main-nav .has-submenu.open > a::after {
    content: "−";
  }
}

#vheader {
  background-color: #000000;
}
#visualHeader {
  background-image: url('img/16_9_19.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aborder-radius: 8px;

  max-width: 1024px;
  margin: 0 auto;
  height: 40vh;
  padding: 40px;
  margin-top: 100px;
  margin-bottom: 100px;
  color: white;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}
#visualHeader p {
  text-align: center;
  color: #FFFF00;
}


.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* ← 画面の高さに合わせる */ 
} 

main {
  flex: 1; /* ← ここが空白を埋めてくれる */ 
}


/* フッター */
.site-footer {
  background-color: #333;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}

.site-footer a {
  color: white; /* #ccc; */
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}


.inline-icon img {
  width: 50px;
  vertical-align: middle;
  margin-right: 1px;
}

@media screen and (max-width: 600px) {
  .site-footer {
    padding: 30px 20px;
    font-size: 12px;
  }
}

