/* @charset "utf-8"; */
/* CSS Document */
/* @import "reset.css";
@import "common.css";
@import "basis.css";
@import "rcs.css"; */
/*@import "hover.css";*/
/*@import "print.css";*/

/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

@font-face {
    font-family: "YakuHanJP";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/YakuHanJP-Regular.woff2") format("woff2"),
    url("../fonts/YakuHanJP-Regular.woff") format("woff");
}

@font-face {
    font-family: "YakuHanJP";
    font-style: normal;
    font-weight: bold;
    src: url("../fonts/YakuHanJP-Bold.woff2") format("woff2"),
    url("../fonts/YakuHanJP-Bold.woff") format("woff");
} */

/* カレンダー */
#wp-calendar td.eo-event-cat-kyushin {
  background: #ffe5e5 !important;
}

#wp-calendar td.eo-event-cat-kyushin a {
  color: #c40000 !important;
  font-weight: bold;
}

/* カレンダー外枠 */
.calendar_arrow #wp-calendar {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #333;
  background: #fff;
}

/* 日付セル */
.calendar_arrow #wp-calendar th,
.calendar_arrow #wp-calendar td {
  border: 1px solid #ccc;
  text-align: center;
  padding: 15px 20px;
}

/* ヘッダー行全体のスタイル */
.calendar_arrow #wp-calendar thead th {
  background: #48382a;
  font-weight: bold;
  color: #fff;
}

/* 日曜日（セル） */
.calendar_arrow #wp-calendar td:first-child {
  color: #c40000;
}

/* 土曜日（セル） */
.calendar_arrow #wp-calendar td:last-child {
  color: #54AFC8;
  background: #F5FBFE;
}

/* カレンダーヘッダー（caption） */
.calendar_arrow #wp-calendar caption {
  caption-side: top;
  padding: 0;
  border-bottom: 2px solid #333;
}

/* カレンダーヘッダーの内部レイアウト */
.calendar_arrow .eo-calendar-header {
  display: flex;
  flex-direction: row; /* 横並びを強制 */
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  width: 100%; /* 幅を100%に */
}

/* 年月表示 */
.calendar_arrow .eo-date-display {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  white-space: nowrap; /* 改行を防ぐ */
}

/* 前月・翌月のナビゲーション */
.calendar_arrow .eo-nav-prev,
.calendar_arrow .eo-nav-next {
  flex-shrink: 0; /* 縮小を防ぐ */
  white-space: nowrap; /* 改行を防ぐ */
}

/* 前月・翌月のリンク */
.calendar_arrow .eo-nav-prev a,
.calendar_arrow .eo-nav-next a {
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  color: #48382a;
  font-weight: bold;
  font-size: 14px;
  border-radius: 3px;
  transition: background 0.3s;
  white-space: nowrap; /* 改行を防ぐ */
}

/* 下部のフッターを非表示 */
.calendar_arrow #wp-calendar tfoot {
  display: none !important;
}

@media screen and (max-width: 1101px) {
  .calendar_arrow #wp-calendar th,
  .calendar_arrow #wp-calendar td {
    padding: 15px;
  }
}
