@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;
}


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

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

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


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

nav {
    width: 30%;
    position: absolute;
    top: 2%;
    left: 70%;
    z-index: 100;
}

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

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: 6vw;
    height: 6vw;
    font-size: 1.3vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 50%;
    border: 1px solid #202020;
    color: #202020;
    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,.loop-wrap2 {
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #342f75;
  }

  .loop-area {
    display: flex;
    animation: loop-slide 30s infinite linear 1s both;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .loop-wrap2  .loop-area {
    animation: loop-slide2 30s infinite linear 1s both;
  }

  .loop-area li {
    width: 500px;
    font-family: Fredericka;
    letter-spacing:.3em;
    font-size: 3.8vw;
    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%);
    }
  }
  @keyframes loop-slide2 {
    to {
      transform: translateX(0);
    }
    from {
      transform: translateX(-100%);
    }
  }




/* メイン */

/* なび ---------------------------------------------------------------------------*/

#top {
    width: 100%;
    padding-top: 7%;
    padding-bottom: 5%;
    margin-left: auto;
    margin-right: auto;
}

#top ul {
    display: flex;
    list-style-type: none;
}

#top ul li {
    position: relative;
    text-align: center;
    width: 25%;
    margin-right: 3%;
    margin-left: 2%;
    background-color: #ffffff;
    box-shadow: 1px 1px  #000000;
}

#top ul li a {
    line-height: 4;
    text-decoration: none;
}


#top ul li a:hover::after {
    opacity: 1;
    transform: translateY(15%);
    transition: 2s;
}

#top ul li a p {
    font-size: 2vw;
}

#top ul li a span {
    position: absolute;
    color: #ffffff;
    top: 25%;
    left: -10%;
    width: 4em;
    line-height: 2;
    display: block;
    font-family: Libre;
    font-size: 2vw;
    rotate: 90deg;
    background-color: #342F75;
}

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



.work-flex {
    width: 100%;
    margin-bottom: 3%;
    margin-left: 2%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
}


/*　左----------------------------------------------------------------------- */

.leftbox {
    position: sticky;
    top: 0;
    width: 100%;
    padding-bottom: 2%;
    padding-top: 0.2%;
    transform: translateY();
    background-color: #342F75;
    z-index: 10;
}

.leftbox dl {
    width: 80%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    border-radius: 30px;
    background-color: #f5f5f5;
    
}

.leftbox dl dt {
    padding: 1%;
    padding-bottom: 0%;
    font-size: 2.8vw;
    color: #ff8183;
}

.leftbox dl dd {
    width: 80%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
    font-size: 2.6vw;
}

.leftbox dl dd span {
    display: block;
}

#illust .tab_panel .leftbox .leftbox dl {
    background-color:#342F75;
}


.big {
    width: 25vw;
    height: 8vw;
    font-size: 2.6vw;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    background-color: #fff;
    color: #eb5858;
    cursor: pointer;
    transition: 2S;
}




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

.tab_panel.active {
    display:block;
}

.tab_panel2 {
    display:none;
}

.tab_panel2.active {
    display:block;
}

.tab_panel3 {
    display:none;
}

.tab_panel3.active {
    display:block;
}

.tab_panel4 {
    display:none;
}

.tab_panel4.active {
    display:block;
}


/* くりっく */
.explanation1 {
    transform: translateX(0%);
    transition: 1s;
}

.explanation1.active {
    transform: translateX(0%);
    transition: 1s;
}

.explanation2 {
    transform: translateX(0%);
    transition: 1s;
}

.explanation2.active {
    transform: translateX(0%);
    transition: 1s;
}





/* 右-------------------------------------------------------------- */
.rightbox {
    position: relative;
    padding-top: 15%;
    padding-bottom: 2.5%;
    padding-right: 2.5%;    
}

.rightbox .bar {
    display: none;
    text-align: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    font-family: Libre;
    font-size: 2.5vw;
}


.work-flex figure {
    position: relative;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    font-size: 2.3vw;
}

.work-flex figure img {
    display: block;
    width: 100%;
    overflow: hidden;
}



.work-flex figcaption {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    margin-bottom: 5%;
}

/* 大きい画像 */

.big-img {
    position: fixed;
    top: 310px;
    left: 92px;
    width: 55%;
    z-index: 1000;
    box-shadow: 3px 3px 5px #000000;
}

.big-img img {
    width: 100%;
    display: block;
}

.big-imgb {
    position: fixed;
    top: 350px;
    left: 55px;
    width: 70%;
    z-index: 1000;
    box-shadow: 3px 3px 5px #000000;
}

.big-imgb img {
    width: 100%;
    display: block;
}

.big-imgd {
    position: fixed;
    top: 350px;
    left: 65px;
    width: 68%;
    z-index: 1000;
    box-shadow: 3px 3px 5px #000000;
}

.big-imgd img {
    width: 100%;
    display: block;
}

.big-imgc {
    position: fixed;
    top: 350px;
    left: 40px;
    width: 80%;
    z-index: 1000;
    box-shadow: 3px 3px 5px #000000;
}

.big-imgc img {
    width: 100%;
    display: block;
}



.big1,.big2,.big3,.big4,.big5,.big6,
.big7,.big8,.big9,.big10,.big11,.big12,
.big13,.big14,.big15,.big16,.big17,.big18 {
    transform: scale(0%);
    opacity: 0;
    transition: 1s;
}
.big1.active,.big2.active,.big3.active,.big4.active,.big5.active,.big6.active,
.big7.active,.big8.active,.big9.active,.big10.active,.big11.active,.big12.active,
.big13.active,.big14.active,.big15.active,.big16.active,.big17.active,.big18.active {
    transform: scale(100%);
    opacity: 1;
    transition: 1s;
}



/* 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;
}
#page-top a:hover {
    opacity: 0.5;
}

/* その他 */


#others .loop-wrap .loop-area {
    background-color: #342F75;
}

#others .loop-wrap2 .loop-area {
    background-color: #342F75;
}

#others .loop-wrap .loop-area img  {
    width: 60%;
}

#others .loop-wrap2 .loop-area img {
    width: 60%;
}



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

.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: sticky;
    top: 0;
    background-color: #201e1e;

}

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

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