@charset "UTF8";

html {
  font-size: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  text-align: center;
  font-size: 1.4rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}


/* link */

a {
  color: #333;
  text-decoration: none;
}

.link {
  color: #07a4de;
}

.link:hover {
  color: #07a4de;
  text-decoration: underline;
}

.next_page_link a {
  display: block;
  width: 170px;
  text-align: center;
  background-color: #06cdd0;
  color: #fff;
  padding: 10px 40px;
  margin: 0 auto;
  border-radius: 5px;
  font-size: 1rem;
}

.next_page_link a:hover {
  background-color: #08bec2;
}


menu,
nav {
  display: block;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ttl {
  font-size: 4rem;
  letter-spacing: 3px;
  color: #fff;
}

.sub-ttl {
  margin: 0 0 30px;
  letter-spacing: 1px;
  font-size: 2rem;
  color: white;
}

.box {
  margin-top: -80px;
}


/* margin */

.mg-lr {
  margin: 0 20px;
}

.mg-t20{
  margin-top: 20px;

}

.mg-b20 {
  margin-bottom: 20px;
  display: block;
}

.mg-b30 {
  margin-bottom: 30px;
  display: block;
}

.mg-b40 {
  margin-bottom: 40px;
  display: block;
}

.mg-b50 {
  margin-bottom: 50px;
  display: block;
}

/* font */

.fw-b {
  font-weight: bold;
}

.main-ttl {
  margin: 40px 20px 40px;
  font-size: 7rem;
  color: white;
}

/* text-style */

.txt-style {
  font-size: 13px;
  line-height: 2;
}

.txt-center {
  margin: 0 auto;
  text-align: center;
}

.txt-align-left {
  display: inline-block;
  text-align: left;
  margin: 0 40px;
}


/* img */

.shadow {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.profile-image {
  border-radius: 50%;
}


/* 見出し */

.heading-ttl {
  font-size: 2.5rem;
}

.heading {
  font-size: 2rem;
  margin: 30px 0 15px;
  letter-spacing: 2px;
}

.heading-2 {
  font-size: 2rem;
  line-height: 1.5;
  margin: 50px 0 20px;
}

.heading-3 {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  margin: 50px 0 10px;
}


/* pc/sp表示切り替え */

.pc_disp {
  display: block;
  margin: 30px auto;
}

.sp_disp {
  display: none;
}


/* about */

.about-mg {
  margin: -80px 0 60px;
}

.about,
.skills {
  padding: 30px 20px 50px;
}


/* skill */

.skill-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 50%;
  font-size: 6rem;
  line-height: 16;
  background-image: url();
  padding-top: 50px;
  color: #fff;
  background: rgb(185, 178, 5);
  background: linear-gradient(
    49deg,
    rgba(185, 178, 5, 1) 30%,
    rgba(230, 221, 4, 1) 65%,
    rgba(255, 252, 195, 1) 100%
  );
}

.skill-ttl {
  font-size: 1.5rem;
  font-weight: bold;
}

.skill-txt {
  margin: 20px 20px 0;
  line-height: 2;
  font-size: 1em;
}

.skills {
  background-image: radial-gradient(#efefef 2px, transparent 2px),
    radial-gradient(#efefef 2px, #ffffff 2px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

.skills-wrapper {
  display: table;
  width: 85%;
  margin: 50px auto 0;
  table-layout: fixed;
}

.skill-box {
  display: table-cell;
  padding: 0 30px;
}

.skill-img {
  background-image: url();
}


/* work */

.works {
  padding: 30px 20px 50px;
  background: #f1f1f1;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2%;
}

.wrapper-2 {
  max-width: 1200px;
  margin: 0 auto;
}


/* grid */

.grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(345px, 1fr));
  margin-bottom: 50px;
}

.grid-2 {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(345px, 1fr));
  margin-bottom: 50px;
}


/* sp @media (max-width: 1024px) */

@media (max-width: 1024px) {
  body {
    background-image: none;
  }

  .ttl {
    font-size: 4rem;
  }

  .sub-ttl {
    font-size: 2rem;
  }

  .box {
    margin-top: -80px;
  }

  .wrapper-2 {
    padding: 0 2%;
  }

  .sp-width {
    width: 100%;
  }

  .skill-box {
    display: table-cell;
    padding: 0 10px;
  }

  .skills-wrapper {
    display: table;
    width: 100%;
    margin: 50px auto 0;
    table-layout: fixed;
  }
}


/* sp @media (max-width: 768px) */

@media (max-width: 768px) {
  body {
    font-size: 1.3rem;
  }

  .wrapper-2 {
    padding: 0 2%;
  }

  .heading {
    margin-top: 20px;
    font-size: 2.5rem;
  }

  .heading-2 {
    font-size: 1.5rem;
  }

  .pc_disp {
    display: none;
  }
  .sp_disp {
    display: block;
  }

  .sp-width {
    width: 100%;
  }

  .txt-style {
    line-height: 2;
  }

  .txt-align-left {
    margin: 0 30px;
  }

  .box {
    margin-top: -80px;
  }

  /* about */

  .about-txt {
    line-height: 1.8;
  }

  /* skill */

  .skills-wrapper,
  .skill-box {
    display: block;
  }

  .skill-box {
    margin-top: 30px;
  }
}


/* nav */

nav {
  width: 100%;
  height: 70px;
  position: relative;
  background: #f6f6f6;
}

.drawer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 70px;
  padding: 0 1em;
}

.navbar_toggle {
  z-index: 9999;
}

.navbar_toggle_icon {
  position: relative;
  display: block;
  height: 2px;
  width: 30px;
  background: #5c6b80;
  -webkit-transition: ease 0.5s;
  transition: ease 0.5s;
}

.navbar_toggle_icon:nth-child(1) {
  top: 0;
}
.navbar_toggle_icon:nth-child(2) {
  margin: 8px 0;
}
.navbar_toggle_icon:nth-child(3) {
  top: 0;
}

.menu {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: ease 0.5s;
  transition: ease 0.5s;
  z-index: 1;
}

.menu ul li {
  font-size: 1rem;
  font-weight: bold;
  padding: 1em;
  border-bottom: 1px solid #006;
}

.menu.open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
}

.navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
  top: -10px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}


/* sp @media (max-width: 720px) */

@media screen and (min-width: 720px) {
  nav {
    display: flex;
    flex-direction: row;
  }
  .navbar_toggle {
    display: none;
  }
  .menu {
    width: 100%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .menu ul {
    height: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
  }
  .menu ul li {
    padding: 0 1em;
    border-bottom: none;
  }
}


/* footer */

.footer {
  background-color: #f7f7f7;
  padding: 30px;
}


/* pagetop */

.pagetop{
  opacity: 0;
  visibility: hidden;
}

a.pagetop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 60px;
  height: 60px;
  padding: 0;
  background: rgb(2, 0, 36);
  background: rgb(246, 237, 241);
  background: radial-gradient(
    circle,
    rgba(246, 237, 241, 1) 0%,
    rgba(148, 187, 233, 1) 79%
  );
  border-radius: 50%;
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

a.pagetop i {
  font-size: 150%;
  line-height: 60px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  letter-spacing: 0;
  color: #fff;
}
a.pagetop:hover i {
  line-height: 55px;
}

.active{
  opacity: 1;
  visibility: visible;
}

.absolute{
  position: absolute;
  top: -70px;
  bottom: auto;
}
