@charset "utf-8";

/* 一覧 */
.tweetBox:nth-of-type(odd) {
  background-color: #f5f5f5;
}

.tweetBox:nth-of-type(even) {
  background-color: #ffffff;
}

.tweetBox a {
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  transition: opacity .2s ease;
}

.tweetImage {
  overflow: hidden;
  border-style: solid;
  border-color: #ffffff;
}

.tweetInfo {
  display: flex;
  justify-content: space-between;
  line-height: 2;
}

.tweetName {
  font-weight: bold;
  font-size: 1.6em;
}

.tweetTime {
  font-size: 1.15em;
}

.tweetText {
  font-size: 1.25em;
  line-height: 1.35;
  max-width: calc(100% - 1em);
  position: relative;
  display: inline;
}

.tweetText span {
  position: absolute;
  bottom: 0;
  right: -1em;
}

/* 個別ページ */
.personalInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.personalThumb img {
  width: 100%;
}

.personalLink {
  background-color: #c2ad61;
  border: 1px solid #c2ad61;
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
}

.personalLink a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}

.tweets_area {
  margin: 0 auto;
}

.personalTweet {
  background-color: rgb(247, 249, 249);
}

.personalTime {
  text-align: right;
}

.personalImage {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgb(207, 217, 222);
}

.personalImage img {
  width: 100%;
}

.next_button button {
  background-color: #c2ad61;
  margin: 0;
  border-radius: 0;
  border: 1px solid #c2ad61;
  box-sizing: border-box;
  box-shadow: none;
  width: 100%;
  height: 100%;
  transition: background-color .2s ease;
  color: #ffffff;
  font-family: inherit;
}

/* =========================================================
 PC用
========================================================= */
@media screen and (min-width: 981px) {
  .middleContents {
    margin-top: 25px;
  }

  /* 一覧 */
  .tweetBox a {
    padding: 27px 22px;
  }

  .tweetBox a:hover {
    opacity: 0.8;
  }

  .tweetImage {
    width: 200px;
    height: 200px;
    border-radius: 200px;
    border-width: 6px;
  }

  .tweetImage img {
    transition: all .2s ease;
  }

  .tweetBox a:hover .tweetImage img {
    transform: scale(1.1);
  }

  .tweetItems {
    width: 690px;
  }

  .tweetInfo {
    margin-bottom: 15px;
  }

  /* 個別ページ */
  .personalInfo {
    margin-top: 40px;
  }

  .personalThumb {
    width: 200px;
    height: 200px;
  }

  .personalLink {
    width: 260px;
    height: 40px;
    line-height: 40px;
    margin-top: 30px;
    transition: background-color .2s ease;
  }

  .personalLink:hover {
    background-color: #ffffff;
    color: #c2ad61;
  }

  .personalLink a {
    font-size: 1.6em;
  }

  .tweets_area {
    width: 900px;
    margin-top: 40px;
  }

  .personalTweet {
    border-radius: 8px;
    padding: 25px 40px;
    font-size: 18px;
    line-height: 1.5;
    width: 600px;
    margin: 0 auto 25px;
  }

  .personalTime {
    font-size: 16px;
  }

  .personalText {
    margin: 0 auto;
  }

  .personalImage {
    border-radius: 20px;
    margin-top: 20px;
  }

  .next_button {
    width: 480px;
    height: 60px;
    margin: 40px auto 0;
  }

  .next_button button {
    font-size: 24px;
  }

  .next_button:hover button {
    background-color: #ffffff;
    color: #c2ad61;
  }

}

/* =========================================================
 スマホ用
========================================================= */
@media screen and (max-width: 980px) {

  /* 一覧 */
  .middleContents {
    margin-bottom: 7%;
  }

  .tweetBox a {
    padding: 4% 3%;
  }

  .tweetImage {
    width: 17vw;
    height: 17vw;
    border-radius: 17vw;
  }

  .tweetItems {
    width: calc(96% - 17vw);
  }

  .tweetName {
    font-size: 1.35em;
  }

  .tweetTime {
    font-size: 1em;
  }

  .tweetText {
    font-size: 1.1em;
  }

  /* 個別ページ */
  .personalInfo {
    margin-top: 7%;
  }

  .personalThumb {
    width: 50%;
    height: 50%;
  }

  .personalLink {
    width: 60%;
    height: 9vw;
    line-height: 9vw;
    margin-top: 4%;
  }

  .personalLink a {
    font-size: 1.3em;
  }

  .tweets_area {
    margin-top: 8%;
    width: 96%;
  }

  .personalTweet {
    border-radius: 1vw;
    padding: 3% 2%;
    line-height: 1.5;
    margin-bottom: 5%;
  }

  .personalText {
    font-size: 1.1em;
  }

  .personalImage {
    margin-top: 3%;
    border-radius: 1.8vw;
  }

  .next_button {
    width: 60%;
    height: 9vw;
    margin: 7% auto 0;
  }

  .next_button button {
    font-size: 1.2em;
  }

}