@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');

body{
    background-color: black;
    font-family: 'Shippori Mincho', serif;
}

/*
* {
  border: 1px solid red;
}
*/

*{
    font-family: serif;
}

h1{
    margin: 0;
}

body{
    margin:0 auto;
}

.pad{
    height: 20px
}

.all{
    position:relative;
    margin: 0 auto;
    width:1000px;
    height: 800px;
}

.all > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contents{
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
    padding:0;
    margin:0;
    height: 600px;
    width: 80%;

    display: flex;
}

.text{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding-bottom: 5%;
}

.text > h1{
    text-align: center;
}


.text > .sentence{
    padding-left: 3%;

    margin: 0 auto;
    width:81%;
}

.image{
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image > img{
    padding-right: 2%;
    width: 80%;
    height: 90%;
    object-fit: cover;
    opacity: 0.77;
}

.grar,.grat,.gral,.grab{
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
}
.grar{
    background: linear-gradient(to left, rgba(0,0,0,0.2), rgba(0,0,0,0) 40%);
}
.gral{
    background: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0) 8%);
}
.grat{
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0) 30%);
}
.grab{
    background: linear-gradient(to top,rgba(0,0,0,0.15),rgba(0,0,0,0) 30%);
}

/*戻るボタン*/
.btn{
    position: absolute;
    top: 95%;
    left:8%;
    transform: translate(-50%,-50%);
}
.btn > a{
    text-decoration: none;
    color: rgba(255,255,255,0.4);
    font-size: 1.5em;
}
.btn > a:hover{
    color: rgba(255,255,255,0.7);
}