@charset "utf-8";
/* ==========================================================================
   ブライダルフェア（/fair/）専用CSS ― テスト版
   --------------------------------------------------------------------------
   土台: 神社結婚式.jp の htdocs/fair/css/fair_jinjya.css
   変換: ・全セレクタを #FairPage 配下に限定（サイト共通の header/footer に影響させない）
         ・元CSSは html{font-size:62.5%} 前提のため rem を px に換算（1rem = 10px）
         ・html への font-size 指定は削除
   このページ専用で SCSS 管理外。不要になったら /fair/ ごと削除してよい。
   ========================================================================== */

/* --- wakon-w 共通CSS（common.css）との衝突を打ち消す ---------------------- */
#FairPage {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: 60px;
}
#FairPage .cont_wrap {
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
#FairPage .fair_image {
  max-width: none;
}
#FairPage a {
  text-decoration: none;
}

/* --- 神社結婚式.jp の rwd/css 側にあった定義（必要分のみ） ---------------- */
#FairPage .MinCho {
  font-family: "Noto Serif JP", serif;
}
#FairPage #breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 16px;
  font-size: 12px;
}
#FairPage #breadcrumbs li:not(:last-child)::after {
  content: '>';
  margin: 0 8px;
  color: #999;
}
#FairPage #breadcrumbs a {
  color: #333;
}
#FairPage #breadcrumbs .current {
  color: #999;
  pointer-events: none;
}
#FairPage .BackBtn {
  display: block;
  width: 50%;
  max-width: 300px;
  margin: 40px auto 0;
  padding: 10px 5px;
  border-radius: 8px;
  background: #b5a882;
  color: #fff;
  font-size: 15px;
  text-align: center;
}

/* --- ここから fair_jinjya.css の変換結果 ----------------------------------- */

#FairPage .remote {
  font-size: 13px;
  text-align: center;
  padding-top: 16px;
  padding-bottom: 10px;
}

#FairPage .ttl_cont_sub {
    font-size: 3.4375vw;
    color: #333;
    letter-spacing: .05em;
    text-align: center;
    padding-top: 8px;
    line-height: 1.6;
}

#FairPage .Fair_Title {
    /* 4.8vw のままだと767pxで36.8pxまで肥大するため上限を設ける。
       22px は768〜1023pxの指定と同値なので、768pxの境界で段差が出ない */
    font-size: min(4.8vw, 22px);
    color: #333;
    letter-spacing: .05em;
    text-align: center;
    padding-top: 16px;
    line-height: 1.5;
}

#FairPage .fair_contact {
  margin-top: 108px;
}

#FairPage .best_reco_warap-portal {
  margin: 0 5%;
  padding-top: 32px;
}

#FairPage .reco_pic-portal {
  width: 36.266666%;
}

#FairPage .rec_pic_inner-portal {
  position: relative;
  width: 100%;
  /*padding-top: 88.9705%;*/
  /*height: 0;*/
  height: 100%;
}

#FairPage .rec_pic_inner-portal img {
  /*-o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;*/
}

#FairPage .best_reco_box {
  display: block;
  color: #333;
  display: flex;
  box-shadow: 8px 8px #f6f6f6;
  background-color: #fff;
}

#FairPage .best_reco_txt {
  flex: 1;
  padding: 8px 12px;
  background-color: #fff;
}

#FairPage .reco_best_day {
  font-size: 16px;
  text-align: right;
  border-bottom: solid 1px #b5495b;
  color: #333;
  letter-spacing: .05em;
}

#FairPage .reco_best_day span {
  font-size: 14px;
}

#FairPage .reco_best_time {
  font-size: 13px;
  color: #333;
  letter-spacing: .05em;
  padding-top: 3px;
}

#FairPage .reco_best_txt {
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5;
  color: #333;
  padding-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

#FairPage .popup_content_inner li {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 16px;
  padding-left: 20px;
  position: relative;
}

#FairPage .popup_content_inner li::before {
  position: absolute;
  content: '>';
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

#FairPage .popup_content_inner a {
  color: #333;
  font-size: 13px;
}

#FairPage .popup_wrap input {
  display: none;
}

#FairPage .popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999999999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, -webkit-transform 0s 0.5s;
  transition: opacity 0.5s, transform 0s 0.5s;
  transition: opacity 0.5s, transform 0s 0.5s, -webkit-transform 0s 0.5s;
  -webkit-transform: scale(0);
          transform: scale(0);
  padding: 18px 0;
  box-sizing: border-box;
}

#FairPage .popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

#FairPage .popup_content {
  position: relative;
  align-self: flex-start;
  width: 90%;
  max-width: 884px;
  padding: 30px 30px 15px;
  box-sizing: border-box;
  background: #fff;
  transition: 0.5s;
  overflow-y: scroll;
}

#FairPage .close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
}

#FairPage .popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  transition: opacity 0.5s;
}

#FairPage .popup_wrap input[type="submit"]:checked + label + div {
  opacity: 0;
  -webkit-transform: scale(1);
          transform: scale(1);
  transition: opacity 0.5s;
}

#FairPage .open_btn {
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 230px;
  /*height: 30px;*/
  margin: 0 auto;
  padding: 11px 0 11px 28px;
  color: #333;
  cursor: pointer;
  transition: .3s ease;
  border: solid 1px #333;
  box-sizing: border-box;
  font-size: 12px;
  background-color: #fff;
}

/*ボタン色*/
#FairPage .open_btn._venue {
  border: solid 1px #C0000A;
  color: #C0000A;
}

#FairPage .open_btn._calender {
  border: solid 1px #9e874a;
  color: #9e874a;
}

#FairPage .open_btn::after {
  position: absolute;
  top: 50%;
  right: 8px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  content: '';
}

#FairPage .open_btn._calender::after {
  background: url(../img/icon_fair_calendar.svg) center no-repeat;
  background-size: contain;
  width: 25px;
  height: 100%;
}

#FairPage .open_btn._venue::after {
  background: url(../img/icon_fair_dish.svg) center no-repeat;
  background-size: contain;
  width: 25px;
  height: 100%;
}

#FairPage .btn_select_wrap {
  padding-top: 32px;
}

#FairPage .select_day_wrap {
  display: flex;
  justify-content: center;
}

#FairPage .select_cont {
  color: #333;
  font-size: 13px;
  box-sizing: border-box;
  border-bottom: solid 1px #333;
  display: inline-block;
  margin-top: 18px;
  line-height: 1.8;
}

#FairPage .popup_wrap-calendar input {
  display: none;
}

#FairPage .popup_wrap-calendar label {
  display: block;
}

#FairPage .popup_overlay-calendar {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999999999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, -webkit-transform 0s 0.5s;
  transition: opacity 0.5s, transform 0s 0.5s;
  transition: opacity 0.5s, transform 0s 0.5s, -webkit-transform 0s 0.5s;
  -webkit-transform: scale(0);
          transform: scale(0);
}

#FairPage .popup_trigger-calendar {
  position: absolute;
  width: 100%;
  height: 100%;
}

#FairPage .popup_content-calendar {
  position: relative;
  align-self: flex-start;
  width: 90%;
  max-width: 884px;
  padding: 30px 15px 15px;
  box-sizing: border-box;
  background: #fff;
  transition: 0.5s;
  margin-top: 20px;
}

#FairPage .close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
}

#FairPage .popup_wrap-calendar input:checked ~ .popup_overlay-calendar {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  transition: opacity 0.5s;
}

#FairPage .btn_show {
  display: block;
  width: 78%;
  text-align: center;
  cursor: pointer;
  margin: 28px auto 0;
  background-color: #f0efeb;
  color: #8e8672;
  font-size: 14px;
  padding: 10px 0;
  padding: 9px 0;
}

#FairPage .venue_btn {
  display: inline-block;
  width: 100%;
  padding: 10px 0;
}

#FairPage .acMenu ul {
  display: none;
}

#FairPage .calendar .saturday {
  color: #3592f0;
}

#FairPage .calendar .sunday {
  color: #ed6673;
}

#FairPage .calendar th {
  padding-bottom: 8px;
}

#FairPage .calendar th, #FairPage .calendar td {
  font-size: 14px;
  /*padding: 8px 0;*/
  width: auto;
  height: auto;
  text-align: center;
  color: #666;
  box-sizing: border-box;
}

#FairPage .calendar td {
  border: solid 1px #ccc;
}

#FairPage .calendar_wrap {
  padding-top: 10px;
}

#FairPage .calendar {
  text-align: center;
  width: 100%;
}

#FairPage .month {
  font-size: 17px;
  text-align: center;
  color: #333;
  letter-spacing: .1em;
  border-bottom: solid 1px #ccc;
  padding-bottom: 8px;
}

#FairPage .cal_inner {
  margin-top: 28px;
}

#FairPage .cal_btn {
  background-color: #fff;
  padding: 8px 0;
}

#FairPage .cal_btn.select {
  color: #fff;
}

#FairPage input[type="checkbox"]:checked + label.cal_btn {
  background: #D84707;
  color: #ffffff;
}

#FairPage input[type="checkbox"]:checked + label.venue_btn {
  color: #9e874a;
}

#FairPage .submit_venue-btn label {
  display: block;
}

#FairPage .submit_venue-btn {
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  margin-top: 28px;
  width: 230px;
  margin: 0 auto;
  color: #333;
  cursor: pointer;
  border: solid 1px #333;
  box-sizing: border-box;
  font-size: 12px;
  margin-top: 26px;
}

#FairPage .submit_venue-btn::after {
  position: absolute;
  top: 50%;
  right: 8px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  content: '';
  background: url(../img/icon_fair_dish.svg) center no-repeat;
  background-size: contain;
  width: 25px;
  height: 100%;
}

#FairPage .submit_venue-btn label {
  padding: 11px 0 11px 28px;
}

/*フェア*/
#FairPage .fair_image-inner {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 57.4229%;
}

#FairPage .fair_image-inner img {
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#FairPage .fair_bg {
  border: double 3px #b5495b;
  padding: 3% 0 0;
  box-sizing: border-box;
}

#FairPage .fair_bg:first-of-type {
  margin-top: 44px;
}

#FairPage .fair_bg:not(:first-of-type) {
  margin-top: 36px;
}

#FairPage .cont_wrap {
  box-sizing: border-box;
}

#FairPage .cont_wrap.fair_day_wrap {
  background-color: #fff;
}

#FairPage .fairType_wrap {
  border-bottom: solid 1px #000;
  padding-bottom: 18px;
}

#FairPage .ttl_fair_info {
  color: #333;
}

#FairPage .ttl_fair_info dt {
  font-size: 16px;
}

#FairPage .ttl_fair_info dd {
  font-size: 14px;
  line-height: 1.5;
  padding-top: 8px;
}

#FairPage .fairtype {
  font-size: 0;
  padding-top: 10px;
}

#FairPage .fairtype li {
  box-sizing: border-box;
  color: #9e874a;
  font-size: 12px;
  border: solid 1px #9e874a;
  display: inline-block;
  padding: 3px 10px;
}

#FairPage .fairtype li:not(:last-of-type) {
  margin-right: 8px;
}

#FairPage .fair_txt {
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  letter-spacing: .05em;
  font-size: 12px;
  padding-top: 13px;
}

#FairPage .data {
  letter-spacing: .1em;
}

#FairPage .time {
  font-size: 14px;
  color: #333;
}

#FairPage .data_cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#FairPage .data_cont:not(:first-of-type) {
  padding-top: 16px;
}

#FairPage .data_cont a {
  display: block;
  color: #fff;
  background-color: #c9bc9c;
  font-size: 13px;
  padding: 7px 11px;
  text-align: center;
}

#FairPage .schedule_day li:not(:first-of-type) {
  padding-top: 32px;
}

#FairPage .acMenu {
  padding-top: 32px;
}

#FairPage .schedule {
  padding-bottom: 10%;
  background: #fff;
  box-sizing: border-box;
}

#FairPage .today_txt {
  font-size: 11px;
  text-align: center;
  line-height: 1.5;
  color: #333;
}

#FairPage .data_cont .today a {
  margin-top: 6px;
  padding: 10px 11px;
}

/*クリアボタン*/
#FairPage .clear_btn {
  display: block;
  font-size: 12px;
  text-align: center;
  color: #333;
  cursor: pointer;
  box-sizing: border-box;
  margin: 20px auto 0;
}

#FairPage .clear_btn label {
  cursor: pointer;
  border-radius: 98px;
  border: solid 1px #333;
  padding: 6px 20px;
  background-color: #fff;
}

#FairPage .venue_all {
  display: block;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  margin: 20px auto 0;
}

#FairPage .venue_all a {
  cursor: pointer;
  border-radius: 98px;
  border: solid 1px #333;
  padding: 6px 20px;
  color: #333;
  background-color: #fff;
}

@media screen and (min-width: 1024px) {
  #FairPage .remote {
    font-size: 15px;
  }

  #FairPage .ttl_cont_sub {
    font-size: 19px;
}
  #FairPage .Fair_Title {
    font-size: 30px;
    padding-top: 40px;
  }
  #FairPage .fair_contact_ttl {
    padding-top: 58px;
  }
  #FairPage .best_reco_warap-portal {
    width: 90%;
    max-width: 884px;
    margin: 0 auto;
    padding-top: 46px;
  }
  #FairPage .reco_pic-portal {
    width: 44.570135%;
  }
  #FairPage .best_reco_box {
    flex: 0 0 48.642533%;
  }
  #FairPage .best_reco_txt {
    /*padding: 17px 31px;*/
  }
  #FairPage .reco_best_day {
    font-size: 20px;
    font-weight: 400;
  }
  #FairPage .reco_best_time {
    font-size: 12px;
    padding-top: 9px;
  }
  #FairPage .reco_best_txt {
    font-size: 14px;
    line-height: 1.5;
    padding-top: 5px;
    font-weight: normal;
  }
  #FairPage .reco_best_read {
    -webkit-line-clamp: 3;
    font-size: 14px;
    padding-top: 23px;
  }
  #FairPage .open_btn {
    width: 100%;
    padding: 14px 0 14px 16%;
    font-size: 14px;
  }
  #FairPage .open_btn::after {
    width: 33px;
    right: 18px;
  }
  #FairPage .open_btn._calender::after {
    width: 25px;
  }
  #FairPage .open_btn.cal_inner {
    width: 48%;
    max-width: 280px;
    padding: 11px 0 11px 4%;
  }
  #FairPage .btn_select_wrap {
    width: 76%;
    max-width: 690px;
    padding-top: 44px;
  }
  #FairPage .btn_select {
    width: 48%;
    max-width: 333px;
  }
  #FairPage .select_cont {
    font-size: 15px;
    margin-top: 20px;
  }
  #FairPage .btn_show {
    font-size: 18px;
    width: 649px;
  }
  #FairPage .calendar th, #FairPage .calendar td {
    /*padding: 20px 0;*/
    font-size: 14px;
  }
  #FairPage .cal_btn {
    padding: 20px 0;
  }
  #FairPage .fair_bg {
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
    padding: 42px 0;
    background-color: #fff;
  }
  #FairPage .fair_bg:first-of-type {
    margin-top: 56px;
  }
  #FairPage .cont_wrap.fair_day_wrap {
    max-width: 884px;
    /*padding: 23px 43px 0 43px;*/
    margin: 0 auto;
  }
  #FairPage .ttl_fair_info dt {
    font-size: 22px;
  }
  #FairPage .ttl_fair_info dd {
    font-size: 16px;
    padding-top: 18px;
  }
  #FairPage .fairtype {
    padding-top: 16px;
  }
  #FairPage .fairtype li {
    font-size: 12px;
  }
  #FairPage .fair_txt_wrap {
    padding-left: 35px;
  }
  #FairPage .fair_txt {
    font-size: 14px;
  /*  padding-top: 20px;*/
  }
  #FairPage .data {
    font-size: 26px;
    /*padding-top: 12px;*/
  }
  #FairPage .data span {
    font-size: 16px;
  }
  #FairPage .data_inner {
    padding-left: 22px;
  }
  #FairPage .time {
    font-size: 18px;
  }
  #FairPage .data_cont a {
    font-size: 16px;
    padding: 16px 0;
  }
  #FairPage .schedule {
    width: 90%;
    max-width: 884px;
    margin: 0 auto;
    padding: 23px 43px 0 43px;
  }
  #FairPage .today_txt {
    font-size: 13px;
  }
  /*クリアボタン*/
  #FairPage .clear_btn {
    font-size: 13px;
    margin-top: 26px;
  }
}

@media screen and (min-width: 768px) {
  #FairPage .rec_pic_inner-portal {
    /*padding-top: 71.0659%;*/
  }
  #FairPage .best_reco_wrap {
    display: flex;
    justify-content: space-between;
  }
  #FairPage .reco_best_txt {
    font-weight: normal;
  }
  #FairPage .reco_best_read {
    letter-spacing: .05em;
    line-height: 1.5;
    color: #333;
    display: -webkit-box;
    overflow: hidden;
  }
  #FairPage .btn_select_wrap {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }
  #FairPage .popup_content-calendar {
    -ms-grid-row-align: center;
        align-self: center;
  }
  #FairPage .cal_wrap {
    display: flex;
    justify-content: space-between;
  }
  #FairPage .popup_content_inner {
    flex: 0 0 48%;
  }
  #FairPage .fair_image {
    width: 32.692307%;
  }
  #FairPage .fair_image-inner {
    padding-top: 79.9307%;
  }
  #FairPage .fair_info {
    display: flex;
  }
  #FairPage .fair_txt_wrap {
    width: 59.398496%;
  }
  #FairPage .data.data_contact {
    padding-top: 0;
  }
  #FairPage .data_inner {
    width: 100%;
  }
  #FairPage .time {
    /*width: 21.326164%;*/
  }
  #FairPage .data_cont a {
    width: 69.354838%;
    max-width: 387px;
    text-align: center;
  }
  #FairPage .schedule_day {
    width: 695px;
    margin: 0 auto;
  }
  #FairPage .schedule_day li {
    display: flex;
    align-items: center;
  }
  #FairPage .data_cont .today {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 69.354838%;
  }

  #FairPage .selrct_btn_warp {
    width: 76%;
    max-width: 690px;
    margin: 7px auto 0;
    display: flex;
    justify-content: space-between;
  }
}


@media screen and (max-width: 767px) {
  #FairPage .best_reco_box {
    align-items: center;
    padding-left: 10px;
    box-sizing: border-box;
  }
  #FairPage .best_reco_box:not(:first-child) {
    margin-top: 26px;
  }
  #FairPage .fair_bg {
    margin-left: 5%;
    margin-right: 5%;
    background-color: #fff;
  }
  #FairPage .reco_best_read {
    display: none;
  }
  #FairPage .btn_select:nth-child(2) {
    margin-top: 20px;
  }
  #FairPage .popup_content_inner:nth-of-type(2) {
    padding-top: 30px;
  }
  #FairPage .fair_image {
    width: 100%;
    margin: 0 auto;
  }
  #FairPage .cont_wrap.fair_day_wrap {
    margin: 0 3%;
    padding: 3.6% 3.6% 0 3.6%;
  }
  #FairPage .fair_txt_wrap {
    padding-top: 22px;
  }
  #FairPage .data {
    text-align: center;
    color: #9e874a;
    font-size: 16px;
    border: solid 1px #9e874a;
    padding: 5px 0;
    width: 90%;
    margin: 0 auto;
  }
  #FairPage .data span {
    font-size: 12px;
  }
  #FairPage .data_inner {
    padding: 21px 8% 0;
  }
  #FairPage .schedule {
    padding-top: 36px;
    margin: 0 3%;
  }
  #FairPage .select_day_wrap {
    margin: 0 5%;
  }
  /*クリアボタン*/
  #FairPage .clear_btn {
    width: 230px;
  }
  #FairPage .fairtype li:last-of-type {
  margin-top: 8px;
}

}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  #FairPage .best_reco_box {
    width: 90.20408%;
  }
  #FairPage .best_reco_txt {
    padding: 8px 22px;
  }
  #FairPage .reco_best_day {
    text-align: left;
  }
  #FairPage .reco_best_time {
    /*font-size: 13px;*/
  }
  #FairPage .reco_best_txt {
    /*font-size: 14px;*/
  }
  #FairPage .popup_content_inner li {
    margin-top: 16px;
  }
  #FairPage .reco_best_read {
    font-size: 12px;
    -webkit-line-clamp: 2;
    padding-top: 6px;
  }
  #FairPage .ttl_cont_sub {
    font-size: 13px;
  }
  #FairPage .Fair_Title {
    font-size: 22px;
  }
  #FairPage .open_btn {
    width: 100%;
    padding: 11px 0 11px 16%;
    font-size: 14px;
  }
  #FairPage .open_btn::after {
    right: 6%;
  }
  #FairPage .open_btn._calender::after {
    width: 30px;
  }
  #FairPage .open_btn.cal_inner {
    width: 48%;
    max-width: 260px;
    padding: 11px 0 11px 4%;
  }
  #FairPage .open_btn.cal_inner::after {
    width: 25px;
  }
  #FairPage .btn_select_wrap {
    width: 76%;
    max-width: 640px;
  }
  #FairPage .btn_select {
    width: 48%;
    max-width: 300px;
    margin: 0 auto;
  }
  #FairPage .btn_show {
    width: 54%;
    padding: 14px 0;
  }
  #FairPage .calendar th, #FairPage .calendar td {
    /*padding: 14px 0;*/
  }
  #FairPage .cal_btn {
    padding: 12px 0;
  }
  #FairPage .submit_venue-btn {
    width: 48%;
    max-width: 260px;
    font-size: 14px;
  }
  #FairPage #FAIR_DAY {
    width: 90%;
    margin: 0 auto;
  }
  #FairPage .fair_bg {
    padding: 3% 3% 5% 3%;
  }
  #FairPage .cont_wrap.fair_day_wrap {
    padding: 3.6% 3.6% 0 3.6%;
    width: 100%;
  }
  #FairPage .fairType_wrap {
    padding-bottom: 16px;
  }
  #FairPage .ttl_fair_info dd {
    font-size: 13px;
  }
  #FairPage .fairtype li {
    font-size: 11px;
  }
  #FairPage .fair_txt_wrap {
    padding-left: 28px;
  }
  #FairPage .fair_txt {
    font-size: 12px;
  }
  #FairPage .data {
    font-size: 19px;
    padding-top: 9px;
    width: 16.834532%;
  }
  #FairPage .data span {
    font-size: 13px;
  }
  #FairPage .data_inner {
    padding-left: 2.6%;
  }
  #FairPage .time {
    font-size: 16px;
  }
  #FairPage .data_cont:not(:first-of-type) {
    padding-top: 20px;
  }
  #FairPage .data_cont a {
    padding: 18px 11px;
    font-size: 14px;
  }
  #FairPage .schedule_day {
    width: 87.0927318296%;
    max-width: 695px;
    margin: 0 auto;
  }
  #FairPage .acMenu {
    padding-top: 12px;
  }
  #FairPage .schedule {
    padding-top: 36px;
    padding-bottom: 7%;
  }
  /*クリアボタン*/
  #FairPage .clear_btn {
    font-size: 13px;
    margin-top: 22px;
  }
}

@media screen and (min-width: 767px) {
#FairPage .SplWrap {height:1515px; overflow: hidden; text-align: center; padding-top: 50px;}
#FairPage .SplForm {overflow: hidden;margin-left: -1px;margin-top: -1px;width: 100%;height: 1517px;border: 0;}
}
@media screen and (max-width: 767px) {
#FairPage .SplWrap {height:1998px; overflow: hidden; text-align: center; padding-top: 0px;}
#FairPage .SplForm {overflow: hidden;margin-left: -1px;margin-top: -1px;width: 100%;height: 2000px;border: 0;}
}
