body { 
 background-color: #f8fafc;
 font-family: 'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
 font-size: 14px;
 font-weight: 500;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: 0.11px;
 margin: 0;
}

h1 {
 font-size: 26px;
 font-weight: bold;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: -0.13px;
}

h2 {
 font-size: 22px;
 font-weight: bold;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: normal;
}

h3 {
 font-size: 18px;
 font-weight: bold;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: 0.04px;
}

big {
 font-size: 16px;
 font-weight: 500;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: 0.08px;
}

caption {
 font-size: 12px;
 font-weight: 500;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: 0.08px;
}

label {
 font-size: 14px;
 font-weight: bold;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: normal;
 color: #191919;
}

.nagoyameshi-login-input {
 border-radius: 2px;
 border: solid 1px #b2b2b2;
 background-color: #ffffff;
}

.nagoyameshi-check-label {
 font-size: 12px;
 font-weight: 500;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: normal;
 color: #000000;
}

.nagoyameshi-require-input-label {
 border-radius: 1px;
 background-color: #e2001b;
}

.nagoyameshi-require-input-label-text {
 font-size: 14px;
 font-weight: 500;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: normal;
 color: #ffffff;
}

.nagoyameshi-submit-button {
 font-size: 14px;
 font-weight: bold;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: normal;
 color: #ffffff;
 background-color: #0fbe9f;
}

.nagoyameshi-login-text {
 font-size: 14px;
 font-weight: bold;
 font-stretch: normal;
 font-style: normal;
 line-height: normal;
 letter-spacing: normal;
 color: #0fbe9f;
}

.nagoyameshi-header-container {
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.nagoyameshi-header-search-input {
    border: solid 1px #e5e5e5;
}

.nagoyameshi-header-search-button {
    background-color: #0fbe9f;
}

.btn-success {
    background-color: #0fbe9f;
    border-color: #0fbe9f;
}

.pagination {
    justify-content: center;
}

.page-link {
    color: #000;
    background-color: transparent;
}

.page-link:hover {
    background-color: #0fbe9f;
    color: #fff;
}
.page-item.active .page-link {
    background-color: #0fbe9f;
    border-color: #0fbe9f;
    color: #fff;
}


.nagoyameshi-header-search-icon {
    color: #ffffff;
}

.nagoyameshi-header-fav-icon {
    color: #191919;
}

.nagoyameshi-header-shoppingcart-icon {
    color: #ffffff;
}

.nagoyameshi-favorite-button {
  border-radius: 2px;
  border: solid 1px #0fbe9f;
  background-color: #ffffff;
}

.text-favorite {
  color: #0fbe9f;
}

.nagoyameshi-favorite-add-cart {
    border-radius: 2px;
    color: #ffffff;
    background-color: #0fbe9f;
}

.review-score-color {
  color: #0fbe9f;
}

.review-score-color:focus {
  color: #0fbe9f;
}

.nagoyameshi-delete-submit-button {
  border-radius: 2px;
  color: #ffffff;
  background-color: #d94b0e;
}

#card-element {
    background-color: white;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    min-height: 44px;
    z-index: 1;
}

.nagoyameshi-btn {
    background-color: #28a745;
    border: none;
    font-size: 16px;
    padding: 10px 16px;
    border-radius: 5px;
}

.nagoyameshi-btn-danger {
    background-color: #28a745;
    border: none;
    font-size: 16px;
    padding: 10px 16px;
    border-radius: 5px;
}
.card-title {
    font-size: 1.1rem;
    font-weight: bold;
}
.card-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.alert {
    background-color: #fff;
    border: solid 1px #0fbe9f;
}

.btn-info {
    color: #fff;
    border: none;
    background-color: #0fbe9f;
}

.btn-info:hover {
    background-color: #28a745;
}

/* ======================== */
/* スライダー全体のスタイル */
/* ======================== */
.slider {
  position: relative;
  overflow: hidden;
  cursor: grab;
  max-width: 100% !important;
  width: 100%;
  margin-inline:auto;
  margin: 0; 
}

/* スライダーの表示領域（インタラクション無効化） */
.slider-viewport {
  width: 100%;
  pointer-events: none;
  position: relative;
  overflow: hidden;
}

/* スライダーのトラック（スライドを横並びに配置） */
.slider-items {
  display: flex;
}

/* 各スライドの幅に設定 */
.slider-slide {
  flex: 1 0 0;
  max-width: none;
}

/* 画像の比率で枠を作る（1480:600）＝横幅に連動して高さが決まる */
 .slider-image {
   position: relative;
   width: 100%;
   aspect-ratio: 1480 / 600;
   background:#000; /* レターボックス色（任意） */
 }
 @supports not (aspect-ratio: 1 / 1) {
   /* 古い端末向けフォールバック */
   .slider-image { height: calc(100vw * 600 / 1480); }
 }

  .slider-image img {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center;
}

@media print, (min-width: 768px) {
  .slider-nav button {
    width: 60px;
    height: 60px;
    transform: translateY(-30px);
  }
}
@media screen and (max-width: 767px) {
  .slider-nav button {
    width: 50px;
    height: 50px;
    transform: translateY(-25px);
  }
}


/* ======================== */
/* インジケーターのスタイル */
/* ======================== */
.slider-indicators {
  position: absolute;
  left: 50%;
  bottom: 12px;             
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;  
}
@media print, (min-width: 768px) {
  .slider-indicators {
    margin-top: calc(56.21622% - 30px);
  }
}
@media screen and (max-width: 767px) {
  .slider-indicators {
    margin-top: calc(56.21622% - 25px);
  }
}

/* インジケーターのボタンスタイル */
.slider-indicators button {
  display: block;
  position: relative;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
}

/* インジケーターアイコンのスタイル */
.slider-indicators button::before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  transition: background-color 300ms cubic-bezier(.215, .61, .355, 1), transform 300ms cubic-bezier(.215, .61, .355, 1);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}

/* インジケーターのホバー・アクティブ状態 */
@media print, (min-width: 768px) {
  .slider-indicators button:hover::before,
  .slider-indicators button:active::before {
    background: #b0c4de;
  }
}

/* 現在のスライドを示すインジケーターのスタイル */
.slider-indicators button.is-current {
  pointer-events: none;
}

/* アクティブ状態のインジケーター */
.slider-indicators button.is-current::before {
  background: #b0c4de;
  transform: scale(1.5);
  box-shadow: none;
}

/* ======================== */
/* グラブカーソルの設定 */
/* ======================== */
/* フリック操作中のカーソル変更 */
.slider.is-grabbing,
.slider.is-grabbing * {
  cursor: grabbing !important;
}

/* 矢印アイコンの色とサイズ変更 */
.slider-nav button i {
  color: #fff;
  font-size: 2rem;
  line-height:1; 
}


.slider-nav button {
  pointer-events: auto;
  background: rgba(0,0,0,0.4); /* 半透明の黒背景 */
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.slider-nav button:hover {
  background: rgba(0,0,0,0.6); /* ホバー時に少し濃く */
}

.slider-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;  
  justify-content: space-between;
  padding: 0 8px;
  z-index: 5;
  pointer-events: none;
}
.sidebar { 
  min-width: 160px;
  position: relative;
  z-index: 2; 
}
.sidebar-list { 
  display: flex; 
  flex-direction: column; 
  gap: .25rem; 
}

.slider-track-wrapper { 
  width: 100%;
} 

.slider-track-offset,
.slider-track,
.slider-items {
  width: 100%;
}
