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

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

select {
  max-width: 100%;
  box-sizing: border-box;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid #c0c7d0;
}

.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 input + label {
  position: relative;
  top: 0;
  left: 0;
  padding-left: 0px;
  font-size: 16px;
  cursor: pointer;
  flex: 1;
}
.event input + label::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  border: 1px solid #c0c7d0;
  border-radius: 50%;
  top: 3px;
  left: 0;
  background-color: #fff;
}
.event input:checked + label::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  position: absolute;
  left: 3px;
  top: 5.5px;
  background-color: #000;
  border-radius: 50%;
}

.event .title {
  padding: 10px 12px;
  background-color: #eeeeee;
  font-size: 16px;
  font-weight: bold;
  word-break: break-all;
}
.event.full {
  z-index: 2;
  cursor: not-allowed;
  border: 1px solid #E9EDF8;
}
.event .full{
  margin-top: 16px;
  color: #333F50;
}
.event .contents .detail_button label {
  font-size: 13px;
  color: #55f;
  text-decoration: underline;
  font-weight: bold;
}

.event .contents .detail_button button {
  display: inline;
  padding-top: 16px;
  padding-inline: 0;
  font-size: 14px;
}

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

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

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

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

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

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

iframe#gmap {
  border: solid 1px #cdcdcd;
  margin-top: 10px;
  width: 100%;
  height: 215px;
}

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;
  text-overflow: hidden;
  padding: 12px 8px;
  font-size: 14px;
  border-radius: 4px;
  color: #333f50;
}

.event_select_btn {
  position: relative;
}
.event.selected {
  background-color: #e3f2fd;
}
.event .title_orderb2 {
  margin: 0 0 16px 0;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  word-break: break-all;
  display: flex;
  color: #333F50;
  min-height: 24px;
  cursor: pointer;
}
.event .title_orderb2 label {
  cursor: pointer
}
.event.full .title_orderb2  {
  opacity: 0.5;
}
.event .title_orderb2 span {
  font-size: 16px;
  font-weight: bold;
  padding-left: 34px;
  display: inline-block;
  cursor: pointer;
}
.full .title_orderb2 span[disabled] {
  cursor: not-allowed;
}
.nothing_event p {
  padding-top: 52px;
}
.narrow {
  line-height: 25px;
  font-weight: bold;
  color: #606d7f;
}

/* 両メディアクエリ共通スタイル */
.others-wrapper {
  margin: 32px 0 64px 0;
}
.event {
  position: relative;
  padding: 24px;
  border: 1px solid #c0c7d0;
  border-radius: 4px;
}
.hide_button_briefing {
  display: flex;
}
.briefing_box {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.interview_box,
.general_event_box {
  margin-top: 10px;
}
.hide_fullcount_briefing_text {
  color: #333f50;
  font-weight: normal;
}
.scroll_box_orderb2.no-fade {
  mask-image: none;
  -webkit-mask-image: none;
}
.event {
  margin-right: 4px;
}

/* スマホ画面調整用 */
@media (max-width: 768px) {
  .event-filter-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 8px;
    margin: 2px 0;
    border: solid 1px #c0c7d0;
    border-radius: 4px;
    font-size: 16px;
    color: #333f50;
  }
  .detail_button {
    padding: 0;
    text-align: center;
  }
  .event .contents .detail_button button {
    border: none;
    background-color: transparent;
    color: #333f50;
    font-size: 14px;
    cursor: pointer;
  }
  .event .title_orderb2 {
    font-size: 14px;
  }
  .scroll_box_orderb2 {
    max-height: calc(100vh - 160px);
    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::-webkit-scrollbar{
    width: 6px;
  }
  .scroll_box_orderb2::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 5px;
  }
  .scroll_box_orderb2::-webkit-scrollbar-track {
    background: transparent;
  }
  .event input:checked + label::after {
    top: 5.5px;
    left: 2.5px;
  }
}

@media (min-width: 768px) {
  header {
    min-height: 81px;
  }

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

  .scroll_box_orderb2 {
    max-height: calc(70vh - 160px);
    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::-webkit-scrollbar{
    width: 6px;
  }
  .scroll_box_orderb2::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 5px;
  }
  .scroll_box_orderb2::-webkit-scrollbar-track {
    background: transparent;
  }
  .event-container {
    padding-top: 0px;
    margin: 0 auto;
    overflow: hidden;
  }

  .entry_event_explanation {
    margin-left: 30px;
  }

  .event-filter-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

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

  iframe#gmap {
    margin-top: 8px;
    width: 100%;
    height: 215px;
  }

  .event .contents {
    margin-left: 33.5px;
    margin-right: 33.5px;
  }

  .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 .contents .detail_button {
    text-align: center;
  }

  .event .contents .detail_button button {
    border: none;
    background-color: transparent;
    color: #333f50;
    cursor: pointer;
  }

  .event_entry_explanation {
    padding-left: 30px;
  }

  .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;
    text-overflow: hidden;
    font-size: 14px;
  }
}
