@charset "utf-8";

* {
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

/* ハンバーガーメニュー */
/*------------------------------------
ハンバーガースクロール固定↓
------------------------------------*/
html.is-fixed,
html.is-fixed {
  height: 100%;
  overflow: hidden;
}
/*------------------------------------
header↓
------------------------------------*/

header .nav_box {
  display: flex;
  align-items: center;
  height: 100px;
}

header .nav_box .crumbs ul {
  display: flex;
  align-items: center;
  list-style: none;
}
header .nav_box .crumbs ul li {
  font-weight: 700;
  margin-right: 60px;
}

#logo img {
  width: 70px;
  height: auto;
  padding-top: 25px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  transition: 0.3s;
  background-color: #ffffff;
}

header .nav_box .crumbs ol li:last-of-type {
  margin-right: 0;
}

header .logo {
  margin-left: 20px;
}

.animation {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 2s;
  width: 100px;
}

.keyframe1 {
  animation-name: anim_v;
}

@keyframes anim_v {
  0% {
    transform: translate(0, 0px);
  }
  100% {
    transform: translate(0, 10px);
  }
}

header .nav_main_box {
  margin-right: 20px;
}
/*------------------------------------
ハンバーガーメニュー↓
------------------------------------*/
#hamburger #gNav .gNav-menu .orange_color_sp {
  font-size: 23px;
  color: #7baa17;
  font-weight: 700;
}
#hamburger .btn-gNav {
  position: absolute;
  top: 50px;
  right: 44px;
  width: 35px;
  height: 24px;
  z-index: 3;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}
#hamburger .btn-gNav span {
  position: absolute;
  width: 100%;
  height: 4px;
  background: #282828;
  border-radius: 10px;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}
#hamburger .open {
  position: fixed;
}
#hamburger .btn-gNav span:nth-child(1) {
  top: 0px;
}
#hamburger .btn-gNav span:nth-child(2) {
  top: 10px;
}
#hamburger .btn-gNav span:nth-child(3) {
  top: 20px;
}
#hamburger .btn-gNav.open span:nth-child(1) {
  background: #282828;
  top: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-top: 15px;
}
#hamburger .btn-gNav.open span:nth-child(2),
#hamburger .btn-gNav.open span:nth-child(3) {
  top: 6px;
  background: #282828;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-top: 15px;
}

#hamburger #gNav .gNav-menu li:nth-child(2) {
  margin-top: 100px;
}
#hamburger #gNav .gNav-menu li {
  font-weight: 800;
}
/* テキストカラー */
#hamburger #gNav .gNav-menu .left_in_right a:hover {
  color: #7baa17;
}
#gNav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
  z-index: 2;
  padding-top: 50px;
  transition: 0.3s;
}
#gNav.open {
  right: 0px;
}
#gNav .gNav-menu {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-left: 0;
}
#gNav .gNav-menu li {
  display: block;
  padding: 30px 30px;
  height: 20px;
}
#gNav .gNav-menu li a {
  color: #333;
  text-decoration: none;
  font-size: 1.2rem;
}
.fa-chevron-circle-down {
  color: #7baa17;
  margin-left: 6px;
}
/*------------------------------------
ハンバーガーメニュー↓@media screen and
------------------------------------*/
@media screen and (max-width: 1150px) {
  .nav_main_box {
    display: none;
  }
}
@media screen and (min-width: 1149px) {
  .btn-gNav {
    display: none;
  }
  #gNav {
    position: fixed;
    top: 0;
    right: 0;
    height: 67px;
    display: none;
  }
  #gNav .gNav-menu {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 33px;
    position: fixed;
    top: 0;
    right: 0;
    padding-left: 50px;
  }
  #gNav .gNav-menu li {
    padding-top: 5px;
  }
}
/*------------------------------------
ホバー時アンダーライン↓
------------------------------------*/
.left_in_right a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #000;
}
/* 下線カラー */
.left_in_right a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #7baa17;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}
.left_in_right a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}
/* テキストカラー */
.left_in_right a:hover {
  color: #7baa17;
}

/* hero */
#top-page {
  background-image: url(../image/hero-back.jpg);
  width: 100%;
  height: 550px;
  margin-top: 100px;
  position: relative;
}
/* title animation */
h1 {
  font-family: "Black Ops One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.7rem;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transform: translateY(-50%);
}

.tate01 {
  color: #7baa17;
  font-family: "Black Ops One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  writing-mode: vertical-rl;
  text-align: center;
  position: absolute;
  top: 30%;
  left: 48%;
  transform: translate(-50%, -50%);
}
.tate02 {
  color: #7baa17;
  font-family: "Black Ops One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  position: absolute;
  top: 70%;
  left: 48%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
}

/*見やすくするためのCSS*/
.wrap {
  max-width: 100%;
}

/*タイピング*/
.typing {
  color: white;
  width: 100%;
  letter-spacing: 0.2em;
  word-break: break-all;
}

/*jsで生成されるspanタグ*/
.typing span {
  display: none;
}

/*|カーソルを表示*/
.typing:after {
  content: "|";
  animation: typingCursor 0.8s ease infinite;
}

@keyframes typingCursor {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* topテキストスライド */
.bbs {
  align-items: center;
  background: #000000;
  color: #7baa17;
  display: flex;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  /* margin-top: 100px; */
  z-index: 1;
}
.bbs ul {
  animation: flowing 25s linear infinite;
  font-size: 20px;
  transform: translateX(100%);
  margin: 100px 0;
  padding: 0;
}
.bbs ul li {
  display: inline-block;
  padding-right: 10px;
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
@keyframes flowing {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

#about h2,
.title h2,
.skill h2,
#contact h2 {
  font-family: "Black Ops One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.5rem;
  text-align: center;
}

/* h2下線アニメーション */

.title {
  width: 100%;
  margin-bottom: 20px;
}

/* 白 */
.text2-span {
  position: relative;
  z-index: 1;
  padding: 50px 15px 0 15px;
}
.text2-span:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 0%;
  height: 4px;
  background: rgb(255, 255, 255);
  z-index: -1;
  transition: all 1.5s;
}
.text2-span.isActive:after {
  width: 100%;
}

.title img {
  width: 100%;
  padding: 20px;
  text-align: center;
}

/* about */
.abouot title {
  margin-bottom: 50px;
}
.me img {
  width: 300px;
  height: auto;
  margin: 80px auto;
  display: block;
}

.detail {
  margin: 80px auto;
  width: 70%;
}

/* skill*/
.stars {
  padding-top: 200px;
  color: white;
  position: relative;
  width: 100%; /* 星空の横幅 */
  /* height: 100vh; 星空の縦幅 */
  background: black; /* 星空の背景色 */
  overflow: hidden; /* 星が枠外にはみ出すのを防ぐ */
}

/* 星のスタイル */
.star {
  position: absolute;
  display: block;
  background-color: #fff; /* 星の色 */
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(#fff, 0.2); /* 星の影 */
  opacity: 0;
  animation: twinkle 5s infinite;
}

/* 星がキラキラ光るアニメーション */
@keyframes twinkle {
  0% {
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.skill {
  padding-top: 200px;
}

.skill01,
.skill02,
.skill03 {
  margin: 30px;
  padding: 0 20px;
  text-align: center;
  img {
    width: 60%;
  }
}
.hosi {
  display: flex;
  width: 50px;
  text-align: center;
}

.skill-box {
  text-align: left;
  width: 85%;
}

.strength {
  padding-top: 200px;
  text-align: center;
  img {
    width: 80%;
  }
}

.strength-box {
  padding-top: 30px;
  width: 85%;
  h3 {
    color: #7baa17;
    font-size: 3rem;
    border-bottom: dotted 7px #7baa17;
    margin: 0 15px;
    text-align: center;
  }
  .strength01,
  .strength02,
  .strength03 {
    font-size: 2rem;
    margin: 15px 0;
  }

  .bun {
    text-align: left;
    padding: 0 40px 0 40px;
  }
}

/* works */
.work-space {
  background: rgb(137, 136, 136);
  padding: 150px 0 80px 0;
}
#works {
  h2 {
    color: white;
  }

  a {
    color: #000;
    cursor: pointer;
  }
}

#works img {
  width: 90%;
  padding: 5px;
}

.item {
  padding-top: 70px;
  text-align: center;
  cursor: pointer;
  max-width: 450px;
  overflow: hidden;
  width: 100%;
}
.item img {
  height: auto;
  transition: transform 0.6s ease; /* ゆっくり変化させる */
}
.item:hover img {
  transform: scale(1.1); /* 拡大 */
}

/* contact */

#contact {
  color: rgb(255, 255, 255);
  cursor: pointer;
  text-align: center;
  padding-top: 200px;
}

.sime {
  font-size: 1.7rem;
}

.last {
  margin-top: 50px;
  padding: 25px;
}
.mail a {
  width: 100%;
  color: rgb(255, 255, 255);
  font-size: 1.7rem;
  font-family: "Electrolize", serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 30px;
  /* padding: 50px; */
}

.mail img {
  width: 40px;
  align-items: baseline;
}

.top a {
  margin-top: 20px;
  box-sizing: border-box;
  display: block;
  position: relative;
  width: 70px;
  height: 70px;
  border: solid 6px #ffffff;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.16);
}

.top a:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0, 0);
  transition: transform ease 0.4s;
}

.top a:hover:after {
  transform: translate(-50%, -50%) scale(1.1, 1.1);
}

.top a:before {
  content: "";
  position: absolute;
  z-index: 10;
  top: 55%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-style: solid;
  border-color: #ffffff;
  border-width: 6px 0 0 6px;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color ease 0.1s;
}

.top a:hover:before {
  border-color: #000000;
}

/*====================================================================
footer
====================================================================*/
footer {
  width: 100%;
  background: #000;
  color: white;
  text-align: center;
  padding: 30px 0 0 0;
}

/* メディアクエリ */

@media (min-width: 767px) {
  .logo img {
    width: 100px;
    height: auto;
  }

  #top-page {
    height: 620px;
  }
  h1 {
    font-size: 6rem;
  }
  .tate01 {
    font-size: 3rem;
    top: 26%;
  }
  .tate02 {
    font-size: 3rem;
    top: 75%;
  }

  .work01,
  .work02,
  .work03,
  .work04 {
    display: flex;
    width: 100%;
  }
  .item {
    background: white;
    a {
      color: #000;
    }
  }
  .text-span,
  .text2-span {
    font-size: 4rem;
  }
  .aboutme {
    display: flex;
  }

  .detail {
    padding: 50px 50px 0 0px;
    width: 55%;
    font-size: 1.5rem;
  }
  .me img {
    width: 380px;
    height: auto;
    margin: 30px 0 0 150px;
  }

  .skill-flex {
    display: flex;
  }

  .skill01,
  .skill02,
  .skill03 {
    width: 30%;
  }
  .strength-ring {
    margin-top: 30px;
    text-align: center;
    img {
      width: 30%;
    }
  }

  .flex-strength {
    display: flex;
  }

  .strength-box {
    width: 35%;
    padding: 50px;
  }

  .item img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    padding: 30px;
  }

  .item {
    margin: 50px auto;
    gap: 20px;
    padding: 15px;
    a {
      color: white;
    }
  }

  #contact {
    margin-top: 50px;
  }

  .sime {
    font-size: 3rem;
  }
  .mail a {
    font-size: 110px;
  }
  .mail img {
    margin-right: 10px;
    width: 80px;
  }
}