@charset "UTF-8";

@media screen and (min-width:800px) {

  /* PC版のcss */
  .stars {
    position: relative;
    width: 100%;
    height: 600px;
    margin-bottom: 50px;
    background-image: linear-gradient(0deg, #1e76aa, #1d3e7c);
    overflow: hidden;
  }

  .star {
    position: absolute;
    display: block;
    background-color: #ffef3e;
    border-radius: 50%;
    box-shadow: 0 0 4px 2px rgba(#ffffff, 0.2);
    opacity: 0;
    animation: twinkle 7s infinite;
  }

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

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

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

  body {
    background: #e4e4ffd5
  }

  body {
    font-family: "游ゴシック", "Yu Gothic", "Meiryo", "メイリオ", "sans-serif", serif;
  }

  body {
    position: relative;
  }

  .sf {
    display: none;
  }

  .title {
    display: flex;
    justify-content: center;
    position: relative;
    top: 100px;
    color: #c8c8c8d6;
    font-weight: bold;
    font-size: 70px;
  }

  h2 {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #242961;
    margin-top: 140px;
    margin-bottom: 40px;
  }

  li {
    font-size: 20px;
    color: #242961;
  }

  p {
    font-size: 20px;
    color: #242961;
    overflow-wrap: normal;
    padding-left: -30px;
  }

  a {
    text-decoration: none;
    display: block;
  }

  a:hover {
    opacity: 0.5;
  }

  .MenuMain {
    position: absolute;
    top: 600px;
    list-style: none;
    width: 100%;
    margin-bottom: 7px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
  }

  .MenuMain li {
    width: 20%;
    height: 50px;
    text-align: center;
    background-color: #c8c8c8d6;
    line-height: 3;
    border: 1.5px solid rgb(68, 113, 196);
    font-size: 14px;
    border-width: 1.5px;
    font-weight: bold;
  }

  .MenuMain a:active {
    color: rgba(0, 217, 202, 0.998);
  }

  .Skill {
    background-color: #ffff;
    width: 100%;
    height: 700px;
  }

  .Skill h2 {
    padding-top: 30px;
  }

  .skillInner-contents {
    display: flex;
    width: 630px;
    margin-top: 3px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(50px);
    transition: 1.5s ease 1s;
  }

  .skillInner-contents p {
    max-width: 390px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 20px;
  }

  .skillInner-contents img {
    width: 85px;
  }

  .skillInner {
    display: flex;
    justify-content: center;
    padding-left: 30px;
  }

  .skillInner-contents.show2 {
    opacity: 1;
    transform: translateY(0);
  }

  .edita {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    transition: 1.5s ease 1s;
  }

  .edita.show2 {
    opacity: 1;
    transform: translateY(0);
  }

  .contentsWork {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
  }

  .contentsWork img {
    border: solid 3px #616161;
    border-radius: 15%;
    box-shadow: #616161 3.5px 3.5px;
  }

  .Layout {
    background-color: #ffff;
    width: 100%;
    height: 700px;
  }

  .Layout h2 {
    padding-top: 20px;
  }

  .contentsLayout {
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .bannerIcon-banner,
  .bannerIcon-icon {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 70px;
    list-style: none;
  }

  .bannerIcon-banner img {
    max-width: 100%;
    height: 100%;
  }

  .bannerIcon-icon img {
    max-width: 100%;
    height: 100%;
  }

  .gallery {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 40px;
  }

  .gallery:hover {
    opacity: 0.5;
  }

  .gallery p {
    position: absolute;
    top: 65px;
    left: 200px;
    right: 200px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
  }

  .gallery img {
    width: 60%;
  }

  .profile {
    width: 730px;
    height: 280px;
    background-color: rgb(255, 255, 255);
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: 1.5s ease 1s;
  }

  .profile.show2 {
    opacity: 1;
    transform: translateY(0);
  }

  .profileName {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #242961;
    padding-top: 20px;
  }

  .profileContents {
    flex-direction: column;
    display: flex;
    font-size: 20px;
    color: #242961;
    width: 650px;
    padding-left: 50px;
    margin-top: 10px;
  }

  .contactIn {
    width: 700px;
    height: 50px;
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 5px;
    background-color: rgb(255, 255, 255);
    opacity: 0;
    transform: translateY(50px);
    transition: 1.5s ease 1s;
  }

  .contactIn.show2 {
    opacity: 1;
    transform: translateY(0);
  }

  .contact a {
    display: inline;
    text-decoration: underline;
  }

  .contact a:hover {
    color: rgba(0, 217, 202, 0.998);
  }

  .copy {
    display: flex;
    justify-content: flex-start;
    color: #000000;
    font-size: 6px;
  }

  .buttonStar {
    position: fixed;
    right: 50px;
    bottom: 50px;
    transition: 1.5s ease 0.8s;
    z-index: 100;
  }

  .buttonStar:hover {
    transform: rotate(360deg);
  }

  html {
    scroll-behavior: smooth;
  }

  * {
    margin: 0;
    padding: 0;
  }
}

@media screen and (max-width:799px) {

  /* スマホ版のcss */
  .stars {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 20px;
    background-image: linear-gradient(0deg, #5cffd1, #3c6dc8);
    overflow: hidden;
  }

  .star {
    position: absolute;
    display: block;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 4px 2px rgba(#ffffff, 0.2);
    opacity: 0;
    animation: twinkle 7s infinite;
  }

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

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

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

  body {
    background: #dff0faf0;
  }

  body {
    font-family: "游ゴシック", "Yu Gothic", "Meiryo", "メイリオ", "sans-serif", serif;
  }


  .title {
    display: flex;
    justify-content: center;
    position: relative;
    top: 110px;
    color: #c8c8c8d6;
    font-weight: bold;
    font-size: 45px;
  }

  h2 {
    text-align: center;
    font-size: 18px;
    color: #242961;
    margin-top: 70px;
    margin-bottom: 20px;
  }

  li {
    font-size: 11px;
    color: #242961;
  }

  p {
    font-size: 11px;
    color: #242961;
    overflow-wrap: normal;
  }

  a {
    text-decoration: none;
    display: block;
  }

  a:hover {
    opacity: 0.5;
  }

  img {
    max-width: 100%;
  }

  .MenuMain {
    position: absolute;
    top: 480px;
    list-style: none;
    color: #ffffff;
    width: 100%;
    margin-bottom: 7px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
  }

  .MenuMain li {
    width: 33%;
    height: 35px;
    text-align: center;
    background-color: #c8c8c8d6;
    line-height: 3.5;
    border: 1.5px solid #5cffd1;
    font-size: 2vw;
    border-width: 1.5px;
    font-weight: bold;
  }

  .MenuMain a:active {
    color: rgba(0, 217, 202, 0.998);
  }

  .Skill {
    background-color: #ffff;
    width: 100%;
    height: 500px;
  }

  .Skill h2 {
    padding-top: 30px;
  }
  .skillInner-contents {
    display: flex;
    width: 350px;
    margin-top: 5px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(50px);
    transition: 1.2s ease 1s;
  }

  .skillInner-contents p {
    width: 135px;
    padding-left: 3px;
    padding-right: 3px;
  }

  .skillInner-contents img {
    width: 55px;
  }

  .skillInner {
    display: flex;
    justify-content: center;
    width: 95%;
    padding-left: 15px;
  }

  .skillInner-contents.show2 {
    opacity: 1;
    transform: translateY(0);
  }

  .edita {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 55px;
  }

  .contentsWork {
    display: flex;
    text-align: center;
  }

  .contentsWork img {
    border: solid 2px #616161;
    border-radius: 15%;
    box-shadow: #616161 2px 2px;
    max-width: 75%;
    height: 75%;
  }

  .Layout {
    background-color: #ffff;
    width: 100%;
    height: 330px;
  }

  .Layout h2 {
    padding-top: 20px;
  }

  .contentsLayout {
    display: flex;
    text-align: center;
  }

  .contentsLayout img {
    max-width: 70%;
    height: 70%;
    padding-left: 7px;
  }

  .bannerIcon-banner,
  .bannerIcon-icon {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-right: 3px;
    padding-left: 3px;
    padding-bottom: 5px;
  }

  .bannerIcon-banner img {
    max-width: 40%;
    height: 40%;
  }

  .bannerIcon-icon img {
    max-width: 30%;
    height: 30%;
  }

  .gallery {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }

  .gallery:hover {
    opacity: 0.5;
  }

  .gallery p {
    position: absolute;
    top: 55px;
    left: 100px;
    right: 100px;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
  }

  .gallery img {
    width: 100%;
  }

  .profile {
    width: 340px;
    height: 210px;
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: 1.5s ease 1s;
  }

  .profile.show2 {
    opacity: 1;
    transform: translateY(0);
  }

  .profile li {
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .profileName {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #242961;
    padding-top: 10px;
  }

  .profileContents {
    flex-direction: column;
    display: flex;
    font-size: 15px;
    color: #242961;
    width: 300px;
    padding-left: 25px;
    margin-top: 10px;
  }

  .contactIn {
    width: 340px;
    height: 40px;
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 5px;
    background-color: rgb(255, 255, 255);
    opacity: 0;
    transform: translateY(50px);
    transition: 1.5s ease 1s;
  }

  .contactIn.show2 {
    opacity: 1;
    transform: translateY(0);
  }

  .contact a {
    display: inline;
    text-decoration: underline;
  }

  .contact a:hover {
    color: rgba(0, 217, 202, 0.998);
  }

  .copy {
    display: flex;
    justify-content: flex-start;
    color: #000000;
    font-size: 6px;
  }

  .buttonStar {
    position: fixed;
    right: 5px;
    bottom: 15px;
    width: 85px;
    z-index: 100;
  }

  .buttonStar:hover {
    transform: rotate(360deg);
  }


  html {
    scroll-behavior: smooth;
  }

  * {
    margin: 0;
    padding: 0;
  }
}