@charset "UTF-8";

html {
  font-size: 62.5%;
}

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

body {
  background-color: #fff;
  color: #333333;
  text-align: center;
  font-size: 1.6rem;
  font-family: "Hiragino Kaku Gothic ProN",  sans-serif;
  line-height: 1.5;
}

ul {
  list-style: none;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

a {
  text-decoration: none;
  color: #333333;
}

.contents {
  width: 960px;
  padding: 0 20px;
  margin: 0 auto;
}

.heading {
  font-size: 50px;
  font-weight: normal;
  line-height: 1;
}

.second-heading {
  font-size: 30px;
  line-height: 1;
}

.side-border {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.side-border::before, .side-border::after {
  border-top: 1px solid #333333;
  content: "";
  width: 12rem;
}

.side-border::before {
  margin-right: 10px
}

.side-border::after {
  margin-left: 10px
}


/* 共通のフェードインアニメーション */

.fade-in-animation {
	opacity : 0;
	visibility: hidden;
	transition: 1s;
	transform: translateY(30px);
}

.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}



/* header */


header {
  width: 960px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.logo-word {
  float: left;
  margin-top: 50px;
}

.header-navi-wrapper {
  float: right;
}

.global-navi {
  font-size: 2.5rem;
  display: flex;
}

.global-navi li {
  height: 105px;
  margin-right: 30px;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.global-navi li:last-child {
  margin-right: 0;
}

.global-navi li a:hover {
  text-decoration: underline;
}

.global-navi li .bird-stop-top {
  position: absolute;
  top: 50px;
  left: 5px;
} 

.global-navi li .bird-stop-about {
  position: absolute;
  top: 50px;
  left: 23px;
}

.global-navi li .bird-stop-works {
  position: absolute;
  top: 50px;
  left: 23px;
}

.global-navi li .bird-stop-contact {
  position: absolute;
  top: 50px;
  left: 30px;
}

.global-navi li .bird-flying-anime {
  display: none;
  position: absolute;
  top: 50px;
  left: 25px;
}

.global-navi .choice-top .bird-flying-anime {
  display: none;
  position: absolute;
  top: 50px;
  left: 5px;
}

.pajarito-logo-word-white {
  display: none;
}


/* footer */


footer {
  width: 960px;
  padding: 0 20px;
  margin: 0 auto 30px;
}

.footer-navi-wrapper {
  float: left;
}

.rights-box {
  height: 105px;
  float: right;
  font-size: 16px;
  display: flex;
  align-items: flex-end;
}



/* index page start */



/* top */

.top-b {
  width: 100%;
}

.top-s {
  display: none;
}

.responsive-text-top {
  display: none;
}

/* service */

.service {
  margin-top: 70px;
  margin-bottom: 100px;
}

.service-box-wrapper {
  width: 920px;
  margin: 50px auto;
  display: flex;
}

.service-box {
  width: 280px;
  margin-right: 40px;
}

.service-box:last-child {
  margin-right: 0;
}

.service-box i {
  font-size: 60px;
  margin: 25px 0;
}

.service-text {
  text-align: left;
}

.service-price {
  margin-top: 20px;
  text-align: center;
}

.sevice-box-other {
  display: flex;
  width: 880px;
  margin: 0 auto;
}


.sevice-box-other i {
  font-size: 55px;
  width: 70px;
  padding: 8px;
}

.sevice-box-other-text {
  text-align: left;
  width: 800px;
  margin-left: 10px;
}


/* skills */

.skills {
  margin: 50px auto;
}

.skills-icons {
  margin: 0 auto;
}


.skills-icons img {
  width: 160px;
  margin-right: 20px;
  margin-bottom: 40px;
  transition: 0.5s;
}
.skills-icons img:nth-child(5n) {
  margin-right: 0;
}

.skills-icons img:hover {
  -webkit-transform: translateX(-10px) translateY(-10px);
  -ms-transform: translateX(-10px) translateY(-10px);
  -moz-transform: translateX(-10px) translateY(-10px);
  box-shadow: 4px 4px 4px -1px #333333;
}


/* index works, works page 共通  */


.works-images-list {
  margin: 50px auto;
  display: flex;
  flex-wrap: wrap;
}

.works-images-list li {
  margin-bottom: 50px;
  margin-right: 40px;
  width: 280px;
  position: relative;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
}

.works-images-list li:nth-child(3n) {
  margin-right: 0;
}

.works-images-list img {
  width: 280px;
} 

.works-images-list li div {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(245, 255, 255, .85);
  top: 0;
  left: 0;
  display: none;
}

.works-images-list li div p {
  position: relative;
  top: 10px;
}

.works-images-list li a span {
  display: inline-block;
  padding: 3px;
  color: #fff;
  background-color: #0090ff;
  border: 1px solid #0090ff;
  border-radius: 5px;
}

.works-images-list li a span:hover {
  color: #0090ff;
  background-color: #fff;
}


/* index page finish */



/* about page */


.about {
  margin: 60px auto 100px;
}

.about-box {
  margin: 50px auto;
}

.profile-image {
  float: left;
  width: 230px;
}

.about-word-box {
  width: 650px;
  float: right;
  text-align: left;
}

.about-word-box span {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 3px;
}

.career-year {
  width: 65px;
}

/* works page */


.portfolio-wrapper {
  margin-top: 60px;
}


/* contact page */


.contact {
  margin: 60px auto 100px;
}

.form {
  text-align: left;
}

.attention {
  margin: 50px 0 40px;
}

.form .required::after {
  content: " * ";
  color: #ff0000;
}

.form dt {
  margin-bottom: 5px;
}

.form dd {
  margin-bottom: 20px;
}

.form .name, .email, .tel {
  width: 400px;
  height: 30px;
}

.form .message {
  width: 600px;
  height: 300px;
}

.form .btn {
  background-color: #0090ff;
  color: #ffffff;
  font-size: 2rem;
  display: block;
  text-align: center;
  line-height: 50px;
  border-radius: 5px;
  border: 3px solid #0090ff;
}

.form .btn:hover {
  background-color: #ffffff;
  color: #0090ff;
  cursor: pointer;
}

.msg {
  margin-bottom: 20px;
}



/* responsive */


@media screen and (max-width:780px) {
  
  body {
    font-size: 1.4rem;
  }
  
  .wrapper {
    width: 100%;
  }
  
  .contents {
    width: 90%;
    margin: 0 5%;
    padding: 0;
  }
  
  
  .heading {
  font-size: 40px;
  font-weight: normal;
  line-height: 1;
}

.second-heading {
  font-size: 30px;
  line-height: 1;
}

  
/* header */


header {
  width: 100%;
  padding: 0;
  display: block;
  position: fixed;
  z-index: 9000;
  width: 100%;
  top: 0;
  left: 0;
}

.logo-word {
  float: none;
  margin-top: 20px;
  display: none;
}

.header-navi-wrapper {
  float: none;
  display: none;
}
  
  
.current img {
  display: none;
}

.global-navi {
  font-size: 2.5rem;
  width: 100%;
  flex: none;
  display: block;
  background-color: rgba(51, 51, 51, 0.95);
}

.global-navi li {
  height: auto;
  margin-right: 0;
  line-height: 2.5;
  position: static;
  width: 100%;
  float: none;
  border-bottom: 3px solid #000000;
  flex: none;
}
  
.global-navi li:first-child {
  border-top: 3px solid #000000;
}
  
.global-navi li a {
  color: #fff;
  margin-left: 1%;
}
  
.pajarito-logo-word-white {
  display: block;
  padding: 15px 0 0;
  margin: 0 auto;
}
  
  
/* header ハンバーガメニュー */
  
  /* header ハンバーガーメニュー */
  
.header-navi-trigger{
  display: inline-block;
  position: fixed;
  top: 3px;
  right: 3px;
  background-color: #333333;
  border-radius: 2px;
  z-index: 9999;
}
  
.header-menu, .header-menu span {
  display: inline-block;
  transition: all .4s;
}

.header-menu {
  position: relative;
  width: 35px;
  height: 38px;
}

.header-menu span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
}

.header-menu:nth-of-type(1) {
  top: 3px;
}

.header-menu span:nth-of-type(2) {
  top: 17px;
}

.header-menu span:nth-of-type(3) {
  bottom: 1px;
}

.header-menu.active span:nth-of-type(1) {
  -webkit-transform: translateY(5px) rotate(-45deg);
  transform: translateY(16px) rotate(-45deg);
}

.header-menu.active span:nth-of-type(2) {
  opacity: 0;
}

.header-menu.active span:nth-of-type(3) {
  -webkit-transform: translateY(-5px) rotate(45deg);
  transform: translateY(-18px) rotate(45deg);
}
  
  
  
  /* footer */


footer {
  width: 100%;
  padding: 0;
  margin: 0 auto;
}
.footer-navi-wrapper {
  float: none;
  display: none;
}

.rights-box {
  height: auto;
  float: none;
  font-size: 16px;
  display: block;
  line-height: 5rem;
}


/* index page responsive  */
  
  
/* top */
  

.top-b {
  width: 100%;
  display: none;
}

.top-s {
  display: block;
  width: 100%;
}
  
.responsive-text-top {
  display: block;
  margin: 15px auto 10px;
}
  
  
/* service responsive */

.service {
  margin-top: 60px;
}

.service-box-wrapper {
  width: 100%;
  margin: 30px auto 80px;
  display: block;
}

.service-box {
  width: 100%;
  float: none;
  margin: 0 0 40px;
}


.service-box i {
  font-size: 100px;
  margin: 20px 0;
}

  .service-price {
    text-align: left;
  }
  
  .sevice-box-other {
  display: block;
  width: 100%;
}


.sevice-box-other i {
  font-size: 90px;
  width: 100%;
  margin-bottom: 15px;
}

.sevice-box-other-text {
  width: 100%;
  margin-left: 0;
}
  
  
/* skills responsive */

.skills {
  margin: 50px auto;
}

.skills-icons {
  width: 100%;
  margin: 0 auto;
}


.skills-icons img {
  width: 35%;
  margin-right: 0;
  margin-bottom: 20px;
}

.skills-icons img:nth-child(2n) {
  margin-left: 10%;
}

  
/* index works, works page 共通 responsive */


.works-images-list {
  display: block;
  margin: 40px auto 80px;
}

.works-images-list li {
  width: 80%;
  position: relative;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
  margin: 50px auto;
}
  
.works-images-list li:nth-child(3n) {
  margin: 50px auto;
}

.works-images-list img {
  display: block;
  width: 100%;
  margin: 0 auto;
} 

.works-images-list li div {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(245, 255, 255, .85);
  top: 0;
  left: 0;
  display: none;
}

.works-images-list li div p {
  position: relative;
  top: 10px;
}

.works-images-list li span {
  display: inline-block;
  padding: 3px;
  color: #fff;
  background-color: #0090ff;
  border: 1px solid #0090ff;
  border-radius: 5px;
}

.works-images-list li span:hover {
  color: #0090ff;
  background-color: #fff;
}
  
  
/* about page responsive */


.about {
  margin: 60px auto 80px;
}

.about-box {
  margin: 40px auto;
}

.profile-image {
  float: none;
  width: 65%;
}

.about-word-box {
  width: auto;
  float: none;
  text-align: left;
  margin: 40px auto 0;
}
  

/* contact page */


.contact {
  margin: 60px auto 80px;
}

.form {
  text-align: left;
}

.attention {
  margin: 40px 0;
}

.form .required::after {
  content: " * ";
  color: #ff0000;
}

.form dt {
  margin-bottom: 5px;
}

.form dd {
  margin-bottom: 20px;
}

.form .name, .email, .tel {
  width: 100%;
  height: 30px;
  border: 1px solid #ccc;
}

.form .message {
  width: 100%;
  height: 200px;
  border: 1px solid #ccc;
}

.form .btn {
  background-color: #0090ff;
  color: #ffffff;
  font-size: 1.8rem;
  display: block;
  text-align: center;
  line-height: 5rem;
  border-radius: 5px;
  border: 3px solid #0090ff;
}

.form .btn:hover {
  background-color: #ffffff;
  color: #0090ff;
  cursor: pointer;
}
  
}
