@charset "UTF-8";

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

body {
  color: #666;
  line-height: 1.6;
  font-size: 16px;
  font-family: sans-serif;
  letter-spacing: 1px;
}

body a {
  color: #666;
  text-decoration: none;
}

/*767px 以下はアニメーションしないので簡単なものを全体に指定
(ヘッダーボタン、actv-item など)*/

@media screen and (max-width: 767px) {
  
  body {/*smartphone*/
    background: none;
  }
  
  body::before {/*smartphone*/
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    height: 100vh;
    background-image: url(../images/tree-pic.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  
  body a {
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
  }
  
  body a:hover {
    opacity: .8;
  }
}

@media screen and (min-width: 768px) {
  body {
    background: url(../images/tree-pic.jpg) no-repeat center/cover fixed;
  }
}

/*全てのセクションの内側にあるコンテナ。最大幅を指定し左右中央揃えにする*/

.container {
  max-width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  
  .container {
    padding: 0 1em;
  }
  
  .activity .container {
    padding: 0 2em;
  }
}

/*ヘッダー_________________________*/

header {
  
  position: relative;
  height: 100%;/*for old*/
  height: 100vh;
  
  color: #fff;
  background-color: rgba(41, 41, 41, 0.55);
}

header .container {
  width: 100%;
  height: 100%;
  display: table;
}

header a {
  color: #fff;
  text-decoration: none;
}


/*ページナビゲーション*/

.site-nav {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
}

.site-nav ul {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.site-nav li {
  display: table-cell;
  border-right: 1px solid  rgba(204, 204, 204, 0.5);
  text-align: center;
}

.site-nav li:last-child {
  border-right: none;
}

.site-nav li a {
  display: block;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-transition: all .5s ease-out;
  transition: all .5s ease-out;
}

.site-nav li a:hover {
  background-color: #959595;
}

/*タイトル部分の上下中央寄せ*/

header .ttl-wrap {/*.container が親のテーブル*/
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  font-size: 4vmax;
  margin-bottom: .2em;
  font-weight: bold;
}

header h1 a {
  display: block;
  -webkit-transition: color .3s ease-out;
  transition: color .3s ease-out;
}

header h1 a:hover {
  color: #666;
}

header .ttl-sub a {
  display: inline-block;
  margin: 0 .7em;
  text-decoration: underline;
}

header .ttl-sub a:hover {
  color: #bababa;
}

/*ヘッダー内のボタン（PC, モバイル共通指定）
***（アニメーションの指定は767以上で指定）*/

header .button {
  margin: 60px auto;
  position: relative;
}

header .button a {
  display: inline-block;
  position: absolute;
  
  /*通常の指定*/
  left: 50%;
  top: 0;
  width: 150px;
  height: 36px;
  line-height: 36px;
  border-radius: 5px;
  background: #a27e2e;
  font-weight: normal;
  color: #fff;
}

header .button a:first-child {
  margin-left: -158px;
}

header .button a:nth-of-type(2) {
  margin-left: 8px;
}

@media screen and (max-width: 767px) {
  .site-nav li a {
    font-size: .8em;
  }
}

@media screen and (min-width: 768px) {
  header .button a {
    
    /*アニメーション*/
    -webkit-transition-property: top, width, height, line-height, border-radius, background, font-weight, color;
    transition-property: top, width, height, line-height, border-radius, background, font-weight, color;
    -webkit-transition-duration: .1s, .1s, .1s, .1s, .1s, .1s, .2s,.2s;
    transition-duration: .1s, .1s, .1s, .1s, .1s, .1s, .2s, .2s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-in;
    -webkit-transition-delay: 0s, 0s, 0s, 0s, .0s, .2s, .3s, .4s;
    transition-delay: 0s, 0s, 0s, 0s, .0s, .2s, .3s, .4s;
  }
  
  header .button a:hover {
    
    /*変化させる部分*/
    top: -30px;
    width: 150px;
    height: 150px;
    line-height: 150px;
    background: #fff;
    border-radius: 50%;
    font-weight: bold;
    color: #666;

    /*アニメーションしない部分*/
    -webkit-box-shadow: 0 0 2px #ccc;
    box-shadow: 0 0 10px #ddd;
  }
}

/*フッター_______________________________*/
.footer {
  padding: .5em 0px;
  background: rgba(0, 0, 0, 0.8);
  
  color: #ccc;
  text-align: center;
  font-size: .9em;
}

.footer a {
  display: inline-block;
  margin: 0 .7em;
  
  color: #ccc;
  text-decoration: underline;
  
  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.footer a:hover {
  color: #909090;
}

/*section(共通指定)______________________*/

section {
  width: 100%;
  height: auto;
  overflow: hidden;
}

section .button {
  display: none;
}

@media screen and (max-width: 767px) {
  .about,
  .activity,
  .skill {
    padding-top: 86px;
    padding-bottom: 86px;
  }
}


@media only screen and (min-width: 768px) {
  section .button {
    display: block;
    text-align: center;
    margin: 50px 0px 0px;
  }

  section .button a {
    display: inline-block;
    width: 100px;

    background-color: #a27e2e;
    border-radius: 5px;
    color: #fff;
    line-height: 30px;
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
  }

  section .button a:hover {
    opacity: .7;
  }

  section .button a:first-child {
    margin-right: 1em;
  }

}


/*about_______________________________*/

.about {
  background-color: #fff;
}

@media screen and (max-width: 767px) {
  

  .about {
    text-align: center;
  }
    
  .about img {
    margin-bottom: 2em;
    width: 250px;
    height: auto;
  }
  
  .about h2 {
    text-align: center;
    font-weight: bold;
    font-size: 2em;
    
    margin-bottom: .5em;
  }
}

@media screen and (min-width: 768px) {

  .ab-content {
    width: 100%;
    height: 100%;
    height: 100vh;
    
    display: table;
  }

  .about .img-wrap {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
  }
  
  .about .img-wrap img {
    width: 350px;
    height: auto;
    position: relative;
    
    left: -600px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    opacity: 0;

    -webkit-transition-property: left, rotate, opacity;
    -webkit-transition-property: left, opacity, -webkit-transform;
    transition-property: left, opacity, -webkit-transform;
    transition-property: left, transform, opacity, -webkit-transform;
    transition-property: left, transform, opacity;

    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: .5s, .5s, .5s;
    transition-duration: .5s, .5s, .5s;
    -webkit-transition-delay: 0s, .5s, 0s;
    transition-delay: 0s, .5s, 0s;
  }

  .about:hover .img-wrap img {
    left: 0;
    opacity: 1;
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg)
  }

  .about .txt-wrap {
    display: table-cell;
    vertical-align: middle;
    width: 50%;
  }


  .about h2 {
    font-weight: bold;
    font-size: 2em;
    text-align: center;
    
    margin-bottom: 1em;
    width: 100%;
    
    position: relative;
    left: 600px;
    opacity: 0;

    -webkit-transition-property: left, opacity;
    transition-property: left, opacity;
    -webkit-transition-duration: .5s, .5s;
    transition-duration: .5s, .5s;
    -webkit-transition-delay: 0s, 0s;
    transition-delay: 0s, 0s;
  }

  .about:hover h2 {
    opacity: 1;
    left: 0;
  }

  .about .txt-wrap p {
    width: 100%;
    position: relative;
    
    left: 600px;
    opacity: 0;

    -webkit-transition-property: left, opacity;
    transition-property: left, opacity;
    -webkit-transition-duration: .5s, .5s;
    transition-duration: .5s, .5s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-delay: .5s;
    transition-delay: .5s;
    max-width: 600px;

  }

  .about:hover .txt-wrap p {
    opacity: 1;
    left: 0
  }
}

/*activity_____________________________*/

.activity {
  width: 100%;
  height: auto;
  
  background-color: rgba(41, 41, 41, 0.55);
}

.activity h2 {
  margin-bottom: 1em;
  
  text-align: center;
  font-weight: bold;
  font-size: 2em;
  color: #fff;
}

.actv-sub {
  margin-bottom: 2em;
  text-align: center;
  color: #fff;
}

.actv-inner {
  width: 100%;
  height: auto;
}

.actv-item {
  height: 180px; /*モバイル*/
  color: #404040;
}

.actv-item a {
  display: block;
  position: relative;
  
  width: 100%;
  height: 100%;
  
  margin: 0;
  padding: 0;
  
  background-color: currentColor;
  color: inherit;
}

.actv-item .photo {
  width: 100%;
  height: 180px;/*モバイル*/
  
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  
  opacity: 0.6;
}

.actv-item .text {
  width: 100%;
  height: 100%;
  line-height: 1.4;
  
  position: absolute;
  bottom: 0;
  left: 0;
  
  color: #fff;
}


.actv-item time {
  display: block;
  width: 100%;
  padding: .2em .5em;
  
  background-color: rgba(255, 255, 255, 0.5);
  color: #141414;
}

.actv-item h3 {
  padding: .4em .5em;
  font-weight: bold;
}

.actv-item p {
  padding: 0 .5em;
}


@media screen and (max-width: 767px) {

  .actv-item {
    margin-bottom: 3em;
  }
  
  .actv-item:last-child {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 768px) {
  
  .actv-inner {
    display: table;
    
    width: 100%;
    height: 100%;/*old pc*/
    height: 100vh;
  }
  
  .actv-content {
    display: table-cell;
    vertical-align: middle;
  }
  
  .actv-item-wrap {
    display: table;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 5px;
    
    width: 100%;
    height: auto;
  }
  
  .actv-item {
    display: table-cell;
    
    width: 25%;
    height: 250px;
    
    -webkit-transition: opacity .5s ease-out;
    transition: opacity .5s ease-out;
  }
  
  .actv-item:hover {
    opacity: .8;
  }
  
  .actv-item .photo {
    width: 100%;
    height: 250px;
    
    -webkit-transition: -webkit-transform .5s ease-out;
    transition: -webkit-transform .5s ease-out;
    transition: transform .5s ease-out;
    transition: transform .5s ease-out, -webkit-transform .5s ease-out;
  }
  
  .actv-item:hover .photo {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  
}

/*スキル_________________________________*/

.skill {
  background-color: #fff;
  color: #666;
}

.skill h2 {
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
  
  margin-bottom: 2em;
}

.skill-wrap {
  text-align: center;
}

.skill-item {
  margin-bottom: 50px;
}


.skill-icon { /*i (font-Awesame)*/
  width: 120px;
  height: 120px;
  line-height: 120px;
  
  margin-bottom: 30px;
  
  border: 4px solid;
  border-radius: 50%;
  
  color: #D29E04;
  font-size: 3em;
  text-align: center;
}

.skill-item h3 {
  margin: 0 20px 15px;
  font-size: 1.4em;

}


@media screen and (min-width: 768px) {
  
  .skill-inner {
    display: table;
    width: 100%;
    height: 100%;
    height: 100vh;
  }
  
  .skill-content {
    display: table-cell;
    vertical-align: middle;
  }
  
  .skill-wrap {
    display: table;
    table-layout: fixed;
    width: 100%;
  }
  
  .skill-item {
    display: table-cell;
    vertical-align: middle;
  }
  
  .skill .skill-icon{
    -webkit-transition: transform .5s ease-in;
    -webkit-transition: -webkit-transform .5s ease-in;
    transition: -webkit-transform .5s ease-in;
    transition: transform .5s ease-in, -webkit-transform .5s ease-in;
    transition: transform .5s ease-in;
  }
  
  .skill:hover .skill-icon {
    -webkit-transform: rotate(720deg);
    transform: rotate(720deg);
  }
}

/*コンタクトフォーム___________________________*/

.contact {
  background-color: rgba(41, 41, 41, 0.55)
}

.ctc-inner {
  display: table;
  width: 100%;
  height: 100%;
  height: 100vh;
}

.ctc-content {
  display: table-cell;
  vertical-align: middle;
}

.contact h2 {
  font-size: 2em;
  text-align: center;
  font-weight: bold;
  color: #fff;
  
  margin-bottom: 2em;
}

.contact-form {
  max-width: 767px;
  margin: 0 auto;
  padding: 1.5em 1em;
  
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
  display: block;
  width: 100%;
  
  padding: .5em;
  margin-bottom: 1em;
  
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  
  -webkit-transition: all .5s ease-out;
  transition: all .5s ease-out;
}

.contact-form input[type=text]:focus,
.contact-form input[type=email]:focus,
.contact-form textarea:focus {
  -webkit-box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) inset;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) inset;
  background-color: rgba(0, 0, 0, 0.1);
}

.contact-form textarea {
  height: 8em;
}

.contact-form .ctc-button {
  margin: 2.5em 0 0;
  text-align: center;
}

.contact-form input[type=submit],
.contact-form input[type=reset] {
  display: inline-block;
  width: 120px;
  
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);

  -webkit-transition: all .5s ease-out;
  transition: all .5s ease-out;
  
  line-height: 35px;
  color: #fff;
}

.contact-form input[type=submit] {
  margin-right: 1em;
}

.contact-form input[type=submit]:hover,
.contact-form input[type=reset]:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 768px) {/*アニメーション*/
  .contact {
    background-color: transparent;
    -webkit-transition: background-color .5s ease-in;
    -webkit-transition: background-color .5s .3s ease-in;
    transition: background-color .5s .3s ease-in;
  }
  
  .contact:hover {
    background-color: rgba(41, 41, 41, 0.55);
  }
}