@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}
body {
	background: #fff url('') no-repeat fixed left bottom;
	background-size: cover;
	color: #606060;
	text-align: center;
	font-size: 1.4rem;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 2px;
}
*, *::before, *::after {
  box-sizing: border-box;
}


/* --------------------------------
 * parts
 * -------------------------------- */
.heading {
	position: relative;
	display: inline-block;
	margin: 30px 0 15px;
	padding-bottom: 15px;
	letter-spacing: 10px;
	font-size: 4rem;
}
.heading::before,
.heading::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #606060;
}
.heading::before {
  bottom: 5px;
}
.button {
	display: inline-block;
	width: 200px;
	padding: 20px;
	border-radius: 4px;
	background-color: #fff;
	color: #606060;
	text-decoration: none;
	letter-spacing: 1.3px;
	font-size: 1.2rem;
	border: 2px solid #606060;
}
.button:hover {
  opacity: 0.5;
  -webkit-transform: rotate(5deg) scale(1.1) skew(1deg) translate(20px);
  -moz-transform: rotate(5deg) scale(1.1) skew(1deg) translate(20px);
  -o-transform: rotate(5deg) scale(1.1) skew(1deg) translate(20px);
}
.button1 {
	display: inline-block;
	width: 200px;
	padding: 20px;
	border-radius: 4px;
	background-color: #fff;
	color: #ff0000;
	text-decoration: none;
	letter-spacing: 1.3px;
	font-size: 1.2rem;
	border: 2px solid #ff0000;
}
.button1:hover {
  opacity: 0.5;
  -webkit-transform: rotate(5deg) scale(1.1) skew(1deg) translate(20px);
  -moz-transform: rotate(5deg) scale(1.1) skew(1deg) translate(20px);
  -o-transform: rotate(5deg) scale(1.1) skew(1deg) translate(20px);
}
/*.button-showy {
	background-color: #606060;
}*/
.button-ghost {
  background-color: rgba(255, 255, 255, 0.15);
}


/* --------------------------------
 * header
 * -------------------------------- */
.header {
  padding: 170px 30px 80px;
}
.site-title-sub {
	margin: 0 0 30px;
	letter-spacing: 2px;
	font-size: 1.5rem;
}
.site-title-sub::before,
.site-title-sub::after {
  content: '';
  display: inline-block;
  width: 140px;
  height: 2px;
  margin: 0 30px;
  background-color: #fff;
  vertical-align: middle;
}
/*.site-title {
	margin: 30px 0 30px;
	font-size: 5rem;
	letter-spacing: 18px;
}*/
#logo {
	width: 200px;
	height: 200px;
	animation-name: fadeIn;
	-webkit-animation-name: fadeIn;	
	animation-duration: 1.5s;	
	-webkit-animation-duration: 1.5s;
	animation-timing-function: ease-in-out;	
	-webkit-animation-timing-function: ease-in-out;		
	visibility: visible !important;
}	
}
@keyframes fadeIn {
	0% {
		transform: scale(0);
		opacity: 0.0;		
	}
	60% {
		transform: scale(1.1);	
	}
	80% {
		transform: scale(0.9);
		opacity: 1;	
	}	
	100% {
		transform: scale(1);
		opacity: 1;	
	}		
}

@-webkit-keyframes fadeIn {
	0% {
		-webkit-transform: scale(0);
		opacity: 0.0;		
	}
	60% {
		-webkit-transform: scale(1.1);
	}
	80% {
		-webkit-transform: scale(0.9);
		opacity: 1;	
	}	
	100% {
		-webkit-transform: scale(1);
		opacity: 1;	
	}		
}

.site-description {
	margin-bottom: 30px;
	color: #606060;
	font-size: 1rem;
	letter-spacing: 3px;
}
.buttons .button {
  margin: 10px;
}


/* --------------------------------
 * about
 * -------------------------------- */
.about {
  padding: 50px 70px;
  background-color: #fff;
  color: #606060;
}
.about-text {
	margin: 30px 0;
	line-height: 2.5;
	letter-spacing: 3px;
}


/* --------------------------------
 * works
 * -------------------------------- */
.works {
	padding: 80px 0;
	background-color: #fff;
}
.works-wrapper {
  display: table;
  width: 100%;
  margin-top: 60px;
  table-layout: fixed;
}
.work-box {
  position: relative;
  display: table-cell;
}
.work-image {
  display: block;
  width: 100%;
  margin: 0 0 60%;
}
.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: 20px;
}
.work-text {
	display: table-cell;
	vertical-align: middle;
	font-size: 1.2rem;
	line-height: 2;
	text-align: center;
}
.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: url(../images/tree.jpg) no-repeat;
  background-size: 100% 100%;
  opacity: 0.2;
}
.work-box.tree::after {
  background-image: url('../images/tree.jpg');
}
.work-box.building::after {
  background-image: url('../images/building.jpg');
}
.work-box.lake::after {
  background-image: url('../images/lake.jpg');
}
.work-box.sky::after {
  background-image: url('');
}
.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;
}


/* --------------------------------
 * skills
 * -------------------------------- */
.skills {
  padding: 80px 0;
  background-color: #fff;
  color: #606060;
}
.skills-wrapper {
  display: table;
  width: 80%;
  margin: 50px auto 0;
  table-layout: fixed;
}
.skill-box {
  display: table-cell;
}
.skill-icon {
	width: 80px;
	height: 80px;
	margin-bottom: 30px;
	border: 3px solid;
	border-radius: 50%;
	color: #606060;
	font-size: 4rem;
	line-height: 75px;
}
#company:hover {
  opacity: 0.5;
  -webkit-transform: rotate(5deg) scale(1.1) skew(1deg) translate(20px);
  -moz-transform: rotate(5deg) scale(1.1) skew(1deg) translate(20px);
  -o-transform: rotate(5deg) scale(1.1) skew(1deg) translate(20px);
}
.skill-title {
  margin: 0 20px 20px;
  font-size: 2rem;
}
.skill-title a {
	text-decoration: none;
	color: #606060;
}
.skill-text {
	margin: 0 20px;
	line-height: 2;
	text-align: left;
	font-size: 10px;
}


/* --------------------------------
 * contact
 * -------------------------------- */
.contact {
  padding: 80px 0 150px;
}
.contact-form {
  width: 50%;
  margin: 50px auto 0;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
	display: block;
	width: 100%;
	margin-bottom: 10px;
	padding: 15px;
	outline: none;
	border: 2px solid rgba(0,0,0,0.40);
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.05);
	color: #606060;
}
.contact-form input[type=text]:focus,
.contact-form input[type=email]:focus,
.contact-form input[type=tel]:focus,
.contact-form textarea:focus {
	box-shadow: inset 0 0 8px rgba(0,0,0,0.50);
	-webkit-box-shadow: inset 0 0 8px rgba(0,0,0,0.50);
}
.contact-form textarea {
  height: 150px;
}
.contact-form input[type=submit] {
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 15px;
  border: 2px solid rgba(0,0,0,0.50);
  border-radius: 5px;
  background-color: transparent;
  color: rgba(20,0,0,0.50);
  cursor: pointer;
}
.contact-form input[type=submit]:hover {
	font-size: 110%;
	border-color: rgba(255,2,2,0.50);
	color: rgba(255,2,2,0.50);
	}
#buttan {
	text-decoration:none;
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 15px;
  border: 2px solid rgba(0,0,0,0.50);
  border-radius: 5px;
  background-color: transparent;
  color: rgba(20,0,0,0.50);
  cursor: pointer;
}
#buttan:hover {
	background-color: rgba(0,0,0,0.50);
}

/* --------------------------------
 * footer
 * -------------------------------- */
.footer {
  padding: 12px 0;
  font-size: 1.3rem;
}
.sitemap a {
	text-decoration: none;
	color: #606060;
}


/* --------------------------------
 * smart phone
 * -------------------------------- */
@media (max-width: 1024px) {
  body {
    background-image: none;
  }
}
@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: 60px;
  }
  .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: none;
  }
  .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);
}
*/
