@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Template:   cocoon-master
*/

/* ------------------------------
   1. ヘッダーメニュー（ログイン/ログアウトなど）
   元通りの「背景なし・黒文字・アイコン付き」に戻す設定
   ------------------------------ */

/* フレックスボックスで横並び・中央揃え */
.menu-item-dynamic-login,
.menu-item-dynamic-logout,
.menu-item-myaccount,
.menu-item-dynamic-auth {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 0.5rem !important;
  padding: 6px 8px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* リンク自体のスタイル（背景なし、黒文字） */
.menu-item-dynamic-login a,
.menu-item-dynamic-logout a,
.menu-item-myaccount a,
.menu-item-dynamic-auth a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none !important; /* 背景色を削除 */
  color: #000 !important;      /* 文字色を黒に */
  text-decoration: none !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
  padding: 0 !important;
  transition: color 0.15s ease !important;
}

/* ホバー時の挙動（下線、透明度） */
.menu-item-dynamic-login a:hover,
.menu-item-dynamic-logout a:hover,
.menu-item-myaccount a:hover,
.menu-item-dynamic-auth a:hover {
  text-decoration: underline !important;
  color: #000 !important;
  opacity: 0.9 !important;
  background: none !important;
}

/* アイコン（FontAwesome）とテキストの間隔 */
.menu-item-dynamic-login a .fa,
.menu-item-dynamic-logout a .fa,
.menu-item-myaccount a .fa,
.menu-item-dynamic-auth a .fa,
.menu-item-dynamic-login span,
.menu-item-dynamic-logout span,
.menu-item-myaccount span {
  display: inline-flex;
  align-items: center;
  color: #000 !important;
  margin-right: 6px;
}

/* 親メニュー要素の整列（PC） */
.navi-header .menu,
.header .menu,
.nav-menu,
ul#menu-header-menu,
ul#menu-header-menu > li {
  display: flex !important;
  align-items: center !important;
}

/* スマホ表示の修正（重要） */
@media (max-width: 768px) {
  .navi-mobile .menu,
  .navi-mobile .menu > li {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap; /* 折り返しを許可して表示崩れを防ぐ */
  }
  
  /* スマホでもボタンを表示させる */
  .menu-item-dynamic-login,
  .menu-item-dynamic-logout,
  .menu-item-myaccount,
  .menu-item-dynamic-auth {
    display: flex !important;
    margin-left: 0.4rem !important;
    padding: 6px 8px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* ------------------------------
   2. アートギャラリー（ぼかし＆解除ボタン）
   ------------------------------ */
.art-lock-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.art-lock-card img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}
.physical-blurred-image {
    filter: blur(15px);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
}
.art-lock-controls {
    padding: 30px 15px !important;
    background-color: #fff;
    border-top: 1px solid #eee;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: 150px !important;
}

/* 解除ボタン（青） */
a.simple-unlock-btn {
    display: flex !important;
    justify-content: center;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #0073aa !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    margin: 10px auto !important;
    cursor: pointer !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
    min-width: 240px !important;
    min-height: 54px !important;
    line-height: 1.4 !important;
    transition: transform 0.1s;
}
a.simple-unlock-btn:hover {
    background-color: #005177 !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}
a.simple-unlock-btn:active {
    transform: scale(0.98);
}

/* 一括購入ボタン（緑） */
.art-lock-bulk {
    margin-top: 15px !important;
    width: 100% !important;
}
.bulk-purchase-btn {
    display: inline-block !important;
    background-color: #28a745 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
    min-width: 200px !important;
}

/* スマホ用調整 */
@media screen and (max-width: 480px) {
    .art-lock-controls {
        display: flex !important;
    }
    a.simple-unlock-btn { 
        width: 85% !important; 
        font-size: 15px !important;
        display: flex !important;
    }
}

/* ------------------------------
   3. 講座・予約エリア（予約制限メッセージ）
   ------------------------------ */
.booking-status-info {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 5px solid #2196f3;
}
.booking-status-info p {
    margin: 0;
    font-size: 0.9em;
}
.alert-limit {
    color: #d32f2f;
    background: #ffebee;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 15px;
}