body {
    font-family: "Noto Sans JP", sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg,
        #4a148c,
        #7b1fa2,
        #8e24aa) !important;
    min-height: 100vh !important;
}

.now-container {
    background: transparent !important;
    padding: 20px !important;
    min-height: 100vh !important;
}

.now-header {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    border-radius: 15px !important;
    text-align: center !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
}

.now-header h1 {
    font-size: 28px !important;
    margin-bottom: 10px !important;
    color: #4a148c !important;
    font-weight: bold !important;
}

.now-header p {
    color: #666 !important;
    margin: 0 !important;
    font-size: 16px !important;
}

.now-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 15px !important;
    padding: 25px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.nav-buttons {
    display: flex !important;
    gap: 10px !important;
}

.nav-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    color: white !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e8851b) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6) !important;
}

.controls select {
    padding: 12px 16px !important;
    border: 2px solid #ddd !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    background: white !important;
    transition: all 0.3s ease !important;
    min-width: 120px !important;
    box-sizing: border-box !important;
}

.controls select:focus {
    border-color: #ffd700 !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3) !important;
}

/* 鑑定士カード - kanteishi_listと統一 */
.kanteishi-grid {
    display: grid !important;
    gap: 25px !important;
}

/* レスポンシブ対応 - kanteishi_listと統一 */
@media (min-width: 1200px) {
    .kanteishi-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .kanteishi-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .kanteishi-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .kanteishi-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
} 

@media (max-width: 480px) {
    .kanteishi-grid {
        grid-template-columns: 1fr !important;
    }
}

.kanteishi-card {
    background: linear-gradient(135deg,
        #7b1fa2,
        #8e24aa,
        #9c27b0) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
    border: 3px solid rgba(255, 215, 0, 0.6) !important;
    position: relative !important;
}

.kanteishi-card::before {
    content: "" !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    border-radius: 18px !important;
    z-index: -1 !important;
}

.kanteishi-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
}

.card-header {
    background: transparent !important;
    color: white !important;
    padding: 10px 20px !important;
    padding-top: 18px !important;
    
    text-align: center !important;
    position: relative !important;
}

.status-badge {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    padding: 4px 10px !important;
    border-radius: 15px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    background: linear-gradient(135deg, #ffd700, #ffecb3) !important;
    color: #4a148c !important;
}

/* .card-body img { */
    /* object-fit: cover !important; */
    /* display: block !important; */
    /* background-image: url(/images/bg-uranaisi.png); */
    /* background-repeat: no-repeat; */
    /* background-position: center center; */
    /* margin: auto; */
    /* padding: 1em; */
    /* max-width: 90%; */
    /* height: auto; */
    /* border-style: none; */
/* } */

.card-body img {
    margin: auto;
   padding: 1em;
   max-width: 100%;
   height: auto;
   border-style: none;
}

.card-header .kanteishi-name {
    font-weight: bold !important;
    margin-top: 10px !important;
    font-size: 16px !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.card-header .tenpo-name {
    font-weight: 100 !important;
    margin-top: 0px !important;
    font-size: 11px !important; 
    margin-bottom: 0px !important;
}

.card-body {
    padding: 0px 20px !important;
    text-align: center !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

.service-info {
    margin-bottom: 15px !important;
}

.service-type {
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 5px !important;
    font-size: 14px !important;
}

.service-description {
    font-size: 14px !important;
    color: #ff6b35 !important;
    line-height: 1.4 !important;
    font-weight: bold !important;
    min-height: 20px !important;
}

.booking-btn {
    width: 100% !important;
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.booking-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e8851b) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6) !important;
}

.booking-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4) !important;
}

.booking-btn::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.6s, height 0.6s !important;
}

.booking-btn:hover::before {
    width: 300px !important;
    height: 300px !important;
}

.no-kanteishi {
    text-align: center !important;
    padding: 40px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 15px !important;
    color: #666 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    grid-column: 1 / -1 !important;
}

.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content h3 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
    font-size: 1.5rem;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 120px;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.nav-label {
    display: flex !important;
    align-items: center !important;
    font-size: 1.2em !important;
    gap: 10px !important;
}

.nav-label label {
    white-space: nowrap !important;
    color: #4a148c !important;
    font-weight: 600 !important;
}

.nav-label select {
    font-size: 1.1em !important;
}

@media (max-width: 768px) {
    .now-nav {
        flex-direction: column !important;
        align-items: stretch !important;
    }
} 



.immediate-badge {
    background: #ff4444;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.service-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.service-icons img {
    width: 30px;
    height: 30px;
    margin: 0 5px;
}

.card-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}


.kanteishi-card { position: relative !important; }

.immediate-badge{
  position:absolute !important;
  top:8px !important;
  left:12px !important;            /* 右上がよければ right:12px に変更 */
  z-index:2 !important;
  padding:2px 8px !important;      /* 小さめ */
  font-size:11px !important;
  line-height:1.2 !important;
  border-radius:12px !important;
  background:#ff4444 !important;
  color:#fff !important;
  box-shadow:0 2px 6px rgba(0,0,0,.2) !important;
  pointer-events:none !important;  /* クリックの邪魔をしない */
}
