#container_title{
  display:none;
}
#sub-top {position: relative;height: 940px;max-height: 100vh;}
#sub-top .bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
#sub-top .inner {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
position: relative;
z-index: 1;
height: 100%;
}
#sub-top .text {
color: #fff;
text-align: center;
}
#sub-top .text img {height: 28px;}
#sub-top .text h2 {font-size: 40px;font-weight: 700;line-height: 1;margin-top: 0.73em;}
#sub-top .text p {font-size: 20px;line-height: 1.6em;margin-top: 1.22em;}
#sub-top br.m {
display: none;
}
#sub-content {
overflow: hidden;
background-color: #e9e1da;
}

/* ===== 1024px ===== */
@media (max-width: 1024px) {
  #sub-top{
    /* min-height: unset; */
    /* max-height: 1024px; */
  }
  #sub-top .text img{
    height: 20px;
  }
  #sub-top .text h2 {
      font-size: 30px;
  }
  #sub-top .text p{
    font-size: 18px;
  }
}

/* ===== 768px ===== */
@media (max-width: 768px) {
  #sub-top {
    min-height: unset;
    max-height: unset;
    aspect-ratio: 1 / 1.7;
    height: auto;
  }
  #sub-top .text img {
      height: 17px;
  }
  #sub-top .text h2 {
      font-size: 30px;
      margin-top: 0.9em;
  }
  #sub-top .text p {
      font-size: 14px;
      letter-spacing: -0.04em;
      line-height: 1.6em;
      word-break: keep-all;
  }
  #sub-top br.m {
      display: block;
  }
}
