
@charset "UTF-8";

:root{--basecolor: rgb(18, 18, 18);}

/* #afa34d */

/* 共通部分ここから */

html{
    font-size: 100%;
}

body{
  background-image: url(../images/wasi27.png);
  background-color: #eeeeee;
  /* background-color: #e3e3e3; */
  background-repeat: repeat;
  font-family: "Shippori Mincho" , "Yu Gothic" , serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}


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

img{
  max-width: 100%;
}

a.logo{
  width: 65px;
  height: auto;
  margin-left:30px ;
}

header{
  background-color: var(--basecolor);
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 0;
  margin: 0;
  position: fixed;
  height: 100px;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


nav{
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul{
  display: flex;
  justify-content: center;
  list-style-type: none;
  gap: 2rem;
  font-size: medium;
  margin: 0 20px 0 0;
  padding: 0;
}

nav ul li{
  font-size: large;
} 
    

nav ul li a{
  transition: color 0.7s ease;
  /*線の基点とするためrelativeを指定*/
position: relative;
  text-shadow: 1px 1px 2px rgba(197, 197, 197, 0.37);
}

nav ul li a:hover{
  color: beige;
}

nav ul li a::after{
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: -4px;
  left: 0;
  /*線の形状*/
  width: 100%;
  height: 1px;
  background:beige;
  /*アニメーションの指定*/
  transition: all .7s;
  transform: scale(0, 0);/*X方向0、Y方向1*/
  transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
nav li a::after,
nav li a:hover::after {
  transform: scale(1, 1);/*X方向にスケール拡大*/
}



#main{
  padding-top: 100px;
}

.midasi{
  height: auto;
}

footer{
  background-color: var(--basecolor);
  color: #afa34d;
  padding: 1rem 0;
  text-align: center;
}

/* 共通部分ここまで */




/* ホームここから */

.slideshow-container {
  position: relative;
  max-width: 800px; /* 画像サイズに合わせて調整 */
  margin: 20px auto;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.slide {
  display: none;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.fade {
  animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* .gold-flakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.gold-flake {
  position: absolute;
  background: linear-gradient(145deg, #d4af37, #b8860b);
  opacity: 0.8;
  border-radius: 2px;
  animation: goldFall linear forwards;
}

@keyframes goldFall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) translateX(var(--x-shift)) rotate(360deg);
    opacity: 0;
  } 
}*/

/* ホームここまで */





/* お品書きここから */

section{
    padding: 10px;
}

h2 {
    color: var(--basecolor);
    border-bottom: 1px solid var(--basecolor);
    padding-bottom: 0.5em;
}


.box {
    display: none;/*はじめは非表示*/
    /* background-color: #fff; */
    padding-bottom: 1em;
    margin: 1em;
    width: 100%;
    max-width: 100%;
}

/*==================================================
アコーディオンのためのcss
===================================*/

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 90%;
    max-width: 900px;
    margin:0 auto;
    text-align: center;
}

.accordion-area li{
    margin: 20px 0;
   
}

h2{
    font-family: serif;
    font-weight: 700;
}

.box {
  text-align: center;          /* box内の要素を中央寄せ */
  margin: 0 auto;              /* 中央配置 */
  padding: 40px;
  max-width: 800px;            /* 表示幅の上限設定 */
  background-color:rgba(255, 255, 255, 0.4);
}

.menu-columns {
  display: flex;
  justify-content: center;     /* 両列を中央に寄せる */
  gap: 40px;
  flex-wrap: wrap;
}

dl {
  margin: 0;
  padding: 0;
  flex: 1 1 300px;
}

.item {
  display: flex;
  justify-content: center;     /* 中身も中央に寄せる */
  gap: 20px;                   /* 🆕項目と値の間隔を明確に */
  margin-bottom: 10px;
}


/* 全体の item を変更しないように、top-rowだけflexに */
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* smallはブロック要素で改行表示 */
.item small {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin-top: 5px;
  line-height: 1.5;
}



dt, dd {
  margin: 0;
  font-size: 1rem;             /* 文字サイズを統一 */
}

dt {
  flex: 1;
  text-align: left;
}

dd {
  width: 60px;
  text-align: right;
  flex-shrink: 0;
}



/* お品書きここまで */




/* お飲み物ここから */


/* お飲み物ここまで */




/* 店舗情報ここから */

.access{
  display: grid;
  grid-template-columns: center;
  gap: 20px;
  width: 100%;
}

/* 店舗情報ここまで */




/* レスポンシブ対応ここから */

@media (max-width: 768px){

  body{
    max-width: 768px;
    width: 100%;
  }

  /* nav ul {
    display: none;
  } */
  /*==================================================
  　5-2-1 3本線が×に
  ===================================*/
  /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
  .openbtn{
    position: relative;   /*ボタン内側の基点となるためrelativeを指定 */
    cursor: pointer;
    width: 50px;
    height:50px;
    padding-right: 20px;
    /* background-color: #57a2c7; */
  }
  

  /*ボタン内側*/
  .openbtn span{
    display: inline-block;
    transition: all .6s;/*アニメーションの設定*/
    position: absolute;
    /* left: 14px; */
    height: 1px;
    border-radius: 2px;
    background: #fff;
    width: 40px;
  }

  .openbtn span:nth-of-type(1) {
    top:10px;	
  }

  .openbtn span:nth-of-type(2) {
    top:23px;
  }

  .openbtn span:nth-of-type(3) {
    top:34px;
  }

  /*activeクラスが付与されると線が回転して×に*/

  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    /* left: 18px; */
    transform: translateY(6px) rotate(45deg);
    width: 40px;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;/*真ん中の線は透過*/
  }

  .openbtn.active span:nth-of-type(3){
    top: 30px;
    /* left: 18px; */
    transform: translateY(-6px) rotate(-45deg);
    width: 40px;
  }

  .menu-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;  /*ここでdl間のgapをなくす */
  }


.slide-menu {
    position: fixed;
    top: 100px;
    right: -120%;/* 初期状態は画面外 */
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    transition: right 0.7s ease;
    z-index: 1000;
    overflow-y: auto;/* メニュー内が長くてもスクロール可 */
  }

  .slide-menu.active {
    right: 0; /* 表示状態 */
  }

.slide-menu {
    list-style: none;
    padding: 2rem 1rem;
    margin: 0;
    display: block; /* ← flex ではなく block にする */
    text-align: center;
  }

  .slide-menu li {
    margin-bottom: 1rem; /* 適度な間隔 */
  }

  .slide-menu li a {
    font-size: 1.5rem;
    display: inline-block; /* リンクをブロック化して横幅調整 */
    transition: color 0.6s ease;
    position: relative; /* ホバーアニメーション用 */

  }
  
  /* メニュー表示時 */
  .slide-menu.active {
    right: -20px;
  }


  dl {
    max-width: 768px;
    width: 100%;
    gap: 0;
    flex: 0;
  }


  .title {
    text-align: center;          /* 🆕追加：セクション見出しを中央寄せ */
    font-size: 1.5rem;           /* 🆕追加：大きめの見出し */
    /* margin-bottom: 5px; */
  }

  p {
    margin-bottom: 5px;
  } 

  .box {
    margin-top: 0;
  }
}


