@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 70%;
}
body {
  background: rgba(0,0,0,0.5) url('../images/bg_200k.jpg') repeat-x fixed left bottom;
  z-index: 0;
  background-size: cover;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
  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;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
}

/* --------------------------------
 * parts
 * -------------------------------- */
#fixedTop {
  padding: 15px 20px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  text-align: center;
  display: none;
  background: #f47b32;
  position: fixed;
  z-index: 99;
  border-radius: 30px;
  opacity: 0.8;
}

.heading {
  position: relative;
  display: inline-block;
  margin: 20px 0 15px;
  padding-bottom: 15px;
  letter-spacing: 2px;
  font-size: 4rem;
}
.heading::before,
.heading::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 65px;
  border-bottom: 1px solid #999;
}
.heading::before {
  bottom: 5px;
}


/* --------------------------------
 * header
 * -------------------------------- */
.header {
  padding: 170px 30px 80px;
}
.overlay {
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
}
.site-title {
  font-family: Georgia, "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
  margin: 50px -1em 20px 0;
  font-size: 8rem;
  font-weight: lighter;
  letter-spacing: 0.3em;
  text-indent: -50px;
}
.site-title-sub {
  margin: 0 -1em 10px 0;
  font-size: 2.2rem;
  font-weight: lighter;
  letter-spacing: 0.5em;
}
.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-message {
  color: #f47b32;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.site-description {
  color: #fff;
  margin-bottom: 150px;
  font-size: 1.6rem;
}
.header-skill {
  color: #fff;
  font-size: 1rem;
  width: 100%;
  margin: 10px auto;
}
.buttons .button {
  margin: 10px;
}


/* --------------------------------
 * nav
 * -------------------------------- */
nav {
  width: 100%;
  position: absolute;
  top:20px;
}
nav ul {
  list-style: none;
  padding: 20px 0 20px 0;
  text-align: right;
}
nav ul li{
  display: inline;
  margin: 0 50px 0 0;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 1.6rem;
}
nav ul li a {
  text-decoration: none;
  color:#fff;
  display: inline-block;
  transition: all 0.25s ease-in-out 0s;
}
nav ul li a::after {
  content: '';
  display: block;
  width: 0;
  margin: 6px auto 0;
  border-bottom: 1px solid yellow;
  transition: width 0.5s ease-in-out;
}
nav ul li a:hover::after {
  width: 100%;
}


/* --------------------------------
 * company
 * -------------------------------- */
.company {
  padding: 80px 10%;
  background-color: #fff;
  color: #333;
}
.company-text {
  margin: 0 0 30px 20%;
  line-height: 2.5;
  text-align: left;
}
.company-block {
  display: table;
  border-bottom: 1px solid #e3e5e0;
  box-sizing: border-box;
  line-height: 200%;
  padding: 20px 30px 20px 0;
  width: 80%;
}
.company-title {
  font-size:2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.company-list{
  display: table-cell;
  width: 150px;
  border-right: 1px solid #e3e5e0;
}
.company-prof {
  display: table-cell;
  padding: 0 0 0 20px;
}

h2.heading {
  padding-left: 70px;
  background-image: url('../images/cat.png');
  background-size: 65px auto;
  /*background-position: 0 0;*/
  background-repeat: no-repeat;
}


/* --------------------------------
 * contact
 * -------------------------------- */
.contact {
  padding: 80px 0 150px;
  background-color: #383634;
}
.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: 300px;
}
.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);
  color: #fff;
  cursor: pointer;
}
a.form-reset,
a.form-btn {
  text-decoration: none;
  margin-left: 20px;
  padding: 5px 15px;
//  border: 1px solid rgba(255, 255, 255, 0.4);
//  border-radius: 5px;
//  background-color: transparent;
  color: rgba(255, 255, 255, 0.6);
}
.contact-form input[type=submit]:hover,
.contact-form input[type=reset]:hover,
a.form-reset:hover,
a.form-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/*error関連*/
ul.error {
  border: solid 1px #c00;
  padding: 5px 10px;
  width: 70%;
  margin: 0 auto 20px;
  background: #fff;
}
ul.error li {
  list-style: none outside;
  font-size: 12px;
  color: #f00;
  padding: 5px 0;
}

.contact a {
  color: #fff;
}
.contact a:hover {
  color: rgba(255, 255, 255, 0.6);
}

dl{
  padding-bottom: 20px;
  width: 60%;
  margin: 0px auto;
  text-align: left;
  background-color: #fff;
  color: #383634;
}
dl dt{
  font-weight: 700;
  padding: 10px;
}
dl dd{
  padding: 0 10px 10px;
  margin-left: 20px;
  border-bottom: 1px solid #fff;
}
/* --------------------------------
 * footer
 * -------------------------------- */
.footer {
  padding: 12px 0;
  font-size: 1.3rem;
  background-color: #383634;
}


/* --------------------------------
 * smart phone
 * -------------------------------- */
@media (max-width: 768px) {
  body {
background: rgba(0,0,0,0.5) url('../images/bg-img-sp.jpg') repeat-x fixed left bottom;
//    background-image: none;
    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;
    text-indent: -30px;
  }

  /* --- company --- */
  .company-text {
    line-height: 1.8;
    margin: 0 0 0 0;
  }

  h2.heading {
    background-size: auto 40px;
  }
  .company-text {
    margin: 0 0 30px;
    text-align: left;
  }
  .company-block {
    width: 100%;
  }
  span.company-list{
    display: block;
    padding-left: 5px;
    border-left: 3px solid #e3e5e0;
    border-right: none;
  }
  span.company-prof {
    display: block;
    padding: 0 0 0 20px;
  }


  /* --- contact --- */
  .contact-form {
    width: 80%;
    margin: 5px auto 0;
  }
  dl{
    width: 80%;
  }

}