@charset "utf-8";

header,
.item_bg {
  position: relative;
  text-align: center;
  padding: 10vh 0 10vh;
  background-image:url('../img/bg_hougan.gif');
  background-repeat:repeat;
  background-position:top center;
  background-size:auto;
}


@media screen and (min-width: 520px){
  header {
    padding: 15vh 0 10vh;
    background-position:
    105% top,
    -5% top,
    top center;
    background-size:
    15%,
    15%,
    auto;
  }

  .item_bg {
    padding: 10vh 0 10vh;
    background-position:top center;
    background-size:auto;
  }
}
header::after {
  content: '';
  width: 100%;
  padding-top: 18%;
  position: absolute;
  bottom: -5px;
  left: 0;
  background-image: url('../img/town_bg_ca.gif');
  background-size: 100%;
  background-position: bottom center;
  background-repeat: no-repeat;
}

@media screen and (min-width: 520px){
  header::after {
    content: '';
    width: 100%;
    padding-top: 4.5%;
    padding-top: 6.75%;
    position: absolute;
    bottom: -5px;
    left: 0;
    background-size: 25%;
    background-size: 33.333%;
    background-position: bottom center;
    background-repeat: repeat-x;
  }
}
/* ==================================================================== */
/* ナビゲーションカラーバー */
/* ==================================================================== */
#nav_bar {
  position: fixed;
  bottom: 5%;
  right: 2%;
  width: 10px;
  z-index: 999;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}
#nav_bar li{
  height: 40px;
  /* height: calc(100vh / 6); */
}
#nav_bar a[href~="header"],
#nav_bar a[href~="#festa"] {
  background: whitesmoke;

}
#nav_bar a[href~="#prologue"]{
  background: #00b4e6;
  color: #fff;
}
#nav_bar a[href~="#tour"] {
  background: #fff000;
}
#nav_bar a[href~="#intro"] {
  background: #000;
}

#nav_bar a[href~="#info"] {
  background: #e60a82;
  color: #fff;
}

#nav_bar a {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 520px){
  #nav_bar {
    position: fixed;
    bottom: 10%;
    left: 2%;
    right: auto;
    width: 10px;
    z-index: 999;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
  }
}

.bg_ho {
  background-image: url('../img/bg_hougan.gif');
}
/* ==================================================================== */
/* ナビゲーション関連 */
/* ==================================================================== */
#nav_head {
  position: absolute;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 0 8px;
}
  #nav_head a {
    display: block;
    width: 100%;
    height: 100%;
  }
  #nav_head > div {
    width: 50px;
  }
  #nav_head > div img {
    width: 100%;
  }
  #nav_head > ul {
    display: flex;
    flex-direction: row;
  }
  #nav_head > ul > li:first-child{
    margin-right: 10px;
  }
  #nav_head li img {
    width: 36px;
  }
  @media screen and (min-width: 520px){
    #nav_head > div {
      width: 80px;
    }
    #nav_head li img {
      width: 48px;
    }
  }

/* ==================================================================== */
/* ファーストビュー */
/* ==================================================================== */
header {
  display: flex;
  flex-direction: column;
}

.index_rogo {
  position: relative;
  width: 76vw;
  max-width: 540px;
  height: auto;
  margin: 0 auto;
  margin-bottom: 2vh;
}
.index_rogo img {
  width: 100%;
}
.index_credit {
  position: relative;
  margin-bottom: 3vh;
  font-weight: 700;
  font-size: 1.2rem;
}
.index_face {
  position: relative;
  height: 7vh;
  margin-bottom: 3vh;
  position: relative;
}
.index_face img.face {
  height: 100%;
  max-height: 101px;
}
.newbanner_wrap {
  width: 90vw;
  max-width: 315px;
  margin: 0 auto;
  margin-bottom: 3vh;
  position: relative;
  z-index: 100;
}
.newbanner_wrap img {
  width: 100%;
}
.index_scroll {
  position: relative;
  height: 5vh;
}
@media screen and (min-width: 956px){
  .index_rogo {
    width: 80%;
    max-width: none;
    margin-bottom: 2vh;
    order: 2;
    padding-top: calc(37% * 0.8);
    position: relative;
  }
  .index_rogo img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .index_credit {
    order: 1;
    margin-bottom: 4vh;
    font-size: calc(1.4rem + ((100vw - 520px) * 0.0128913443830571));
  }
  .index_face {
    height: 10vh;
    margin-bottom: 3vh;
    order: 2;
  }
  .newbanner_wrap {
    width: 20%;
    max-width: 300px;
    margin: 0 auto;
    order: 2;
    position: absolute;
    right: 5%;
    bottom: 10%;
  }
  .newbanner_wrap img {
    width: 100%;
    height: auto;
  }
  .newbanner_wrap img:hover {
    opacity: 0.8;
  }
  .index_scroll {
    height: 5vh;
    height: 4vh;
    order: 2;
  }
  .index_scroll a {
    transition: color 0.3s;
  }
  .index_scroll a:hover {
    color: silver
  }
}

/* ==================================================================== */
/* プロローグエリア前半　ものづくりフェスタってなに？ */
/* ==================================================================== */
section#prologue {
  background: #00b4e6;
  color: #fff;
  padding: 10vh 0;
}
section#prologue > div {
  margin-bottom: 8vh;
}
section#prologue > div:last-child {
  margin-bottom: 0;
}
section#prologue .balloon {
  color: #595959;
  display: inline-block;
  color: #00b4e6;
  font-size: 1.5em;
}


.first_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 520px){
  section#prologue {
    padding: 10vh 0 20vh;
  }

  section#prologue h1 {
    font-size: 2em;
  }
  .first_wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 86%;
    margin: 0 auto;
  }
  .first_wrap > div:first-child {
    flex: 0 1;
    flex-basis: 30%;
    margin-bottom: 0 !important;
  }
  .first_wrap > div:last-child {
    flex: 0 1;
    flex-basis: 70%;
  }
}
/* ==================================================================== */
/* ものづくりフェスタってなに？ */
/* ==================================================================== */
.master_think {
  display: block;
  width: auto;
  margin: 0 auto;
  width: 94%;
}
.master_think > li {
  background-size: auto 75px;
  background-repeat: no-repeat;
  background-position: top left;
  margin-bottom: 20px;
  padding-bottom: 3px;
  font-weight: 700;
}
.master_think > li:nth-child(1) {
  background-image: url('../img/mettoy.png');
}
.master_think > li:nth-child(2) {
  background-image: url('../img/mettow.png');
}
.master_think > li:nth-child(3) {
  background-image: url('../img/capb.png');
}
.master_think > li:nth-child(4) {
  background-image: url('../img/capw.png');
}
.master_think > li:nth-child(5) {
  background-image: url('../img/glassb.png');
}
.master_think > li:nth-child(even) {
  background-position: top right;
}
.master_think > li > p {
  display: block;
  width: 72%;
  /* max-width: 400px; */
  margin: 1em 0 1em auto;
  border-radius: 15px 15px 15px 15px;
  text-align: center;
  padding: 2em 1em;
  background: #fff;
  position: relative;
  box-shadow: 0px 20px 0px -3px rgba(0,0,0,0.1);
  color: #00b4e6;
  font-size: 1.3rem;
  line-height: 1.5;
}
  .master_think > li:nth-child(even) > p {
    margin: 1em auto 1em 0;
  }
.master_think > li > p:before {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 0;
}
  .master_think > li:nth-child(odd) > p:before {
    top: 15px;
    left: -16px;
    border: 8px solid transparent;
    border-right: 8px solid #fff;
    border-top-width: 6px;
    border-bottom-width: 6px;
  }
  .master_think > li:nth-child(even) > p:before {
    top: 15px;
    right: -16px;
    border: 8px solid transparent;
    border-left: 8px solid #fff;
    border-top-width: 6px;
    border-bottom-width: 6px;
  }
@media screen and (min-width: 520px){
  .master_think {
    display: block;
    width: auto;
    margin: 0 auto;

    width: 62%;
  }
  .master_think > li > p {
    width: auto;
    font-size: 1em;
    padding: 1em 1em;
  }
  .master_think > li > p {
    margin: 1em auto 1em 100px;
  }
    .master_think > li:nth-child(even) > p {
      margin: 1em 100px 1em auto;
    }
}

.mono_town_w {
  width: 80%;
  max-width: 300px;
}
.prog_read {
  margin-bottom: 1.4em;
  text-align: justify;
  line-height: 1.8;
  font-weight: 700;
  padding: 0 6%;
}

.gal {
  margin: 0 6%;
  padding-bottom: 8vh;
}
.gal li img {
  width: 100%;

}
.gal li {

}
@media screen and (min-width: 520px){
  .gal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto 8vh;
    padding-bottom: 0;
  }
  .gal li img {
    width: 100%;
    padding: 3%;
  }
  .gal li {
    flex-basis: 20%;
  }
}

.memory_list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.memory_list + figcaption {
  font-size: 0.8em;
  padding-top: 1em;
}
.memory_list > li {
  flex: 0 1;
  flex-basis: 100%;
  width: 100%;
  max-width: 300px;
  margin-bottom: 6%;
  background: #fff;
  color: #00b4e6;
  font-size: 1.1em;
  text-align: center;
  position: relative;
  border-radius: 30px;
}
.memory_list > li::after{
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  font-weight: 900;
  display: inline-block;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 16px;
  font-size: 14px;
}
.memory_list a {
  display: block;
  width: 100%;
  height: 100%;
      padding: 6% 0;
}
.memory_list figure {
  padding-left: 4%;
}
.memory_list img {
  width: 50px;
  position: absolute;
  top: 50%;
  left: 4%;
  transform: translateY(-50%) rotate(-5deg);
}
.memory_list figcaption {
}
@media screen and (min-width: 520px){
  .memory_list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .memory_list > li {
    flex: 0 1;
    flex-basis: 47%;
    width: 47%;
    max-width: 370px;
    margin: 0 1.5%;
    margin-bottom: 8%;
    background: #fff;
    color: #00b4e6;
    font-size: 1em;
    font-weight: 700;
    text-align: center;
    position: relative;
    border-radius: 30px;
  }
  .memory_list figure {
    padding-left: 40px;
  }
  .memory_list img {
    width: 80px;
    position: absolute;
    bottom: 0;
    left: 4%;
    transform: translateY(-50%) rotate(-5deg);
    transition: all 0.3s;
  }
  .memory_list a:hover img {
    transform: translateY(-50%) rotate(-5deg) scale(1.08);
  }
  .memory_list figcaption {
  }
}
@media screen and (min-width: 520px){
  .memory_list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .memory_list > li {
    flex: 0 1;
    flex-basis: 27%;
    width: 27%;
    max-width: 370px;
    margin: 0 1.5%;
    margin-bottom: 3%;
    background: #fff;
    color: #00b4e6;
    font-size: 1em;
    font-weight: 700;
    text-align: center;
    position: relative;
    border-radius: 30px;
  }
  .memory_list figure {
    padding-left: 40px;
  }
  .memory_list img {
    width: 80px;
    position: absolute;
    bottom: 0;
    left: 4%;
    transform: translateY(-50%) rotate(-5deg);
    transition: all 0.3s;
  }
  .memory_list a:hover img {
    transform: translateY(-50%) rotate(-5deg) scale(1.08);
  }
  .memory_list figcaption {
  }
}

.other_festa {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}
.other_festa > li {
  margin-bottom: 5rem;
  flex-basis: 50%;
  position: relative;
}
.other_festa h2 {
  font-size: 1.1em;
  font-weight: 700;
  color: #fff000;
  margin-bottom: 1rem;
  text-align: center;
}
.other_festa figure > img {
  width: 90%;
  /* border: 5px solid #fff; */
  border-radius: 50%;
  margin-bottom: 2rem;
}
.other_festa > li figure {
  width: 84%;
  margin: 0 auto;
  position: relative;
}
.other_no {
  position: absolute;
  width: 35%;
  max-width: 90px;
  top: -20px;
  left: 0;
}
.other_festa > li figcaption {
  text-align: justify;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.08em;
  font-weight: normal;
}

.speech_boy {
  padding-bottom: 32%;
  background-image: url('../img/speech_boy.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 64%;
  margin-bottom: 7vh;
}
@media screen and (min-width: 520px){
  .other_festa {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    /* width: 78%; */
    margin: 0 auto;
  }
  .other_festa > li {
    margin-bottom: 0;
    flex: 0 1;
    flex-basis: 25%;
  }

  .other_festa h2 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 2rem;
  }
  .other_festa img {
    /* width: 66%; */
    /* border: 6px solid #fff; */
    border-radius: 50%;
    margin-bottom: 2rem;
  }
  .other_festa > li figcaption {
    text-align: justify;
    line-height: 1.5;
    font-size: 1em;
  }

  .speech_boy {
    padding-bottom: 18%;
    background-image: url('../img/speech_boy.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 40%;
    margin-bottom: 8vh;
  }
}
@media screen and (min-width: 958px){
  .other_festa > li {
    margin-bottom: 0;
    flex: 0 1;
    flex-basis: 33.333%;
  }
}


/* ==================================================================== */
/* 動画でものづくりフェスタ動画 */
/* ==================================================================== */
/* ---------------汎用ボックス--------------- */
.content_wrapper {
  position: relative;
  width: 90%;
  margin: 0 auto;

  /* border: 1px solid black; */
}
@media screen and (min-width: 520px){
  .content_wrapper {
    width: 90%;
    margin: 0 auto 4em;
  }
}
@media screen and (min-width: 958px){
  .content_wrapper {
    width: 100%;
    margin: 0 auto 4em;
  }
}
/* ---------------/汎用ボックス--------------- */

/* #festa {
  position: relative;
} */
.title_old {
  text-align: center;
  margin-bottom: 4em;
}
.title_old > span {
  display: inline-block;
  line-height: 1;
  padding: 30px 10px;
  border-radius: 100px;
  background: red;
  width: 400px;
  color: white;
}
.fasta_title {
  width: 70%;
  max-width: 300px;
  margin: 0 auto 4vh;
}
.fasta_title img {
  width: 100%;
}
.fast_title_wrapper {

}
.row {
  display: flex;
  flex-direction: column;
}

.title_year {
  width: 94%;
  margin: 0 auto 4em;
}
@media screen and (min-width: 520px){
  .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .row > section {
    flex-basis: 45%;
  }
  .row > section:last-child {
    flex-basis: 45%;
    margin-top: 5%;
  }
  .title_year {
    width: 90%;
    margin: 0 auto 4em;
  }
}
.title_year img {
  width: 100%;
}
.title_theme{
  font-size: 1.5em;
  padding: 10px;
  text-align: center;
  margin-bottom: 4em;
}

.news::after {
  content:'NEW!';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(5%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: deeppink;
  color: white;
  text-align: center;
  line-height: 70px;
  z-index: 999;
}
@media screen and (min-width: 520px){
  .news::after {
    transform: translate(-50%, -50%);
  }
}
.news.yellow::after {
  background: #fff000;
  color: #333;
}
.news.blue::after {
  background: deeppink;
  color: white;
}

.width_94 {
  width: 94%;
  margin: 0 auto;
}
@media screen and (min-width: 956px){
  .fasta_title {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
  }
  .fast_title_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 94%;
    margin: 0 auto;
  }
  .fast_title_wrapper.reverse {
    flex-direction: row-reverse;
  }
  .fast_title_wrapper > figure {
    flex-basis: 40%;
  }
  .fast_title_wrapper > div {
    flex-basis: 60%;
  }
  .width_94 {
    width: auto;
  }
}
.to_yotube{
  background: whitesmoke;
  background-image:
    url('../img/neji.png'),
    url('../img/neji.png'),
    url('../img/neji.png'),
    url('../img/neji.png');
  background-repeat: no-repeat;
  background-size: 20px;
  background-position:
    left 10px top 10px,
    right 10px top 10px,
    right 10px bottom 10px,
    left 10px bottom 10px;
  color: #595959;
  width: auto;
  margin: 0 12%;
  /* border: 1px solid gray; */
  padding: 33px;
  text-align: left;
  border-radius: 14px;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.3);
}

.to_yotube > figure{
  flex: 0 1;
  flex-basis: 250px;
  margin-right: 1em;
  margin-bottom: -33px;
}
.to_yotube > figure img{
  width: 100%;

}
.special1 {
  position: relative;
  width: 72%;
  max-width: 300px;
}
/* ==================================================================== */
/* 動画リスト共通設定 */
/* ==================================================================== */

figure.mov_thumb {
  position: relative;
  padding-top: 56.25%;
}
figure.mov_thumb > img,
figure.mov_thumb > iframe {
  position: absolute;

  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.map_numb::before {
  content: attr(data-map)'';
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  line-height: 21px;
  vertical-align: baseline;
  margin-right: 0.5em;
  background: #00b4e6;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* 再生マーク---------------------------------------------- */

.mov_play{
  position: relative;
  cursor: pointer;
}
.mov_play::before {
  content: '';
  position: absolute;
  z-index: 1;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
  transition: all 0.3s;
  border-radius: 10px;
}
.mov_play::after {
  font-family: "Font Awesome 5 Free";
  content: '\f144';
  font-weight: 900;
  font-size: 60px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  line-height: 80px;
  position: absolute;
  z-index: 2;
  display: inline-block;
  top: 50%;
  left: 50%;
  opacity: 0.9;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
}
.mov_play:hover::before {
  background: rgba(0,0,0,0);
}
.mov_play:hover::after {
  font-size: 70px;
}

/* ==================================================================== */
/* 動画でものづくりフェスタ動画 */
/* ==================================================================== */


.mov_festa {}
.mov_festa > li {
  background: #f7f5f5;
  margin-bottom: 7vh;
}

.fes_meta {
  text-align: left;
  padding: 3% 2%;
}
.fes_meta dt {
  /* color: #00b4e6; */
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.7;
    margin-top: 0.3em;
    margin-bottom: 0.5em;
}
#tour .fes_meta dt {
  color: deeppink;
}

.fes_meta dd {
  font-size: 10px;
  line-height: 1.5;
}

@media screen and (min-width: 520px){
  .mov_festa {
    margin-bottom: 6vh;
  }
  .mov_festa > li {
    background: transparent;
  }
  .fes_meta dt {
    color: #00b4e6;
    font-size: 1.1em;
    font-weight: 700;
      margin-bottom: 1rem;
  }
  .fes_meta dd {
    font-size: 14px;
    margin-bottom: 0.8rem;
  }
}


/* ==================================================================== */
/* 工場見学動画 */
/* ==================================================================== */
.tour_title_wrapper {}
.tour_title_img img {
  width: 80%;
}
.pink_font {
  color: #e60a82;
}
@media screen and (min-width: 520px){
  .tour_title_wrapper {
    width: 94%;
    margin: 0 auto;
  }
  .tour_title {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
  }
  .tour_title_wrapper > figure {
    flex-basis: 40%;
  }
  .tour_title_wrapper > div {
    flex-basis: 60%;
  }
  .sub_font {
    font-size: 0.6em;
    padding-right: 10px;
  }
}
.tour_title {
  width: 84%;
  max-width: 720px;
  margin: 0 auto 2em;
}
.tour_title img {
  width: 100%;
}

.stu_tour figure > img,
.stu_tour figure > iframe {
  background: #fff;
}

.stu_tour dl {
  text-align: center;
}




/* ----------工場見学工場リスト---------- */

.fac_list_main {
  margin-bottom: 4em;
}

@media screen and (min-width: 520px){
  .fac_list_main > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3em;
  }
  .fac_list_main > li:nth-child(2n) {
    display: flex;
    flex-direction: row-reverse;
  }
  .fac_list_main > li > div{
    flex-basis: 55%;
  }
  .fac_list_main > li > dl{
    flex-basis: 45%;
  }
}

.mov_list_sub {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin: 0 -1%;
}
.mov_list_sub > li {
  flex-basis: 50%;
  padding: 0 1%;
  margin-bottom: 3em;
}
.mov_list_sub figure {
  position: relative;
  width: 100%;
}
.fac_sub_title {
  font-size: 1em;
  font-weight: 500;
  margin-top: 3%;
  margin-bottom: 0;
  color: deeppink;
}
@media screen and (min-width: 520px){
  .mov_list_sub {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    justify-content: flex-start;
    margin: 0 -3%;
  }
  .mov_list_sub > li {
    flex-basis: 50%;
    padding: 0 3%;
  }
}
@media screen and (min-width: 958px){
  .mov_list_sub {
    margin: 0 -3%;
  }
  .mov_list_sub > li {
    flex-basis: 33.333%;
    padding: 0 3%;
  }
}


/* ==================================================================== */
/* 工場見学 */
/* ==================================================================== */
#tour {
  position: relative;
  text-align: center;
  padding: 10vh 0 20vh;
  background: #fff000;
}
#tour::after {
  content: '';
  width: 100%;
  padding-top: 18%;
  position: absolute;
  bottom: -5px;
  left: 0;
  background-image: url('../img/town_bg_ba.gif');
  background-size: 100%;
  background-position: bottom center;
  background-repeat: no-repeat;
}
.big_font {
  font-size: 1.2em;
}
.tool_bg_l,
.tool_bg_r {
  position: absolute;
  width: 13%;
  height: 100%;
  min-height: 100%;
  top: 0;
  background-repeat: repeat-y;
  background-size: 200% auto;
  z-index: 0;
}
.tool_bg_l {
  background-image:
  url('../img/item_L_bg.png');
  background-position: right top;
  left: 0;
}
.tool_bg_r {
  background-image:
  url('../img/item_R_bg.png');
  background-position: 0% top;
  right: 0;
}
@media screen and (min-width: 520px){
  #tour::after {
    background-size: 50%;
    padding-top: 9%;
    background-position: bottom center;
    background-repeat: repeat-x;
  }
}
@media screen and (min-width: 956px){
  .tool_bg_l,
  .tool_bg_r {
    position: absolute;
    width: 7%;

    background-size:150%;
  }
}

/* ==================================================================== */
/* 学生リポート */
/* ==================================================================== */
.balloon {
  display: inline-block;
  background: #fff;
  border-radius: 30px;
  position: relative;
  padding: 30px;
  margin-bottom: 6vh;
  width: 86%;
  box-shadow: 0 10px 10px 0px rgba(0,0,0,0.3);
  /* transform: rotate(-2deg); */
}
.balloon::before {
  content: '';
  border: 12px solid transparent;
  border-top: 12px solid #fff;
  width: 0;
  height: 0;
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 13px 8px rgba(0,0,0,.5));
}
.stu_rep {
  text-align: justify;
  line-height: 2;
  font-weight: 700;
}

.stu_tour {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.stu_tour > li{
  width: 100%;
  margin-bottom: 4vh;
}

.stu_tour dt {
  margin: 0.5em auto 0.2em;
  font-weight: 700;
  color:#e60a82;
}



@media screen and (min-width: 520px){
  .stu_tour {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 -2%;
  }
  .stu_tour > li{
    flex-basis: 33.333%;
    padding: 0 2%;
    margin: 0 auto 5vh;
  }
  .stu_tour > li > div {
    flex-basis: 50%;
  }
  .stu_tour > li > dl {
    flex-basis: 50%;
  }
  .stu_tour > li:last-child{
    margin-bottom: 0;
  }
  .stu_rep {
    text-align: center;
    line-height: 2;
    font-weight: 700;
    font-size: 1.2em;
  }

}


/* ==================================================================== */
/* ものづくりマップ・協力企業一覧 */
/* ==================================================================== */
#intro {
  padding: 10vh 0;
  background: #595959;
  color: #fff;
  background-image: url('../img/skybg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 50%;
}
.intro_map_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro_map_wrapper > div {
  padding: 0 3%;
}
@media screen and (min-width: 520px){
  #intro {
    padding: 10vh 0;
    background: #595959;
    color: #fff;
    background-image: url('../img/skybg.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
  }
  .intro_map_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .intro_map_wrapper > figure {
    flex: 0 1;
    flex-basis: 50%;
  }
  .intro_map_wrapper > div {
    flex: 0 1;
    flex-basis: 50%;
  }
}
.intro_map_wrapper h2 {
  background: #fff;
  width: 50%;
  max-width: 370px;
  color: #fff;
  padding: 0.9em 1.2em;
  margin: 0 auto 2em;
  text-align: center;
  font-weight: 700;
  /* border-top: 3px dashed #595959; */
  /* border-bottom: 3px dashed #595959; */
}
.sanka_kigyou {
  /* display: flex; */
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 2em;
  line-height: 1.5;
}
.sanka_kigyou > li {
  display: inline;
  flex: 0 1;
  /* flex-basis: 100%; */
  margin-bottom: 0.5em;
  font-size: 12px;
  flex-basis: 100%;
}

.sanka_kigyou > li a {
  transition: all 0.3s;
}
.sanka_kigyou > li a:hover {
  color: #fff000;
}
.numbering {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  line-height: 1.5em;
  color: #000;
  text-align: center;
  font-weight: 700;
  margin-right: 0.2em;
}
.kyousan span.numbering {
  background: #e60a82;
  color: #fff;
}
.shien span.numbering {
  background: #00b4e6;
  color: #fff;
}
.sanka span.numbering {
  background: #fff000;
}

.map2021 {
  width: 80%;
  margin: 0 auto 5vh;
  text-align: center;
}
.map2021 img {
  width: 100%;
}
.map2021 figcaption {
  display: inline-block;
  margin-top: 0.5em;
}
.map2021 figcaption a {
  display: block;
  background: silver;
  border-radius: 3px;
  padding: 0.6em 2em;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}
.map2021 figcaption a:hover {
  background: #fff000;
  color: #000;
}
@media screen and (min-width: 956px){
  .intro_map_wrapper h2 {
    width: 100%;
    max-width: none;
    margin: 0 auto 1em;
  }
}
/* ==================================================================== */
/* インフォメーションエリア */
/* ==================================================================== */

.info_aria {
  background: #e60a82;
  color: #fff;
  width: 100%;
  text-align: center;
  padding-top: 8vh;
  padding-bottom: 8vh;
  padding-left: 0;
  padding-right: 0;
  position: relative;
}
.labo_bana {
  max-width: 320px;
}
@media screen and (min-width: 956px){
  .labo_bana {
    max-width: 720px;
  }
}
.fb-container {
  width: 100%;
  margin: 0 auto;
}
@media screen and (min-width: 520px){
  .fb-container {
    width: 500px;
  }
}
/* ==================================================================== */
/* フッター */
/* ==================================================================== */
footer {
  text-align: center;
  background: #e60a82;
  color: #595959;
  padding: 17% 0 8%;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  padding-top: 101%;
  max-widht: 400px;
  top: 0;
  left: 0%;
  background-image: url('../img/haguruma.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  transform-origin: center center;

  animation: fadeIn 30s linear infinite;
}
footer p {
  position: relative;
  color: #333;
}
footer a .labo_bana:hover,
footer a img:hover {
  opacity: 0.7;
}
.mini-rogo {
  position: relative;
  margin-bottom: 2vh;
}
.mini-rogo img {
  width: 50%;
  max-width: 300px;
}
.toTop {
  display: block;
  position: absolute;
  z-index: 999;
  top: -35px;
  left: 50%;
  margin-left: -35px;
  width: 70px;
  height: 70px;
  text-align: center;
  line-height: 70px;
  color: #fff000;
  cursor: pointer;
}
.toTop p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
}
.toTop::after {
  content: '';
  z-index: 2;
  display: block;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  background-image: url('../img/haguruma_mini.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  animation: fadeIn 20s linear infinite reverse;
}

@media screen and (min-width: 520px){
  footer {
    text-align: center;
    background: #e60a82;
    color: #595959;
    padding: 9% 0 1vh;
    position: relative;
  }
}

@keyframes fadeIn {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}
