@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}
body {
/*  background: #151515 url('../images/bg.jpg') no-repeat fixed left bottom;
  background-size: cover; */
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  font-family: Raleway, "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}


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


/* --------------------------------
 * header
 * -------------------------------- */
.header {
  padding: 50px 0px ;
    background:#fff;
/*  margin-bottom:200px; */
}
.site-title-sub {
  margin: 0 0 30px;
  letter-spacing: 1px;
  font-size: 2.2rem;
}
.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: 0px auto 30px;
    display: table;
    width:50%;
    background:#fff;
    color:#000;
}
.site-title .img_area{
display: table-cell;
vertical-align: middle;
width:10%;
}
.site-title .img_area img{
width:100%;
}

.site-title p{
    display: table-cell;
    font-size:5vw;
    vertical-align: middle;
    width:90%;
}

.site-description {
  margin-bottom: 50px;
  color: #888;
  font-size: 1.6rem;
}
.buttons .button {
  margin: 10px;
}

/* --------------------------------
 * pressrelease
 * -------------------------------- */
.pressrelease {
  padding: 80px 30px;
  background-color: #fff;
  color: #333;
}
.pressrelease .container {
  margin: 0 auto;
  text-align: left;
    width:800px;
}

.pressrelease .container ul{
padding:0;
}

.pressrelease .container li{
border-bottom:1px dotted #000;
padding:10px 0;
list-style: none;
line-height:1.6vw;
}
.pressrelease .container li strong{
font-size:1.8rem;
}
.pressrelease .container li p{
margin:0px;
}

.pressrelease .container input {
  display: none;
}

.pressrelease .container label {
  display: block;
  width: 300px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  margin: 10px auto 0;
  padding: 9px 0;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  transition: .3s;
  position: relative;
}
.pressrelease .container label {
  background:#000;;
    cursor:pointer;
}

.pressrelease .container label:hover {
  opacity: 0.7;
}
.pressrelease .container label::after {
  display: inline-block;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-color: transparent transparent transparent #ffffff;
  position: absolute;
  top: 18px;
  right: 10px;
}


.pressrelease .container .btm {
  transition: 0.2s;
  height: 0;
  overflow: hidden;
  padding: 0 10px;
}
.pressrelease .container .btn {
  text-align: left;
  display: block;
  width: 80px;
  margin: 0;
}
.pressrelease .container input:checked + .btm {
  height: auto;
  padding: 0 10px 10px 10px;
  background: #fff;
}

/* --------------------------------
 * header image
 * -------------------------------- */
#header-img {
	width:100%;
	height:auto;
}

/* --------------------------------
 * about
 * -------------------------------- */
.about {
  padding: 50px 30px;
/*  background-color: #000;  */
  color: #000;
}
.about-text {
  margin: 30px auto;
  line-height: 2.5;
    text-align: left;
    width:370px;
}


/* --------------------------------
 * contact
 * -------------------------------- */
.contact {
  padding: 80px 0 150px;
background:#fff;
    color:#000;
}
.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(000, 000, 000, 0.4);
  border-radius: 0;
  background-color: rgba(000, 000, 000, 0.05);
  color: #333;
}
.contact-form input[type=text]:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px rgba(000, 000, 000, 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(000, 000, 000, 0.4);
  border-radius: 5px;
  background-color: transparent;
  color: rgba(000, 000, 000, 0.6);
  cursor: pointer;
}
.contact-form input[type=submit]:hover {
  background-color: rgba(000, 000, 000, 0.05);
}


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


/* --------------------------------
 * 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: 15px 0px 10px;
    margin-bottom:0px;
  }
.site-title-sub {
  margin: 0 0 30px;
  letter-spacing: 1px;
  font-size: 2.2rem;
}
    .buttons{background:#000; padding:3vw;}
    
  .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: 10px auto;
    display: table;
    width:80%;
    
}
.site-title .img_area{
display: table-cell;
vertical-align: middle;
width:19%;
}
.site-title .img_area img{
width:100%;
}

.site-title p{
    display: table-cell;
    font-size:7vw;
    vertical-align: middle;
    width:90%;
}
    
.pressrelease {
  padding: 0px 0px 20px;
}
.pressrelease .container {
    width:90%;
}

.pressrelease .container ul{
padding:0;
}
.pressrelease .container li{
border-bottom:1px dotted #000;
padding:10px 0;
list-style: none;
line-height:6vw;
}
.pressrelease .container li strong{
font-size:1.8rem;
}
.pressrelease .container li p{
margin:0px;
}
.pressrelease .container label {
  display: block;
  width: 100%;
}
  /* --- about --- */
.about {
  padding: 20px 10%;
/*  background-color: #000; */
  color: #000;
}
    .about-text {
    line-height: 1.8;
  margin: 20px auto;
    text-align: left;
    width:90%;
}
  }

  /* --- 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;
    transform: none;
  }

  /* --- 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;
        padding: 20px 0 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);
}
*/
