@charset "utf-8";
/* CSS Document */

/* フォント全体設定 */
html{
  font-size: 62.5%; /* -> 10px */
  font-family: 'Noto Sans JP', sans-serif;
}

.red{
  color: #f00;
}

/* 見出し装飾設定 */
.heading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-top: 100px;
  margin-bottom: 20px;
}

.heading::before,
.heading::after{
  border-top: 2px solid #04020e;
  content: "";
  width: 70px; 
}

.heading::before {
  margin-right: 20px; 
}
.heading::after {
  margin-left: 20px; 
}

/* Topのh2マージン */
.second_heading{
  margin-top: 150px;
}

/* 下層ページ見出し設定 */
.under_heading1{
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 130px;
}

.under_heading2{
  font-size: 3.2rem;
  font-family: 'Poppins', sans-serif;
  padding-bottom: 5px;
  border-bottom: 2px #04020e solid;
  margin-top: 120px;
}

.m0{
  margin-top: 0;
}

/*Works下層ページ見出し設定*/
.under_heading2_adj{
  margin-top: 50px;
}

/* ヘッダー設定 */
header{
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #FFFFFF;
  background-color: #0459b3;
  width: 100%;
  position: fixed;
  z-index: 999;
}

nav{
  max-width: 1150px;
  margin: 0 auto;
}

.menu{
  display: flex;
  max-width: 350px;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: 0;
  padding-right: 20px;
  height: 60px;
}

.menu a{
  display: block;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
}

/* デスクトップ表示時、ハンバーガーメニューを非表示にする */
.gnavi__sp-style {
  display: none;
}

/* Top-ヒーロー画像設定 */
.hero_image{
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  background-image: url("../images/hero.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed;
  height: 100vh;
  background-size: cover;
  position: relative;
}

.hero_image h1{
  font-size: 7.2rem;
  font-weight: 700;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  }

/* Top-スクロールダウン設定 */
.hero_image a{
  display: inline-block;
  position: absolute;
  bottom: 0;
  right: 30px;
  font-size: 1.6rem;
  writing-mode: vertical-lr;
  padding: 10px 10px 110px;
}

.hero_image a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: #fff;
}

.hero_image  a::after {
  animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/*Top-Aboutセクション設定*/
#about{
  max-width: 1140px;
  width: 100%;
  margin: 20px auto;
}

.about_flex{
  display: flex;
  align-items: flex-start;
}

.left_contents{
  width: 50%;
  z-index: 2;
}

.right_contents{
  background: #e8f6fd;
  margin-left: -60px;
  position: relative;
  top: 80px;
}

.position_right{
  text-align: right;
}

.about_text{
  font-size: 1.6rem;
  padding-top: 112px;
  padding-bottom: 100px;
  padding-left: 90px;
  padding-right: 50px;
  line-height: 2.3rem;
  text-align: left;
}

.more_button{
  color: #fff;
  font-size: 2.7rem;
  font-family: 'Poppins', sans-serif;
  max-width: 200px;
  width: 100%;
  display: inline-block;
  background: #0459b3;
  margin-bottom: 30px;
  position: relative;
  margin-right: 50px;
  text-align: left;
  transition: .3s;
}

.more_button a{
  display: block;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.more_button::after{
  content: "";
  position: absolute;
  width: 100px;
  height: 12px;
  border-bottom: #fff solid 2px;
  border-right:  #fff solid 3px;
  transform: skew(45deg);
  top: 32%;
  right: 2px;
  margin-right: 12px;
  pointer-events: none;
}

/* Top-Worksセクション設定 */
.works_flex{
  max-width: 1140px;
  width: 100%;
  justify-content: space-between;
  display: flex;
  margin: 0 auto;
}

.works_wrap{
  text-align: center;
  background: #e8f6fd;
}

.works_text{
  font-size: 1.6rem;
  margin-bottom: 40px;
  padding-top: 40px
}

.works img{
  max-width: 100%;
  min-width: 38%;
}

.works ul{
  margin-bottom: 50px;
}

.works li:first-child{
  padding-left: 20px
}

.works li:nth-child(2){
  padding-left: 20px;
  padding-right: 20px;
}

.works li:last-child{
  padding-right: 20px;
}

.works .more_button{
  margin-right: 0px;
  margin-bottom: 40px;
}

/* Top-Contactセクション設定 */
.contact{
  text-align: center;
}

.contact_text{
  font-size: 1.6rem;
  margin-bottom: 40px;
  line-height: 2.3rem;
}

.mail_icon{
  display: inline-block;
  margin-bottom: 120px;
}

.mail_icon a{
  font-size: 5rem;
  background: #0459b3;
  color: #fff;
  font-weight: 300;
  display: block;
  padding: 20px;
  border-radius: 50%;
}

/* footer設定 */
footer{
  background: #0459b3;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
}


/* icomoon設定 */
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?r4ai02');
  src:  url('fonts/icomoon.eot?r4ai02#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?r4ai02') format('truetype'),
    url('fonts/icomoon.woff?r4ai02') format('woff'),
    url('fonts/icomoon.svg?r4ai02#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-envelope-o:before {
  content: "\e900";
}
/* ホバーアクション設定 */
  .menu a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

.menu a:hover::after {
  transform: scale(1, 1);
}
.more_button:hover{
  opacity: 0.7;
}

.icon-envelope-o{
	transition: .5s ;
	transform: rotateZ( 0deg ) ;
}

.mail_icon:hover .icon-envelope-o {
	transform: rotateZ( 360deg ) ;
}


/* Aboutページ設定 */
.about_contents_wrap{
  max-width: 820px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.name_main{
  font-size: 5.7rem;
  font-weight: bold;
  letter-spacing: 0.5rem;
}

.name_sub{
  font-size: 2.2rem;
  font-weight: bold;
  margin-top: 10px;
  letter-spacing: 0.4rem;
}

.about_right_text{
  font-size: 1.6rem;
  max-width: 435px;
  line-height: 24px;
  width: 100%;
}

.hobby{
  margin-top: 20px;
}

.under_about_flex{
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.last_name{
  margin-right: 13px;
}

.first_name{
  margin-right: 20px;
}

.skill_flex{
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between
}

.skill_item{
  width: 190px;
  height: 320px;
  border: 1px solid #04020e;
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
}

.skill_item img{
  margin-top: 20px;
}

.skill_item img.jquery_adj{
  width: auto;
  height: 88px;
}

.skill_title{
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
}

.skill_text{
  font-size: 1.4rem;
  width: 140px;
  margin: 0 auto;
  text-align: left;
}

.licence_box{
  border: 1px solid #04020e;
  font-size: 1.6rem;
  margin: 30px auto 120px;
}

.licence_box th,
.licence_box td{
  padding: 30px;
}

.licence_box .pt0{
  padding-top: 0;
}



/* Worksページ設定 */
.works_contents_wrap{
  max-width: 820px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.works_contents{
  display: flex;
  margin-top: 30px;
  justify-content: space-between;
}

/* Works-Web Design設定 */
/* 確認テスト中ここから */
.works_section1 .hover {
  position: relative;
  width: 240px;
  height:320px;
  margin: 0 auto;
}
.hover .hover_img {
  margin: 0;
  padding: 0;
}
.hover-img img {
  width: 100%;
  height: 100%;
}
.hover .hover_text {
  position:    absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #fff;
  background-color:    rgba(0,0,0,0.65);
  /*透明にして表示させない*/
  opacity: 0;
  /*ホバーの動き方*/
  transition: .3s ease-in-out;
}
.hover .hover_text .text1 {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 58%;
}

/* Works-Banner設定 */
.works_section2 .hover_ws2_1 {
  position: relative;
  width: 300px;
  height:100px;
  margin: 0 auto;
}

.hover_ws2_1 .hover_text .text1 {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 10%;
}

.hover .hover_text .text2 {
  font-size: 1.6rem;
  text-align: center;
}

.works_section2 .hover_ws2_2 {
  position: relative;
  width: 350px;
  height:250px;
  margin: 0 auto;
}

.hover_ws2_2 .hover_text .text1 {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 29%;
}

/* Works-Flyer設定 */
.works_section3 .hover {
  position: relative;
  width: 340px;
  height:481px;
  margin: 0 auto;
}


/* Works-下層ページ設定 */
.works_contents_wrap2{
  max-width: 820px;
  padding: 0 20px;
  margin: 0 auto;
  font-size: 1.6rem;
}

.text_center{
  text-align: center;
}

.bold{
  font-weight: bold;
}

.under_works_section .web_design_mockup{
  max-width: 600px;
  width: 100%;
  margin: 30px 0 20px;
}

.under_works_section .banner_1{
  max-width: 300px;
  width: 100%;
  margin: 30px 0 20px;
}

.under_works_section .banner_2{
  max-width: 350px;
  width: 100%;
  margin: 30px 0 20px;
}

.link_text::after{
  content: url("../images/link_mark.jpg");
  margin-left: 6px;
}

.text_underline{
  text-decoration: underline;
  color: #0459b3;
}

.front_side img,
.back_side img{
  max-width: 595px;
  width: 100%;
}

.mb2{
  margin-bottom: 2px;
}

.mb20{
  margin-bottom: 20px;
}

.mb30{
  margin-bottom: 30px;
}

.mb50{
  margin-bottom: 50px;
}

.mb120{
  margin-bottom: 120px;
}

.w710{
  max-width: 710px;
}

.mt30{
  margin-top: 30px;
}

/*ホバーエフェクト*/
.hover:hover .hover_text {
  /*不透明にして表示*/
  opacity: 1;
}


.works_section3{
  margin-bottom: 120px;
}

/* Contactページ設定 */
.under_contact_wrap{
  padding: 0 20px 0;
}

.under_contact_text{
  margin-top: 40px;
  font-size: 16px;
}

.under_contact_text .red{
  color: #f00;
}

.contact_form{
  font-size: 1.4rem;
  max-width: 720px;
  width: 100%;
  margin: 40px auto 60px;
}

.contact_form th{
  width: 30%;
  height: 48px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #04020e;
}

.contact_form td{
    border: 1px solid #04020e;
}

.contact_form td input{
  width: 100%;
  height: 48px;
  padding: 1px 2px 1px 16px;
}

.contact_form td textarea{
  width: 100%;
  height: 140px;
  padding: 10px 16px;
  resize: none;
}

.form_button{
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 1em 0;
  /*テスト用*/
  border: 1px solid #000;
  width: 300px;
  text-align: center;
  margin: 0 auto;
}

.form_button:hover{
  background: #0459b3;
  color: #fff;
  border: 1px solid #fff;
  transition: all 0.6s ease 0s;
}


/* フェードインの設定 */
.effect-fade {
  opacity: 0;
  transform: translate(0, 100px); /* フェードインで動く高さを指定 */
  transition: all 1500ms; /* フェードインにかかる時間を指定 */
}
.effect-scroll {
  opacity: 1;
  transform: translate(0, 0);
}

/* スマホ表示の設定 */
@media screen and (max-width: 768px) {
  /*ハンバーガーメニューの設定*/
.gnavi__pc-style {
  display: none;    
}
.gnavi__sp-style {
  display: block;
}
 
/*メニューボタン　展開前*/
.menu-btn {
  display : block;
  position: fixed;
  z-index: 3;
  right: 20px;
  top: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.menu-btn span {
  display : block;
  position: absolute;
  width: 30px;
  height: 2px ;
  left: 6px;
  background: #000;
  transition: 0.3s ease-in-out;
}
.menu-btn span:nth-of-type(1) {
  top: 10px;
}
.menu-btn span:nth-of-type(2) {
  top: 20px;
}
.menu-btn span:nth-of-type(3) {
  top: 30px;
}
   
/*メニューボタン　展開後*/
.menu-btn.active span:nth-child(1) {
  top: 16px;
  left: 6px;
  background :#fff;
  transform: rotate(-45deg);
}
.menu-btn.active span:nth-child(2),
.menu-btn.active span:nth-child(3) {
  top: 16px;
  background :#fff;
  transform: rotate(45deg);
}
 
/*スマホ用のメニュー*/
.gnavi__sp-style {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  color: #fff;
  background-color: #0459b3;
  text-align: center;
  width: 100%;
  height: 100vh;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
  display: flex;
  align-items: center;
  visibility: hidden;
}

  .gnavi__sp-style.active {
    opacity: 1;
    visibility: visible;
  }
  
.gnavi__sp-style ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.gnavi__sp-style ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
}
.gnavi__sp-style ul li:last-of-type {
  padding-bottom: 0;
}

.gnavi__sp-style ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
}

/* スマホ-ヒーローイメージ設定 */
.hero_image{
  background-image: url("../images/hero_sp.jpg");
  background-position: center;
  background-attachment: scroll;
}

/* 下層ページh1のパディング調整 */
.under_heading1{
  margin-top: 0;
  padding-top: 70px;
}

/* スマホ表示の際、テキストサイズを半分にする */
.hero_image h1{
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  }

/* Top-Aboutセクション */
  .about_flex{
    display: block;
  }
  
  .left_contents{
  width: 80%;
  z-index: 2;
}
  .right_contents{
  background: #e8f6fd;
  margin-left: 0px;
  position: static;
  top: 0;
  margin-top: -70px;
}

.about_text{
  padding-top: 112px;
  padding-bottom: 70px;
  padding-left: 0;
  padding-right: 0;
  max-width: 340px;
  width: 100%;
  line-height: 2.3rem;
  text-align: center;
  margin: 0 auto;
}

  .position_right{
    text-align: center;
  }

  .more_button{
    margin-right: 0;
  }
  
  
/* Top-Contact見出し調整 */
  .heading_sp{
    margin-left: 20px;
    margin-right: 20px;
  }

/* Top-Works見出し調整 */
  .second_heading{
  margin-top: 100px;
}

/* Top-Contactセクション */
  .contact_text{
  max-width: 340px;
  width: 100%;
  line-height: 2.3rem;
  margin-left: auto;
  margin-right: auto;
  }

/* Aboutページの設定 */
.under_about_flex{
  display: block;
  margin-top: 30px;
}

  .about_right_text{
    margin-top: 20px;
  }

  .skill_flex{
    display: block;
  }
  
  .skill_item{
    margin: 30px auto 0;
    width: 320px;
    height: 300px;
  }

  .skill_text{
  font-size: 1.4rem;
  width: 220px;
  margin: 0 auto;
  text-align: left;
}
  
  .licence_box th,
  .licence_box td{
    display: block;    
  }
  
  .licence_box th.p_adj_1{
    padding-bottom: 0;
  }  
  
  .licence_box td.p_adj_1{
    padding-top: 5px;
  }
  
  .licence_box th.p_adj_2{
    padding-bottom: 0;
  }  
  
  .licence_box td.p_adj_2{
    padding-top: 5px;
  }
  
  
  
/* workページの設定 */
  .works_contents{
    display: block;
    text-align: center;
  }
  
  .works_contents li{
    margin-top: 30px;
  }
  
  .works_contents li:last-child{
    margin-bottom: 30px;
  }
  
  /* Contactページの設定 */
  .contact_form th,td{
    display: block;
    margin: 0 auto;
  }
  
  .contact_form th{
    border: none;
    font-size: 1.6rem;
    text-align: left;
    height: 50px;
    padding-top: 24px;
    max-width: 400px;
    width: 100%;
  }
  
  .contact_form td{
    max-width: 400px;
  }
  
  .form_button{
    width: 200px;
  }
  
}










