@charset "UTF-8";

/* ========================================
 *  Template Name: Header Style Sheet
 * =======================================*/

#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#wrapper::after {
  content: "";
  display: block;
  clear: both;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo a {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.top-header .logo a {
  color: #fff;
}

.header .logo a {
  color: #333;
}

.menu-toggle {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* ページごとの初期色 */
.top-header .menu-toggle span {
  background-color: #fff;
}
.header .menu-toggle span {
  background-color: #333;
}

.top-header .menu-toggle.active span,
.header .menu-toggle.active span {
  background-color: #333 !important; /* 優先させる */
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
}

#g-nav {
  display: none;
  z-index: 1050;
}

#g-nav.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 1);
  padding: 2rem 1.5rem;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  z-index: 1050;
  overflow-y: auto;
}

#g-nav .menu-item {
  margin-bottom: 1.5rem;
}

#g-nav .menu-item a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

#g-nav .menu-item span {
  display: block;
  font-size: 0.9rem;
  color: #888;
  text-align: center;
}

#g-nav .sns {
  margin-top: 2rem;
}

#g-nav .sns a {
  margin-right: 1rem;
  font-size: 1.5rem;
  color: #333;
}

/* ========================================
 *  画面の横幅が768px以上 (Tablet)
 * =======================================*/
@media screen and (min-width: 768px) {



}

/* ========================================
 *  画面の横幅が1024px以上 (Desktop)
 * =======================================*/
@media screen and (min-width: 1024px) {

#header {
  padding: 1.5rem 3rem;
}

}