@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap");
@import url("https://use.typekit.net/zkq2emd.css");
@font-face {
    font-family: "Yantramanav";
    src: url("/assets/fonts/Yantramanav-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    text-rendering: geometricPrecision;
}

.top-header {
    display: block;
    width: 100%;
    height: 130vw;
    position: relative;
    text-align: center;
}

img.top-header-image {
    width: 100%;
}

.header-overlay {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    opacity: 1;
    background: url(../assets/images/general/kv_dot.png) repeat 0 0;
    background-size: 4px 4px;
}

.header-overlay::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.header-overlay img {
    opacity: 30%;
}

.top-header img {
    position: relative;
    top: 0px;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    filter: brightness(0.8);
}

.top_ttl {
    position: absolute;
    color: white;
    transform: translate(20vw, 50vw);
    z-index: 2;
    font-family: rift, sans-serif;
    letter-spacing: 2px;
    font-size: 14vw;
    width: 60vw;
    text-align: center;
}

.service-top-parent {
    width: 100%;
    padding: 8vw 0px;
    background: url(../assets/images/general/bg-pc.png);
    background-repeat: no-repeat;
    background-size: 300%;
    background-position: -230vw 0vw;
    margin: 7vw 0vw;
}

p.service-single-text {
    width: 90%;
    margin: 4vw auto;
    font-size: 12px;
}

.service-top-section h2 {
    color: #ac1821;
    font-size: 15vw;
    margin: 0;
    font-family: rift, sans-serif;
    line-height: 1;
    padding-top: 1vw;
    letter-spacing: 0;
}

.service-top-section p {
    color: #ac1821;
    font-size: 4vw;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.service-top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-top-ttl-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.homepage-main {
    width: 100%;
    height: max-content;
    overflow: hidden;
    padding-bottom: 5vw;
}

.hp1 {
    display: block;
    width: 100%;
    height: max-content;
    float: right;
    padding-bottom: 28px;
}

.hp1-text-parent {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 5px;
}

.hp1 img {
    width: 100%;
    height: auto;
}

p.hp1-ttl {
    margin: 0;
    width: max-content;
    padding-right: 2%;
    color: #bd1821;
    font-size: 4vw;
    letter-spacing: 1px;
}

.hp1-text {
    width: 90%;
    font-size: 12px;
    /* letter-spacing: 1px; */
}

.hp2 {
    display: block;
    width: 100%;
    height: max-content;
    float: left;
    padding-bottom: 28px;
}

.hp2-text-parent {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-top: 5px;
}

.hp2 img {
    width: 100%;
    height: auto;
}

p.hp2-ttl {
    margin: 0;
    width: max-content;
    padding-right: 2%;
    color: #bd1821;
    font-size: 4vw;
    letter-spacing: 1px;
}

.hp-line {
    border-top: 1px solid #bd1821;
    height: 1px;
    width: 60%;
    margin: 6px 2px 12px 2px;
}

.hp2-text {
    width: 90%;
    font-size: 12px;
    /* letter-spacing: 1px; */
}

.ob-parent {
    width: 70%;
    height: auto;
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 13% 0% 17% 0%;
    flex-direction: column;
}

.ob-parent img {
    width: 50%;
}

p.ob {
    font-size: 5.5vw;
    margin: 1% auto;
    font-family: yu-mincho-pr6n, sans-serif;
}

.scroll-d {
    writing-mode: vertical-rl;
    font-size: 1.9vw;
    letter-spacing: 2px;
}

.hp-parent1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* padding-bottom: 5%; */
}

.hp-parent2 {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    /* padding-bottom: 5%; */
}

p.cw {
    color: #bd1821;
    font-weight: bold;
    margin: 0px 0px 0px 10px;
    width: max-content;
    font-family: "Yantramanav", sans-serif;
    overflow: hidden;
    font-size: 2.5vw;
    /* letter-spacing: 2px; */
    padding: 0px 2vw;
}

.home-rec-parent {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
}

.home-rec {
    display: flex;
    width: 100%;
    /* margin-bottom: -1%; */
}

.home-rec img {
    width: 100%;
    height: 100%;
    padding-top: 30px;
}

.home-rec2 {
    width: 100%;
    height: 210px;
    display: flex;
    align-items: center;
    background: #bd1821;
    flex-direction: column;
    justify-content: center;
}

.home-rec2 img {
    width: 40%;
    margin: auto;
    display: flex;
}

p.home-rec-text {
    font-size: 3.6vw;
    width: max-content;
    color: white;
    text-align: center;
    margin: auto;
    line-height: 1.2;
    letter-spacing: 1px;
}

span.home-rec-text2 {
    font-size: 2vw;
    text-align: center;
    margin: 0;
    letter-spacing: 1.5px;
}

.home-more-info {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    text-align: left;
    padding: 12% 0% 7% 0%;
    border-bottom: 1px solid gray;
}

p.home-info-ttl,
p.home-info-ttl2,
p.home-info-ttl3 {
    color: #bd1821;
    /* width: 50%; */
    height: 96%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    padding-right: 22px;
    letter-spacing: 1px;
}

ul.home-info,
ul.home-info2,
ul.home-info3 {
    width: 50%;
    border-left: 0.5px solid gray;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    /* margin: 28px 0px; */
    /* height: max-content; */
}

li.home-info,
li.home-info2,
li.home-info3 {
    text-align: left;
    line-height: 2;
    font-size: 10px;
    text-align: left;
    line-height: 3;
    list-style-type: none;
    display: flex;
    letter-spacing: 1px;
}

li.home-info::before,
li.home-info2::before,
li.home-info3::before {
    content: "-";
    text-indent: -22px;
}

.home-info-1,
.home-info-2,
.home-info-3 {
    width: 90%;
    height: max-content;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    /* margin: 1% 0% 6% 5%; */
    margin: auto;
    overflow: hidden;
    align-items: center;
}

video {
    height: 100%;
    min-height: 157vw;
    margin-top: 52px;
    transform: translateX(-90vw);
}

/* .home-info-2 {
        width: 250px;
        border-left: 1px solid gray;
        border-right: 1px solid gray;
    } */

.home-news {
    padding-top: 10%;
    width: 100%;
    margin: auto;
    text-align: center;
}

.page-ttl-parent {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 45%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

span.jpn-text {
    border-bottom: 1px solid white;
    padding-bottom: 1vw;
    padding: 0vw 3vw 1vw 3vw;
}

.line_parent {
    position: relative;
    width: 1px;
    height: 14vw;
    overflow: hidden;
    /* background: blue; */
}

.thin_line {
    background-color: black;
    width: 1px;
    height: 14vw;
    text-align: center;
    position: absolute;
    top: 0%;
    animation: scrolldown_animation 3.5s ease 0s infinite;
}

@keyframes scrolldown_animation {
    0% {
        transform: translateY(-100%);
    }
    20%,
    75% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(120%);
    }
}

.hvr p {
    display: block;
    opacity: 0;
    height: 100%;
    width: 100%;
}

a.s-link {
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.hvr {
    width: 100%;
    height: 100%;
    background: transparent;
    position: absolute;
}
