@charset "UTF-8";
/* =========================================================
* 変数
* ========================================================= */
/* =========================================================
* 基本設定
* ========================================================= */
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  line-height: 1;
  padding: 0;
  margin: 0;
}

html {
  min-height: 100vh;
  font-size: 16px;
  font-family: "LINESeed", sans-serif;
  color: #333;
  background: #fff;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
html::-webkit-scrollbar {
  display: none;
}
html::before {
  content: "";
  background: rgba(255, 187, 136, 0.25);
  position: absolute;
  inset: 0;
  z-index: -1;
}
html::-webkit-scrollbar {
  display: none;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 2;
}

button {
  color: inherit;
  background: transparent;
  border: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  -webkit-transition: color 0.5s, background 0.5s;
  transition: color 0.5s, background 0.5s;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
button:focus, button:active {
  outline: none;
}
button.is-active {
  cursor: default;
  pointer-events: none;
}
button.is-disabled, button:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

svg {
  display: block;
  width: 1.5em;
  height: 1.5em;
  fill: currentColor;
  stroke: currentColor;
}

input, select, textarea {
  width: 100%;
  border: solid 1px rgba(51, 51, 51, 0.5);
  border-radius: 2px;
  padding: 5px;
}
input:focus, input:active, select:focus, select:active, textarea:focus, textarea:active {
  border: solid 1px #fb8;
  -webkit-box-shadow: 0 0 0 1px #fb8;
          box-shadow: 0 0 0 1px #fb8;
  outline: none;
}
input::-webkit-input-placeholder, select::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: rgba(51, 51, 51, 0.25);
}
input::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
  color: rgba(51, 51, 51, 0.25);
}
input:-ms-input-placeholder, select:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: rgba(51, 51, 51, 0.25);
}
input::-ms-input-placeholder, select::-ms-input-placeholder, textarea::-ms-input-placeholder {
  color: rgba(51, 51, 51, 0.25);
}
input::placeholder, select::placeholder, textarea::placeholder {
  color: rgba(51, 51, 51, 0.25);
}

input,
select,
textarea {
  font-size: 1.1em;
}

textarea {
  height: 100px;
  resize: vertical;
}

[type=email],
[type=date],
[type=text],
select {
  height: 2.5em;
}

[type=checkbox] {
  width: 1.1em;
  height: 1.1em;
}
[type=checkbox]:focus, [type=checkbox]:active {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  outline: none;
}

main {
  max-width: 1000px;
}
@media (max-width: 767px) {
  main {
    padding: 15px;
  }
}
@media (min-width: 768px) {
  main {
    padding: 30px;
  }
}
main {
  padding-bottom: 60px;
  margin: 60px auto 0;
}

/* =========================================================
* 共有クラス
* ========================================================= */
.inner-box {
  padding: 15px;
}

.is-sun {
  color: #f43;
}

.is-sat {
  color: #36f;
}

.is-success,
.is-pass {
  color: #6c7;
}

.is-canceled,
.is-fail {
  color: #5af;
}

.is-failed,
.is-invalid {
  color: #f77;
}

.tab-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
}

.tab-panel {
  width: 100%;
}

.box-head {
  height: 45px;
  font-size: 1.25em;
  font-weight: 700;
  color: #333;
  background: #fb8;
  padding: 10px 15px;
  border-radius: 5px 5px 0 0;
}
.box-head button {
  font-size: 1em;
}
.box-head button:hover, .box-head button.is-disabled {
  color: rgba(51, 51, 51, 0.3);
}
.box-head button.is-active {
  color: #fff;
}

.box-body {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0 0 5px 5px;
}
@media (max-width: 767px) {
  .box-body {
    padding: 10px;
  }
}
@media (min-width: 768px) {
  .box-body {
    padding: 15px;
  }
}
.box-body {
  padding-bottom: 30px;
}

.box-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
}
@media (max-width: 767px) {
  .box-row {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

.action-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
  margin-top: 10px;
}
.action-btns button {
  font-size: 1.5em;
}
@media (min-width: 768px) {
  .action-btns button:hover {
    color: rgba(51, 51, 51, 0.3);
  }
}

.list-title {
  font-size: 1.5em;
  text-align: center;
  border-bottom: solid 1px rgba(51, 51, 51, 0.5);
}

@media (max-width: 767px) {
  .list-panel .box-row {
    padding: 10px;
  }
}
@media (min-width: 768px) {
  .list-panel .box-row {
    padding: 15px;
  }
}
.list-panel .box-row:nth-child(odd) {
  background: rgba(255, 187, 136, 0.2);
}

@media (min-width: 768px) {
  .inbox-camera-btn:hover,
  .inbox-view-btn:hover,
  .inbox-delete-btn:hover {
    color: rgba(51, 51, 51, 0.3);
  }
}

[hidden] {
  display: none !important;
}

/* =========================================================
* header / bar
* ========================================================= */
#header-bar {
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #89f;
  color: #fff;
  padding: 0 30px;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}

.header-title {
  font-size: 1.5rem;
}

.header-nav button {
  font-size: 1.5em;
}
.header-nav button:hover {
  color: rgba(255, 255, 255, 0.3);
}
.header-nav button.is-active {
  color: #fb8;
}

/* =========================================================
* Main / app
* ========================================================= */
#app {
  max-width: 767px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

/* =========================================================
* カレンダー
* ========================================================= */
#calendar.tab-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}
@media (max-width: 767px) {
  #calendar.tab-panel {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media (min-width: 768px) {
  #calendar.tab-panel {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

@media (max-width: 767px) {
  .calendar-main,
  .calendar-side {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .calendar-main,
  .calendar-side {
    width: 50%;
  }
}

.calendar-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.box-head-title {
  min-width: 7em;
  font-size: 1em;
  text-align: center;
}

.calendar-detail .tab-nav {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.calendar-weeks,
#calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  text-align: center;
}

.calendar-weeks {
  margin-bottom: 5px;
}

.calendar-week {
  font-weight: 700;
}

.calendar-grids button {
  border: solid 1px rgba(51, 51, 51, 0.5);
  border-radius: 2px;
}
.calendar-grids button.is-selected {
  position: relative;
  overflow: hidden;
  border-color: #fb8;
  -webkit-box-shadow: 0 0 0 1.5px #fb8 inset;
          box-shadow: 0 0 0 1.5px #fb8 inset;
}
.calendar-grids button.is-selected::before {
  content: "";
  display: block;
  width: 50%;
  height: 50%;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  background: #fb8;
  position: absolute;
  inset: -25% -25% auto auto;
}

.calendar-date {
  aspect-ratio: 1/1;
  font-size: 1em;
}
.calendar-date.is-muted {
  border-color: rgba(51, 51, 51, 0.2);
  color: rgba(51, 51, 51, 0.2);
}
.calendar-date.is-muted.is-sun {
  color: rgba(255, 68, 51, 0.2);
}
.calendar-date.is-muted.is-sat {
  color: rgba(51, 102, 255, 0.2);
}
.calendar-date.is-today {
  background: rgba(255, 187, 136, 0.3);
}
.calendar-date[data-number] {
  position: relative;
}
.calendar-date[data-number]::after {
  content: attr(data-number);
  width: 1.25em;
  height: 1.25em;
  line-height: 1.25em;
  text-align: center;
  color: var(--calendar-booking-color, #ff9999);
  background: color-mix(in srgb, var(--slot-event-color, #ff9999) 25%, transparent);
  border-radius: 2px 0 0 0;
  font-size: 0.8em;
  position: absolute;
  right: 0;
  bottom: 0;
}

#calendar-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

#calendar-times.is-saving,
.calendar-detail.is-saving {
  pointer-events: none;
  cursor: not-allowed;
}
#calendar-times.is-saving .slot-item,
.calendar-detail.is-saving .slot-item {
  color: #fb8;
  border-color: #fb8;
  background: rgba(255, 187, 136, 0.3);
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transition: color 0.5s border-color 0.5s background 0.5s;
  transition: color 0.5s border-color 0.5s background 0.5s;
}
#calendar-times.is-saving .slot-item::before,
.calendar-detail.is-saving .slot-item::before {
  display: none;
}

.slot-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  padding: 15px 5px;
  overflow: hidden;
}
.slot-item.is-booking {
  border-color: var(--slot-event-color, #ff9999);
  background: color-mix(in srgb, var(--slot-event-color, #ff9999) 25%, transparent);
}
.slot-item.is-event {
  border-color: var(--slot-event-color, #44ccdd);
  background: color-mix(in srgb, var(--slot-event-color, #44ccdd) 25%, transparent);
}
.slot-item.is-busy {
  color: rgba(51, 51, 51, 0.2);
  border-color: rgba(51, 51, 51, 0.2);
}

.slot-time,
.slot-state {
  white-space: nowrap;
}

.slot-time {
  padding-right: 10px;
}

.slot-state {
  font-weight: 700;
}

.calendar-detail {
  margin-top: 15px;
}
.calendar-detail.is-bulk-mode .detail-label {
  -ms-flex-item-align: start;
      align-self: flex-start;
  padding-top: 2px;
}
.calendar-detail .detail-text {
  line-height: 1.75;
}

#calendar-detail-title {
  font-size: 1.25em;
  text-align: center;
  border-bottom: solid 1px rgba(51, 51, 51, 0.5);
  margin-bottom: 10px;
}

#calendar-detail-items .box-row + .box-row {
  margin-top: 5px;
}
#calendar-detail-items .detail-label {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.detail-form {
  font-size: 0.9em;
}

.detail-textarea {
  font-size: 1em;
}

.detail-title-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  width: 100%;
}

.detail-title-wrap .detail-input {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0;
}

.detail-color-box {
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.detail-color-chip {
  display: block;
  width: 2.9em;
  height: 2.9em;
  border: 1px solid #333;
  border-radius: 2px;
  cursor: pointer;
}

.detail-color-pop {
  position: absolute;
  top: calc(100% + 0.25em);
  right: 0;
  z-index: 20;
  padding: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #fb8;
  border-radius: 2px;
}

.detail-color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.detail-color-option {
  width: 2em;
  height: 2em;
  border: 1px solid #333;
  border-radius: 2px;
  cursor: pointer;
}

.detail-color-option.is-active {
  outline-offset: 1px;
  outline: solid 2px #89f;
}

/* =========================================================
* Inbox
* ========================================================= */
.inbox-filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 15px;
     -moz-column-gap: 15px;
          column-gap: 15px;
  margin: 10px 0;
}
.inbox-filters button {
  font-size: 1.25em;
  -webkit-transition: none;
  transition: none;
}

.inbox-col button {
  font-size: 1em;
}

.inbox-col-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  gap: 5px 15px;
  overflow: hidden;
  margin-left: 10px;
}
@media (max-width: 767px) {
  .inbox-col-main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
@media (min-width: 768px) {
  .inbox-col-main {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.inbox-datetime {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.inbox-date,
.inbox-hour,
.inbox-name {
  white-space: nowrap;
}

.inbox-date {
  width: 6.5em;
}

.inbox-hour {
  width: 4em;
  font-size: 0.9em;
  border: solid 1px #333;
  border-radius: 2px;
  padding: 5px;
  text-align: center;
}

.inbox-name {
  width: 100%;
  font-weight: 700;
  line-height: 1.5;
}

.inbox-grade {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
}
.inbox-grade.is-pass .inbox-result {
  border: solid 1.5px #6c7;
}
.inbox-grade.is-fail .inbox-result {
  border: solid 1.5px #5af;
}
.inbox-grade.is-invalid .inbox-result {
  border: solid 1.5px #f77;
}

.inbox-result,
.inbox-score {
  white-space: nowrap;
  text-align: center;
}

.inbox-result {
  width: 4em;
  font-size: 0.75em;
  font-weight: 700;
  border-radius: 2px;
  padding: 5px;
}

.inbox-col-delete {
  margin-left: auto;
}

.inbox-kind-practical .inbox-grade,
.inbox-kind-practical .inbox-cameras {
  width: 6em;
}
@media (min-width: 768px) {
  .inbox-kind-practical .inbox-grade,
  .inbox-kind-practical .inbox-cameras {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 6em;
            flex: 0 0 6em;
  }
}

.inbox-cameras {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
}

.detail-cameras button {
  font-size: 1em;
}
@media (min-width: 768px) {
  .detail-cameras button:hover {
    color: rgba(255, 255, 255, 0.2);
  }
}

.inbox-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
  border-top: solid 1px rgba(51, 51, 51, 0.5);
  padding-top: 30px;
  margin-top: 30px;
}
@media (min-width: 768px) {
  .inbox-pagination button:hover {
    color: rgba(51, 51, 51, 0.3);
  }
}

/* =========================================================
* モーダル
* ========================================================= */
.modal {
  color: #fff;
  background: rgba(0, 0, 0, 0.95);
  position: fixed;
  inset: 0;
  overflow-y: scroll;
  -ms-scroll-chaining: none;
      overscroll-behavior: none;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.modal::-webkit-scrollbar {
  display: none;
}
@media (max-width: 767px) {
  .modal {
    padding: 15px;
  }
}
@media (min-width: 768px) {
  .modal {
    padding: 30px;
  }
}
.modal {
  padding-bottom: 60px;
}
.modal hr {
  display: block;
  width: 30px;
  height: 5px;
  background: #fff;
  border: none;
  margin: 30px auto;
}
.modal .box-row + .box-row {
  margin-top: 5px;
}

.modal-wrap {
  width: 500px;
  min-width: 0px;
  max-width: 100%;
  margin: 0 auto;
}

.modal-close-btn {
  font-size: 1.25em;
}
@media (min-width: 768px) {
  .modal-close-btn:hover {
    color: rgba(255, 255, 255, 0.3);
  }
}

.modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: solid 2px rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
}

.modal-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
  font-weight: normal;
  white-space: nowrap;
}

#inbox-modal-title:not([class*=is]) {
  color: #fb8;
}

.modal-recieved {
  font-size: 0.8em;
  color: #777;
  white-space: nowrap;
  margin-bottom: 30px;
}

#inbox-modal-status {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 0.65em;
  white-space: nowrap;
  padding: 5px;
  margin-bottom: 15px;
  border-radius: 2px;
}
#inbox-modal-status.is-success {
  -webkit-box-shadow: 0 0 0 1px #6c7 inset;
          box-shadow: 0 0 0 1px #6c7 inset;
}
#inbox-modal-status.is-canceled {
  -webkit-box-shadow: 0 0 0 1px #5af inset;
          box-shadow: 0 0 0 1px #5af inset;
}
#inbox-modal-status.is-failed {
  -webkit-box-shadow: 0 0 0 1px #f77 inset;
          box-shadow: 0 0 0 1px #f77 inset;
}

#inbox-modal {
  z-index: 10000;
}

#image-modal {
  z-index: 10001;
}

#notice-modal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 10002;
}

#inbox-modal-body .detail-label svg {
  width: 1.5em;
  height: 1.5em;
}

.inbox-detail-modal .box-row {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.inbox-detail-modal .box-row + .box-row {
  border-top: solid 1px rgba(255, 255, 255, 0.3);
  padding-top: 15px;
  margin-top: 15px;
}
.inbox-detail-modal .box-row .detail-label,
.inbox-detail-modal .box-row .detail-text,
.inbox-detail-modal .box-row .detail-key,
.inbox-detail-modal .box-row .detail-value {
  line-height: 1.5;
}
.inbox-detail-modal .box-row .detail-text {
  color: rgba(255, 255, 255, 0.75);
}
.inbox-detail-modal .box-row .detail-key {
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.inbox-detail-modal .box-row .detail-value {
  font-size: 0.9em;
  white-space: pre-line;
}
.inbox-detail-modal .box-row .detail-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 5px;
  white-space: normal;
}
.inbox-detail-modal .box-row .detail-list-item {
  position: relative;
  padding-left: 1em;
}
.inbox-detail-modal .box-row .detail-list-item::before {
  content: "・";
  position: absolute;
  left: 0;
}

#inbox-modal-footer {
  border-top: solid 2px rgba(255, 255, 255, 0.5);
  padding-top: 15px;
  margin-top: 30px;
}

.inbox-actions-btns button {
  display: block;
  font-size: 1.5em;
  margin-left: auto;
}
@media (min-width: 768px) {
  .inbox-actions-btns button:hover {
    color: rgba(255, 255, 255, 0.3);
  }
}

.inbox-restore-form {
  margin-top: 15px;
}

.inbox-restore-status {
  text-align: center;
  margin-bottom: 15px;
}
.inbox-restore-status.is-free {
  color: #6c7;
}
.inbox-restore-status.is-busy {
  color: #777;
}
.inbox-restore-status.is-booking, .inbox-restore-status.is-event {
  color: #f77;
}

.notice-name {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  min-width: 10em;
  max-width: 100%;
  color: #000;
  border-radius: 2px;
  padding: 10px 15px;
  margin: 0 auto 10px;
}
.notice-name.is-booking {
  background: var(--notice-marker-color, #ff9999);
}
.notice-name.is-event {
  background: var(--notice-marker-color, #44ccdd);
}

.notice-weak {
  color: #777;
}

.notice-strong {
  font-size: 1.2em;
  color: #fb8;
  line-height: 1.5;
}

.notice-arrow {
  width: 1.75em;
  height: 1.75em;
  margin: 0.5em auto;
}

.notice-btn {
  min-width: 100px;
  font-size: 1em;
  border-radius: 5px;
  border: solid 2px #fff;
  white-space: nowrap;
  padding: 10px 15px;
}
@media (min-width: 768px) {
  .notice-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}

#notice-modal-body {
  line-height: 1.5;
  text-align: center;
  margin: 30px 0;
}

#notice-modal-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}

.image-modal-body {
  position: relative;
}

#image-modal-display {
  height: 70vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
}
#image-modal-display img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 5px;
  -o-object-fit: contain;
     object-fit: contain;
}

.image-modal-btn {
  font-size: 1.5em;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-filter: drop-shadow(-2px 2px 1px rgba(0, 0, 0, 0.5));
          filter: drop-shadow(-2px 2px 1px rgba(0, 0, 0, 0.5));
  -webkit-tap-highlight-color: transparent;
}
.image-modal-btn svg {
  margin: 0 auto;
}
@media (min-width: 768px) {
  .image-modal-btn:hover {
    color: rgba(255, 255, 255, 0.5);
  }
}

#image-modal-prev {
  left: 0;
}

#image-modal-next {
  right: 0;
}

#image-modal-dots {
  height: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
  margin-top: 10px;
}

.image-dot {
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 0 1.5px #fff inset;
          box-shadow: 0 0 0 1.5px #fff inset;
  -webkit-transition: opacity 0.5s background 0.5s;
  transition: opacity 0.5s background 0.5s;
}
@media (min-width: 768px) {
  .image-dot:hover {
    opacity: 0.3;
  }
}
.image-dot.is-active {
  background: #fff;
}

/* =========================================================
* 設定
* ========================================================= */
.list-settings {
  margin-top: 30px;
}
.list-settings [type=number] {
  width: 3em;
  height: auto;
}

.settings-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  row-gap: 5px;
}
@media (max-width: 767px) {
  .settings-box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media (min-width: 768px) {
  .settings-box {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}
.settings-box + .settings-box {
  border-top: solid 1px rgba(51, 51, 51, 0.1);
  padding-top: 30px;
  margin-top: 30px;
}

.settings-label {
  width: 9em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-column-gap: 2px;
     -moz-column-gap: 2px;
          column-gap: 2px;
  font-weight: 700;
}

.settings-form,
.settings-palette {
  margin-left: 30px;
}
.settings-form + .settings-form,
.settings-palette + .settings-form {
  margin-top: 10px;
}

.settings-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-column-gap: 5px;
     -moz-column-gap: 5px;
          column-gap: 5px;
}
.settings-form.is-disabled {
  opacity: 0.2;
  pointer-events: none;
}

#settings-event-palette {
  display: grid;
  grid-template-columns: repeat(4, 3em);
  gap: 10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.settings-text {
  white-space: nowrap;
}

.settings-color-item,
#settings-booking-color {
  position: relative;
  width: 3em;
  height: 3em;
}

.settings-color-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.settings-color-chip {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #333;
  border-radius: 2px;
  cursor: pointer;
}