.top-div {
    position: relative;
    z-index: 10;
    /* display: grid;
    grid-template-columns: repeat(3, 1fr); */
  }
  .top-left {
    display: flex;
    flex-flow: column;
    align-items: flex-start;

    position: absolute;
    top: 3rem;
    left: 3rem;
  }
  .top-tsd{
    margin: 0.5rem;
    background-image: linear-gradient(
      90deg,
      rgba(var(--color-grd-1)),
      rgba(var(--color-grd-2))
    );
    color: white;

    letter-spacing: 1.5rem;

    display: inline-block;
    width: 20rem;
    padding-left: 1rem;
    font-size: 1.8rem
  }

  .top-right {
    display: flex;
    flex-flow: column;

    position: absolute;
    top: 1rem;
    right: 10rem;
    align-items: flex-end
  }
  .logo {
    width: 45%;
  }

  .top-center {
    display: flex;
    flex-flow: column;
    align-items: flex-start;

    height: 100vh;
  }
  .top-center span {
    color: rgb(var(--color-black));
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff,
      1px -1px 0 #fff, 0px 1px 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff,
      1px 0 0 #fff;
  }
  .top-center-title {
    position: relative;
    line-height: 10rem;
    top:3.5rem;
  }
  .top-center-title-y{
    font-size: 20rem;
  }
  .top-center-title-th{
    font-size: 8rem;
    position: absolute;
    bottom: 2rem;
    right: 1rem;
  }

  /*絶対配置で線を設定*/
  #top .border-line {
    /*線の位置*/
    position: absolute;
    left: 50%;
    transform: translateY(0%) translateX(-50%);
    -webkit-transform: translateY(0%) translateX(-50%);

    width: 3px; /*線の太さ*/
    height: 250%; /*はじめは高さを0に*/
    /* background: rgb(var(--color-black)); */
  }

  @media screen and (max-width:768px) { 
    .top-left{
      top: 5rem;
      left:0;
    }
    .top-right{
      right:3rem;
    }
    .logo {
      width: 30%;
    }
    .top-center-title-y{
      font-size: 10rem
    }
    .top-center-title-th{
      font-size: 2.5rem;
      position: absolute;
      bottom: 2rem;
      right: 1rem;
    }
    #top .border-line{
      display: none;
    }
    .top-tsd{
      font-size: smaller;
      width:13rem;
    }
    .title-bg-black h1{
      font-size: x-large;
    }
    .title-box{
      margin:0;
    }
    #top{ 
      margin-bottom:5rem;
    }
    
}
@media screen and (min-width:768px) and ( max-width:1024px) {
    /*　画面サイズが768pxから1024pxまで　*/
    .title-bg-black h1{
      font-size: x-large;
    }
}
@media screen and (min-width:1024px) {
    /*　画面サイズが1024pxから　*/
    .title-bg-black h1{
      font-size: xx-large;
    }
}