body {
    overflow: clip;
}

main#main>.parallax {
    display: block;
    position: sticky;
    top: 0;
    z-index: -2;
    height: 0;
    max-height: 0;
    overflow: visible;
}

main#main>.parallax::after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

main#main>.parallax.bg01::after {
    background: url(/cil/top/img/main_4.jpg) no-repeat top center;
    background-size: cover;
}

@media screen and (min-width: 800px) {
    main#main>.parallax.bg01::after {
        background-size: cover;
        background-position-y: center;
    }
}

#main-view-wrap {
    position: relative;
}

#main-view {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#main-view:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

#main-view>.wrap {
    position: relative;
    z-index: 1;
    padding: 27vw 6vw calc(25vw - 70px);
}

#main-view h2 {
    font-size: 6.5vw;
}

#main-view h2 small {
    font-size: .6em;
    font-weight: bold;
}

#main-view .in-text {
    margin: clamp(50px, 10vw, 90px) 0 0 0;
}

#main-view .in-text ul {
    font-size: 3.5vw;
    font-weight: bold;
    padding: 1.5em 2em;
    background-color: #ffffffbb;
    line-height: 1.2em;
    box-shadow: 0 0 15px #ffffffbb;
}


#main-view .in-text ul li:not(:first-of-type) {
    margin-top: .5em;
}

#main-view .in-text ul li>span {
    display: block;
    letter-spacing: 0.1em;
    font-family: 'Roboto';
}

#main-view .in-text ul li>span em {
    display: inline-block;
    color: #aa003e;
    width: 1.2em;
    height: 1.2em;
    text-align: center;
    padding: .1em 0.2em 0 0.3em;
    margin-right: -0.1em;
    font-size: 1.4em;
}

#main-view .in-text ul li>small {
    display: block;
    font-size: .7em;
    padding-left: 2em;
    margin-top: 0.3em;
}

@media screen and (min-width: 800px) {
    #main-view {
        background-position-x: center;
        display: block;
    }

    #main-view>.wrap {
        padding: clamp(150px, 11vw, 300px) 0 clamp(35px, 2vw, 200px);
        margin: 0 auto;
        width: 80%;
        max-width: 1200px;
    }

    #main-view h2 {
        font-size: clamp(40px, 3.4vw, 60px);
    }

    #main-view .in-text {
        margin: clamp(15px, 1.5vw, 40px) auto 0 auto;
        display: flex;
        justify-content: flex-end;
    }

    #main-view .in-text ul {
        display: inline-block;
        font-size: clamp(21px, 1.6vw, 24px);
        padding: .8em 2.3em;
    }
}


/* アニメーションの発火位置 */
#in-text-view {
    visibility: hidden;
    height: 1px;
    margin-top: -200px;
    padding-top: 200px;
}

html[lang="en"] #in-text-view {
    margin-top: -50px;
    padding-top: 50px;
}

/* アニメーションの初期状態 */
#main-view .in-text ul
/* #main-view .in-text ul li span em,
#main-view .in-text ul li span span,
#main-view .in-text ul li small */
{
    opacity: 0;
    /* transform: translateY(20px); */
    transition: opacity 1.5s ease, filter 1.5s ease, transform 0.6s ease;
    filter: blur(5px);
}

/* .onが付いたら順に表示 */
#main-view .in-text.on ul {
    opacity: 1;
    /* transform: translateY(0); */
    -webkit-filter: blur(0);
    filter: blur(0);
    transition-delay: 0.5s;
}

/* #main-view .in-text.on ul li span em {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

#main-view .in-text.on ul li span span {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

#main-view .in-text.on ul li small {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.7s;
} */





#news {
    overflow-y: auto;
    padding: 50px 0;
    background-color: #fafafa;
}

#news .sec-head {
    position: relative;
    margin: 0 0 10px;
}

#news .sec-head h3 {
    position: relative;
    display: flex;
    gap: 1em;
    align-items: center;
}

#news .sec-head h3>strong {
    flex-shrink: 0;
}

#news .sec-head h3:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

#news .sec-head a {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    color: #333;
    text-decoration: none;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#news .sec-head a:hover {
    text-decoration: underline;
}

#news .sec-head a:after {
    content: '';
    display: inline-block;
    margin-left: 10px;
    border: 6px solid transparent;
    border-left: 8px solid rgba(0, 0, 0, 0.3);
}

#news .sec-body {
    padding-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
}

#news .sec-body article {
    width: 100%;
}

#news .sec-body article .art-in {
    position: relative;
    padding: 15px 30px 15px 0;
    height: 100%;
}

#news .sec-body article .art-in .art-meta {
    vertical-align: middle;
    margin-bottom: .5em;
}

#news .sec-body article .art-in .art-meta .art-date {
    opacity: .6;
    font-weight: bold;
    position: relative;
    padding-right: 14px;
    margin-right: 9px;
}

#news .sec-body article .art-in .art-meta .art-date::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 70%;
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%);
}

#news .sec-body article .art-in .art-meta .cate-tag {
    display: inline-block;
    background-color: #ccc;
    color: #333;
    padding: 0em 0.8em;
    margin-right: .3em;
    font-size: 0.8em;
    font-weight: bold;
    line-height: 1.8em;
}

#news .sec-body article .art-in h4 {
    font-size: 15px;
    text-decoration: underline;
}

#news .sec-body article .art-in a {
    background: url(/cil/common/img/icon_link-ex.svg) no-repeat right center;
}

#news .sec-body article .art-in a[href^="/cil/"],
#news .sec-body article .art-in a[href^="/secure_staff-all/"] {
    background: url(/cil/common/img/icon_link.svg) no-repeat right center;
}

#news .sec-body article .art-in:hover h4 {
    text-decoration: none;
}

#news .sec-body article.nolink .art-in h4 {
    text-decoration: none;
}

#news .sec-footer a {
    display: block;
    width: 80%;
    margin: 0 auto;
    background-color: #6e6e6e;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: .5em 1em;
    border-radius: 30px;
    max-width: 350px;
    font-weight: bold;
    position: relative;
    transition: opacity .3s;
}

#news .sec-footer a::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

#news .sec-footer a:hover {
    opacity: .8;
}

.sec.sec01 .sec-head p a i {
    margin-left: 5px;
}

.sec.sec01 .sec-head .sec-head-in.youtube-box {
    text-align: center;
    margin: 50px auto;
}

.sec.sec01 .sec-head .sec-head-in.youtube-box .youtube-box-inner {
    border: 2px solid #ccc;
    padding: 10px 20px;
    background: #eee;
}

.sec.sec01 .sec-head .sec-head-in.youtube-box .youtube-box-in {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.sec.sec01 .sec-head .sec-head-in.youtube-box .youtube-box-in iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}

.sec.sec01 .sec-head .sec-head-in.youtube-box p {
    margin: 0 0 15px;
}

.sec.sec01 .sec-head .sec-head-in.youtube-box p.txt-right {
    margin: 15px 0 0;
    text-align: right;
}

ul#greeting li .li-in .li-img {
    width: 50%;
    max-width: 300px;
    margin: auto;
}

ul#greeting li .li-in .li-img span {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
}

ul#greeting li .li-in .li-img span img {
    position: absolute;
    top: 55%;
    left: 50%;
    width: 100%;
    height: auto;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

ul#greeting li .li-in .li-dtl h4 {
    text-align: center;
    margin: 10px 0 0;
}

ul#greeting li:not(:first-child) {
    margin: 50px 0 0;
}

@media screen and (min-width: 800px) {
    #news {
        width: 100%;
        padding: 60px 0px 60px;
        height: 35% !important;
    }

    #news .sec-body {
        letter-spacing: -.4em;
        margin: 0 -15px;
        padding-bottom: 50px;
        gap: 0.5em 0;
    }

    #news .sec-body article {
        letter-spacing: normal;
        display: inline-block;
        vertical-align: top;
        width: 50%;
    }

    #news .sec-body article .art-in {
        letter-spacing: .05em;
        padding: 7px 45px 7px 15px;
    }

    #news .sec-body article .art-in a {
        background: url(/cil/common/img/icon_link-ex.svg) no-repeat 98% center;
    }

    #news .sec-body article .art-in a[href^="/cil/"],
    #news .sec-body article .art-in a[href^="/secure_staff-all/"] {
        background: url(/cil/common/img/icon_link.svg) no-repeat 98% center;
    }

    .sec.sec01 .sec-head {
        display: flex;
        margin-left: -50px;
    }

    .sec.sec01 .sec-head .sec-head-in {
        flex: 0 1 50%;
        padding-left: 50px;
    }

    .sec.sec01 .sec-head .sec-head-in.youtube-box {
        margin: 0;
    }

    ul#greeting li .li-in {
        overflow: hidden;
    }

    ul#greeting li .li-in .li-img {
        float: left;
        width: 300px;
    }

    ul#greeting li .li-in .li-dtl {
        margin: 0 0 0 300px;
        padding: 0 0 0 5%;
    }

    ul#greeting li .li-in .li-dtl h4 {
        text-align: left;
        margin: 0;
    }
}
