/* =========================================================
   philosophy.css
   思想・哲学ページ専用CSS
   ========================================================= */


/* ===== 論文ページ本体 ===== */

.paper{
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.paper-header{
  margin: 28px 0 18px;
}

.paper-page-title{
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 700;
  color: #111;
}

.paper-page-number{
  display: inline;
  font-size: 0.95em;
  font-weight: 700;
  margin-left: 0.25em;
}

.paper-page-author{
  margin: 18px 0 0;
  font-size: 15px;
  color: #444;
  text-indent: 0 !important;
}


/* ===== ページ送り ===== */

.paper-pager{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 18px 0 22px;
  font-size: 15px;
}

.paper-pager a{
  text-decoration: none;
  display: inline-block;
}

.paper-pager .pager-prev{
  justify-self: start;
}

.paper-pager .pager-center{
  justify-self: center;
}

.paper-pager .pager-next{
  justify-self: end;
}

.paper-pager .pager-spacer{
  justify-self: start;
}

.paper-pager + .header-divider{
  margin-top: 10px;
}


/* ===== 本文 ===== */

.paper-body{
  margin-top: 24px;
}

.paper-body h2{
  margin: 38px 0 18px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  color: #111;
}

.paper-body h3{
  margin: 26px 0 12px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: #111;
}

.paper-body p{
  margin: 0 0 1.25em 0;
  font-size: 15px;
  line-height: 2;
  color: #111;
  text-align: justify;
  text-indent: 1em;
}


/* ===== 引用 ===== */

.ronbun-quote{
  padding-left: 5em;
  margin: 1.2em 0;
}

.ronbun-quote p{
  margin: 0;
  text-indent: 0 !important;
  line-height: 1.55;
  font-size: 0.97em;
}

.ronbun-source{
  text-align: right;
  font-size: 0.92em;
  margin-top: 0;
  line-height: 1.2;
}

.ronbun-quote + .ronbun-quote{
  margin-top: 2em;
}

.ronbun-title{
  text-indent: 2em;
}


/* ===== 脚注 ===== */

.footnotes p{
  margin: 0 0 12px;
  text-indent: -1em;
  padding-left: 1.5em;
  line-height: 1.7;
}


/* ===== スマホ ===== */

@media (max-width: 640px){

  .paper{
    padding: 0 14px 34px;
  }

  .paper-page-title{
    font-size: 22px;
  }

  .paper-body h2{
    font-size: 17px;
  }

  .paper-body h3{
    font-size: 15px;
  }

  .paper-body p{
    font-size: 14px;
  }

  .ronbun-quote{
    padding-left: 3.8em;
  }
}