/* common */
body {
  font-family: 'YuGothic', "游ゴシック体", "メイリオ", sans-serif;
  /* font-family: "Hiragino Sans",'Meiryo',sans-serif; */
  color: rgb(57, 29, 4);
}
/* ヘッダー */
.h1 {
  display: flex;
  justify-content: space-between;
}
.h1 img {
  width: 40%;
  padding: 15px 0 0 25px;
}
.sns {
  width: 50%;
  margin: 18px 18px 0 0;
  display: flex;
  justify-content: space-between;
}
.sns a i {
  color: rgb(57, 29, 4);
  opacity: 0.8;
  padding-left: 8px;
}
.sns a :hover {
  opacity: 1.0;
}

header nav {
  width: 90%;
  padding-top: 3px;
  margin: 8px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
header nav div {
  width: 30%;
  margin-bottom: 5px;
}
header nav a {
  display: block;
  text-decoration: none;
  color: rgb(57, 29, 4);
  font-size: 0.6em;
  font-weight: bold;
  text-align: center;
  padding: 5px;
}
header nav div :hover {
  opacity: 0.6;
}
header nav a.display {
  background: rgba(255, 191, 233, 0.5);
  border-radius: 13px;
}

/* メイン */
/* スライドショー */
main {
  width: 95%;
  margin: 0 auto;
}

.title {
  /* color: rgb(57, 29, 4); */
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  padding: 15px;
}

main img {
  /* 画像の底の部分を img が配置されている行ボックスの底に合わせて配置 */
  vertical-align: bottom;
}

main nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
}

#main {
  width: 100%;
  margin-bottom: 8px;
}
#main1 {
  display: block;
  width: 60%;
  margin: 0 auto 8px auto;
}

main nav {
  margin-bottom: 8px;
}

main ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

main nav li {
  border: 1px solid rgb(57, 29, 4);
  background:  rgb(57, 29, 4);
  border-radius: 6px;
  font-size: 0.75rem;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  user-select: none; /* 連打された場合もテキストが選択されてしまわないよう */
}

main nav li:hover {
  border:  rgb(107, 71, 38);
  background: rgb(107, 71, 38);
}

#play {
  width: 45%;
  font-weight: bold;
  color:  #fff;
}
#play1 {
  width: 45%;
  font-weight: bold;
  color:  #fff;
}

#prev,
#next {
  width: 20%;
  color: #fff;
}
#prev1,
#next1 {
  width: 20%;
  color: #fff;
}

.thumnails {
  display: grid;
  grid-template-columns: repeat(5, 20%);
}
.thumnails1 {
  display: grid;
  grid-template-columns: repeat(5, 20%);
}

.thumnails li {
  cursor: pointer;
  opacity: 0.4;
}
.thumnails1 li {
  cursor: pointer;
  opacity: 0.4;
}

.thumnails li:hover,
.thumnails li.current {
  opacity: 1;
}
.thumnails1 li:hover,
.thumnails1 li.current {
  opacity: 1;
}

.thumnails img {
  width: 100%;
}
.thumnails1 img {
  width: 100%;
}
/* GAME */

/* SLOT */
.gamewrapper {
  font-weight: bold;
  font-family: Arial, sans-serif;
}
.gamename {
  font-family: Impact, sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  text-align: center;
  font-weight: bold;
  margin: 20px 0;
}

.slot {
  width: 80%;
  background:  rgba(255, 191, 233, 0.7);
  padding: 18px 18px 18px 20px;
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.panel {
  width: 100%;
  margin: 0 auto;
}
.panel img {
  width: 95%;
  margin: 4px auto;
}

.stop {
  cursor: pointer;
  width: 95%;
  background: rgb(107, 71, 38);
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5rem;
  text-align: center;
  color: #fff;
  user-select: none;
}

#spin {
  cursor: pointer;
  width: 50%;
  background: rgb(107, 71, 38);
  border-radius: 20px;
  font-size: 1.2rem;
  line-height: 2rem;
  text-align: center;
  color: #fff;
  user-select: none;
  margin: 8px auto;
}

.unmatched {
  opacity: 0.5;
}

.inactive {
  opacity: 0.5;
}
/* Baby */
.babyscreen {
  display: block;
  width: 85%;
  margin: 0 auto;
}
.description {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 20px;
}
.description1 {
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: 20px;
}
/* NEWS */
.wrapper {
  padding-top: 10px;
}
.content {
  text-align: left;
  padding: 10px;
}
.date {
  font-size: 0.8rem;
  padding: 10px;
}
.comment {
  font-size: 0.8rem;
  line-height: 1.2rem;
  font-weight: bold;
  padding: 10px;
}
.comment a {
  text-decoration: none;
  font-size: 1.1rem;
  color: rgb(57, 29, 4);
  padding-right: 5px;
}
.comment a:hover {
  cursor: pointer;
  opacity: 0.6;
}
.content img {
  display: block;
  width: 70%;
  margin: 10px auto;
}
/* BLOG */
.blogdate {
  text-align: left;
}
.blogtitle {
  text-align: left;
  font-size: 0.9rem;
  font-weight: bold;
}
.blogcomment {
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.2rem;
  font-weight: bold;
  padding: 10px;
}
/* PROFILE */
.work {
  margin-top: 15px;
}
.work img {
  display: block;
  width: 70%;
  margin: 0 auto;
}
.name {
  text-align: center;
  font-weight: bold;
  font-size: 0.7rem;
  padding: 10px;
}
/* CONTACT */


/* フッター */
footer {
  margin: 70px 0 10px;
  display: flex;
  justify-content: space-between;
}
.copyright {
  font-size: 0.8em;
  font-weight: bold;
  text-align: center;
  padding-top: 30px;
}
.homeicon img {
  display: block;
  width: 40%;
  float: left;
  margin: 3px 0 0 10px;
  animation: shake 2s infinite alternate;
}
@keyframes shake {
  0% {transform: rotate(10deg);}
  50% {transform: none;}
  100% {transform: rotate(-10deg);}
}
.topicon img {
  display: block;
  width: 45%;
  float: right;
  margin-right: 10px;
  animation: updown 1s infinite alternate;
}
@keyframes updown {
  0% {transform: none;}
  100% {transform: translate(0, -10px);}
}


/* midium screen */
@media (min-width: 600px) {

  /* ヘッダー */
  .h1 img {
    width: 50%;
    padding: 20px 0 0 35px;
  }
  .sns {
    width: 15%;
    margin: 35px 35px 0 0;
    font-size: 1.8rem;
  }

  header nav {
    width: 80%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
  }
  header nav div {
    width: 15%;
    margin-bottom: 0;
  }
  header nav a {
    font-size: 1.1em;
  }

  /* メイン */
  /* スライドショー */

  main {
    width: 75%;
    margin: 0 auto;
  }
  .title {
    font-size: 1.8rem;
    margin-top: 25px;
  }
  main nav li {
    font-size: 0.9rem;
    padding: 8px;
  }
  #play {
    width: 48%;
  }
  #play1 {
    width: 48%;
  }
  /* GAME */
  /* SLOT */
  .gamename {
    font-size: 2.5rem;
    margin: 35px 0;
  }
  .slot {
    width: 60%;
    border-radius: 13px;
    padding: 30px 30px 30px 37px;
  }
  .stop {
    font-size: 1.5rem;
    line-height: 1.8rem;
    margin-top: 5px;
  }
  #spin {
    width: 40%;
    font-size: 2rem;
    line-height: 2.5rem;
    margin: 15px auto;
  }
  /* Baby */
  .babyscreen {
    width: 50%;
  }
  /* NEWS */
  .content {
    text-align: center;
  }
  .comment {
    font-size: 1rem;
    line-height: 1.3rem;
  }
  .comment a {
    font-size: 1.3rem;
  }
  /* BLOG */
  .blogdate {
    margin-left: 15px;
  }
  .blogtitle {
    font-size: 1rem;
    margin-left: 15px;
  }
  .blogcomment {
    padding: 25px;
    font-size: 0.9rem;
  }
  .blogsub {
    text-align: center;
  }
  /* PROFILE */
  .name {
    font-size: 0.9rem;
  }
  .work img {
    width: 50%;
  }

  /* フッター */
  .copyright {
    font-size: 1rem;
    padding-top: 80px;
  }
  .homeicon img {
    width: 30%;
    margin: 6px 0 0 15px;
    
  }
  .topicon img {
    width: 35%;
  }
}

/* large screen */
@media (min-width: 1050px) {

  .sns {
    width: 10%;
    margin: 40px 50px 0 0;
    font-size: 2rem;
  }

  /* ヘッダー */
  header nav {
    width: 65%;
  }

  /* メイン */
  /* スライドショー */
  main {
    width: 55%;
    margin: 0 auto;
  }
  #main1 {
    width: 50%;
  }
  main nav li {
    padding: 10px;
  }
  /* GAME */
  /* SLOT */
  .gamename  {
    font-size: 3rem;
    margin: 20px;
  }
  .stop {
    font-size: 2rem;
    line-height: 2.5rem;
    margin-top: 10px;
  }
  #spin {
    font-size: 2.5rem;
    line-height: 3rem;
    margin: 20px auto;
  }
}