header.header {
  background-image: url(../img/hune.jpg);
  height: 800px;
  background-size: cover;
  border-bottom-right-radius: 1000px 100px;
  border-bottom-left-radius: 1000px 100px;
  margin-bottom: 110px;
  position: relative;
}

.wrap {
  max-width: 1024px;
  height: 100%;
  margin: auto;
  padding: 0 25px;
}

a {
  text-decoration: none;
  color: black;
}

.aimg img:hover {
  opacity: 0.6;
}

header.header a {
  font-size: 40px;
  text-shadow: 3px 2px 5px white;
}

header.header h1 {
  position: absolute;
  top: 50px;
  left: 45px;
}

.sentence {
  position: absolute;
  bottom: 190px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  color: white;
  text-align: center;
  font-size: 28px;
  text-shadow: 1px 3px 1px black;
  margin:2em 0;
  padding: 0.5em 1.5em;
  border-top: solid 2px white;
  border-bottom: solid 2px white;
}

.sentence:before, .sentence:after{
  content: '';
  position: absolute;
  top: -10px;
  width: 2px;
  height: -webkit-calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: white;
}

.sentence:before {
  left: 10px;
}

.sentence:after {
  right: 10px;
}

.sentence div.pc {
    width: 13.15em;
}

.sentence p {
  margin: 0;
  padding: 0;
}

.flex {
  display: flex;
  margin-bottom: 250px;
}

.aimg {
  width: 42%;
}

.aimg img {
  width: 100%;
}

.p {
  width: 58%;
  box-sizing: border-box;
  padding: 0 32px;
}

.p h1 {
  text-align: center;
  font-size: 26px;
  margin-top: 16px;
  margin-bottom: 30px;
}

.p p {
  line-height: 1.6em;
}

.flex:nth-last-child(1) {
  margin-bottom: 120px;
}

footer.footer {
  background-color: #673ab7;
  padding: 36px 0 0 0px;
}

footer.footer p {
  text-align: center;
  padding: 12px 0;
  color: white;
}

footer.footer ul {
  display: flex;
  margin: 30px 0;
}

footer.footer li {
  width: calc(100% / 3);
  color: white;
  text-align: center;
  font-size: 20px;
}

footer.footer h1 {
  font-size: 24px;
  color: white;
}

footer.footer a {
  color: white;
}

.mobli {
  display: none;
}





@media screen and (max-width: 960px){

  header.header {
      background-position: 55%;
  }

  header.header h1 {
    left: 35px;
  }

  .p {
    padding: 0 0 0 30px;
  }

  .second .p {
    padding: 0 30px 0 0;
  }


}



@media screen and (max-width: 680px){

  .pc {
    display: none;
  }

  header.header {
      height: 500px;
      background-position: 60%;
  }

  .sentence {
      bottom: 32px;
  }

  header.header h1 {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    width: 13em;
    text-align: center;
  }

  header.header a {
    font-size: 32px;
  }

  .mobli {
    display: block;
  }

  .sentence div.mobli {
    width: 7.15em;
  }

  .aimg {
      width: 50%;
  }

  h1 {
      width: 50%;
      text-align: center;
      line-height: 1.25em;
      font-size: 22px;
  }

  .flex {
      margin: 0 0px 30px 0;
  }

  .p {
      width: 100%;
      padding: 0;
  }

  .second .p {
      padding: 0;
  }

  .wrap {
      padding: 0 1em;
  }

  footer.footer h1 {
    width: 4em;
    margin-left: 10px;
}

.mobli > div {
    margin-bottom: 200px;
}

.mobli > div:nth-last-child(1) {
    margin-bottom: 3em;
}

}




@media screen and (max-width: 350px){

  footer.footer li {
      font-size: 18px;
  }

  footer.footer ul {
      margin: 1.4em 0 1em 0;
  }

  footer.footer h1 {
      margin-left: 4px;
  }

  footer.footer {
      padding-top: 1.25em;
  }

}
