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

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

@import url("https://fonts.googleapis.com/css2?family=Kaisei+Tokumin:wght@400;500;700;800&display=swap");
:root {
  --theme-color1: #ffd700;
  --theme-color1-dark: #ffb500;
  --theme-color2: #009944;
  --theme-color2-dark: #005c12;
  --theme-color3-light: #8c8d88;
  --theme-color3: #2b302d;
  --theme-color3-dark: #070908;
  --color-white: #fff;
  --bg-color: #eeebe3;
  --text-color: var(--theme-color3);
  --form-border-color: var(--theme-color3);
  --form-border-hover-color: var(--theme-color1);
}

/* ----- ▼ リセット　ここから（基本的には触らない方が良い部分） ▼ ----- */
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

:focus {
  outline: none;
}

a {
  text-decoration: none;
}

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

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

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

input, textarea, select {
  font-size: 1.6rem;
}

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

select {
  appearance: button;
}

p, dl, ul, form {
  margin: 25px 0;
  word-break: break-all;
}

p:first-child, dl:first-child, ul:first-child, form:first-child {
  margin-top: 0;
}

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

ul ul, ul ol, ol ul, ol ol {
  margin: 0 !important;
}

img {
  vertical-align: middle;
  max-width: 100%;
}

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

/* ----- ▼ レイアウト　ここから ▼ ----- */
/* 基本 */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg-color) url("../img/layout/bg.svg") top left/350px 100vh no-repeat fixed;
}

body.no_header main, body.no_header footer {
  margin-left: auto;
  margin-right: auto;
}

body, button, input, textarea, select {
  font: 500 1.6rem/calc(1.6rem + 1.05rem) "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text-color);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 310px;
  padding-left: 50px;
}

main, footer {
  max-width: 1000px;
  margin: auto auto auto 400px;
  padding: 0 25px;
}

article {
  margin: 0 0 200px;
}

a {
  color: var(--theme-color2-dark);
}

a:hover {
  color: var(--theme-color2);
}

img {
  max-width: 100%;
}

/* メニュー */
.menu:not(#spotlight) {
  width: 210px;
  margin-top: 25px;
  font: 700 1.6rem "Kaisei Tokumin", serif;
}

.menu:not(#spotlight) ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu:not(#spotlight) a {
  display: block;
  padding: 7px 5px;
  transition: letter-spacing 0.8s, background 0.8s;
  color: var(--theme-color3-dark);
}

.menu:not(#spotlight) a:hover {
  background: rgba(7, 9, 8, 0.1);
  color: var(--color-white);
  letter-spacing: 5px;
}

.manu-toggler {
  display: none;
}

.fixed-menu {
  position: fixed;
  bottom: 45px;
  right: 45px;
  z-index: 1;
}

.fixed-menu ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fixed-menu a, .fixed-menu button, .fixed-menu span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.fixed-menu a::before, .fixed-menu button::before, .fixed-menu span::before {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fixed-menu a, .fixed-menu button {
  color: var(--theme-color1-dark) !important;
}

.fixed-menu a:hover, .fixed-menu button:hover {
  color: var(--theme-color3-dark) !important;
  transform: none !important;
}

.fixed-menu span {
  color: var(--theme-color3);
}

.fixed-menu li.pagetop a::before, .fixed-menu li.pagetop button::before, .fixed-menu li.pagetop span::before {
  content: "\f102";
}

.fixed-menu li.prev a::before, .fixed-menu li.prev button::before, .fixed-menu li.prev span::before {
  content: "\f104";
}

.fixed-menu li.next::before {
  content: none;
}

.fixed-menu li.next a::before, .fixed-menu li.next button::before, .fixed-menu li.next span::before {
  content: "\f105";
}

.fixed-menu li.toc a::before, .fixed-menu li.toc button::before, .fixed-menu li.toc span::before {
  content: "\f0ca";
}

.fixed-menu li.home a::before, .fixed-menu li.home button::before, .fixed-menu li.home span::before {
  content: "\e3af";
}

.fixed-menu span {
  opacity: 0.6;
}

/* 見出し */
h1 {
  width: 210px;
  height: 50vh;
  margin: 0;
  padding: 0 15px 15px;
  font: 700 30px/1 "Kaisei Tokumin", serif;
  background: var(--theme-color3-dark);
  color: var(--theme-color1);
  z-index: 10;
  text-align: center;
}

h1 a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  padding: 100px 10px 10px 10px;
  color: var(--theme-color1);
  border: 1px solid var(--color-white);
  border-top: 0;
}

h1 a::after {
  content: attr(data-en);
  padding-top: 20px;
  border-top: 1px solid var(--color-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 5px;
}

h1 a:hover {
  transition: color 0.3s;
}

h1 a:hover::after {
  transition: color 0.03s;
}

h2, h3 {
  position: relative;
  font: 700 20px/1 "Kaisei Tokumin", serif;
  text-align: center;
}

h2 {
  margin: 50px auto 100px;
  padding: 80px 0 0 7px;
  letter-spacing: 7px;
}

h2::before, h2::after {
  content: "";
  position: absolute;
  display: block;
  transform: rotate(45deg);
  z-index: -1;
}

h2::before {
  top: 25px;
  left: calc(50% - 15px);
  width: 29px;
  height: 29px;
  background: var(--theme-color3-dark);
}

h2::after {
  top: 31px;
  left: calc(50% - 9px);
  width: 15px;
  height: 15px;
  border: 1px solid var(--theme-color1);
}

h3 {
  margin: 150px 0 100px;
}

h3::before {
  content: "";
  position: absolute;
  top: -30px;
  left: calc(50% - 25px);
  height: 5px;
  width: 50px;
  border-radius: 5px;
  background: var(--theme-color3);
}

h4, h5, h6 {
  font: 700 18px/1 "Kaisei Tokumin", serif;
}

h4 {
  margin: 60px 0 15px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--theme-color3);
}

h5 {
  margin: 75px 0 50px;
  font-size: 16px;
}

h5 span {
  padding: 10px;
  border: 2px solid var(--theme-color3);
}

h6 {
  display: flex;
  margin: 75px 0 50px;
  font-size: 16px;
}

h6::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-right: 5px;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--theme-color3);
}

/* リスト */
ul.column, ol.column {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 25px;
}

ul.column.column-2 li, ol.column.column-2 li {
  width: calc(50% - 25px/2);
}

ul.column.column-3 li, ol.column.column-3 li {
  width: calc(100%/3 - 17px);
}

ul .description, ol .description {
  margin-left: 10px;
}

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

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

ul li.next::before {
  content: "\f061";
  margin-right: 5px;
  font: 900 100%/1 "Font Awesome 5 Free";
}

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

ul.small li {
  display: inline;
}

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 15px;
  padding: 0 0 15px 40px;
  border-bottom: 1px solid var(--theme-light-color3);
}

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;
  margin: 0 0 15px 0;
  padding: 0 0 15px;
}

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

dl.inline dt {
  width: 200px;
  padding: 0 30px 10px 0;
  padding-right: 30px;
  border-bottom: 1px solid var(--theme-light-color3);
}

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

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

dl.border {
  padding: 15px 20px;
  border: 3px double var(--theme-color3);
}

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

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

.form-block dl.inline dt {
  width: 130px;
}

.form-block dl.inline dd {
  width: calc(100% - 130px);
}

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

.required::after {
  content: "*";
  color: var(--theme-color5);
}

input, textarea, select,
button:not(.manu-toggler), input[type="submit"], input[type="button"] {
  border-radius: 0;
}

input::placeholder, textarea::placeholder, select::placeholder,
button:not(.manu-toggler)::placeholder, input[type="submit"]::placeholder, input[type="button"]::placeholder {
  color: var(--form-border-color);
}

input, textarea, select {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 3px double var(--form-border-color);
  border-radius: 7px;
  box-sizing: border-box;
  background: var(--bg-color);
}

input:hover, input:focus, textarea:hover, textarea:focus, select:hover, select:focus {
  border-style: solid;
}

button:not(.manu-toggler), input[type="submit"], input[type="button"] {
  background: var(--form-border-color);
  border-radius: 7px;
  color: var(--bg-color);
}

button:not(.manu-toggler):hover, input[type="submit"]:hover, input[type="button"]:hover {
  background: var(--form-border-hover-color);
  color: var(--form-border-color);
}

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

em {
  font-style: normal;
  border-bottom: 2px solid var(--theme-color2);
}

strong {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, var(--theme-color1-dark) 2px, var(--theme-color1-dark) 4px);
}

hr {
  margin: 150px auto;
  height: 30px;
  width: 30px;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, var(--theme-color3) 5px, var(--theme-color3) 6px);
  border: 1px solid var(--theme-color3);
}

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

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

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

.text-bold {
  font-weight: bold;
}

.text-small {
  font-size: smaller;
}

.width-sm {
  max-width: 700px;
  margin: auto;
}

a.arrow::before, span.arrow::before {
  content: "\f105";
  margin-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

a.btn, span.btn {
  overflow: hidden;
  margin: 10px 0;
  padding: 5px 7px;
  border: 3px double var(--theme-color3-light);
  border-radius: 7px;
  color: var(--theme-color3);
  font-weight: 600;
  text-align: center;
  line-height: 4rem;
}

a.btn.btn-block, span.btn.btn-block {
  display: block;
}

a.btn.btn-arrow::after, span.btn.btn-arrow::after {
  content: "\f105";
  margin-left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

a.btn.btn-arrow.btn-block, span.btn.btn-arrow.btn-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 30px;
}

a.btn.btn-arrow.btn-block::after, span.btn.btn-arrow.btn-block::after {
  position: absolute;
  right: 10px;
}

a.btn {
  border-color: var(--theme-color3-light);
}

a.btn:hover {
  border-color: var(--theme-color3);
  border-style: solid;
}

span.btn {
  border: 2px solid var(--color-gray);
  color: var(--theme-color1);
  opacity: 0.5;
}

.column {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 25px auto;
}

.column.column-2 > * {
  width: calc(50% - 25px/2);
}

.column.column-3 > * {
  width: calc(100%/3 - 25px);
}

.box {
  margin: 25px auto;
  padding: 15px;
  border: 3px double var(--theme-color3);
}

.box.box-sm {
  width: 80%;
}

/* ill */
.ill {
  margin: 10px auto;
}

.ill.ill-thumbnail, .ill.ill-com-thumbnail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ill.ill-thumbnail.ill-center, .ill.ill-com-thumbnail.ill-center {
  justify-content: center;
}

.ill.ill-thumbnail.ill-right, .ill.ill-com-thumbnail.ill-right {
  justify-content: end;
}

.ill.ill-thumbnail.thumb-rounded div > *, .ill.ill-com-thumbnail.thumb-rounded div > * {
  border-radius: 8px;
}

.ill.ill-thumbnail.thumb-circle div > *, .ill.ill-com-thumbnail.thumb-circle div > * {
  border-radius: 50%;
}

.ill.ill-thumbnail.thumb-circle div.new > *::after, .ill.ill-thumbnail.thumb-circle div.mark > *::after, .ill.ill-com-thumbnail.thumb-circle div.new > *::after, .ill.ill-com-thumbnail.thumb-circle div.mark > *::after {
  width: calc(100% - 10px);
  text-align: center;
}

.ill.ill-thumbnail.thumb-border div > *, .ill.ill-com-thumbnail.thumb-border div > * {
  border: 1px solid var(--theme-color3);
}

.ill.ill-thumbnail div, .ill.ill-com-thumbnail div {
  position: relative;
  object-fit: cover;
  overflow: hidden;
}

.ill.ill-thumbnail div > *, .ill.ill-com-thumbnail div > * {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ill.ill-thumbnail div img, .ill.ill-com-thumbnail div img {
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}

.ill.ill-thumbnail div.new > *::after, .ill.ill-thumbnail div.mark > *::after, .ill.ill-com-thumbnail div.new > *::after, .ill.ill-com-thumbnail div.mark > *::after {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  max-width: 100%;
  padding: 5px;
  line-height: 1;
  font-weight: 600;
  background: var(--theme-color3);
  color: var(--color-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 600;
}

.ill.ill-thumbnail div.new > *::after, .ill.ill-com-thumbnail div.new > *::after {
  content: "new";
}

.ill.ill-thumbnail div.mark > *::after, .ill.ill-com-thumbnail div.mark > *::after {
  content: attr(data-label);
}

.ill.ill-thumbnail div {
  width: calc((100% - 60px) / 7);
  padding-top: calc((100% - 60px) / 7);
}

.ill.ill-com-thumbnail div {
  width: calc((100% - 60px) / 7);
  padding-top: calc((100% - 60px) / 5);
}

.ill.ill-thumbnail.thumb-border div.red>*,
.ill.ill-com-thumbnail.thumb-border div.red>* {
  border-color: #ff4800;
}

.ill.ill-thumbnail div.red>*::after,
.ill.ill-com-thumbnail div.red>*::after {
  background: #ff4800;
}

.ill.ill-image {
  margin: 25px 0;
  text-align: center;
}

/* dir */
.dir {
  margin-bottom: 100px;
}

.dir.box {
  margin-bottom: 100px;
}

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

.dir .dir-image a {
  display: inline-block;
}

.dir .dir-image a:hover {
  opacity: 0.6;
}

.dir .dir-image img {
  max-width: 100%;
}

.dir .dir-image.dir-image-lg, .dir .dir-image.dir-image-md, .dir .dir-image.dir-image-sm {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.dir .dir-image.dir-image-lg a, .dir .dir-image.dir-image-md a, .dir .dir-image.dir-image-sm a {
  padding: 5px;
  border: 1px solid var(--theme-color3-light);
}

.dir .dir-image.dir-image-lg > * {
  width: 75%;
}

.dir .dir-image.dir-image-md > * {
  width: 50%;
}

.dir .dir-image.dir-image-sm > * {
  width: 25%;
}

.dir ul {
  text-align: right;
}

.dir ul.dir-info {
  list-style: none;
  padding: 0;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--theme-color3-light);
}

.dir ul.dir-info li.date::before {
  content: "\f783";
  margin-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

body#INDEX main, body#INDEX footer {
  max-width: 600px;
  margin: 0 auto;
}

body#INDEX main {
  min-height: calc(100vh - 28px);
}

body#INDEX article {
  margin-bottom: 75px;
}

body#INDEX h1 {
  width: 210px;
  height: 210px;
  margin: 0 auto 75px;
}

body#INDEX h1 a {
  padding: 25px 10px 10px;
}

body#INDEX h4 {
  margin-top: 75px;
}

/* スマホ設定 */
@media only screen and (max-width: 1200px) {
  body, button, input, textarea {
    font-size: 1.6rem;
    line-height: calc(1.6rem + 1.05rem);
  }
  body {
    background: var(--bg-color);
  }
  header {
    position: sticky;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
    height: 100vh;
    top: -100vh;
    left: 0;
    padding: 0;
    transition: all .7s;
    background: var(--bg-color) url("../img/layout/bg.svg") top left/contain no-repeat;
    z-index: 1;
  }
  header > * {
    margin: 0;
  }
  header.scroll {
    justify-content: end;
    transform: translateY(40px);
    background: none;
  }
  header.scroll .menu:not(#spotlight) {
    position: relative;
    width: 100%;
    padding-left: 10px;
  }
  header.scroll .menu:not(#spotlight) ul {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: scroll;
    white-space: nowrap;
  }
  header.scroll .menu:not(#spotlight) a {
    padding: 7px;
  }
  header.scroll .menu:not(#spotlight) a:hover {
    letter-spacing: 0;
    color: var(--text-color);
  }
  header.scroll .menu:not(#spotlight)::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent var(--theme-color3);
  }
  .menu:not(#spotlight) {
    font-size: 1.4rem;
  }
  .fixed-menu {
    bottom: 10px;
    right: 10px;
  }
  .fixed-menu ul {
    flex-direction: row;
  }
  main, footer {
    width: 100%;
    margin: auto;
    padding: 0 30px;
  }
  /* リスト */
  ul.column.column-2 li, ul.column.column-3 li, ol.column.column-2 li, ol.column.column-3 li {
    width: calc(100%);
  }
  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: 100%;
    padding-left: 40px;
  }
  /* フォーム */
  .form-inline input {
    width: 45%;
  }
  .form-block dl.inline dt {
    width: 100%;
  }
  .form-block dl.inline dd {
    width: 100%;
    padding-left: 40px;
  }
  .form-block > *, .form-block dl dd > * {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
  }
  /* 装飾 */
  .column.column-sp-1 {
    display: block;
  }
  .column.column-sp-1 > * {
    width: 100%;
  }
  .column.column-sp-2 > * {
    width: calc(50% - 25px/2);
  }
  .column.column-sp-3 > * {
    width: calc(100%/3 - 25px*2/2);
  }
  .ill.ill-thumbnail div {
    width: calc((100% - 20px) / 3);
    padding-top: calc((100% - 20px) / 3);
  }
  .ill.ill-com-thumbnail div {
    width: calc((100% - 20px) / 3);
    padding-top: calc((100% - 20px) / 2.3);
  }
}

/* ----- ▲ レイアウト　ここまで ▲ ----- */


.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}
