/*
 * overrides.css
 * !important を使用したオーバーライドルールを集約
 * 作成日: 2025-12-18
 *
 * 元ファイル: color.css, pink.css, style_left_column.css, style.css
 */

/* ========================================
   color.css から移設
   ======================================== */

/* メッセージ */
.message_main {
  margin-top: 0px !important;
}

/* ボーダーカラー（color.css版） */
.border-pink-color {
  border-color: #D62415 !important;
}
.border-yellow-color {
  border-color: #F0A118 !important;
}
.border-sky-color {
  border-color: #004D99 !important;
}
.border-blue-color {
  border-color: #414C9F !important;
}
.border-green-color {
  border-color: #00A4A4 !important;
}
.border-orange-color {
  border-color: #ED923F !important;
}

/* ボタンリンク色 */
.inquiry_btn:link,
.inquiry_btn:visited {
  color: #fff !important;
}
.inquiry_btn_pink:link,
.inquiry_btn_pink:visited {
  color: #fff !important;
}

/* ナビゲーション */
.navbar-custom .dropdown-menu > li > a {
  border-bottom: 1px solid rgba(73, 71, 71, 0.15) !important;
}
.navbar-custom .dropdown-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
.navbar-custom .nav li > a.login-btn:hover {
  color: #fff !important;
}

/* 幅100% */
.w100 {
  width: 100% !important;
}

/* スマホ表示時のプロフィールページ画像 */
@media (max-width: 767px) {
  .swiper-container-one {
    width: 100vw !important;
  }
  .swiper-container-one .swiper-slide {
    width: 100vw !important;
  }
}

/* ========================================
   pink.css から移設
   ======================================== */

/* ボーダーカラー（pink.css版 - テーマカラー） */
.border-pink {
  border-color: #737373 !important;
}
.border-yellow {
  border-color: #ff9776 !important;
}
.border-sky {
  border-color: #5bc0de !important;
}
.border-blue {
  border-color: #414C9F !important;
}
.border-green {
  border-color: #aae89a !important;
}
.border-orange {
  border-color: #ED923F !important;
}

/* ログインボタン */
.login-btn {
  color: #fff !important;
}
.login-btn:hover {
  color: #fff !important;
}

/* ニュースヘッダー */
.news-header .module-title:first-letter {
  color: #fff !important;
}

/* ========================================
   style_left_column.css から移設
   ======================================== */

/* ログアウトアイコン */
.modern-menu .logout-item i {
  color: #95a5a6 !important;
}
.modern-menu .logout-item:hover i {
  color: #7f8c8d !important;
}

/* 予約情報パネル */
.modern-reservation-box .panel.panel-default {
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}
.modern-reservation-box .panel-heading {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  padding: 15px 20px !important;
  border-radius: 15px 15px 0 0 !important;
}
.modern-reservation-box .panel-body,
.modern-reservation-box .table {
  background: white !important;
}
.modern-reservation-box .panel-title a {
  color: white !important;
}
.modern-reservation-box .panel-title .badge {
  background: white !important;
  color: #667eea !important;
}

/* 料金表示 */
.modern-reservation-box .price-amount {
  font-size: 24px !important;
  font-weight: bold !important;
}

/* ステップバー */
.modern-reservation-box .step_bar li.current {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
}
.modern-reservation-box .step_bar li.current::before {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
.modern-reservation-box .step_bar li.current::after {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
.modern-reservation-box .step_bar li.current2 {
  background: #f39c12 !important;
  color: #fff !important;
}
.modern-reservation-box .step_bar li.current2::before {
  background: #f39c12 !important;
}
.modern-reservation-box .step_bar li.current2::after {
  background: #f39c12 !important;
}

/* ========================================
   style.css から移設（主要なもの）
   ======================================== */

/* ドロップダウン */
.dropdown-menu-right {
  text-align: left !important;
  right: 0 !important;
  left: auto !important;
}

/* ========================================
   スマホ版キャストBOX 角丸一体化
   ======================================== */
@media screen and (max-width: 480px) {
  /* 写真：上だけ角丸、下は直角 */
  .action-xs .box_cast img {
    border-radius: 4px 4px 0 0 !important;
  }

  /* 名前：下だけ角丸、上は直角 */
  .action-xs .box_cast .cast_name,
  .action-xs .box_cast .cast_name2,
  .action-xs .box_cast .cast_name2nd {
    border-radius: 0 0 4px 4px !important;
    margin-top: 0 !important;
  }
}

/* ========================================
   ニュースカード レイアウト
   ======================================== */
.news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

/* 日時・カテゴリ エリア */
.news-meta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 12px 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.news-date {
  font-size: 13px;
}

.news-date i {
  margin-right: 5px;
}

.news-category {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 12px;
}

.news-cast {
  color: #fff !important;
  text-decoration: underline;
  font-size: 13px;
}

.news-cast:hover {
  color: #ffd700 !important;
}

/* 写真エリア */
.news-image {
  width: 100%;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.news-image a:hover img {
  transform: scale(1.03);
}

/* テキストエリア */
.news-text {
  padding: 15px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* 詳細リンクエリア */
.news-link {
  padding: 0 15px 15px;
  text-align: right;
}

.news-detail-btn {
  display: inline-block;
  background: rgb(220, 104, 126);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 13px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(220, 104, 126, 0.3);
}

.news-detail-btn:hover {
  background: rgb(200, 84, 106);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(220, 104, 126, 0.4);
}

.news-detail-btn i {
  margin-right: 5px;
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
  .news-meta {
    padding: 10px 12px;
    gap: 8px;
  }

  .news-date {
    font-size: 12px;
  }

  .news-category {
    font-size: 11px;
    padding: 2px 8px;
  }

  .news-text {
    padding: 12px;
    font-size: 13px;
  }

  .news-link {
    padding: 0 12px 12px;
    text-align: center;
  }

  .news-detail-btn {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
  }

  /* スマホ版2名表示（グリッドモード） */
  .action-pc.sp-grid-mode {
    display: block !important;
  }
}

/* ========================================
   ページタイトル smallタグ調整
   ======================================== */
.module-title small {
    font-size: 60%;
    margin-left: 0.5em;
}

/* ========================================
   写メ日記 検索フィルター
   ======================================== */
.photo-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.photo-filter-form {
  flex: 1;
  min-width: 0;
}

.photo-filter-form .form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.photo-filter-form select.form-control,
.photo-filter-form input.form-control {
  width: auto;
  flex: 1;
  min-width: 120px;
  max-width: 200px;
}

.photo-view-toggle {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .photo-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .photo-filter-form {
    width: 100%;
  }

  .photo-filter-form .form-inline {
    flex-direction: column;
    width: 100%;
  }

  .photo-filter-form select.form-control,
  .photo-filter-form input.form-control {
    width: 100% !important;
    max-width: none;
    margin-bottom: 8px;
  }

  .photo-view-toggle {
    justify-content: flex-end;
    margin-top: 10px;
  }
}
