@charset "UTF-8";
/* コンテンツ */

@keyframes kira_mv {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

#mainimg {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
#mainimg img {
    width: 100%;
}
.kira_mv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: color-dodge;
    z-index: 1;
}
.kira_mv video {
    display: block;
    width: auto;
    height: 100%;
    animation: kira_mv 2s ease 1s normal both;
}

.main_tx1 {
    position: absolute;
    top: calc(50px + 7%);
    left: 0;
    right: 0;
    width: 45%;
    margin: auto;
    z-index: 2;
}
.main_tx1 h2 {
    width: 40%;
    margin: 0 auto 5%;
}
.main_tx1 h3 {
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
}
.main_tx2 {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    width: 60%;
    margin: auto;
    color: #fff;
    z-index: 2;
}
.main_tx2 p {
    font-size: 1.5vw;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
}
.main_tx2 h4 {
    margin: 3% auto;
}
.main_tx2 h4 span {
    display: inline-block;
    background-color: #00784d;
    font-weight: normal;
    font-size: 1.5vw;
    padding: 0.5em 1em;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}
.main_tx2 h5 {
    line-height: 0;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
}
.main_mark {
    position: absolute;
    right: 3%;
    bottom: 4%;
    width: 15%;
    z-index: 2;
}
.main_riben {
    position: absolute;
    left: 8%;
    top: calc(50px + 12%);
    width: 16%;
    z-index: 2;
}

@media screen and (max-width: 960px) {

#mainimg {
    aspect-ratio: 1;
}
.main_tx1 {
    top: calc(50px + 7%);
    width: 55%;
}
.main_tx2 {
    bottom: 5%;
    width: 80%;
}
.main_tx2 p {
    font-size: 2vw;
}
.main_tx2 h4 span {
    font-size: 2vw;
}
.main_mark {
    right: 3%;
    bottom: auto;
    bottom: 25%;
    width: 18%;
}

.main_riben {
    left: 5%;
    top: calc(50px + 3%);
    width: 22%;
}
}


@media screen and (max-width: 520px) {

#mainimg {
    aspect-ratio: 1 / 1.2;
}
.main_tx1 {
    top: calc(40px + 5%);
    width: 65%;
}
.main_tx2 {
    bottom: 5%;
    width: 80%;
}
.main_tx2 p {
    font-size: 3vw;
    line-height: 1.5;
}
.main_tx2 h4 span {
    font-size: 3vw;
}
.main_mark {
    right: 3%;
    bottom: 25%;
    width: 20%;
}

.main_riben {
    left: 4%;
    top: calc(40px + 2%);
    width: 26%;
}

}
