﻿@charset "utf-8";

/* 広告 */
.xrea-ad {
  margin-top: 3em;
  margin-bottom: 3em;
  text-align: center;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 80%;
}

.xrea-ad img{
  max-width: 100%;
  height: auto;
}

.xrea-ad p {
  line-height: 1;
}

.breadcrumb {
  margin-top: 1em;
}

.breadcrumb em {
  font-style: normal;
  font-weight: bold;
}

@media not print {
  body {
    margin: 0 auto;
    padding: 0 2.5em 2em 2.5em;
    max-width: 65em;
    background: #f7f7f0;
    color: black;
    font-family: sans-serif;
  }
}

@media (max-width: 640px), not print { 
  body { 
    padding: 0 1em 2em 1em;
  }
}

@media print {
  .page-content p, 
  .page-content ul,
  .page-content ol,
  .page-content table {
    font-family: serif;
    font-size: 11pt;
  }
  .page-content table {
     break-inside: avoid;
  }
  .breadcrumb,
  .xrea-ad,
  a[role="doc-backlink"] {
     display:none;
  }
}

/* ページトップ見出し*/
.page-top {
  text-align: right;
  margin-bottom: 2em;
}

.page-top p {
  line-height: 1.0;
}

/* ナビゲーション */
.nav-page {
  margin-top: 2.5em;
    margin-bottom: 3em;
}


.nav-page .nav-current {
  font-style: normal;
  font-weight: bold;
}

/* コンテンツ本体 */
.page-content h2 {
  font-size: 150%;
}

.page-content h3 {
  font-size: 130%;
}

.page-content p,
.page-content dd {
  line-height: 1.8;
}

.page-content figure {
  text-align: center;
  margin-top: 2em;
  margin-bottom: 2em;
  margin-left: auto;
  margin-right: auto;
}

.page-content figcaption {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 1em;
}

.page-content blockquote {
  background: #fff;
  padding: 15px 25px 15px 25px;
  border: 1px solid #fff;
  border-radius: 5px;
  color: #666;
  margin: 20px 0;
}

.page-content pre {
  background: #fff;
  padding: 20px 25px;
  border: 1px solid #ddd;
  color: #000;
  margin: 10px 0 0;
  line-height: 1.5;
}

.page-content pre code {
  font-size: 0.9rem;
}

.page-content li {
  margin-bottom: 6px;
}

.page-content dd {
  margin-top:.75em;
  margin-bottom: 1em;
}

.page-content img {
  border: 1px solid silver;
  max-width: 100%;
  height: auto;
}

/* テーブル全般 */
.page-content table {
  margin-top: 2em;
  margin-bottom: 2em;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

.page-content table em {
  color: #1360dc;
  font-weight: bold;
  font-style: normal;
}

.page-content th {
  text-align: left;
}

.page-content caption {
  margin-bottom: 8px;
  white-space: nowrap;
}

.page-content table.default th,
.page-content table.default td {
    border: 1px solid lightgrey;
    padding: 0.75rem;
}

.page-content table.default th {
    background: #F7F8F9;
    white-space: nowrap;
}
/* テーブル固有 - 略史 */
.history {
  padding-left: 1em;
  padding-right: 1em;
}

.history thead {
  border-bottom: 1px solid #999;
}

.history thead th {
  padding-bottom: 4px;
  text-align: center;
}

.history tbody tr:nth-of-type(1) td {
  padding-top: 10px;
}

.history td:first-child {
  width: 4em;
  text-align: right;
  padding-right: 10px;
  vertical-align: top;
}

.history td {
  padding-top: 3px;
}

/* テーブル固有 - カレンダー */
.calendar tfoot {
  border-top: 1px solid #999;
}

.calendar th {
  padding-left: 10px;
  padding-right: 30px;
  text-align: right;
}

.calendar td:nth-last-child(2) {
  width: 8em;
}

.calendar td:last-child {
  text-align: right;
  width: 4em;
  padding-left: 0;
  padding-right: 10px;
}

/* flex */
.flex {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-around;
  margin-top: 2em;
}

.flex table {
  margin-right: 3em;
}

.flex figure {
  margin-left: 0;
}

.star-week, .star-week th, .star-week td { 
  height: 20px;
}

.star-week th, .star-week td { 
  width: 2.5em;
  text-align: center;
}

/* 脚注 */
aside[role="doc-footnote"] {
  word-break: break-all;
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px #999 solid;
}

/* フッター */
.page-footer {
  border-top: 1px #999 solid;
  line-height: 1;
  margin-top: 2em;
  padding-top: 8px;
}

/* リンク */
a {
  text-decoration-skip-ink: none;
}

a:link  {
  color: #0645ad;
}

a:visited {
  color: #A6003A;
}

a:hover {
  text-decoration: none;
}

/* 分数 */
.fraction {
  font-family: Arial, sans-serif;
}

