@charset "UTF-8";
html {
  font-size: 100%;
}

body {
  color: #000;
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic Pro", "Hiragino Sans GB W3", "メイリオ", Meiryo, "MS PGothic", sans-serif;
  line-height: 1.8;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

main {
  display: block;
}

video,
svg,
img {
  height: auto;
  vertical-align: top;
}

a * {
  display: inline;
}

ul {
  overflow: hidden;
}

.main {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* 切り替え
----------------------------------------------- */
/* 背景白、リンク青 */
html[data-color="normal"] {
  color: #000;
  background: #fff;
}

html[data-color="normal"] a:link {
  color: #33f;
}

html[data-color="normal"] a:visited {
  color: #60c;
}

html[data-color="normal"] a:hover {
  color: #33f;
}

/* 背景白、リンク赤 */
html[data-color="red"] {
  background: #fff;
}

html[data-color="red"] a:link {
  color: #f00;
}

html[data-color="red"] a:visited {
  color: #600;
}

html[data-color="red"] a:hover {
  color: #f00;
}

/* 背景黒、リンク緑 */
html[data-color="green"] body {
  background: #000;
  color: #fff;
}

html[data-color="green"] a:link {
  color: #3f0;
}

html[data-color="green"] a:visited {
  color: #60c;
}

html[data-color="green"] a:hover {
  color: #3f0;
}

.textpage-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.textpage-header .textpage-header-inner {
  position: relative;
  text-align: right;
  max-width: 800px;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
}

.textpage-header-link {
  font-size: 0.75rem;
  margin: 0;
  position: absolute;
  top: 20px;
  right: 20px;
}

.textpage-footer {
  width: 800px;
  margin-right: auto;
  margin-left: auto;
  padding: 30px 20px 170px;
}

.textpage-footer-inner {
  padding-top: 10px;
  font-size: 0.875rem;
  border-top: 2px groove #ccc;
}

.textpage-footer-inner p {
  margin: 0;
}

.pagetop:not(:first-child) {
  margin-top: 10px;
}

.textpage-panel {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #1E477B;
  border-top: solid 1px #000;
}

.textpage-panel-inner {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.textpage-panel-inner img {
  display: inline !important;
}

.textpage-panel-ttl {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}

.textpage-panel-btn-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.textpage-panel-btn {
  list-style: none;
}

.textpage-panel-btn > button {
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

.textpage-panel-utility .textpage-panel-btn,
.textpage-panel-utility .textpage-panel-btn button,
.textpage-panel-utility .textpage-panel-btn a {
  display: block;
  height: 34px;
}

.textpage-panel-color .textpage-panel-btn-list,
.textpage-panel-size .textpage-panel-btn-list {
  display: flex;
}

.textpage-panel-color .textpage-panel-btn + .textpage-panel-btn,
.textpage-panel-size .textpage-panel-btn + .textpage-panel-btn {
  margin-left: 5px;
}

.textpage-panel-utility .textpage-panel-btn + .textpage-panel-btn {
  margin-top: 5px;
}

.textpage-panel-color,
.textpage-panel-utility {
  padding-left: 10px;
  border-left: dotted 1px #fff;
  margin-left: 10px;
}

hr.textpage-panel-border {
  margin: 0;
  border: none;
  border-top: solid 1px #1d487b;
  border-bottom: solid 1px #56769d;
}

.wrapper {
  overflow-x: hidden;
  position: relative;
}

.main + .breadcrumb {
  display: none;
}

.breadcrumb + .page-body {
  margin-top: 1rem;
}

.breadcrumb-list {
  padding: 0;
  list-style: none;
  margin: 0 auto;
}

.breadcrumb-list > li {
  font-size: 0.875rem;
  display: inline;
}

.breadcrumb-list > li + li:before {
  content: ">";
  margin: 0 5px;
}

.breadcrumb-list > li > a:hover {
  text-decoration: none;
}

.page-header {
  padding-top: 20px;
  border-bottom: 2px groove #ccc;
  margin-bottom: 1rem;
}

.page-header h1 {
  display: block;
  margin: 0;
}

.page-body {
  margin: 3rem 0;
  border-top: 2px groove #ccc;
}

#contents {
  margin-top: 1rem;
  font-size: .9rem;
}

h1 {
  font-size: 2rem;
}

@media print, (min-width: 768px) {
  a[href^="tel:"] {
    cursor: default;
    color: #000;
    pointer-events: none;
    text-decoration: none;
  }
}
