@charset "UTF-8";

/*基本設定*/
body {
    font-family: "游明朝", "YuMincho", "Yu Mincho", serif;
    background-image: url("../img/21.png"),
                      url("../img/20.png"),
                      url("../img/20.png");
    background-position: top -13vw right 25vw,
                         top -50px left 0px,
                         top -50px right 0px;
    background-repeat: no-repeat,
                       no-repeat,
                       no-repeat;
    background-attachment: scroll,
                           fixed,
                           fixed;
    background-size: 50%,
                     6%,
                     6%;
    background-color: #fff;
}
@media (max-width:600px){
    body {
        background-position: top -10px right 90px,
        top -50px left 0px,
        top -50px right 0px;
        background-size: 55%,7%,7%;

    }
}

h1 {
    font-size: 105px;
    text-align: center;
    vertical-align: text-top;
    margin-top: -1.88rem;
}
@media (max-width:600px){
    h1 {
        font-size: 4rem;
        margin-top: 0;
    }
}

h2 {
    display: flex;
    justify-content: space-between;
    font-size: 60px;
}
@media (max-width:600px){
    h2 {
        font-size: 1.5rem;
    }
}

img {
    object-fit: cover;
}
.backtotop,
.gotoself-intro {
    letter-spacing: 5rem;
}

.backtotop {
    margin: 120px 0 0 50px;
}
@media (max-width:600px){
    .backtotop {
        letter-spacing: 1rem;
        margin: 0 0 0 5px;
    }
}

.gotoself-intro {
    margin: 120px 50px 0 0;
}
@media (max-width:600px){
    .gotoself-intro {
        letter-spacing: 1rem;
        margin: 0;
    }
}

a {
    text-decoration: none;
}

a:link {
    color: #000;
}

a:visited {
    color: #993300;
}

a:hover {
    color: #DDD;
}

a:active {
    color: #993300;
}

#menu {
    display: flex;
    justify-content: space-between;
}

main {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    width: 980px;
    margin: 150px auto 0;
}
@media (max-width:600px){
    main {
        display: block;
        padding: 0 15vw 0;
    }
}

section {
    width: 300px;
    margin-bottom: 40px;
    margin-right: 20px;
}
/*モーダル*/
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 2px solid #b4b1a0;
    color: #4c4833;
    width: 300px;
    height: 80px;
    box-sizing: border-box;
    text-decoration: none;
    transition-duration: 0.3s;
  }
  @media (max-width:600px){
      .btn {
        width: 70vw;
        height: 20vw;
        font-size: 0.8rem;
      }
}

  .btn:hover {
    background: #b4b1a0;
    color: #ffffff;
  }
  .remodal {
    position: relative;
    padding: 25px;
  }
  .remodal img {
    width: 100%;
    height: auto;
    vertical-align: top;
  }
  .remodal-cancel {
    color: #fff;
    background: #000000;
    width: 100%;
    margin-top: 25px;
  }
  .remodal-cancel:hover {
    background: #333;
  }

  .modal_contentsIn {
    padding: 15px;
  }

  .modal_contentsIn p {
      font-size: 1.4rem;
      margin-bottom: 25px;
      text-align: left;
  }
  @media (max-width:600px){
    .modal_contentsIn p {
        font-size: 0.9rem;
    }
  }

  .modal_contentsIn span {
      font-size: 1rem;
  }
  @media (max-width:600px){
    .modal_contentsIn span {
        font-size: 0.7rem;
    }
  }
