@charset "UTF-8";


/* ========== ヘッダー ========== */
header {
  position: fixed;      
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
}


.logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 40px;
}

.logo-overlay h1 {
  font-size: 2.2rem;
  color: #6e4d30;
  margin: 0;
  text-align: center;
  line-height: 1.2;
}

nav.desktop-nav {
  position: absolute;
  top: 30px;
  right: 7%;
  display: flex;
  gap: 25px;
  padding: 20px 40px;
  border-radius: 30px;
  background-color: #faf7f3;
}

nav.desktop-nav a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

nav.desktop-nav a:hover {
  color: #6e4d30;
}

nav.desktop-nav a::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  width: 25px;
  height: 25px;
  background-image: url('../img/nikukyu.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

nav.desktop-nav a:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ========== ハンバーガーメニュー ========== */
.hamburger {
  position: fixed;
  top: 35px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
}

.hamburger-bg {
  background: rgba(110, 77, 48, 0.8);
  padding: 10px 15px;
  border-radius: 20px;
  display: none;
  flex-direction: column;
  align-items: center;
}

.hamburger-lines span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
}

.hamburger-label {
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 5px;
}

/* ========== モバイルメニュー ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(110, 77, 48);
  z-index: 2000; /* ← hamburger より前に */
  transition: right 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 25px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 2100; /* 念のためさらに上 */
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  color: white;
}

.mobile-menu-inner a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
}


.close-mark {
  font-size: 1.8rem;
}

.close-text {
  font-size: 1rem;
  letter-spacing: 1px;
}
.logo-overlay img{
  width: 150px;
}

.mobile-sns-links {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.mobile-sns-links a {
  display: inline-block;
}

.mobile-sns-links img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.mobile-sns-links img:hover {
  transform: scale(1.1);
}

/* ========== レスポンシブ対応 ========== */
@media screen and (max-width: 1100px) {
    header {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
    /* ロゴサイズを小さくする */
  .logo-overlay {
    width: 120px;
    height: 120px;
    top: 10px;
    left: 10px;
  }
  .logo-overlay img{
  width: 150px;
}

  .logo-overlay h1 {
    font-size: 1.4rem;
    line-height: 1.1;
  }

  /* ハンバーガーは表示、ナビは非表示 */
  nav.desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;  /* ←追加 */
  }
  .hamburger-bg {
  background: rgba(110, 77, 48);
  padding: 10px 15px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

}