@charset "UTF-8";

html {
  height: 100%;
  background-size: 100% auto;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
}

h1 {
  font-family: 'Comforter Brush', cursive;
  font-size: 45px;
}

h2 {
  font-family: 'Zen Maru Gothic', serif;
}

p {
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.name_plate {
  font-size: 25px;
}

header hgroup {
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #313131;
  padding: .5em 3em;
  z-index: 2;
}

.main_section {
    position: relative;
    display: block;
    height: 100%;
    width: 100vw;
}

.topcontents_section {
  position: absolute;

  height: 100%;

  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  text-align: center;
  z-index: 5;
}

.loop_section {
  position: relative;
  height: 100%;
  z-index: 1;
}

.left_sentence {
  margin: 0 auto;
  width: 330px;
  text-align: left;
}

/* loading page */

.loader-bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: white;
  background-size: 100% auto;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
}

/* top contents */

.logo {
  position: absolute;
  width: 80%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;

  animation: loop 1s infinite ease-in-out .8s alternate;
  display: inline-block;
  transition: 1.5s ease-in-out;
}

.logo_under {
  position: absolute;
  width: 80%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.width100 {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
  position:relative;
}

.width100 img {
	display: block;
	width: 100%;
	height: auto;
  position:absolute;
  top: 50%;
}

.header_logo {
  width: 200px;
  margin-left: 8px;
  margin-top: 8px;
}

.iframe_youtube {
  width: 320px;
  height: 180px;
}

.iframe_instagram {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

/* codepen */

header {
  position: relative;
  overflow: hidden;
  background-color: white;
  /* Image Credit: Unsplash.me */
  background-size: cover;
  z-index: 2;
}

.top_header {
  height: 400px;
}

.contents_header {
  height: 400px;
}

header .contents {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
header .overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background:#333 center no-repeat;
  background-size: cover;
  z-index: 2;
  opacity: 0;
  -webkit-filter: blur(4px);
  filter: blur(4px);
}
img {
  margin-right:20px
}
.site {
  padding: 20em 0;
  text-align: center;
  background-color: #efefef;
  font-size: .8em;
  color: #444;
  position:relative;
  z-index: 1;
}
.site a {
  color: #666;
  text-decoration: none;
}
.site a:hover {
  color: #222;
}

.site nav{
  position:absolute;
  top:0;
  left:0;
  background:#ffffff;
  width:100%;
  z-index: 10;
}
.site nav a{
  padding:12px 25px;
  font-size:1.1em;
  display:inline-block
}
.site nav a:hover{
  background:#333;
  color:#fff
}

.contents {
  padding: 20em 0;
  text-align: center;
  background-color: #efefef;
  font-size: .9em;
  color: #444;
  position: relative;
  z-index: 80;
}
.contents a {
  color: #666;
  text-decoration: none;
}
.contents a:hover {
  color: #222;
}

.contents nav{
  position:absolute;
  top:0;
  left:0;
  background:#ffffff;
  width:100%
}
.contents nav a{
  padding:30px 50px;
  font-size:1.3em;
  display:inline-block
}
.contents nav a:hover{
  background:#333;
  color:#fff
}

.zero_section {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -140px;
}

.zero_section p {
  width: 100%;
  height: auto;
  font-size: 14px;
  margin-bottom: 130px;
  line-height: 2.0em;
}

.zero_section img {
  margin: 0 auto;
  width: 90%;
}

.first_section {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -120px;
}

.fifth_section {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 190px;
  margin-bottom: -285px;
  background-color: #131313;
}

.white {
  color: #ffffff;
}

/* loop animation */

@keyframes loop {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

.js-box {
  display: none;
}

.item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  width: 300px;
  height: 200px;
  color: #fff;
  background-color: #000066;
}

@media screen and (min-width:750px) {

  .left_sentence {
    width: 600px;
  }

  .zero_section p {
    font-size: 16px;
  }

  .zero_section img {
    margin: 0 auto;
    width: 720px;
  }

  .topcontents_section {
    width: 750px;
  }

  .loop_wrap {
    width: 180vw;
  }

  .header_logo {
    width: 300px;
    margin-left: 30px;
    margin-top: 30px;
  }

  .site {
    padding: 20em 0;
    font-size: .9em;
  }

  .site nav a{
    font-size:1.3em;
  }

  .iframe_youtube {
    width: 560px;
    height: 315px;
  }

  .iframe_instagram {
    width: 100%;
    height: 330px;
  }

  h1 {
    font-size: 55px;
  }
}

@media screen and (min-width:1000px) {

  .left_sentence {
    width: 800px;
  }

  .zero_section p {
    font-size: 19px;
  }

  .zero_section img {
    margin: 0 auto;
    width: 950px;
  }

  .topcontents_section {
    width: 750px;
  }

  .loop_wrap {
    width: 120vw;
  }

  .iframe_instagram {
    width: 990px;
    height: 330px;
  }
}