* {
    margin: 0;
    padding: 0;
}


header {
    z-index: -10;
    position: sticky;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    top: 0;
    background: var(--bg-color-lb);
}

header .wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    padding-top: 10vh;
}

.typingText {
    width: 370px;
    height: 200px;
    font-size: 70px;
    line-height: 90px;
    font-weight: 600;
    letter-spacing : 0.1em;
    color: var(--main-color);
    filter: drop-shadow(0 0 5px rgb(89,118,186,0.15));
    white-space: pre-wrap;
    text-align: justify;
    margin-bottom: 50px;
    margin-left: 20px;
}
  
.typingText::after {
  content: "|";
  color: var(--main-color);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }    
}

.fadeIn_symbol {
    animation-name: fadeIn_symbol;
    animation-delay: 0s;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes fadeIn_symbol {
    0% {
    }
    100% {
        opacity: 0.5;
    }
}


header .co_logo {
    width: 160px;
    height: auto;
    margin: 0 auto 30px auto;
    padding-right: 1vw;
}
.scroll {
    font-family: var(--ing-font);
    font-size: 14px;
    line-height: 1;
}
.scroll::before {
    display: inline-block;
    width: 1px;
    height: 40px;
    content: "";
    margin-bottom: 10px;
    background-color: var(--text-color-bk);
}
.fadeIn_top {
    animation-name: fadeIn_top;
    animation-delay: 3s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateY(-50px);
    opacity: 0;
}
@keyframes fadeIn_top {
    0% {
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1150px) {
    header .wrap{
        padding-bottom: 10vh;
    }
}
@media (max-width: 530px) {
    header .wrap{
        padding-bottom: 15vh;
    }
    .typingText {
        width: 240px;
        height: 145px;
        font-size: 46px;
        line-height: 70px;
        margin-bottom: 30px;
      }
    header .co_logo {
        width: 120px;
    }
    .scroll::before {
        height: 36px;
    }
}
@media (max-width: 320px) {
    header .wrap{
        padding-bottom: 0;
    }
}

main {
    width: 100%;
    z-index: 10;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    border-radius: 6vh;
    background: var(--bg-color-wt);
}

.space {
    padding: 150px 0;
}
@media (max-width:530px) {
    .space {
        padding: 80px 0;
    }
}
.detail p {
    margin-bottom: var(--detail-link-full);
}
@media (max-width:530px) {
    .detail p {
        margin-bottom: var(--detail-link-530);
    }
}

.outer {
    width: 800px;
    margin: 0 auto;
}
.top_service {
    width: 100%;
    margin: 0 auto;
}
.pcs_wrap {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto;
}
.vertical {
    position: absolute;
    writing-mode: vertical-rl;
    font-size: 35px;
    line-height: 65px;
}

.onmt_pcs_img {
    position: absolute;
}
.pcs_o_L {
    width: 160px;
    top: 0;
    left: -380px;
    transform: rotate(-80deg);
}
.pcs_n_L {
    width: 117px;
    top: -50px;
    left: 800px;
    transform: rotate(140deg);
}
.pcs_m_L {
    width: 183px;
    bottom: 0;
    left: 0;
    transform: rotate(-30deg);
}
.pcs_t_L {
    width: 71px;
    bottom: 30px;
    left: 580px;
    transform: rotate(80deg);
}


.img_box {
    position: relative;
    width: 390px;
    height: 300px;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
    display: none;
}
.img_box img {
    position: absolute;
    display: block;
}
.pcs_o_S {
    width: 160px;
    top: 10px;
    left: 0;
}
.pcs_n_S {
    width: 117px;
    top: 0;
    left: 170px;    
}
.pcs_m_S {
    width: 183px;
    bottom: 10px;   
    left: 120px;  
}
.pcs_t_S {
    width: 71px;
    top: 60px;
    right: 5px;   
}

.scroll_pcs {
    opacity: 0;
    transform: translateY(-50px) rotate(45deg);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll_pcs.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}
.pcs_o_S.visible {
    transform: rotate(0deg);
}
.pcs_n_S {
    transition-delay: .2s;
}
.pcs_n_S.visible {
    transform: rotate(-18deg);
}
.pcs_m_S {
    transition-delay: .4s;
}
.pcs_m_S.visible {
    transform: rotate(19deg);
}
.pcs_t_S {
    transition-delay: .6s;
}
.pcs_t_S.visible {
    transform: rotate(18deg);
}

@media (max-width: 1150px) {
    .pcs_wrap {
        height: auto;
    }
    .onmt_pcs_img {
        display: none;
    }
    .img_box {
        display: block;
    }
}
@media (max-width: 830px) {
    .img_box {
        width: 360px;
        height: 280px;
        margin-top: 80px;
    }
    .img_box img {
        position: absolute;
        display: block;
    }
    .pcs_o_S {
        width: 148px;
        top: 5px;
        left: 0;
    }
    .pcs_n_S {
        width: 105px;
        top: 0;
        left: 155px;    
    }
    .pcs_m_S {
        width: 160px;
        bottom: 20px;   
        left: 115px;  
    }
    .pcs_t_S {
        width: 68px;
        top: 55px;
        right: 5px;   
    }
}
@media (max-width: 530px) {
    .img_box {
        width: 80%;
        height: 53vw;
        margin-top: 80px;
        margin-bottom: 80px;
    }
    .img_box img {
        position: absolute;
        display: block;
    }
    .pcs_o_S {
        width: 40%;
        top: 2%;
        left: 0;
    }
    .pcs_n_S {
        width: 30%;
        top: 0;
        left: 43%;    
    }
    .pcs_m_S {
        width: 45%;
        bottom: 5%;   
        left: 29%;  
    }
    .pcs_t_S {
        width: 18%;
        top: 22%;
        right: 2%;   
    }
}

.onmt_service_img {
    display: block;
    margin: 0 auto 100px auto;
    width: 450px;
    padding-right: 30px;
}
.scroll_service {
    opacity: 0;
    transform: translateY(-80px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll_service.visible {
    opacity: 1;
    transform: translateY(0);
}
.top_about .link {
    margin-bottom: 150px;
}


.top_about .link {
    margin-bottom: 150px;
}
@media (max-width: 1150px) {
    .outer {
        width: 75vw;
    }
    .vertical {
        position: static;
        margin: 0 auto;
    }
}
@media (max-width: 830px) {
    .vertical {
        font-size: 30px;
        line-height: 60px;
    }
    .top_about .link {
        margin-bottom: 100px;
    }
    .onmt_service_img {
        width: 420px;
        padding-right: 20px;
    }
}
@media (max-width: 530px) {
    .outer {
        width: 85vw;
    }
    .vertical {
        font-size: clamp(24px,12vw,28px);
        line-height: clamp(44px,22vw,48px);
    }
    .onmt_service_img {
        width: 75vw;
        margin-bottom: 80px;
    }
}

.top_dl_cont {
    display: none;
    background: var(--bg-color-lb);
}
.top_dl_cont .box {
    display: flex;
    align-items: flex-start;
}
.top_dl_cont img {
    display: block;
    width: 750px;
    height: 400px;
    object-fit: cover;
    margin-right: 7.8vw;
    border-radius: 0 2vh 2vh 0;
}
.top_dl_cont .wrap {
    width: 31vw;
    align-self: flex-end;
}

@media (max-width: 1430px) {
    .top_dl_cont img {
        width: 52vw;
    }
}
@media (max-width: 1150px) {
    .top_dl_cont .box {
        height: auto;
        flex-direction: column;
        justify-content: space-between;
    }
    .top_dl_cont img {
        width: 720px;
        margin-right: 0;
    }
    .top_dl_cont .wrap {
        width: 70vw;  
        margin-top: 100px;
        margin-right: 90px;
    }
}
@media (max-width:830px) {
    .top_dl_cont img {
        width: 87vw;
        height: 50vw;
    }
    .top_dl_cont .wrap {
        margin-top: 12vw;
        margin-right: 11vw;
    }
}
@media (max-width:530px) {
    .top_dl_cont .box {
        display: block;
    }
    .top_dl_cont img {
        width: 95vw;
    }
    .top_dl_cont .wrap {
        width: 85vw;
        margin: 12vw auto 0 auto;
    }    
}

.top_security {
    background: var(--pastel-color);
}
.top_security .wrap {
    margin: 0 auto;
    width: 1200px;
}
.top_security .wrapper{
    margin-bottom: 50px;
}
.top_security h2 {
    display: flex;
}
.top_security h2 .sub {
    align-self: flex-end;
    margin-left: 10px;
}
.top_security .box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.top_security .isms {
    background: var(--bg-color-wt);
    width: 700px;
    border-radius: 1.5vh;
    padding: 10px 20px 20px 20px;
    box-sizing: border-box;
}
.top_security .note {
    text-align: start;
}
.top_security img {
    width: 120px;
    height: auto;
    margin-top: 10px;
    margin-left: 30px;
    float: right;
}
@media (max-width:1450px) {
    .top_security .wrap {
        width: 83vw;
    }
    .top_security .isms {
        width: 48vw;
    }
}
@media (max-width:1150px) {
    .top_security h2 {
        display: block;
    }
    .top_security h2 .sub {
        margin-left: 0;
    }
    .top_security .box {
        flex-direction: column;
    }
    .top_security .isms {
        width: 100%;
        margin-bottom: var(--detail-link-full);
    }
}
@media (max-width:830px) {
    .top_security .wrapper{
        margin-bottom: 6vw;
    }
    .top_security .isms {
        padding: 1.2vw 2.4vw 2.4vw 2.4vw;
    }
}
@media (max-width:530px) {
    .top_security .wrap {
        width: 85vw;
    }
    .top_security .wrapper{
        margin-bottom: 10vw;
    }
    .top_security .box {
        display: block;
    }
    .top_security img {
        width: 100px;
        margin-left: 15px;
    }
    .top_security .isms {
        padding: 2vw 4vw 4vw 4vw;
        margin-bottom: var(--detail-link-530);
    }
}

.topics {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.topics .wrap {
    display: flex;
    justify-content: space-between;
    width: 50vw;
}
.topics .wrap:nth-child(1) {
    border-right: var(--text-color-gy) solid 1px;
    height: 450px;
}
.topics .wrapper { 
    width: 25vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 55px 2.5vw;
}
.topics img {
    display: block;
    width: 25vw;
    height: 450px;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
}
.topics .m_img {
    display: none;
}

@media (max-width:1150px) {
    .topics {
        flex-direction: column;
    }
    .topics .wrap {
        width: 100%;
    }
    .topics .wrap:nth-child(1) {
        border-right: none;
        border-bottom: var(--text-color-gy) solid 1px;
        height: auto;
    }
    .topics .wrapper { 
        width: 55vw;
        padding: 70px 5vw 0 5vw;
        justify-content: flex-start;
    }
    .topics .wrapper .link { 
        margin-top: var(--detail-link-full);
    }
    .topics img {
        width: 45vw;
        height: 450px;
    }
    .topics .m_img {
        display: block;
    }
    .topics .l_img {
        display: none;
    }
}

@media (max-width:530px) {
    .topics .wrap {
        flex-direction: column;
        margin-bottom: 100px;
    }
    .topics .wrap:nth-child(1) {
        border-bottom: none;
    }
    .topics .wrapper { 
        width: 85vw;
        margin: 0 auto;
        padding: 0;
    }
    .topics .wrapper .link { 
        margin-top: var(--detail-link-530);
    }
    .topics img {
        width: 100vw;
        height: 55vw;
        margin-bottom: 30px;
    }
}

.sns_policy_link {
    display: inline-block;
    text-decoration: underline;
    color: var(--vivid-color);
}