@charset "UTF-8";

.fair {
  position: relative;
}
.fair:not(.fair--pickup) {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #d9d9d9;
}
.fair:last-child {
  padding-bottom: 40px;
  border-bottom: 1px solid #d9d9d9;
}

@media only screen and (max-width: 736px) {
  .fairArea {
    margin: 40px auto 55px;
  }
  .fair:not(.fair--pickup) {
    margin-top: 30px;
    padding-top: 25px;
  }
}

@media only screen and (min-width: 737px) {
  .fairArea {
    margin: 50px 0 0;
  }
  .fair:not(.fair--pickup) {
    margin-top: 60px;
    padding-top: 40px;
  }
}

/* fair title */
.fair__title {
  position: relative;
  display: flex;
  align-content: center;
  align-items: center;
}
.fair__title .info-colorbox {
  margin-top: 0;
}
.fair__title .special-mark {
  position: relative;
  padding: 3px 8px;
  color: #ffffff;
  background: #473627;
}

@media only screen and (max-width: 736px) {
  .fair__title {
    flex-wrap: wrap;
  }
  .fair__title .info-colorbox {
    width: 3px;
    height: calc(100% - 32px);
    min-height: 24px;
    position: absolute;
    top: 0;
    left: 0;
  }
  .fair__title .title-line {
    flex: 0 0 100%;
    margin-left: 13px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.5;
  }
  .fair__title .special-mark {
    margin-top: 10px;
    font-size: 10px;
    order: 3;
  }
}

@media only screen and (min-width: 737px) {
  .fair__title {
    justify-content: flex-start;
  }
  .fair__title .info-colorbox {
    /*align-self: flex-start; 209/02/13 */
    width: 5px;
    height: 100%;
    position: relative;
    top: 2px;
  }
  .fair__title .title-line {
    margin-left: 10px;
    padding-top: 5px;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
  }
  @supports (display: grid) {
    .fair__title {
      position: relative;
      display: grid;
      grid-template-columns: 5px auto auto;
      align-content: center;
      align-items: center;
      justify-content: flex-start;
    }
    .fairlist .fair__title .info_colorbox {
      top:  0;
    }
  }
  .fair__title .special-mark {
    align-self: flex-start;
    position: relative;
    top: 6px;
    margin-left: 5px;
    font-size: 11px;
  }
}

/* フェアボックス内　コンテンツ */

@media only screen and (max-width: 736px) {
  .fair__contents {
    margin-top: 15px;
  }
}
@media only screen and (min-width: 737px) {
  .fair__contents {
    margin-top: 25px;
  }
}

.fair--pickup .fair__pic {
  position: relative;
  overflow: hidden;
}
/* fair pic fair mark */
.fair--pickup .fair__pic::before {
  content: 'Pick Up';
  width: 140px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 0;
  font-size: 15px;
  color: #ffffff;
  text-align: center;
  transform: rotate(-45deg) translate3d(-40px, -15px, 0);
  background: #c0b562;
}

@media only screen and (max-width: 736px) {
  .fair--pickup .fair__pic::before {
    font-size: 11px;
    transform: rotate(-45deg) translate3d(-42px, -20px, 0);
  }
}

/* fair desc */
.fair__desc .event-tags {
  margin-top: 10px;
}
.fair__desc .event-tags > li {
  display: inline-block;
  margin-right: 1px;
  margin-bottom: 5px;
  padding: 2px 10px;
  font-size: 11px;
  border: 1px solid #c0b562;
}

.fair__desc .event-more-btn {
  display: none;
  padding-bottom: 30px;
}
.fair__desc .event-more-btn a {
  display: inline-block;
  padding: 7px 45px;
  border: 1px solid #bbb;
  font-size: 1rem;
  color: #999;
  position: relative;
}
.fair__desc .event-more-btn a::after {
  content: ">";
  display: block;
  position: absolute;
  height: 12px;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  line-height: 1;
  transform: rotate(90deg);
}
.fair__desc .event-more-btn.is-acc-active a::after {
  transform: rotate(-90deg);
}

.fair__desc .fairflow-link > a {
  display: block;
  text-align: center;
  color: #c0b562;
  font-size: 12px;
  font-weight: bold;
  text-decoration: underline;
}

@media only screen and (max-width: 736px) {
  /* fair desc */
  .fair__desc .event-date {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.5;
  }
  .fair__desc .event-text {
    margin-bottom: 30px;
    font-size: 12px;
    line-height: 1.7;
  }
  /* more btn */
  .fair__desc .event-more-btn {
    text-align: center;
  }
  .fair__desc .event-more-btn a {
    padding: 10px 32%;
  }
}

@media only screen and (min-width: 737px) {
  .fair__contents {
    display: flex;
    justify-content: space-between;
  }
  .fair__pic {
    width: 50%;
    max-width: 440px;
  }
  .fair__desc {
    width: calc(70% - 30px);
    max-width: 510px;
    margin-left: 30px;
  }
  /* fair desc */
  .fair__desc .event-date {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.2;
  }
  .fair__desc .event-text {
    margin-top: 1em;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 2;
  }
  /* more btn */
  .fair__desc .event-more-btn {
    text-align: center;
    opacity: 1;
    transform: translate(0, 0);
  }
  .fair__desc .event-more-btn a:hover {
    background: #c0b562;
    color: #fff;
  }
  /* reservation-btn */
  .reservation-btn a {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/*  Pickup box variation */
.fair--pickup {
  overflow: hidden;
  background: #f3f3f3;
}
.fair--pickup + .fair--pickup {
  margin-top: 40px;
}

@media only screen and (max-width: 736px) {
  .fair--pickup .fair__body {
    padding: 30px 30px 40px;
  }
}

@media only screen and (min-width: 737px) {
  .fair--pickup .fair__body {
    padding: 30px 50px 40px;
  }
  .fair--pickup .fair__pic {
    max-width: 390px;
  }
  .fair--pickup .fair__desc {
    max-width: 460px;
  }
}

/*  IE対応 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .fair__title .special-mark {
    width: 80px;
    min-width: 80px;
  }
}

