@charset "UTF-8";
/* 惣菜予約フォーム 管理画面CSS */

/* カレンダー設定箇所 */
#calendar-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.calendar-month {
  width: calc(50% - 10px);
  border: 1px solid #ccc;
  padding: 10px;
  background: #fafafa;
}
.calendar-table {
  width: 100%;
  border-collapse: collapse;
}
.calendar-table th, .calendar-table td {
  border: 1px solid #ddd;
  text-align: center;
  padding: 4px;
}
#calendar-nav {
  margin-bottom: 10px;
}


/* Googleフォント指定 */
body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}



/* 惣菜予約フォーム フロントCSS */
.entry-header {
	display: none;
}

body.page,
.reservation-title-image,
body.page .reservation-title-image:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.reservation-title-image {
	width: 60%;
	height: auto;
	margin: auto;
}
.reservation-title-image img {
	width: 100%;
	height: auto;
}

#souzai-form {
  background: #fff;
  max-width: 480px;
  margin: 0px auto;
  border-radius: 16px;
}

#souzai-form h3 {
  font-size: 18px;
  color: #e45513;
	text-align: center;
	padding: 20px 0 10px 0;
}

#souzai-form select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

#souzai-form ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  list-style: none;
  margin: 0 0 16px;
}

#souzai-form li {
background: #f6f6f6;
  border-radius: 12px;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#souzai-form li img {
  width: 100%;
  height: 120px; /* 高さを固定 */
  object-fit: cover; /* 中央を切り取って表示 */
  border-radius: 6px;
  margin-bottom: 8px;
}


#souzai-form li input[type="number"] {
  width: 60px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  border: none;
  background: #eee;
  padding: 6px 0;
  margin: 6px 4px;
  border-radius: 6px;
}

#souzai-form .item-unit {
  color: #ff5500;
  font-weight: bold;
  font-size: 16px;
}

#souzai-form p.total-label {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin: 24px 0 4px;
}

#total_price {
  font-size: 28px;
  color: #00aaff;
  font-weight: bold;
}

#souzai-form input[type="text"],
#souzai-form input[type="email"],
#souzai-form input[type="tel"] {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}




#souzai-form button[type="submit"] {
  width: 100%;
  background: #e45513;
  color: #fff;
  font-size: 20px;
  padding: 14px;
  margin-top: 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#souzai-form button[type="submit"]:hover {
  background: #cc2200;
}


/* 日付と時間セレクトボックスを横並びにする */
#souzai-form .datetime-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

#souzai-form .datetime-wrap select {
  flex: 1;
  margin-bottom: 0;
}

/* 「1回のご予約上限金額は」の箇所 */
.max-total-notice {
	text-align: center;
	font-size: 15px;
	background-color: #FBE3D7;
	margin-bottom: 20px;
}

/* 受付設定のフリーワード箇所 */
.max-total-notice {
	text-align: center;
	font-size: 17px;
	background-color: #FBE3D7;
	margin-bottom: 30px;
	padding: 5px;
	border-radius: 5px;
}

/* 合計金額箇所 */
#souzai-form p.total-label {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin: 24px 0 4px;
}

/* 商品一覧箇所 */
#souzai-form .item-name {
  font-size: 16px;        /* 商品名のサイズ調整可 */
  color: #e45513;          /* 商品名の色指定 */
  font-weight: bold;
  margin-bottom: 4px;
}

#souzai-form .item-price {
  font-size: 14px;         /* 金額のサイズ調整可 */
  color: #333;
  margin-bottom: 6px;
}

#souzai-form .item-qty {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#souzai-form .item-qty input[type="number"] {
  width: 60px;
  font-size: 16px;
  text-align: center;
  border: none;
  background: #eee;
  padding: 6px 0;
  border-radius: 6px;
}

#souzai-form .item-unit {
  font-size: 14px;         /* ← ここで「個」や「本」などのサイズ調整 */
  color: #444;
}

#souzai-form .item-limit {
  font-size: 13px;
	background-color: #FF0000;
  color: #ffffff;
  margin-top: 4px;
	border-radius: 10px;
}



/* 予約内容確認の削除ボタン箇所 */
#souzai-form li.confirm-item button.remove-item-btn {
	all: unset; /* ← ブラウザのデフォルト装飾を完全にリセット */
	display: inline-block;
	background-color: #ccc; /* 薄グレー */
	color: #000; /* 黒文字 */
	border: none;
	padding: 6px 16px;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	margin-top: 10px;
	transition: background-color 0.3s;
	text-align: center;
}
#souzai-form li.confirm-item button.remove-item-btn:hover {
	background-color: #bbb !important;
}




/* 予約番号で照会箇所 */
.reservation-check-wrapper {
  padding: 0px 20px 20px 20px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
	background: #f5f5f5;
	border-radius: 8px;
}

.resv-check-title {
  font-size: 24px;
	padding: 20px 0 10px 0;
}

.resv-check-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.resv-check-label {
  font-size: 18px;
  font-weight: bold;
  margin-right: 10px;
  margin-bottom: 8px;
}

.resv-check-row input[type="text"] {
  width: 320px;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.resv-check-btn {
  background: #0caff7;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
}

.resv-check-btn:hover {
  background: #008fcc;
}

.reservation-check h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.reservation-check input[type="text"] {
  width: calc(100% - 100px);
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.reservation-check input[type="submit"] {
  background: #444;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  margin-left: 8px;
  cursor: pointer;
}

/* 「予約する」と「確認する」共通箇所 */
.btn-size-large {
  font-size: 1.2em;
  padding: 15px 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 20px auto;
  font-weight: bold;
  border: none;
}

/* 予約するボタン（オレンジ） */
.reserve-btn {
  background: #f14500;
  color: #fff;
}

/* 確認するボタン（青） */
.resv-check-btn {
  background: #0caff7;
  color: #fff;
}

/* 画面遷移後に見た目を整える箇所 */
.reservation-result {
	width: 550px;
	height: auto;
    background: #fff;
    margin: auto;
    text-align: center;
}

.resv-thanks {
    font-size: 24px;
    color: #f4511e;
    font-weight: bold;
    margin-bottom: 20px;
}

.reservation-result p.resv-description {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
	text-align: justify;
    margin-bottom: 30px;
}

.resv-box {
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.resv-label {
  background-color: #838383;
  color: #fff;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 18px;
	margin-bottom: 20px;
}

.resv-box span.reservation-id {
	display: block;
    font-size: 36px;
    font-weight: bold;
    color: #00aaff;
	padding-top: 10px;
}

.reservation-result p.resv-note {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
	text-align: justify;
}

/* ▼ 予約照会フォーム */
.reservation-complete-wrapper {
	width: 90%;
	height: auto;
    background: #ffffff;
    margin: auto;
}

.resv-check-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #3c3c3c;
}

.resv-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.resv-check-label {
    font-weight: bold;
    min-width: 100px;
}

.resv-check-btn {
    width: 100%;
    max-width: 200px;
    background: #00aaff;
    color: white;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}


#souzai-form button[type="submit"].resv-check-btn {
  width: 100%;
  background: #00aaff;
  color: #fff;
  font-size: 20px;
  padding: 14px;
  margin-top: 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#souzai-form button[type="submit"].resv-check-btn:hover {
  background: #e45513;
}


/* 予約内容確認箇所 */
.resv-lookup {
	max-width: 680px;
	background-color: #F9FFF7;
	padding: 10px;
	margin: auto;
	margin-bottom: 15px;
	border-radius: 5px;
}

.resv-lookup h3 {
	text-align: center;
}

.resv-item {
	font-size: 20px;
	background-color: #FBE3D7;
}

.resv-time {
	font-size: 20px;
	background-color: #FBE3D7;
}

.resv-total {
	font-size: 25px;
	padding-top: 20px;
}


/* 予約内容確認箇所-ボタンの色 */
#confirm-button {
    background-color: #8fc31f;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#confirm-button:hover {
    background-color: #79a91a; /* 少し暗めの色 */
}




/* 在庫ステータス全体 */
.stock-status {
  font-weight: bold;
  margin-top: 5px;
  font-size: 0.95em;
}

/* 在庫あり（緑） */
.stock-status.in-stock {
  color: #28a745;
}

/* 在庫僅少（オレンジ） */
.stock-status.low-stock {
  color: #ff9800;
}

/* 残り個数表示（赤） */
.stock-status.few-left {
  color: #e53935;
}

/* 在庫なし（グレー） */
.stock-status.out-of-stock {
  color: #999;
  text-decoration: line-through;
}


.stock-status.countdown {
    color: red;
    font-weight: bold;
}





/* 日付を選ぶように促す警告文箇所 */
.date-warning {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  background: #b30000;
  color: #ffffff;
  padding: 0; /* 非表示時は padding もゼロに */
  text-align: center;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 9999;
  font-size: 1.1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.5s ease;
}

.date-warning.show {
  opacity: 1;
  visibility: visible;
  height: auto;
  padding: 12px 16px;
}
