@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  /* border: 0.5px solid pink; */
}

img {
  width: 100%;
}

body {
  color: #403F25;
  background-color: #f9f9f9;
  font-family: "Noto Sans JP", sans-serif;
}

p {
  letter-spacing: 3px;
}

.w-container {
  max-width: 1300px;
  width: 85%;
  margin: 0 auto;
}

section {
  padding-top: 0.5rem;
}

.pcOnly {
  display: block;
}

header {
  margin-top: 15px;
  font-family: "Sedan", serif;

}

header ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
}

header a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  line-height: 7vh;
  position: relative;
  overflow: hidden;
  /* padding:  10px 20px; */
}

/*==================================================
　5-3-11 左右から線が伸びて枠線になる
===================================*/

.gnavi li {
  /*線の基点とするためrelativeを指定*/
  position: relative;
  margin: 0 10px;
}

/*線の基点位置*/
.gnavi a::before,
.gnavi a::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  /*線の形状*/
  width: 0;
  height: 4px;
  background: #4DB4FF;
  /* background:#4DB4FF; */
  /*アニメーションの指定*/
  transition: all 0.2s linear;
  transition-delay: 0.2s;
}

.gnavi a::before {
  right: 0;
  top: 0px;
}

.gnavi a::after {
  left: 0;
  bottom: 0px;
}

/*線の基点位置2 spanタグ*/

.gnavi li span {
  display: block;
  padding: 0 10px;
  height: 40px;
  line-height: 40px;
}

.gnavi li span::before,
.gnavi li span::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  /*線の形状*/
  width: 4px;
  height: 0;
  background: #4DB4FF;
  /* background: #4DB4FF; */
  /*アニメーションの指定*/
  transition: all 0.2s linear;
}


.gnavi li span::before {
  left: 0;
  top: 0;
}

.gnavi li span::after {
  right: 0;
  bottom: 0;
}

/*現在地とhoverした際の線の変化*/

.gnavi a.current::before,
.gnavi a.current::after,
.gnavi a:hover::before,
.gnavi a:hover::after {
  width: 100%;
  /*横幅を100%に*/
}

.gnavi li.current span::before,
.gnavi li.current span::after,
.gnavi li:hover span::before,
.gnavi li:hover span::after {
  height: 100%;
  /*縦幅を100%に*/
}

/* header a:after {
  position: absolute;
  bottom: 27px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #ffff34;
  opacity: 0.8;
  transform: translate(-100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
  content: "";
}

header a:hover:after {
  transform: translate(0, 0);
} */


header li {
  color: #403F25;
  width: 150px;
  text-align: center;
  /* font-size: 20px; */
  letter-spacing: 1.25px;
}

.skillSec,
.bunnerSec {
  background: #FFFFF7;
}

/* .openbtn,.g-nav,.circle-bg{
  display: none;
} */
section:nth-child(2n) {
  background: none;
}


.main_visual {
  background-image: url(../images/50443218.6df217b864c26558d6723f577e39384b.19101115.JPG);
  height: 88vh;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95%;
  margin: 0 auto;
}

.main_visual h1 {
  color: #ffffff;
  text-shadow: 2px 2px 2px #c2c2c2;
  letter-spacing: 10px;
  font-family: "Sedan", serif;
}

.bodylineTop {
  top: 0;
  background: #ffff34;
}

.bodylineRight {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  display: block;
  width: 8px;
  background: #ffff34;
}

.bodylineBottom {
  bottom: 0;
  background: #ffff34;
}

.bodylineLeft {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100000;
  display: block;
  width: 8px;
  background: #ffff34;
}

.bodylineBottom,
.bodylineTop {
  height: 8px;
  z-index: 100000;
  position: fixed;
  left: 0;
  display: block;
  right: 0;
}

h2 {
  margin-top: 5rem;
  margin-bottom: 5rem;
  letter-spacing: 3px;
  font-family: "Sedan", serif;
  font-size: 28px;
  padding-bottom: 1rem;
  border-bottom: 2px solid #c3c3c3;
}

.about {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  justify-content: space-evenly;
}

.about figure {
  width: 30%;
}

.item1,
.item2 {
  flex-basis: 40%;
}

.profile {
  flex-basis: 60%;
}

.profile h3 {
  margin-bottom: 1.5rem;
}

.work {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10rem;
}

.work .work-text {
  flex: 0 0 35%;
  /* display: flex;
  flex-direction: column;
  justify-content: space-around; */
}

.work .work-text h3 {
  margin-bottom: 2rem;
  font-size: 20px;
}

.work .work-text p {
  margin-bottom: 5rem;
}

.work .work-text .btn {
  text-align: center;
  margin-bottom: 0;
}

.work .work-text a {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 5rem;
  background-color: #4DB4FF;
  color: #fff;
  box-shadow: rgb(101 101 101) 1px 2px 4px 0px;
}

.work .work-text a:hover {
  box-shadow: none;
}

.work figure {
  flex: 0 0 60%;
}

.reverse {
  flex-direction: row-reverse;
}


.pie-chart-wrap {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  flex-wrap: wrap;
  min-height: 60vh;
}

.skill img {
  width: 70%;
  display: block;
  margin: 0 auto;
}

.php img {
  width: 100%;
}

.skill p {
  text-align: center;
}

/* .skillSec{
    background-color: #FFFD93;
} */




div#grayLayer {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: black;
  filter: alpha(opacity=60);
  opacity: 0.60;
}

#overLayer {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -244px;
  margin-left: -325px;
}


.box.blue {
  flex-basis: 18%;
  height: 28vh;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.box .percent {
  position: relative;
  width: 150px;
  height: 150px;
}

.box .percent svg {
  position: relative;
  width: 150px;
  height: 150px;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.box .percent svg circle {
  position: relative;
  fill: none;
  stroke-width: 10;
  stroke: #f3f3f3;
  stroke-dasharray: 440;
  stroke-dashoffset: 0;
  stroke-linecap: round;
}

.box .percent .skill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.box .text {
  padding: 10px 0 0;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}

.line100 {
  -webkit-animation: circleAnim 2s;
  animation: circleAnim 2s;
  animation-delay: 1s;
  animation-fill-mode: backwards;
}

.line90 {
  -webkit-animation: circleAnim 2s;
  animation: circleAnim 2s;
  animation-delay: 1s;
  animation-fill-mode: backwards;
  animation-name: circleAnim90;
}

.line80 {
  -webkit-animation: circleAnim 2s;
  animation: circleAnim 2s;
  animation-delay: 1s;
  animation-fill-mode: backwards;
  animation-name: circleAnim80;
}

.blue .percent .line100Trigger {
  stroke-dashoffset: 1;
  stroke: #4DB4FF;
}

.box.blue .percent .line90 {
  stroke-dashoffset: 44;
  stroke: #4DB4FF;
}

.box.blue .percent .line80 {
  stroke-dashoffset: 88;
  stroke: #4DB4FF;
}

.box.blue .percent .line70 {
  stroke-dashoffset: 132;
  stroke: #4DB4FF;
}

.box.blue .percent .line0 {
  stroke-dashoffset: 440;
  stroke: #4DB4FF;
}




@keyframes circleAnim {
  0% {
    stroke-dasharray: 1 440;
  }

  100% {
    stroke-dasharray: 440 440;
  }
}

@keyframes circleAnim90 {
  0% {
    stroke-dasharray: 44 440;
  }

  100% {
    stroke-dasharray: 440 440;
  }
}

@keyframes circleAnim80 {
  0% {
    stroke-dasharray: 88 440;
  }

  100% {
    stroke-dasharray: 440 440;
  }
}


@-webkit-keyframes circleAnim {
  0% {
    stroke-dasharray: 1 440;
  }

  100% {
    stroke-dasharray: 440 440;
  }
}

@-webkit-keyframes circleAnim90 {
  0% {
    stroke-dasharray: 44 440;
  }

  100% {
    stroke-dasharray: 440 440;
  }
}

@-webkit-keyframes circleAnim80 {
  0% {
    stroke-dasharray: 88 440;
  }

  100% {
    stroke-dasharray: 440 440;
  }
}


.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*スクロールリンクの形状*/
.scroll-top {
  /*表示位置*/
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
  /*それぞれに0.5秒の変化のアニメーション*/
  /*縦書き*/
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  /*改行禁止*/
  white-space: nowrap;
  /*矢印の動き*/
  animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove {
  0% {
    bottom: 20px;
  }

  50% {
    bottom: 25px;
  }

  100% {
    bottom: 20px;
  }
}


/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
  opacity: 1;
  visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
  text-decoration: none;
  color: #666;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
}

/*スクロールリンクの形状*/

.js-scroll a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 50px;
  background: #666;
  margin-right: 1px;
}

.js-scroll a::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -6px;
  width: 1px;
  height: 20px;
  background: #666;
  transform: skewX(-31deg);
  margin-right: 1px;
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-scroll a::before {
  right: -11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 50px;
  background: #666;
  margin-right: 1px;
}

.js-pagetop a::before {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  width: 1px;
  height: 20px;
  background: #666;
  transform: skewX(31deg);
  margin-right: 1px;
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-pagetop a::before {
  right: 0;
}

#footer {
  background: none;
  padding: 20px;
}

.copyright {
  text-align: center;
}

@media screen and (min-width:600px) {
  /*========= ナビゲーションのためのCSS ===============*/


  /*アクティブになったエリア*/
  #g-nav.panelactive {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    height: 100vh;
  }

  /*丸の拡大*/
  .circle-bg {
    position: fixed;
    z-index: 3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #999;
    /*丸のスタート位置と形状*/
    transform: scale(0);
    /*scaleをはじめは0に*/
    right: -50px;
    top: calc(50% - 50px);
    /*50%から円の半径を引いた値*/
    transition: all .6s;
    /*0.6秒かけてアニメーション*/
  }

  .circle-bg.circleactive {
    transform: scale(50);
    /*クラスが付与されたらscaleを拡大*/
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav-list {
    display: none;
    /*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #g-nav.panelactive #g-nav-list {
    display: block;
    /*クラスが付与されたら出現*/
  }

  /*ナビゲーション*/
  #g-nav ul {
    opacity: 0;
    /*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /*背景が出現後にナビゲーションを表示*/
  #g-nav.panelactive ul {
    opacity: 1;
  }

  /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
  #g-nav.panelactive ul li {
    animation-name: gnaviAnime;
    animation-duration: 1s;
    animation-delay: .2s;
    /*0.2 秒遅らせて出現*/
    animation-fill-mode: forwards;
    opacity: 0;
  }

  @keyframes gnaviAnime {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }


  /*リストのレイアウト設定*/
  #g-nav li {
    text-align: center;
    list-style: none;
  }

  #g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }


  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    /*ボタンを最前面に*/
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

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

  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  /* .openbtn,.g-nav,.circle-bg{
  display: block;
} */

  .pie-chart-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  /* .box + .box {
    margin-left: 20px;
  } */
  .openbtn,
  .g-nav,
  .circle-bg {
    display: none;
  }

  .sp {
    display: none;
  }

}

@media screen and (max-width:599px) {
  body {
    width: 100%;

  }

  .pie-chart-wrap .pcOnly {
    display: none;
  }


  .main_visual {

    object-fit: cover;
    background-position: center;
  }

  .about li {
    flex-basis: 85vw;
  }

  .item1 {
    order: 1;
  }

  .profile {
    order: 2;
    flex: 0 0 100%;
  }

  .profile2 {
    order: 4;
  }

  .item2 {
    order: 3;
  }

  .works {
    width: 85vw;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  #overLayer {
    max-width: 100%;
    margin: 0 auto;
    left: auto;
    top: 33%;
  }

  .pie-chart-wrap {
    justify-content: space-around;
  }

  .box+.box {
    margin-top: 20px;
  }

  .box {
    width: 100%;
  }

  .pc {
    display: none;
  }

  footer p {
    display: none;
  }

  .about {
    gap: 3rem;
  }

  .about figure {
    width: 100%;
  }

  .work {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 2rem;
  }


  .work .work-text,
  .work figure {
    flex: 0 0 100%;
  }

}