@import url('https://fonts.googleapis.com/css?family=Khand:500');
* {
  margin: 0;
  padding: 0;
}

section#twitter_box {
  position: relative;
  padding-top: 80px;
  padding-bottom: 104px;
  background-image: url(../images/yakyu/twitter_bg.jpg)
}
section#twitter_box img.twitter_icon {
  width: 100px;
  height: auto;
  display: block;
  position: absolute;
  left: calc(50% - 50px);
  top: -50px;
}
section#twitter_box .cotent_wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
section#twitter_box .cotent_wrapper h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: 'Khand', sans-serif;
  text-align: center;
  font-size: 45px;
  line-height: 1em;
  letter-spacing: 0.1em;
}
section#twitter_box .cotent_wrapper h3 {
  margin-top: 0;
  margin-bottom: 38px;
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  line-height: 1em;
}
section#twitter_box .cotent_wrapper .entry_list {
  min-width: inherit;
  height: auto;
  margin: 0 auto;
  padding: 0 14px 30px;
}
section#twitter_box .cotent_wrapper a.readmore {
  display: block;
  width: 250px;
  height: 70px;
  margin: 0 auto;
  background-color: #ffffff;
  color: #00afec;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  line-height: 70px;
  border-radius:36px;
  -moz-border-radius:36px;
  -webkit-border-radius:36px;
  font-weight: bold;
}
section#twitter_box .cotent_wrapper a.readmore img {
  margin-top: -0.5em;
  margin-right: 1em;
  vertical-align: middle;
}
section#twitter_box .cotent_wrapper #container-tw > div {
  display: block;
  width: 287px;
  margin-bottom: 10px;
  padding: 20px 17px;
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  overflow: hidden;
  background-color: #ffffff;
  box-sizing: border-box;
  color: #000000;
  text-decoration: none;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
section#twitter_box .cotent_wrapper #container-tw div dl {
  margin: 0;
  margin-bottom: 1em;
}
section#twitter_box .cotent_wrapper #container-tw div dl dd {
  margin-top: -54px;
  margin-left: 31.872509960159363%;
}
section#twitter_box .cotent_wrapper #container-tw div dl dd,
section#twitter_box .cotent_wrapper #container-tw div.tweet {
  font-size: 14px;
  line-height: 20px;
}
section#twitter_box .cotent_wrapper #container-tw div a.keyword {
  display: inline-block;
  color: #00afec;
  text-decoration: none;
  font-weight: bold;
}
section#twitter_box .cotent_wrapper #container-tw div span.name {
  font-weight: bold;
}



@media only screen and (max-device-width:750px) {
  section#twitter_box {
    position: relative;
    padding-top: 20vw;
    padding-bottom: 14.666666666666667vw;
  }
  section#twitter_box img.twitter_icon {
    width: 24vw;
    height: 24vw;
    left: calc(50% - 12vw);
    top: -12vw;
  }
  section#twitter_box .cotent_wrapper .entry_list {
    padding: 0 4.8vw 5.333333333333333vw;
  }
  section#twitter_box .cotent_wrapper h2 {
    margin-top: 0;
    margin-bottom: 5.333333333333333vw;
    text-align: center;
    font-size: 8vw;
  }
  section#twitter_box .cotent_wrapper h3 {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6.666666666666667vw;
    font-size: 3.466666666666667vw;
    line-height: 1.2em;
    font-weight: normal;
  }
  section#twitter_box .cotent_wrapper #container-tw div {
    width: 44vw;
    margin-bottom: 2vw;
    padding: 3.333333333333333vw;
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
    border-radius: 0.8vw;
    -webkit-border-radius: 0.8vw;
    -moz-border-radius: 0.8vw;
    overflow: hidden;
  }
  section#twitter_box .cotent_wrapper #container-tw div dl dt img {
    width: 12vw;
    height: auto;
  }
  section#twitter_box .cotent_wrapper #container-tw div dl dd {
    margin-top: -13vw;
    margin-left: 17.733333333333333vw;
  }
  section#twitter_box .cotent_wrapper #container-tw div dl dd,
  section#twitter_box .cotent_wrapper #container-tw div.tweet {
    padding: 0;
    font-size: 3.2vw;
    line-height: 1.583333333333333em;
    word-break: break-all;
  }
  section#twitter_box .cotent_wrapper #container-tw div.tweet {width: 100%;}
  section#twitter_box .cotent_wrapper a.readmore {
    width: 46.666666666666667vw;
    height: 13.333333333333333vw;
    font-size: 3.466666666666667vw;
    line-height: 13.333333333333333vw;
    border-radius: 6.666666666666667vw;
    -moz-border-radius: 6.666666666666667vw;
    -webkit-border-radius: 6.666666666666667vw;
  }
  section#twitter_box .cotent_wrapper a.readmore img {
    width: 5.066666666666667vw;
    height: auto;
    margin-top: -0.2em;
    margin-right: 0.5em;
    vertical-align: middle;
  }
}
