#p_contents {
width: 1000px;
}
/* 消費税表示の注意書きスタイル */
.tax-notice {
  margin: 40px 0;
  padding: 15px;
  text-align: center;
}

.tax-notice p {
  margin: 5px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* メニュータイトル - 基本スタイル */
.menu_title {
  width: 1000px;
  margin: 0 auto;
  height: 200px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #000;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 背景画像の設定 - data属性で切り替え */
.menu_title[data-bg="takeout"] {
  background-image: url("../menu/images/fear2021_ume.jpg");
}

.menu_title[data-bg="menu"] {
  background-image: url("../menu/images/menuimage.jpg");
}

.menu_title[data-bg="access"] {
  background-image: url("../access/images/genkan.jpg");
}

/* タイトルテキスト */
.menu_title h2 {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  position: relative;
  z-index: 1;
  line-height: 1.4;
  /* 強化されたテキストシャドウ - 濃い目の多層シャドウ */
  text-shadow: 
    2px 2px 3px rgba(0, 0, 0, 0.8),
    -2px 2px 3px rgba(0, 0, 0, 0.8),
    2px -2px 3px rgba(0, 0, 0, 0.8),
    -2px -2px 3px rgba(0, 0, 0, 0.8),
    0 0 8px rgba(0, 0, 0, 0.9); /* 全体的なぼかしシャドウ */
}

/* 英語タイトル */
.menu_title .en-title {
  display: block;
  font-size: 16px;
  font-weight: normal;
  margin-top: 5px;
  letter-spacing: 1px;
  opacity: 0.9;
  text-transform: capitalize;
}

/* レスポンシブ対応 */
@media (max-width: 1020px) {
  .menu_title {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .menu_title {
    height: 150px;
  }
  
  .menu_title h2 {
    padding-top: 0;
    font-size: 24px;
  }
  
  .menu_title .en-title {
    font-size: 14px;
  }
}

.takeout {
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 20px 15px;
}

.takeout h3 {
    color: #6d2e46;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

/* テイクアウトセクションのスタイル */
.takeout-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 70px;
}

.takeout-item {
  flex: 0 0 calc(33.333% - 14px);
  display: flex;
  flex-direction: column;
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


.item-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-details {
  padding: 15px;
  background-color: white;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.item-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 10px;
  color: #6d2e46;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 英語商品名のスタイル */
.item-title-en {
  display: block;
  font-size: 13px;
  color: #666;
  margin: -5px 0 10px 0.5em; /* 上部マージンをマイナスにして商品名との間隔を調整 */
  line-height: 1.2;
  font-weight: normal;
  opacity: 0.9; /* 引き継ぎ資料の英語テキスト指定に合わせて少し薄く */
}

/* 既存のスタイルの調整 */
.item-title {
  margin-bottom: 5px; /* 英語名との間隔調整のため */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .item-title-en {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

.status {
  font-size: 11px;
  font-weight: normal;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
}

.freeze {
  background-color: #e8f4ff;
  color: #0066cc;
}

.joon {
  background-color: #fff2e8;
  color: #e67c00;
}

.item-price {
  margin-top: auto;
}

.size-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 5px;
}

.size {
  font-size: 13px;
  color: #666;
  margin-right: 5px;
}

.price {
  font-size: 16px;
  font-weight: bold;
}

.tax {
  font-size: 12px;
  color: #777;
  margin-left: 5px;
}

.fs12 {
  font-size: 12px;
}

.bnr_wrap {
	text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
#p_contents{
	width: 90%;
}
.takeout{
	width: 100%;
	padding: 0;
}

  .takeout-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .takeout-container {
    gap: 15px;
  }
  
  .takeout-item {
    flex: 0 0 100%;
  }
  
  .item-image {
    height: 100%;
  }
  
  .bnr_wrap img {
 	width: 100%;
 }
  
}