@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=M+PLUS+1p&display=swap');

/*
font-family: 'Kiwi Maru', serif;
font-family: 'M PLUS 1p', sans-serif;
*/


/*全体設定*/
*{
  box-sizing: border-box;
}
  
body{
  margin: 0;
  font-family: 'Kiwi Maru', serif;
}
  
a{
  text-decoration: none;
}
  
.container{
  width: 80%;
  margin: 0 auto;
  flex-wrap: wrap;
  margin: 0 auto;
}

.window{
  text-align: left;
  width: 75%;
  flex-wrap: wrap;
  border-radius: 20px;
	padding: 1% 6% 1% 6%;
	background-color: #fff;
	border-bottom: 5px solid #b5cdfb;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  line-height: 3em;
}

*,*:before,*:after{
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
  
html{
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

/*ヘッダー*/
header{
  height: 65px;
  width: 100%;
  background-color: #3f72af;
  position :fixed;
  top: 0;
  z-index: 10;
}

.header-left{
  font-size:36px;
  color:#fff;
  float: left;
  padding: 4px;
}

.header-right{
  float: right;
}

.header-right a{
  font-size:16px;
  font-weight:600;
  line-height: 65px;
  padding: 0 20px;
  color: #fff;
  display: block;
  float: left;
  transition: all 0.5s;
}

.header-right a:hover{
  background-color: rgba(255, 255, 255, 0.3);
}

/*ハンバーガーメニュー*/
.pc-head{
  display: block;
}

.hamburger-menu {
  display: block;
  width: 50px;
  height: 53px;
  position: relative;
  cursor: pointer;
  margin-top: 6px;
  margin-bottom: 6px;
  display: none;
}

.hamburger-menu-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background-color: rgb(255, 255, 255);
  transition: all 0.4s ease-in-out;
  z-index: 10;
}

.hamburger-menu-line:nth-child(1) {
  top: 10%;
}

.active_1 .hamburger-menu-line:nth-child(1){
  top: 10%;
  width: 40%;
  transform: translate3d(5px,9px,0) rotate(45deg);
}

.hamburger-menu-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.active_1 .hamburger-menu-line:nth-child(2){
  width: 105%;
  transform:rotate(-45deg);
}

.hamburger-menu-line:nth-child(3) {
  bottom: 10%;
}

.active_1 .hamburger-menu-line:nth-child(3){
  bottom: 10%;
  width: 40%;
  transform: translate3d(28px,-4px,0) rotate(45deg);
}

.navigation-menu{
	position: fixed;
	right: -100%;
	top: 0;
	width: 50%;
	height: 100vh; 
	background-color:#5684bd; 
	transition: all 0.5s; 
  margin-top: 65px;
  font-size:28px;
  display: none;
}

.navigation-menu ul{
	padding-left: 10%;
  padding-right: 10%;
  margin-top: 0%;
}

.navigation-menu li{
  list-style: none;
  border-bottom: solid 3px #ffffff;
  border-radius: 3px;
  text-align: center;
  padding-bottom: 20px;
  padding-top: 20px;
}

.navigation-menu li .nav-top{
  padding-top: 0px;
}

.navigation-menu a{
  color: #ffffff;
}

.navigation-menu.active{
	right:0;
}

/*ウェルカム*/  
.toppage{
  padding: 120px 0 100px 0;
  background-image: url(https://res.cloudinary.com/dtifkcohv/image/upload/v1687189207/system%20images/toppage/top_ffq3bn.png);
  background-size: cover;
  color: #000;
  text-align: center;
}
  
.toppage h1{
  font-size: 60px;
  letter-spacing: 5px;
}
  
.toppage p{
  opacity: 1.0;
  font-size: 24px;
  margin-bottom: 40px;
}
  
.top_button{
  font-size:16px;
  text-align: center;
}
  
.top_button p{
  margin-bottom: 20px;
}

.latest{
  background-color: #3b5998;
  margin-right: 10px;
  border:1.5px solid #2d4374;
}

.tag{
  background-color: #ffca39;
  border:1.5px solid #db9511;
}

.twitter{
  background-color: #55acee;
  border:1.5px solid #448cc4;
}

.btn{
  padding: 8px 24px;
  color: white;
  display: inline-block;
  border-radius: 4px;
  text-align: center;
}

.btn:hover{
  color: #b3aeb5;
}

.top-size h1{
  font-size: calc(24px + 2vw);
}

.top-size p{
  font-size: calc(18px + 0.5vw);
}

.window-end{
  margin-bottom: 0px;
}

/*ヘッドライン*/
.headline{
  padding-top: 10px;
  padding-bottom: 20px;
  text-align: center;
  background-color: #dbe2ef;
}

.headline .window{
  width:calc(80% - 5vw);
}

.headline h1{
  opacity: 0.9;
  font-size: 36px;
  letter-spacing: 5px;
  color: 2e2e2e;
}

.headline h2{
  opacity: 1.0;
  font-size: 24px;
  color: 2e2e2e;
}
  
.headline p{
  opacity: 1.0;
  font-size: 16px;
  font-family: 'M PLUS 1p', sans-serif;
  color: 333333;
}

.genre{
  height:350px;
  max-width: 180px;
  background-color: #fff;
  border: 2px solid #5f5d60;
  float: left;
  margin:30px 10px 0px 10px;
}

.genre h2{
  color:#000;
  font-size: 24px;
}

.genre p{
  color:#000;
  font-size: 18px;
}

.genre-icon-game{
  width:170px;
  height:170px;
  background-image: url(../images/toppage/game-icon.png);
  background-size: cover;
  position: relative;
}

.genre-icon-invent{
  width:170px;
  height:170px;
  background-image: url(../images/toppage/3d-icon.png);
  background-size: cover;
  position: relative;
}

.genre-icon-study{
  width:170px;
  height:170px;
  background-image: url(../images/toppage/study-icon.png);
  background-size: cover;
  position: relative;
}

.genre-icon-diary{
  width:170px;
  height:170px;
  background-image: url(../images/toppage/diary-icon.png);
  background-size: cover;
  position: relative;
}

.genre-title{
  font-size: 24px;
  text-align:center;
}

.genre-text{
  font-size: 13px;
}

.genres{
  background-size: cover;
  color: #000;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}

/*フッター*/
footer{
  height: 65px;
  background-color: #112d4e;
}

footer a{
  color: #fff;
}

.site_cr{
  width: 60%;
  font-size: calc(20px + 0.5vw);
  float: left;
  padding-top: 14px;
  padding-left: 30px;
}

.site_legal{
  width: 40%;
  font-size: calc(16px + 0.5vw);
  float: left;
  padding-top: 16px;
  padding-right: 70px;
  text-align: right;
}

/*吹き出し*/
.balloon-set-box {
  display: flex;
  flex-wrap: nowrap;
  padding-left: 5%;
}

.balloon-set-box { /* 左 */
  flex-direction: row;
}

.balloon {
  position: relative; /* 三角の位置を固定するために設定 */
  display: inline-block;
  margin: 20px 0px 0 15px; /* 上 左右 下のマージン */
  padding: 8px 15px; /* ふきだし内の余白 */
  background: #dbe2ef; /* 背景色 */
  text-align: left; /* テキストの揃え */
  border-radius: 15px;
  margin-bottom: 20px;
  max-width: 80%;
}

.balloon p {
  font-size: 15px;
  font-family: "M PLUS 1p", sans-serif;
  margin-top: 5px;
  margin-bottom: 5px;
}

.balloon::after {
  content: '';
  border: 14px solid transparent;
  border-top-color: #dbe2ef;
  position: absolute;
  top: 0;
  left: -10px;
}

.icon-box {
  width: 100px;
  height: 60px;
}

.icon-box p{
    text-align: center;
    position: relative;
    font-size: 16px;
    color: #000;
    margin-top: -6px;
}

.icon{
  width: 60px;
  height: 60px;
  border-radius: 6px;
}

/**/
@media all and (max-width: 1000px) {
  .headline .window{
    width:98%;
  }

  .container {
    width: 95%;
    margin: 0 auto;
    flex-wrap: wrap;
    margin: 0 auto;
  }

  .contain {
    width: 95%;
  }
}

/**/
@media all and (max-width: 750px) {
  .balloon-set-box {
    display: flex;
    flex-wrap: nowrap;
    padding-left: 0;
  }
  
  .balloon-set-box { /* 左 */
    flex-direction: row;
  }

  .balloon {
    position: relative; /* 三角の位置を固定するために設定 */
    display: inline-block;
    margin: 20px 0px 0 15px; /* 上 左右 下のマージン */
    padding: 8px 15px; /* ふきだし内の余白 */
    background: #dbe2ef; /* 背景色 */
    text-align: left; /* テキストの揃え */
    border-radius: 15px;
    margin-bottom: 20px;
    max-width: 80%;
  }

  .balloon p {
  font-size: 15px;
  font-family: "M PLUS 1p", sans-serif;
  margin-top: 5px;
  margin-bottom: 5px;
  }

  .site_cr{
    width: 60%;
    font-size: 24px;
    float: left;
    padding-top: 14px;
    padding-left: 30px;
  }
  
  .site_legal{
    width: 40%;
    font-size: 20px;
    float: left;
    padding-top: 16px;
    padding-right: 40px;
    text-align: right;
  }
}

/**/
@media all and (max-width: 670px) {
  .pc-head{
    display: none;
  }

  .hamburger-menu{
    display: block;
  }

  .navigation-menu{
    display: block;
  }
  
  .icon-box {
    width: 60px;
    height: 45px;
  }

  .icon{
    width: 45px;
    height: 45px;
    border-radius: 5px;
  }

  .site_cr{
    width: 50%;
    font-size: 20px;
    float: left;
    padding-top: 14px;
    padding-left: 30px;
  }
  
  .site_legal{
    width: 50%;
    font-size: 20px;
    float: left;
    padding-top: 16px;
    padding-right: 40px;
    text-align: right;
  }

  .navigation-menu{
    width: 60%;
  }

  .top-size h1{
    font-size: 28px;
  }
  
  .top-size p{
    font-size: 18px;
  }
}