@charset "utf-8";
/* ========================================================================================
- File: z-css/page-shared.css
- Role: 下層ページ共通スタイル（ヘッダーグラデーション、紫のタイトル帯など）
- ====================================================================================== */

/* ===== エテルナ 新タイトル帯 ===== */
.obi-title-purple {
  width: 90%;
  max-width: 1000px;
  margin: 60px auto 40px auto;
  text-align: center;
  background: linear-gradient(135deg, #f7f0fa 0%, #e9dcf2 100%);
  color: #644a70;
  padding: 18px 20px;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  box-shadow: 0 4px 12px rgba(110, 80, 150, 0.08);
  font-weight: 500;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .obi-title-purple {
    margin: 40px auto 20px auto;
    width: 95%;
    font-size: 1.3rem;
    padding: 14px 10px;
  }
}

/* ===== 新ページ用ロゴヘッダー（背景なし＋グラデーション） ===== */
header.menu-header {
    background-image: none !important;
    background: linear-gradient(180deg, #f7f0fa 0%, #f7f0fa 55%, #ffffff 95%) !important;
    border-bottom: none !important;
    height: 300px !important;
    position: relative;
}
.menu-center-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.menu-header-logo {
    margin-bottom: 5px; /* ロゴとタイトルの距離 */
}
.menu-header-logo img {
    width: 80px;
    height: auto;
}
.menu-center-block p.p2.page {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    text-align: center;
}
@media (max-width: 768px) {
    header.menu-header { 
        height: auto !important; 
        padding-top: 80px !important;
        padding-bottom: 10px !important;
        background: linear-gradient(180deg, #f7f0fa 0%, #f7f0fa 60%, #ffffff 95%) !important;
    }
    .menu-center-block {
        position: static !important;
        transform: none !important;
    }
}

/* ===== ライトボックス（フォト拡大表示）用共通スタイル ===== */
.photo-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: pointer;
}
.photo-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.photo-lightbox img {
  max-width: 95%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.4s ease;
}
.photo-lightbox.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
  font-family: sans-serif;
}
.lightbox-close:hover {
  background: rgba(0,0,0,0.8);
}
