@charset "utf-8";

/* 外部リソースの読み込み */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");
@import url("slide.css");
@import url("inview.css");

/* カスタムプロパティ（変数） */
:root {
  --primary-color: #f8b6c2;
  --primary-inverse-color: #fff;
  --global-space: 5vw;
}

/* 全体設定 */
body * {
  box-sizing: border-box;
}

html, body {
  font-size: 13px;
  margin: 0;
  padding: 0;
  font-family: "M PLUS 1", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background: #fff;
  color: #777;
  line-height: 2;
}

img {
  width: 100%;
  height: auto;
}

/* メディアクエリ（レスポンシブ） */
@media screen and (min-width: 900px) {
  html, body {
    font-size: 16px;
  }
}

@media screen and (max-width: 899px) {
  #menubar {
    display: none;
  }

  #menubar_hdr {
    display: block;
  }
}

/* アニメーション */
@keyframes animation1 {
  0% { left: -200px; }
  100% { left: 0px; }
}

@keyframes opa1 {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes zoom {
  from { transform: scale(0.7); }
  to { transform: scale(1); }
}

/* リンク設定 */
a {
  color: #777;
  transition: 0.3s;
}

a:hover {
  color: var(--primary-color);
}


/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--global-space);
}

.header-background {
  width: 100%;
  text-align: center;
  padding-top: 20px; /* スカスカ感が気になるならこのあたり調整 */
}

.header-background h1 {
  font-size: 2.2rem; /* サイズ調整 */
  margin: 0 auto;     /* 中央寄せ */
  color: #4b2e1e;     /* カフェっぽいブラウンとかもあり */
}


/* メニュー設定 */
#menubar {
  position: sticky;
  top: 0;
  z-index: 2;
  transition: margin-top 0.3s ease;
}

#menubar > nav > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  list-style-type: none;
}

#menubar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#menubar li {
  margin: 0 1rem;
}

#menubar li a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  background: transparent;
  color: var(--primary-color);
  padding: 10px 15px;
  border-radius: 20px;
  transition: background-color 0.3s, transform 0.3s;
}

#menubar li a:hover {
  background-color: rgba(248,182,194,0.5);
  transform: scale(1.05);
}

#menubar .adjust-position {
  transition: transform 0.3s ease;
}

/* サブメニュー */
#menubar .submenu {
  display: none;
  position: absolute;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 150px;
}

#menubar .submenu li {
  display: block;
  margin-bottom: 10px;
}

#menubar .submenu li a {
  color: rgba(248,182,194,0.5);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 5px 10px;
}

#menubar .submenu li a:hover {
  color: #007BFF;
}

#menubar .dropdown {
  position: relative;
}

#menubar .dropdown:hover .submenu {
  display: block;
  position: absolute;
  top: 100%;
  left: 20px;
}

/* ナビアイコン */
.nav-icon {
  width: 30px;
  height: auto;
  margin-right: 8px;
}

/* メインコンテンツ */
main {
  margin: var(--global-space);
}

main h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 2rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #ddd;
}

#contents {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 15px;
}

/* メイン見出し */
h2 {
  font-size: 1.6em;
  border-bottom: 3px;
  margin-top: 60px;
  padding-bottom: 10px;
  color: #e4a0a0;
}

h2 .uline {
  border-bottom: 3px;
  padding-bottom: 3px;
}

h2 .small {
  float: right;
  font-size: 0.8em;
  color: #e4a0a0;
  margin-top: 5px;
}

/* 見出し（タイプ2） */
h3.type2 {
  margin-top: 40px;
  background: #f8b6b6;
  padding: 10px;
  color: #fff;
}

/* 予約ボタン */
.button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  transform: translateX(-75px); /* ← 左に30pxずらす。お好みで微調整 */
}


.soft-button {
  background-color: var(--primary-color);
  color: var(--primary-inverse-color);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.soft-button:hover {
  background-color: #f9c7d0;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.soft-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* ギャラリー */
.gallery-container {
  padding: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* モーダル表示 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  animation: zoom 0.3s;
}

@keyframes zoom {
  from { transform: scale(0.7); }
  to { transform: scale(1); }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

#caption {
  margin: 15px auto;
  text-align: center;
  color: white;
  font-size: 18px;
}

/* 店舗情報 */
.shop-info {
  text-align: center;
  margin: 20px auto;
}

.shop-info ul {
  list-style-type: none;
  padding: 0;
}

.shop-info li {
  margin: 10px 0;
}

/* お知らせカード */
.news_top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.flip-card {
  width: 200px;
  height: 100px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-family: Arial, sans-serif;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
  background: #bee7fa;
  color: #493e3e;
}

.flip-card-back {
  background: #f9c7d0;
  color: #fff;
  transform: rotateY(180deg);
}

/* メニュー（カードタイプ） */
.grid-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 1200px;
  margin: 0 auto 20px;
}

.grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.featured-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.grid-item h3 {
  font-size: 1.5rem;
  margin: 10px 0;
  color: #333;
}

.grid-item p {
  font-size: 1rem;
  color: #666;
}

p {
  font-size: 0.9rem;
  color: #666;
}

/* メニュー（テーブルタイプ） */
.drink-menu {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  font-family: 'Noto Sans JP', sans-serif; /* 読みやすい日本語フォント */
}

.drink-menu h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  text-align: center;
  color: #a0522d; /* カフェ系ブラウン */
}

.menu-table {
  width: 100%;
  border-collapse: separate; /* ← 角丸を効かせるために separate に変更 */
  border-spacing: 0;
  margin: 20px 0;
  border-radius: 12px; /* テーブル全体の角丸 */
  overflow: hidden;
}

.menu-table th,
.menu-table td {
  text-align: left;
  padding: 12px;
  line-height: 1.8;
  color: #4b2e1e;
  background-color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(200, 150, 100, 0.3);
}

/* ヘッダー */
.menu-table th {
  font-size: 1.1rem;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.8);
}

/* テーブルの角セルに丸みを適用（上下左右） */
.menu-table tr:first-child th:first-child {
  border-top-left-radius: 12px;
}
.menu-table tr:first-child th:last-child {
  border-top-right-radius: 12px;
}
.menu-table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.menu-table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.menu-category {
  margin-top: 20px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #8b4513;
  background-color: rgba(255, 255, 255, 0.5);
}

.menu-item {
  font-size: 1rem;
}news_top 

.menu-price {
  text-align: right;
  color: #4b2e1e;
}

/* ホバー時に行をふんわり浮かせる */
.menu-table tr:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transition: 0.3s ease;
}

.menu-price {
  text-align: center;
}

.menu-price span {
  background-color: #e0d3c0; /* カフェ風の柔らかベージュ */
  color: #4b2e1e;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  font-weight: bold;
  font-size: 1rem;
  min-width: 60px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  .menu-table th,
  .menu-table td {
    font-size: 0.9rem;
    padding: 8px;
  }
}

/* メニュー画像（list-menu） */
.list-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.list {
  width: calc(33.333% - 20px);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s ease;
}

.list:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.list figure {
  margin: 0;
}

.list figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.list .text {
  padding: 10px;
}

.list h4 {
  font-size: 1.2em;
  margin: 0 0 5px;
  color: #888;
}

.list h4 .price {
  float: right;
  color: #888;
  font-weight: normal;
}

.list p {
  font-size: 0.9em;
  color: #666;
}

/* 新メニュー用の画像背景付きカード */
.grid-item.image-card {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  color: white;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin-bottom: 10px;
}

.grid-item.image-card h3 {
  margin: 0 auto;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.6rem;
  color: white;
}

body.drink-bg {
  background-image: url('../images/haikei.png'); /* ← 画像の正しいパスにしてね！ */
  background-size: cover;             /* 全体に広げる */
  background-repeat: no-repeat;       /* 繰り返さない */
  background-position: center bottom;    /* 上から中央に配置 */
  background-attachment: fixed;       /* スクロールしても背景は固定 */
}

footer {
  text-align: center;
  padding: 60px 0 30px;
  background-color: transparent;
   /* 左に少しずらしたい場合 */
}

footer p {
  margin: 10px 0;
  font-size: 0.9rem;
  color: #4b2e1e; /* 落ち着いたブラウン */
}

footer .social-icons {
  display: flex;
  justify-content: center; /* アイコンを中央に */
  gap: 15px; /* アイコン間の余白 */
  margin-top: 10px;
}

footer .social-icons a {
  font-size: 1.2rem;
  color: #777;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: #a0522d; /* ホバー時にカフェ風カラーに */
}


.cake-background {
  background-image: url('../images/cakeice.png'); /* 画像のパスは環境に合わせて調整 */
  background-repeat: no-repeat; /* 繰り返さない */
  background-size: auto;        /* 元のサイズで表示 */
  background-position: center bottom; /* 画面の右下に配置 */
}


.food-background {
  background-image: url('../images/food.png'); /* 画像のパスは環境に合わせて調整 */
  background-repeat: no-repeat; /* 繰り返さない */
  background-size: auto;        /* 元のサイズで表示 */
  background-position: center bottom; /* 画面の右下に配置 */
}

.newmenu-background {
  background-image: url('../images/newnemu.png'); /* 画像のパスは環境に合わせて調整 */
  background-repeat: no-repeat; /* 繰り返さない */
  background-size: auto;        /* 元のサイズで表示 */
  background-position: center bottom; /* 画面の右下に配置 */
}


.top-background {
  background-image: url('../images/top.png'); /* 画像のパスは環境に合わせて調整 */
  background-repeat: no-repeat; /* 繰り返さない */
  background-size: auto;        /* 元のサイズで表示 */
  background-position: center bottom; /* 画面の右下に配置 */
}


/* ロゴ画像を中央に配置しサイズ調整 */
.logo-image {
  display: block;            /* ブロック要素で中央揃え */
  margin: 0 auto;            /* 中央に寄せる */
  max-width: 350px;          /* 最大幅を少し大きく調整 */
  width: 100%;               /* レスポンシブ対応：親要素内で最大幅まで広がる */
  height: auto;              /* アスペクト比維持 */
  padding: 20px 0;           /* 上下に余白を少し増やす */
}

