@charset "UTF-8";

/* ====================================
   土曜相談会ページ PC専用スタイル
   ==================================== */

/* 相談パネル */
.consultPanel {
  margin-top: 40px;
}

.consultPanel_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

/* col4: 4カラムレイアウト */
.consultPanel.col4 .consultPanel_list {
  justify-content: flex-start;
}

.consultPanel.col4 .consultPanel_item {
  width: 25%;
}

.consultPanel_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 32px;
  border-radius: 0;
}

/* 奇数パネル - 背景色 #EFFBFF */
.consultPanel_item:nth-child(odd) {
  background: #EFFBFF;
}

/* 偶数パネル - 背景色 #E8F4FF */
.consultPanel_item:nth-child(even) {
  background: #E8F4FF;
}

.consultPanel_title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #005BAB;
  line-height: 1.333;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.consultPanel_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.consultPanel_icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* パネル直後の注釈リスト余白 */
.consultPanel + .noteList {
  margin-top: 24px;
}

/* 相談セクションのinnerWrap余白 */
.consultSec .innerWrap {
  padding-top: 48px;
  padding-bottom: 80px;
}

/* ====================================
   カレンダーセクション
   ==================================== */

/* カレンダーグリッド（PC: 3カラム） */
.calendar_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* カレンダーアイテム */
.calendar_item {
  background: #fff;
  overflow: hidden;
}

/* カレンダーヘッダー（年月） */
.calendar_header {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #E6EFF7;
  text-align: center;
  padding: 0 0 17px 0;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

.calendar_year {
  font-size: 2.4rem;
  margin-right: 0;
  color: #3C4950;
}

.calendar_month {
  font-size: 2.8rem;
  color: #3C4950;
}

/* カレンダーテーブル */
.calendar_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.calendar_table thead th {
  width: 48px;
  height: 48px;
  padding: 14px;
  font-size: 2.0rem;
  font-weight: 600;
  line-height: 1;
  color: #3C4950;
  background: #F5F5F5;
  border-bottom: 1px solid #DFE6E7;
  box-sizing: border-box;
}

.calendar_day.sunday {
  color: #B90606;
}

.calendar_day.saturday {
  color: #005BAB;
}

.calendar_table tbody td {
  width: 48px;
  height: 48px;
  padding: 15px 11px;
  text-align: center;
  font-size: 2.0rem;
  font-weight: 600;
  line-height: 1;
  color: #3C4950;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  box-sizing: border-box;
}

/* 空セル */
.calendar_date:empty {
  background: transparent;
}

/* 日曜日 */
.calendar_date.sunday {
  color: #B90606;
}

/* 土曜日 */
.calendar_date.saturday {
  color: #005BAB;
}

/* 祝日 */
.calendar_date.holiday {
  color: #B90606;
}

/* 過去の日 */
.calendar_date.past {
  background: #CCCCCC;
}

/* 過去の日でも曜日色を保持 */
.calendar_date.past.sunday {
  color: #B90606;
}

.calendar_date.past.saturday {
  color: #005BAB;
}

.calendar_date.past.holiday {
  color: #B90606;
}

/* 当日 */
.calendar_date.today {
  background: #005BAB;
  color: #fff;
  font-weight: bold;
}

/* 第三土曜（相談会の日） */
.calendar_date.consult_day {
  position: relative;
  color: #fff !important;
  font-weight: bold;
  z-index: 1;
}

.calendar_date.consult_day::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #F7774D;
  border-radius: 50%;
  z-index: -1;
}

/* 第三土曜かつ当日の場合 */
.calendar_date.consult_day.today::before {
  background: #F7774D;
  box-shadow: 0 0 0 2px #005BAB;
}

/* 8月非開催月 */
.calendar_item.closed_month {
  position: relative;
}

.calendar_closed {
  position: relative;
}

.calendar_closed_text {
  position: absolute;
  top: calc(50% + 30px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.6;
  white-space: nowrap;
}

.calendar_closed_main {
  font-size: 2.2rem;
}

.calendar_closed_sub {
  font-size: 1.8rem;
}

.calendar_closed tbody::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
  pointer-events: none;
}

.closed_month .calendar_table tbody {
  position: relative;
}

/* 年度切り替えボタン */
.calendar_yearNav {
  margin-top: 40px;
}

.calendar_yearNav .nmlBtn {
  max-width: 824px;
  margin: 0 auto;
  gap: 24px;
}

.calendar_yearNav .nmlBtn.col2 .nmlBtn_item {
  width: 400px;
  margin-left: 0;
}

.calendar_yearNav .nmlBtn.col2 .nmlBtn_item:not(:first-child):not(:nth-child(2n+1)) {
  margin-left: 0;
}

/* ====================================
   固定ボタンエリア
   ==================================== */

/* 予約ボタン */
.nmlBtn_item.bg-fill.arrow-right .nmlBtn_itemLink {
  width: 480px;
  height: 48px;
}

.fixedBottom .cntSec.cnv-col-1-1 .nmlBtn .nmlBtn_item {
  width: 480px;
}
