/* ------------------------------
   全体レイアウト
------------------------------ */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #333;
}

/* コンテンツの中央寄せ */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* ------------------------------
   見出し
------------------------------ */
h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* ------------------------------
   カード（ダッシュボードなど）
------------------------------ */
.card {
    background: #fff;
    padding: 18px;
    margin: 12px 0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: block;
}

/* ------------------------------
   ボタン
------------------------------ */
.button {
    display: inline-block;
    padding: 10px 18px;
    background: #4FC3F7;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
}

.button:hover {
    opacity: 0.85;
}

.button-danger {
    background: #E57373;
}

/* ------------------------------
   テーブル（一覧画面）
------------------------------ */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

th {
    background: #fafafa;
    font-weight: 600;
}

/* ------------------------------
   フォーム
------------------------------ */
form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

button {
    padding: 10px 18px;
    background: #4FC3F7;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
}

button:hover {
    opacity: 0.85;
}

/* ------------------------------
   カレンダー（FullCalendar）
------------------------------ */
.fc .fc-toolbar-title {
    font-size: 22px;
    font-weight: 600;
}

.fc-event {
    border: none;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
}

/* 権利確定（青） */
.fc-event-right {
    background: #4FC3F7 !important;
}

/* 到着予定（緑） */
.fc-event-arrival {
    background: #81C784 !important;
}

/* 有効期限（赤） */
.fc-event-expire {
    background: #E57373 !important;
}
