@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Libre;
    src: url(../font/Libre_Barcode_128_Text/LibreBarcode128Text-Regular.ttf);
    /* ばーこーど */
}

@font-face {
    font-family: Fredericka;
    src: url(../font/Fredericka_the_Great/FrederickatheGreat-Regular.ttf);
    /* かすかす */
}

@font-face {
    font-family: Senobi;
    src: url(../font/MODI_Senobi-Gothic_2017_0702/MODI_Senobi-Gothic_2017_0702/Senobi-Gothic-Regular.ttf);
}



/* 全体設定 */

html {
    scroll-behavior: smooth;
}


body {
    color: #202020;
    font-family: Senobi;
}

header {    
    position: sticky;
    top: 0;
    height: 100vh;
    background-image: url(../images/hd.png);
    background-size: 100% 101%;
    background-repeat: no-repeat;
    background-color: #201E1E;
}

.main-visual {
    display: none;
    margin-top: 0;
    position: relative;
    z-index: 100;
}

h1 {
    top: 0;
    font-family: Libre;
}

h2 {
    top: 0;
    width: 20%;
    letter-spacing: .2em;
    margin-left: 3%;
    text-align: left;
    font-size: 5vw;
    font-family: Fredericka;
}


h1 a {
    width: fit-content;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
    color: #202020;
    font-size: 5vw;
    letter-spacing: .2em;
}

nav {
    width: 33%;
    position: fixed;
    top: 13%;
    left: 76%;
    rotate: 0deg;
    z-index: 10000;
}

header nav ul {
    margin-left: auto;
    list-style-type: none;   
}

header nav ul li {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

header nav ul li:nth-of-type(2) {
    margin-left: 5%;
    margin-right: 5%;
}

header nav ul li a {
    position: relative;
    display: block;
    width: 8.9vw;
    height: 8.9vw;
    font-size: 2.3vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 50%;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
}

header nav ul li a::after {
    position: absolute;
    display: block;
    content: "";
    font-size: 1.3vw;
    border-radius: 50%;
    border: 1px solid #9e97ff;
    opacity: 0;
}

header nav ul li a:hover {
    border-radius: 50%;
    border: 1px solid #4538ff;
    color: #9e97ff;
    transition: 1s;
    rotate: -12deg;
}

header nav ul li a:hover::after {
    opacity: 1;
    width: 6.5vw;
    height: 6.5vw;
    border-radius: 50%;
}

.loop-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #342f75;
    border-top: 1px solid #000000;
  }
  .loop-area {
    display: flex;
    animation: loop-slide 30s infinite linear 1s both;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .loop-area li {
    width: 500px;
    font-family: Fredericka;
    letter-spacing:.3em;
    font-size: 4.5vw;
    padding-top: .7%;
    padding-bottom: .7%;
  }

  .loop-area li p {
    text-align: center;
    border-left: 3px dotted #FAF9F7;
    color: #FAF9F7;
  }
  @keyframes loop-slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }



/* メイン */

/* ワーク ---------------------------------------------------------------------------*/

.work {
    display: none;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #fff;
}

.work .bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: fit-content;
    rotate: -90deg;
    margin-right: auto;
    font-family: Libre;
    font-size: 2.2vw;
    margin-top: 0%;
}

.work span {
    display: block;
    width:2em;
    rotate: -90deg;
    margin-right: auto;
    font-family: Libre;
    font-size: 3.2vw;
    margin-top: 0%;
}

.work .work-flex p {
    font-size: 2.5vw;
    margin-right: 30%;
    width: fit-content;
    text-align: right;
    rotate: 0deg;
}

.work .work-flex {
    display: flex;
    flex-direction: column-reverse;
}

.workleft {
    position: relative;
    width: 100%;
}


/* ぽすた */
.workleft .poster-img {
    position: absolute;
    opacity: 0;
    top: 13%;
    left: 15%;
    display: flex;
    width: 40%;
    transition: 1s;
}

.poster-img img:nth-of-type(1) {
    width: 100%;
    rotate: -12deg;
}

.poster-img img:nth-of-type(2) {
    width: 100%;
    left: 95%;
    rotate: 15deg;
}

/* バナー */
.workleft .banner-img {
    position: absolute;
    opacity: 0;
    top: 13%;
    left: -2%;
    display: flex;
    width: 50%;
    transition: 1s;
}

.banner-img img:nth-of-type(1) {
    width: 100%;
    rotate: -12deg;
}

.banner-img img:nth-of-type(2) {
    width: 100%;
    left: 95%;
    rotate: 15deg;
}

/* サイト */
.workleft .site-img {
    position: absolute;
    opacity: 0;
    top: 13%;
    left: -10%;
    display: flex;
    width: 60%;
    transition: 1s;
}

.site-img img:nth-of-type(1) {
    width: 100%;
    rotate: -12deg;
}

.site-img img:nth-of-type(2) {
    width: 100%;
    left: 95%;
    rotate: 15deg;
}

/* いらすと */
.workleft .illust-img {
    position: absolute;
    opacity: 0;
    top: 13%;
    left: -5%;
    display: flex;
    width: 50%;
    transition: 1s;
}

.illust-img img:nth-of-type(1) {
    width: 100%;
    rotate: -12deg;
}

.illust-img img:nth-of-type(2) {
    width: 100%;
    left: 95%;
    rotate: 15deg;
}

.poster-img.js-hover {
    opacity: 1;
    transition: 1s;
}

.banner-img.js-hover {
    opacity: 1;
    transition: 1s;
}

.site-img.js-hover {
    opacity: 1;
    transition: 1s;
}

.illust-img.js-hover {
    opacity: 1;
    transition: 1s;
}


.workleft img {
    position: absolute;
    width: 30%;
    display: block;
    margin-top: 50%;
    margin-left: 50%;
}

.workleft h2 {
    width: 60%;
    margin-left: 30%;
    margin-top: 5%;
}

.work ul {
    display: flex;
    width: 100%;
    margin-left: auto;
    list-style-type: none;
}

.work ul li {
    width: 25%;
    position: relative;
    padding-top: 9.5%;
    padding-bottom: 9.5%;
    padding-left: 0;
    background-color: #342F75;
    transition: 1s;
}



.work ul li:hover::before {
    color: #342F75;
}

.work ul li a {
    display: block;
    display: flex;
    text-decoration: none;
    font-size: 1.6vw;
    color: #ffffff;
    font-family: Senobi;
}

.work ul li:hover {
    background-color: #ffffff;
}

.work ul li:hover a {
    color: #202020;
}

.work ul li:nth-of-type(1) {
    margin-top: 0%;
}


/* あばうと ---------------------------------------------------------------------------------*/

.main-visual2 {
    margin-top: 40vw;
    position: relative;
    z-index: 100;
}

.about {
    position: sticky;
    top: 0;
    left: 0;
    background-color: #fff;
}

.about ul {
    display: flex;
    width: 100%;
    margin-left: auto;
    list-style-type: none;
}

.about ul li {
    width: 25%;
    position: relative;
    align-items: center;
    padding-top: 9.5%;
    padding-bottom: 9.5%;
    padding-left: 0;
    background-color: #342F75;
    transition: 1s;
    display: block;
    display: flex;
    text-decoration: none;
    font-size: 2.6vw;
    color: #ffffff;
    font-family: Senobi;
}

.about ul li a {
    width: 30%;
    display: block;
    display: flex;
    text-decoration: none;
    font-size: 1.6vw;
    color: #ffffff;
    font-family: Senobi;
}

.about .bar {
    position: absolute;
    top: 50%;
    left: 92%;
    width: fit-content;
    rotate: 90deg;
    font-family: Libre;
    font-size: 5vw;
    margin-top: 0%;
}

.about span {
    display: block;
    rotate: -90deg;
    margin-right: auto;
    font-family: Libre;
    font-size: 4.2vw;
    margin-top: 0%;
}

.about .about-flex p {
    margin-right: 30%;
    width: fit-content;
    text-align: right;
    rotate: 0deg;
}

.about .about-flex {
    display: flex;
    flex-direction: column-reverse;
}

.aboutleft {
    width: 100%;
    padding-bottom: 5%;
}

.aboutleft h2 {
    width: 40%;
    margin-right: 5%;
    margin-top: 5%;
}

.about ul li {
    position: relative;
    padding-top: 9.5%;
    padding-bottom: 9.5%;
    background-color: #342F75;
    transition: 1s;
}



.about ul li a {
    display: block;
    display: flex;
    text-decoration: none;
    font-size: 1.6vw;
    color: #ffffff;
    font-family: Senobi;
}


.about ul li:hover a {
    color: #ffffff;
}

.about ul li:hover .about-img img {
    display: block;
}


.about ul li:nth-of-type(1) {
    margin-top: 0%;
}

.about .aboutleft ul {

    font-size: 1.4vw;
}

/* 自己紹介 */

.syoukai {
    display: flex;
    width: 80%;
    padding: 3%;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #202020;
    border-radius: 20px;
    color: #202020;
}

.syoukai .syoukai-p {
    width: 80%;
}

.syoukai .syoukai-p span {
    text-indent: 2em;
    display: inline-block;
    font-family: Senobi;
    rotate: 0deg;
    font-size: 3.8vw;
}

.syoukai .syoukai-p p:nth-of-type(1) ruby:nth-of-type(1) {
    border-left: 2px solid #4e4e4e;
}

.syoukai .syoukai-p p:nth-of-type(2) {
    width: 82%;
    margin-left: 19%;
    text-align: left;
    line-height: 1.5;
    white-space: pre-wrap;
    margin-top: 2%;
    font-size: 2.6vw;
}

.syoukai .syoukai-p p:nth-of-type(2) span {
    margin-left: -15%;
    display: block;
    color: #EA7879;
}

.syoukai .syoukai-p p:nth-of-type(3) {
    width: 69%;
    margin-left: 19%;
    text-align: left;
    line-height: 1.5;
    margin-top: 2%;
    font-size: 2.6vw;
}

.syoukai .syoukai-p p:nth-of-type(3) span {
    margin-left: -15%;
    display: block;
    color: #EA7879;
}


/* 自己紹介 */

/* 経歴 */
.history {
    display: flex;
    width: 80%;
    padding: 3%;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #202020;
    border-radius: 20px;
    color: #202020;
}

.history ol {
    width: 80%;
    list-style-type: none;
    margin-left: 15%;
}


.aboutleft .history ol li time {
    display: block;
    font-size: 4.5vw;
    color: #EA7879;
}

.aboutleft .history ol li p {
    width: 90%;
    margin-bottom: 2%;
    text-align-last: left;
    text-indent: 1em;
    font-size: 2.6vw;
    border-bottom: 2px dotted #EA7879;
}

/* スキル */
.skil {
    display: flex;
    width: 80%;
    padding: 3%;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #202020;
    border-radius: 20px;
    color: #202020;
}

.aboutleft .skil h3 {
    font-size: 2.5vw;
    font-family: Senobi;
    font-weight: 400;
    margin-bottom: 1%;
    color: #EA7879;
}

.aboutleft .skil .skil-box {
    display: flex;
    justify-content: space-around;
}

.aboutleft .skil div:nth-of-type(2) {
    margin-left: 1%;
    margin-top: 1%;
}

.aboutleft .skil .skil-box figure {
    width: 11%;
}

.aboutleft .skil .skil-box figure img {
    width: 100%;
}

.aboutleft .skil .skil-box figure:nth-of-type(3) img {
    border-radius: 5px;
}

.aboutleft .skil .skil-box:nth-of-type(2) img {
    border-radius: 5px;
}

.aboutleft .skil .skil-box figure figcaption p {
    width: 100%;
    font-size: 1.6vw;
    text-align: center;
}

.aboutleft .skil .skil-box figure figcaption span {
    display: none;

}

.aboutleft .skil .skil-box figure:nth-of-type(1) figcaption span {
    margin-left: -15%;
}

.aboutleft .skil .skil-box figure:nth-of-type(3) figcaption span {
    margin-left: -35%;
}

.aboutleft .skil .skil-box figure figcaption p span{
    width: 100%;
    display: block;
    margin-left: 0;
    margin-top: 0;
    text-align: center;
    font-family: Senobi;
    rotate: 0deg;
    font-size: 2.9vw;
    color: #EA7879;
}

.aboutleft .skil .skil-box figure:nth-of-type(1) figcaption p span {
    margin-left: 0;
}

.aboutleft .skil .skil-box figure:nth-of-type(3) figcaption p span {
    margin-left: 0;
}


/* くわしく */

.more {
    display: flex;
    width: 80%;
    height: 25vw; /*仮*/
    padding: 3%;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #202020;
    border-radius: 20px;
    color: #202020;
}

.more .more-p {
    font-size: 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 13%;
    color: #EA7879;
}


/* タブ切り替え */
.tab_panel {
    display:none;
}

.tab_panel.active {
    display:block;
}


/* クリック */


.syoukai {
    display: none;
}

.syoukai.active {
    display: block;
}

.history {
    display: none;
}

.history.active {
    display: block;
}

.skil {
    display: none;
}

.skil.active {
    display: block;
}

.more {
    display: none;
}

.more.active {
    display: block;
}



/* Topもドル */

#page-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    font-size: 77%;
}
#page-top a {
    display: block;
    width: 10vw;
    height: 7vw;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 8;
    text-align: center;
    background: #FAF9F7;
    border: 2px dotted #eb5858;
    text-decoration: none;
    color: #eb5858;
    mix-blend-mode: hard-light;
    border-radius: 50px;
    z-index: 10001;
}
#page-top a:hover {
    opacity: 0.5;
}


/* コンタクト --------------------------------------------------------------------------------*/

.footer-flex {
    display: flex;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}


.Contact {
    position: relative;
}

footer .Contact h3 {
    width: 40%;
    padding-top: 3%;
    font-size: 4vw;
    margin-left: 16%;
    color: #c2c2c2;
}

footer .Contact address {
    width: 40%;
    font-style: normal;
    padding-top: 2%;;
    margin-left: 15%;
    padding-bottom: 2%;
    font-size: 4.5vw;
    font-family: Senobi;
    color: #c2c2c2;
}


.renraku {
    margin-left: 5%;
}

.Contact address p {
    text-align: left;
    font-size: 2.5vw;
    margin-right: 2%;
}

.Contact address p:nth-child(1) {
    margin-bottom: 2%;
}

.Contact address p span {
    display: inline-block;
    border-left: 2px solid #c2c2c2;
    margin-left: 2%;
    font-size: 2.4vw;
    text-indent: .5em;
}

.Contact address a {
    display: block;
    width: fit-content;
    font-size: 2.6vw;
    text-indent: .5em;
    text-decoration: none;
    margin-top: 2%;
    color: #c2c2c2;
    border-left: 2px solid #c2c2c2;
}


.Contact address a:hover {
    border-left: 2px solid #4538ff;
}

footer .footerul-parent {
    width: 40%;
    margin-left: auto;
    margin-right:auto;
    margin-top: 1%;
    display: flex;
    color: #c2c2c2;
}

footer .footerul-parent li {
    width: 35%;
    text-align: center;
    list-style-type: none;
    font-size: 3%;
}

footer .footerul-parent li a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #c2c2c2;
}

footer .footerul-parent .footerli-parent .footerul-child li {
    margin-left: 45%;
    line-height: 1.5;
    margin-bottom: 13%;
    margin-top: 4%;
}

footer .footerul-parent .footerli-parent .footerul-child li a {
    width: fit-content;
    display: block;
    font-size: 2.4vw;
    text-align-last: left;
    text-decoration: none;
    color: #c2c2c2;
    text-indent: .5em;
    border-left: 2px solid #c2c2c2;
}

footer .footerul-parent .footerli-parent .footerul-child li a:hover {
    border-left: 2px solid #4538ff;
}

/* すもーる */

footer {
    position: relative;
    background-color: #201e1e;
    z-index: 10;
}

footer small {
    display: block;
    padding-top: 1.5%;
    padding-bottom: 1.5%;
    text-align: center;
    color: #ffffff;
}

footer small p {
    font-size: 1.2vw;
}