@charset "utf-8";



/*
main-image
*/
.main-image {
    background-image: url('../image/top-img.png');
    background-size: cover;
    background-position: center;
    min-height: 800px;
    display: flex;
    align-items: center;
}
.main-image--content {
    width: 90%;
    margin: 0 auto;
}
.main-image--wrap {
    width: 400px;
    margin-left: 30px;
    color: #fff;
}
.main-image--title {
    margin: 0;
    font-size: 65px;
    line-height: 1.5em;
}
.main-image--txt {
    margin: 40px 0;
    font-size: 20px;
}
@media screen and (max-width: 768px) {
    .main-image {
        background-image: url('../image/top-img_sp.png');
        min-height: 700px;
    }
    .main-image--wrap {
        margin: 0 auto;
    }
    .main-image--title {
        text-align: center;
    }
}
@media screen and (max-width: 480px) {
    .main-image {
        align-items: stretch;
    }
    .main-image--content {
        width: 100%;
        padding: 80px 30px;
    }
    .main-image--wrap {
        width: 100%;
    }
    .main-image--title {
        font-size: 40px;
        line-height: 1.3em;
    }
    .main-image--txt {
        margin: 30px 0;
        font-size: 16px;
    }
}

/* ============================
　　機密抹消の流れ START
============================ */
.bgimg--TOP--flow {
    background-image: url('../image/bgimg--TOP--flow.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center bottom;  
}
.TOP--flow .grid {
    margin: 50px 0 100px;
}
.TOP--flow .grid--item {
    position: relative;
    background-color: #fff;
    border: 1px solid #001E60;
    border-radius: 10px;
}
.TOP--flow--item--wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* アイテム全体が親に対して高さを持つ */
    padding: 20px;
}
.TOP--flow--item--wrap.icon::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    transition:all 0.6s;
}
.TOP--flow--item--wrap.icon::after {
    width: 20px;
    height: 20px;
    border: 0;
    border-top: 1px solid #1D2087;
    border-right: 1px solid #1D2087;
    transform: rotate(45deg);
    right: -20px;
}
.TOP--flow__img {
    height: 120px;
    text-align: center;
    z-index: 1;
    flex-shrink: 0; /* 画像部分は高さを縮めない */
}
.TOP--flow__img img {
    object-fit: cover;
}
.TOP--flow--item--title {
    flex: 1;
    height: 100%;
    min-height: 0%;
    display: flex;
    align-items: center;
    margin: 12px 0;
}
.TOP--flow--item--title h2 {
    display: inline-block;
    width: 100%;
    margin: 0;
    color: #2B2B2B;
    font-size: 20px;
    line-height: 1.2em;
    text-align: center;
}
.TOP--flow--item--wrap p {
    flex: 2;
    height: 100%;
    min-height: 0%;
    margin: 0 0 10px 0;
    line-height: 1.7em;
}


@media screen and (max-width: 1050px) {
    .bgimg--TOP--flow {
        background-size:100% auto;
    }
    .TOP--flow .grid {
        width: 80%;
        margin: 50px auto 0;
        flex-direction: column;
    }
    .TOP--flow .grid--item {
        width: 100%;
        margin-bottom: 30px;
    }
    .TOP--flow--item--wrap{
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
    }
    .TOP--flow__img,
    .TOP--flow--item--title,
    .TOP--flow--item--wrap p {
        -webkit-flex-grow: 1;
        flex-grow: 1;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .TOP--flow__img {
        width: 5%;
        height: 100%;
    }
    .TOP--flow--item--wrap p {
        flex: none;
        width: 100%;
        font-size: 12px;
        margin: 0;
    }
    .TOP--flow--item--wrap.icon::after {
        transform: rotate(135deg);
        top: unset;
        right: 0;
        left: 0;
        bottom: -20px;
        margin: 0 auto;
    }
}
@media screen and (max-width: 480px) {
    .TOP--flow .grid {
        width: 100%;
    }
    .TOP--flow__img,
    .TOP--flow--item--title {
        width: 100%;
    }
    .TOP--flow__img {
        width: 100%;
    }
    .TOP--flow--item--title h2 {
        font-size: 18px;
    }
}
/* ============================
　　機密抹消の流れ END
============================ */