body{
    background-color: #000000;
    overflow-x: hidden;
    width: 100%;
    height: 100vh;
}
.haikei:before{
    content: "";
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-image: url(../Pictures/Background/Background-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
}
.vertical{
    animation-name:fadeInAnime;
    animation-duration:2s;
    animation-fill-mode:forwards;
    opacity:0;
    scrollbar-width: none;
    width: 100%;
    height: 100vh;
}
header{
    padding-top: 1vh;
    margin-left: 0.4rem;
    margin-bottom: 1.5rem;
}
a{
    color: #fff;
    text-decoration-thickness: 1px;
    display: inline-block;
    transition: .3s;
    -webkit-transform: scale(1);
    transform: scale(1);
    text-shadow: 5px 5px 7px #000000;
}
a:hover{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.logo_pc{
    display: none;
}
.logo_sp{
    filter: drop-shadow(5px 5px 7px #000);
    display: block;
    width: 11rem;
    height: auto;
}
.subtitle{
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}
h1{
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.6rem,4vw,5rem);
    font-weight: normal;
    letter-spacing: 2.0vw;
    text-shadow: 5px 5px 7px #000000;
    text-indent: 1.9vw;
}
form{
    margin: auto;
    margin-bottom: 3rem;
    width: 55%;
}
.field{
    text-align: center;
    width: 100%;
}
.label{
    color: #fff;
    display: block;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem,2.2vw,3rem);
    margin-bottom: 1vh;
    text-shadow: 5px 5px 7px #000000;
}
.inputfield {
    background-color: white;
    writing-mode: initial;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 0.2em;
    padding: 0.3em;
    background-color: rgb(255, 255, 255);
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem,2.2vw,3rem);
    width: 100%;
    margin-bottom: 2.5rem;
}
.inputfield:focus{
    background-color: rgb(252, 252, 225);
    outline: none;
}
.m_inputfield {
    background-color: white;
    writing-mode: initial;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 0.2em;
    padding: 0.3em;
    background-color: rgb(255, 255, 255);
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem,2.2vw,3rem);
    width: 100%;
    height: 22vw;
    margin-bottom: 7vh;
    resize: none;
}
.m_inputfield:focus{
    background-color: rgb(252, 252, 225);
    outline: none; 
}
.button {
    background-color: white;
    writing-mode: initial;
    transform-origin: top left;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 0.2em;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem,2.2vw,3rem);
    width: 8rem;
    height: 2rem;
}
.back{
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem,2.2vw,3rem);
    letter-spacing: 0.5vw;
    text-align: center;
    min-height: 10vh;
    text-shadow: 5px 5px 7px #000000;
}
small{
    color: #fff;
    position: fixed;
    left: 0;
    bottom: 0;
    text-shadow: 5px 5px 7px #000000;
    font-size: 1.5vw;
}
@keyframes fadeInAnime{
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
}  

@media screen and (min-width:750px)  {
    header{
        padding-top: 1vh;
        margin-left: 0.4rem;
        margin-bottom: 3.5rem;
    }
    .subtitle{
        margin-bottom: 3.5rem;
        text-align: center;
        width: 100%;
    }
    .inputfield {
        background-color: white;
        writing-mode: initial;
        border: 1px solid rgb(0, 0, 0);
        border-radius: 0.2em;
        padding: 0.3em;
        background-color: rgb(255, 255, 255);
        font-family: 'Noto Serif JP', serif;
        font-size: clamp(1rem,2.2vw,3rem);
        width: 100%;
        margin-bottom: 4.5rem;
    }
}

/*PC用*/
@media screen and (min-width:1024px)  {
    body{
        overflow-x: hidden;
    }
    .vertical{
        animation-name:fadeInAnime;
        animation-duration:2s;
        animation-fill-mode:forwards;
        opacity:0;
        display: flex;
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
        width: 100%;
        min-height: 100vh;
    }
    header{
        padding: unset;
        margin-top: 7.5vh;
        margin-left: unset;
        margin-right: 5vw;
        margin-bottom: unset;
        width: unset;
    }
    a{
        text-decoration: none;
        display: inline-block;
        transition: .3s;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    a:hover{
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    .logo_pc{
        filter: drop-shadow(5px 5px 7px #000);
        display: block;
        width: 6rem;
        height: auto;
    }
    .logo_sp{
        display: none;
    }
    .subtitle{
        text-align: left;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-right: 4.5vw;
        margin-top: 15vh;
        min-height: 70vh;
        width: initial;
    }
    h1{
        font-size: 2.5rem;
        letter-spacing: 2.5rem;
    }
    form{
        font-size: 1.5vw;
        margin-bottom: auto;
        width: 30rem;
    }
    .field{
        text-align: center;
        width: 100%;
    }
    .label{
        display: block;
        font-family: 'Noto Serif JP', serif;
        font-size: 1.0rem;
        margin-bottom: 1vh;
    }
    .inputfield {
        background-color: white;
        writing-mode: initial;
        border: 1px solid rgb(0, 0, 0);
        border-radius: 0.2em;
        padding: 0.3em;
        background-color: white;
        font-family: 'Noto Serif JP', serif;
        font-size: 1.0rem;
    
        width: 100%;
        margin-bottom: 10vh;
    }
    .m_inputfield {
        background-color: white;
        writing-mode: initial;
        border: 1px solid rgb(0, 0, 0);
        border-radius: 0.2em;
        padding: 0.3em;
        background-color: white;
        font-family: 'Noto Serif JP', serif;
        font-size: 1.0rem;
    
        width: 100%;
        height: 15vh;
        margin-bottom: 10vh;
    }
    .button {
        background-color: white;
        writing-mode: initial;
        transform-origin: top left;
        border: 1px solid rgb(0, 0, 0);
        border-radius: 0.2em;
        font-family: 'Noto Serif JP', serif;
        font-size: 1.0rem;
        width: 8rem;
        height: 2rem;
    }
    .back{
        font-family: 'Noto Serif JP', serif;
        font-size: 1.0rem;
        letter-spacing: 0.5vw;
        margin-bottom: 4.5rem;
        margin-right: 11vw;
        margin-left: 6vw;
        text-align: right;
        writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        min-height: 80vh;
    }
    small{
        position: absolute;
        left: 0;
        bottom: 0;
        font-size: 0.8rem;
    }
    @keyframes fadeInAnime{
        from {
          opacity: 0;
        }
      
        to {
          opacity: 1;
        }
    }  
}