@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  text-align: center;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
h1 {
  width: 10%;
  margin: 10px auto;
}
h2 {
  padding-top: 10vh;
  color: #565656;
}
@media screen and (max-width: 768px) {
  h2 {
    padding: 5vh 0 5vh;
  }
  h1 {
    height: 5%;
  }
}
/*========= ページネーションCSS ===============*/

.pagination {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  z-index: 10;
  list-style: none;
}

.pagination a {
  display: block;
  height: 20px;
  margin-bottom: 5px;
  color: #fff;
  position: relative;
  padding: 4px;
}

.pagination a.active:after {
  box-shadow: inset 0 0 0 5px;
}

/*現在地表示のテキストの設定*/
.pagination a .hover-text {
  position: absolute;
  right: 15px;
  top: 0;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  padding-right: 15px;
}

.pagination a:hover .hover-text {
  opacity: 1;
}

.pagination a:after {
  -webkit-transition: box-shadow 0.5s ease;
  transition: box-shadow 0.5s ease;
  width: 10px;
  height: 10px;
  display: block;
  border: 1px solid;
  border-radius: 50%;
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  right: 3px;
  bottom: 0;
}

/* sectionの背景 */
header {
  z-index: 0;
  height: 90vh;
}
#box1 {
  background-color: #ffffff95;
}
#box2 {
  background-color: rgba(17, 54, 123, 0.414);
}

/*768px以下は現在地表示のテキストを非表示*/
@media screen and (max-width: 768px) {
  .pagination a .hover-text {
    display: none;
  }
}
/*==================================================
　5-2-9 3本線がジャンプして×に
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn {
  /*ボタン内側の基点となるためrelativeを指定。
      追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
  position: relative;
  position: fixed;
  /* background: #59b9c6; */
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  overflow: hidden; /*ジャンプしてはみ出た要素を消す*/
  top: 0px;
  right: 16px;
  /* 最前面に */
  z-index: 9999;
}

/*ボタン内側*/

.openbtn .openbtn-area {
  transition: all 0.4s; /*アニメーションの設定*/
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s; /*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  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;
}

/*activeクラスが付与されると .openbtn-areaが360度回転し、
      その中の線のtopの位置や形状が変化して×に*/

.openbtn.active .openbtn-area {
  transform: rotateX(360deg);
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-135deg);
  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(135deg);
  width: 30%;
}
/***** メニューオープン時 *****/
.openbtn-area {
  /* 真ん中の線を透明に */
  background-color: transparent;
}
.openbtn-area::before,
.openbtn-area::after {
  content: "";
  background-color: #333;
  transition: 0.2s;
}
.openbtn-area::before {
  /* 上の線を傾ける */
  transform: rotate(45deg);
}
.openbtn-area::after {
  /* 上の線を傾ける */
  transform: rotate(-45deg);
}
/**************** 以下、メニューのスタイリング ****************/
.menu a {
  text-decoration: none;
  color: white;
  height: 15%;
}
.menu {
  /* メニューを縦に */
  display: flex;
  flex-direction: column;
  position: fixed;
  /* メニューの位置マイナス指定で画面外に */
  right: -70%;
  width: 70%;
  height: 100vh;
  background-color: #696969;
  color: #efefef;
  transition: 0.3s;
  z-index: 999;
}
@media screen and (min-width: 768px) {
  .menu {
    right: -40%;
    width: 40%;
  }
}
.menu-list {
  /* メニューテキスト位置をリスト内中心に */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.menu-list:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #333;
  cursor: pointer;
  transition: 0.3s;
}
/***** メニューオープン時位置0にして画面内に *****/
.menu.open {
  /* position: absolute; */
  right: 0;
  top: 0;
}
/* 700px以上はハンバーガーボタン非表示、ヘッダー固定 */
/* @media screen and (min-width: 700px) {
  .openbtn {
    display: none;
  }
  .menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translate(-50%);
    width: 50%;
    height: 80px;
    background-color: transparent;
  }
  .menu a {
    width: 25%;
    padding: 50px 0;
  }
} */

/**************** 以下、タイポグラフィー ****************/

#wrapper {
  /*描画されるテキストを中央寄せにする*/
  display: flex;
  justify-content: center;
  align-items: center;
}

#particle {
  z-index: 99;
  width: 100%;
  height: 50vh;
  vertical-align: bottom; /*canvasタグ下に余白が生まれるのを防ぐ*/
}
@media screen and (min-width: 768px) {
  #particle {
    width: 50%;
  }
}

/**************** 以下、金魚の動き ****************/

/*金魚の揺れ方*/
@keyframes shake {
  0% {
    transform: rotate(20deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(20deg);
  }
}
/*金魚の泳ぎ方*/
/*デメキン金魚*/
/* workのリュウキン金魚も */
.kingyo_01 {
  width: 150px;
  transform: rotate(150deg);
  animation: shake 2s infinite;
  margin-left: 20%;
}
.kingyo_box01 {
  width: 100px;
  height: 300px;
  animation: anime01 25s infinite cubic-bezier(0.29, 0.8, 0.58, 0.58);
  position: absolute;
  bottom: 10%;
  left: 20%;
  z-index: -1;
}

@keyframes anime01 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media screen and (min-width: 768px) {
  .kingyo_01 {
    width: 150px;
  }
  .kingyo_box01 {
    width: 30vw;
    height: 30vw;
    bottom: 20%;
    left: 10%;
  }
}
/*デメキン柄金魚*/
.kingyo_02 {
  width: 150px;
  transform: rotate(150deg);
  animation: shake 1.5s infinite;
  margin-left: 80%;
}
.kingyo_box02 {
  width: 100px;
  height: 300px;
  animation: anime02 20s infinite cubic-bezier(0.29, 0.4, 0.58, 0.58);
  position: absolute;
  top: 10%;
  right: 20%;
}

@keyframes anime02 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media screen and (min-width: 768px) {
  .kingyo_02 {
    width: 150px;
  }
  .kingyo_box02 {
    top: 20%;
    width: 30vw;
    height: 20vw;
  }
}

/**************** 以下、各Section ****************/

/* about */
#box1 p {
  display: block;
  width: 60%;
  margin: 0 auto;
  font-size: 0.8em;
}
#box1 img {
  height: 30vh;
  width: 30vh;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}
#box1 h2 {
  padding: 5vh 0 0;
}
.about_box dt {
  font-weight: bolder;
  margin-top: 5px;
}
.about_box dd {
  font-size: 0.9em;
}
.about_container {
  color: #565656;
  animation-fill-mode: forwards;
}
@media screen and (min-width: 768px) {
  .about_container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    width: 50%;
    margin: 50px auto;
  }
  .about_box {
    width: 35vh;
  }
}
/* skill */
.web img {
  width: 25%;
}
.graphic img {
  width: 20%;
}
.icon {
  display: flex;
  justify-content: space-around;
  width: 80%;
  margin: 10% auto;
}
.skill_item {
  width: 60%;
  margin: 50px auto;
  border: solid 4px rgba(255, 255, 255, 0.504);
  border-radius: 30px;
  padding: 20px;
  color: rgba(255, 255, 255, 0.504);
  font-size: 0.8em;
}
.skill_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 35%;
  margin: 10px auto;
}
.skill_pc {
  display: none;
}
@media screen and (min-width: 768px) {
  .skill_pc {
    display: block;
  }
  .web img {
    width: 100px;
  }
  .graphic img {
    width: 83px;
  }
  /* .icon {
    width: 50%;
    margin: 10vh auto 0;
  } */
  .skill_mobile {
    display: none;
  }
  .skill_box p {
    font-size: 0.9em;
    width: 300px;
    color: rgba(255, 255, 255, 0.504);
  }
}
/* works */
#box3 {
  position: relative;
  z-index: 0;
}
.mizukusa {
  position: absolute;
  z-index: -1;
  height: 30vh;
  bottom: 10px;
  right: 0;
}
/* swiperの設定 */
.swiper {
  max-width: 100%;
  margin-top: 10vh;
  height: 30vh;
}
.swiper-slide {
  width: 100%;
  height: 100%;
  margin-inline: auto;
  height: auto;
  color: #fff;
}
.swiper-slide img {
  object-fit: cover;
  height: 25vh;
}
/* 位置やサイズを変える */
.swiper-horizontal > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-horizontal {
  top: auto;
  bottom: 0;
  height: 5px;
}

/* プログレスバーの背景部分 */
.swiper-pagination-progressbar {
  background-color: #59b9c6;
}

/* プログレスバーの色部分 */
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background-color: #ffffff92;
}

/* ボタンの変更 */
.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.swiper-button-prev::after {
  border-right: 25px solid #ffffffb9;
  border-left: 0;
}

.swiper-button-next::after {
  border-left: 25px solid #ffffffb9;
  border-right: 0;
}
/* ボタンを外に出す */
.wrapper {
  position: relative;
  width: min(70%, 500px);
  margin-inline: auto;
}

.swiper-button-prev {
  left: -30px;
}

.swiper-button-next {
  right: -30px;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -30px;
}

/* work詳細 */
.work_item dt {
  font-weight: bolder;
  border-bottom: dotted 1px black;
  display: inline-block;
}
dl {
  margin: 30px;
}
.swiper-title p {
  font-size: 2em;
  color: #fff;
  align-items: center;
  margin: 60px auto;
}
.btn {
  border-bottom: solid 1px black;
  display: inline-block;
}
.pc_container {
  display: none;
}
/* pc用ギャラリー */
.pc_container p {
  color: #fff;
}
.item {
  width: 250px;
}
.web_box {
  margin: 10px auto;
  width: 60%;
  display: flex;
  justify-content: space-evenly;
}
h3 {
  margin-top: 50px;
  color: #565656;
}
.pc_container p {
  color: rgba(255, 255, 255, 0.901);
}

@media screen and (min-width: 768px) {
  #box3 h2 {
    margin-bottom: 50px;
  }
  .wrapper {
    display: none;
  }
  .pc_container {
    display: block;
    font-size: 0.8em;
  }
  .kingyo_box001 {
    width: 400px;
    height: 600px;
  }
  .gra_item {
    max-width: 150px;
  }
  .swiper-wrapper {
    transition-timing-function: linear;
  }
  .swiper {
    width: 50%;
    margin-top: 10px;
  }
  .swiper img {
    height: 20vh;
    object-fit: cover;
  }
}

/* footer */
footer p {
  color: #ffffffb9;
}
