@charset "UTF-8";
/* Scss Document */
html {
  font-size: 62.5%;
  height: 100%; }

/*---------------------------------
全ページ共通
---------------------------------*/

body {
  font-family: 'Noto Sans JP',"Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  font-size: 1.6rem;
  font-weight: 500;
  color: #000000;
  line-height: 1.6;
  letter-spacing: 1px;
  height: 100%;
  background-color: #24130d;
  background-image: url(./../bg/BARA_BG5_red.jpg);
  background-repeat: repeat;
  background-size: auto auto;
}/*左端のカラーライン*/
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 32px;/*幅*/
    height: 100%;
    background-color: #dadada;/*色*/
    z-index: -1; }


  #twitter-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .tweet {
    margin-bottom: 20px;
  }
  @media (min-width: 768px) {
    .tweet {
      width: 23%; /* PCで4列表示 */
    }
  }
  @media (max-width: 767px) {
    .tweet {
      width: 48%; /* スマホで2列表示 */
    }
  }


h2 {
  text-align: center;
  border-radius: 10px;
  background-color: rgb(250, 109, 109);
  color: #ffffff;
  width: 100%;
  font-family: 'Kaisei Decol';
  font-style: normal;
  font-weight: 400;
    font-weight: bold;
}

  
/* ボタン */
.button-container {

  text-align: center; /* テキストの中央揃えを使用してボタンを中央に */
  margin-top: 20px; /* マージンで上部からの距離を設定 */
}


.container_TITLE {
  position: relative;
  width: 100%;
  height: 60vw;
  overflow: hidden;
}
.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 2;
  animation: float 5s infinite alternate ease-in-out;
}
.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 1;
}
@keyframes float {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-20%);
  }
}

/* タブレット以上の画面幅の場合 */
@media screen and (max-width: 1350px) {
.container_TITLE {
  position: relative;
  width: 100%;
  height: 90vw;
  overflow: hidden;
}
  .bg-image {
      animation-duration: 5s; /* アニメーションの速度を遅く */
  }
}



/*文字関連*/
p {
  margin: 16px 0;
  font-family: 'Kaisei Decol';
  font-style: normal;
  font-weight: 400;
}

/*リンク*/
a {
  color: rgb(0, 4, 255);
  transition: 0.2s;
  font-family: 'Kaisei Decol';
  font-style: normal;
  font-weight: 400;
    font-weight: bold;
}

a:hover {
  opacity: 0.6;
  transition: 0.2s; }

h1, h2, h3 {
  padding-top: 4px;
  font-family: "Coda", "sans-serif"; 
  font-family: 'Kaisei Decol';
  font-style: normal;
  font-weight: 400;
    font-weight: bold;
  }

  

h2 {
  font-size: 3rem;
  font-family: 'Kaisei Decol';
  font-style: normal;
  font-weight: 400;
    font-weight: bold;
}

h4 {
  font-family: 'Kaisei Decol';
  font-style: normal;
  font-weight: 400;
    font-weight: bold;
}

h3 {
  margin: 24px 0 8px;
  padding-left: 8px;
  color: #a71b1b; 
  font-family: 'Kaisei Decol';
  font-style: normal;
  font-weight: 400;
    font-weight: bold;
}

em {
  text-decoration: underline;
  font-style: normal; }

ul, ol, dl {
  margin: 24px 0; }

/*ボタン関連*/
input {
  width: 50%;
  border: none;
  background-color: rgba(36, 19, 13, 0.05);
  margin-bottom: 8px;
  padding: 4px; }

input[type="submit"] {
  width: auto;
  cursor: pointer; }
input[type="submit"]:hover {
  opacity: 0.8;
  transition: 0.2s; }

.btn {
  background-color: #4e4449;
  border: 1px solid #24130d;
  margin: 16px 0;
  padding: 4px 8px;
  color: #fffffc;
  border-radius: 8px; }

a.btn {
  text-decoration: none;
  color: #fffffc; }

/*テキストエリア*/
textarea {
  padding: 4px;
  background-color: rgba(36, 19, 13, 0.05);
  border: 0; }

/*２カラム*/
.wrapper {
  display: flex; 
  z-index: 100;}
  @media screen and (max-width: 1023px) {
    .wrapper {
      display: block; } }

/*角丸のボックス*/
.box {
  background-color: #fffffc;
  border-radius: 16px; }

/*グリッドのリスト*/
.gridlist {
  display: grid;
  grid-template-columns: auto 1fr; }
  .gridlist dt {
    position: relative;
    padding-right: 8px;
    margin-bottom: 8px; }
    .gridlist dt::after {
      content: "";
      display: block;
      position: absolute;
      right: -16px;
      top: 6px;
      width: 0;
      height: 0;
      border: 6px solid #4e4449;
      border-color: transparent transparent transparent #4e4449; }
  .gridlist dd {
    padding-left: 32px; }

.hr{
  margin: 64px;
}
/*---------------------------------
PC用横幅設定
---------------------------------*/
@media screen and (min-width: 1024px) {
  header, footer {
    width: 1024px;
    margin: 0 auto; } }

/*---------------------------------
ヘッダー
---------------------------------*/
  @media screen and (min-width: 1024px) {
    header {
      display: flex;
      justify-content: space-between; } }
/*サイト名*/
  header h1 {
    margin: 24px 0;
    font-size: 4rem; }
    header h1 a {
      color: #fffffc;
      text-decoration: none; }
    @media screen and (max-width: 1023px) {
      header h1 {
        margin: 32px 0 0;
        text-align: center; } }

/*メニュー*/
.globalnav ul {
  display: flex;
  list-style: none;
  margin: 40px 0 32px;
  padding: 0; }
  @media screen and (max-width: 1023px) {
    .globalnav ul {
      justify-content: space-between;
      flex-wrap: wrap;
      padding: 0 16px;
      margin: 32px 0; } }
  .globalnav ul li {
    font-weight: 700;
    padding: 0 24px; }
    @media screen and (max-width: 1023px) {
      .globalnav ul li {
        padding: 0; } }
    .globalnav ul li a {
      color: #fffffc;
      text-decoration: none; }

/*---------------------------------
メイン
---------------------------------*/
/*２カラム　横幅設定*/
  @media screen and (min-width: 1024px) {
    main {
      width: 1048px;
      margin: 24px auto; }
      main .left {
        width: 675px;
        margin-right: 32px; } }
  @media screen and (max-width: 1023px) {
    main {
      padding: 0 8px; }
      main .left {
        width: 100%; } }

/*右側　サイドバー*/
  main .right {
    width: 318px;
    color: #fffffc; }
    @media screen and (max-width: 1023px) {
      main .right {
        width: 100%; } }
    main .right a {
      color: #fffffc; }
    main .right h3 {
      margin-top: 32px;
      color: #fffffc;
      border: none; }


/*セクション内の設定*/
  main section {
    margin-bottom: 32px; }
    main section .box {
      margin: 32px 0;
      padding: 24px; }
      main section .box h2 {
        margin: 0 -24px 32px;
        padding-left: 24px;
        background-color: #24130d; }
      main section .box > h3 {
        margin-top: 8px; }

/*更新内容*/
  main .news ul {
    list-style: none;
    padding: 0;
    height: 100px;
    overflow-y: auto; }
    main .news ul li {
      padding: 4px;
      border-bottom: 1px solid #4e4449; }

/*COMIC*/
  main #comic ul {
    list-style: none;
    padding: 0; }
    main #comic ul li {
      margin-top: 24px; }

/*Profile*/
  main .prof-left {
    min-width: 294px;
    text-align: center; }
    main .prof-left img {
      margin: 24px auto;
      border-radius: 50%; }
  main .prof-right .sns {
    display: flex;
    justify-content: flex-start;
    margin: 32px 0; }
    main .prof-right .sns a img {
      transition: 0.2s; }
      main .prof-right .sns a img:hover {
        opacity: 0.6;
        transition: 0.2s; }
    main .prof-right .sns i {
      font-size: 30px;
      margin-left: 16px; }
    main .prof-right .sns .pixiv img {
      border-radius: 0;
      margin: 0; }
    main .prof-right .sns .twitter i {
      color: #55acee; }
    main .prof-right .sns .facebook i {
      color: #315096; }
    main .prof-right .sns .instagram i {
      color: #e1306c; }

/*LINK*/
  main #link ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0; }
    main #link ul li {
      margin-right: 8px;
      margin-bottom: 8px; }

/*CONTACT*/
  main textarea {
    width: 100%;
    height: 100px; }

/*---------------------------------
フッター
---------------------------------*/
footer {
  text-align: center; }

/*クレジット*/
  footer small {
    color: #fffffc;
    padding: 16px 0; }
  footer a {
    color: #fffffc; }

/*トップへのボタン*/
  footer .totop {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 24px;
    background-color: #4e4449;
    border-radius: 8px; }
    @media screen and (max-width: 1023px) {
      footer .totop {
        right: 5px;
        bottom: 5px; } }
    footer .totop i {
      font-size: 2rem;
      margin: 8px; }

/*---------------------------------
漫画ページ
---------------------------------*/
body.comic {
  background-color: rgb(240, 172, 187);
   }
  @media screen and (max-width: 1023px) {
    body.comic::before {
      display: none; } }

main {
  position: relative; }

/*左側　メニュー*/
.comic-left {
  height: 100%;
  position: absolute;
  top: 24px;
  width: 256px;
  margin-right: 32px;
  background-color: #ffdadab2;
  border-radius: 15px;
  }

/*目次ボタン*/
  .comic-left .mokujibtn {
    position: absolute;
    bottom: 16px;
    left: -42px;/*スマホでの表示がずれるようであれば、-56pxくらいに変更してみてください*/
    width: 42px;
    height: 200px;
    display: inline-block;
    background-color: #ff1515;
    padding: 8px;
    color: #fffffc;
    border-radius: 8px 0 0 8px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl; }
    @media screen and (min-width: 1024px) {
      .comic-left .mokujibtn {
        display: none; } }

/*目次*/
  .comic-left ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 24px;
     }
    .comic-left ul li {
      margin-right: 16px; }
      .comic-left ul li a {
        text-decoration: none; }
  @media screen and (max-width: 1023px) {
    .comic-left {
      position: fixed;
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      background-color: #d4d4d4;
      z-index: 2;
      margin: 0;
      transform: translateX(100%);
      transition: 0.5s; }
      .comic-left.active {
        overflow-y: scroll;
        transform: translateX(0%);
        transition: 0.5s; }
      .comic-left ul {
        display: block;
        height: calc(100% - 134px);/*目次のバナー画像の高さの分だけ100%からマイナスしてください*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px; }
        .comic-left ul li{
          margin: 16px; }
        .comic-left ul li a {
          color: #fffffc; } }

@media screen and (max-width: 1023px) {
  .overlay {
    content: "";
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 252, 0.8);
    z-index: 1;
    opacity: 0;
    transition: 0.5s; }
    .overlay.active {
      opacity: 1;
      transition: 0.5s; } }

/*右側　漫画*/
.comic-right {
  background-color: #ffdadab2;
  border-radius: 15px;
  padding-bottom: 40px; }
  @media screen and (min-width: 1024px) {
    .comic-right {
      width: 736px;
      margin-left: 288px; } }

  .comic-right img {
    margin: 24px auto; }
    @media screen and (max-width: 1023px) {
      .comic-right img {
        margin: 8px auto; }
      .comic-right p {
        padding: 0 40px 40px; } }

/*前へ　次へボタンの配置*/
  .comic-right .wrapper {
    justify-content: space-around; }
    @media screen and (max-width: 1023px) {
      .comic-right .wrapper {
        display: flex; } }



        
    .vis-circle {
      position: absolute;
      border-radius: 50%;
      opacity: 0.0;
  }

  #visualisation > div {
      display: inline-block;
      position: absolute;
      bottom: 0px;
      height: 100vw;
  }

  #round-visualisation{
      position: absolute;
      width: 4%; 
      height: 4%; 
      top: 48%; 
      left: 48%; 
      background: #bf1aee; 
      border-radius: 50%;
  }

  #div-vis-round{
      position: relative; 
      top: 0%; 
      width: 30vmin; 
      height: 30vmin;
  }

  .center-div{
      display: block;
      margin-right: auto;
      margin-left: auto;
  }

  .button-container{
      width: 100%;
      bottom: 30px;
  }

  .play-button{
      padding: 5px 20px;
      border-radius: 4px;
      border: 1px solid black;
      margin-top: 20px;
      cursor: pointer;
  }
  .i-large,
  .i-medium,
  .i-small {
    z-index: 99999;
    position : fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    pointer-events: none;
  }

  .i-medium {
    background: url("") repeat 0px 0px;
    -webkit-animation: dropFlowParticles 12s linear infinite;
        -o-animation: dropFlowParticles 12s linear infinite;
            animation: dropFlowParticles 12s linear infinite;
  }
  .i-small {
    background:url("") repeat 0px 0px;
    -webkit-animation: dropFlowParticles 27s linear infinite;
        -o-animation: dropFlowParticles 27s linear infinite;
            animation: dropFlowParticles 27s linear infinite;
  }

  @-webkit-keyframes dropFlowParticles {
    from { background-position: 0 0; }
    to { background-position: 0 413px; }
  }
  @keyframes dropFlowParticles {
    from { background-position: 0 0; }
    to { background-position: 0 413px; }
  }