/*--------------------------------
 共通
---------------------------------*/


:root {
  --back-ground-color: #E4EAE8; /*light背景*/
  --back-ground-color: #fff; /*light背景*/
  /* --back-ground-color: #f5f0eb; */
  --back-ground-dark: #151417;/*dark背景*/
  --back-ground-dark2: #292647;/*dark背景*/
  --back-ground-dark3: #322f56;/*dark背景*/
  --main-color: #181716;/*lightテキスト*/
  --dark-color: #FECFC5;/*darkテキスト*/
  --sub-color: #8cbaab;
  --sub-font: "rl-aqva", sans-serif;
  --sub2-font: "owners-text", sans-serif;
}

body {
  /* font-family: "Montserrat","dnp-shuei-gothic-gin-std","Noto Sans Japanese",sans-serif; */
  font-family: "owners-text","yu-gothic-pr6n","Noto Sans Japanese",sans-serif;
  font-size: .875rem;
  letter-spacing: .05em;
  color: var(--main-color);
  background-color: var(--back-ground-color);
  cursor: none;
}

.example {
  font-family: "YakuHanJP","yu-gothic-pr6n","Noto Sans Japanese",sans-serif;
}

#cursor{
  position: fixed;
  background: rgba(163, 163, 163, 0.5);
  border-radius:10px;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  z-index: 99;
  pointer-events: none;
  opacity: 0;
}


a {
  transition: opacity .3s;
  text-decoration: none;
  color: var(--main-color);
  cursor: none;
}



img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}



.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

.button {
  border: .5px solid var(--main-color);
  /* width: 150px;
  height: 50px; */
  padding: 4px 8px;
  border-radius: 50px;
  transition: all 0.3s 0s ease;
  font-size: .8125rem;
}

.button:hover {
  color: #fff;
  background: var(--main-color);
}




/*ダークモード切り替え*/


.dark-theme {
  background-color: var(--back-ground-dark);
  color: var(--dark-color);
}
.dark2 {
  color: var(--dark-color);
}

.dark-button  {
  border: 1px solid var(--dark-color);
} 
.dark-button2 {
  color: var(--main-color);
  background-color: var(--dark-color);
}
.dark-button3:hover {
  color: var(--back-ground-dark);
  background-color: var(--dark-color);
}




@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--back-ground-dark);
    color: var(--dark-color);
  }
}




/* .dark .section:nth-of-type(even) {
  background-color: var(--back-ground-dark);
}  */



/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  /* margin-top: 2rem; */
  }

.section {
  padding: 160px 0 0 0;
}

/* .section:nth-of-type(even) {
  background-color: #FCFFFE;
} */

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.container2 {
  max-width: 1300px;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}




/*--------------------------------
ローディング
---------------------------------*/



.loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #FFF;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
}

.loading.is-active {
  opacity: 0;
  visibility: hidden;
}

.loading-animation {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  /* align-items: center; */
  align-items:flex-end;
  /* justify-content: center; */
  justify-content:flex-start;
  font-size: 2.375rem;
  padding-left: 3.125rem;
  padding-bottom: 1.5625rem;
  opacity: 0;
  visibility: hidden;
}

.loading-animation.is-active {
  opacity: 1;
  visibility: visible;
}

p.blink_paragraph {
  animation: blinkEffect 1s ease-in-out infinite;
}
@keyframes blinkEffect {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 4.125rem;
  line-height: 1.14;
  /* letter-spacing: 0.06em; */
  /* font-family: var(--sub2-font); */
  font-weight: 400;
  /* font-weight:lighter; */
  /* font-style: normal; */
}

.title2 {
  letter-spacing: .05em;
  line-height: 1;
  margin-bottom: 6.25rem;
}
.title3 {
  font-size: 11px;
  letter-spacing: .05em;
  line-height: 2.6;
  /* margin-bottom: 30px; */
  align-self: flex-end;
  /* writing-mode: vertical-rl;
  height: 70px; */
  padding: 5px;
}

.title4 {
  font-weight: normal;
  font-size: 1.75rem;
  margin-bottom: 3.75rem;
}

.lead {
  /* font-size: 15px; */
  line-height: 3.2;
  /* margin-bottom: .9rem; */
}






.t-animation {
  display: flex;
  overflow: hidden;
}

.t-animation span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.t-animation.-visible span {
  transform: translate(0, 0);
}

.t-animation span:nth-child(2) {
  transition-delay: 0.06s;
}
.t-animation span:nth-child(3) {
  transition-delay: 0.12s;
}
.t-animation span:nth-child(4) {
  transition-delay: 0.18s;
}
.t-animation span:nth-child(5) {
  transition-delay: 0.24s;
}
.t-animation span:nth-child(6) {
  transition-delay: 0.30s;
}
.t-animation span:nth-child(7) {
  transition-delay: 0.36s;
}
.t-animation span:nth-child(8) {
  transition-delay: 0.42s;
}


/*--------------------------------
logo
---------------------------------*/
.mv-logo {
  position: fixed;
  /* top: 0; */
  left: 30px;
  z-index: 5;
  /* padding: 36px 56px; */
  font-size: 20px;
  line-height: 1.2;
  /* margin-right: 20px; */
  letter-spacing: .05em;
  /* font-family: var(--sub-font); */
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  z-index: 999;
  position: fixed;
  right: 0; 
}




.gnav-list {
  list-style: none;
  text-align: right;
}



.gnav-item:not(:first-child) {
 padding-top: .375rem;
}


.gnav-item a {
  position: relative;
  font-size: 14px;
  display: inline-block;
  /* padding: 4px 0; */
  padding-bottom: .125rem;
  transition: .3s;
  letter-spacing: .03em;
}

.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: var(--main-color);
}

.gnav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  height: 100vh;
  margin-top: 2.1875rem;

}
.mv2 {
  height: 100vh;
}


.mv-title {
  font-size: 6rem;
  line-height: .9;
  letter-spacing: .01em;
  font-family: var(--sub2-font);
}



.mv-title1 {
  line-height: 1.1;
  padding-top: 16px;
}
.mv-work {
  width: 1300px;
  /* width: 100%; */
  height: 73%;
  /* padding: 13px;
  border: 1px solid var(--main-color);
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  top: 250px;
  right: 0px;
  transition: all 0.3s 0s ease;
  line-height: 1; */
  /* margin-left: auto; */
  /* margin-top: 70px; */
  /* position: absolute;
  bottom: 30px; */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.mv-work-layout {
  display: flex;
  /* width: 70%; */
  justify-content: flex-end;
  /* flex-wrap: wrap;
  align-items:flex-end; */
  
}

/* .mv-work:hover {
  color: #fff;
  background-color: var(--main-color);
} */



.mv-work0 {
  position: absolute;
  top: -80px;
  left: 600px;
  z-index: 10;
  /* writing-mode: vertical-rl; */
  height: 120px;
  font-size: 1.1rem;
  font-size: 14px;
}

.mv-work1 {
  /* position: absolute; */
  /* top: calc(50% - 120px); */
  /* top: -20px;
  left: 600px; */
  /* transform: rotate(-10deg);; */
  /* z-index: 10; */
  width: 40%;
  /* margin-right: -60px; */
}

.mv-work2 {
  /* position: absolute; */
  /* top: calc(50% - 130px); */
  /* top: -30px;
  left: 730px;
  transform: rotate(10deg); */
  /* z-index: 9; */
  width: 40%;
  /* margin-right: -60px; */
}
.mv-work3 {
  /* position: absolute; */
  /* top: calc(50% - 160px); */
  /* top: -40px;
  left: 880px;
  transform: rotate(-10deg); */
  /* z-index: 8; */
  width: 40%;
  /* margin-right: -60px; */
}
.mv-work4 {
  /* position: absolute; */
  /* top: calc(50% - 170px); */
  /* top: 100px;
  left: 600px;
  transform: rotate(10deg); */
  /* z-index: 7; */
  width: 40%;
  /* margin-right: -60px; */
}
.mv-work5 {
  /* position: absolute; */
  /* top: calc(50% - 180px); */
  /* top: 110px;
  left: 740px;
  transform: rotate(-10deg); */
  /* z-index: 6; */
  width: 40%;
  /* margin-right: -60px; */
}
.mv-work6 {
  /* position: absolute; */
  /* top: calc(50% - 190px); */
  /* top: 100px;
  left: 900px;
  transform: rotate(10deg); */
  /* z-index: 5; */
  width: 40%;
}


.mv-work1:hover,.mv-work2:hover,.mv-work3:hover,.mv-work4:hover,.mv-work5:hover,.mv-work6:hover,.mv-work7:hover {
  opacity: 60%;
  transition: all 0.3s ease;
  transform: translateY(-30px);
}

.mv-work-etc {
  font-size: 10px;
 padding: 10px;
}

.mv-work-text {
  font-size: .75rem;
  color: #b6b6b6;
}






.mv-work1 .mv-work1-img {
  background-color: #111;
}

.mv-work1 .mv-work1-img img:hover {
  opacity: 0.5;
  transition:0.3s;
}

.mv-work1-img {
  overflow: hidden;
  position: relative;
}

.mv-work1-img .mv-work1-t {
    position: absolute;
    /* top: 146.695px;
    left: 42.38px; */
    bottom: 0;
    /* right: 0; */
    left: 0;
    /* margin-top: 20px; */
    font-size: 1.125rem;
    color: var(--back-ground-color);
    padding: 2.875rem 2rem;
    line-height: .9;
  }


.mv-work1-img .mask {
  width:			100%;
	height:			100%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0, 0, 0, 0.7);	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.mv-work1-img:hover .mask{
  opacity: 1;
}













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

.mv-title2 {
  line-height: 1.2;
  font-size: 14px;
  text-align: right;
  display: inline-block;
}
.mv-title3 {
  /* margin-top: -80px; */
  /* position: absolute;
  bottom: 30px; */
  margin-right: 300px;
}



.mv2-3  {
  /* display: flex;
  justify-content: space-between; */
  flex-wrap: wrap;
  /* margin-top: 70px; */
}



.page-bottom {
  border: 1px solid;
  padding: 14px 14px 8px 8px;
  border-radius: 18px;
  text-align: center;
  margin-top: -33px;
}

.b-square .material-icons-outlined {
  vertical-align: middle;
  font-size: 50px;
  transform: rotate(-135deg)
} 



/* ダークモードトグルボタン */

.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 26px;
  padding:  12px 4px;
	color: var(--main-color);
	border-radius: 20px;
	cursor: none;
  border: 1px solid var(--main-color);
  transition: .3s;
  /* font-size: .9rem; */
  margin-top: 10px;
  letter-spacing: .01rem;
}
.btn:before {
	content: 'ダークモード';
}
.checkbox {
	display: none;
}
.checkbox:checked+.btn {
	background: var(--back-ground-dark);
  border: 1px solid var(--dark-color);
  color: var(--dark-color);
}
.checkbox:checked+.btn:before {
	content: 'ライトモード';
}

.btn:hover {
  background-color: var(--main-color);
  color: #fff;
}

.checkbox:checked+.btn:hover {
  background-color: var(--dark-color);
  color: var(--main-color);
}


/* ダークモードトグルボタン3 */





/*--------------------------------
 who am i
---------------------------------*/
.whos {
  position: relative;
  margin-top: 100px;
}

.whos1 {
  width: 60%;
  /* margin: 0 auto; */
  margin-bottom: 1.625rem;
  padding-left: 4.375rem;
}
.whos2-hover {
  /* width: 30%; */
  /* display: inline-block; */
  /* padding-left: 70px; */
  /* margin-bottom: 60px; */
  font-size: .75rem;
  /* text-align: right; */
  /* padding-left: 4.375rem; */
}



.whos2 {
  /* width: 100%; */
  /* padding-left: 70px; */
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* margin: 0 auto; */
  /* position: relative; */
  /* display: flex; */
  /* margin-left: 40px; */
  /* padding: 40px; */
  /* padding-left: 4.375rem; */
  /* padding-top: 3.75rem; */
}
.whos2-1 {
  /* margin-right: 6px; */
  /* transform: rotate(20deg); */
}
.whos2-1:hover {
  transition: transform 0.3s;
  transform: rotate(0deg);
  transform: translateY(-30px);
}
.whos2-2 {
  /* margin-right: 6px; */
  /* transform: rotate(-20deg); */
  z-index: 3;
  width: 26%;
  margin-left: auto;
   margin-right: 3.75rem;
}
.whos2-2:hover {
  transition: transform 0.3s;
  transform: rotate(0deg);
  transform: translateY(-30px);
}


.whos2-2 .whos2-img2 {
  background-color: #111;
}

.whos2-2 .whos2-img2 img:hover {
  opacity: 0.5;
  transition:0.3s;
}

.whos2-img2 {
  overflow: hidden;
  position: relative;
}

.whos2-img2 .whos2-text2 {
    position: absolute;
    /* top: 146.695px;
    left: 42.38px; */
    bottom: 0;
    right: 0;
    /* margin-top: 20px; */
    font-size: 13px;
    color: var(--back-ground-color);
    padding: 100px 40px;
  }


.whos2-img2 .mask {
  width:			100%;
	height:			100%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0,0,0,0.4);	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.whos2-img2:hover .mask{
  opacity: 1;
}


.whos2-img1 {
  overflow: hidden;
  position: relative;
}

.whos2-img1 .whos2-text {
    position: absolute;
    /* top: 170.695px;
    left: 150.38px; */
    bottom: 0;
    right: 0;
    /* margin-top: 20px; */
    font-size: 14px;
    color: var(--back-ground-color);
    padding: 92px;
  }




.whos2-t {
  line-height: 1.6;
  letter-spacing: .1px;
  font-size: 16px;
  /* font-weight: lighter;   */
}



.whos-title,.whos-title2 {
  width: 40%;
  font-size: 65px;
  font-weight: 500;
  /* line-height: .9; */
  letter-spacing: .05em;
  /* border-top: 2px solid var(--main-color); */
}

.whos-title2 {
  /* border-bottom: 2px solid var(--main-color); */
  margin-bottom: 100px;
}

.whos-text {
  line-height: 1.8;
  /* letter-spacing: -0.01em; */
}
.whos-strength {
  /* font-size: 1.375rem; */
  /* font-weight: bold; */
  /* text-align: right; */
  /* line-height: 2; */
  margin-bottom: 2rem;
  font-size: 1.5rem;

}
.w-t-1 {
  /* padding-left: 4.375rem; */
  /* padding-top: 3.75rem; */
  /* padding-bottom: 10px; */
  letter-spacing: 0.1em;
  margin-bottom: 1.375rem;
}



/* 字間調整 */

.en-no-ls {
  letter-spacing: .12em;
}

.en-no-ls2 {
  letter-spacing: .07em;
}

.en-no-ls3 {
  letter-spacing: .01em;
}
.en-no-ls4 {
  letter-spacing: .08em;
}
.en-no-ls5 {
  letter-spacing: .06em;
}
.en-no-ls6 {
  letter-spacing: .18em;
}
.en-no-ls7 {
  letter-spacing: .055em;
}
.en-no-ls8 {
  letter-spacing: .1em;
}
.en-no-ls9 {
  letter-spacing: .26em;
}


/* .icon-size {
  display: inline-block;
  width: 37px;
  margin: 0px 6px;
  line-height: 1.6;
}
.icon-size-light {
  display: inline-block;
  width: 40px;
  margin: 0px 6px;
  line-height: 1.6;
  transform: rotate(90deg);
} */




.w-t-2 {
  width: 50%;
  margin-top: 36px;
  margin-bottom: 36px;
  padding-left: 36px;
  border-left: 2px solid #c4c4c4;
}

.a-button {
  text-align: right;
  /* margin-top: 14px; */
}



.border {
/* border-bottom: 2px solid var(--main-color); */
  margin-left: -80px;
  margin-right: -80px;
}






.fu {
  opacity: 0;
  /* transform: translate(0%, 0%); */
  transition: all .2s .01ms ease-in;
}
.fu.active {
  opacity: 1;
  /* transform: translate(0, 0); */
}








button {
  border: 1px solid var(--main-color);
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s 0s ease;
}
button:hover {
  background-color: var(--main-color);
}
 button a:hover {
  color:#fff;
 }


/*--------------------------------
 Skill
---------------------------------*/

.title-skills {
  width: 28%;
  position: sticky;
  top: 14%;
}

.skill-box {
  margin-bottom: 60px;
  margin-top: -20px;
  width: 72%;
  margin-left: auto;
}

.skill-box1 {
  position: relative;
  /* margin-bottom: 100px; */
  display: flex;
 /* background-color: #762d2d; */
}

.s-n-t {
  width: 44%;
  line-height: 1.2;
}
.skill-number {
  /* font-family: "nort", 'Yu Gothic UI', sans-serif; */
  font-size: 1rem;
}

.skill-box2 {
  position: relative;
  margin-top: 85px;
  display: flex;
}
.skill-title {
  display: flex;
  margin-bottom: 1.2rem;
}

.skill-subtext {
  width: 56%;
}



.skill-box1-text,.skill-box2-text {
  font-size: 1.75rem;
  letter-spacing: .06em;
  line-height: 1.2;
}

.skill-box1-subtext,.skill-box2-subtext {
  margin-bottom: 30px;
  line-height: 2;
}

.skill-box1-tool,.skill-box2-tool {
  letter-spacing: -0.01em;
}


/*--------------------------------
 Works
---------------------------------*/

.works p.title2 {
  margin-bottom: 60px;
}

.works-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -40px;
}

.works-item {
  width: 29%;
  /* margin-right: 1%; */
  margin-bottom: 3.125rem;
  font-size: .75rem;
}

.works-item:hover {
  opacity: .9;
}

.works-item:nth-of-type(3n) {
  margin-right: 0;
}
.works-img3 {
  width: 90%;
}

.works-name {
  font-size: 1rem;
  /* font-weight: bold; */
  margin-top: .5rem;
  line-height: 1.3;
}

.works-img2 {
  border: 1px solid #dcdcdc;
}

.works-info {
  margin-top: .1875rem;
  font-size: .65625rem;
}
.works-info2 {
  margin-top: .3125rem;
  font-size: .625rem;
  line-height: 1.7;
}

.work-text {
  text-align: center;
  margin-bottom: 60px;
}









.works-item .works-img {
  background-color: #111;
}

.works-item .works-img img:hover {
  opacity: 0.5;
  transition:0.3s;
}

.works-img {
  overflow: hidden;
  position: relative;
}

.works-img .w-work1-t {
    position: absolute;
    /* top: 146.695px;
    left: 42.38px; */
    bottom: 0;
    /* right: 0; */
    left: 0;
    /* margin-top: 20px; */
    font-size: 1.375rem;
    color: var(--back-ground-color);
    padding: 6.4375rem 7.375rem;
    line-height: .9;
  }


  .works-img .mask {
  width:			100%;
	height:			100%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0, 0, 0, 0.8);	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.works-img:hover .mask{
  opacity: 1;
}


.works-item .works-img2 {
  background-color: #111;
}

.works-item .works-img2 img:hover {
  opacity: 0.5;
  transition:0.3s;
}

.works-img2 {
  overflow: hidden;
  position: relative;
}

.works-img2 .w-work1-t {
    position: absolute;
    /* top: 146.695px;
    left: 42.38px; */
    bottom: 0;
    /* right: 0; */
    left: 0;
    /* margin-top: 20px; */
    font-size: 1.375rem;
    color: var(--back-ground-color);
    padding: 6.375rem 7.3125rem;
    line-height: .9;
  }


  .works-img2 .mask {
  width:			100%;
	height:			100%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0, 0, 0, 0.8);	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.works-img2:hover .mask{
  opacity: 1;
}






.works-item .works-img3 {
  background-color: #111;
}

.works-item .works-img3 img:hover {
  opacity: 0.5;
  transition:0.3s;
}

.works-img3 {
  overflow: hidden;
  position: relative;
}

.works-img3 .w-work1-t {
    position: absolute;
    /* top: 146.695px;
    left: 42.38px; */
    bottom: 0;
    /* right: 0; */
    left: 0;
    /* margin-top: 20px; */
    font-size: 1.375rem;
    color: var(--back-ground-color);
    padding: 8.4375rem 6.3125rem;
    line-height: .9;
  }


  .works-img3 .mask {
  width:			100%;
	height:			100%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0, 0, 0, 0.8);	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.works-img3:hover .mask{
  opacity: 1;
}











/*--------------------------------
 Strength
---------------------------------*/
.strength-t {
  position: sticky;
  top: 24%;
  width: 30%;
}
.strength-t h2 {
  margin-top: 50px;
}

.st1,.st2,.st3 {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  width: 46%;
  margin-left: auto;
  margin-right: 6rem;
}
.st1,.st2 {
  margin-bottom: 140px;
}

.st1-text-box,.st2-text-box,.st3-text-box {
  line-height: 2.6;
  letter-spacing: -0.01em;
}

.st1-title,.st2-title,.st3-title {
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 2.1;
  position: relative;
  font-size: 1.625rem;
}


.border2 {
  position: absolute; 
  opacity: 0;
  width : 10%;
  top: -14%;
  left: 0%;
  border: .1px solid var(--main-color);
  transform: translate(0%, -100%);
  transition: all 1s ease-out;
}
.border2.active {
  opacity: 1;
  width: 100%;
  transform: translate(0, 0);
}



/*--------------------------------
 About
---------------------------------*/


.profile2 {
  display: flex;
  flex-wrap: wrap;
}

.my-name {
  margin-bottom: 20px;
}
.profile-img {
  width: 26%;
  margin-left: 60px;
  line-height: 2;
  /* align-self: center; */
}

.face-img {
  width: 50%;
  margin-bottom: 1rem;
}
.face-img img {
  /* border-radius: .375rem; */
}

.none {
font-size: .6875rem;
margin-bottom: 1rem;
}
.profile-body {
  /* flex: 1; */
  width: 40%;
  padding-left: 4.375rem;
  letter-spacing: .08em;
  line-height: 2;
}
.pro-mb{
  margin-bottom: 3.75rem;
}

.ul-before {
  position: relative;
}
.under-line {
  padding: .3125rem 0 .625rem ;
  display: block;
}
.under-line::after {
  position: absolute;
  content: '';
  width: 14%;
  height: 1px;
  background-color: #eaeaea;
  top: 0;
  left: 0;
  display: block;
}
.under-line::before {
  /* text-decoration:#9f9f9f underline dotted 1px;
  text-underline-offset: .1875rem; */
  position: absolute;
  content: '';
  width: 2%;
  height: 1px;
  background-color: #7d7d7d;
  top: 0;
  left: 0;
  display: block;
  z-index: 2;
}

.detail-li {
  list-style-position: inside;
}


/*--------------------------------
 Contact
---------------------------------*/
.contact {
  margin: 9rem 0 14rem 0; 
}
.contact .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-box {
  /* width: 460px; */
  /* height: 100px; */
  /* margin: 0 auto; */
  /* text-align: center; */
  /* padding-top: 1.5rem; */
  /* text-align: right; */
}

.contact-list {
  font-weight: 500;
  font-size: 18px;
  display: flex;
  margin-top: .875rem;
  justify-content: flex-end;
}

.contact-item {
  list-style-type: none;
  position: relative;
  padding-bottom: .125rem;
}
.contact-item:not(:last-child) {
  margin-right: 50px;
}


.contact-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: var(--main-color);
}

.contact-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  cursor: pointer;
  /* text-align: center; */
  font-size: 13px;
}
:hover.page-top {
  opacity: .4;
}


/* .page-top .material-icons-outlined {
  vertical-align: middle;
  font-size: 50px;
  transform: rotate(-45deg);
  font-size: 14px;
} */


/*--------------------------------
 フッター
---------------------------------*/
.footer {
  height: 60px;
  position: relative;
}

.copyright {
  font-size: .6875rem;
}

.pt-cr {
  height: 60px;
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e2e2;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/

.article-wrapper {
  margin-top: 2.2rem;
}

.article-container {
  max-width: 1260px;
  margin: 0 auto;
}

.article-title {
  font-size: 3.125rem;
  font-weight: lighter;
   margin-bottom: 1.875rem;
   /* letter-spacing: .06em; */
}


.article-body {
  max-width: 1000px;
  margin: 0 auto;
  /* margin-bottom: 80px; */
  flex-wrap: wrap;
}

.article-t {
  line-height: 1.9;
}
.p-b3 {
  width: 82%;
  margin: 0 auto;
  margin-bottom: 2.5rem;
}


.comp {
  width: 90%;
  margin: 0 auto;
  /* margin-bottom: 40px; */
  /* background-image: url(../img/matsui_water.png);
  background-size: cover;
  background-repeat: no-repeat; */
}
.comp-rakuya {
  /* width: 90%; */
  margin: 0 auto;
  margin-bottom: 40px;
  /* background-image: url(../img/rakuya_painting2.png);
  background-size: cover;
  background-repeat: no-repeat; */
}

.work-intro {
  text-align: center;
  margin-bottom: 8.75rem;
  letter-spacing: .08em;
}

.mockup-img {
  margin-bottom: 140px;
}


.comp3 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20rem;
}

.comp3-1 {
  width: 60%;
}
.comp3-1-1 {
  width: 60%;
}
.comp3-1-1 img {
  border: 1px solid #dcdcdc;
}
.comp3-2 {
  width: 25%;
}
.comp3-2-1 {
  width: 25%;
}
.comp3-2-1 img {
  border: 1px solid #dcdcdc;
}

.comp2 {
  width: 100%;
}

.comp2-1 {
  margin: 10rem 1.25rem;
}


.comp2 ul {
  padding-left: 14px;
}

.matcha {
  text-decoration:underline;
}

.about-de {
  margin: 0 auto 160px;
  width: 77%;
}

.about-de2 {
  width: 60%;
  margin: 0 auto;
}

.about-details {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.about-de3 {
  width: 70%;
  margin-bottom: 60px;
  line-height: 2rem;
  letter-spacing: .08em;
}


.comp-banner {
  width: 50%;
}

.b-tomato  img {
  width: 20%;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 20px;
  /* padding-left: 1em; */
  width: 26%;
  line-height: 2.5rem;
  letter-spacing: .07em;
}

.article-body h3:not(:first-child) {
  /* margin-top: 80px; */
}

/* .article-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: var(--main-color);
} */

.article-body p {
  /* font-size: 15px; */
  /* line-height: 1.8; */
  /* margin-bottom: 30px; */
}

.work-f-text {
  font-weight: bold;
}


.work-1 {
  text-align: right;
}

.works-list-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content:flex-end;
  /* text-align: center; */
}




.home-link {
  text-align: center;
}












.des-detail {
  display: flex;
}

.des-detail1 {
  width:54%;
  margin-right: 60px;
}
.des-detail3 {
  width: 42%;
  margin-right: 60px;
}
.des-detail4 {
  border: 1px solid #dcdcdc;
}
.des-detail2 {
  width:46%;
}
.des-detail2 p {
  margin-bottom: 0;
}
.des-de1 {
  position: sticky;
  top: 3%;
}

.des-summary1 {
  font-weight: bold;
  padding-left: 20px;
  line-height: 1.6rem;
  letter-spacing: .07em;
}
.des-summary1::before {
  position: absolute;
  top: 0;
  left: 0px;
  width: 4px;
  height: 50px;
  content: "";
  border-radius: 3px;
  background-color: var(--main-color);
}


.des-summary3 {
  margin-top: 1.5rem;
  line-height: 2.5;
}


p.des-text {
  margin-top: 2.875rem;
  font-size: .75rem;
  font-weight: 600;
}

.des-text-t {
  font-size: 12px;
  line-height: 1.7rem;
  letter-spacing: .08em;
}









@media (prefers-color-scheme: dark) {
  body, .btn {
    background-color: var(--back-ground-dark);
    color: var(--dark-color);
  }
  a {
    color: var(--dark-color);
  }
  
  .button, .btn {
    border: 1px solid var(--dark-color);
  } 
}




/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
.pc-only {
  display: none;
}
  /* 見出し */
  .title {
    font-size: 2.125rem;
  }
  .title2 {
    margin-bottom: 35px;
    font-size: .75rem;
  }
  .title3 {
    line-height: 1;
    margin-bottom: 40px;
  }
  .title4 {
    /* margin-bottom: 3.125rem; */
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0.625rem;
  }

  /* レイアウト */
  .wrapper {
    margin-top: 0px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
  max-width: 375px;
  margin: 0 auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  }

  .container2 {
    max-width: 375px;
    margin: 0 auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .button {
  display: inline-block;
  line-height: 1.5;
}


.loading-animation {
  padding-left: 1.125rem;
  padding-bottom: 1rem;
}


  /* ヘッダー */




  .header .container {
    padding-right: 1rem;
  }

  .header-logo {
    font-size: 10px;
  }



  .gnav-list {
    justify-content: space-between;
    bottom: 30px;
    height: auto;
    margin: 0 auto;
    /* width: 90%; */
  }

  .gnav-item:not(:last-child) {
    /* padding-right: 20px; */
  }

  .gnav-item {
    padding-bottom: 4px;
    padding-right: 0;
  }
  .gnav-item a {
    font-size: 10px;
  }

  .gnav-item a:after {
    display: none;
  }



  .gnav-item:not(:first-child) {
    padding-top: 0;
   }

   .gnav-item a{
    padding-bottom: 0;
   }


   

  /*  メインビジュアル */
  .mv {
    padding: 0;
    height: 100vh;
  }
  .mv2 {
    /* padding-top: 50px;  */
    height: 100vh;
  }
  .mv2-3 {
    justify-content: space-between;
    width: 80%;
  }

  .mv-container {
    padding: 0 20px;
  }

  .mv-title {
    font-size: 46px;
    line-height: 1;
    width: 80%;
  }
  .mv-title1 {
    font-size: 20px;
    line-height: 1.2;
    padding-top: 12px;
  }

  .mv-title3 {
    position: absolute;
    bottom: -2.5rem;
  }
 
  .mv-subt-2 {
    width: 50%;
  }

  .mv-subtitle {
    font-size: 18px;
    line-height: .8;
  }

  .mv-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .mv3 {
    width: 50%;
  }

  .mv3-sub {
    font-size: 10px;
    margin-left: auto;
  }

  .btn  {
    width: 120px;
    height: 26px;
    margin-top: 60px;
    font-size: 16px;
    padding: 3px 6px;
  }

  .mv-work {
    width: 65%;
    height: 72%;
    position: absolute;
    flex-direction:column-reverse;
    align-items:flex-start;
  }
  .mv-work-layout {
    /* margin-top: 6.25rem; */
    /* width: 50vh; */
    /* height: 40vh; */
    flex-wrap: wrap;
    justify-content:flex-start;
    flex-direction:row-reverse;
  }
  .mv-work1,.mv-work2,.mv-work3,.mv-work4,.mv-work5,.mv-work6 {
    width: 50%;
  }

  .mv-work3,.mv-work4,.mv-work5,.mv-work6 {
    margin-top: 2.5rem;
  }
  
  .mv-work1-img .mv-work1-t {
    font-size: .75rem;
    padding: 2.625rem 2.0625rem;
  }

  .mv-sp {
    display: block;
    border: 1px solid #000;
    text-align: center;
    font-size: 20px;
    border-radius: 30px;
    width: 180px;
    margin: 210px auto;
    letter-spacing: .2em;
    line-height: 1.65em;
  }
 

  /* WHO AM I */

  .whos {
    padding-top: 0;
  }
  .whos1 {
    width: 100%;
    margin-bottom: 2.875rem;
    padding-left: 0;
  }

  .whos-text {
    flex-wrap: wrap;
    letter-spacing: .09rem;
    line-height: 2.2;
  }
  .whos-strength {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.5;
  }

  .whos-title,.whos-title2 {
    font-size: 30px;
  }




  .w-t-1,.w-t-2 {
    width: 100%;
    padding: 0;
    margin-bottom: 1.125rem;
  }

  .w-t-2 {
    margin: 0;
  }

  .whos2 {
    width: 100%;
    margin-top: 2rem;
    padding-left: 0;
  }

  .whos2-2 {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .whos2-hover {
    padding-left: 0;
    font-size: .6875rem;
  }

  .whos2-img1 .whos2-text {
    bottom: 0;
    right: 0;
    font-size: .625rem;
    color: var(--back-ground-color);
    padding: 1.25rem;
  }

  .whos2-img2 .whos2-text2 {
    top: 30%;
    right: 0;
    font-size: .625rem;
    color: var(--back-ground-color);
    padding: .5rem;
  }



  .border {
    position: absolute; 
    opacity: 0;
    width : 10%;
    top: 11%;
    left: 5%;
  }
  
  .border.active {
    width :90%;
  }

  .a-button {
    text-align: left;
    /* margin-top: 30px; */
  
  }
  




  /* Skill */

  .title-skills {
    width: 100%;
  position: relative;
  top: 0;
  }

  .skill-box {
    height: auto;
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
    margin-top: 0;
}
  
  .skill-box1,.skill-box2  {
    width: 100%;
  }
  .skill-box2 {
    margin-left: 0px;
    /* margin-top: 0; */
  }
 
  .skill-box1-text,.skill-box2-text {
    font-size: 1.25rem;
  }
  .skill-box2-subtext {
    /* padding-top: 30px; */
  }

  
  .skill-box1 {
    margin-bottom: 80px;
    width: 100%;
  }
  .skill-box {
    width: 100%;
  }

  .s-n-t {
    width: 22%;
  }
  .skill-number {
    font-size: .75rem;
  }
  .skill-subtext {
    width: 76%;
  }

  .skill-title {
    margin-top: 0;
    margin-bottom: .8rem;
  }




  /* Works */
  .works-name {
    font-size: .875rem;
  }

  .works-info {
    font-size: .625rem;
  }

  .works-info2 {
    line-height: 1.6;
  }

  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .works-img .w-work1-t {
    font-size: 1.125rem;
    padding: 2.875rem 2.4375rem;
  }
  .works-img2 .w-work1-t {
    font-size: 1.125rem;
    padding: 2.875rem 2.4375rem;
  }
  .works-img3 .w-work1-t {
    font-size: 1.125rem;
    padding: 4.25rem 2rem;
  }

  


  /* Strength */

  .strength-t {
    position:relative;
  width: 100%;
  }

  .st1,.st2,.st3 {
    width: 100%;
    padding: 0;
    margin-left: 0;
    margin-top: 60px;
    margin-right: 0;
    margin-left: 0;
}
  

  .st2 {
    border-left: 0;
    border-right: 0;
  }
  

 

 .st1,.st2 {
  margin-bottom: 0;
 }

 .st1-title,.st2-title,.st3-title {
  font-size: 1.25rem;
  line-height: 1.4;
 }
  .st1-title-box,.st2-title-box,.st3-title-box {
    width: 100%;
  }
  .st1-text-box,.st2-text-box,.st3-text-box {
    width: 100%;
    padding-left: 0;
  }

  /* About */
  .profile {
    display: block;
  }
  .profile-img {
    width: 100%;
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .profile-img a {
    /* text-align: center; */
  }


  .profile-body {
    width: 100%;
    padding-left: 0;
  }

  .my-name {
    margin-bottom: 12px;
  }

  /* .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  } */

  .profile span {
    display: none;
  }

  .pro-mb {
    margin-bottom: 3.125rem;
  }
  .pro-mb-sponly {
    margin-bottom: 3.125rem;
  }

.none {
  width: 100%;
}
  /* contact */
  .contact {
    margin: 1rem 0;
  }
  .contact .title {
    font-size: 40px;
    text-align: left;
  }
  .contact-box {
    width: 100%;
    height: auto;
    margin: 0;
    text-align:left;
    padding-top: 3.75rem;
  }
  .contact-list {
  justify-content: flex-start;
  margin-top: 1.5rem;
  }

  .contact-item:not(:last-child) {
    margin-right: 20px;
  }

  .contact-item a:after {
    display: none;
  }

  /* フッター */
  .footer {
    padding: 0px;
    /* height: 60px; */
  }
  .pt-cr {
    /* height: 40px; */
    font-size: 0.625rem;
    border-top: 1px solid #e2e2e2;
    align-items: start;
    padding-top: .875rem;
  }
 
  .copyright {
    width: 100%;
  }
  .page-top {
    width: 100%;
    font-size: .6875rem;
  }

  /* 下層ページ */
  .article {
    /* padding: 50px 0; */
  }

  .article-container {
    max-width: 370px;
    margin: 0 auto;
    padding: 1rem;
  }
 
  .comp {
    width: 100%;
    margin-top: 3.125rem;
  }

  .about-de {
    margin-bottom: 50px;
  }
  
  .comp2 {
    width: 100%;
    margin-left: 0;
    /* padding: 1rem; */
  }

  .comp2-1 {
    margin: 3.125rem 1rem;
  }

  .comp3 {
    margin-top: 2.5rem;
    width: 100%;
    /* padding: 1rem; */
  }
  
  .comp3-1 {
    display: none;
  }

  .comp3-1-1 {
    display: none;
  }

  .comp3-2 {
    width: 100%;
  }

  .comp3-2-1 {
    width: 100%;
  }

  .p-b3 {
    width: 100%;
    margin-bottom: 1.75rem;
  }



  .article-title {
    margin-top: -1rem;
    font-size: 1.625rem;
    margin-bottom: 1.25rem;
  }

  .article-t {
    line-height: 1.6;
  }

  .about-details {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  .article-body h3 {
    font-size: 16px;
    /* padding-left: .8em; */
    width: 100%;
    margin-bottom: 0;
  }
  .about-de3 {
    width: 92%;
    line-height: 2;
    letter-spacing: .1em;
    margin-bottom: 1.875rem;
  }
  .article-body h3:not(:first-child) {
    margin-top: 20px;
  }



  .des-detail {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    /* padding: 1rem; */
  }
  
  .des-detail1 {
    width:100%;
    margin-top: 2.5rem;
  }

  
  .des-detail2 {
    width:100%;
  }
  .des-detail2 p {
    margin-bottom: 0;
  }
  .des-de1 {
    position: sticky;
    top: 3%;
  }
  
  .des-summary1 {
    font-size: 14px;
    font-weight: bold;
    padding-left: 20px;
    line-height: 1.5rem;
  }
  .des-summary1::before {
    position: absolute;
    top: 0;
    left: 0px;
    width: 4px;
    height: 68px;
    content: "";
    border-radius: 3px;
    background-color: var(--main-color);
  }

  .des-summary2 {
    line-height: 2.5;
    width: 92%;
  }
  .des-summary3 {
    margin-top: 1.5rem;
    line-height: 2.7;
    width: 92%;
  }
  
  p.des-text {
    /* margin-top: 24px; */
    font-size: .8125rem;
  }
  
  .des-text-t {
    font-size: 12px;
    letter-spacing: .1em;

  }

  .des-detail3 {
    width: 100%;
    margin-right: 0px;
    margin-top: 2.25rem;
  }

  .work-1 {
    text-align:start;
  }

  .work-intro {
    margin-bottom: 0;
    font-size: .75rem;
  }

  .work-intro2 {
    margin-bottom: 4.375rem;
  }


.works-list-1 {
  justify-content: center;
}
  

  .problemsolving-img {
    width: 100%;
    text-align: center;
  }
  .problemsolving-img img {
    width: 70%;
    
  }

  .problemsolving-text {
    width: 100%;
  }
}
