@charset "UTF-8"; 

*{
    padding: 0;
    margin: 0;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

p {
    font-family: "Roboto", sans-serif;
}


/* Ribeye Marrow
font-family: "Ribeye Marrow", serif;
font-weight: 400;  */


/* Lilita One 
font-family: "Lilita One", sans-serif;
font-weight: 400; */


/* Rammetto One
font-family: "Rammetto One", sans-serif;
font-weight: 400;  */


/* Roboto
font-family: "Roboto", sans-serif; */



/* ++++++++++++++bodyに関する記述++++++++++++++ */

body{
    background-image: url(../images/base+.jpg);
    background-size: cover;
    background-attachment: fixed;

}


/* ++++++++++++++headerとnavに関する記述++++++++++++++ */
header {
    display: flex;
    height: 4vw;
    margin-bottom: 5%;
  
}

header h1 {
    width: 20%;
    padding-left: 5vw;
    margin-top: 1vw;  
    font-size: 2vw;
    color: black;
}

/* ここからnav */
nav {
    width: 60%;
}


nav ul {
    display: flex;
}


nav ul li {
    width: 25%;
    background-color: white;
}

nav ul li a {
    display: block;
    text-align: center;
    line-height: 2.0;
    color: white;
    font-size: 2vw;
    
}

/* ++++++++++++++ナビメニューに関する記述++++++++++++++ */
nav.NavMenu{
	position: fixed; /*表示位置を固定*/
	z-index: 2; /*重ね順を変更*/
	top: 0; /*表示位置を指定*/
	left: 0; /*表示位置を指定*/
	background: #fff;/*背景を白にする*/
	color: #000; /*文字色を黒にする*/
	text-align: center; /*テキストを中央揃え*/
	width: 100%; /*全幅表示*/
	transform: translateX(-100%); /*ナビを上に隠す上から出したい場合は、transform: translateYを使う。*/
	transition: all 0.6s; /*アニメーションの時間を指定*/
}

nav.NavMenu ul{
	background: #ccc; /*背景をグレーにする*/
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

nav.NavMenu ul li{
	font-size: 1.1em;
	list-style-type: none;
	padding: 0;
	width: 100%;

}

nav.NavMenu ul li:last-child{
	padding-bottom: 0;
	border-bottom: none; /*最後のメニュー項目のみ下線を消す*/
}

nav.NavMenu ul li a{
	display: block; /*クリックできる領域を広げる*/
	color: #000;
	padding: 1em 0;
}

/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active{
	transform: translateX(0%);/*上から出したい場合は、transform: translateYを使う。*/
}


/* ++++++++++++++トグルボタンに関する記述++++++++++++++ */
.Toggle {
	position: fixed;    /* bodyに対しての絶対位置指定 */
	right: 13px;
	top: 12px;
	width: 42px;
	height: 42px;
	cursor: pointer; /*divだけどカーソルが変わるようにしている*/
	z-index: 3;      /* ボタンを一番上にしている(押せなくなるから) */
}

.Toggle span {
	display: block;
	position: absolute;
	width: 30px;
	border-bottom: solid 3px #000;
	transition: .35s ease-in-out;	/*変化の速度を指定*/
	left: 6px;
}

.Toggle span:nth-child(1) {
	top: 9px;
}

.Toggle span:nth-child(2) {
	top: 18px;
}

.Toggle span:nth-child(3) {
	top: 27px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
}


/* ++++++++++++++スムーススクロールに関する記述++++++++++++++ */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    display: block;
    width: 100px;
    height: 100px;
    line-height: 8;
    text-align: center;
    background: #313030;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
}
#page-top a:hover {
    opacity: 0.5;
}

/* /////////////////////////////////////////////////////////////////////// */

main {
 
}

/* +++++++++++++メインビジュアル部分++++++++++++++ */

/* michico.works */
h2 {
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-style: normal; 
  font-size: 12vw;
  width: fit-content;
  line-height: 12vw;
  white-space: pre-wrap;
  margin-left: 10vw;
  margin-top: 7vw;
}

h2 {
    display: flex;
}


/*  */
h2 .M {
    animation: m 0.8s forwards;
    animation-delay: 0s;
}

h2 .i1 {
    animation: m 0.8s forwards;
    animation-delay: 0.1s;
}

h2 .c1 {
    animation: m 0.8s forwards;
    animation-delay: 0.2s;
}

h2 .h {
    animation: m 0.8s forwards;
    animation-delay: 0.3s;
}


h2 .i2 {
    animation: m 0.8s forwards;
    animation-delay: 0.4s;
}

h2 .c2 {
    animation: m 0.8s forwards;
    animation-delay: 0.5s;
}

h2 .o {
    animation: m 0.8s forwards;
    animation-delay: 0.6s;
}

h2 .works {
    animation: w 1s forwards ease-in-out;
    animation-delay: 1.0s;
}


@keyframes m {
    0% {
        margin-top: 0vw;
    }

    50% {
        margin-top: -5vw;
    }

    100% {
        margin-top: 0vw;
    }   
}


@keyframes w {
    50% {
       margin-top: -5vw;
    } 
}

/*  */

.mv-parent {
    position: relative;
    margin-bottom: 7vw;
}

.mv {
    position: absolute;
    left: -20vw;
    width: 5vw;
    height: 5vw;
    border-radius: 3vw;
    background-color: aqua;
    border: #000 solid 0.2vw;  
    animation: bound 1.5s forwards ease-out; 
    animation-delay: 1.2s;
}

@keyframes bound {
    0% { 
    margin-left: 90vw;
    margin-top: -20vw;
    transform: scale(0.5,0.5);}  

    20% { 
    margin-left: 90vw;
    margin-top: 10vw;
    transform: scale(0.8,0.8);}

    30% { 
    transform: scale(0.6,0.6);
    margin-left: 90vw;
    margin-top: -2vw;}

    50% { 
    transform: scale(1.0,1.0);
    margin-left: 90vw;
    margin-top: -2vw;}

    70% { 
    transform: scale(0.7,0.7);
    margin-left: 90vw;
    margin-top: -2vw;}

    100% { 
    transform: scale(1.2,1.2);
    margin-left: 90vw;
    margin-top: -2vw;}

}

.mv2 {
    position: absolute;
    left: -15vw;
    width: 3vw;
    height: 3vw;
    border-radius: 2vw;
    background-color: rgb(222, 147, 237);
    border: #000 solid 0.2vw;  
    animation: bound2 1.5s forwards ease-out; 
    animation-delay: 1.8s;
}


@keyframes bound2 {
    0% { 
    margin-left: 90vw;
    margin-top: -20vw;
    transform: scale(0.5,0.5);}  

    20% { 
    margin-left: 90vw;
    margin-top: 10vw;
    transform: scale(0.8,0.8);}

    30% { 
    transform: scale(0.6,0.6);
    margin-left: 90vw;
    margin-top: -1vw;}

    50% { 
    transform: scale(1.0,1.0);
    margin-left: 90vw;
    margin-top: -1vw;}

    70% { 
    transform: scale(0.7,0.7);
    margin-left: 90vw;
    margin-top: -1vw;}

    100% { 
    transform: scale(1.2,1.2);
    margin-left: 90vw;
    margin-top: -1vw;}

}




/* /////////////////////共通部分///////////////////// */

/* Illustrator&Photoshop共通　タイトル文字+黒罫線+ピンク網のタイトル */
h3 {
    position: relative;
    top: -3vw;
    width: 30vw;
    font-family: "Rammetto One", sans-serif;
    font-weight: 400;
    font-size: 3.5vw;
    text-align: center;
    line-height: 2;
    border-radius: 5vw;
    margin-left: auto;
    margin-right: auto;
    background: rgb(237, 179, 252);
    border: 0.2vw solid #000;   
}


/* タイトル下の見出し */
h4 {
    text-align: center;  
}


/* Illustrator&Photoshop共通　作品１段目　親要素 */
.works-parent1 {
    display: flex;
    width: 85%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 5vw;
    margin-top: 5vw;
}


/* Illustrator&Photoshop共通　作品１段目各要素 */
.works-parent1 .work-ch1 {
    width: 47%;   
}

.works-parent1 .work-ch1 div {    
    border: rgb(156, 154, 154) 0.1vw solid;
    border-radius: 1vw;
    overflow: hidden;
}

.works-parent1 .work-ch1:nth-of-type(1) {
    margin-right: 6%;
}

.works-parent1 .work-ch1 img {
    width: 100%;
    vertical-align: bottom;
    border-radius: 1vw;   
}

.works-parent1 .work-ch1:hover img {
    transition: 1s;
    transform: scale(1.2,1.2);
    opacity: 0.5;
    border-radius: 1vw;
}




/* Illustrator&Photoshop共通　作品2段目　親要素 */
.works-parent2 {
    display: flex;
    width: 85%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 3vw;    
}


/* Illustrator&Photoshop共通　作品2段目各要素 */
.works-parent2 .work-ch2 {
    width: 22%;
    border-radius: 0.5vw;
}

.works-parent2 .work-ch2 div {
    overflow: hidden;
    border-radius: 0.5vw;
    border: rgb(156, 154, 154) 0.1vw solid;
}

.works-parent2 .work-ch2:nth-of-type(2) {
    margin-right: 4%;
    margin-left: 4%;
}

.works-parent2 .work-ch2:nth-of-type(3) {
    margin-right: 4%;    
}

.works-parent2 .work-ch2 img {
    width: 100%;
    border-radius: 0.5vw;
    vertical-align: bottom;
}


.works-parent2 .work-ch2:hover img {
    transition: 0.5s;
    transform: scale(1.2,1.2);
    opacity: 0.5;
}



/* /////////////////////Illustrator///////////////////// */

/* Illustrator  背景にあたるところ　白まどスミ罫線 */
.works-Illustrator-container {
    height: 110vw;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 3vw;
    background-color: white;
    border: 0.2vw solid #000;
    margin-bottom: 10vw;
}

/* Illustrator中のテキスト */ 
.works-Illustrator-container small {
    font-size: 1.2vw;
    font-weight: 400;
    line-height: 3; 
    color: gray;
    border-bottom: 0.15vw solid red ;
}  

.works-Illustrator-container strong {
    font-size: 1.6vw;
    font-weight: 400;
    line-height: 2.5;
}  

.works-Illustrator-container  p {
    font-size: 1.2vw;
    line-height: 1.8;
    font-weight: 400;
    text-align: justify;
}  

.work-ch2 strong {
    font-size: 1.5vw;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* and MORE-Illustrator */

.works-Illustrator-container .andMORE-ill {
    width: 15vw;
    height: 3vw;
    border-radius: 3vw;
    margin-left: auto;
    margin-right: auto;
    border: #000 solid 0.15vw;
    background-color: rgb(170, 250, 250);
}

.works-Illustrator-container .andMORE-ill:hover {
    background-color: #000;
    transition: 1s;
}

.works-Illustrator-container .andMORE-ill  a {
    display: block;
    }

.works-Illustrator-container .andMORE-ill p {
    color: #000;
    text-align: center;
    font-size: 1.5vw;   
}

.works-Illustrator-container .andMORE-ill p:hover {
    color: rgb(170, 250, 250);
    font-size: 1.5vw;   
}


/* /////////////////////Photoshop///////////////////// */

/* Photoshop  背景にあたるところ　白まどスミ罫線 */
.works-Photoshop-container {
    height: 122vw;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 3vw;
    background-color: white;
    border: 0.2vw solid #000;
    margin-bottom: 8vw;
}


/* Photoshop中のテキスト */
.works-Photoshop-container small {
    font-size: 1.2vw;
    font-weight: 400;
    line-height: 3; 
    color: gray;
    border-bottom: 0.15vw solid red ;
}  

.works-Photoshop-container strong {
    font-size: 1.6vw;
    font-weight: 400;
    line-height: 2.5;
}  

.works-Photoshop-container  p {
    font-size: 1.2vw;
    line-height: 1.8;
    font-weight: 400;
    text-align: justify;
}  

.work-ch2 strong {
    font-size: 1.5vw;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* レタッチエリア */
h6 {
    position: relative;
    top: -3vw;
    font-family: "Lilita One", sans-serif;
    text-align: center;
    font-size: 4vw;
    font-weight: 400;
}

/* and MORE-Photoshop */

.works-Photoshop-container .andMORE-pho {
    width: 15vw;
    height: 3vw;
    border-radius: 3vw;
    margin-left: auto;
    margin-right: auto;
    border: #000 solid 0.15vw;
    background-color: rgb(170, 250, 250);
}

.works-Photoshop-container .andMORE-pho:hover {
    background-color: #000;
    transition: 1s;
}


.works-Photoshop-container .andMORE-pho  a {
    display: block;
    }

.works-Photoshop-container .andMORE-pho p {
    color: #000;
    text-align: center;
    font-size: 1.5vw;   
}

.works-Photoshop-container .andMORE-pho p:hover {
    color: rgb(170, 250, 250);
    transition: 1s; 
}






/* /////////////////////website///////////////////// */

/* website 背景にあたるところ　白まどスミ罫線 */
.works-website-container {
    height: 38vw;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: vw;
    border-radius: 3vw;
    background-color: white;
    border: 0.2vw solid #000;
    margin-bottom: 5vw;
}


/* website中のテキスト */

h5 {
    width: 82%;
    margin-bottom: 3vw;
    font-size: 1.5vw;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.works-website-container small {
    font-size: 1.2vw;
    font-weight: 400;
    line-height: 3; 
    color: gray;
    border-bottom: 0.15vw solid red ;
}  

.works-website-container strong {
    font-size: 1.6vw;
    font-weight: 400;
    line-height: 2.5;
}  

.works-website-container  p {
    font-size: 1.2vw;
    line-height: 1.8;
    font-weight: 400;
    text-align: justify;
}  

.work-ch2 strong {
    font-size: 1.5vw;
    line-height: 1.5;
    white-space: pre-wrap;
}




/* /////////////////////メールアドレススライド表示///////////////////// */

.works-container2 {
    width: 100%;
}

.works-container2 {
    width: 100%;    
    background-color: aqua;
    border: 0.2vw solid #000;
    color: #000;
    border-radius: 4vw;
    font-size: 2.5vw;   
    text-align: center;
    animation: line-box 5s infinite;
}

@keyframes line-box {
    0% {

         
    }
    100% {
        margin-left: 1000px;   
    }
}



/* /////////////////////作品部分-Others///////////////////// */

/* 全体を囲う枠 */
.slide-parent {
    position: relative;

}


/* 回転する〇の中に文字 camera */
.slide-parent .cilcle01 {
    position: absolute;
    top: 15vw;
    left: 15vw;
    width: 11vw;
    height: 11vw;
    border-radius: 7vw;
    background-color: #000;
}

.slide-parent .cilcle01 p {
    font-size: 2vw;
    text-align: center;
    color: white;
    line-height: 5.5;
    animation: camera 1.5s infinite;
    z-index: 10000;
}

@keyframes camera {
    0% {transform: rotate(0);}
    100% {transform: rotate(360deg);}
}

/* 回転する〇の中に文字 After Effects */

.slide-parent .cilcle02 {
    position: absolute;
    top: 55vw;
    right: 15vw;   
    width: 13vw;
    height: 13vw;
    border-radius: 9vw;
    background-color: #000;
}


.slide-parent .cilcle02 p {
    font-size: 2vw;
    text-align: center;
    color: white;
    line-height: 1.3;
    padding-top: 4.0vw;
    letter-spacing: 0.1em;
    white-space: pre-wrap;
    animation: Effects 1.5s infinite;
}

@keyframes Effects {
    0% {transform: rotate(0);}
    100% {transform: rotate(-360deg);}
}


/* Othersの枠 */
.slide-container {
  margin: 0 auto;
  width: 50%;
  margin-top: 8vw;
  background-color: white; 
  border: #000 0.2vw solid;
  border-radius: 1.5vw;
}

/* Othersのタイトル */
.slide-container h3 {
    position: relative;
    top: -6vw;
    width: 30vw;
    font-weight: 400;
    font-size: 3.5vw;
    text-align: center;
    line-height: 2;
    border-radius: 5vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4vw;
    background: rgb(237, 179, 252);
    border: 0.2vw solid #000;  
}


.slide-container p {
    text-align: center;
    padding-top: 1vw;
    padding-bottom: 1vw;
    margin-top: -2vw;
    background-color: rgb(158, 241, 241);

}

.single-item {
    margin-top: 0vw;
}


.slide-container img {
    width: 100%;
    vertical-align: bottom;     
}

/* /////////////////////video表示///////////////////// */

/* 全体を囲う枠 */
.video {
  width: 50%;
  margin-top: 2vw;
  margin-left: auto;
  margin-right: auto; 
  background-color: white; 
  border: #000 0.2vw solid;
  border-radius: 1.5vw;
}

video {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto; 
}


video div img {
    width: 100%;
}

audio {
    width: 100%;
}



/* /////////////////////portfolio表示///////////////////// */

.portfolio {
    width: 80%;
    height: 25vw;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 13vw;
    margin-bottom: vw;
}


/* portfolio左 */
.portfolio-left {  
    width: 40%;
}

.portfolio-left div {
    width: 65%;
    border-radius: 20vw;
}

.portfolio-left div img {
    width: 100%;
    border: #000 0.2vw solid;
    border-radius: 20vw;
}

/* portfolio右 */
.portfolio-right {
    width: 60%;
}

.portfolio-right strong {
    line-height: 3vw;
    border-bottom: 0.15vw solid red ;
}

.portfolio-right p {    
    font-size: 1.4vw;
    line-height: 2.0;
    padding-top: 2vw;
    text-align: justify;
}


.line {
    width: 100%;
    font-size: 1.5vw;
    text-align: center;
    line-height: 3vw;
    border: #000 0.15vw solid;
    margin-bottom: 8vw;
    letter-spacing: 0.1em;
}

.line span {
    font-weight: 500;
}


/* /////////////////////footer表示///////////////////// */

footer {
    width: 100%;
    height: 23vw;
    font-size: 1.5vw;
    text-align: center;
    color: black;
    background-color: white;
}


/* お問い合わせボタン */
footer input {
    width: 15vw;
    height: 4vw;
    font-size: 1.5vw;
    background-color: #000;
    color: white;
    margin-bottom: 3vw;
    margin-top: 5vw;
    border-radius: 2vw;
}

footer p span {
    display: block;
    font-weight: 700;
}
/* -----------↓インライン要素であるspanタグはdisplay: block;にする。 */
