@charset "UTF-8";

.p-present__inner {
  margin: 0 auto;
}
.p-present__book,
.p-present__book__sample{
  display: flex;
}
.p-present__book__btn {
  display: block;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
.p-present__book__btn:hover {
  opacity: 0.5;
}
@media screen and (min-width: 960px) {
  .p-present {
    padding: 57px 0 0;
  }  
  .p-present__inner {
    width: 89.58333333333334%;
    max-width: 844px;
  }
  .p-present__hdg {
    margin-bottom: 40px;
  }
  .p-present__book {
    justify-content: space-between;
  }
  .p-present__book__sample{
    justify-content: space-between;
    width: 570px;
    column-gap: 6px;
  }
  .p-present__book__sample__img:nth-of-type(1){
    width: 191px;
  }
  .p-present__book__sample__img:nth-of-type(2){
    width: 377px;
  }
  .p-present__book__sample__text{
    width: 255px;
  }
  .p-present__book__sample__text h3{
    margin-bottom: 1em;
  }
  .p-present__book__sample__text h3 + p{
    letter-spacing: normal;
    text-align: justify;
    font-size: 16px;
    line-height: 1.6;
  }
  .p-present__book__btn {
    width: 96%;
    margin-top: 28px;
    margin-left: 2px;
  }
}
@media screen and (max-width: 959px) {
  .p-present {
    padding: 10.769vw 0 0;
  }  
  .p-present__inner {
    width: 86%;
  }
  .p-present__hdg {
    margin-bottom: 6.667vw;
  }
  .p-present__book {
    flex-direction: column;
    align-items: center;
  }
  .p-present__book__sample{
    flex-direction: column;
    align-items: center;
  }
  .p-present__book__sample__img:nth-of-type(1){
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    column-gap: 7.949vw;
    margin-bottom: 4.615vw;
  }
  .p-present__book__sample__img:nth-of-type(1) figcaption{
    width: 13.59vw;
  }
  .p-present__book__sample__img:nth-of-type(1) picture{
    width: 57.179vw;
  }
  .p-present__book__sample__text{
    margin-top: 6.154vw;
  }
  .p-present__book__sample__text h3{
    width: 65.128vw;
    margin-bottom: 2.051vw;
  }
  .p-present__book__sample__text h3 + p {
    font-size: 1.4rem;
    letter-spacing: 0.03em;
    text-align: justify;
    line-height: 1.55;
  }
  .p-present__book__btn {
    width: 97%;
  }
}
@media screen and (min-width: 501px) and (max-width: 959px) {
  .p-present__book__btn {
    margin: 4.615vw auto 4.615vw;
  }
}
@media screen and (max-width: 500px) {
  .p-present__book__btn {
    margin: 4.615vw auto 0px;
  }
}
