html{
    scroll-behavior: smooth;
}

body{
    background-color: rgba(157, 252, 157, 0.349);
}

.mamu{
    border-bottom: solid 1px ;
    display: flex;
    width:800px;
    margin: 1px;  
    color: black;
    position: absolute;
    position: fixed;
}
.mamu:hover{
    background-color: rgba(185, 185, 185, 0.308);
}
.url{
    text-decoration:none;
}
.mamu1{
    font-size: 4.5em;
    font-weight: bold;
    margin-right: 10px;
    margin-left: 10px;
}

.mamu2{
    font-weight: bolder;
    font-size: 1.5em;
    margin-left: 10px;
}

.yohaku{
    height: 130px;
}

.main{
    margin: 30px;
    border-right:solid 4px;
    margin-right: 150px;
    padding-right: 1em;
}

.ev{
    background-color: rgba(133, 228, 175, 0.432);
    margin-right: 1em;
}

.kaisaibi{
    font-size: small
}


.yazi{
    list-style: url(yazi.png);
    margin-right: 10px;
    padding-bottom: 2em;
}

.title1{
    text-align: center;
    background-color: black;
    color: aliceblue;
}

.title1 span{
    color: rgb(245, 248, 35);
}

.sikaku{
    list-style-type: square;
}

.osi{
    font-size: large;
    font-family: 'Courier New', Courier, monospace;
}

.shosai{
    display: flex;
    font-size: 1.1em;
}

.nyukan{
    font: 1.1em sans-serif;
}

.picbox{
    border: solid;
    background-image: url(sabaku.png);
    background-size: cover;
}
.pic {
    /*背景の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display: inline-block;
    width:100%;
    max-width: 400px;
    height: 225px;
    line-height: 225px;
    outline: none;
    border: solid 1px;
    margin:30px;
}

.pic img{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    
    transition: 1s;
}
/*前回作品*/
.rotatefront img:nth-child(1){
    transform: rotateX(0deg);
    transform-origin: 0 50% 113px;
}
.rotatefront:hover img:nth-child(1){
    transform: rotateX(90deg);
}

.rotatefront img:nth-child(2){
    transform: rotateX(90deg);
    

    transform-origin: 0 50% -113px;
}

.rotatefront:hover img:nth-child(2){
    transform: rotateX(0deg);
    
}
/*作品１*/
.sakuhin1 img:nth-child(1){
    transform: scaleX(0%);
    transform-origin: 0%;
}
.sakuhin1:hover img:nth-child(1){
    transform: scaleX(100%);
}

.sakuhin1 img:nth-child(2){
    transform: scaleX(100%);
    

    transform-origin: 100%;
}

.sakuhin1:hover img:nth-child(2){
    transform: scaleX(0%);
    
}
/*作品2*/
.sakuhin2 img:nth-child(1){
    transform: scale(1) translate(0%, 0%);
}
.sakuhin2:hover img:nth-child(1){
    transform: scale(0) translate(-500%, -500%);
}

.sakuhin2 img:nth-child(2){
    transform: scale(0) translate(500%, 500%);
}

.sakuhin2:hover img:nth-child(2){
    transform: scale(1) translate(0%, 0%);
    
}

/*作品3*/
.sakuhin3 img:nth-child(1){
    transform: scale(1) translate(0%, 0%) rotateX(720deg);
}
.sakuhin3:hover img:nth-child(1){
    transform: scale(0) translate(0%, -1000%) rotateX(-720deg);
}

.sakuhin3 img:nth-child(2){
    transform: scale(0) translate(0%, 1000%) rotateX(-720deg);
}

.sakuhin3:hover img:nth-child(2){
    transform: scale(1) translate(0%, 0%) rotateX(720deg);
}
