@charset "UTF-8";
/* --------------------------------------------------
   Template by espace（https://espace.monbalcon.net/）
   Copyright: 2020 espace.

   利用規約を遵守の上、ご利用ください。
   二次配布、販売は禁止しています。
   --------------------------------------------------*/

/* ----- ▼ リセット　ここから（基本的には触らない方が良い部分） ▼ ----- */
html {
  font-size: 62.5%;
}

:focus {
  outline: none;
}

a {
  text-decoration: none;
}

a, a::after, a::before, button, input, textarea, select {
  transition: all 0.35s;
}

a img, button img {
  transition-duration: 0.35s;
}

a:hover img, button:hover img {
  opacity: 0.5;
}

button {
  outline: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  cursor: hand;
}

input, textarea {
  box-shadow: none;
  -webkit-appearance: none;
}

select {
  appearance: button;
}

p, dl, ul, form {
  margin: 15px 0;
  word-wrap: break-word;
}

p:last-child, dl:last-child, ul:last-child, form:last-child {
  margin-bottom: 0;
}

img {
  vertical-align: middle;
}

@media only screen and (max-width: 900px) {
  p, form {
    margin: 0 0 17px;
  }
  p:last-child, form:last-child {
    margin-bottom: 0;
  }
}
/* ----- ▲ リセット　ここまで（基本的には触らない方が良い部分） ▲ ----- */


/* ----- ▼ レイアウト　ここから ▼ ----- */
/* 基本 */
body {
  margin: 0;
  padding: 0;
  background: #e8e1d5 linear-gradient(#7192ac 0.5%, transparent) fixed;
}

body, button, input, textarea, select {
  font: 500 1.6rem/calc(1.6rem + 1.05rem) "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  color: #1f262b;
}

header {
  z-index: 100;
  width: 250px;
  box-sizing: border-box;
  padding: 50px 15px 0;
  border: 1px solid #fff7ea;
  border-left: 0;
  border-right: 0;
}

header a {
  color: #1f262b;
}

header a:hover {
  color: #b85e62;
}

body:not(#INDEX) header {
  position: fixed;
  top: 100px;
  left: 40px;
  height: 350px;
}

main, footer, div {
  max-width: 800px;
}

main, footer {
  margin: 50px auto 30px 350px;
  padding: 0 15px;
}

main a {
  border-bottom: 1px solid #3b5c73;
}

main a:hover {
  border-bottom: 1px solid #b85e62;
}

main a.image {
  border-bottom: 0;
}

footer {
  margin-bottom: 10px;
  line-height: 100%;
}

article {
  margin: -30px 0 170px 0;
  padding-top: 30px;
}

article:first-of-type {
  margin-top: -50px;
}

a {
  color: #3b5c73;
}

a:hover {
  color: #b85e62;
}

/* インデックス */
#INDEX header {
  height: 160px;
  margin: 50px auto 0;
}

#INDEX main, #INDEX footer {
  margin-left: auto;
  margin-right: auto;
}

/* メニュー */
.menu {
  font-family: "Noto Serif JP", serif;
  font-size: 80%;
}

.menu ul {
  padding-left: 0;
  color: #3b5c73;
}

.icon-menu {
  margin: 15px 0 0;
  text-align: center;
  font-size: 125%;
}

.icon-menu ul {
  padding: 0;
  list-style: none;
}

.icon-menu ul li {
  display: inline-block;
  margin: 0 2px;
}

.icon-menu ul li:first-of-type {
  margin-left: 0;
}

.icon-menu ul li:last-of-type {
  margin-right: 0;
}

#pageBottomNav {
  position: fixed;
  bottom: 0;
}

@media only screen and (min-width: 900px) {
  .menu {
    margin: 0 auto 0;
    writing-mode: vertical-rl;
  }
  .menu .text-combine {
    -webkit-text-combine: horizontal;
    -ms-text-combine-horizontal: all;
    text-combine-upright: all;
  }
  #pageBottomNav {
    left: 40px;
    width: 250px;
    text-align: center;
  }
}

.fixed-menu ul {
  padding-left: 0;
}

.fixed-menu ul li {
  display: inline-block;
  vertical-align: top;
}

.fixed-menu ul li::before {
  content: none !important;
}

.fixed-menu ul li:not(:last-of-type) {
  margin-right: -6px;
}

.fixed-menu a, .fixed-menu button {
  display: inline-block;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0;
  background: #fff7ea;
  border: 0;
  border-radius: 0;
  text-align: center;
  color: #3b5c73;
}

.fixed-menu a::before, .fixed-menu button::before {
  display: block;
  font-family: "Noto Serif JP", serif;
  transform: scale(0.7, 1);
}

.fixed-menu a:hover, .fixed-menu button:hover {
  background: #fff7ea;
  border: 0;
}

.fixed-menu a {
  padding: 12px 0;
}

.fixed-menu .pagetop a::before, .fixed-menu .pagetop button::before {
  content: "上";
}

.fixed-menu .prev a::before, .fixed-menu .prev button::before {
  content: "前";
}

.fixed-menu .next a::before, .fixed-menu .next button::before {
  content: "次";
}

.fixed-menu .toc a::before, .fixed-menu .toc button::before {
  content: "目次";
}

.fixed-menu .home a::before, .fixed-menu .home button::before {
  content: "トップ";
  letter-spacing: -4px;
}

/* 見出し */
h1, h2, h3, h4, h5 {
  font: 500 110%/calc(1.6rem + 1.05rem) "Noto Serif JP", serif;
  color: #3b5c73;
}

h1 {
  margin: 0;
  padding: 45px 0 0 0;
  text-align: center;
  background: no-repeat center top/45px url("../img/common/h1.png");
}

h2, h3, h4, h5 {
  margin: 70px 0 35px;
}

h2, h3, h4 {
  text-align: center;
}

h2 span, h3 span, h4 span {
  transform: scale(0.85, 1);
  letter-spacing: 1px;
}

h2 {
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  display: inline-block;
  margin: -25px 0 0 -25px;
  width: 30px;
  height: 30px;
  background: no-repeat right top/cover url("../img/common/h2.png");
}

h2 span {
  display: inline-block;
  padding: 15px 50px;
  border: 2px solid #fff7ea;
  border-left: 0;
  border-right: 0;
}

h3 span, h4 span {
  position: relative;
  display: inline-block;
  width: 250px;
  padding: 0 40px;
}

h3 span::before, h3 span::after, h4 span::before, h4 span::after {
  position: absolute;
}

h3 span::before, h3 span::after {
  content: "";
  display: block;
  width: 10px;
  height: 20px;
  border: 2px solid #fff7ea;
}

h3 span::before {
  left: 0;
  top: -10px;
  border-right: 0;
  border-bottom: 0;
}

h3 span::after {
  right: 0;
  bottom: -10px;
  border-left: 0;
  border-top: 0;
}

h4 span::before, h4 span::after {
  top: 2px;
  color: #fff7ea;
  font-weight: 900;
  font-size: 130%;
}

h4 span::before, h4 span::after {
  content: "~";
}

h4 span::before {
  left: 0;
  margin: 0 30px 0 3px;
}

h4 span::after {
  right: 0;
  margin: 0 3px 0 30px;
}

h5 {
  transform: scale(0.85, 1);
  transform-origin: left;
  letter-spacing: 1px;
}

/* リスト */
ul .description, ol .description {
  margin-left: 10px;
}

ul .description::before, ol .description::before {
  content: "…";
  margin-right: 10px;
}

ul {
  list-style-type: square;
}

ul li.next {
  list-style: none;
}

ul li.next::before {
  content: "→";
  margin-right: 5px;
  font-size: 120%;
}

ul.small {
  list-style: none;
  padding-left: 0;
}

ul.small li {
  display: inline;
}

ul.small li::before {
  color: #3b5c73;
}

ul.small li:not(:first-child):not(.next)::before {
  margin: 0 5px 0 2px;
  content: ":";
  font-weight: 900;
}

ul.small li.next::before {
  margin: 0 7px 0 2px;
}

dl {
  margin: 10px 0;
}

dl dd {
  margin: 0 0 10px;
  padding: 0 0 10px 40px;
  border-bottom: 1px solid #e8e1d5;
}

dl dd:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

dl.inline {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

dl.inline dt, dl.inline dd {
  vertical-align: top;
  padding: 0;
}

dl.inline dt:last-of-type, dl.inline dd:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

dl.inline dt {
  width: 200px;
  margin: 0 0 5px 0;
  padding: 0 30px 5px 0;
  padding-right: 30px;
  border-bottom: 1px solid #e8e1d5;
}

dl.inline dt:last-of-type {
  border-bottom: 0;
}

dl.inline dd {
  width: calc(100% - 200px - 30px);
  margin: 0 0 5px 0;
}

dl.border {
  padding: 15px 20px;
  border: 1px solid #e8e1d5;
  border-radius: 0.25rem;
}

/* フォーム */
.form-inline > *, .form-block > * {
  margin-bottom: 5px;
}

.form-block dl dt, .form-block dl dd {
  border-bottom: 0;
}

.form-block > *, .form-block dl dd > * {
  width: 100%;
  box-sizing: border-box;
}

input, textarea, select,
button, input[type="submit"], input[type="button"] {
  border: 1px solid #3b5c73;
  border-radius: 0.25rem;
}

input::placeholder, textarea::placeholder, select::placeholder,
button::placeholder, input[type="submit"]::placeholder, input[type="button"]::placeholder {
  color: #3b5c73;
}

input, textarea, select {
  box-sizing: border-box;
  background: transparent;
}

input:hover, input:focus, textarea:hover, textarea:focus, select:hover, select:focus {
  border: 1px solid #b85e62;
}

button, input[type="submit"], input[type="button"] {
  background: #3b5c73;
  color: #fff7ea;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  border: 1px solid #b85e62;
  background: #b85e62;
}

/* 装飾 */
b, em, strong, .text-bold {
  font-weight: 700;
}

em {
  font-style: normal;
  background: linear-gradient(transparent 60%, #dacada 0%);
}

strong {
  background: #dacada;
}

hr {
  margin: 70px auto;
  border: 0;
  height: 35px;
  background: url("../img/common/hr.png") no-repeat center/contain;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.required::after {
  content: "*";
  color: #b85e62;
}

.copyright {
  color: #3b5c73;
  font-size: 80%;
}

/* スマホ設定 */
@media only screen and (max-width: 900px) {
  body {
    background: transparent;
  }
  body::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background: #7192ac linear-gradient(#7192ac 50%, #e8e1d5);
  }
  header {
    height: auto !important;
    padding: 10px;
    text-align: center;
  }
  body:not(#INDEX) header {
    position: sticky;
    top: -125px;
    left: 0;
    width: 100%;
    border-top: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: saturate(1.3);
  }
  body:not(#INDEX) header.no-icon {
    top: -81px;
  }
  #INDEX header {
    margin: 20px auto 20px;
  }
  #INDEX article:first-of-type {
    padding-top: 0;
  }
  main, footer {
    margin-left: auto;
  }
  main a:hover {
    border-bottom: 1px solid #3b5c73;
  }
  main a:active {
    border-bottom: 1px solid #b85e62;
  }
  a:hover {
    color: #3b5c73;
  }
  a:active {
    color: #b85e62;
  }
  /* メニュー */
  .icon-menu, .menu {
    margin-top: 10px;
  }
  .menu ul {
    list-style: none;
    padding: 0;
  }
  .menu ul li {
    display: inline-block;
    margin: 0 2px;
  }
  .menu ul li:first-of-type {
    margin-left: 0;
  }
  .menu ul li:last-of-type {
    margin-right: 0;
  }
  .menu:not(.icon-menu) a {
    padding: 2px 4px;
    background: #3b5c73;
    color: #fff7ea;
  }
  .menu:not(.icon-menu) a:active {
    background: #b85e62;
    color: #fff7ea;
  }
  #pageBottomNav {
    right: 0;
  }
  /* リスト */
  ul .description, ol .description {
    display: block;
    margin-left: 10px;
  }
  ul .description::before, ol .description::before {
    content: "└";
    margin-right: 10px;
  }
  dl.border dt, dl.border dd, dl.inline dt, dl.inline dd {
    display: block;
  }
  dl.border dt, dl.inline dt {
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }
  dl.border dd, dl.inline dd {
    width: calc(100% - 40px);
    padding-left: 40px;
  }
  /* フォーム */
  .form-inline input {
    width: 45%;
  }
  .form-block > *, .form-block dl dd > * {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
  }
}
/* ----- ▲ レイアウト　ここまで ▲ ----- */