html,
body {
  font-size: 14px;
}

main .contact p {
  font-size: 14px;
}
option {
  width: 100%;
  box-sizing: border-box;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  overflow: hidden;
}

select {
  box-sizing: border-box;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  overflow: hidden;
}

.mt5 {
  margin-top: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.form-inline .form-control {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}

.cc_btn {
  border: 0;
  border-radius: 0;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
  color: #fff;
}
.cc_btn_large {
  padding: 7px 30px;
  font-size: 12px;
  color: #fff;
  line-height: 12px;
}
.cc_btn_xlarge {
  padding: 22px 70px;
  font-size: 16px;
  color: #fff;
}

.cc_btn_green {
  color: #fff;
  background-color: #30d475;
}
.cc_btn_yellow {
  background-color: #ded121;
}
.cc_btn_red {
  background-color: #e74c3c;
}
.cc_btn_blue {
  background-color: #00bce2;
}
.cc_btn_gray {
  background-color: #ccc;
}
.cc_btn_white {
  color: #364363;
  background-color: #fff;
}

.event {
  margin-bottom: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid #eee;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 4px #00000040;
  padding: 24px;
}
.event p {
  font-size: 13px;
}

.event .event_select_btn {
  margin-left: 8px;
}

.event .contents .detail_button {
  margin-left: 32px;
}

.event .contents .detail_button .show_detail,
.event .contents .detail_button .hide_detail {
  border-bottom: #333f50 solid 1px;
}

.event .contents .detail_button .hide_detail {
  display: none;
}

.event.full .detail_button {
  opacity: 0.5;
}

.arrow-down-btn {
    background-image: url("../../img/icons/arrow-down-s-line.svg");
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding-bottom: 2px;
    text-decoration: underline;
  }
  
.arrow-up-btn {
    background-image: url("../../img/icons/arrow-up-s-line.svg");
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding-bottom: 2px;
  }

.event_entry_explanation {
  padding-left: 10px;
}

.event .contents .detail {
  clear: both;
  display: none;
  word-break: break-all;
  margin-left: 32px;
  margin-right: 32px;
}

.event.full .detail {
  opacity: 0.5;
}

h3.full {
  width: 120px;
  margin: 10px auto;
  padding: 8px;
  color: #ff0000;
  border: solid 2px #ff0000;
  text-align: center;
}

.full .title span[disabled] {
  cursor: not-allowed;
}

#select_date,
#select_place {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  min-width: 180px;
}

.event .title_orderb4 {
  font-size: 16px;
  font-weight: bold;
  word-break: break-all;
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  min-height: 24px;
  cursor: pointer;
}
.event .title_orderb4 label {
  flex: 1;
}
.event .title_orderb4 .full {
  content: '満席';
  color: rgb(255, 255, 255);
  background-color: red;
  z-index: 3;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  height: fit-content;
}
.event.full .title_orderb2  {
  opacity: 0.5;
}
.event .title_orderb4 label {
  cursor: pointer
}
.event .title_orderb4 span {
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.full .title_orderb4 span[disabled] {
  cursor: not-allowed;
}
.nothing_event p {
  padding-top: 20px;
}
.narrow {
  line-height: 25px;
  font-weight: bold;
  font-size: 13px;
}
.title_orderb4 input {
  display: none;
}
.event_select_btn::before {
  transform: translateY(-3px) translateX(-1px);
}
.event_select_btn::after {
  transform: translateY(-3px) translateX(-1px);
}
.hide_fullcount_briefing_text {
  font-size: 14px;
  font-weight: normal;
}
.event.full {
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 4px #9e9e9e40;
  z-index: 2;
  cursor: not-allowed;
}
.event .full{
  margin-top: 16px;
  color: #333F50;
}
.others-wrapper {
  margin-top: 64px;
}
.event-filter-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.event .contents .info .place {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.event .contents .info .place .place_label {
  color: #606d7f;
  min-width: 28px;
}

.event .contents .info .place .place_text {
  padding-right: 15px;
  word-break: break-all;
}

.event .contents .info .date {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.event .contents .info .date .date_label {
  color: #606d7f;
}

.event.full .info {
  opacity: 0.5;
}

.event {
  margin-right: 4px;
}
/* スマホ画面調整用 */
@media (max-width: 768px) {
  hr {
    margin: 40px 0 30px !important;
  }

  .logo {
    float: left;
    font-size: 18px;
    font-weight: bold;
    color: #333;
  }

  .header-meta {
    float: right;
    font-size: 20px;
    color: #333;
    font-weight: bold;
  }
  main .contact p {
    font-size: 16px;
  }
  .event {
    width: auto;
    position: relative;
  }
  .hide_button_briefing {
    margin-top: 10px;
    line-height: 25px;
  }
  .briefing_box,
  .interview_box,
  .general_event_box {
    margin-top: 10px;
  }
  .event .contents .detail_button button {
    border: solid 1px #fff;
    color: #333;
    background-color: #eee;
  }
  .event input + label::before {
    content: '';
    display: block;
    position: absolute;
    top: 6px;
    width: 16px;
    height: 16px;
    border: 1px solid #c0c7d0;
    background-color: #fff;
    border-radius: 50%;
  }
  .event input:checked + label::after {
    content: '';
    display: block;
    position: absolute;
    top: 9px;
    left: 3px;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
  }
  .event_select_btn::before {
    transform: translateY(-3px) translateX(-1px);
  }
  .event_select_btn::after {
    transform: translateY(-3px) translateX(-1px);
  }
  select {
    max-width: 180px;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 4px;
  }
  .scroll_box_orderb4 {
    max-height: calc(70vh - 220px);
    overflow-y: scroll;
  }
  .scroll_box_orderb4::-webkit-scrollbar{
    width: 6px;
  }
  .scroll_box_orderb4::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 5px;
  }
  .scroll_box_orderb4::-webkit-scrollbar-track {
    background: transparent;
  }
  .scroll_box_orderb2 {
    max-height: calc(70vh - 120px);
    overflow-y: scroll;
    /* スクロール可能であることを示すフェードアウト効果 */
    mask-image: linear-gradient(
      to bottom,
      black 0%,
      black 80%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      black 0%,
      black 80%,
      transparent 100%
    );
  }
  .scroll_box_orderb2.no-fade {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .event-container {
    padding-top: 0px;
    margin: 0 auto;
    overflow: hidden;
  }
  .event .contents .info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 32px;
    margin-bottom: 8px;
  }
  .event .contents .info .date {
    margin: 0;
  }
  .event .contents .info .place {
    word-break: break-all;
  }
  .event .contents .detail_button {
    width: 100%;
  }
  .event .contents .detail_button button {
    border: none;
    background-color: transparent;
    font-size: 14px;
    padding: 0;
    padding-top: 16px;
    cursor: pointer;
    color: #333f50;
  }
  .event .contents .detail_button .hide_detail {
    display: none;
  }
  .event .contents .detail {
    clear: both;
    word-break: break-all;
  }
  .entry_event_explanation {
    padding-left: 10px;
  }

  p.message {
    position: relative;
    font-size: 16px;
    font-weight: bold;
  }

  #hide_fullcount_interview,
  #hide_fullcount_briefing {
    top: 1px;
  }

  .event_cancel {
    float: right;
    font-size: 14px;
  }
  .flex {
    display: flex;
  }
}

@media (min-width: 768px) {
  hr {
    margin: 40px 0 30px !important;
  }

  .logo {
    float: left;
    font-size: 18px;
    font-weight: bold;
    color: #333;
  }

  .header-meta {
    float: right;
    font-size: 20px;
    color: #333;
    font-weight: bold;
  }
  main .contact p {
    font-size: 16px;
  }
  .event .title_orderb4 {
    font-size: 16px;
    font-weight: bold;
    word-break: break-all;
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
  }
  .event .contents .detail_button button {
    border: solid 1px #fff;
    color: #333;
    background-color: #eee;
  }
  .full .title_orderb4 span[disabled] {
    cursor: not-allowed;
  }
  .scroll_box_orderb4 {
    max-height: calc(70vh - 220px);
    overflow-y: scroll;
  }
  .scroll_box_orderb4::-webkit-scrollbar{
    width: 6px;
  }
  .scroll_box_orderb4::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 5px;
  }
  .scroll_box_orderb4::-webkit-scrollbar-track {
    background: transparent;
  }
  .scroll_box_orderb2 {
    max-height: calc(70vh - 120px);
    overflow-y: scroll;
    /* スクロール可能であることを示すフェードアウト効果 */
    mask-image: linear-gradient(
      to bottom,
      black 0%,
      black 80%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      black 0%,
      black 80%,
      transparent 100%
    );
  }
  .scroll_box_orderb2.no-fade {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .event input + label::before {
    content: '';
    display: block;
    position: absolute;
    top: 6px;
    width: 16px;
    height: 16px;
    border: 1px solid #c0c7d0;
    background-color: #fff;
    border-radius: 50%;
  }
  .event input:checked + label::after {
    content: '';
    display: block;
    position: absolute;
    top: 9px;
    left: 3.5px;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
  }
  .event-container {
    padding-top: 0px;
    margin: 0 auto;
    overflow: hidden;
  }

  .entry_event_explanation {
    margin-left: 30px;
  }

  p.message {
    position: relative;
    font-size: 16px;
    font-weight: bold;
  }

  #hide_fullcount_interview,
  #hide_fullcount_briefing {
    top: 1px;
  }

  .event .contents .info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 32px;
    margin-bottom: 8px;
  }

  .event .contents .info .date {
    margin: 0;
  }

  .event .contents .info .place {
    word-break: break-all;
  }

  .event .contents .detail_button {
    width: 100%;
  }
  .event .contents .detail_button button {
    border: none;
    background-color: transparent;
    font-size: 14px;
    padding: 0;
    padding-top: 16px;
    cursor: pointer;
    color: #333f50;
  }

  .event_entry_explanation {
    padding-left: 10px;
  }

  .event_cancel {
    float: right;
    font-size: 14px;
  }
  .flex {
    display: flex;
  }

  #select_date,
  #select_place {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    min-width: 180px;
  }
}
