@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}


h1 {
    width: 20%; 
    margin-left: 5%;
    margin-top: 2vw;
}

h1 a {
    display: block;
    text-decoration: none;
    color: #101010;
    font-size: 3vw;
    font-weight: 100;
}


h1 a .one .one-risuto {
    list-style-type: none;
}


main {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none;
    color: #808080;
    transition: 1s;
}

h2 {
    margin-top: 10vw;   
    font-size: 3vw;
    font-weight: 100;
}

a:hover {
    color: #101010;
    transition: 1s;
}

span {
    margin-left: 1vw;
    font-size: 2vw;
}

.mainweb {
    width: 100%;
    margin-top: 5vw;
}

.mainweb img {
    width: 100%;
}

.img-wrap {
    overflow: hidden;
    position: relative;
  }
  
  .img-wrap::before,
  .img-wrap::after {
    animation: 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: #fff;
    content: '';
    pointer-events: none;
    position: absolute;
    z-index: 1;
  }
  
  .img-wrap::before {
    animation-name: img-wrap-before;
    inset: 0 0 50%;
  }
  
  .img-wrap::after {
    animation-name: img-wrap-after;
    inset: 50% 0 0;
  }
  
  @keyframes img-wrap-before {
    100% {
      transform: translateX(100%);
    }
  }
  
  @keyframes img-wrap-after {
    100% {
      transform: translateX(-100%);
    }
  }

.setumei {
    display: flex;
    margin-top: 2vw;
}

.setumei li {
    list-style-type: none;
    width: 20%;
    font-size: 2vw;
}

.setumei p {
    width: 80%;
    font-size: 2vw;
}

.kotoba {
    margin-top: 5vw;
}

.kotoba p {
    font-size: 2vw;
    line-height: 1.7;
    text-align: justify;
}

.kokokara {
    width: 10%;
    margin-top: 5vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5vw;
}

.kokokara a {
    padding: 5%;
    display: block;
    text-align: center;
    border-radius: 35px;
    color: #101010;
    border: 1px solid #101010;
    transition: 1s;
    background-color: rgba(0,0,0,0.5);
    font-size: 1.5vw;
}

.kokokara a:hover {
    background-color: rgba(0,0,0,0.2);
    color: #a9a9a9;
    border: 1px solid #101010;
}

footer p {
    font-size: 1vw;
    color: #000;
    text-align: center;
}