/* 全ページに適用するスタイル
-----------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}

ol, ul {list-style: none;}
a img {border: 0;}
a:link, a:active, a:visited, a:hover {
  text-decoration: none;
  color: #000000; 
}

*, *:before, *:after {
padding: 0;
margin: 0;
box-sizing: border-box;
}

body {
  margin: 0 auto;
  font-family: "BIZ UDPGothic","Montserrat","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
  word-wrap: break-word;
  background-color: #a2a2a2;
}



/*PC*/
.w_wrapper {
  margin: 0 auto;
  width: 1320px;
}

.w_logo-wrapper {
  height: 150px;
  position: relative;
  background-color: #fff;
}

.w_logo-wrapper img {
  position: absolute;
  top: 35px;
  left: 25px;
  width: 303px;
  height: 61px;
}

.w_marquee-wrapper {
  height: 55px;
  width: auto;
  position: relative;
  background-color: #359739;
  overflow: hidden;
}

.w_marquee-text {
  font-size: 25px;
  font-weight: bold;
  color: #ffffff;
  transform: translateX(100%);
  animation: marquee 15s linear infinite;
  line-height: 55px;
}

@keyframes marquee {
  0% {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.w_event-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 14px 20px;
  gap: 30px 20px;
}

.w_event-card-wrapper {
  width: 240px;
  height: 670px;
  display: inline-block;
  position: relative;
  background-color: #fff;
}

.w_event-img {
  width: 216px;
  height: 307px;
  margin: 12px 12px 22px;
}

.w_event-title {
  font-size: 16pt;
  font-weight: bold;
  margin-right: 12px;
  margin-left: 12px;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

.w_event-date {
  font-size: 14pt;
  text-align: center;
  margin: 0 12px;
}

.w_event-button {
  width: 216px;
  height: 30px;
  margin: auto 12px 12px;
  position: absolute;
  bottom: 0;
}

/*ここからスマホ*/

@media screen and (max-width: 767px) {
  .w_wrapper {
    width: 100%;
    margin: 0 auto;
  }

  .w_logo-wrapper {
    display: flex;
    justify-content: center; /* 横中央 */
    align-items: center;     /* 縦中央 */
    height: 150px;
    background-color: #fff;
  }

  .w_logo-wrapper img {
    position: static;
    top: auto;
    left: auto;
    display: block;
    width: 60%;
    height: auto;
    margin: 0 auto;
  }

  .w_marquee-wrapper {
  height: 32px;
  width: auto;
  position: relative;
  background-color: #359739;
  overflow: hidden;
}

  .w_marquee-text {
  font-size: 100%;
  font-weight: bold;
  color: #ffffff;
  transform: translateX(100%);
  animation: marquee 15s linear infinite;
  line-height: 32px;
}



  .w_event-card-wrapper {
    background-color: #fff;
    width: 100%;
    height: auto;
    position: relative;
  }

  .w_event-img {
    float: left;
    width: 40%;
    height: auto;
    margin: 5px 0 5px 5px;
  }

  .w_event-info {
    background-color: #fff;
    width: auto;
    height: auto;
    padding: 5px;
    display: flex;
    flex-flow: column;
  }

  .w_event-title {
    font-size: 100%;
    font-weight: bold;
    margin: 10px 10px 5px;
    text-align: left;
  }

  .w_event-date {
    width: auto;
    font-size: 90%;
    text-align: left;
    margin: 0 10px;
    padding-top: 5px;
    border-top: 1px solid #000000;
  }

  .w_event-button {
    position: relative;
    display: block;
    height: auto;
    margin: 15px auto;
    width: 100%;
  }

}
