.letter-holder {
  display: flex;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation-name: loadingfadeanime;
  opacity: 1;
  transition: opacity 1s ease;
}

.letter-holder.fade-out {
  opacity: 0;
}

.shutter {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background-color: #3e527a;
  z-index: 9999;
  opacity: 1;
  transition: opacity 2s ease;
  /* opacityの遷移を使う */
}

.shutter.fade-out {
  opacity: 0;
  pointer-events: none;
}



.shutter.hidden {
  display: none;
  /* displayをnoneにして完全に非表示にする */
}

@keyframes loadingfadeanime {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  66% {
    opacity: 1;
  }

  82% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}


.load-6 .letter {
  color: white;
  font-size: 20px;
  animation-name: loadingF;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@media screen and (max-width: 764px) {
  .load-6 .letter {
    font-size: 16px;
  }
}

.l-1 {
  animation-delay: 0.48s;
}

.l-2 {
  animation-delay: 0.6s;
}

.l-3 {
  animation-delay: 0.72s;
}

.l-4 {
  animation-delay: 0.84s;
}

.l-5 {
  animation-delay: 0.96s;
}

.l-6 {
  animation-delay: 1.08s;
}

.l-7 {
  animation-delay: 1.2s;
}

.l-8 {
  animation-delay: 1.32s;
}

.l-9 {
  animation-delay: 1.44s;
}

.l-10 {
  animation-delay: 1.56s;
}

.l-11 {
  animation-delay: 2s;
}

@keyframes loadingF {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}



.shutter-line {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background-color: rgb(198, 185, 153, 0.7);
  width: 0;
  height: 1px;
  transition:
    width 1.3s ease-in,
    height 1.3s ease-in 1.3s;
}

.shutter-line.expand {
  animation: shutterOpen 2.6s forwards;
}


@keyframes byeShutter {
  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    z-index: -100;
  }
}

@keyframes shutterOpen {
  0% {
    width: 0;
    height: 1px;
  }

  50% {
    width: 100%;
    height: 1px;
  }

  90% {
    width: 100%;
    height: 100%;
  }

  100% {
    width: 100%;
    height: 100%;
  }
}

@keyframes contentScale {
  70% {
    -webkit-transform: perspective(800px) scale(0.9) rotateX(15deg);
    transform: perspective(800px) scale(0.9) rotateX(15deg);
  }

  100% {
    -webkit-transform: perspective(800px) scale(1) rotateX(0);
    transform: perspective(800px) scale(1) rotateX(0);
  }
}


#loading-moon {
  margin-left: 30px;
  animation: 70s linear infinite rotation1;
  transition: opacity 4s ease-out;
  opacity: 0.5;
}

#loading-moon.visible {
  opacity: 1;
}

@keyframes rotation1 {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 480px) {
  #loading-moon {
    margin-left: 20px;
    width: 50px;
    height: 50px;
  }
}









#zoom {
  width: 100%;
  height: 100svh;
  background: linear-gradient(to bottom left,
      #3e527a 0%,
      #7185af 15%,
      #bfcae0 35%,
      #bfcae0 65%,
      #7185af 85%,
      #3e527a 100%);
}

#skillscolor {
  position: relative;
  z-index: 1;
}





#navwidth {
  width: 95%;
  justify-content: right;
  display: flex;
}

#ul1 {
  display: flex;
  font-family: "Lora", serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-size: 18px;
  margin-top: 45px;
}

.ul1-li {
  margin-right: 50px;
}

#nav-container li:hover {
  opacity: 0.5;
}






@media screen and (min-width: 764px) {
  #g-nav {
    display: none;
  }
}

/*ここからスマホハンバーガー*/
@media screen and (max-width: 764px) {
  #ul1 {
    display: none;
  }

  /*========= ナビゲーションのためのCSS ===============*/

  #g-nav {
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(50, 62, 102, 0.95);
    transition: all 0.3s;
  }

  /*アクティブクラスがついたら透過なしにして最前面へ*/
  #g-nav.panelactive {
    opacity: 1;
    z-index: 999;
  }

  /*ナビゲーション*/
  #g-nav ul {
    display: none;
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #g-nav.panelactive ul {
    display: block;
  }

  /*リストのレイアウト設定*/

  #g-nav li {
    list-style: none;
    margin-top: 30px;
    text-align: center;
    font-family: "Lora", serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-size: 32px;
  }

  #g-nav li a {
    padding: 10px;
    display: block;
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: fixed;
    z-index: 9998;
    top: 13px;
    right: 10px;
    cursor: pointer;
    width: 60px;
    height: 60px;
  }

  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    width: 45%;
    background-color: white;
  }

  .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%;
  }
}

/*ここまでスマホハンバーガー*/









#title {
  position: relative;
  top: 30%;
  font-family: "Libre Baskerville", serif;
  font-weight: 200;
  text-align: center;
  color: white;
}

#fv-moon-wrapper {
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#fv-moon {
  position: absolute;
  z-index: -1;
  bottom: 60px;
  opacity: 0.8;
  animation: rotateMoon 120s linear infinite;
}

@keyframes rotateMoon {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#h1 {
  opacity: 0;
  font-size: 56px;
  letter-spacing: -2px;
  margin-bottom: 50px;
  white-space: nowrap;
  filter: blur(20px);
  transition: opacity 1s ease,
    filter 2s ease;
}

#h1.visible {
  opacity: 1;
  filter: blur(0);
}

/* 表示状態 */
.alphabet-visible {
  opacity: 1;
}

@media screen and (max-width: 764px) {
  #title {
    top: 35%;
  }

  #fv-moon-wrapper {
    width: 500px;
  }
}

@media screen and (max-width: 480px) {
  #title {
    top: 37%;
  }

  #fv-moon-wrapper {
    width: 300px;
  }

  #fv-moon {
    width: 160px;
    height: 160px;
    bottom: 50px;
  }

  #h1 {
    font-size: 40px;
  }

  .portfolio {
    position: relative;
    left: 3.5px;
    letter-spacing: 5px;
    font-size: 24px;
  }
}






#webdesigner {
  opacity: 0;
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 7px;
  display: block;
  color: white;
  letter-spacing: 3px;
  filter: blur(5px);
  transition: opacity 1s ease,
    filter 2s ease;
}

#webdesigner.visible {
  opacity: 1;
  filter: blur(0);
  transition-delay: 1s;
}

/* 2回目以降は即表示（JSで付与） */
#webdesigner.instant-visible {
  opacity: 1;
  transition: none;
}


/* 初期状態は非表示 */
.A,
.B,
.C,
.D {
  opacity: 0;
}

/* 初回アクセス時（body.animate）にだけ順番アニメーション */
body.animate .A {
  animation: fadeanime1 1s ease-out forwards;
  animation-delay: 0s;
  display: inline;
}

body.animate .B {
  animation: fadeanime1 1s ease-out forwards;
  animation-delay: 0.2s;
  display: inline;
}

body.animate .C {
  animation: fadeanime1 1s ease-out forwards;
  animation-delay: 0.4s;
  display: inline;
}

body.animate .D {
  animation: fadeanime1 1s ease-out forwards;
  animation-delay: 0.6s;
  display: inline;
}

/* 初回以外（戻る・2回目以降）は即表示 */
body:not(.animate) .A,
body:not(.animate) .B,
body:not(.animate) .C,
body:not(.animate) .D {
  opacity: 1;
  animation: none;
}

@keyframes fadeanime1 {
  to {
    opacity: 1;
  }
}


@media screen and (max-width: 480px) {
  #webdesigner {
    font-size: 18px;
  }
}












/*タイトル部分、色共通部分*/
#skillscolor,
#workscolor,
#aboutcolor {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 170px;
}

#contactcolor {
  padding-top: 230px;
  background-color: #fdfdfc;
}


#skillscolor {
  background-color: #3e527a;
  transition: background-color 1s ease;
}

#skillscolor.active {
  background-color: #fdfdfc;
}

#workscolor {
  position: relative;
  background-color: #3e527a;
  transition: background-color 1s ease;
}

#workscolor.active {
  background-color: #fdfdfc;
}

#aboutcolor {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: #fdfdfc;
  transition: background-color 1s ease;
}

@media screen and (max-width: 764px) {
  #contactcolor {
    padding-top: 200px;
  }
}

@media screen and (max-width: 480px) {

  #aboutcolor,
  #workscolor,
  #skillscolor,
  #contactcolor {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
  }

  #aboutcolor {
    padding-bottom: 40px;
  }

  #workscolor {
    padding-bottom: 40px;
  }

  #skillscolor {
    padding-bottom: 40px;

  }
}




#about,
#works,
#skills,
#contact {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

#works-txt {
  padding-top: 100px;
  padding-bottom: 20px;
  text-align: center;
}

#contact {
  padding-top: 3%;
}

#about {
  max-width: 1160px;
  position: relative;
}

#works,
#skills,
#contact {
  max-width: 1160px;
}

.fade-in-container {
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
}

.fade-in-container.visible {
  opacity: 1;
}





/* aboutここから*/
#wrapper {
  width: 40%;
  min-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/*aboutタイトルフェードアニメーション*/
.slide-up-container {
  opacity: 0;
  transform: translateY(50px);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.slide-up-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/*Works,aboutタイトル線*/
.underline-container {
  padding-bottom: 50px;
}

/*aboutタイトル線*/
#underline-about {
  left: 0;
  top: 240px;
  height: 1px;
  background: #c6b999;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease-out;
}

@media screen and (max-width: 764px) {
  #works-txt {
    padding-top: 80px;
    padding-bottom: 10px;
    text-align: left;
  }

  #wrapper {
    width: 80%;
    min-width: 0px;
    margin-left: auto;
    margin-right: auto;
  }

  .underline-container {
    padding-bottom: 50px;
  }
}

/*about名前*/
#name-anime {
  text-align: center;
}

#enname {
  color: #3e527a;
  font-size: 54px;
  padding-bottom: 10px;
}

#name {
  color: #c6b999;
  letter-spacing: 0.02em;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 24px;
}

#name-anime #enname,
#name-anime #name {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0s;
}

#name-anime.visible #enname,
#name-anime.visible #name {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* about文フェードアニメ*/
#about-txt {
  margin-top: 50px;
  opacity: 0;
  transition: opacity 1s ease-out 0.6s;
}

#about-txt.visible {
  opacity: 1;
}

#w-char {
  letter-spacing: -8px;
}

@media screen and (max-width: 480px) {
  #works-txt {
    padding-top: 50px;
    padding-bottom: 0px;
    font-size: 13px;
  }

  #enname {
    font-size: 40px;
    padding-bottom: 0px;
  }

  #name {
    font-size: 20px;
  }

  #about-txt {
    font-size: 13px;
  }
}

/* aboutここまで*/








/*Works*/
#works {
  position: relative;
}

#changemoon {
  width: 200px;
  height: 200px;
  position: absolute;
  top: -40px;
  left: -70px;
  opacity: 0.8;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

#workscolor.active #changemoon {
  opacity: 0.3;
}

#workstitle {
  position: relative;
  display: inline-block;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 1s ease,
    filter 2s ease;
}

#workstitle.visible {
  opacity: 1;
  filter: blur(0);
}

#workstitle::before {
  content: "Works";
  position: absolute;
  top: 5px;
  left: 5px;
  color: rgba(0, 0, 0, 0.4);
  /* 影色（黒＋透明） */
  z-index: -1;
}

#workscolor.active #workstitle::before {
  content: "";
}



#underline {
  left: 0;
  top: 240px;
  height: 1px;
  background: #c6b999;
  width: 100%;
  transform: scaleX(0);
  /* 初期状態で下線を非表示 */
  transform-origin: left;
  transition: transform 1s ease-out;
}

@media screen and (max-width: 764px) {
  #changemoon {
    top: -50px;
    left: -40px;
  }

  .underline-container {
    padding-bottom: 50px;
  }

  #underline {
    width: 350px;
  }
}

@media screen and (max-width: 480px) {
  #workstitle::before {
    content: "Works";
  }

  #changemoon {
    width: 150px;
    height: 150px;
    left: auto;
    right: 0px;
  }

  #w-char {
    letter-spacing: -4px;
  }

  #underline {
    top: 70px;
    width: 250px
  }
}

/*Worksタイトル線終了*/
/*タイトル部分、色共通部分終了*/


/*サイト紹介*/
#site-wrapper {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.displaybox {
  padding-top: 50px;
  flex: 0 0 45%;
  /* 最小300pxで並べられるだけ並べる */
  max-width: 350px;
  opacity: 0;
  /* 初めは非表示 */
  transform: translateY(20px);
  /* 少し下から登場させる */
  transition: opacity 1s ease, transform 1s ease;
}

.displaybox img {
  width: 100%;
  height: auto;
  display: block;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}


@media screen and (max-width: 764px) {
  #site-wrapper {
    padding-top: 30px;
  }

  .displaybox {
    padding-top: 20px;
    flex: 0 0 80%;
    /* 最小300pxで並べられるだけ並べる */
    max-width: 450px;
  }
}

@media screen and (max-width: 480px) {
  #site-wrapper {
    padding-top: 20px;
  }

  .displaybox {
    padding-top: 0px;
    flex: 0 0 100%;
  }
}

.container {
  position: relative;
  margin-bottom: 5px;
  box-shadow: 0px 10px 30px -6px rgba(0, 0, 0, 0.3);
  display: inline-block;
  overflow: hidden;
}

.container-zoom {
  display: block;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

.container:hover .container-zoom {
  transform: scale(1.07);
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  /* 半透明の黒いマスク */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay-text {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
  /* 文字に影をつけて視認性を向上 */
  opacity: 0;
  /* 初期状態では文字も非表示 */
  transition: opacity 0.3s ease;
}

.container:hover .overlay {
  opacity: 1;
  /* ホバーでオーバーレイを表示 */
}

.container:hover .overlay-text {
  opacity: 1;
  /* ホバーで文字が表示される */
}

.displaybox span {
  display: block;
  font-size: 13px;
  color: rgb(170, 169, 167);
}

.displaybox p {
  font-size: 18px;
}

@media screen and (max-width: 764px) {
  .displaybox span {
    font-size: 10px;
    color: rgb(170, 169, 167);
  }

  .displaybox p {
    font-size: 16px;
  }
}










/*サービス月*/
#display-about-skills {
  max-width: 500px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

#crescent {
  position: absolute;
  margin-left: 0px;
  top: 50px;
  opacity: 0;
}

.fadeLeft3 {
  animation-name: fadeanime4;
  animation: fadeanime4 7s linear forwards;
  animation-fill-mode: forwards;
  opacity: 0.1;
}

@keyframes fadeanime4 {
  from {
    opacity: 0.1;
    transform: translateX(-50px);
    /* 左からスライドしてくる */
  }

  to {
    opacity: 0.5;
    transform: translateX(0);
  }
}

@media screen and (max-width: 980px) {
  #crescent {
    margin-left: 0px;
    top: 10px;
  }
}

@media screen and (max-width: 480px) {
  #crescent {
    width: 100px;
    height: 100px;
    margin-left: 10px;
  }
}


#servicetitle {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
  z-index: 1;
  color: white;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 1s ease,
    filter 2s ease;
}

#skillscolor.active #servicetitle {
  color: #c6b999;
}


#servicetitle.visible {
  opacity: 1;
  filter: blur(0);
}


/*スキル切り替え*/

#switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.content {
  display: none;
  color: white;
  transition: color 0.5s ease;
}

#contentB,
#contentC,
#contentD {
  padding-top: 70px;
  padding-bottom: 70px;
  text-align: center;
}

.content.active {
  display: block;
}

.content.visible {
  opacity: 1;
}

#skillscolor.active .content {
  color: #323e66;
}

.skills-btn-flat-border {
  width: 165px;
  padding: 15px;
  cursor: pointer;
  display: inline-block;
  color: #c6b999;
  border: solid 2px #c6b999;
  background-color: #3e527a;
  border-radius: 4px;
  transition: .6s;
  font-size: 16px;
  font-family: "Lora", serif;
}

.skills-btn-flat-border:hover {
  background: #c6b999;
  color: white;
  transition: color 0.5s ease;
}

.skills-btn-flat-border.active-btn {
  background-color: #c6b999;
  color: #fff;
}

#skillscolor.active .skills-btn-flat-border {
  background-color: #fdfdfc;
  color: #c6b999;
}

#skillscolor.active .skills-btn-flat-border:hover {
  background-color: #c6b999;
  color: #fff;
}

#skillscolor.active .skills-btn-flat-border.active-btn {
  background-color: #c6b999;
  color: #fff;
}



/*スキル円*/
#skills-wrappertest {
  position: relative;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
}

#circletest1,
#circletest2,
#circletest3 {
  width: 250px;
  position: absolute;
  height: 250px;
  border-radius: 50%;
  color: white;
  border: 2px solid #c6b999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: color 0.5s ease;
}

#skillscolor.active #circletest1,
#skillscolor.active #circletest2,
#skillscolor.active #circletest3 {
  border: 2px solid #c6b999;
  color: #c6b999;
}

#circletest1 {
  left: 100px;
}

#circletest2 {
  left: 0;
  top: 190px;
}

#circletest3 {
  left: 220px;
  top: 190px;
}


#skills-wrapper-display {
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1200px) {
  #skills-wrapper-display {
    margin-top: 70px;
  }

  #skills-wrappertest {
    position: static;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
  }

  #circletest1,
  #circletest2,
  #circletest3 {
    position: static;
  }

  #circletest1 {
    left: 80px;
  }

  #circletest2 {

    right: 40px;
    top: 0px;
  }

  #circletest3 {
    left: 190px;
    top: 0px;
  }

  #skills-wrapper-display {
    display: block;
  }
}


@media screen and (max-width: 980px) {
  #servicetitle {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #skills-wrappertest {
    height: 420px;
    position: relative;
    align-items: center;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  #circletest1,
  #circletest2,
  #circletest3 {
    width: 250px;
    position: absolute;
    height: 250px;
    border-radius: 50%;
    border: 2px solid #c6b999;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #circletest1 {
    top: 0;
    left: 110px;
  }

  #circletest2 {
    left: 0;
    top: 190px;
  }

  #circletest3 {
    left: 220px;
    top: 190px;
  }
}



@media screen and (max-width: 764px) {
  #skills-wrapper-display {
    margin-top: 50px;
  }

  #skills-wrappertest {
    height: 330px;
    position: relative;
    align-items: center;
    width: 400px;
    font-size: 20px;
  }

  #circletest1,
  #circletest2,
  #circletest3 {
    width: 200px;
    height: 200px;
    border: 1px solid #c6b999;
  }

  #circletest1 {
    top: 0;
    left: 90px;
  }

  #circletest2 {
    top: 150px;
  }

  #circletest3 {
    left: 180px;
    top: 150px;
  }
}

@media screen and (max-width: 480px) {
  #servicetitle {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #switch {
    gap: 30px;
  }

  .skills-btn-flat-border {
    width: 130px;
    border: solid 1px #c6b999;
    font-size: 16px;
  }

  #contentB,
  #contentC,
  #contentD {
    font-size: 13px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  #skills-wrapper-display {
    margin-top: 30px;
  }

  #skills-wrappertest {
    height: 200px;
    position: relative;
    align-items: center;
    width: 300px;
    font-size: 16px;
    margin-top: 60px;
  }

  #circletest1,
  #circletest2,
  #circletest3 {
    width: 150px;
    position: absolute;
    height: 150px;
    border-radius: 50%;
    border: 1px solid #c6b999;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #circletest1 {
    top: 0;
    left: 70px;
  }

  #circletest2 {
    left: 0px;
    top: 110px;
  }

  #circletest3 {
    left: 140px;
    top: 110px;
  }
}

/*スキル円終了*/

#skills-wrapper-content {
  margin-left: 50%;
}

/* スキル内容タイトルフェードアニメ*/
.skills-fadeanimation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  transition-delay: 0.3s;
}

.skills-fadeanimation.visible {
  opacity: 1;
  transform: translateY(0);
}

/* スキル内容タイトルフェードアニメ終了*/


#skills-wrapper-content ul li {
  margin-bottom: 5px;
  color: #aaa9a7;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
  transition-delay: 0.6s;
}

#skills-wrapper-content ul li.visible {
  opacity: 1;
}

#space {
  margin-left: 48px;
}



.skills-wrapper-txt {
  padding-bottom: 50px;
  opacity: 0;
  transition: opacity 1s ease-out,
    transform 1s ease-out;
  transition-delay: 0.6s;
  color: white;
}

.skills-wrapper-txt:last-child {
  padding-bottom: 0;
}

.skills-wrapper-txt.visible {
  opacity: 1;
}

#skillscolor.active .skills-wrapper-txt {
  color: #323e66;
}

@media screen and (max-width: 1200px) {
  #skills-wrapper-content {
    padding-top: 100px;
    margin-left: 0%;
  }
}

@media screen and (max-width: 480px) {
  #skills-wrapper-content {
    padding-top: 110px;
  }

  #skills-wrapper-content ul {
    font-size: 10px;
  }

  .skills-wrapper-txt {
    font-size: 13px;
  }

  #space {
    margin-left: 30px;
  }
}


/* スキルの線アニメーション */
.skills-wrapper-title {
  position: relative;
  z-index: 1;
  color: #c6b999;
  margin-bottom: 30px;
  font-family: "Noto Serif JP", serif;
}

.skills-wrapper-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0%;
  height: 1px;
  background: #c6b999;
  z-index: -1;
  transition: all 1.5s;
  transition-delay: 0.3s;

}

/* アクティブ状態：下線が左→右に伸びる */
.skills-wrapper-title.active::after {
  width: 100%;
}

/* スキルの線アニメーション終了 */


/*スキル終了*/














/*お問い合わせ*/
#contacttitle {
  letter-spacing: 5px;
  position: absolute;
  top: -60px;
}

#contactphoto {
  width: 100%;
  background: #3e527a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#contact-txt-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 70px;
}

#contact-p {
  color: #fff;
  text-align: center;
}

#contacttxt {
  display: inline-block;
  text-align: left;
  margin-bottom: 10px;
}


#scroll-top {
  width: 100px;
  height: 100px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 100%;
  border: 2px solid #c6b999;
  font-size: 18px;
  color: #c6b999;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 100px;
  /* 中央揃え補強 */
  opacity: 0;
  transition: .6s;
  z-index: 100;
  pointer-events: none;
  cursor: pointer;
}

#scroll-top.show {
  pointer-events: auto;
  opacity: 1;
}

@media (hover: hover) {
  #scroll-top:is(:hover, :focus, :active) {
    color: white;
    background-color: #c6b999;
  }
}

@media (hover: none) {
  #scroll-top:is(:focus, :active) {
    color: white;
    background-color: #c6b999;
  }
}

@media screen and (max-width: 480px) {
  #scroll-top {
    width: 70px;
    height: 70px;
    font-size: 13px;
  }
}

#privacy {
  border-top: 1px solid gray;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 11px;
}

#privacy a {
  color: #c0bebe;
  border-bottom: 1px solid transparent;
}

#privacy a:hover {
  border-bottom-color: #c0bebe;
}

#copy {
  padding-bottom: 20px;
  text-align: center;
  font-size: 11px;
  color: #c0bebe;
}

.bottom {
  text-align: center;
}

.p3 {
  width: 230px;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.btn-flat-border {
  display: inline-block;
  color: #c6b999;
  border: solid 2px #c6b999;
  border-radius: 10px;
  transition: .6s;
  margin-bottom: 50px;
}

.btn-flat-border:hover {
  background: #c6b999;
  color: white;
}

@media screen and (max-width: 764px) {
  #contacttitle {
    top: -50px;
  }

  #back-wrapper {
    margin: 20px auto 10px auto;
  }
}

@media (max-width: 480px) {
  #back-wrapper {
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  #contacttitle {
    top: -35px;
  }

  #contact-txt-wrapper {
    margin-top: 50px;
  }

  .btn-flat-border {
    margin-bottom: 30px;
    border: solid 1px #c6b999;
  }

  .p3 {
    font-size: 13px;
    width: 170px;
    text-align: center;
    margin-top: 13px;
    margin-bottom: 13px;
  }

  #contacttxt {
    font-size: 13px;
  }

  #back-wrapper {
    margin: 10px auto 10px auto;
  }
}