/* 適用先：/dokusho/kakikata/index.html */

@charset "UTF-8";

/*
========================================================
上書き
========================================================
*/
@media (min-width: 741px) {
  /* PC */
  #main .rbox1 {
    width: 480px;
    margin: 20px 0 0 0;
  }
}

@media (max-width: 740px) {
  /* SP */
  #main .rbox1 {
    margin: 20px auto 0 auto;
  }
}

/*
========================================================
読書感想文：書き方
追加CSS
========================================================
*/
@media (min-width: 741px) {
  /* PC */
  .sp{
    display: none;
  }
  .dokusho__pdf-area{
    padding: 30px 0 25px;
    background-color: #FFAE46;
    border-radius: 10px;
  }
  .dokusho__pdf-img{
    max-width: 200px;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .dokusho__txt{
    font-size: 20px;
    text-align: center;
    color: #FFF;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 20px;
  }
  .dokusho__button{
    margin: 0 auto;
    width: 400px;
    height: 40px;
    background-color: #FFF;
    border-radius: 8px;
    -webkit-box-shadow: 4px 6px rgba(0,0,0,0.1);
            box-shadow: 4px 6px rgba(0,0,0,0.1);
  }
  .dokusho__button-txt{
    font-size: 20px;
    text-align: center;
    color: #FF9000 !important;
    font-weight: 600;
    line-height: 36px;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
  }
  .dokusho__button-txt::after{
    content: "";
    background-image: url(/dokusho/kakikata/_assets/img/210716/arrow-orange.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 25%;
  }
  .dokusho__button-txt:hover{
    text-decoration: none !important;
    opacity: 0.7;
  }
}

@media (max-width: 740px) {
  /* SP */
  .pc{
    display: none;
  }
  .dokusho__pdf-area{
    padding: 18px 0 15px;
    margin-bottom: 20px;
    background-color: #FFAE46;
    border-radius: 10px;
  }
  .dokusho__pdf-img{
    max-width: 221px;
    display: block;
    margin: 0 auto;
    margin-bottom: 15px;
  }
  .dokusho__txt{
    font-size: 20px;
    text-align: center;
    color: #FFF;
    font-weight: 600;
    line-height: 29px;
    margin-bottom: 25px;
  }
  .dokusho__button{
    display: block;
    margin: 0 auto 20px;
    width: 290px;
    height: 40px;
    background-color: #FFF;
    border-radius: 8px;
    -webkit-box-shadow: 4px 6px rgba(0,0,0,0.1);
            box-shadow: 4px 6px rgba(0,0,0,0.1);
  }
  .dokusho__button-txt{
    font-size: 16px;
    text-align: center;
    color: #FF9000 !important;
    font-weight: 600;
    line-height: 29px;
    height: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
  }
  .dokusho__button-txt::after{
    content: "";
    background-image: url(/dokusho/kakikata/_assets/img/210716/arrow-orange.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 0;
    bottom: 25%;
  }
  .dokusho__button-txt:hover{
    text-decoration: none !important;
    opacity: 0.7;
  }
}
