@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;600;700&display=swap");
.border {
  padding: 8px;
  margin: 8px;
  border-color: #fbe21f;
}

/*------------------------------------------------------------
フッター
------------------------------------------------------------*/
.foonav-wrap {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 50px 0;
  text-align: left;
}

.foonav {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin: 0;
}

@media only screen and (max-width: 559px) {
  .foonav {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

footer ul, footer dl {
  list-style: none;
}

.footer-item {
  display: block;
  padding-right: 56px;
}

@media only screen and (max-width: 559px) {
  .footer-item {
    padding-right: 40px;
  }
}

@media only screen and (max-width: 374px) {
  .footer-item {
    padding-right: 30px;
  }
}

.footer-item dt a {
  font-family: "A1B", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

.footer-item:last-child {
  padding-right: 0;
}

.footer-item a:hover {
  top: 3px;
}

.copy {
  background-color: #83C1EF;
  color: #ffffff;
  font-size: 14px;
}

/* CSS Document */
@font-face {
  font-family: "kaimin";
  src: url("../font/kaimin.woff2") format("woff2"), url("../font/kaimin.woff") format("woff");
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.1em;
  font-family: 'kaimin','Noto Sans JP', 'Alegreya Sans', Meiryo, メイリオ, sans-serif;
  font-weight: 400;
}

body::before {
  background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy.jpg") center no-repeat;
  /* 画像（ここにfixedは入れない） */
  background-size: cover;
  /* cover指定できる */
  content: "";
  display: block;
  position: fixed;
  /* 擬似要素ごと固定 */
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  /* 横幅いっぱい */
  height: 100vh;
  /* 縦幅いっぱい */
}

body::before {
  -webkit-animation: image-change 20s linear infinite alternate;
          animation: image-change 20s linear infinite alternate;
}

@-webkit-keyframes image-change {
  0% {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy.jpg") center no-repeat;
  }
  10% {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy.jpg") center no-repeat;
  }
  50% {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy-g.jpg") center no-repeat;
  }
  80% {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy-y.jpg") center no-repeat;
  }
  99.9%, to {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy-y.jpg") center no-repeat;
  }
}

@keyframes image-change {
  0% {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy.jpg") center no-repeat;
  }
  10% {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy.jpg") center no-repeat;
  }
  50% {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy-g.jpg") center no-repeat;
  }
  80% {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy-y.jpg") center no-repeat;
  }
  99.9%, to {
    background: url("http://risokitai.com/novel/hajimono/wp-content/uploads/2022/02/yuriy-y.jpg") center no-repeat;
  }
}

html {
  font-size: 100%;
}

header, footer {
  display: block;
}

::-moz-selection {
  background: #39455E;
  color: #fff;
}

::selection {
  background: #39455E;
  color: #fff;
}

::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0);
  border-left: solid 2px #CCE1FF;
}

::-webkit-scrollbar-thumb {
  background: #fff;
  -webkit-box-shadow: inset 0 0 0 2px #fff;
          box-shadow: inset 0 0 0 2px #fff;
}

/*------------------------------------------------------------
汎用
------------------------------------------------------------*/
a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #333;
}

a:hover {
  cursor: pointer;
}

a:hover::after {
  width: 100%;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.inner {
  max-width: 984px;
  margin: auto;
  padding: 0 24px;
}

/*------------------------------------------------------------
ヘッダー
------------------------------------------------------------*/
header {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 80px 0 60px;
}

header a {
  display: inline-block;
  margin: 0 5px;
}

h1 {
  position: relative;
  margin: 0 auto;
  padding: 0;
  color: #fff;
  font-size: 60px;
  font-weight: normal;
  font-family: 'kaimin','和田研細明朝', "Hannari", "IPAex明朝", 'Alegreya Sans', 'メイリオ', sans-serif;
}

h1 span {
  display: block;
  font-size: 12px;
  letter-spacing: .2em;
}

.name {
  height: 60px;
  margin: 0 0 30px;
}

/*------------------------------------------------------------
名前変換
------------------------------------------------------------*/
input {
  padding: 0;
  margin: 0 0 15px;
  height: 46px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

@media only screen and (max-width: 619px) {
  input {
    height: 40px;
    font-size: 16px;
  }
}

input::-webkit-input-placeholder {
  color: #EABA22;
}

input:-ms-input-placeholder {
  color: #EABA22;
}

input::-ms-input-placeholder {
  color: #EABA22;
}

input::placeholder {
  color: #EABA22;
}

input[type=text] {
  width: 200px;
  margin-right: 0.5em;
  background: #fff;
  color: #39455E;
  font-weight: 900;
  cursor: text;
}

@media only screen and (max-width: 619px) {
  input[type=text] {
    width: 160px;
  }
}

input[type=submit] {
  width: 80px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  /* IOS用 */
  /*背景の色と形状*/
  background: -webkit-gradient(linear, right top, left top, from(#ffe6ef), color-stop(25%, #efd4fa), color-stop(51%, #758dd9), to(#8fb3e3));
  background: linear-gradient(270deg, #ffe6ef 0%, #efd4fa 25%, #758dd9 51%, #8fb3e3 100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  /*アニメーションの指定*/
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.changeName input[type="submit"]:hover {
  color: #fff;
  background-position: 99% 50%;
}

/*------------------------------------------------------------
メイン
------------------------------------------------------------*/
main {
  width: 100%;
  margin: auto;
}

article {
  width: 100%;
  margin: auto;
  counter-reset: number;
}

section {
  position: relative;
  margin: 40px 0 60px;
  padding: 0 0 60px;
  width: 100%;
  height: auto;
  text-align: justify;
  vertical-align: top;
}

section {
  -webkit-animation: bgcollar-change 20s linear infinite alternate;
          animation: bgcollar-change 20s linear infinite alternate;
}

@-webkit-keyframes bgcollar-change {
  0% {
    background-color: rgba(0, 69, 180, 0.1);
  }
  10% {
    background-color: rgba(0, 69, 180, 0.1);
  }
  50% {
    background-color: rgba(0, 0, 0, 0.1);
  }
  90% {
    background-color: rgba(180, 126, 0, 0.1);
  }
  100% {
    background-color: rgba(180, 126, 0, 0.1);
  }
}

@keyframes bgcollar-change {
  0% {
    background-color: rgba(0, 69, 180, 0.1);
  }
  10% {
    background-color: rgba(0, 69, 180, 0.1);
  }
  50% {
    background-color: rgba(0, 0, 0, 0.1);
  }
  90% {
    background-color: rgba(180, 126, 0, 0.1);
  }
  100% {
    background-color: rgba(180, 126, 0, 0.1);
  }
}

/*-------------------------------------------
リスト
--------------------------------------------*/
section a {
  display: block;
  font-family: "kaimin", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: normal;
  color: #fff;
}

section a:hover {
  color: #EABA22;
  text-indent: 2em;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

@media only screen and (max-width: 619px) {
  section a:hover {
    text-indent: 0;
  }
}

h2 {
  position: relative;
  margin: 0 0 32px;
  font-size: 45px;
  font-family: "kaimin", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: normal;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid #fff;
}

h2 > span {
  position: relative;
  margin-right: 1em;
  font-size: 28px;
  font-family: "kaimin", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: normal;
  letter-spacing: 0;
}

h3 {
  display: inline-block;
  margin: 20px 0 12px;
  border-bottom: 1px solid #EABA22;
  color: #EABA22;
  font-size: 18px;
  font-weight: 700;
}

.main-list_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 984px;
  margin: auto;
  padding: 0 40px;
}

@media only screen and (max-width: 889px) {
  .main-list_wrap {
    margin: 0 auto;
    max-width: 648px;
  }
}

@media only screen and (max-width: 619px) {
  .main-list_wrap {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.main-list_wrap .main-list {
  padding-top: 60px;
  width: 270px;
}

.main-list_wrap .main-list:last-child {
  padding-right: 0;
}

.main-list_wrap .main-list li {
  list-style: none !important;
  margin-bottom: 5px;
}

.main-list_wrap .main-list li:nth-child(10n+1) {
  margin-bottom: 20px;
}

/*----　リスト装飾　----*/
.main-list_wrap ol a::before {
  counter-increment: number;
  content: counter(number, decimal-leading-zero);
  margin-right: 10px;
  font-family: "Fira Code", monospace, "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 700;
  color: #EABA22;
}

/*----　ルート分岐リスト装飾　----*/
.main-list_wrap ol .end a::before {
  counter-increment: none;
  display: inline-block;
  content: '';
  margin-right: 15px;
  width: 1em;
  height: 1em;
  background: #EABA22;
  border-radius: 50%;
  vertical-align: -0.1em;
}

/*----　番外編リスト装飾　----*/
.main-list_wrap ul a::before {
  margin-right: 10px;
  font-weight: 700;
  color: #EABA22;
  font-family: "Font Awesome 5 Free";
  content: "\f69a";
}

/*------------------------------------------------------------
フッター
------------------------------------------------------------*/
footer {
  background: white;
}

/*------------------------------------------------------------
MediaQuery
------------------------------------------------------------*/
/*-----------------------------------------
SP SMALL(~319px)
------------------------------------------*/
/*-------SP SMALL--------*/
/*-----------------------------------------
SP(320~599px)
------------------------------------------*/
@media screen and (max-width: 599px) {
  .inner {
    width: 90%;
    padding: 0;
  }
  /*---------
	ヘッダー
	-----------*/
  header {
    height: 50px;
    margin: 0;
    padding: 80px 0;
  }
  h1 {
    width: 90%;
    font-size: 40px;
    font-family: 'kaimin';
  }
  .name {
    margin-bottom: 60px;
  }
  /*---------
	メイン
	-----------*/
  main {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .end a::before {
    counter-increment: none;
    display: inline-block;
    content: '';
    margin-right: 12px;
    width: 1em;
    height: 1em;
    background: #EABA22;
    border-radius: 50%;
    vertical-align: -0.1em;
  }
  section {
    margin: 0 auto 80px;
    width: 100%;
  }
  section a {
    padding-right: 0.5em;
  }
  h2 {
    position: static;
    width: 100%;
    font-size: 42px;
    font-family: 'kaimin';
  }
  .main-list_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 0 auto;
    width: 275px;
  }
}

/*-------SP--------*/
/*-----------------------------------------
TABLET SMALL(600~900)
------------------------------------------*/
/*# sourceMappingURL=hajimono.css.map */