@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}

/*
body {
  background: #fff url('../image/check.jpg') no-repeat fixed left bottom;
  background-size: cover;
  color: #fff;
  text-align: center;
  font-size: 1.3rem;
  font-family: Raleway, "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}
*/
#fixedwrap {
  background: #fff url('../image/check.jpg') no-repeat fixed left bottom;
  background-size: cover;
  color: #fff;
  text-align: center;
  font-size: 1.3rem;
  font-family: Raleway, "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}


*, *::before, *::after {
  box-sizing: border-box;
}


@media (max-width: 736px) {
#fixedwrap {background:none} /*PC用の背景はオフ*/
body::before {
  content:"";
  display:block;
  position:fixed;
  top:0%;
  left:0%;
  z-index:-1;
  width:100%;
  height:100vh;
  background:url('../image/check.jpg') center/cover no-repeat; 
  -webkit-background-size:cover;/* Android */
  }

}


/* --------------------------------
 * parts
 * -------------------------------- */
.heading {
  position: relative;
  display: inline-block;
  margin: 5px 20 30px;
  padding-bottom: 10px;
  letter-spacing: 2px;
  font-size: 2rem;
}
.heading::before,
.heading::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 5px solid #999;
}
.heading::before {
  bottom: 1px;
}
.button {
  display: inline-block;
  width: 200px;
  padding: 10px;
  border-radius: 4px;
  background-color: #afa58d;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 1.2rem;
}
.button:hover {
  opacity: 0.8;
}
.button-showy {
  background-color: #D29E04;
}
.button-ghost {
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0.15);
}


/* --------------------------------
 * header
 * -------------------------------- */
.header {
  padding: 0px 0px 20px;
}
.site-title-sub {
  margin: 0 s0 px;
  letter-spacing: 1px;
  font-size: 1.8rem;
  color: #ffffff;
}
.site-title-sub::before,
.site-title-sub::after {
  content: '';
  display: inline-block;
  width: 100px;
  height: 2px;
  margin: 0 10px;
  background-color: #ffffff;
  vertical-align: middle;
}
.site-title {
  margin: 0px 0 20px;
  font-size: 4rem;
    color: #ffffff;
}
.site-description {
  margin-bottom: 50px;
  color: #888;
  font-size: 1.6rem;
}
.buttons .button {
  margin: 10px;
}


/* --------------------------------
 * about
 * -------------------------------- */
.about {
  padding: 50px 30px;
  background-color: #fff;
  color: #333;
}
.about-text {
  margin: 30px 0;
  line-height: 2.5;
  
}


/* --------------------------------
 * works
 * -------------------------------- */
.works {
  padding: 20px 20px 30px;
  background-color: #fff;
  color: #333;
}
.works-wrapper {
  display: table;
  width: 100%;
  margin-top: 0px;
  table-layout: fixed;
}
.work-box {
  position: relative;
  display: table-cell;
}
.work-image {
  display: block;
  width: 100%;
  margin: 0 0 60%;
}


@media (max-width: 736px) {
	.work-image {
	  display: block;
	  width: 100%;
	  margin: 0 0 0%;
	}
}

.work-description {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 50%;
  overflow-y: auto;
}
.work-description-inner {
  display: table;
  width: 100%;
  height: 100%;
  padding: 10px;
}
.work-text {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
  font-size: 1.2rem;
  line-height: 2;
}
.work-text .button {
  width: 60%;
  margin-top: 20px;
  padding: 3px;
}
.work-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: no-repeat;
  background-size: 100% 100%;
  opacity: 0.2;
}
.work-box.tenmore::after {
  background-image: none;
}
.work-box.antenna::after {
  background-image: none;
}
.work-box.emma::after {
  background-image: none;
}
.work-box.alohaloha::after {
  background-image: none;
}
.work-box.otsukiyumi::after {
  background-image: none;
}

.work-box.osoto::after {
  background-image: none;
}
.work-box.kimusubi::after {
  background-image: none;
}
.work-box.kuwa::after {
  background-image: none;
}
.work-box.gauche::after {
  background-image: none;
}
.work-box.kode::after {
  background-image: none;
}
.work-box.koba::after {
  background-image: none;
}
.work-box.saka::after {
  background-image: none;
}
.work-box.zac::after {
  background-image: none;
}
.work-box.sali::after {
  background-image: none;
}
.work-box.star::after {
  background-image: none;
}
.work-box.mum::after {
  background-image: none;
}
.work-box.dar::after {
  background-image: none;
}
.work-box.nade::after {
  background-image: none;
}
.work-box.niko::after {
  background-image: none;
}
.work-box.pata::after {
  background-image: none;
}
.work-box.hana::after {
  background-image: none;
}
.work-box.fab::after {
  background-image: none;
}
.work-box.maru::after {
  background-image: none;
}
.work-box.mita::after {
  background-image: none;
}
.work-box.milk::after {
  background-image: none;
}
.work-box.moro::after {
  background-image: none;
}
.work-box.UNI::after {
  background-image: none;
}
.work-box.yoc::after {
  background-image: none;
}
.work-box.cha::after {
  background-image: none;
}


@media (max-width: 736px) {
	.work-box:nth-child(odd) .work-image {
//	margin: 60% 0 0;
	}
}

@media (min-width: 737px) {
	.work-box:nth-child(odd) .work-image {
	  margin: 60% 0 0;
	}
}




.work-box:nth-child(odd) .work-description,
.work-box:nth-child(odd)::after {
  top: 0;
}



/* --------------------------------
 * contact
 * -------------------------------- */
.contact {
  padding: 80px 0 150px;
}
.contact-form {
  width: 50%;
  margin: 50px auto 0;
}
.contact-form input[type=text],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.contact-form input[type=text]:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) inset;
}
.contact-form textarea {
  height: 150px;
}
.contact-form input[type=submit] {
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.contact-form input[type=submit]:hover {
  background-color: rgba(255, 255, 255, 0.05);
}


/* --------------------------------
 * footer
 * -------------------------------- */
.footer {
  padding: 12px 0;
  font-size: 1.3rem;
}


/* --------------------------------
 * smart phone
 * -------------------------------- */
/*
@media (max-width: 1024px) {
  body {
    background-image: #fff url('../image/check.jpg') no-repeat fixed left bottom;
  }
}
*/
@media (max-width: 768px) {
  body {
    font-size: 1.3rem;
  }
  .heading {
    margin-top: 20px;
    font-size: 2.5rem;
  }
  .button:hover {
    opacity: 1;
  }

  /* --- header --- */
  .header {
    padding-top: 0px;
  }
  .site-title-sub {
    font-size: 1.7rem;
  }
  .site-title-sub::before,
  .site-title-sub::after {
    display: block;
    width: 80%;
    margin: 10px auto;
  }
  .site-title {
    margin-top: 35px;
    font-size: 5rem;
  }

  /* --- about --- */
  .about-text {
    line-height: 1.8;
  }

  /* --- works --- */
  .works-wrapper,
  .work-box {
    display: block;
  }
  .work-image {
    display: 100%;
  }
  .work-description {
    position: relative;
  }
  .work-box::after {
    top: 0;
    height: 100%;
    background-size: cover;
  }

  /* --- skills --- */
  .skills-wrapper,
  .skill-box {
    display: block;
  }
  .skill-box {
    margin: 40px auto;
  }
  .skill-icon {
    width: 100px;
    height: 100px;
    font-size: 5rem;
    line-height: 92px;
  }
  .skill-text {
    margin: 0;
  }

  /* --- contact --- */
  .contact {
    padding-bottom: 80px;
  }
  .contact-form {
    width: 80%;
  }
}


/* --------------------------------
 * challenge
 *
 * 31行目からの.heading::before, .heading::afterの
 * スタイルをコメントアウトしてから適用してください。
 * -------------------------------- */
/*
.heading::before,
.heading::after {
  content: '';
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  margin: 0 0.5em;
  border: 1px solid;
  vertical-align: 0.2em;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.work-box {
  overflow: hidden;
}
.work-image {
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
}
.work-box:nth-child(odd) .work-image {
  -webkit-transform-origin: top center;
  transform-origin: top center;
}
.work-box:nth-child(even) .work-image {
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.work-box:hover .work-image {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
*/
