@charset "UTF-8";

/* ===================================================================
CSS Document
file name  :book02.css <- book02.scss
style info : 書籍のご紹介 Style
=================================================================== */
.sec h2 {
  text-align: center;
}

.inline {
  display: inline-block;
}

@media all and (max-width: 480px) {
  .bread-c {
    margin: -16% auto 0;
    color: #999;
    padding: 0 3% 9px;
    position: relative;
    font-size: 1.2rem;
  }

  .bread-c a {
    color: #999;
  }

  header h1 {
    padding: 0 0 37%;
    position: relative;
  }

  header h1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 170%;
    margin: 0 -31%;
    max-width: initial;
  }

  .inner {
    margin: 20px auto 0;
    padding: 0 5%;
  }

  .inner h2 {
    margin: 0 0 5px;
  }

  .inner h3 {
    text-align: center;
    margin: -15px 0 13px 0;
  }

  .inner h3 img {
    height: 22px;
  }

  .inner h4 {
    font-size: 1.8rem;
    font-weight: bold;
  }

  /* Section01 */
  .sec01 {
    margin: 35px 0 60px;
  }

  .sec01 img {
    margin: 0 0 10px;
  }

  .sec01 a img {
    height: 60px;
  }

  .sec01 .txt {
    font-size: 1.7rem;
    margin: 5px 0 10px 0;
  }

  .sec01 .l {
    text-align: center;
    padding: 0 0 20px 0;
  }

  .sec01 .l img {
    margin: 0;
  }

  .sec01 .r {
    padding: 0 6%;
  }

  .sec01 .r p:first-of-type {
    text-align: center;
  }

  .sec01 .r p img {
    height: 80px;
  }

  .sec01 .buy {
    text-align: center;
  }

  .sec01 .buy a {
    display: inline-block;
    padding: 10px 20px;
  }

  .sec01 .dl01 dl {
    font-size: 1.5rem;
    margin: 0 0 20px;
  }

  .sec01 .dl01+p {
    text-align: center;
  }

  .sec01 .l p {
    margin: 0 0 16px;
    box-shadow: 5px 5px 10px #0000003b;
  }

  .sec01 dt,
  .sec01 dd {
    display: inline-block;
    vertical-align: top;
  }

  .sec01 dt {
    width: 66px;
  }

  .sec .dl01 dd {
    width: calc(100% - 79px);
  }

  /* Section02 */
  .sec02 .txt01 {
    font-size: 1.5rem;
    margin: 10px 0 30px 0;
  }

  .sec02 .dl02 dl {
    font-size: 1.5rem;
    margin: 0 0 15px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .sec02 .dl02 dt {
    flex: 0 0 2em;
  }

  .sec02 .dl02 dd {
    margin-left: 1em;
  }

  .book__link {
    line-height: 2.1;
    margin: 0 0 32px;
    padding: 0 5%;
  }

  .book__link a {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 18px 20px 5px;
    border: #CCC 2px solid;
    text-align: center;
    color: #000;
  }

  .book__link img {
    width: 100%;
    height: auto;
    max-width: 202px;
  }
}

@media all and (min-width: 481px) {
  .bread-c {
    width: 1308px;
    margin: -50px auto 0;
    color: #999;
    padding: 0 0 25px;
    position: relative;
  }

  .bread-c a {
    color: #999;
  }

  header h1 {
    height: 260px;
  }

  .inner {
    width: 770px;
    margin: 20px auto 65px;
    overflow: hidden;
  }

  .inner h2 {
    margin: 0 0 15px;
  }

  .inner h2 img {
    margin: 0 0 5px;
  }

  .inner h2 img:nth-of-type(1) {
    /*margin: 0 0 -27px -57px; 書籍プレゼント*/
    margin: 0;
    position: relative;
  }

  .inner h3 {
    text-align: center;
    margin: 0 0 18px;
  }

  .inner h4 {
    font-size: 2.4rem;
    font-weight: bold;
  }

  /* Section01 */
  .sec01 {
    margin: 70px 0 50px 0;
  }

  .sec01 img {
    margin: 0 0 16px;
  }

  .sec01 h2 {
    position: relative;
  }

  .sec01 .present {
    position: absolute;
    top: 0;
    right: 0;
  }

  .sec01 .txt {
    font-size: 2rem;
    margin: 3px 0 16px;
  }

  .sec01 .l {
    width: 320px;
    float: left;
    margin: 0 0 0 4px;
  }

  .sec01 .l p {
    margin: 0 0 16px;
    box-shadow: 5px 5px 10px #0000003b;
  }

  .sec01 .l img {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .sec01 .r {
    width: 420px;
    float: right;
    margin: 30px -22px 0 0;
  }

  .sec01 .buy {
    text-align: center;
  }

  .sec01 .buy a {
    display: inline-block;
    padding: 10px 20px;
  }

  .sec01 .dl01 dl {
    font-size: 2rem;
    margin: 0 0 24px;
  }

  .sec01 .dl01 dt {
    float: left;
  }

  .sec .dl01 dd {
    margin: 2px 0 0 87px;
  }

  /* Section02 */
  .sec02 .inner {
    max-width: 660px;
  }
  .sec02 .txt01 {
    font-size: 2rem;
    line-height: 1.9;
    margin: 10px 0 20px 0;
  }

  .sec02 .dl02 {
    margin-top: 50px;
  }

  .sec02 .dl02 dl {
    font-size: 2rem;
    margin: 0 0 24px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }


  .sec02 .dl02 dd {
    margin-left: 1em;
  }

  .book__link {
    line-height: 2.1;
    margin: 0 0 32px;
  }

  .book__link a {
    display: block;
    width: 320px;
    margin: 0 auto;
    padding: 18px 0 5px;
    border: #CCC 2px solid;
    text-align: center;
    color: #000;
  }
}