/* ==========================================================================
   Monkeys予約システム 統合スタイルシート
   ========================================================================== */

/* ==========================================================================
   1. 共通ベース & レイアウト (旧 reserve_common.css)
   ========================================================================== */
body {
  background: linear-gradient(135deg, #cbd5e1 0%, #f1f5f9 100%);
  font-family: "Inter", "Hiragino Sans", "Segoe UI", sans-serif;
  color: #0f172a;
  padding-top: 0;
}

/* PC: 1200px以上で固定ナビ用の余白を確保 */
@media(min-width: 1200px) {
  body {
    padding-top: 70px;
  }
}

/* タブレット・スマホ: 1199px以下でボトムナビ用の余白を確保 */
@media(max-width: 1199px) {
  body {
    padding-top: 0;
    padding-bottom: 80px;
  }
}

h1 {
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

/* ナビゲーション & ドロワー */
.l-navbar {
  position: fixed;
  left: 0;
  width: 100%;
  background: #0f172a;
  color: #f1f5f9;
  z-index: 1030;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

@media(min-width: 1200px) {
  .l-navbar {
    top: 0;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
  }
}

@media(max-width: 1199px) {
  .l-navbar {
    top: auto;
    bottom: 0;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #f1f5f9;
  text-decoration: none;
  transition: .2s;
  border: none;
  background: none;
  padding: 5px;
}

.nav-item.is-active {
  color: #06b6d4;
}

@media(min-width: 577px) {
  .nav-item {
    flex-direction: row;
    gap: 8px;
    height: 100%;
    margin-right: 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
  }
  .nav-item i {
    font-size: 1.2rem;
  }
  .nav-item:first-child {
    margin-right: auto;
  }
}

@media(max-width: 1199px) {
  .nav-item {
    flex: 1;
    font-size: 0.55rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 5px 2px;
  }
  .nav-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
  }
}

/* ドロワーメニュー */
.l-drawer {
  position: fixed;
  background: #0f172a;
  z-index: 1040;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  color: #fff;
  visibility: hidden;
}

@media(min-width: 577px) {
  .l-drawer {
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    transform: translateX(-100%);
    padding: 80px 30px;
  }
}

@media(max-width: 576px) {
  .l-drawer {
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 40%;
    transform: translateY(100%);
    padding: 40px 20px 80px;
    border-radius: 20px 20px 0 0;
  }
}

.l-drawer.is-open {
  transform: translate(0, 0);
  visibility: visible;
}

.drawer-header {
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #06b6d4;
  text-transform: uppercase;
}

.drawer-nav {
  list-style: none;
  padding: 0;
}
.drawer-nav li {
  margin-bottom: 20px;
}
.drawer-nav a,
.drawer-nav .drawer-logout-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: .2s;
}
.drawer-nav .drawer-logout-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.drawer-nav a:hover,
.drawer-nav .drawer-logout-link:hover {
  color: #06b6d4;
}

/* オーバーレイ */
.l-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  z-index: 1035;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.l-overlay.is-open {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(4px);
}

/* ユーザー切り替えポップアップ */
.user-popup {
  position: fixed;
  background: #0f172a;
  z-index: 1045;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.user-popup.is-open {
  display: block;
}
.user-popup .text-muted {
  color: rgba(255, 255, 255, 0.5) !important;
}

@media(min-width: 577px) {
  .user-popup {
    top: 70px;
    right: 20px;
    width: 240px;
    border-radius: 8px;
    padding: 10px 0;
  }
  .user-popup::after {
    content: "";
    position: absolute;
    top: -8px;
    right: 25px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #0f172a;
  }
}

@media(max-width: 576px) {
  .user-popup {
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px 10px 40px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
  }
  .user-popup.is-open {
    transform: translateY(0);
  }
}

.user-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.user-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  cursor: pointer;
  transition: .2s;
  gap: 12px;
}
.user-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.user-item.is-current {
  background: rgba(6, 182, 212, 0.15);
  border-left: 3px solid #06b6d4;
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: #334155;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #cbd5e1;
}
.user-item.is-current .user-avatar {
  background: #06b6d4;
  color: #fff;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.user-info {
  flex: 1;
}
.user-name {
  font-weight: 700;
  font-size: 0.9rem;
}
.user-status {
  font-size: 0.7rem;
  color: #06b6d4;
  font-weight: 900;
  text-transform: uppercase;
}

/* ブランドロゴ */
.brand-logo {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: #06b6d4;
  font-size: 1.4rem;
  line-height: 1;
}

@media(min-width: 1200px) {
  .navbar-brand-pc {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .l-mobile-header {
    display: none;
  }
}

@media(max-width: 1199px) {
  .navbar-brand-pc {
    display: none;
  }
  .l-mobile-header {
    background: #0f172a;
    padding: 15px;
    text-align: center;
    width: 100%;
    display: block;
  }
}

/* モーダル共通パーツ */
.btn-close-custom {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
}
.btn-close-custom:focus {
  outline: none;
  box-shadow: none;
}

.lesson-modal {
  border-radius: 28px;
  overflow: hidden;
  border: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.lesson-modal-header {
  padding: 18px 22px;
  background: #0f172a;
  color: #fff;
  border-bottom: none;
}

/* 共通ブロック & ボタン */
.modal-body-content {
  padding: 24px;
}

.lesson-info-block {
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #0f172a;
}

.lesson-modal-footer {
  padding: 18px 22px;
  border-top: 1px solid #f1f3f5;
}

.btn-active {
  background: #0f172a;
  color: #fff;
  border: 2px solid #0f172a;
  padding: 14px;
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: 6px 6px 0 #06b6d4;
  transition: all 0.2s ease;
}

.btn-active:hover {
  background: #fff;
  color: #0f172a;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #06b6d4;
}

.btn-active:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #06b6d4;
}

.btn-active:disabled {
  background: #64748b;
  box-shadow: 6px 6px 0 #94a3b8;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-cancel {
  background: #fff;
  color: #f43f5e;
  border: 2px solid #f43f5e;
  padding: 14px;
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 rgba(244, 63, 94, .1);
  transition: .2s;
}

.btn-cancel:hover {
  background: #f43f5e;
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(244, 63, 94, .2);
}

.btn-cancel.is-disabled {
  background: #f1f5f9;
  color: #64748b;
  border-color: #94a3b8;
  box-shadow: 4px 4px 0 #cbd5e1;
  opacity: 0.8;
  cursor: pointer;
}

.btn-active.u-shadow-cyan {
  box-shadow: 6px 6px 0 #06b6d4;
}

.btn-active.u-shadow-cyan:hover {
  box-shadow: 8px 8px 0 #06b6d4;
}

/* ==========================================================================
   2. カレンダー予約画面 (旧 reserve_calendar_vue.css)
   ========================================================================== */
.calendar-store {
  margin-bottom: 18px;
}

/* 店舗セレクト */
.store-select {
  appearance: none;
  border: 2px solid #0f172a;
  background: #fff;
  padding: 8px 24px;
  border-radius: 4px;
  font-weight: 800;
  font-size: .9rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: .2s;
}

.store-select:focus {
  outline: none;
  border-color: #06b6d4;
}

/* 年月ナビ */
.calendar-month-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

/* 年月 */
.month-label {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -.01em;
  min-width: 180px;
  text-align: center;
  color: #0f172a;
  text-transform: uppercase;
}

/* 矢印ボタン */
.month-btn {
  border: 2px solid #0f172a;
  background: #fff;
  color: #0f172a;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 4px;
  transition: .2s;
}
.month-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-ticket {
  border: 2px solid #06b6d4;
  background: rgba(6, 182, 212, 0.05);
  color: #06b6d4;
  font-weight: 800;
  transition: .2s;
  margin-bottom: 10px;
}

.btn-ticket:hover {
  background: #06b6d4;
  color: #fff;
}

.price-tag {
  color: #ff4d6d;
  font-weight: 800;
}

.calendar-header {
  border-radius: 12px;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(15, 23, 42, 1);
  border: 2px solid #0f172a;
}

.calendar-wrapper {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 16px;
  border: 2px solid #0f172a;
  box-shadow: 12px 12px 0 rgba(15, 23, 42, .1);
}

.calendar-day {
  min-height: 150px;
  padding: 16px 12px;
  border-radius: 20px;
  transition: .25s;
  background: #fff;
  border: 2px solid transparent;
}

.today {
  background: #e0faff;
}

.day-number {
  font-size: .9rem;
  font-weight: 800;
  color: #495057;
}

/* 日付＋曜日表示 */
.day-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.day-week {
  font-size: .75rem;
  font-weight: 700;
  color: #868e96;
}

.day-week.sun {
  color: #f43f5e;
}
.day-week.sat {
  color: #06b6d4;
}
.day-week.sun {
  color: #f43f5e;
}
.day-week.sat {
  color: #06b6d4;
}

/* 予約カード */
.reservation-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  font-size: .8rem;
  padding: 12px;
  margin-top: 12px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-weight: 700;
  transition: .2s;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .05);
}

.available {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  box-shadow: 4px 4px 0 rgba(15, 23, 42, .2);
}

.unavailable {
  background: #dee2e6;
  color: #868e96;
  pointer-events: none;
  box-shadow: none;
}

.my-reservation {
  background: #0f172a;
  color: #fff;
  box-shadow: inset 0 0 0 2px #06b6d4, 4px 4px 0 rgba(15, 23, 42, .2);
}

.card-time {
  font-size: .9rem;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .02em;
  display: flex;
  flex-direction: row;
  gap: 3px;
  width: 100%;
  justify-content: flex-start;
}

.available .card-time {
  color: #01121d;
}
.my-reservation .card-time {
  color: #06b6d4;
}
.available .card-time {
  color: #01121d;
}
.my-reservation .card-time {
  color: #06b6d4;
}

.card-title {
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 1.25em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  width: 100%;
}

/* 横スクロール対応 */
.calendar-inner .row {
  flex-wrap: nowrap !important;
  margin-bottom: 12px;
}

.calendar-inner .col {
  min-width: 0;
  flex: 1;
}

/* モーダル内コンテンツ固有 */
.lesson-radio {
  background: #f8f9fa;
  padding: 8px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 2px solid transparent;
  transition: .2s;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.lesson-radio__input {
  margin: 0;
  accent-color: #06b6d4;
}
.lesson-radio__label {
  font-weight: 500;
}
.lesson-radio.form-check {
  padding-left: 16px !important;
}
.lesson-radio .price-tag {
  margin-left: auto;
  font-weight: 900;
}
.lesson-radio__input:checked+.lesson-radio__label {
  font-weight: 700;
}
.lesson-radio__input {
  margin: 0;
  accent-color: #06b6d4;
}
.lesson-radio__label {
  font-weight: 500;
}
.lesson-radio.form-check {
  padding-left: 16px !important;
}
.lesson-radio .price-tag {
  margin-left: auto;
  font-weight: 900;
}
.lesson-radio__input:checked+.lesson-radio__label {
  font-weight: 700;
}

/* カレンダー用レスポンシブ */
@media(max-width:1199px) {
  .calendar-day {
    padding: 6px 3px;
    min-height: 100px;
  }
  .reservation-card {
    padding: 5px 3px;
    font-size: 0.65rem;
    margin-top: 6px;
    border-radius: 6px;
  }
  .card-time {
    font-size: 0.65rem;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    margin-bottom: 2px;
  }
  .card-title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    height: 2.2em;
    font-size: 0.65rem;
    text-align: center;
  }
  .container-fluid {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
}

@media(max-width:576px) {
  .calendar-wrapper {
    padding: 4px 6px;
    border-radius: 12px;
  }
  .calendar-scroll {
    overflow-x: hidden;
    padding: 0;
  }
  .calendar-inner .row {
    margin-left: -4px;
    margin-right: -4px;
  }
  .calendar-wrapper {
    padding: 4px 6px;
    border-radius: 12px;
  }
  .calendar-scroll {
    overflow-x: hidden;
    padding: 0;
  }
  .calendar-inner .row {
    margin-left: -4px;
    margin-right: -4px;
  }
  .calendar-inner .col {
    padding-left: 1px !important;
    padding-right: 1px !important;
    flex: 1 0 14.28%;
    max-width: 14.28%;
  }
  .calendar-day {
    padding: 6px 3px;
    min-height: 80px;
    border-radius: 6px;
  }
  .day-header {
    gap: 2px;
    flex-direction: column;
    align-items: center;
  }
  .day-number {
    font-size: 0.7rem;
  }
  .day-week {
    font-size: 0.6rem;
  }
  .reservation-card {
    font-size: 0.58rem;
    padding: 5px 2px;
    align-items: center;
  }
  .card-time {
    font-size: 0.52rem;
    line-height: 0.5;
    width: 95%;
  }
  .card-title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    height: 2.3em;
    font-size: 0.52rem;
    line-height: 1.15;
  }
  /* iPhone SE等でのモーダル見切れ対策 */
  .lesson-modal-header {
    padding: 12px 16px;
  }
  .modal-body-content {
    padding: 12px 16px;
  }
  .lesson-info-block {
    padding: 6px 10px;
    margin-bottom: 4px !important;
  }
  .lesson-info-block .small {
    font-size: 0.7rem !important;
    margin-bottom: 2px;
  }
  .lesson-info-block .fs-5 {
    font-size: 1rem !important;
  }
  .lesson-radio {
    padding: 6px 8px;
    margin-bottom: 6px;
  }
  .lesson-radio__label {
    font-size: 0.85rem;
  }
  .lesson-modal-footer {
    padding: 12px 16px;
  }
  .lesson-modal-footer .btn {
    padding: 10px;
    font-size: 0.95rem;
    margin-bottom: 8px !important;
  }
}


/* ==========================================================================
   3. イベント予約画面 (旧 reserve_event_vue.css)
   ========================================================================== */
.event-list {
  max-width: 1000px;
  margin: 0 auto;
}

.event-card {
  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(15, 23, 42, 1);
  transition: .2s;
  display: flex;
  cursor: pointer;
}

.event-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(15, 23, 42, 1);
}

/* 予約済み（ネイビー & シアン強調） */
.event-card.is-reserved {
  border-color: #06b6d4;
  box-shadow: 8px 8px 0 rgba(15, 23, 42, 1);
}

.event-card.is-reserved .event-date-side {
  background: #0f172a;
}

/* 予約不可（グレーアウト） */
.event-card.is-unavailable {
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: 4px 4px 0 #cbd5e1;
  cursor: default;
  pointer-events: none;
}

.event-card.is-unavailable .event-date-side {
  background: #94a3b8;
  color: #f1f5f9;
}

.event-card.is-unavailable .event-info-side {
  background: #f8fafc;
}

.event-card.is-unavailable .meta-item,
.event-card.is-unavailable .event-desc {
  color: #94a3b8;
}

.event-card.is-unavailable .meta-item i {
  color: #cbd5e1;
}

/* 左側：日付・タイトル領域 */
.event-date-side {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  padding: 24px;
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.event-date {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0.9;
}

.event-title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
}

/* 右側：詳細情報領域 */
.event-info-side {
  flex: 1;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.meta-item i {
  color: #06b6d4;
  font-size: 1.1rem;
}

.event-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #475569;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3em;
}

/* バッジとステータス */
.badge-reserved {
  display: inline-block;
  background: #0f172a;
  color: #06b6d4;
  border: 1px solid #06b6d4;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.remaining-count {
  font-size: 0.9rem;
  font-weight: 800;
  color: #64748b;
}

.event-modal-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
}

.cursor-pointer {
  cursor: pointer;
}

.color-error {
  color: #06b6d4;
}

/* イベント用レスポンシブ */
@media(max-width: 768px) {
  .event-card {
    flex-direction: column;
  }


  .event-date-side {
    width: 100%;
    padding: 15px 20px;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
    text-align: left;
  }

  .event-date {
    margin-bottom: 0;
    font-size: 0.9rem;
  }

  .event-title {
    font-size: 1.2rem;
    flex: 1;
  }


  .event-info-side {
    padding: 20px;
  }
}

@media(max-width: 1199px) {
  .container-event {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
/* ==========================================================================
   4. Flashメッセージ & カスタムモーダル (旧 custom.css より抽出)
   ========================================================================== */

/* 1. カスタムモーダル (モーダルアラート) */
.modal_custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  /* 落ち着いたダーク（Precy用） */
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content_custom {
  background-color: #ffffff;
  padding: 32px;
  /* 少し余裕を持たせる */
  border-radius: 12px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
}

.modal-body_custom {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flashIcon {
  font-size: 4.5rem;
  margin-bottom: 15px;
  color: #06b6d4;
  /* Precyテーマ色に合わせて調整 */
}

/* 2. トースト (下部通知バナー) */
@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(20px);
  }
  to {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(0);
  }
  to {
    transform: translateX(-50%) translateY(20px);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.toast {
  position: fixed;
  width: 90%;
  max-width: 440px;
  /* モーダル幅に合わせる */
  bottom: 100px;
  left: 50%;
  text-align: center;
  background-color: #0f172a;
  color: #ffffff;
  padding: 16px 24px;
  /* パディングを増やして大きく */
  border-radius: 12px;
  z-index: 2010;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    fadeIn 0.35s ease both,
    slideDown 0.4s ease 5s forwards,
    fadeOut 0.35s ease 5s forwards;
}

/* Vue Transition: toast */
.toast-enter-active,
.toast-leave-active {
  transition: all 0.4s ease;
}

.toast-enter-from {
  opacity: 0;
  transform: translate(-50%, 20px);
}

.toast-leave-to {
  opacity: 0;
  transform: translate(-50%, 15px);
}

.toast.is-success {
  background-color: #06b6d4;
  /* 予約可能カラーと統一 */
  color: #fff;
}

.toast.is-error {
  background-color: #f43f5e;
  /* ローズ */
  color: #fff;
}

.toast i {
  font-size: 1.2rem;
}

/* アニメーション */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 3. カスタムボタン (モーダル用) */
.btnHollow_silent {
  background: #fff;
  color: #f43f5e;
  border: 2px solid #f43f5e;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(244, 63, 94, .1);
  transition: .2s;
}

.btnHollow_silent:hover {
  background: #f43f5e;
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(244, 63, 94, .2);
}

/* 5. インライン・フラッシュメッセージ (ヘッダー下バナー) */
.container_flash {
  position: relative;
  z-index: 100;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 10px;
  /* 影のための余白 */
}

.flash_banner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  /* 一行に強制 */
  padding: 0px 16px;
  /* 縦の余白を極限まで狭める (変更前: 6px) */
  margin-top: 5px;
  /* ボタン間の間隔を狭く調整 */
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  gap: 5px;
  /* アイコンと文字の間隔 */
  border: 2px solid #0f172a;
  box-shadow: 4px 4px 0 #0f172a;
  border-radius: 8px;
  width: 100%;
  min-width: 0;
}

.flash_banner:hover {
  filter: brightness(1.1);
}

.flash_banner.hidden,
.container_flash.hidden {
  display: none !important;
}

.flash_banner.is-success {
  background-color: #06b6d4;
  /* Success シアン (予約可能カラー) */
  color: #ffffff;
}

.flash_banner.is-error {
  background-color: #f43f5e;
  /* Error ローズ */
  color: #ffffff;
}

.flash_banner i {
  font-size: 1.2rem;
  flex-shrink: 0;
  /* アイコンが潰れないように */
}

.flash_banner span {
  font-size: 0.95rem;
  line-height: 1;
  /* 行間を詰め、中央に揃えやすくする */
  white-space: nowrap;
  /* テキストの折り返しを防ぐ */
  overflow: hidden;
  text-overflow: ellipsis;
  /* 万が一入り切らない場合は省略 */
}

/* スマホ対応 */
@media(max-width: 576px) {
  .flash_banner {
    padding: 0px 12px;
    /* 縦の余白を極限まで狭める (変更前: 4px) */
    gap: 4px;
    /* アイコンと文字の隙間を極限まで狭める (変更前: 6px) */
  }
  .flash_banner i {
    font-size: 1rem;
  }
  .flash_banner span {
    font-size: 0.8rem;
  }
}

.fullmodal {
  position: fixed;
  z-index: 3000;
  /* 最前面 */
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.85);
  /* 白背景 85% */
  color: #0f172a;
}

.dot-loader {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot {
  width: 28px;
  height: 28px;
  margin: 0 4px;
  animation: bounce 1s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

.dot:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-12px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
}

/* ==========================================================================
   予約状況一覧画面 (reserve_status_vue.html) 用スタイル
   ========================================================================== */

/* フィルターエリア */
.status-filter {
  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 8px 8px 0 rgba(15, 23, 42, 1);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
/* フィルターセレクター (ネオブロータリズム) */
.filter-selection {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: nowrap;
}

.filter-toggle {
  cursor: pointer;
  user-select: none;
}

.filter-toggle__content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 4px;
  font-weight: 900;
  font-size: 0.95rem;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 6px 6px 0 #0f172a;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.filter-toggle__content i {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.filter-toggle input:checked+.filter-toggle__content {
  background: #06b6d4;
  color: #fff;
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #0f172a;
}

.filter-toggle:hover .filter-toggle__content {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #0f172a;
}

.filter-toggle:hover .filter-toggle__content i {
  transform: scale(1.1);
}

.filter-toggle:active .filter-toggle__content {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 #0f172a;
}
@media (max-width: 374px) {
  .filter-selection {
    gap: 8px;
  }
  .filter-toggle__content {
    padding: 8px 12px;
    font-size: 0.85rem;
    gap: 6px;
  }
}

/* アクセシビリティ用：チェックボックスを隠す */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 予約カード */
.status-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.status-card {
  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 4px 4px 0 #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.status-card.is-past {
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: 2px 2px 0 #cbd5e1;
}

.status-card.is-today {
  background: #e0faff;
  border-color: #06b6d4;
  box-shadow: 6px 6px 0 #06b6d4;
}
.status-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.status-card__datetime {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: #475569;
}
.status-card__date {
  font-weight: 700;
  color: #0f172a;
}
.status-card__details {
  display: flex;
  gap: 16px;
  align-items: center;
}
.status-card__time {
  font-weight: 700;
  font-size: 1rem;
}
.status-card__name {
  font-weight: 700;
  font-size: 1rem;
}
.status-card__action {
  display: flex;
  align-items: center;
  min-width: 100px;
  justify-content: flex-end;
}
.status-text {
  font-size: 1.1rem;
}

/* モーダル */
.status-modal-content {
  background: #ffffff;
  border: 3px solid #0f172a;
  box-shadow: 8px 8px 0px rgba(15, 23, 42, 1);
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  padding: 32px 24px;
  position: relative;
}
.btn-close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #0f172a;
}
.status-modal__body {
  text-align: left;
}

/* スマホ対応 */
@media (max-width: 576px) {
  .status-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }
  .status-card__info {
    gap: 4px;
  }
  .status-card__action {
    width: 100%;
    justify-content: flex-end;
    border-top: 1px dashed #cbd5e1;
    padding-top: 8px;
  }
}
/* ==========================================================================
   3. 会員情報変更画面 (user_edit.html)
   ========================================================================== */
.user-edit-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: #495057;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control-custom {
  border: 2px solid #0f172a;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
  width: 100%;
  background: #fff;
  transition: all 0.2s ease;
}

.form-control-custom:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 4px 4px 0 rgba(6, 182, 212, 0.2);
}

/* 個別更新UI用スタイル */
.form-group-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.form-group-content {
  flex: 1;
}

.btn-item-update {
  background: #0f172a;
  color: #fff;
  border: 2px solid #0f172a;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 4px 4px 0 #06b6d4;
  transition: all 0.2s ease;
  height: 48px;
}

@media (hover: hover) {
  .btn-item-update:hover {
    background: #fff;
    color: #0f172a;
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 #06b6d4;
  }
}

.btn-item-update:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #06b6d4;
}

/* 読み取り専用時のメインスタイル */
.form-control-custom.is-readonly {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: none;
  color: #64748b;
  cursor: default;
}

.btn-item-edit {
  background: #fff;
  color: #0f172a;
  border: 2px solid #0f172a;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 4px 4px 0 #cbd5e1;
  transition: all 0.2s ease;
  height: 48px;
}

@media (hover: hover) {
  .btn-item-edit:hover {
    background: #f1f5f9;
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 #cbd5e1;
  }
}

@media (max-width: 576px) {
  .form-group-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .btn-item-update {
    height: auto;
    padding: 12px;
  }
}

.confirm-item {
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  min-height: 50px;
  display: flex;
  align-items: center;
  font-weight: 700;
}

/* プロフィール画像用スタイル */
.profile-image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.profile-avatar-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0f172a;
  background: #f1f5f9;
  box-shadow: 6px 6px 0 #06b6d4;
}

.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #94a3b8;
  border: 4px solid #0f172a;
  background: #f8fafc;
  box-shadow: 6px 6px 0 #06b6d4;
}

.btn-edit-image {
  background: #f1f5f9;
  border: 2px solid #0f172a;
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-edit-image:hover {
  background: #0f172a;
  color: #fff;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  border-left: 6px solid #06b6d4;
  padding-left: 12px;
}

/* 性別選択スタイル */
.gender-selection {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.gender-option {
  position: relative;
  cursor: pointer;
  flex: 1;
}

.gender-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.gender-option span {
  display: block;
  text-align: center;
  padding: 10px;
  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 4px 4px 0 #cbd5e1;
}

.gender-option input:checked+span {
  background: #06b6d4;
  color: #fff;
  box-shadow: 4px 4px 0 #0f172a;
  transform: translate(-1px, -1px);
}

.gender-selection.is-readonly .gender-option {
  cursor: default;
}

.gender-selection.is-readonly .gender-option span {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
  box-shadow: none;
}

.gender-selection.is-readonly .gender-option input:checked+span {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #475569;
}

/* 分割入力欄の調整 */
.form-group-content .d-flex .form-control-custom {
  flex: 1;
  min-width: 0;
}

/* ==========================================================================
   一括編集用フローティングアクションバー
   ========================================================================== */
.floating-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 3px solid #0f172a;
  padding: 16px;
  z-index: 2000;
  /* ナビゲーションより前面に */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 編集モードでない時は隠す */
.floating-action-bar.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.btn-floating-save {
  background: #06b6d4;
  color: #fff;
  border: 3px solid #0f172a;
  padding: 12px 48px;
  font-weight: 950;
  font-size: 1.1rem;
  border-radius: 4px;
  box-shadow: 6px 6px 0 #0f172a;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.btn-floating-save:hover {
  background: #fff;
  color: #06b6d4;
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #0f172a;
}

.btn-floating-save:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #0f172a;
}

.btn-floating-cancel {
  background: #f1f5f9;
  color: #64748b;
  border: 2px solid #cbd5e1;
  padding: 12px 24px;
  font-weight: 800;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-floating-cancel:hover {
  background: #fff;
  color: #0f172a;
  border-color: #0f172a;
}

/* モバイル対応：ボトムナビがある場合は位置を調整 */
@media (max-width: 1199px) {
  .floating-action-bar {
    bottom: 70px;
    /* ボトムナビ(70px)に密着するように配置 */
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 2px solid #0f172a;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
  }
  .btn-floating-save {
    padding: 12px 10px;
    font-size: 1rem;
    white-space: nowrap;
  }
}

/* 不要なため削除（btn-item-editと統合） */

/* ==========================================================================
   追加コマ購入モーダル 独自スタイル
   ========================================================================== */
.confirm-icon-wrapper {
  width: 70px;
  height: 70px;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
  border: 3px solid #0f172a;
}

/* 購入用アイコン影 */
.confirm-icon-wrapper--purchase {
  box-shadow: 5px 5px 0 #06b6d4;
}

/* キャンセル用アイコン影と色 */
.confirm-icon-wrapper--cancel {
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.1);
  border-color: #f43f5e;
  box-shadow: 5px 5px 0 #0f172a;
}

.confirm-card {
  background: #fff;
  padding: 28px 20px;
  border-radius: 20px;
  border: 3px solid #0f172a;
  position: relative;
  margin-bottom: 2rem;
}

/* 購入用カード影 */
.confirm-card--purchase {
  box-shadow: 10px 10px 0 #0f172a;
}

/* キャンセル用カード影とボーダー */
.confirm-card--cancel {
  border-color: #f43f5e;
  box-shadow: 10px 10px 0 #0f172a;
}

.confirm-card__label {
  font-size: 0.85rem;
  font-weight: 900;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.confirm-card--cancel .confirm-card__label {
  color: #f43f5e;
}

.confirm-card__amount {
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1;
}

.confirm-card__divider {
  height: 2px;
  background: #e2e8f0;
  width: 40px;
  margin: 15px auto;
}

.confirm-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.confirm-card__price .currency {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
}

.confirm-card__price .value {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ff4d6d;
  /* アクセントカラー：ピンク系 */
  line-height: 1;
}

.confirm-card__price .tax-in {
  font-size: 0.8rem;
  font-weight: 800;
  color: #94a3b8;
  margin-left: 4px;
}

/* ==========================================================================
   26. 会員情報変更 (user_edit.html)
   ========================================================================== */
/* 月謝コース残り回数 カードスタイル */
.course-status-card {
  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 4px 4px 0 #0f172a;
  transition: transform 0.2s ease;
}
.course-status-header {
  font-weight: 900;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}
.course-status-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.status-item {
  flex: 1;
  text-align: center;
}
.status-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
}
.status-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.count-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #06b6d4;
  line-height: 1;
}
.count-unit {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
}
.status-separator {
  color: #cbd5e1;
  font-size: 1.2rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.u-text-accent {
  color: #ff4d6d !important;
}

.u-max-w-960 {
  max-width: 960px !important;
}
.u-fw-900 {
  font-weight: 900 !important;
}

/* ==========================================================================
   27. 支払い履歴 (invoice_index.html)
   ========================================================================== */
.invoice-filter {
  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 8px 8px 0 #0f172a;
}

.invoice-total-card {
  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 10px 10px 0 #06b6d4;
  margin-bottom: 30px;
}

.invoice-filter__input {
  min-width: 150px;
}

.invoice-card__btn-detail {
  min-width: 80px;
}

/* 支払失敗時のステート */
.status-card.is-failed {
  border-color: #f43f5e !important;
  background: #fff1f2 !important;
}

.badge-fail {
  background: #f43f5e;
  color: #fff;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.invoice-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed #cbd5e1;
}

.invoice-detail-row:last-child {
  border-bottom: none;
}

.invoice-detail-total {
  border-top: 2px solid #0f172a;
  padding-top: 15px;
  margin-top: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  justify-content: space-between;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 576px) {
  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group span {
    text-align: center;
    display: block;
  }
}
/* ==========================================================================
   6. 完了画面用アニメーション
   ========================================================================== */
.complete-icon {
  font-size: 5rem;
  color: #06b6d4;
  display: inline-block;
  margin-bottom: 2rem;
  opacity: 0;
  transform: scale(0.5);
}

.complete-icon.is-animated {
  animation: pop-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop-in {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* お知らせ用コンパクトスタイル */
.status-list--compact {
  gap: 8px !important;
}
.status-card--compact {
  padding: 10px 16px !important;
}
.status-card--compact .status-card__info {
  gap: 2px !important;
}
.status-card--compact .fw-bold.fs-5 {
  font-size: 1rem !important;
}

/* お知らせ一覧などのコンパクトなカード用：スマホ表示でも横並びを維持し、矢印部分の余白を詰める */
@media (max-width: 576px) {
  .status-card--compact {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }
  /* .status-card--compact .status-card__action {
    width: auto !important;
    border-top: none !important;
    padding-top: 0 !important;
    margin-left: auto;
  } */
}
/* ページネーション（ネオブロータリズム風） */
.pagination .page-link {
  border: 2px solid #0f172a !important;
  color: #0f172a !important;
  font-weight: 800;
  margin: 0 4px;
  box-shadow: 4px 4px 0 #0f172a;
  border-radius: 4px !important;
  transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
  background-color: #06b6d4 !important;
  color: #fff !important;
  box-shadow: 2px 2px 0 #0f172a;
  transform: translate(2px, 2px);
}

.pagination .page-item.disabled .page-link {
  background-color: #f1f5f9;
  border-color: #cbd5e1 !important;
  color: #94a3b8 !important;
  box-shadow: none;
}

/* 汎用影クラス */
.u-shadow-black {
  box-shadow: 6px 6px 0 #0f172a !important;
}

.u-shadow-lg {
  box-shadow: 8px 8px 0 #0f172a !important;
}

/* ==========================================================================
   アーバン・パルクール風セクションタイトル（フラット修正版）
   ========================================================================== */
.u-title-urban {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-left: 10px;
}

/* 縦のアクセントラインを垂直に戻す */
.u-title-urban::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 90%;
  background: #0f172a;
}

/* アイコンを囲むボックス：斜めと影を削除 */
.u-title-urban__icon {
  font-size: 1.25rem;
  color: #fff;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #06b6d4;
  /* 差し色のシアン */
  border: 2px solid #0f172a;
}

.u-title-urban__main {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex: 1;
}

/* プレミアム・デジタル会員証カード (ミニマル・フラット版) */
.status-card--profile {
  position: relative;
  padding: 1.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #fff;
  /* 背景をフラットな白に修正 */
  overflow: hidden;
}

/* 装飾アクセント（::after）は削除 */

.status-card--profile .profile-main {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.status-card--profile .profile-avatar-container {
  width: 70px;
  /* サイズを微調整 */
  height: 70px;
  flex-shrink: 0;
  margin: 0;
  border: none;
  /* 枠線を削除 */
  box-shadow: none;
  /* 影を削除 */
}

.status-card--profile .profile-avatar-placeholder {
  width: 70px;
  height: 70px;
  font-size: 2.2rem;
}

.status-card--profile .profile-content {
  flex-grow: 1;
}

.status-card--profile .profile-greeting {
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.status-card--profile .profile-name {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1;
}

/* 垂直データ属性リスト */
.profile-data-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #cbd5e1;
  /* 切り取り線のような破線 */
}

.data-item {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.data-item i {
  width: 24px;
  color: #06b6d4;
  font-size: 1rem;
}

.data-item .label {
  color: #94a3b8;
  font-size: 0.65rem;
  text-transform: uppercase;
  width: 70px;
  margin-right: 8px;
}

/* 日本語タイトル：強固な太字 */
.u-title-urban__ja {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  border-bottom: 2px solid #0f172a;
  /* ここにアンダーラインを移動 */
  padding-bottom: 4px;
}

/* 英語サブタイトル：都会的なアクセント */
.u-title-urban__en {
  font-size: 0.65rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 6px;
  /* ラインとの距離を確保 */
}
/* ==========================================================================
   28. エラー画面 (error_mock.html)
   ========================================================================== */
[v-cloak] {
  display: none;
}

.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: #06b6d4;
  text-shadow: 6px 6px 0 #0f172a;
  margin-bottom: 0px;
  letter-spacing: -0.05em;
  position: relative;
}

@media (max-width: 576px) {
  .error-code {
    font-size: 5rem;
    text-shadow: 4px 4px 0 #0f172a;
  }
}

/* アニメーション */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 4s ease-in-out infinite;
}

/* ==========================================================================
   29. コンパクト確認画面用 (registrationモーダル等)
   ========================================================================== */
.compact-confirm-group {
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}

.compact-confirm-group:last-child {
  border-bottom: none;
}

.compact-confirm-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 2px;
}

.compact-confirm-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.compact-section-title {
  margin-top: 1rem !important;
  margin-bottom: 0.2rem !important;
  font-size: 1rem;
  padding-left: 8px;
  border-left-width: 4px;
}

/* パスワード表示トグル */
.password-input-wrapper {
  position: relative;
}
.password-input-wrapper .form-control-custom {
  padding-right: 2.5rem;
}
.btn-password-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
  color: #6c757d;
  line-height: 1;
}
.btn-password-toggle:hover {
  color: #0f172a;
}
