@charset "UTF-8";

/* 全体 */
body {
  margin: 0;
  padding: 0;
  background-color: #e8ecef;
  color: #333;
  
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

/* ヘッダー */
.slider-container {
  position: relative;
  width: 100vw;
  height: 95vh;
  overflow: hidden;
}

.slider {
  width: 100%;
  height: 100%;
  justify-content: center; 
  display: flex; 
}

.slider img {
  width: 100%;
  height: auto;
  object-position: center;
  object-fit: contain; 
}

.overlay-title a {
  text-decoration: none;
  color: inherit;
}

.overlay-title {
  position: absolute;
  top: 40%;
  left: 25%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 6.5rem;
  color: silver;
  -webkit-text-stroke: 1.5px #4b3832; /* 縁取り（対応ブラウザ限定） */
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  margin: 0;
  text-shadow: none; /* 影は不要なので消す */

  font-family: "Prata", serif;
  font-weight: 400;
  font-style: normal;
}

/* ナビ */
#nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  background-color: #c0c6c9;
  margin: 0;
  height: 10em;
}

#nav-menu a {
  text-decoration: none;
  color: #4b3832;
  font-size: 1.5rem;
  padding: 0 2rem;
}

#nav-menu a:hover{
    color: #e8ecef;
}

/* ヘッダー下の画像 */
.hero {
  background-image: url(../img/shine1.avif);
  background-size: 100%;
  background-position: center;
  height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  font-size: 2rem;
}

/* 各項目 */
.section {
  padding: 50px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-size: 3rem;
  margin: 0;            /* 横並びなので上下のマージンは調整 */
  color: #5c432d;
}

.header-container {
  display: flex;
  align-items: center;  /* 縦方向の中央揃え */
}

/* コーヒーカップアニメーション */
.canvas-container {
  transform: translateY(-6px);
}

.canvas-container canvas {
  display: block;
  width: 50px;  /* canvasの幅 */
  height: 50px; /* canvasの高さ */
}

#canvasbox {
  float: right;
  margin: 20px;
}

#canvas {
  display: flex;
  align-items: center;
  width: 100px;
  height: 100px;
}

/* about */
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.about-text {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  font-size: 1.1rem;
  line-height: 2;
  color: #333;
  padding: 20px;
}

.about-text p {
  margin-bottom: 1.5em;
}

.br-sp{
  display: none;
}

/* aboutの動画 */
.video-bordered {
  width: 425px;
  max-width: 90%;
  border: 8px double #c9caca;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 20vh 0 0 5vw; /* 上にだけ余白、左右の中央寄せを解除 */
}

/* メニュー内容 */
.menu-container {
  width: 75%;
  max-width: 500px;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 16px;
  cursor: pointer;
  height: 50px;
  border-bottom: 1px solid #ccc;
}

.item-name {
  flex: 1;
  max-width: 75%;
}

.item-price-center {
  width: 120px;
  text-align: right;
}

.menu-item:hover .item-name,
.menu-item:hover .item-price-center {
  color: #664032;
  font-weight: bold;
}

/* メニュー画像 */
#menu-image-preview {
  position: fixed;
  top: 50%;               /* 画面の縦中央 */
  left: 60%;
  width: 20em;
  height: 20em;
  border: 8px double #c9caca;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 999;
  overflow: hidden;
  transform: translateY(-50%); /* 縦方向中央に */
}


#menu-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* フッター */
footer {
  background-color: #c0c6c9;
  color: #333;
  text-align: center;
  padding: 15px 10px;
  font-size: 1.3em;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

footer a {
  color: #555;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #e8ecef;
}

.footer-top,
.footer-bottom {
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 12px;
  color: #777;
}

/* オンラインショップアイコン */
.store-link {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: inline-block;
  text-align: center;
  z-index: 1000; /* 他の要素より前に */
  text-decoration: none;
  color: inherit;
}

.cart {
  width: 100px;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.beans {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-30%);
  width: 55px;
  opacity: 0;
  transition: top 0.6s ease, opacity 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.store-link:hover .beans {
  top: 2px;
  opacity: 1;
}


