@charset "UTF-8";

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

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

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

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

.consultPanel.sp_col2 .consultPanel_item {
  width: 50%;
}

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

/* 1番、4番パネル - 背景色 #EFFBFF */
.consultPanel_item:nth-child(1),
.consultPanel_item:nth-child(4) {
  background: #EFFBFF;
}

/* 2番、3番パネル - 背景色 #E8F4FF */
.consultPanel_item:nth-child(2),
.consultPanel_item:nth-child(3) {
  background: #E8F4FF;
}

.consultPanel_title {
  font-size: 2rem;
  font-weight: bold;
  color: #003d7c;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

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

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

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

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

/* ====================================
   カレンダーセクション
   ==================================== */
/* ページングエリア */
.calendar_paging {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 20px;
}

/* ページングボタン（矢印） */
.calendar_paging_btn {
  position: absolute;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #005BAB;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.calendar_paging_btn.prev {
  left: -40px;
  justify-content: flex-end;
}

.calendar_paging_btn.next {
  right: -40px;
  justify-content: flex-start;
}

.calendar_paging_arrow {
  width: 20px;
  height: 15px;
}

/* 左矢印は反転して右端から5px */
.calendar_paging_btn.prev .calendar_paging_arrow {
  transform: scaleX(-1);
  margin-right: 5px;
}

/* 右矢印は左端から5px */
.calendar_paging_btn.next .calendar_paging_arrow {
  margin-left: 5px;
}

/* ページングタブ（月選択） */
.calendar_paging_tabs {
  flex: 1;
  display: flex;
  gap: 16px;
  margin: 0 26px;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.calendar_paging_tabs::-webkit-scrollbar {
  display: none;
}

.calendar_paging_tab {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 10px 3px 8px;
  background: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.calendar_paging_tab.active {
  background: #005BAB;
  font-weight: bold;
}

.calendar_paging_tab.active::after {
  content: "";
  position: absolute;
  bottom: calc(100% + -4px);
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 10px;
  background: url('/saturday_consultation/images/triangle.svg') no-repeat center center;
  background-size: contain;
}

.tab_year {
  font-size: 1.0rem;
  font-weight: 600;
  color: #005BAB;
  line-height: 1;
}

.tab_month {
  font-size: 1.4rem;
  font-weight: 600;
  color: #005BAB;
  line-height: 1;
}

.calendar_paging_tab.active .tab_year,
.calendar_paging_tab.active .tab_month {
  color: #fff;
}

/* カレンダーアイテム */
.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.6rem;
  font-weight: bold;
  line-height: 1;
}

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

.calendar_month {
  font-size: 2.2rem;
  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.2rem;
  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.0rem;
}

.calendar_closed_sub {
  font-size: 1.6rem;
}

.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;
}

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

.fixedBottom .cntSec.cnv-col-1-1 .nmlBtn .nmlBtn_item {
  flex: 0 0 100%;
}
