@charset "utf-8";

@import url(https://fonts.googleapis.com/css?family=Lato:900);

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

/* {outline:1px solid #00ff00} */ 

html {
  font-family: reitam, 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

body {
  width: 100%;
  height: 100%;
  font-size: 14px;
  color: black;
  word-wrap:break-word;
}

.about {
  background-color: #fff;
}

.container {
	margin: 0 auto;
}

.section {
  background-color: #fff;
}

.skills {
  background-color: #fff;
}

.works {
  background-color: #fff;
  margin: 0;
  padding-bottom: 10px;
}

.space {
  margin: 0;
  height: 20vh;
}

.space::before {
  content:"";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-image: url(../images/takegaki2.png);
  background-size: cover;
}

.main-h2 {
  text-align: center;
  padding: 30px 0;
  background-color: #000;
  color: #fff;
  font-size: 3vw;
	letter-spacing: 2vw;
	transition: 1s;
}

nav li {
  letter-spacing: .1em;
}

.hero-name,.hero-text {
  letter-spacing: .05em;
}

/* ---------------- scroll-button ----------------- */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 2;
  opacity: 0;
  visibility: hidden; 
  transition: opacity .5s, visibility .5s;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  white-space: nowrap;
  animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove{
  0%{bottom:20px;}
  50%{bottom:25px;}
  100%{bottom:20px;}
 }

.scroll-top.scroll-view {
  opacity: 1;
  visibility: visible;
}

.scroll-top a {
  text-decoration: none;
  color: #666;
  text-transform: uppercase;
  font-size:0.9rem;
  display: block;
}

.js-scroll a::after{
  content:"";
  position: absolute;
  top:0;
  right:0;
  width:2px;
  height: 50px;
  background:#666;
}

.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 2px;
    height: 20px;
    background: #666;
    transform: skewX(-31deg);
}

_:-ms-lang(x), .js-scroll a::before{
  right:-11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after{
  content:"";
  position: absolute;
  top:0;
  right:0;
  width:2px;
  height: 50px;
  background: #666;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 2px;
    height: 20px;
    background: #666;
    transform: skewX(31deg);
}


_:-ms-lang(x), .js-pagetop a::before{
  right:0;
}

/* ------------------ ページ内リンク ----------------- */
.btn-design:hover {
  letter-spacing: 5px;
  cursor: pointer;
  color: #D09B52;
  opacity: 0.7;
}

.section .oneArea {
  margin-bottom: 200px;
}

.section ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  list-style-type: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section ul li {
  width: 150px;
  text-align: center;
}

.section ul li:last-child {
  border-right: none;
}

.section ul li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #000;
  transition-duration: 0.3s;
}

.section .oneArea .one-title {
  color: #fff;
  text-align: center;
  padding: 10px;
  background: #333;
}

.section .oneArea a.button {
  display: block;
  font-size: 12px;
  color: #333333;
  text-align: center;
  background: #f2f2f2;
  padding: 10px;
  text-decoration: none;
  transition-duration: 0.3s;
  margin-top: 40px;
}

.section .oneArea a.button:hover {
  opacity: 0.7;
}

/* -------------------- header ----------------------- */
header {
  height: 0;
}

.hero {
    width: 100vw;
    height: 830px;
    background-image: url(../images/sea.gif);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

.hero::before {
  content:"";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-image: url(../images/takegaki2.png), url(../images/sea.gif);
  background-size: cover;
}

.hero h1 h6 {
  white-space: none;
}

.hero-name {
  line-height: 100px;
  padding-top: 300px;
  padding-left: 0px;
  font-size: 40px;
  text-align: center;
}

.hero-text {
    font-size: 15px;
    text-align: center;
}

.hero-name{
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

/* ------------------ about ----------------- */
.item {
  margin: 0;
  display:flex; 
  justify-content: flex-end;
}

.about-text {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 100px 0;
  background-color: #fff;
  margin: 0 auto;
  line-height: 1.2rem;
}

.item  p {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: inline-block;
  margin: 0 auto;
  height: 500px;
  letter-spacing: .05em;
}

.item p span {
  text-combine-upright: all;
}

.about-image{
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.3s ease-in;
  margin: 0 auto;
}

.about-image:hover {
  filter: grayscale(0%);
}

/* ----------------- skills ------------------ */
.skills-text h3 {
  padding-top: 30px;
  text-align: center;
  color: #D09B52;
  font-weight: bold;
}

.rollAnime.roll span {
  transition-property: opacity,transform;
  transform: rotateY(360deg);
  transition: all .8s cubic-bezier(.77,0,.175,1);
  transition-timing-function: cubic-bezier(.77,0,.175,1);
  display: inline-block;
}

.skills-text p {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: auto;
  padding: 30px 0;
  letter-spacing: .05em;
  line-height: 1.2rem;
  height: 500px;
}

.skills-card {
  display: flex;
  flex-direction: row-reverse;
  padding: 100px 0;
}

.skills-text {
  border: solid 2px #D09B52;
  width: 200px;
  margin: 0 auto;
  opacity: 0;
  transition: all 2s; 
}

.skills-text h3 {
  font-size: 16px;
  letter-spacing: .05em;
}

.fadeIn {
  opacity: 1;
}

/* ----------------- works ------------------- */
.works a:hover {
  opacity: 0.7;
  transition: 0.5s;
}

.works-image {
  width: 80vh;
  border: solid 2px #D09B52;
}

.workslist {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 5vw auto 7.5vw;
}

.workslist-item {
  margin: 5vw auto 7.5vw;
  opacity: 0;
  transition: all 2s; 
  opacity: 0;
  transition: all 2s;
}

.fadeIn {
  opacity: 1;
}

.works-text-box {
  padding: 1.4vw 0 0 1em;
}

.works-title {
  font-size: 1.5vw;
  font-weight: bold;
  padding-top: 1vw;
  letter-spacing: .05em; 
  color:#D09B52;
  text-align: left;
}

.works-text {
  font-size: 1vw;
  font-weight: bold;
  padding-top: 1vw;
  letter-spacing: .05em;
  text-align: left; 
} 

/* -------------------- contact --------------------  */
.contact {
  background-color: #fff;
}

.mail-padding {
  background: #fff;
  float: left;
  width: 100%;
}

.green {
  background: white;
}

.mail-padding > div > div, .mail-padding > div > a {
  float: left;
  display: block;
  width: 300px;
  height: 52px;
  font-size: 1.5em; 
  line-height: 2rem;
  padding: 10px 30px;
  margin: 100px auto 80px auto;
  position: relative;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.mail {
  width: 320px;
  margin: 0 auto;
}

.mail-padding div a {
  text-decoration: none;
  color: black;
}

.mail-btn {
  padding: 0 !important;
  cursor: not-allowed;
}

.mail-btn > span > span {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.mail-btn > span > span span {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  left: 0;
  top: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 9px 0;
  text-align: center;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  background: #D09B52;
  color: black;
  -webkit-transition: -webkit-transform 0.3s linear, background 0.3s linear;
  transition: transform 0.3s linear, background 0.3s linear;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;

}

.mail-btn:hover > span > span span:first-of-type {
  background: #70501a;
}
.mail-btn > span > span span:nth-of-type(2) {
  -webkit-transform: rotateX(-90deg) translateZ(52px);
  transform: rotateX(-90deg) translateZ(52px);
  background: #aaa;
}

.mail-btn:hover > span > span span:nth-of-type(2) {
  background: rgb(131, 196, 199);
  color: black;
}
.mail-btn:hover > span > span {
  -webkit-transform: rotateX(90deg);
  transform: rotateX(90deg);
}

.mail-stop {
  text-align: center;
  margin-top: -15px;
  padding-bottom: 50px;
  background-color: #fff;
}

.contact-image {
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: right;
  background-color: #fff;
}

.kumo {
  margin: 0 100px 0 auto;
  padding-bottom: 0;
  vertical-align: bottom;
  width: 70px;
  height: 50px;
  object-fit: contain;
  height: auto;
  transition: transform .6s ease;
}

.kumo:hover {
  cursor: grab;
  transform: scale(3);
}

/* ---------------------- footer ---------------------- */
.copyright {
  font-size: large;
  text-align: center;
  padding-top: 100px;
  letter-spacing: .1em;
}

footer {  
  background-color: #000;
  color: #fff;
  background-repeat: no-repeat;
  min-height: 200px;
  padding: 0;
  margin: 0;
}

/* ----------------------- media ----------------------- */
@media screen and (max-width: 767px) {
    .hero-name {
      font-size: 30px;
    }

    .hero-text {
      font-size: 12px;
    }

    .main-h2 {
      font-size: 24px;
    }

    .section ul {
      display: grid;
      justify-content: right;
      margin: 0;
    }
      
    .section ul li {
      font-size: 12px;
    }

    .about-image {
      margin-bottom: 50px;
      width: 100%;
    }

    .about-textbox {
      display: block;
    }

    .works-title {
      font-size: 16px;
    }

    .works-text {
      font-size: 10px;
    }

    .works-image {
      width: 350px;
    }

    .skills-text h3 {
      font-size: 0.8em;
      white-space: none;
    }
}

@media (min-width:600px) { 
  .about-text {
    display:flex;
    flex-wrap:nowrap;
    justify-content:space-between;
  }

  .item+.item{
    margin-left:1.0em;
  }
}