/* =========================================
   calendar.css - 営業日カレンダー専用スタイル
   アクセントカラー：辛子色 #F2B800
   ========================================= */

/* =========================================
   ページ全体
   ========================================= */
#content .calendar-page {
    width: 740px;
    margin: 0 auto;
    padding: 10px 0 60px;
}

#content .calendar-page h2 {
    font-size: 14px;
    font-weight: normal;
    color: #555;
    border-bottom: 2px solid #737373;
    padding-bottom: 8px;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

/* =========================================
   リード文
   ========================================= */
.cal-intro {
    font-size: 12px;
    color: #666;
    line-height: 1.9;
    margin-bottom: 30px !important;
    padding: 16px 20px;
    border-left: 3px solid #F2B800;
    background-color: #faf8f2;
}

/* =========================================
   月ブロック
   ========================================= */
.cal-month {
    margin-bottom: 60px;
}

.cal-month-header {
    margin-bottom: 16px;
    overflow: hidden;
}

.cal-month-header .cal-year {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #999;
    display: block;
    margin-bottom: 0;
}

.cal-month-header .cal-num {
    font-size: 80px;
    font-weight: 300;
    line-height: 0.9;
    color: #444;
    display: inline-block;
    letter-spacing: -0.02em;
}

.cal-month-header .cal-name {
    font-size: 13px;
    letter-spacing: 0.25em;
    color: #888;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    padding-bottom: 8px;
}

/* =========================================
   凡例
   ========================================= */
.cal-legend {
    font-size: 11px;
    color: #888;
    padding-top: 50px;
}

.cal-legend-item {
    display: inline-block;
    margin-left: 14px;
    vertical-align: middle;
}

.cal-legend-circle {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 4px;
}

.cal-legend-circle.open {
    background-color: #F2B800;
}

.cal-legend-circle.off {
    background-color: #e0e0e0;
}

/* =========================================
   カレンダーグリッド
   ========================================= */
.cal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    clear: both;
}

/* 曜日ヘッダー */
.cal-table thead th {
    text-align: center;
    font-size: 11px;
    font-weight: normal;
    color: #aaa;
    letter-spacing: 0.1em;
    padding: 8px 0 10px;
    border-bottom: 1px solid #e0e0e0;
}

.cal-table thead th.th-sat { color: #aac4e0; }
.cal-table thead th.th-sun { color: #e0aaaa; }

/* =========================================
   日付セル 共通ベース
   ========================================= */
.cal-table tbody td {
    text-align: center;
    vertical-align: middle;
    padding: 10px 4px;
    height: 76px;
    border-bottom: 1px solid #efefef;
    position: relative;
}

/* デフォルト：数字のみ（グレー） */
.cal-date {
    display: inline-block;
    font-size: 14px;
    color: #ccc;
    line-height: 1;
}

/* =========================================
   営業日（OPEN）- 辛子色の大きな丸
   ========================================= */
.cal-table tbody td.day-open .cal-date,
.cal-table tbody td.day-default-open .cal-date {
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    background-color: #F2B800;
    color: #fff;
    font-size: 18px;
    text-align: center;
}

/* =========================================
   OPEN + テキストあり
   ========================================= */
.cal-table tbody td.day-open-text {
    vertical-align: top;
    padding-top: 10px;
}

.cal-table tbody td.day-open-text .cal-date {
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background-color: #F2B800;
    color: #fff;
    font-size: 13px;
    text-align: center;
    margin-bottom: 3px;
}

/* =========================================
   CLOSED + テキストあり（定休日だが備考あり）
   =========================================
   丸なし・数字は通常色・テキストを表示
   ========================================= */
.cal-table tbody td.day-closed-text {
    vertical-align: middle;
    padding: 6px 4px;
}

.cal-table tbody td.day-closed-text .cal-inner {
    display: inline-block;
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 2px 4px;
    min-width: 70px;
}

.cal-table tbody td.day-closed-text .cal-date {width: 28px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #F2B800;
    color: #fff;
    font-size: 15px;
    text-align: center;
    display: block;
    margin: 0 auto 4px;
}

/* =========================================
   定休日 / CLOSED（数字のみ・グレー）
   ========================================= */
.cal-table tbody td.day-off .cal-date,
.cal-table tbody td.day-closed .cal-date {
    color: #ccc;
    font-size: 14px;
}

/* 空セル */
.cal-table tbody td.day-empty {
    border-bottom: 1px solid #efefef;
}

/* =========================================
   テキスト（備考）
   ========================================= */
.cal-text {
    display: block;
    font-size: 12px;
    color: #444;
    line-height: 1.7;
    text-align: center;
}

/* =========================================
   今日の日付
   ========================================= */
.cal-table tbody td.day-today.day-open .cal-date,
.cal-table tbody td.day-today.day-default-open .cal-date {
    background-color: #C39400;
    outline: 2px solid #F2B800;
    outline-offset: 2px;
}

.cal-table tbody td.day-today.day-open-text .cal-date {
    background-color: #C39400;
}

/* =========================================
   区切り線
   ========================================= */
.cal-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0 0 60px;
}
