/* =========================================
   FIDELE Store Calendar (front) - seamless
   - no shadow / no outer frame
   - heading centered / Mincho-like serif
   ========================================= */

.fidele-store-calendar{
  --fidele-border: #e6edf2;
  --fidele-muted:  #6b7a88;

  margin: 26px auto 30px;
  padding: 0 18px;   /* ←左右余白 */
  max-width: 1200px; /* ←広すぎ防止（不要なら消してOK） */

  border: none;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 860px){
  .fidele-store-calendar{
    padding: 0 14px; /* ←スマホの左右余白 */
  }
}

/* 見出し：中央 / 明朝系 / 大きめ */
.fidele-cal-head{
  text-align: center;
  font-weight: 500;
  letter-spacing: .06em;
  margin: 0 0 18px;
  padding: 0;

  /* 店舗ページ見出しと同じ */
  font-family: '游明朝', 'YuMincho', 'Noto Serif JP', 'Noto Sans JP',
    "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo,
    "ＭＳ Ｐゴシック", Arial, Verdana, sans-serif;

  /* 明朝っぽさを出すために最初の游明朝が効く */
  font-size: 28px;
  line-height: 1.2;
  color: #0f172a;
}

/* 2ヶ月レイアウト */
.fidele-cal-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 860px){
  .fidele-cal-wrap{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fidele-cal-head{
    font-size: 24px;
  }
}

/* Month title（控えめ） */
.fidele-cal-month-title{
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 10px;
  padding: 0;
  color: #111827;
}

/* Table */
.fidele-cal-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  margin-top: 12px; /* ←曜日行（thead）より上の余白になる */

  /* 外周枠（上・左右・下） */
  border-top: 1px solid var(--fidele-border);
  border-left: 1px solid var(--fidele-border);
  border-right: 1px solid var(--fidele-border);
  border-bottom: 1px solid var(--fidele-border);
}

.fidele-cal-table th,
.fidele-cal-table td{
  border-right: 1px solid var(--fidele-border);
  border-bottom: 1px solid var(--fidele-border);
  padding: 0;
  height: 66px;
  vertical-align: top;
  background: transparent;
}

.fidele-cal-table th:last-child,
.fidele-cal-table td:last-child{
  border-right: none;
}

.fidele-cal-table tr:last-child td{
  border-bottom: none;
}

.fidele-cal-table th{
  height: 36px;
  font-size: 12px;
  font-weight: 700;
  color: var(--fidele-muted);
  text-align: center;
  background: transparent;
  vertical-align: middle;
}

/* Weekend subtle */
.fidele-cal-table th:first-child{ color: #c24b4b; }
.fidele-cal-table th:last-child{  color: #2a5aa8; }

.fidele-cal-empty{
  background: transparent;
}

/* Day cell */
.fidele-cal-day{
  position: relative;
  text-align: left;
}

.fidele-cal-daynum{
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

/* メモ（入力文字） */
.fidele-cal-day.has-note .fidele-cal-note{
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;

  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;

  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--fidele-border);
  background: rgba(255,255,255,0.9);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* 休業日は“うっすら”差を付ける（派手にしない） */
.fidele-cal-day.st-closed{
  background: rgba(247, 250, 252, 0.8);
}

.fidele-cal-day.st-closed .fidele-cal-daynum{
  color: #607185;
}

.fidele-cal-footnote{
  margin-top: 10px;
  font-size: 12px;
  color: var(--fidele-muted);
  line-height: 1.5;
  text-align: center;
}

/* Mobile tight */
@media (max-width: 420px){
  .fidele-cal-table th{ height: 34px; }
  .fidele-cal-table td{ height: 60px; }
  .fidele-cal-daynum{ top: 7px; left: 9px; }
}