/*
Theme Name: neguse
Description: 
Author: aono
Author 
Template: 
Version: 
Text Domain: 
*/







@font-face {
  font-family: "myFont";
  src: url("HiraKakuPro-W3.woff2") format('woff2'),
       url("HiraKakuPro-W3.woff")  format('woff');
}


html {
  scroll-behavior: smooth;
}




*{margin:0; padding:0; box-sizing: border-box; 
}



body::before {
  background:url('https://neguse.jp/hot-de-good-fest2026/wp-content/uploads/2026/01/bb-scaled.jpg') no-repeat left center;
 
background-position:  center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size:cover;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  
  width: 100vw;
 height: 100vh;
 
  content: "";
  z-index: -1;


}


body {
color:#000;

line-height: 2;
font-family: "Noto Sans JP", sans-serif;


}

img {max-width:100%; 

 display: block;
  margin: 0 auto;
}

a {text-decoration: none; color:#000;}


.blank {margin-bottom: 250px;}
.blank2 {margin-bottom: 3vw;}




.sp {display:none;}

.top {margin:5vw auto;}



/* 以前の .content::before は不要になるので削除してください */



h1,h2,h3 {margin:0; line-height:1.5; }

h1 {font-size:3.5vw; }
h1 span{color:#a92125;}

h2 {font-size:3vw;}
h3 {font-size:3vw;}
h3 span {font-size:2.5vw;}
h4 {font-size:2vw; }

ul {color:#fff; display:table; text-align: left; padding-left:1em; }
li {}


.news-container {height: 200px;  overflow-y:auto; }
.date {  float:right; }
.news-container ul {display:block; color:#000; margin-left: 10px;}
.news-container li {border-bottom: 1px dotted #666; padding-bottom:3px;
margin-bottom:3px;
}


.content {width:70%; margin:0 auto; text-align: center; }


.box {

position:relative;
background: #f6e8d6; border-radius: 5vw;
padding:5vw;
padding-top:8vw;  
font-weight: bold;
margin-top:3vw;

}

.box2 {

text-align: left;
position:relative;
background: #f6e8d6; border-radius:0 0 1vw 1vw  ;

padding:1vw;
padding-bottom: 2vw;  
font-weight: bold;

}


.subtitle {
background: #468786; 
color:#fff;
display: inline-block;
line-height: 1;
font-size:2.5vw;
border-radius: 5vw;
padding: 5px 80px 10px ;
}

.posttitle {
background: #468786; 
color:#fff;
border-radius: 1vw 1vw 0 0;
line-height: 1;
padding:10px 10px ;
margin-top:2vw;
}

.waku {position:absolute;
top:-3vw;
left: 50%;
transform: translateX(-50%);}

.waku2 {margin-top:-3vw;}



.logo {width:20%; margin:0 auto; margin-top:5vw;}
.day img {width:80%;}


.kinshi {
padding-top:5vw;
display: flex; gap:5px; justify-content: center;
width:70%; margin:0 auto; margin-bottom:3vw;
}


.lineup {display: flex; gap:5vw; justify-content: center;
flex-wrap: wrap;
}

.neguse {width:60%; margin:0 auto; margin-bottom: 5vw;}
.art {width:45%; }


.sns {display: flex; gap:5px; justify-content: center;}
.sns img {width:60px;}
.art .sns img {width:50px;}







.maru {width:150px;}


.link {
display:table;

background-color: #468786; 
  color: #fff;
  font-weight: bold;
  font-size: 3vw;
  
  padding: 30px;
  
  width: 80%;
  margin: 0px auto;
  line-height: 1;

}



.fade-in {

  opacity: 0; /* 初期状態では透明 */
  transform: translateY(20px); /* 少し下に配置 */
  transition: opacity 1s ease, transform 1s ease; /* スムーズなアニメーション */
}

.fade-in.visible {
  opacity: 1; /* フェードインして見えるように */
  transform: translateY(0); /* 元の位置に移動 */
}



.up {transition: transform 0.3s ease; }
.up:hover {
  transform: translateY(-10px); /* 上に10px移動 */
}



.pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
  padding:5px;
border-radius: 5px;
  background:#468786;
  color:#000;
}


.pagetop a {color:#fff;}

.footer {
  
text-align: center;
color:#a9dbef;

  font-weight:bold; margin:8vw auto;

}



@media only screen and (max-width:599px){

.pc {display:none;}
.sp {display:block;}

h1 {font-size:6vw;}
h2 {font-size:6vw;}
h3 {font-size:6vw;}
h4 {font-size:3vw;}


.box {

padding:8vw 2vw;

}

.box2 {

padding:8vw 2vw;

}

.blank {margin-bottom: 100px;}

.subtitle {
padding: 5px 20px 10px ;
}

.waku {position:absolute;
top:-8vw;
}

.content {
width:100%;
font-size:3vw;
letter-spacing: 0;
line-height: 1.5;
padding:5px;
margin-top:100px;
}


.lineup {gap:4vw 2vw;
}
.art {width:48%; }
.sns img {width:30px;}
.art .sns img {width:30px;}


.link {font-size: 5vw; width:90%; border-radius: 20px;
padding: 20px;
}




}






.navbar {
      background-color: #468786;
      
      display: flex;
      align-items: center;
      position: relative;
      z-index: 1000;

      position: sticky;
      top: 0;
      margin:0 auto;


    }

    .nav-container {
      width: 100%;

      margin: 0 auto;
      padding: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /* デスクトップ用メニュー */
    .nav-menu {
      display: flex;
      list-style: none;
      justify-content: center;
      flex-wrap: wrap;
    }

    .nav-menu li {
         font-family: "myFont";
      font-weight: bold;
      width: 20%;
      text-align: center;
    }

    .nav-menu a {
      color: white;
      text-decoration: none;
      font-size: 2vw;
      transition: color 0.3s;
    }

    .nav-menu a:hover {
      color: #ff9900;
    }

    /* ハンバーガーボタン（デフォルトは隠す） */
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      background: none;
      border: none;
      outline: none;
    }

    .bar {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 4px 0;
      transition: all 0.3s ease-in-out;
    }

    /* --- スマホ用スタイル (960px以下) --- */
@media only screen and (max-width:599px){
.nav-container {
  justify-content: flex-start;}

      .navbar {position: fixed; 
      top: 0;
      left: 0;
width:100%;
padding:5px;

    }

      .menu-toggle {
        display: flex; /* ボタンを表示 */
      }

      .nav-menu {
        display: none; /* 初期状態は隠す */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* navbarの高さ */
        left: 0;
        background-color: #468786;
        padding: 20px 0;
        
      }
      .nav-menu a {font-size: 4vw;}

      .nav-menu.active {
        display: flex; /* JSで表示 */
      }

      .nav-menu ul {text-align: center; }

      .nav-menu li {
        margin: 15px 0;
width:100%;
      }

      /* ボタンが「×」になるアニメーション */
      .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
      }
      .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
      }
      .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
      }
    }










