@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Fascinate&family=Josefin+Sans:wght@700&family=RocknRoll+One&display=swap');
/* 
Extra English font-family: 'Fascinate', cursive;

Major English font-family: 'Josefin Sans', sans-serif;

Japanese(style tag) font-family: 'RocknRoll One', sans-serif; 
*/

h1,h2,h3,h4,h5,h6,p,a,li{margin: 0;}

* {
  font-family: 'Josefin Sans', sans-serif;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #000;
}

h1 {
  font-size: 40px;
  margin-left: 20px;
  margin-top: 20px;
}

h2 {
  font-size: 50px;
  margin-left: 20px;
  margin-top: 60px;
}

h5 {
  font-size: 30px;
  margin-left: 40px;
  margin-top: 20px;
  color: #6594e0;
  border-bottom: dashed 2px #6594e0;
}

h4 {
  font-size: 20px;
  margin-left: 20px;
  margin-top: 60px;
  margin-bottom: 40px;
}

p.st {
  margin-left: 30px;
  margin-top: 10px;
}

.kiyaku {
  margin-left: 30px;
  margin-bottom: 20px;
}

.ja {
  font-family: 'RocknRoll One', sans-serif;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* font-size: 62.5%; */
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
  font-size: 1rem;
}

a.btn-flat {
  overflow: hidden;
  padding: 1rem 4rem;
  color: #fff;
  border-radius: 0;
  background: #000;
}

a.btn-flat span {
  position: relative;
}

a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-96%);
  transform: translateX(-96%);
  background: #eb6877;
}

a.btn-flat:hover:before {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

/* header */
header{
    width: 100%;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 17px;
    padding-left: 30px;
    z-index: 6;
}

body{
    padding-top: 142px;
}

.header_img {
    height: 110px;
}

.header_text {
    line-height: 110px;
    font-size: 30px;
}

header .gnav .menu {
    display: flex;
    margin-top: 0;
    margin-left: 20px;
    font-size: 30px;
}

header .gnav .menu li {
    list-style: none;
    line-height: 110px;
}

header .gnav .menu li + li {
    margin-left: 40px;
}

/* section */
section{
  padding-top: 120px;
  z-index: 5;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 120px;
}

.flex_box {
  padding:  10px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap; 
  color: #fff;
}

.flex_content {
  padding: 10px;  
  margin:  10px;        
  border-radius:  5px;  
}

.flex_content:nth-child(1) { /* mail */
  background-color:  #f73016;
}

.flex_content:nth-child(2) { /* twitter */
  background-color:  #1d9bf0;
}

.flex_content:nth-child(3) { /* discord */
  background-color: #5865f2;
}

.flex_content:nth-child(4) { /* amazon wishlist */
  background-color: #ff9900;
}

.flex_content:nth-child(5) { /* github */
  background-color: #171516;
}

.flex_content:nth-child(6) { /* steam */
  background-color: #03385e;
}

.flex_content:nth-child(7) { /* ko-fi */
  background-color: #ff5e5b;
}

.divlink {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  float: none;
  color:  #fff;  
}

/* works */

.spinoff {
  text-decoration:underline;
  margin-left: 50px;
  top: 20px;
  position: relative;
  font-size: 30px;
}

/* slider */

.slider {
  width: 300px;
  overflow: hidden;
  margin: 0 auto;
}

.slider-item {
  width: 300px;
  float: left;
}

.slider-img{
  width:100%;
}

.slider-inner {
  width: 300%;
  animation: slider 10s infinite ease;
}

@keyframes slider {
	0% {
	transform: translateX(0);
	}
	33% {
	transform: translateX(-300px);
	}
	66% {
	transform: translateX(-600px);
	}
	100% {
	transform: translateX(0);
	}
}

@media screen and (max-width:800px) {
    .header_img {
        display: none;
    }
    .header_text {
        margin-left: -5px;
        line-height: 110px;
        font-size: 18px;
    }
    header .gnav .menu {
      margin-left: 0px;
        font-size: 20px;
    }
    header .gnav .menu li + li {
        margin-left: 15px;
    }
    .switch {
      display: none;
    }
}

/* intro */
.intro {
  display: grid;
}

#intro-text {
  font-size: 20px;
  grid-template-rows: 150px 50px;
  grid-template-columns:200px 1fr;
}

.introA {
  grid-row: 1 / 3;
  grid-column: 1;
  /* background-color: #000; */
  text-align: center;
}

.introB {
  grid-row: 1 / 2;
  grid-column: 2/3;
}

.introC {
  grid-row: 2 / 3;
}