@charset "utf-8";
h1.reseve_title { padding-top: 50px; font-size: 28px; font-weight: bold; text-align: center;}

/* イベント全体カード */
.event-card {
  position: relative;
  border-radius: 12px;
  padding: 15px 15px 35px 15px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #333;
  background: #fff;
}

/* 背景色バリエーション */
.event-dinner {
  background: #ffe9a9; /* 黄色 */
}
.event-online {
  background: #b8d9ff; /* 青 */
}
.event-main {
  background: #f9bcbc; /* ピンク */
}

/* 上部メイン部分 */
.event-card-main {
  display: flex;
  align-items: center;
}

/* チェックボックス */
.event-checkbox {
  margin-right: 10px;
  display: flex;
    flex-direction: column;
}
.event-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
}

/* イベント情報 */
.event-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
}

/* タイトル */
.event-title-wrap{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.event-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}

/* タグ */
.event-place {
  display: inline-block;
  width: 80px;
  height: 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5;
  background-color: #fff;
}
.event-osaka-tag {
  background: #E40B20;
  color: #FFF;
  font-weight: bold;
  /* color: #C45959;
  border: solid #C45959 1px; */
}
.event-tokyo-tag {
  background: #0B4FE4;
  color: #FFF;
  font-weight: bold;
  /* color: #5669B4;
  border: solid #5669B4 1px; */
}
.event-online-tag {
  background: #8A0BE4;
  color: #FFF;
  font-weight: bold;
  /* color: #B2892A;
  border: solid #B2892A 1px; */
}
.event-dinner-tag {
  background: #F5A300;
  color: #FFF;
  font-weight: bold;
}

/* 日時 */
.event-date-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.event-date {
    background: linear-gradient(transparent 0%, transparent 30%, yellow 30%, yellow 90%, transparent 90% ,transparent 100%);
}
.event-date strong {
  font-size: 30px;
  font-weight: bold;
  vertical-align: baseline;
}

/* 企業を見るボタン */
.event-toggle {
  text-align: right;
    background: #f3f3f3;
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 0 0 10px 10px;
}
.event-toggle .toggleBtn {
  background: none;
    border: none;
    color: #E40B20;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 10px;
    margin-top: 0;
    margin: 0 auto;
    width: 100%;
}
.event-toggle .toggleBtn:hover {
  text-decoration: underline;
}

/* イベント詳細 */
.event_detail_content { padding: 10px 0; }
.event_detail_content .event_detail_content { padding: 0; }
.eventCompanies .event_detail_title { display: flex; align-items: center;  gap: 8px; width: 40%; margin: 12px auto; font-weight: bold; }
.eventCompanies .event_detail_title::before, .eventCompanies .event_detail_title::after { content: ''; display: block; flex: 1; height: 1px; background: #000; }
.eventCompanies .outlineTable { width: 100% !important; }
.eventCompanies .outlineTable dl { margin: 0 auto !important; font-size: 14px !important; border-bottom: none !important; }
.eventCompanies .outlineTable dl:last-child { border-bottom: solid 1px #ccc !important; }
.eventCompanies .outlineTable dl dt { display: flex; align-items: center; justify-content: center; gap: 4px; }
.eventCompanies .outlineTable dl dd.event_map_wrap { display: flex; justify-content: space-between; gap: 20px; }
.eventCompanies .outlineTable dl dd.event_map_wrap .event_map_content { flex: 1; }
.eventCompanies .outlineTable dl dd.event_map_wrap .event_map_content .event_map { width: 300px; }

/* 企業ロゴ部分は非表示 */
.eventCompanies {
  display: none;
  margin-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* 企業ロゴの並び */
.companyLogo {
  display: inline-block;
  width: 19%;
  text-align: center;
  margin: 0.5%;
}
.companyLogo__mark img {
  width: 80px;
  height: auto;
}
.companyLogo__name {
  font-size: 11px;
  margin-top: 4px;
  font-weight: bold;
  color: #000;
}

@media screen and (max-width: 768px) {
  h1.reseve_title { padding-top: 10px; font-size: 24px;}
  .event-card {
    width: 90vw;
    padding: 10px 10px 30px 10px;
  }
  .event-info {
    flex-direction: column;  
  }
  .event-title {
    font-size: 14px;
    letter-spacing: -0.05em;
  }
  .event-place {
    width: 70px;
    font-size: 12px !important;
  }
  .event-date-wrap {
    margin-top: -28px;
  }
  .event-date {
    margin-top: -5px;
    font-size: 12px;
  }
  .event-date strong {
    font-size: 1.8em;
  }
  .event-time {
    align-self: start;
    font-size: 13px;
  }
  .yoyaku_btn, input[type="submit"].yoyaku_btn, input[type="button"].yoyaku_btn {
    font-size: 16px;
  }
  .companyLogo {
  width: 31%;
  margin: 0.5%;
  }
  .eventCompanies .outlineTable dl dd.event_map_wrap { flex-direction: column; }
  .event_map_content .event_map { max-width: 100%; }
}