@charset "UTF-8";

/* =========================================
   飲食事業部
   ========================================= */

/* -----------------------------------------
   1.店舗ナビゲーションリスト
   ----------------------------------------- */
.store-nav-list {
  list-style: none !important;
  padding: 0;
  margin: 50px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-nav-list li {
  margin: 0;
}

.store-nav-list a {
  display: block;
  background-color: #009B73;
  color: #ffffff;
  text-decoration: none !important;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: bold;
  transition: opacity 0.3s;
}

.store-nav-list a:hover {
  opacity: 0.8;
  color: #ffffff;
}

/* -----------------------------------------
   2.スマホ用：メニューの文字あふれ対策
   ----------------------------------------- */
@media (max-width: 600px) {
    .store-nav-list {
        gap: 8px;
    }

    /* ボタンのデザイン調整 */
    .store-nav-list a {
        padding: 12px 15px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* -----------------------------------------
   3.店舗情報ブロック (store-info-card) の設定
   ----------------------------------------- */

.store-info-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;  
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #eee;
}

/* --- 左側：画像エリアの設定 --- */
.store-info-card .wp-block-column:first-child {
  flex-basis: 45%;
  width: 45%;
  border-radius: 8px;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  align-self: flex-start; 
  display: block;
  line-height: 0;
  height: auto;
}

/* --- 右側：情報エリアの設定 --- */
.store-info-card .wp-block-column:last-child {
  flex-basis: 50%;
  width: 50%; 
}

.store-info-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: bottom;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 0 !important;
}

.store-info-card .wp-block-column:first-child figure {
  margin: 0 !important;
  padding: 0;
  width: 100%;
  height: auto;
  display: block;
}

.store-info-card .wp-block-column:first-child:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .store-info-card {
    flex-direction: column;
    gap: 20px;
  }
  
  .store-info-card .wp-block-column:first-child,
  .store-info-card .wp-block-column:last-child {
    width: 100%;
    flex-basis: 100%;
  }
}

/* -----------------------------------------
   4.QRコード用：ホバー設定
   ----------------------------------------- */
.qr-hover img {
  transition: opacity 0.3s ease;
  cursor: pointer;
  transform: none !important;
}

.qr-hover img:hover {
  opacity: 0.6;
}

@media screen and (max-width: 768px) {
	.qr-hover{
		text-align: center;
		display: block;
		width: 100%;
	}
	
	.qr-hover img {
		width: 200px;
		max-width: 100%;
	}
}