@charset "UTF-8";

/* ====================================================
   ベース設定
   ==================================================== */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
    background: #eef9fc;
    color: #333;
    margin: 0;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.container, .admin-container {
    max-width: 1100px;
    margin: 20px auto;
    background: #fff;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 117, 194, 0.1);
    border-radius: 8px;
    border-top: 5px solid #0075c2;
}

h1 {
    border-bottom: 2px solid #b3e5fc;
    padding-bottom: 10px;
    color: #0075c2;
    font-size: 28px;
    margin-bottom: 20px;
}

h3 {
    color: #0277bd;
    font-size: 22px;
    margin-top: 0;
}

/* ====================================================
   ★ここが変更点：大きなメニューボタンのデザイン
   ==================================================== */
.admin-menu {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* 画面が狭い時は折り返す */
}

.menu-btn {
    flex: 1; /* 横幅いっぱいに広げる */
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 0 rgba(0,0,0,0.15); /* 立体的な影 */
    transition: 0.1s;
    min-width: 200px; /* 最小幅 */
    position: relative;
    top: 0;
}

/* 色分け */
.btn-red { background: #e53935; } /* 満室設定は赤（重要） */
.btn-red:hover { background: #c62828; }

.btn-blue { background: #0075c2; } /* カレンダーは青 */
.btn-blue:hover { background: #005b9f; }

.btn-gray { background: #78909c; flex: 0 0 auto; width: auto; min-width: 120px; } /* ログアウトはグレー */
.btn-gray:hover { background: #546e7a; }

/* 押した時の動き */
.menu-btn:active {
    top: 4px;
    box-shadow: none;
}


/* ====================================================
   検索エリア（前回作成分）
   ==================================================== */
.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
    background: #e1f5fe;
    padding: 20px;
    border-radius: 8px;
}

.search-form input {
    flex: 1;
    margin-top: 0;
    font-size: 18px;
    padding: 15px;
    border: 2px solid #b3e5fc;
}

.search-form button {
    width: auto;
    margin-top: 0;
    background: #0277bd;
    color: #fff;
    font-size: 18px;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 0 #01579b;
    position: relative;
    top: -2px;
}

.search-form button::before {
    content: "🔍 ";
    font-size: 1.2em;
    vertical-align: middle;
    margin-right: 5px;
}

.search-form button:active {
    box-shadow: none;
    top: 3px;
}

/* ====================================================
   管理画面テーブル（特大文字）
   ==================================================== */
.admin-container table {
    border: 2px solid #ccc;
    width: 100%;
}

.admin-container th {
    background: #0075c2;
    color: #fff;
    padding: 15px;
    font-size: 18px;
    border: 1px solid #005b9f;
}

.admin-container td {
    padding: 20px 15px;
    font-size: 18px;
    vertical-align: top;
    border-bottom: 2px solid #ddd;
}

.detail-info {
    font-size: 18px; 
    line-height: 1.8;
    color: #333;
}

/* お客様名（特大） */
.detail-info strong {
    font-size: 28px; /* さらに大きく */
    color: #000;
    background: #e3f2fd;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    border-left: 5px solid #0277bd;
}

/* 電話番号 */
.detail-info .tel-number {
    font-size: 24px;
    font-weight: bold;
    color: #0075c2;
    display: block;
    margin-top: 5px;
}

.admin-container textarea, 
.admin-container select {
    font-size: 16px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* ====================================================
   フォームパーツ（予約画面用）
   ==================================================== */
form label {
    display: block;
    margin-top: 25px;
    font-weight: bold;
    color: #455a64;
    font-size: 18px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 18px;
    background: #fafafa;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0075c2;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 117, 194, 0.2);
}

.required {
    background: #fcdcdc;
    color: #c62828;
    font-size: 0.8em;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    vertical-align: middle;
}

.error-box {
    background: #fff0f0;
    color: #ff0000;
    padding: 20px;
    border: 3px solid #ff0000;
    border-radius: 5px;
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 18px;
}

/* ====================================================
   汎用ボタン
   ==================================================== */
button {
    background: #0075c2;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 40px;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 6px;
    width: 100%;
    transition: 0.3s;
}
button:hover { background: #005b9f; }

/* 更新ボタン */
button[name="update_status"] {
    width: 100%; /* スマホなどでも押しやすいよう幅広に */
    margin-top: 0;
    padding: 15px;
    font-size: 16px;
    background: #0075c2;
    border-radius: 4px;
    box-shadow: none;
}

/* 印刷ボタン */
.print-btn {
    display: block;
    background: #546e7a;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}
.print-btn:hover { background: #455a64; }

/* ====================================================
   カレンダー
   ==================================================== */
.cal-wrapper {
    margin-bottom: 30px;
    border: 1px solid #e1f5fe;
    padding: 20px;
    border-radius: 8px;
    background: #fbfdff;
}

.cal-nav {
    display: flex;
    justify-content: space-between; /* 両端に配置 */
    align-items: center;            /* 上下の中心を揃える */
    margin-bottom: 20px;
}

.cal-nav a {
    text-decoration: none;
    background: #fff;
    border: 2px solid #0075c2;
    color: #0075c2;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

.calendar-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; border:none; }
.calendar-table th { background: #0075c2; color: #fff; padding: 12px; font-size: 16px; border: 1px solid #005b9f; }
.calendar-table td { border: 1px solid #ccc; height: 60px; text-align: center; vertical-align: middle; font-size: 16px; font-weight: bold; }

/* ステータス色 */
.st-ok { background: #fff; color: #0075c2; cursor: pointer; }
.st-ok:hover { background: #e3f2fd; border: 2px solid #000000; }

/* ▼▼▼ 追加：素泊まり専用の色 ▼▼▼ */
.st-roomonly { background: #f3e5f5; color: #8e24aa; font-weight: bold; cursor: pointer; }
.st-roomonly:hover { background: #e1bee7; border: 2px solid #000000; }

.st-few { background: #fffde7; color: #f57f17; cursor: pointer; }
.st-few:hover { background: #fff9c4; border: 2px solid #000000; }

.st-full { background: #ffebee; color: #ccc; }
.st-closed { background: #f0f0f0; color: #ccc; }
.st-past { background: #fafafa; color: #eee; }

/* ====================================================
   その他
   ==================================================== */
.policy-box {
    background-color: #f0f8ff;
    border: 2px solid #b3e5fc;
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.8;
}
.policy-title { color: #0277bd; font-weight: bold; font-size: 18px; margin-top: 15px; border-bottom: 2px dashed #81d4fa; display: block; }
.success-msg { background: #e8f5e9; color: #2e7d32; padding: 15px; border: 2px solid #c8e6c9; font-size: 18px; font-weight: bold; text-align: center; margin-bottom: 20px; }

/* スマホ対応 */
@media (max-width: 600px) {
    .container, .admin-container { padding: 15px; margin: 10px; }
    h1 { font-size: 22px; }
    .detail-info strong { font-size: 24px; }
    
    /* ボタンを縦積みにする */
    .admin-menu { flex-direction: column; }
    .menu-btn { width: 100%; box-sizing: border-box; }
    
    .search-form { flex-direction: column; align-items: stretch; }
    .search-form button { width: 100%; top:0; box-shadow:none; border-bottom: 4px solid #01579b; }
    .search-form button:active { top: 4px; border-bottom: none; }
}
/* style.css の末尾に追加または修正 */

/* ====================================================
   ログイン画面用（新規追加）
   ==================================================== */
.login-wrapper {
    max-width: 400px;
    margin: 100px auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 117, 194, 0.15);
    text-align: center;
    border-top: 5px solid #0075c2;
}

.login-wrapper h2 {
    margin-top: 0;
    color: #0075c2;
    font-size: 24px;
    margin-bottom: 30px;
}

.login-wrapper input {
    font-size: 24px; /* 文字を大きく */
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.login-wrapper button {
    margin-top: 10px;
    padding: 15px;
    font-size: 18px;
}

/* ====================================================
   カレンダーのステータス色調整（st-fewを確認・調整）
   ==================================================== */
/* 既存の .st-few があればそれをそのまま使いますが、
   視認性を高めるため以下のように微調整をおすすめします */
.st-few { 
    background: #fff9c4; /* 薄い黄色 */
    color: #f57f17;      /* 濃いオレンジ */
    font-weight: bold; 
    cursor: pointer; 
}
.st-few:hover { 
    background: #fff59d; 
    border: 2px solid #f9a825; 
}
/* style.css の末尾に追加 */

/* 繁忙期マーク（カレンダーの日付の横などに表示） */
.peak-mark {
    display: inline-block;
    background: #ff5722;
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 3px;
    vertical-align: text-top;
    line-height: 1.2;
}

/* 繁忙期の日付セル（枠線などで強調） */
.cell-peak {
    position: relative;
    border: 2px solid #ff5722 !important; /* オレンジ色の枠 */
}

/* 繁忙期モード時のボタン */
.mode-btn {
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #ccc;
    color: #555;
    background: #fff;
    margin-right: 10px;
    display: inline-block;
}
.mode-btn.active {
    background: #0075c2;
    color: #fff;
    border-color: #0075c2;
}
.mode-btn.active-peak {
    background: #ff5722;
    color: #fff;
    border-color: #ff5722;
}