@charset "UTF-8";
/* CSS Document */

#main-content {
  background-color: #fff;
  color: #333;
  font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ＭＳ ゴシック", sans-serif;
  font-weight: 500;
  margin: 0 auto;
  position: relative;
}
#main-content a,
#main-content a img {
  transition: 0.3s;
}

/* title */

.title {
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
}

h1.title {
  text-align: center;
  width: 100%;
}
h1.title > img {
  max-width: 100%;
  margin: 0 auto;
}

.ttl-sub {
  width: 100%;
  background-color: #f2f2f2;
}

.ttl-sub p {
  font-size: 0.9rem;
  text-align: center;
  margin: 30px auto;
  padding: 20px 0;
}

.ttl-sub p span {
  font-size: 1rem;
  font-weight: 600;
}

.navi {
  margin: 20px 0 -20px;
  text-align: center;
  width: 100%;
}
.navi > li {
  display: inline-block;
  margin: 0 20px;
  font-size: 20px;
  font-family: "Raleway", sans-serif;
}
.navi > li > a {
  color: #444;
  display: block;
}

.m-icn-arrow-bottom-w {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-bottom: 1px solid #c3c3c3;
  border-right: 1px solid #c3c3c3;
  -webkit-transform: rotate(40deg) skew(-10deg, 0);
  transform: rotate(40deg) skew(-10deg, 0);
  transition: all 0.2s linear;
  top: -1px;
  margin-left: 4px;
}

span.pc-visible {
  display: inline;
}
span.sp-visible {
  display: none;
}
/* section */
.article-box {
  overflow: hidden;
  text-align: center;
  width: 100%;
  height: 600px;
}
.article-box a {
  display: block;
}
.img-box > img {
  width: 100%;
}

.item-box {
  background: #fff;
  font-size: 12px;
  width: 40%;
  padding: 30px 20px;
  text-align: center;
}

.fair-ttl {
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  margin-bottom: 40px;
}

.fair-ttl::after {
  position: absolute;
  content: "";
  width: 50%;
  top: 118%;
  left: 50%;
  transform: translateX(-50%);
  border: solid 1px #f2f2f2;
}

.main-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1000px;
  margin: 0 auto;
}

.fair-description {
  font-size: 0.8rem;
  text-align: left;
  width: 350px;
  margin: 32px auto 0;
  line-height: 1.7;
}

/* under link */
.under_link_box {
  overflow: hidden;
}
.under_link {
  margin: 50px auto 100px;
  text-align: center;
  width: 100%;
}
.under_link li {
  display: inline-block;
  margin: 0 5px;
  text-align: center;
  width: 280px;
}
.under_link li a {
  background: #49453d;
  border: 1px solid #4a463e;
  border-radius: 2px;
  color: #fff;
  display: block;
  padding: 14px 0;
  margin: 0 10px;
}

/*favorite*/
.under_link li a.m-btn-inactive {
  background: #fff;
  border-radius: 2px;
  box-sizing: border-box;
  color: #333;
  font-weight: 500;
  height: auto;
  line-height: inherit;
}

.img-box > img {
  width: 70%;
}

.close .item-box::after {
  display: none;
}

@media screen and (max-width: 640px) {
  /*  */

  #main-content {
    width: 100%;
  }

  /* SMP title */

  h1.title > img {
    width: 100%;
  }

  .ttl-sub p {
    font-size: 0.9rem;
  }

  .navi > li {
    border: 1px solid #c2c7ce;
    font-size: 14px;
    height: 34px;
    margin: 0 4px;
    width: 34px;
  }
  .navi > li img {
    width: 60%;
  }
  .navi > li > a {
    color: #444;
    display: block;
    height: 100%;
    line-height: 1;
    padding: 3px 0 0;
    width: 100%;
  }
  span.pc-visible {
    display: none;
  }
  span.sp-visible {
    display: inline;
  }
  /* SMP section */

  .article-box {
    height: auto;
    margin-top: 0;
  }

  .main-wrapper {
    width: 100%;
    flex-direction: column;
  }

  .img-box {
    width: 100%;
  }
  .img-box > img {
    width: 100%;
  }
  .item-box a {
    margin-bottom: 0px;
  }

  .img-box.left {
    margin-left: -80%;
  }

  .item-box {
    border-bottom: 1px dotted #999;
    box-sizing: border-box;
    height: auto;
    margin: 0;
    padding: 5vw 3.2vw 10vw;
    position: static;
    width: 100%;
  }

  .item-box > a {
    text-align: left;
    padding-left: 3% !important;
  }
  p.item-name {
    font-size: 32px;
  }

  p.lower_item {
    margin: 0;
  }
  p.item_sub {
    font-size: 12px;
  }

  /* SMP under link */
  ul.under_link {
    margin: 10vw auto 100px;
    width: 92%;
  }
  ul.under_link li {
    margin: 0 0 10px;
    width: 100%;
  }
  ul.under_link li a {
    margin: 0;
  }

  .title {
    font-size: 50px;
  }
  .title img {
    width: auto !important;
  }
  .title + p {
    box-sizing: border-box;
    padding: 0 12px;
    text-align: center;
  }
  .img-box img {
    width: 100%;
  }
  .navi > li {
    margin: 1px;
  }
}

@media screen and (min-width: 641px) {
  /* hover settings */
  div.item-box a:hover {
    opacity: 0.5;
  }
  .navi > li img {
    width: 26px;
  }
  .navi > li > a:hover {
    opacity: 0.5;
  }

  .article-box a:hover {
    opacity: 0.8;
  }
  /* HOVER under_link */
  .under_link a:hover {
    background: #666;
    color: #fff;
  }
  .under_link li a.m-btn-inactive:hover {
    background: #f2f2f2;
  }

  .item_list > li > a:hover {
    opacity: 0.6;
  }
}
