/* 会食ページ 専用スタイル（バックアップより抽出） */
.menu-table {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.menu-table th {
  background: linear-gradient(135deg, #8B4513, #A0522D);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.menu-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.menu-table tr:last-child td {
  border-bottom: none;
}

.menu-table .menu-name {
  font-weight: bold;
  color: #8B4513;
  font-size: 18px;
}

.menu-table .price {
  font-size: 20px;
  font-weight: bold;
  color: #D2691E;
}

.menu-table .description {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.children-menu {
  background: linear-gradient(135deg, #FFB6C1, #FFC0CB);
  margin: 20px auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.children-menu h4 {
  margin: 0 0 10px 0;
  color: #8B4513;
  font-size: 18px;
}

.children-menu .price {
  font-size: 20px;
  font-weight: bold;
  color: #D2691E;
  margin: 10px 0;
}

.children-menu .description {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.imgcenter {
  text-align: center;
  margin: 20px 0;
}

.right {
  text-align: right;
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.entry {
  background: #f8f8f8;
  padding: 20px;
  border-left: 4px solid #8B4513;
  margin: 20px 0;
}

.totop {
  text-align: center;
  margin: 30px 0;
}

.c {
  text-align: center;
  margin: 10px 0 30px 0;
  color: #666;
}

section {
  margin: 40px 0;
  text-align: center;
}

section img {
  margin: 10px;
}

/* 自動計算UI（Calculator） */
.kaisyoku-calculator * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 90%;
}

.kaisyoku-calculator {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0 auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.kaisyoku-form {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #444;
}

.menu-list {
  margin-bottom: 10px;
}

.menu-item {
  margin-bottom: 8px;
}

.menu-option {
  display: flex;
  align-items: center;
  padding: 8px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #ddd;
  transition: all 0.2s;
}

.menu-option:hover {
  border-color: #4a90e2;
}

.menu-option input[type="checkbox"] {
  margin-right: 10px;
}

.menu-name {
  flex-grow: 1;
  margin-right: 10px;
}

.menu-quantity {
  width: 80px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: right;
}

.input-number {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.calculate-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.calculate-btn:hover {
  background: #357abd;
}

.result-area {
  margin-top: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #ddd;
  display: none;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.result-item:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 1.1em;
  color: #e74c3c;
}

.divider {
  border-top: 1px dashed #ddd;
  margin: 10px 0;
}

.notice {
  margin-top: 20px;
  padding: 10px;
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  font-size: 0.85em;
  color: #5d4037;
}

.selected-menu {
  background: #f8f9fa;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  border-left: 3px solid #4a90e2;
}

@media (max-width: 480px) {
  .kaisyoku-calculator { padding: 15px; }
  .menu-option { padding: 6px; font-size: 0.9em; }
}
