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

html {
    color: #3c606e;
    font-family: 'Shippori Mincho', serif;
    font-family: 'Sawarabi Mincho', serif;
    background-color: #c9d2d2;
    letter-spacing: 0.2em;
    line-height: 2vw;
    font-size: 16px;
    scroll-behavior: smooth;
}
* {
    margin: 0 auto;
}
nav {
    color:  white;
    z-index: 50;
    position: relative;
}
nav ul {
    right: 4px;
    top: 33px;
    position: fixed;
}
nav ul li {
    list-style: none;
    float: left;
    width: 118px;
}
.li {
    color:  white;
    transition: all 0.5s ease;
    text-decoration: none;
}
.li:hover {
color: #0b3370;
}

h1 img {
    width: 100%;
}
.scrolldown1{
  position:absolute;
  right: 5%;
  bottom: 5%;
  height: 70px;
}
.scrolldown1 span{
  position: absolute;
  left: -26px;
  top: -26px;
  color: #0b3370;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.scrolldown1::after{
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 30px;
  background: #0b3370;
  animation: pathmove 1.4s ease-in-out infinite;
  opacity:0;
}
@keyframes pathmove{
  0%{
    height:0;
    top:0;
    opacity: 0;
  }
  30%{
    height:40px;
    opacity: 1;
  }
  100%{
    height:0;
    top:80px;
    opacity: 0;
  }
}

h2 {
    font-size: 25px;
    letter-spacing: 0.3em;
    margin-top: 200px;
    text-align: center;
}

#works {
    text-align: center;
    margin-top: 170px;
    line-height: 2.2vw;
}
.site {
    margin-top: 100px;
}
.site-title {
    padding-bottom: 60px;
}
.w1 {
    display: flex;
    justify-content: center;
}
.site img {
    width: 100%;
}
.text {
    margin-top: 20px;
    width: 52vw;
}
.banner {
    margin-top: 170px;
}
.banner img {
    width: 94%;
}
.banner ul li {
    list-style: none;
    font-size: 14px;
    margin: 25px
}

.banner ul {
    display: flex;
    justify-content: center;
    padding: 0;
}
.ba-1 {
    margin-top: 50px;
}
.ba-2 {
    margin-top: 35px;
}
.p-text {
    padding-top: 20px;
}
h3 {
    font-size: 20px;
}
.camera {
    margin-top: 170px;
}
.blog {
    margin-top: 55px;
}
.text-1 {
    margin-top: 135px;
    margin-bottom: 55px;
    width: 52vw;
}
.btnlinestretches2{
  position:relative;
  color: #3c606e;
  padding: 10px 30px;
  display:inline-block;
    text-decoration: none;
    outline: none;
    margin: 0px 39px;
}

.btnlinestretches2::before,
.btnlinestretches2::after {
  content:'';
  position:absolute;
  border:solid #eef4f0;
  width:10px;
  height:10px;
  transition:all 0.3s ease-in-out;
}

.btnlinestretches2::before{
  top:0;
  left:0;
  border-width:2px 0 0 2px;
}

.btnlinestretches2::after{
  bottom:0;
  right:0;
  border-width:0 2px 2px 0;
}

.btnlinestretches2:hover::before,
.btnlinestretches2:hover::after{
  width:calc(100% - 2px);
  height:calc(100% - 2px);
  border-color:#eef4f0
}
.skill1 {
    display: flex;
    justify-content: center;
    line-height: 39px;
    margin-top: 100px;
    width: 1000px;
}
.skill2 {
    width: 378px;
    list-style-type: none;
    padding: 0;
}
.s-1 {
    float: left;
    width: 365px;
    border-bottom: solid 1px #fbf7f3;
}
.s-2 {
    float: right;
}
.de {
    text-align: left;
    display: flex;
    margin-top: 100px;
    justify-content: center;
    width: 1000px;
    position: relative;
    line-height: 2vw;
}
.de1 {
    width: 500px;
}
.de2 {
    width: 500px;
}
.de p {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0px 45px;
}
.square {
    position: absolute;
    top: 3%;
    width: 48%;
    height: calc(100% - 10px);
    background: #f5f6f7;
    z-index: -1;
    opacity: 0.3;
  }
.square2 {
    position: absolute;
    top: 3%;
    left: 51%;
    width: 48%;
    height: calc(100% - 51%);
    background: #f5f6f7;
    z-index: -1;
    opacity: 0.3;
} 
.square3 {
    position: absolute;
    top: 340px;
    left: 51%;
    width: 48%;
    height: calc(100% - 333px);
    background: #f5f6f7;
    z-index: -1;
    opacity: 0.3;
}
.h3-2 {
    padding-left: 45px; 
}
#sonota {
    padding-top: 35px;
    padding-left: 45px; 
}
.about1 {
    display: flex;
    flex-direction: row-reverse;
    width: 1000px;
    margin-top: 100px;
}
#ask {
    height: 100%;
    width: 280px;
}
.a-text {
    width: 520px;
}
.a-text p {
    width: 520px
}
.b-text {
    padding-top: 20px;
}
h4 {
    margin-top: 37px;
    margin-bottom: 20px;
}
.about2 {
    width: 900px;
}
.about3 {
    display: flex;
    margin-top: 100px;
    width: 1000px;
    font-size: 14px;
}
.mail {
 float: left;
}
.sns {
    width: 29px;
    margin-left: 2vw;
}
.abura {
    flex-direction: column;
}
.abura img {
    width: 250px;
}
.abura p {
    width: 230px;
    margin-top: 20px;
    line-height: 1.6vw;
}
.ca {
    flex-direction: column;
}
.ca img {
    height: 100%;
    padding: 0px 10px;
    width: 280px;
}
.ca p {
    width: 520px;
    margin-top: 20px;
}
#copy {
    float: right;
    margin: 200px 10px 15px 0px;
}
#pagetop{
    position: fixed;
    bottom: 50px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #848b86;
 }
  .arrow{
    width: 10px;
    height: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(-45deg);
    margin-top: 5px;
 }
 .fadeIn {
     animation-name: fadeInAnime;
     animation-duration: 2s;
     animation-fill-mode: forwards;
     opacity: 0;
 }
 @keyframes fadeInAnime {
     from {
         opacity: 0;
     }
     to {
         opacity: 1;
     }
     
 }
 .p {
    overflow: hidden;/*左右アニメーションで画面からはみ出る際に出る横スクロールバーを隠す*/
  }
  
  /*========= 流れるテキスト ===============*/
  
  /*全共通*/
  
  .slide-in {
    overflow: hidden;
      display: inline-block;
  }
  
  .slide-in_inner {
    display: inline-block;
  
  }
  
  /*左右のアニメーション*/
  .leftAnime{
      opacity: 0;/*事前に透過0にして消しておく*/
  }
  
  .slideAnimeLeftRight {
    animation-name:slideTextX100;
    animation-duration:1.5s;
    animation-fill-mode:forwards;
      opacity: 0;
  }
  
  @keyframes slideTextX100 {
    from {
    transform: translateX(-100%); /*要素を左の枠外に移動*/
          opacity: 0;
    }
  
    to {
    transform: translateX(0);/*要素を元の位置に移動*/
      opacity: 1;
    }
  }
  
  .slideAnimeRightLeft {
    animation-name:slideTextX-100;
    animation-duration:1.5s;
    animation-fill-mode:forwards;
      opacity: 0;
  }
  
  
  @keyframes slideTextX-100 {
    from {
    transform: translateX(100%);/*要素を右の枠外に移動*/
      opacity: 0;
    }
  
    to {
    transform: translateX(0);/*要素を元の位置に移動*/
      opacity: 1;
    }
  }
/* 背景が左から出現＋テキスト */
.bgLR{
	position:relative;/*テキストの基点となる位置を定義*/
}

.bgLR span.mask2{
	position:relative;/*背景色の基点となる位置を定義*/
    display: block;
    line-height: 0;/*行の高さを0にする*/
    overflow: hidden;/*拡大してはみ出る要素を隠す*/
}

.bgLR span.mask2::before{
	content:"";
	position: absolute;
	z-index: 2;
	left:0;
	top:0;
	opacity:0;
	transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
    transform: translateX(-100%);
	background:#344754e3;/*背景色*/
	width:100%;
	height: 100%;	
}

.bgLR:hover span.mask2::before{/*hoverした時の変化*/
	opacity:1;
	transform: translateX(0);
}

.bgLR span.cap{
	position: absolute;
	opacity:0;
	transition: .5s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
	z-index:3;/*テキストを前面に出す*/
	top: 50%;
    left: 50%;
	transform: translate(-50%,-50%);
	color: #fff;/*テキストの色を変えたい場合はここを修正*/
    line-height: 1.5;/*行の高さを1.5にする*/
}

.bgLR:hover span.cap{/*hoverした時の変化*/
	opacity:1;
}
.zoomIn img{
	transform: scale(1);
	transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}

.zoomIn a:hover img{/*hoverした時の変化*/
	transform: scale(1.15);/*拡大の値を変更したい場合はこの数値を変更*/
}

.mask{
    display: block;
    line-height: 0;/*行の高さを0にする*/
}
}