:root {
  --color-green: #1F955F;
  --color-darkgreen: #006637;
  --color-bighall: #73A845;
  --color-middlehall: #457AA8;
  --color-smallhall: #E2A928;
}

body {
  margin-inline: 20px;
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
} 

@media (min-width: 767px) {
  body {
    padding: 0 20px;
  }
}

img {
  max-width: 100%;
}

hr {
  color: #DEE2E6;
  opacity: 1;
}

.container {
  max-width: 100%;
}

ul {
  list-style: none;
  padding-left: 0;
}

.link-color {
  color: #333333B4;
}

.mt-24 {
  margin-top: 24px;
}

.mt-34 {
  margin-top: 34px;
}

.mb-34 {
  margin-bottom: 34px;
}

.m-auto {
  margin-inline: auto;
}

.end {
  text-align: end;
}

.al-center {
  align-items: center;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.page-title {
  color: #333;
  font-size: 20px;
  font-weight: bold;
}

.flex-reverse {
  justify-content: left;
  flex-direction: row-reverse;
}

.text-left {
  text-align: left;
}

.btn-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.btn-basic {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  position: relative;
}

.btn-basic::before {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.btn-warning,
.btn-danger {
  width: 100%;
}

.btn-sm {
  padding: 10px;
}

.btn-green {
  width: 100%;
  background-color: var(--color-green);
  color: #fff;
}

.btn-white {
  width: auto;
  padding: 12px 15px;
  border: 1px solid #BEBEBE;
  background-color: #fff;
  color: rgba(51, 51, 51, 0.75);
  white-space: nowrap;
}

.btn-back {
  width: 75px;
  padding: 12px 15px 12px 25px;
  margin-right: 12px;
}

.btn-back::before {
  width: 12px;
  height: 12px;
  margin-right: 50px;
  background-image: url('../img/icon_arrow_left.svg');
}

.btn-plus::before {
  width: 14px;
  height: 14px;
  margin-right: 160px;
  background-image: url('../img/icon_plus.svg');
}

.btn-border-green {
  border: 1px solid var(--color-green);
  color: var(--color-green);
}

.btn-border-green::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 140px;
  background-image: url('../img/icon_arrow_green.svg');
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(0);
}
.btn-border-green:nth-child(2):after {
  margin-left: 150px;
}
.btn-border-green:nth-child(3):after {
  margin-left: 100px;
}

@media (min-width: 767px) {
  .btn-border-green  {
    width: 300px !important;
  }

  .btn-basic.btn-border-green.w-100 {
    width: 490px !important;
  }
}

@media (min-width: 767px) {
  .btn-basic {
    width: 490px;
  }

  .btn-sm,
  .btn-white {
    width: auto;
  }

  .btn-white {
    max-width: 490px;
  }

  .btn-back {
    width: 75px;
  }

  .btn-green {
    margin-inline: auto;
  }

  .btn-plus {
    width: 250px;
    margin: 0 0 0 auto;
    padding-right: 0;
  }
}

.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 16px;
}

th, td {
  border-left: none; 
  border-right: none;
  border-top: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

th {  
  padding: 10px 15px;
  color: rgba(51, 51, 51, 0.7);
  font-weight: 100;
  text-align: center;
}

td {
  padding: 12px 15px;
}

.td-flex {
  display: flex;
  gap: 10px;
}

th a,
td a {
  text-decoration: none;
  color: rgba(51, 51, 51, 0.7);
}

form {
  margin-inline: auto;
  display: grid;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-label {
  margin-bottom: 0;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 17px;
}

input {
  width: auto;
}

input::placeholder {
  color: rgba(51, 51, 51, 0.39);
}

.form-check-input {
  margin-top: 0;
}

/* ===============================================
# 予約システム
=============================================== */

.section-title {
  padding-left: 10px;
  color: rgba(51, 51, 51, 0.7);
  font-size: 16px;
  font-weight: bold;
  margin : 20px 0 24px;
  position: relative;
}

.section-title::before {
  content: "";
  position: absolute; 
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px; 
  height: 100%; 
  background-color: var(--color-green);
  border-radius: 3px;
}


/* ===============================================
# 予約カレンダー
=============================================== */

.calender-info {
  position: relative;
  display: block;
  padding-left: 25px;
  margin-bottom: 40px;
  color: rgba(51, 51, 51, 0.7);
  font-size: 14px;
  font-weight: bold;
}

.calender-info::before {
  content: "";
  width: 22px;
  height: 22px;
  background-image: url('../img/question.svg');
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.calendar-description ul {
  padding-left: 0;
}

.container {
  margin-bottom: 45px;
  padding: 0;
}

.container h1 {
  display: none;
}

.fc .fc-toolbar-title {
  font-weight: bold;
}

@media (max-width: 500px) {
  .fc .fc-toolbar-title {
    font-size: 20px;
    font-weight: bold;
  }

  .fc .fc-button.fc-today-button {
    font-size: 14px;
  }

  .fc .fc-button-group {
    font-size: 15px;
  }

  .fc .fc-button .fc-icon {
    font-size: 1em;
  }
}

@media (max-width: 400px) {
  .fc .fc-toolbar-title {
    font-size: 16px;
  }
}

.day-header-day,
.fc-daygrid-day-number,
.fc-timegrid-slot-label-cushion {
  font-family: "Noto Sans Display", sans-serif;
}

.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:hover {
  background-color: var(--color-darkgreen);
  border-color: var(--color-darkgreen);
}

.fc .fc-button-primary {
  background-color: var(--color-green);
  border-color: var(--color-green);
}

.fc .fc-button-primary:disabled {
  background-color: #fff;
  border-color: #EAEAEA;
  color: #333;
}

.fc-button-primary.fc-prev-button,
.fc-button-primary.fc-next-button {
  background-color: #fff;
  border-color: #EAEAEA;
}
.fc-icon-chevron-left::before,
.fc-icon-chevron-right::before {
  color: #BEBEBE;
}

.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
  min-height: 100px;
}

.fc .fc-daygrid-day-top {
  justify-content: center;
}

.fc-col-header {
  margin-top: 0;
}

.fc .fc-timegrid-slot-minor {
  border: none;
}

.fc .fc-scrollgrid {
  border-top: none;
}

.fc-timegrid .fc-scrollgrid {
  border-left: none;
}

.fc .fc-scrollgrid-section-body table, .fc .fc-scrollgrid-section-footer table {
  margin-top: 0;
}

/* .fc-timegrid-cols table td {
  white-space: normal;
} */

.fc-h-event .fc-event-title,
.fc-v-event .fc-event-title {
  white-space: normal;
}

/* 月表示 (dayGrid) */
.fc .fc-daygrid-day.fc-day-today {
  background-color: #fff;
}

.fc-day-today.fc-daygrid-day-number {
  position: relative;
}


.fc-day-today .fc-daygrid-day-number {
  color: #fff; 
}

.fc-day-today .fc-daygrid-day-number::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 25px;
  background-color: var(--color-darkgreen); 
  border-radius: 50%; 
  z-index: -1;
}

/* 週/日表示 (timeGrid) */

.fc .fc-timegrid-col.fc-day-today {
  background-color: #fff;
}

.day-header-day {
  color: #333333;
  font-size: 20px;
}
.fc .fc-col-header-cell.fc-day-today .fc-col-header-cell-cushion .day-header-day {
  color: #fff;
  position: relative;
  font-size: 20px;
}
.fc .fc-col-header-cell.fc-day-today .fc-col-header-cell-cushion .day-header-day::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background-color: var(--color-darkgreen);
  border-radius: 50%;
  z-index: -1;
}

.fc .fc-col-header-cell-cushion {
  display: block;
}
/* アイコンのコンテナ */
.icon-wrapper {
  display: flex;
  margin: 8px 0;
}

/* アイコンのスタイル */
.icon {
  display: inline-block;
  width: 100%;
  height: 7px;
  background-color: rgba(116, 168, 68, 0.2);
  border-radius: 4px;
  text-align: center;
  color: #fff;
  position: relative;
}

.icon-md {
  background-color: rgba(69, 122, 168, 0.2);
}

.icon-sm {
  background-color: rgba(226, 169, 40, 0.2);
}

.icon::before {
  content:"大";
  width: 12px;
  height: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bighall);
  border-radius: 50%;
  font-size: 8px;
  position: absolute;
  top: -3px;
  left: 0;
}

.icon-md::before {
  content:"中";
  background-color: var(--color-middlehall);
}

.icon-sm::before {
  content:"小";
  background-color: var(--color-smallhall); 
}

/* 月単位 */
.fc-dayGridMonth-view .icon-wrapper {
  justify-content: center;
  gap: 3px;
}

.fc-dayGridMonth-view .icon {
  width: 12px;
  background-color: transparent;
}

/* 日単位 */
.fc-timeGridDay-view .icon-wrapper {
  margin: 15px 0;
}

.fc-timeGridDay-view .icon {
  height: 15px;
}

.fc-timeGridDay-view .icon::before {
  content:"大ホール";
  width: 80px;
  height: 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: bold;
  top: -5px;
  left: 0;
}

.fc-timeGridDay-view .icon-md::before {
  content:"中ホール";
}

.fc-timeGridDay-view .icon-sm::before {
  content:"小ホール";
}

/* ===============================================
# 予約画面
=============================================== */

.modal-title {
  font-size: 20px;
  font-weight: bold;
}

.modal form {
  gap: 0;
}

#option-details-container {
  display: none;
}

#option-details-container.is-visible {
  display: block;
}

.note {
  color: #707070;
}

.note-title {
  display: block;
  margin-left: -10px;
  color: var(--color-green);
  font-weight: bold;
  position: relative;
}
.note-title::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #343A40;
  border-bottom: 2px solid #343A40;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) rotate(45deg);
  transition: 0.3s;
}

.note-title[aria-expanded="true"]::after {
  top: 55%;
  transform: translateY(-50%) rotate(-135deg);
}

.modal-footer .collapse p {
  margin-bottom: 0.5rem;
}

#opt_list .form-check-input:checked,
.modal-footer .form-check-input:checked,
.option-details .form-check-input:checked {
  background-color: #1F9560;
  border-color: #1F9560;
}

.option-details .form-check .form-check-input {
  margin-left: 0;
}

.form-check .form-check-input {
  margin-right: 0.5em;
}

.form-check.form-check-inline {
  padding-left: 0;
}

.modal-body dt {
  margin-bottom: 8px;
}
.modal-body dd {
  margin-bottom: 16px;
}

.total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.total dt {
  margin-right: 16px;
  color: rgba(51, 51, 51, 0.6);
  font-size: 14px;
}

.total dd {
  font-size: 25px;
  font-weight: bold;
}

.reserve-icon {
  width: 98px;
  height: 98px;
  margin: 30px auto;
}

.success-note {
  margin-top: 1rem;
}

#confirm-notes-collapse2 {
  overflow: auto;
  max-height: 45vh;
}

.total-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px;
  position: sticky;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 999;
  border-top: 1px solid #DEE2E6;
}

.total-bar-btns {
  width: 50%;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

/* ===============================================
# 予約照会
=============================================== */

.page-header-wide {
  width: 100vw;
  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 30px;
  margin-left: calc((100% - 100vw) / 2);
  margin-bottom: 40px;
  border-bottom: 1px solid #DEE2E6;
}

.option-contents {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.option-small {
  color: rgba(51, 51, 51, 0.7);
  font-size: 13px;
}

.dl-grid {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 6px 10px;
}

.cancel-table th {
  padding: 5px 0;
  color: #333;
  font-weight: 100;
  text-align: left;
  border: none;
}

.cancel-table td {
  padding: 5px 0;
  border: none;
  text-align: end;
}

.text-red {
  color: #CC5959;
}

.text-red-big {
  color: #CC5959;
  font-size: 25px;
}

.total-small {
  margin-right: 16px;
  color: rgba(51, 51, 51, 0.6);
  font-size: 14px;
}

.border-top {
  border-top: 1px solid #dee2e6;
}

textarea#reason {
  height: 150px;
}

form hr {
  margin: 0;
}

/* ===============================================
# ご利用時間と料金ページ
=============================================== */

.room-price {
  margin-bottom: 40px;
}

@media (min-width: 767px) {

  .room-price {
    margin: 70px 0;
  }
  .room-price-container img {
    width: 40%;
  }

  .room-price-container .fc-timeGridDay-view {
    width: 40%;
  }
}

.room-price .icon {
  margin-bottom: 20px;
}

.room-price .fc-timeGridDay-view .icon::before {
  width: 86px;
  height: 26px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: bold;
  top: -5px;
  left: 0;
}

.room-note p {
  margin-bottom: 0.5rem;
}

.room-price-container-pc{
  display: none;
}

@media (min-width: 1024px) {
  .room-price-container {
    display: none;
  }

  .room-price-container-pc{
    display: block;
  }
}


/* ===============================================
# 管理画面TOP
=============================================== */


.dashboard-menu {
  margin: 40px 0;
}

.dashboard-menu li {
  margin: 20px 0;
}

.dashboard-menu a {
  color: #333;
}

/* ===============================================
# footer
=============================================== */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0 30px;
  font-size: 14px;
}

@media (min-width: 767px) {
.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 26px 0 70px;
  }
}

.footer p {
  color: #1C252E;
}

.footer a {
  color: #333333B4;
}

