/* 全体のレイアウト */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%; /* iOSの自動縮小防止 */
}

.logo-header {
  width: 40%;
  text-align: center;
  margin: 15px 0;
}

.logo {
  max-width: 250px;
  width: 80%;
  height: auto;
}

/* メイン部分を中央寄せ */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;              /* スマホで幅いっぱい */
  max-width: 600px;         /* PCでは広がりすぎない */
  margin: 0 auto;
  padding: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(18px, 5vw, 24px); /* スマホ〜PCで文字サイズ調整 */
}

/* 月切り替えボタン */
.month-buttons {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.month-btn {
  background: #e74c3c;
  border: none;
  color: #fff;
  padding: 8px 15px;
  margin: 5px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
  flex: 1 1 auto;
  max-width: 120px;
}

.month-btn:hover {
  background: #c0392b;
}

.calendar-wrapper {
  width: 90%;              /* 一回り小さく */
  max-width: 450px;        /* PCで広がりすぎないよう制限 */
  margin: 20px auto;       /* 上下左右に余白 */
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

/* カレンダー本体 */
#calendar {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  width: 100%;
}

/* カレンダーのセル */
.day {
  padding: 10px 0;
  background: #fff;
  border-radius: 6px;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #333;
  border: 1px solid #eee; /* 枠を追加 */
  box-sizing: border-box;
}

/* 定休日 */
.day.off {
  background: #fdeaea;
  color: #c0392b;
  font-weight: bold;
}

/* 注文ボタン */
.order {
  margin-top: 20px;
}

#orderBtn {
  background: #e74c3c;
  border: none;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  max-width: 300px;
}

#orderBtn:hover {
  background: #c0392b;
}

/* 店舗情報 */
.shop-info {
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: left;
  box-sizing: border-box;
}

.shop-info h2 {
  margin-top: 0;
  color: #e74c3c;
  font-size: 18px;
}

.shop-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-info li {
  margin: 4px 0;
  font-size: 14px;
}
