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

/* タイトル */
.event-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}

/* 場所と日付 */
.event-meta {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}
.event-place {
  width: 80px;
  height: 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5;
  background-color: #fff;
}
.event-osaka-tag {
  color: #C45959;
  border: solid #C45959 1px;
}
.event-online-tag {
  color: #B2892A;
  border: solid #B2892A 1px;
}
.event-tokyo-tag {
  color: #5669B4;
  border: solid #5669B4 1px;
}

.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: #888;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 10px;
    margin-top: 0;
    margin: 0 auto;
    width: 100%;
}
.event-toggle .toggleBtn:hover {
  text-decoration: underline;
}

/* 企業ロゴ部分は非表示 */
.eventCompanies {
  display: none;
  margin-top: 10px;
  padding-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 {
    padding: 10px 10px 30px 10px;
  }
  .event-title {
    font-size: 15px;
  }
  .event-date {
    margin-top: -5px;
  }
  .event-date strong {
    font-size: 5.6vw;
  }
  .yoyaku_btn, input[type="submit"].yoyaku_btn, input[type="button"].yoyaku_btn {
    font-size: 16px;
  }
  .companyLogo {
  width: 31%;
  margin: 0.5%;
}
}