.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100vh;
    background: center; /*優秀*/
    background-image: url(../../img/top/hero_pc.jpg);
/*    background-size: 100% 100%;  旧設定*/
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-image p {
    position: absolute;
    font-size: 3em;
    letter-spacing: 0.5rem;
    /*color: white;文字は白に*/
    color: black;
    text-align: left;
    /*top:135px;*/
    /*left:135px;*/
    top:85px;
    right:85px;
}

.hero-image .font-red {
    color: #B6292D;
}

.scroll {
    position: absolute;
    bottom: 5em;
    width: 3em;
    height: 3em;
}
.scroll span {
    width: 1em;
    height: 1em;
    position: absolute;
    top: 25%;
    left: 33%;
    transform: translateY(0) rotate(-45deg);
    border-left: 1px solid #F5F5F5;
    border-bottom: 1px solid #F5F5F5;
    z-index: 2;
    animation: popping-arrow 2s infinite ease-out;
}
.scroll:hover span {
    transform: translateY(0.5em) rotate(-45deg);
    animation: paused;
}

@keyframes popping-arrow {
    0% {
      transform: translateY(0) rotate(-45deg);
    }
    30% {
      transform: translateY(0.5em) rotate(-45deg);
    }
    60% {
      transform: translateY(0) rotate(-45deg);
    }
  }


.span-title {
    font-size: 4em; /* 大きくする */
    position: absolute; /* 親要素に対して絶対位置を指定 */
    top: 240px; /* 上から10pxに配置 */
    right: 100px; /* 右から10pxに配置 */
    margin: 0; /* 不要なマージンをリセット */
    padding: 5px 10px;
    z-index: 10; /* 他の要素より前面に表示 */
    color: black;
    font-weight: bold;
}
.hero-image p {
    font-size: 3em;
    text-align: left;
    top: 350px;
    right: 100px;
    letter-spacing: 0.12rem;
    line-height: 1.5em; /* 文字と文字の上下の隙間を広げる */
    filter: none;
    
}

.span-bg {
    background-color: #FFFFFF;
    padding: 5px; /* パディングを少し増やして調整 */
    display: inline-block;
    margin: 10px 0;
}
@media screen and (max-width: 640px) {
    .hero-image {
        background-image: url(../../img/top/hero_kt.jpg);
    }
    .span-title {
        font-size: 2.8em; /* 大きくする */
        position: absolute; /* 親要素に対して絶対位置を指定 */
        top: 270px; /* 上から10pxに配置 */
        right: 10px; /* 右から10pxに配置 */
        margin: 0; /* 不要なマージンをリセット */
        padding: 5px 10px;
        z-index: 10; /* 他の要素より前面に表示 */
        color: black;
        font-weight: bold;
    }
    .hero-image p {
        font-size: 1.4em;
        text-align: left;
        top: 350px;
        right: 10px;
        letter-spacing: 0.12rem;
        line-height: 1.5em; /* 文字と文字の上下の隙間を広げる */
        filter: none;
        
    }

    .span-bg {
        background-color: #FFFFFF;
        padding: 5px; /* パディングを少し増やして調整 */
        display: inline-block;
        margin: 10px 0;
    }
}
@media screen and (max-width: 380px) {
}