.video__wrap {
    position: relative;
    padding: 0;
}
.video__wrap video {
    width: 100%;
    height: auto;
}
.video__wrap .kv__overlay {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 15%, rgba(1, 0, 33, 0.8) 34%, rgba(3, 30, 75, 0.75) 53%, rgba(3, 30, 75, 0.7) 68%, rgba(3, 30, 75, 0.65) 90%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99%;
    /* ビデオに合わせた高さ */
    z-index: 2;
}
.kv__topLead {
    position: absolute;
    top: 47%;
    transform: translateY(-47%);
    right: 15%;
    color: var(--e4n-font-white);
    z-index: 3;
    padding-left: 20%;
}
.kv__topLead h1 {
    font-size: 6rem;
    font-family: var(--e4n-font-eng);
    line-height: 1;
    font-weight: 100;
}

.kv__topLead h1 span {
    font-size: 6rem;
    line-height: 1.1;
}

.kv__topLead p {
    font-family: var(--e4n-font-jp);
    font-weight: 400;
    font-style: normal;
    /* font-family: var(--e4n-font-jp); */
    font-size: 1.8rem;
    text-align: right;
}
section:nth-child(2) {
    padding-top: 2%;
    padding-bottom: 4%;
}
section:nth-child(3) {
    padding-top: 13%;
    padding-bottom: 11%;
    background-color: var(--e4n-background-blue);
    clip-path: polygon(0 130px, 100% 0%, 100% calc(100% - 130px), 0 100%);
}
section:nth-child(4) {
    padding-top: 3%;
    padding-bottom: 3%;
}
section:last-child {
    background-color: var(--e4n-background-blue);
    clip-path: polygon(0 130px, 100% 0, 100% 100%, 0% 100%);
    padding-top: 12%;
    padding-bottom: 4%;
}


section h2 {
    font-size: 3rem;
    margin-left: 3vw;
    margin-bottom: 3vw;
    line-height: .8;
    font-family: var(--e4n-font-eng);
    font-weight: 300;
}
section h2.animate__animated {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out; /* スムーズな遷移を追加 */
}


section h2 span {
    font-size: 1.5rem;
    font-family: var(--e4n-font-jp);
}

.specialtyField__contents div div:first-child span {
    color: var(--e4n-font-white);
    font-size: 5vw;
}

.works__contents--detail {
    width: 35%;
    text-decoration: none;
    margin: 0 2vw 4vw;
}

.works__contents--detail div:first-child {
    background-color: var(--e4n-font-white);
    border-radius: 50%;
    margin-bottom: 1vw;
}

.works__contents--detail div:first-child span {
    font-size: 5rem;
    color: var(--e4n-accent-red);
    padding: 1rem;
    font-weight: 300;
}

.works__contents--detail div a {
    display: inline-block;
    width: 8vw;
    text-align: center;
    text-decoration: none;
    line-height: 2.5vw;
    outline: none;
    color: var(--e4n-font-white);
    background-color: var(--e4n-accent-red);
    position: relative;
    border: 1px solid var(--e4n-accent-red);
    transition: color 0.5s ease;
    margin: 1vw auto 0;
    display: block;
}

.works__contents--detail div a:hover {
    color: var(--e4n-accent-red);
}

.works__contents--detail div a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.works__contents--detail div a::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--e4n-font-white);
    transform: scaleX(0);
    transform-origin: right;
    transition: all 0.5s ease;
    transition-property: transform;
}

.works__contents--detail div a span {
    position: relative;
    font-family: var(--e4n-font-eng);
}


.works__contents--detail div h4 {
    font-weight: bold;
    text-align: center;
}

.works__contents--detail div p {
    margin-bottom: 0;
}
.ourPolicy__contents .ourPolicy__topLead {
    font-size: 1.2rem;
}

.ourPolicy__contents,
.column__contents,
.about__contents {
    width: 80%;
    margin: auto;
}

.ourPolicy__contents--txt {
    padding: 1.05vw;
}

.ourPolicy__contents--txt h3 {
    font-weight: bold;
}

.ourPolicy__contents div img {
    width: 50%;
}


/* .column__contents div a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.column__contents div a img {
    border-radius: 10px;
    width: 65%;
    height: auto;
}

.column__contents div a p:first-of-type {
    font-weight: bold;
    font-size: 1.3rem;
    margin: 1vw auto .3vw;
} */
.column ul {
    width: 85%;
    margin: 4vw auto 0;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
.column ul li {
    -webkit-box-shadow: 11px 13px 27px 6px rgba(0, 0, 0, 0.08);
    box-shadow: 11px 13px 27px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    width: 30%;
    position: relative;
    list-style: none;
    margin: 0 1.6% 4%;
}
.column ul li a {
    text-decoration: none;
}
.column ul li img {
    width: 100%;
    height: 11vw;
    object-fit: cover;
}
.column ul li a h3 {
    font-size: 1.3vw;
    margin-top: .5rem;
}
.column ul li a p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    margin-bottom: .5rem;
    font-size: 1vw;
}
.column__data {
    color: #939393;
    display: flex;
    align-items: center;
    justify-content: right;
}
span.material-symbols-outlined {
    font-family: 'Material Symbols Rounded';
    font-size: 1.3vw;
    padding-right: .2rem;
}
.column ul li a div div:first-of-type {
    padding: .5rem;
}
.column__ribbon {
    display: inline-block;
    position: absolute;
    top: 0;
    left: .5rem;
    margin: 0;
    padding: .5rem 0;
    z-index: 2;
    width: 3rem;
    text-align: center;
    font-size: 1vw;
    color: white;
    background-color: var(--e4n-accent-red);
    font-family: var(--e4n-font-eng);
}
.column__ribbon::after {
    border-left: 1.5rem solid var(--e4n-accent-red);
    border-right: 1.5rem solid var(--e4n-accent-red);
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    height: 0;
    width: 0;
    border-bottom: 1rem solid transparent;
}

.column__contents--arrow {
    width: 14vw;
    text-align: center;
    text-decoration: none;
    line-height: 3vw;
    outline: none;
    color: var(--e4n-font-white);
    background-color: var(--e4n-accent-red);
    position: relative;
    border: 1px solid var(--e4n-accent-red);
    transition: color 0.5s ease;
    margin: 2vw 3vw 2vw auto;
    display: block;
}

.column__contents--arrow:hover {
    color: var(--e4n-accent-red);
}

.column__contents--arrow:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.column__contents--arrow::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--e4n-font-white);
    transform: scaleX(0);
    transform-origin: right;
    transition: all 0.5s ease;
    transition-property: transform;
}

.column__contents--arrow span {
    position: relative;
    font-family: var(--e4n-font-eng);
}

.about__contents table tbody tr {
    display: flex;
    flex-direction: row;
    padding: .8vw;
}

.about__contents table tbody tr td:first-child {
    font-weight: bold;
    width: 10vw;
}

.about__contents--mapWrap iframe {
    width: 25vw;
    height: 15vw;
}

/* スマホ縦表示 (最大 575px) */
@media (max-width: 575px) {
    .video__wrap {
        margin-top: 15vw;
    }

    .video__wrap .kv__overlay {
        height: 97%;
    }

    .kv__topLead {
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        width: 80%;
        padding-left: 0;
    }

    .kv__topLead h1 {
        font-size: 9.5vw;
    }

    .kv__topLead h1 span {
        font-size: 8.8vw;
    }

    .kv__topLead p {
        font-size: 3.5vw;
    }

    section h2 {
        font-size: 8vw;
    }

    section h2 span {
        font-size: 3.5vw;
    }
    section:nth-child(2) {
        padding-top: 7%;
        padding-bottom: 14%;
    }
    section:nth-child(3) {
        clip-path: polygon(0 3%, 100% 0%, 100% 97%, 0 100%);
        padding-top: 24%;
    }
    section:nth-child(4) {
        padding-top: 12%;
        padding-bottom: 10%;
    }
    section:last-child {
        clip-path: polygon(0 8%, 100% 0, 100% 100%, 0% 100%);
        padding-top: 27%;
    }
    .ourPolicy__contents,
    .column__contents,
    .about__contents {
        width: 90%;
    }

    .ourPolicy__contents .ourPolicy__topLead {
        font-size: 4vw;
    }

    .ourPolicy__contents--detail--1 {
        flex-direction: column-reverse;
    }

    .ourPolicy__contents--detail--2 {
        flex-direction: column;
        margin-top: 10vw;
    }

    .ourPolicy__contents div img {
        width: 100%;
    }

    .works__contents--detail {
        flex-direction: column;
    }

    .works__contents--detail {
        width: 90%;
        margin: 0 auto 15vw;
    }
    .works__contents--detail div:first-child {
        margin-bottom: 4vw;
    }

    .works__contents--detail div:first-child span {
        font-size: 9vw;
    }

    .works__contents--detail div a {
        font-size: 5vw;
        width: 37vw;
        line-height: 7.5vw;
        margin: 2vw auto 0;
    }
    

    .column ul {
        flex-direction: column;
    }
    .column ul li {
        width: 70%;
        margin: 5% auto
    }
    .column ul li img {
        height: 30vw;
    }
    .column ul li a h3 {
        font-size: 1rem;
    }
    .column ul li a p {
        font-size: .8rem;
    }
    span.material-symbols-outlined {
        font-size: 1rem;
    }
    .column__ribbon {
        padding: .5rem 0;
        font-size: .8rem;
    }
    .column__contents--arrow {
        width: 30vw;
        line-height: 8vw;
        margin: 10vw 4vw 0 auto;
    }
    .about__contents {
        flex-direction: column;
    }
    .about__contents table tbody tr {
        flex-direction: column;
    }

    .about__contents table tbody tr td:first-child {
        width: 100%;
    }
    .about__contents--mapWrap {
        margin-top: 8vw;
    }
    .about__contents--mapWrap iframe {
        width: 100%;
        height: 50vw;
    }
}
/* スマホ横表示 (576px 以上かつ最大 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .video__wrap {
        margin-top: 8vw;
    }
    .kv__topLead h1 {
        font-size: 8.5vw;
    }

    .kv__topLead h1 span {
        font-size: 7.5vw;
    }

    .kv__topLead p {
        font-size: 2.5vw;
    }
    section:nth-child(2) {
        padding-top: 5%;
        padding-bottom: 14%;
    }
    section:nth-child(3) {
        clip-path: polygon(0 3%, 100% 0%, 100% 97%, 0 100%);
        padding-top: 24%;
    }
    section:nth-child(4) {
        padding-top: 12%;
        padding-bottom: 10%;
    }
    section:last-child {
        clip-path: polygon(0 8%, 100% 0, 100% 100%, 0% 100%);
        padding-top: 27%;
    }
    section h2 {
        font-size: 4.5vw;
    }
    .ourPolicy__contents,
    .column__contents,
    .about__contents {
        width: 90%;
    }

    section h2 span,
    .ourPolicy__contents .ourPolicy__topLead {
        font-size: 2.3vw;
    }

    .ourPolicy__contents--detail--1 {
        margin-bottom: 2vw;
    }

    .ourPolicy__contents div img {
        width: 35%;
    }

    .ourPolicy__contents div img:first-child {
        padding-right: 1vw;
    }

    .ourPolicy__contents div img:last-child {
        padding-left: 1vw;
    }

    .ourPolicy__contents--txt h3 {
        font-size: 2.8vw;
    }

    .works__contents--detail {
        width: 55%;
        margin: 0 0 7vw;
    }

    .works__contents--detail div:first-child {
        margin-bottom: 2vw;
    }
    .works__contents--detail div a {
        font-size: 3vw;
        width: 20vw;
        line-height: 4.5vw;
    }

    .column ul {
        justify-content: center;
    }
    .column ul li {
        width: 40%;
    }
    .column ul li img {
        height: 20vw;
    }
    .column__ribbon {
        padding: .8rem 0;
        font-size: 1rem;
    }

    .column__contents--arrow {
        width: 22vw;
        line-height: 5vw;
        margin: 3vw 3vw 2vw auto;
    }

    .column__contents--arrow span {
        font-size: 3vw;
    }
    .about__contents table {
        width: 45%;
    }
    .about__contents--mapWrap iframe {
        width: 100%;
        height: 30vw;
    }
}
/* タブレット縦表示 (768px 以上かつ最大 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .video__wrap {
        margin-top: 8vw;
    }

    .kv__topLead h1 {
        font-size: 8.5vw;
    }

    .kv__topLead h1 span {
        font-size: 3.5rem;
    }

    .kv__topLead p {
        font-size: 2.5vw;
    }
    section:nth-child(2) {
        padding-top: 5%;
        padding-bottom: 14%;
    }
    section:nth-child(3) {
        clip-path: polygon(0 6%, 100% 0%, 100% 94%, 0 100%);
        padding-top: 18%;
    }
    section:nth-child(4) {
        padding-top: 10%;
        padding-bottom: 10%;
    }
    section:last-child {
        clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
        padding-top: 15%;
    }
    section h2 {
        font-size: 4vw;
    }

    section h2 span {
        font-size: 2vw;
    }

    .ourPolicy__contents .ourPolicy__topLead {
        font-size: 1.6vw;
    }

    .ourPolicy__contents--detail--1 {
        margin-bottom: 2vw;
    }

    .ourPolicy__contents div img {
        width: 40%;
    }

    .ourPolicy__contents--txt h3 {
        font-size: 2.5vw;
    }

    .ourPolicy__contents--txt p {
        font-size: 1.5vw;
    }

    .ourPolicy__contents div img:first-child {
        padding-right: 1vw;
    }

    .ourPolicy__contents div img:last-child {
        padding-left: 1vw;
    }

    .works__contents--detail {
        width: 45%;
        margin: 5vw 2vw;
    }

    .works__contents--detail div p {
        width: 90%;
        margin: auto;
        display: block;
    }

    .works__contents--detail div a {
        width: 13vw;
        line-height: 3.5vw;
        margin: 2vw auto 0;
    }

    .column__contents {
        width: 90%;
    }

    .column__contents div a p:first-of-type {
        font-size: 2.3vw;
    }

    .column__contents div a p:last-child {
        width: 90%;
    }
    .about__contents {
        width: 90%;
    }
    .about__contents table {
        width: 60%;
    }
    .about__contents--mapWrap {
        width: 40%;
    }
    .about__contents--mapWrap iframe {
        width: 100%;
        height: 25vw;
    }
}
/* タブレット横表示 (992px 以上かつ最大 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .kv__topLead h1 span {
        font-size: 4rem;
    }
    .works__contents--detail {
        width: 40%;
    }

    .works__contents--detail div p {
        width: 90%;
        margin: auto;
        display: block;
    }
    .about__contents {
        width: 85%;
    }
    .about__contents table {
        width: 60%;
    }
    .about__contents--mapWrap {
        width: 40%;
    }
    .about__contents--mapWrap iframe {
        width: 100%;
        height: 17vw;
    }
}
/* PC表示 (1200px 以上) */
@media (min-width: 1200px) {
    /* .kv__topLead h1 span {
        font-size: 4rem;
    } */
}