@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Boldonse');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

:root {
  --mode: 0vh;
  --kabe: none;
  --fontsize: calc(((2vw) + 2vh) / 2);
  --iconsize: min(calc(((8vw) + 8vh) / 2), 60px);
  --err: none;
  --nit: 100vw;
  --menu: 50vw;
  --var: calc(1);
  --height: 10vh;
  --menu0: none;
  --menu1: none;
  --color: #234059;
  --windowColor: #3e566b;
  --lineColor: #789f6d;
  --errColor: #9d5757;
  --fontColor: #e7d3b7;
  --setting: none;
  --select: 50vw;
  --pc: 0vw;
  --vh:100vh;
  --vw:100vw;
}
html {
  overscroll-behavior: none;
}
body {
  margin: 0;
  font-family: sans-serif, 'Boldonse';
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-size: calc(var(--vh) * 0.017);
  z-index: 5;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  touch-action: manipulation; /* ジェスチャー制限 */
  -ms-touch-action: manipulation;
}
.yohaku {
  height: calc(var(--vh) * 0.17);
}

.window {
  opacity: 0;
  width: calc(var(--vw) * 0.5);
  height: calc(var(--vh) * 0.1);
  left: calc(var(--vw) * 0.25);
  top: calc(var(--vh) * 0.08);
  background: var(--windowColor);
  border-radius: calc(var(--vw) * 0.02);
  margin: 0;
  position: fixed;
  z-index: 99;
  overflow: hidden;
  border: 1px solid var(--color);
  pointer-events: none;

  .text {
    color: var(--fontColor);
    margin-top: calc(var(--vh) * 0.02);
    font-size: calc(var(--vh) * 0.025);
    text-align: center;
    line-height: calc(var(--vh) * 0.03);
  }

  .line {
    position: absolute;
    height: calc(var(--vh) * 0.005);
    width: calc(var(--vw) * 0.5);
    top: calc(var(--vh) * 0.095);
    background-color: var(--lineColor);
    box-sizing: content-box;
  }
}

header {
  width: 100vw;
  height: calc(var(--vh) * 0.1);
  background: var(--color);
  display: flex;
  flex-direction:row;
  margin: 0;
  position: fixed;
  z-index: 10;
  justify-content: flex-end;
  .title {
    div{
      position: fixed;
      font-family: "Source Sans 3";
      font-size: 6vh;
      height: calc(var(--vh) * 0.08);
      font-weight: bold;
      text-align: center;
      color: var(--fontColor);
      left: calc(var(--vh) * 0.01);
      top: calc(var(--vh) * 0.05);
      transform: translate(0%, -50%);
    }
  }

  .title:hover {
    cursor: pointer;
  }
  .headerDivs{
    display: flex;
    align-items: center;
    .headerDiv {
      align-items: center;
      margin-top:4vh;
      width: calc(var(--vw) * 0.15);
      margin: 0 calc(var(--vw) * 0.025);
      text-align: center;
      color: var(--fontColor);

      transition-duration: .3s;

      .tool {
        transform: translate(0%, -50%);
        margin-top: calc(var(--vh) * 0.04);
      }

      .material-symbols-outlined {
        font-size: calc(var(--vh) * 0.038);
      }

      .name {
        font-size: min(calc(var(--vw) * 0.02));
      }

      .icon {
        height: calc(var(--vh) * 0.038);
        width: calc(var(--vh) * 0.038);
        border-radius: calc(var(--vh) * 0.019);
        object-fit: cover;

      }
    }
  }
}

.scroll {
  margin-top: 1vh;
  position: fixed;
  height: 5vh;
  font-size: 2.3vh;
  top: 10vh;
  justify-content: center;

  .scrollGenre {
    width: 100vw;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;

    .genre {
      height: 5vh;
      margin-right: 0.5vw;
      margin-left: 1vw;
      padding: 0.3vh 1vw;
      background: var(--color);
      border-radius: 5vh;
      text-align: center;
      color: var(--fontColor);
      transition-duration: .3s;

      div {
        transform: translate(0%, -50%);
        margin-top: 2.5vh;
      }
    }

    .genre:hover {
      cursor: pointer;
      transform: scale(1.05, 1);
    }

    #all {
      background-color: rgb(0, 29, 54);
    }
  }
}


.posts {
  margin: 3vh 1vw 0vh 1vw;
  display: flex;
  width: 100vw;
  .icon {
    height: 10vw;
    width: 10vw;
    border-radius: 5vw;
    object-fit: cover;
  }
  .nit {
    display: flex;
    align-items: center;
    height: 3.5vw;

    .name {
      -webkit-user-select: text;
      -moz-user-select: text;
      -ms-user-select: text;
      user-select: text;
      margin-left: 1vw;
      font-size: 3.5vw;
    }

    .name:hover {
      cursor: pointer;
    }

    .id {
      font-size: 3vw;
      color: rgba(0, 0, 0, 0.4);
    }

    .time {
      font-size: 3vw;
      color: rgba(0, 0, 0, 0.4);
      margin-left: 3vw;
    }
  }

  .content {
    font-size: 3vw;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    margin:0.25vh 0;
    margin-left: 1vw;
  }

  .images_1 {
    img {
      width: 65vw;
      max-height: 75vw;
      object-fit: cover;
      border-radius: 3vw;
      border: 1px solid rgba(0, 0, 0, 0.3);
    }
  }

  .images_2 {
    height: 30vh;
    width: 65vw;
    border-radius: 3vw;
    border-image: auto;
    overflow: hidden;

    #imageGroup0 {
      display: flex;
    }

    img {
      width: 32.5vw;
      height: 30vh;
      object-fit: cover;
      border: 1px solid rgba(0, 0, 0, 0.3);
    }
  }

  .images_3 {
    height: 30vh;
    width: 65vw;
    display: flex;
    border-radius: 3vw;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.3);

    #imageGroup0 {
      width: 50%;
      height: 50%;

      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
      }
    }

    #imageGroup2 {
      width: 49.5%;
      margin-left: 0.5%;
      height: 100%;

      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-right: 1px solid white;
      }
    }
  }

  .images_4 {
    height: 30vh;
    width: 65vw;
    display: flex;
    border-radius: 3vw;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.3);

    #imageGroup0 {
      width: 50%;
      height: 50%;

      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
      }
    }

    #imageGroup2 {
      width: 49.5%;
      margin-left: 0.5%;
      height: 50%;

      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-right: 1px solid white;
      }
    }
  }
}
.posts:hover {
    cursor: pointer;
}
.RLV{
  font-size: 4vw;
  height:5vh;
  margin-right:calc(100vw * 0.5 / 4);
  display:flex;
  justify-content: space-around;
  align-items: center;
  color: rgba(0,0,0,0.4);
  span:hover{
    cursor:pointer;
  }
  span {
    line-height:5vh;
    font-size: 3vh;
  }
  .favorite{
    font-size: 4vw;
    line-height:5vh;
    display:flex;
    .num{
      margin-left:1vw;
    }
     span {
      line-height:5vh;
      font-size: 4vh;
    }
  }
  .view{
    line-height:5vh;
    display:flex;
    .num{
      margin-left:1vw;
    }
  }
  .reply{
    line-height:5vh;
    display:flex;
    .num{
      margin-left:1vw;
    }
  }
}

.postLine{
  width: calc(var(--vw) * 1);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  height: 1px;
}

.noting {
  top: calc(var(--vh) * 0.05);
  position: relative;
  text-align: center;
  font-size: calc(var(--vh) * 0.025);
  z-index: 0;
}

footer {
  position: fixed;
  bottom: 0;
  height: calc(var(--vh) * 0.08);
  width: calc(var(--vw) * 1);
  background-color: var(--color);
  display: flex;
  z-index: 5;
  justify-content: space-around;
  #home {
    .material-symbols-outlined {
      font-size: calc(var(--vh) * 0.05);
    }
  }

  .footerDiv {
    height: calc(var(--vh) * 0.08);
    width: calc(var(--vw) * 0.15);
    margin: 0 calc(var(--vw) * 0.025);
    text-align: center;
    color: var(--fontColor);

    transition-duration: .3s;

    .tool {
      transform: translate(0%, -50%);
      margin-top: calc(var(--vh) * 0.04);
    }

    .material-symbols-outlined {
      font-size: calc(var(--vh) * 0.038);
    }

    .name {
      font-size: min(calc(var(--vw) * 0.02));
    }

    .icon {
      height: calc(var(--vh) * 0.038);
      width: calc(var(--vh) * 0.038);
      border-radius: calc(var(--vh) * 0.019);
      object-fit: cover;

    }
  }

  .footerDiv:hover {
    cursor: pointer;
  }
}

.space {
  width: calc(var(--vw) * 1);
  height: calc(var(--vh) * 0.08);
}