@charset "UTF-8";

/*----------------------------
汎用: リセットCSS
----------------------------*/

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 全ての要素についてpaddingとborderを幅と高さに含める */
}

a {
  text-decoration: none;
  color: inherit;
  /* 親要素から引き継ぐ */
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

fieldset,
img {
  border: 0;
}

img {
  width: 100%;
  height: auto;
  border: 0;
  vertical-align: bottom;
}

button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  cursor: pointer;
}

input,
textarea,
select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  border-radius: 0;
  background-color: inherit;
  color: inherit;
  font-size: 100%;
  font-weight: inherit;
  font-family: inherit;
}

textarea {
  resize: none;
  /* リサイズ不可 */
  display: block;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Roboto Slab", serif;
  letter-spacing: 0;
}

body {
  color: white;
  overflow-x: hidden;
}

body h1 {
  font-size: 9.375rem;
}

body h2 {
  font-size: 4.875rem;
}

body p {
  font-size: 2.1875rem;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
}

main {
  position: absolute;
  width: 100vw;
  z-index: 100;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  margin-top: 5.4904831625vw;
  /* タブリスト */
}

main .top-section {
  min-height: 100vh;
}

main .top-section h2 {
  font-size: 4.875rem;
}

main .bottom-section {
  margin-top: 21.9619326501vw;
  padding-top: 10.980966325vw;
  min-height: 100vh;
}

main .skills-section {
  margin-top: 21.9619326501vw;
  min-height: 100vh;
}

main .project-section {
  max-width: 75%;
  width: 100%;
  margin: auto;
  padding: 14.6412884334vw 1.4641288433vw 3.6603221083vw 1.4641288433vw;
}

main .project-section p {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 1.4641288433vw;
  margin-top: 0.7320644217vw;
  font-size: 1.875rem;
  font-weight: 600;
}

main .section_flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  max-width: 65.8857979502vw;
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: auto;
  padding: 1.4641288433vw;
  font-size: 0.21875rem;
}

main section {
  width: 100%;
  margin: auto;
  padding: 20px;
  font-size: 0.21875rem;
}

main section h2 {
  margin-bottom: 2.196193265vw;
}

main section .projects-wrapper {
  gap: 1.4641288433vw 3%;
}

main section .projects-wrapper__item {
  width: 30%;
}

main section .projects-wrapper__item--top {
  margin: 0 auto 1px auto;
  width: 100%;
  height: 14.6412884334vw;
  background-color: white;
  border-top-right-radius: 1.4641288433vw;
  border-top-left-radius: 1.4641288433vw;
}

main section .projects-wrapper__item--top img {
  display: block;
  margin: auto;
  width: 75%;
  height: 100%;
}

main section .projects-wrapper__item--bottom {
  background-color: white;
  padding-top: 0.3660322108vw;
  padding-bottom: 0.3660322108vw;
  border-bottom-right-radius: 1.4641288433vw;
  border-bottom-left-radius: 1.4641288433vw;
}

main section .skills-wrapper {
  margin-top: 3.6603221083vw;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1.4641288433vw 3%;
}

main section .skills-wrapper__item {
  width: 22%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

main section .skills-wrapper__item .dummy {
  opacity: 0;
}

main section .skills-wrapper__item--top {
  margin: 0 auto 1px auto;
  width: 100%;
  height: 14.6412884334vw;
  background-color: rgba(0, 0, 0, 0.4);
  border-top-right-radius: 1.4641288433vw;
  border-top-left-radius: 20px;
}

main section .skills-wrapper__item--top i,
main section .skills-wrapper__item--top img {
  display: block;
  margin: auto;
  width: 75%;
  height: 100%;
}

main section .skills-wrapper__item--bottom {
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 0.3660322108vw;
  padding-bottom: 5px;
  border-bottom-right-radius: 1.4641288433vw;
  border-bottom-left-radius: 1.4641288433vw;
}

main section .skills-wrapper__item--bottom h3 {
  color: white;
  font-size: 1.8301610542vw;
  font-family: "Montserrat", sans-serif;
}

main .tab__nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  margin-top: 3.6603221083vw;
}

main .tab__list {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 1.4641288433vw 0 1.4641288433vw;
  height: 4.7584187408vw;
  font-size: 1.4641288433vw;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  color: #888;
  background-color: rgba(1, 1, 1, 0.7);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

main .tab__list + main .tab__list {
  margin-left: 0.7320644217vw;
}

main .tab__list:not(.is-active) {
  cursor: pointer;
}

main .tab__list.is-active {
  background-color: rgba(0, 0, 0, 0.4);
  height: 5.1244509517vw;
}

main .tab__list.is-active {
  border-top: 0.5856515373vw solid #fc5e67;
  -webkit-animation: rainbow 8s linear infinite;
          animation: rainbow 8s linear infinite;
}

main .tab__container {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

main .tabContent {
  display: none;
  width: 100%;
  padding: 2.9282576867vw 0.7320644217vw 2.9282576867vw 0.7320644217vw;
  background-color: rgba(0, 0, 0, 0.4);
  border-bottom-right-radius: 1.4641288433vw;
  border-bottom-left-radius: 1.4641288433vw;
}

main .tabContent a {
  margin-left: 2%;
  width: 50%;
}

main .tabContent a img {
  border: #888 0.0625rem solid;
  display: block;
  width: 100%;
}

main .tabContent__table {
  width: 48%;
  margin-left: 1%;
  font-size: 1.4641288433vw;
  border-collapse: separate;
  border-spacing: 0.7320644217vw 0.7320644217vw;
}

main .tabContent__table th,
main .tabContent__table td,
main .tabContent__table li,
main .tabContent__table a {
  font-family: "Montserrat", sans-serif;
  text-align: left;
  color: white;
}

main .tabContent__table a {
  margin: 0;
}

main .tabContent__table td ul ul {
  list-style-type: circle;
  padding-left: 1em;
}

main .tabContent.is-active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-animation: fadeIn 0.2s linear;
          animation: fadeIn 0.2s linear;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

@-webkit-keyframes rainbow {
  0% {
    color: red;
    border-color: red;
  }

  14% {
    color: orange;
    border-color: orange;
  }

  28% {
    color: yellow;
    border-color: yellow;
  }

  42% {
    color: green;
    border-color: green;
  }

  57% {
    color: blue;
    border-color: blue;
  }

  71% {
    color: indigo;
    border-color: indigo;
  }

  85% {
    color: violet;
    border-color: violet;
  }

  100% {
    color: red;
    border-color: red;
  }
}

@keyframes rainbow {
  0% {
    color: red;
    border-color: red;
  }

  14% {
    color: orange;
    border-color: orange;
  }

  28% {
    color: yellow;
    border-color: yellow;
  }

  42% {
    color: green;
    border-color: green;
  }

  57% {
    color: blue;
    border-color: blue;
  }

  71% {
    color: indigo;
    border-color: indigo;
  }

  85% {
    color: violet;
    border-color: violet;
  }

  100% {
    color: red;
    border-color: red;
  }
}

/* カーソルのスタイル */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor-inner {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 2px solid #ffffff;
  border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  opacity: 0;
  -webkit-animation: cursorAnim 1s infinite;
          animation: cursorAnim 1s infinite;
}

@-webkit-keyframes cursorAnim {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    -webkit-transform: translate(-50%, -50%) scale(2);
            transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes cursorAnim {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    -webkit-transform: translate(-50%, -50%) scale(2);
            transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@media screen and (max-width: 1366px) {
  html {
    font-size: 1.1713030747vw;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 4.2666666667vw;
  }

  body h1 {
    font-size: 3.125rem;
  }

  body h2 {
    font-size: 2.625rem;
  }

  body p {
    font-size: 0.625rem;
  }

  main .top-section h2 {
    font-size: 2.625rem;
  }

  main .bottom-section {
    margin-top: 53.3333333333vw;
    margin-bottom: 26.6666666667vw;
    min-height: 50vh;
    padding: 0;
  }

  main .skills-section {
    margin-top: 80vw;
    min-height: 100vh;
  }

  main .project-section {
    max-width: 95%;
  }

  main .project-section p {
    margin-top: 2.6666666667vw;
    font-size: 0.625rem;
    font-weight: 600;
  }

  main .tab__nav ul {
    margin-top: 13.3333333333vw;
  }

  main .tab__list {
    padding: 0 2.6666666667vw 0 2.6666666667vw;
    height: 8.5333333333vw;
    font-size: 1.8666666667vw;
  }

  main .tab__list.is-active {
    height: 8.5333333333vw;
  }

  main .tabContent__table {
    margin: 5.3333333333vw auto 0 auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 3.2vw;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  main .tabContent__table td {
    padding-left: 8vw;
  }

  main .tabContent.is-active {
    display: block;
  }
}
/*# sourceMappingURL=style.css.map */