*{
  box-sizing: border-box;
}
html,body{
  margin: 0 auto;
  padding: 0;
  color: #1e2200;
  background-color: rgb(230, 231, 231);
font-family: "Hiragino Kaku Gothic ProN";
}
.container{
  width: 80%;
}

/* header エリア */
header{
  padding-top: 1%;
  height: 150px;
}
.h1{
  font-weight: 100;
  font-size: 45px;
  position: absolute;
  top: 7%;
  left: 5%;
  font-family: 'Courier New', Courier, monospace;
  text-shadow: 8px 10px 7px #839b5c;
}
.navbar{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
    flex-direction: column-reverse;
    margin: 0 0 0 auto;
    margin-right: 5%;
}
.collapse .navbar-nav{
  display: flex;
    flex-direction: column-reverse;
}
.nav-item {
	display: block;
  position: relative;
  margin: 0 15%;
  text-decoration: none;
  color: #1e2200;
}
.nav-item::after {
	position: absolute;
	content: '';
  bottom: .2em;
  top: 9%;
	right: 0;
	width: 2px;
	height: 80%;
	opacity: 0;
	background: #879900;
	transition: all .3s ease .1S;
}
.nav-item:hover {
  cursor: pointer;
  color: #687501;
}
.nav-item:hover::after {
	bottom: 0;
	opacity: 1;
}
@media screen and (max-width:911px){
  .navbar{
    display: none;
  }  
  .h1{
    top: 4%;
  }
}

/* section_1 エリア*/
.section_1{
  margin: 1% 2%;
  color: #2d3300;
}
.img_box{
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(184,210,0,0.5 );
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.5);
  border-radius: 6px;
}
.main_img{
object-fit: cover;
}
.section_1＿box{
  width: 50%;
  height: 500px;
  background-color: rgba(255, 255, 255, 0.6);
position: absolute;
top: 0;
right: 0;
}
.secton_1_text{
  font-size: 20px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: absolute;
  top: 6%;
  right: 8%;
  z-index: 99;
  text-shadow: 0px 6px 5px rgba(0, 0, 0, .5);
  font-family: serif;
}
.square_box{
  position: absolute;
  top: -10%;
  left: 70%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background-color: #b8d200;
  opacity: .7;
  transform:rotate(45deg);
  box-shadow: 0px 10px 20px #000;
}

.name{
  position: absolute;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 40px;

  /* position absolute で上下左右の中央配置 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.name span{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: rgb(250, 250, 250);
}
.main_text{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-indent: 1rem;
margin: 5% auto;
font-size: 20px;
font-family: serif;
}
.main_text p{
margin: 0 10%;
font-size: 20px;
font-weight: 500;
text-shadow: -25px 10px 15px rgba(0, 0, 0, .5);
}

@media screen and (max-width:768px){
  .secton_1_text{
    font-size: 16px;
    top: 10%;
    right: 5%;
  }
.square_box{
  top: -2%;
  right: -50%;
  height: 550px;
  border-radius: 0;
}

}

/* section_2 エリア */
.section_2{
  position: relative;
  margin-top: 15%;
  padding: 0;
}
.service_title{
  position: absolute;
  top: -13%;
  right: -5%;
  z-index: 99;
  font-size: 22px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  border-left:3px solid #2d3300;
}
.service_box{
  text-align: center;
}
h3{
  font-size: 20px;
  font-weight: 600;
  border-bottom:2px solid #2d3300;
  padding: 2%;
  width: 90%;
  margin: 5% auto;
}
.fa-code,.fa-mobile-alt,.fa-tools{
  font-size: 60px;
  margin: 5% 0;
  color: #1e2200;
}
.service_text{
  margin-top: 7%;
  line-height: 2;
  font-family: serif;
}

/* topに戻るボタン */
#top{
  display: inline-block;
  font-size: 20px;
  color: #1e2200;
margin-top: 5%;
margin-bottom: 1%;
  border-bottom: 2px solid #1e2200;
  text-shadow: 5px 5px 5px rgba(0, 0, 0, .3);
  text-decoration: none;
}
#top:hover{
  text-decoration: none;
  color: #879900;
  border-bottom: 2px solid #879900;
}

@media screen and (max-width:768px){
.section_2{
  margin-top: 30%;
}  
.service_title{
  writing-mode: horizontal-tb;
    position: unset;
    text-align: center;
    border: none;
    border-bottom: 5px solid #1e2200;
    width: 100px;
    margin: 0 auto;
    font-weight: 600;
  }
.service_box{
  width: 100%;
  padding-top: 8%;
    margin: 0 auto;
}
.fa-code,.fa-mobile-alt,.fa-tools{
  margin: 0;
}
#top{
  margin-top: 4%;
}
  /* レスポンシブ終了タグ */
}


/* section_3 エリア */
.section_3{
  position: relative;
  margin-top: 15%;
  padding: 0;
}
.sample_box{
  display: flex;
  justify-content: space-around;
}
.sample_title{
  position: absolute;
  top: -13%;
  right: -5%;
  font-size: 22px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  border-left:3px solid #2d3300;
}
.sample_contents{
  display: block;
  width: 30%;
  height: 40vh;
  flex-direction: row;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
}
.sample_contents:hover {
  transform: translateY(-8px);
  transition: all 0.3s ease 0s;
  text-decoration: none;
}

.sample_contents .hover_text{
  width: 100%;
  height: 40vh;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 30px;
  transition: all 0.6s ease;
  padding-bottom: 0;
  border-radius: 8px;
}
.sample_contents:hover .hover_text {
  opacity: 1;
  padding-bottom: 30px;
  }
.sample_name{
  display: none;
  }
.sample_img{
  width: 100%;
  height: inherit;
  object-fit: cover;
  object-position: top;
  border: 2px solid #879900;
  border-radius: 8px;
  box-shadow:  0 10px 25px 0 rgba(0, 0, 0, .5);
}
.sample_text{
display: none;
}

@media screen and (max-width:768px){
.section_3{
  margin-top: 35%;
}  
.sample_title{
  writing-mode: horizontal-tb;
  position: unset;
  text-align: center;
  border: none;
  border-bottom: 5px solid #1e2200;
  width: 100px;
  margin: 0 auto;
  font-weight: 600;
}
.sample_box{
  margin-top: 7%;
  display: block;
}
.sample_contents{
  width: 85%;
  height: 200px;
  margin: 0 auto 20%;
}
.sample_name{
  display: block;
  font-size: 12px;
  margin-bottom: 1%;
  color: #1e2200;
}
.sample_text{
  display: block;
  font-size: 12px;
  text-align: center;
}
.sample_contents .hover_text{
display: none;
}
}

/* section_4 エリア */
.section_4{
  position: relative;
  margin-top: 15%;
  background-color:  #f7f8f0;
  box-shadow:  0 10px 25px 0 rgba(0, 0, 0, .5),inset 0 0 7px 0 rgba(180, 204, 0, .5);
  border-radius: 6px;
}

.about_title{
  position: absolute;
  top: -4%;
  right: -6%;
  font-size: 22px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  border-left:3px solid #2d3300;
}
.about_box{
  display: flex;
  justify-content: center;
  padding: 3%;
}
.about_text{
  font-size: 18px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 2;
  font-family: serif;
  height: 260px;
}
.about_text strong::before{
  content: '"';
color: #1e2200;
}
.about_text strong::after{
  content: '"';
color: #1e2200;
}

.profile_box{
  font-size: 18px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 3%;
  margin: 1% auto;
  font-family: serif;
}
.about_img{
  margin-left: 6%;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  box-shadow: 0 0 5px 3px rgba(0, 0, 0, .7);
}
.profile_box span{
  font-weight: 700;
  border-right: 2px solid #1e2200;
  text-orientation: upright;
}
.icon_area{
  text-align: center;
  width: 10%;
  height: 60px;
  margin: 0 auto;
}
.icon_name{
  display: block;
  color: #1e2200;
  font-weight: 600;
}
.fa-twitter{
  font-size: 30px;
  color: #1e2200;
}

@media screen and (max-width:768px){
  .section_4{
    margin-top: 45%;
  }
.about_title{
  writing-mode: horizontal-tb;
  text-align: center;
  border: none;
  border-bottom: 5px solid #1e2200;
  width: 100px;
  margin: 0 auto;
  font-weight: 600;
  left: -20px;
  top: -6%;
}
.about_box{
  flex-direction: column-reverse;
}
.about_text{
  font-size: 15px;
  margin: 5% auto;
}
.about_img{
  width: 120px;
  height: 120px;
  margin-top: 2%;
  margin: 2% auto;
}
.profile_box{
  font-size: 14px;
  writing-mode: horizontal-tb;
  line-height: 1;
}
.profile_box span{
  border-bottom: 2px solid #1e2200;
    border-right: none;
}
.fa-twitter:hover{
color: #b8d200;
}
.icon_name{
  display: none;
}
}

/* section_5 エリア */
.section_5{
  position: relative;
  padding: 0;
  margin-top: 5%;
}
.skill_title{
  position: absolute;
  top: -10%;
  right: -5%;
  font-size: 22px;
  letter-spacing: 2;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-align: right;
  border-left:3px solid #2d3300;
}
.skill_area{
  text-align: center;
  padding: 5%;
}
.skill_box{
  display: inline-block;
  text-align: center;
  margin: 0 5%;
}
.skill_box span{
  font-size: 18px;
  font-weight: 600;
  display: block;
  color: #1e2200;
}
.skill_img{
width: 100px;
height: 100px;
}

@media screen and (max-width:991px){
  .section_5{
    margin-top: 30%;
  }
  .skill_title{
    writing-mode: horizontal-tb;
    position: unset;
    text-align: center;
    border: none;
    border-bottom: 5px solid #1e2200;
    width: 100px;
    margin: 0 auto;
    font-weight: 600;
  }
  .skill_box{
    display: block;
    margin-bottom: 6%;
  } 
  .skill_img{
    width: 100px;
    height: 100px;
  }
}

/* section_6 エリア */
.section_6{
  position: relative;
  padding: 30px 0 50px;
  margin-top: 12%;
  border-radius: 6px;
  background-color: #ccd1a7;
  box-shadow:  0 10px 25px 0 rgba(0, 0, 0, .5);
}
.contact_text{
  position: absolute;
  top: 5%;
  right: 5%;
  font-size: 18px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.7;
  text-orientation: upright;
  font-family: serif;
  text-shadow: -10px 5px 10px  rgba(0,0,0,.5);
}
.small_text{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: absolute;
  bottom: 0;
  left: 5%;
  font-size: 14px;
  font-family: serif;
}
.contact_area{
  text-align: center;
}
.contact_title{
  position: absolute;
  top: -8%;
  right: -6%;
  font-size: 22px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  color: #1e2200;
  border-left:3px solid #1e2200;
}
.formrun label{
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0;
  color: #1e2200;
  font-family: serif;
}
.formrun input{
width: 40%;
height: 40px;
margin: 15px 0;
border-radius: 5px;
border: none;
box-shadow:  0 2px 10px 0 rgba(0, 0, 0, .5);
}
.formrun textarea{
  line-height: 1.3;
  width: 40%;
  height: 130px;
  border-radius: 5px;
  border: none;
  box-shadow:  0 2px 10px 0 rgba(0, 0, 0, .5);
}
.formrun button{
  width: 30%;
  height: 45px;
  margin: 3% auto 0;
  color: rgb(243, 242, 242);
  background-color: #485201;
  border-radius: 5px;
  border: none;
  box-shadow:  0 5px 10px 0 rgba(0, 0, 0, .5);
}

@media screen and (max-width:768px){
  .section_6{
    margin-top: 40%;
  }
.contact_title{
  writing-mode: horizontal-tb;
  text-align: center;
  border: none;
  border-bottom: 5px solid #1e2200;
  width: 100px;
  margin: 0 auto;
  font-weight: 600;
  left: -5%;
  }
  .contact_text{
    display: none;
  }
  .small_text{
    writing-mode: horizontal-tb;
    font-size: 10px;
    left: 3%;
    bottom: -1%;
  }
  .formrun input{
    width: 70%;
    height: 25px;
  }
  .formrun textarea{
    width: 70%;
    height: 70px;  
  }
  .formrun button{
    height: 35px;
  }
}

/* footer エリア */
footer{
  height: 150px;
  color: #e0ebaf;
  background-color: #333631;
  margin-top: 5%;
}
footer .nav-item{
  color: #e0ebaf;
  font-size: 12px;
}
footer .nav-item:hover{
  color: #e0ebaf; 
}
footer.nav-item {
	display: block;
  position: relative;
  margin: 0 15%;
  text-decoration: none;
  color: #1e2200;
}
footer.nav-item::after {
	position: absolute;
	content: '';
  bottom: .2em;
  top: 5%;
	right: 0;
	width: 2px;
	height: 30%;
	opacity: 0;
  background: #b8d200;
  opacity: .7;
	transition: all .4s ease .1S;
}
footer.nav-item:hover {
  cursor: pointer;
  color: #e0ebaf;
}
footer.nav-item:hover::after {
	bottom: 0;
	opacity: 1;
}

/* ボトムナビゲーション */
.bottom_nav{
  display: none;
}
.btm_nav_link:hover{
  text-decoration: none;
}
.copyright{
  font-size: 12px;
  text-align: center;
}

@media screen and (max-width:991px){
footer{
  height: 30px;
  margin-bottom: 5%;
  padding-bottom: 3%;
}
.bottom_nav{
  display: block;
  z-index: 100;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 30px;
  padding-top: 1%;
  padding-bottom: 5%;
  background-color: #333631;
  border-top: 1px solid #f7f8f0;
}
.btm_nav_block{
  display: flex;
  list-style: none;
  padding-left: 10px;
} 
.btm_nav_block li{
  flex: 1;
  font-size: 12px;
  margin-right: 10%;
}
.btm_nav_link{
  margin-right: auto;
  font-size: 12px;
}
  .btm_nav_link span{
    color: #e0ebaf;
  }
  .btm_nav_block li:hover{
    border-bottom: 2px solid #b8d200;
  }
}

/* jquery 用 */

.fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1500ms;
}

.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}

