@charset "UTF-8";

/****************MV****************/
/*
#mv #mv_message {
    position: absolute;
    bottom: 10%;
    left: 5%;
    z-index: 9999;
    color: #FFF;
    letter-spacing: 10px;
    letter-spacing: 0.4em;
}

#mv #mv_message .main {
    font-size: 4rem;
}

#mv #mv_message .main span {
    font-size: 6rem;
    /*vertical-align: middle;*/
}

#mv #mv_message .sub {
    font-size: 4rem;
}

@media screen and (max-width: 900px) {
    #mv #mv_message .main {
        font-size: 2.8rem;
    }

    #mv #mv_message .main span {
        font-size: 4rem;
        vertical-align: baseline;
    }

    #mv #mv_message .sub {
        font-size: 2.8rem;
    }
}

/*#mv::before {
    content: "";
    position: absolute;
    left: 0;
    background: url(/common/upload_data/japan-waterjp/image/20250217085740.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    height: 400px;
    display: block;
    top: unset;
    bottom: 0;
}*/

#mv .mv_mp4 {
    width: 95%;
    height: 100%;
    margin: auto;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 900px) {
    /*#mv::before {
        content: "";
        position: absolute;
        left: 0;
        background: url(/common/upload_data/japan-waterjp/image/20250217085740.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 100px;
        height: 160px;
        display: block;
        top: unset;
        bottom: 0;
    }*/
}

@media screen and (max-width: 900px) {
    #mv_outer {
        border-top: 80px solid transparent !important;
    }
}

@media screen and (max-width: 480px) {
    #top_greeting+section .inner_item_img {
        max-width: 280px !important;
    }
}
*/

/****************MV下ファーストセクション****************/
#top_greeting+section {
    margin-top: -20px;
}

#top_greeting+section img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

#top_greeting+section .inner_item_img {
    margin-left: 5%;
    width: 45%;
}

#top_greeting+section .inner_item_txt .heading .h {
    /*font-size: 4rem;*/
    font-size: clamp(2.8rem, 2.364rem + 2.18vw, 4rem) !important;
    background-image: linear-gradient(180deg, rgba(43, 179, 230, 1), rgba(11, 79, 137, 1) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#top_greeting+section .inner_item_txt .heading p {
    color: #9b9b9b;
}

#top_greeting+section .inner_item_txt .heading.block_header_2 {
    border-bottom: none;
}

@media screen and (max-width: 900px) {
    #top_greeting+section .inner_item_img {
        margin-left: auto;
        width: 100%;
    }

    /*#top_greeting+section .inner_item_txt .heading .h {
        font-size: 3rem !important;
    }*/

    #top_greeting+section:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, #fff, transparent);
        opacity: 0.5;
        top: 0;
    }

    #top_greeting+section {
        padding-top: 100px;
    }
}

/***************ブログ****************/

#top_blog+div ul li {
    background: #FFF;
}

#top_blog+div ul li a>p {
    padding-top: 10px;
}

#top_blog+div ul li a div>p {
    padding-bottom: 10px;
}

@media screen and (max-width: 900px) {
    #top_blog+div ul li a>p {
        padding-left: 10px;
        padding-right: 10px;
    }

    #top_blog+div ul li a div>p {
        padding-left: 10px;
        padding-right: 10px;
    }
}

#top_blog+div {
    width: calc(100% - 60px);
}

#top_blog+div>.content_wrapper {
    position: relative;
    right: -30px;
}

@media screen and (max-width: 1360px) {
    #top_blog+div {
        width: calc(100% - 10px);
    }

    #top_blog+div>.content_wrapper {
        position: relative;
        right: -5px;
    }
}

/**************メディア****************/

#top_media+div {
    width: calc(100% - 60px);
}

#top_media+div>.content_wrapper {
    position: relative;
    right: -30px;
}

@media screen and (max-width: 1360px) {
    #top_media+div {
        width: calc(100% - 10px);
    }

    #top_media+div>.content_wrapper {
        position: relative;
        right: -5px;
    }
}

/***************アバウト****************/
#top_about+section {
    overflow: visible;
}

#top_about+section .content_wrapper {
    padding: 0;
}

#top_about+section .wrapper_item {
    gap: 0;
    display: block;
}

#top_about+section .wrapper_item .inner_item_txt {
    margin: auto;
}

#top_about+section .wrapper_item .inner_item_img {
    margin-bottom: 0;
    pointer-events: none;
}

#top_about+section .inner_item_img img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    max-height: 400px;
    user-select: none;
    pointer-events: none;
}

@media screen and (max-width: 900px) {
    #top_about+section .wrapper_item .inner_item_img {
        /*margin-bottom: -100px;*/
        max-width: none !important;
    }

    #top_about+section .inner_item_img img {
        max-height: 320px;
    }
}

/****************サービス****************/

#top_service+section {
    z-index: -1;
    padding-top: 300px;
}

@media screen and (max-width: 900px) {
    #top_service+section {
        z-index: -1;
        padding-top: 200px;
    }
}

/****************サービス2****************/

#top_service2+div .content_wrapper>.heading .h {
    color: var(--i_main_color);
}

#top_service2+.composite_box01.block_images_10 .wrapper_item {
    gap: 20px;
}

#top_service2+.composite_box01.block_images_10 .wrapper_item .inner_item {
    width: calc((100% / 2) - 10px);
}

#top_service2+.composite_box01.block_images_10 .inner_item_img {
    /*height: 500px !important;*/
    border: 1px solid #FFF;
    box-sizing: border-box;
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
}

/*#top_service2+.composite_box01.block_images_10 .inner_item_img img {
    height: 500px !important;
    position: relative;
}*/

#top_service2+.composite_box01.block_images_10 .inner_item_img img {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
}

#top_service2+.composite_box01.block_images_10 .inner_item_img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 50%);
    display: block;
    z-index: 1;
    transition: .3s all;
}

#top_service2+.composite_box01.block_images_10 .inner_item>a:hover .inner_item_img img {
    transform: scale(1);
}

#top_service2+.composite_box01.block_images_10 .inner_item>a:hover .inner_item_img:after {
    background: rgb(0 0 0 / 25%);
}

#top_service2+.composite_box01.block_images_10 .inner_item_txt {
    align-content: end;
    padding: 30px 0;
}

/*@media screen and (max-width: 900px) {
    #top_service2+.composite_box01.block_images_10 .inner_item_img {
        height: 400px !important;
    }

    #top_service2+.composite_box01.block_images_10 .inner_item_img img {
        height: 400px !important;
        position: relative;
    }
}*/

@media screen and (max-width: 700px) {
    #top_service2+.composite_box01.block_images_10 .wrapper_item .inner_item {
        width: 100% !important;
    }

    #top_service2+.composite_box01.block_images_10 .inner_item_img {
        aspect-ratio: 16 / 9;
    }
}

#top_service2+div .inner_item_txt .heading p {
    font-size: clamp(2.4rem, 2.182rem + 1.09vw, 3rem) !important;
}

/*@media screen and (max-width: 900px) {
    #top_service2+div .inner_item_txt .heading p {
        font-size: 22px;
    }
}*/

#top_service2+div .inner_item_txt .heading p {
    position: relative;
    width: fit-content;
    padding-right: 30px;
}

#top_service2+div .inner_item_txt .heading p:after {
    content: "";
    position: absolute;
    background-color: #fff;
    width: 16px;
    height: 16px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    clip-path: polygon(20% 11%, 20% 0%, 70% 50%, 20% 100%, 20% 89%, 58% 50%);
    transition: .3sease-in-out;
    z-index: 5;
}

@media screen and (max-width: 768px) {
    #top_service2+div .inner_item_txt .heading p:after {
        width: 14px;
        height: 14px;
    }
}

@media screen and (max-width: 480px) {
    #top_service2+.composite_box01.block_images_10 .inner_item_img {
        aspect-ratio: 4 / 3;
    }
}

/****************コラム****************/

/*#top_column+div {
    width: calc(100% - 60px);
}

#top_column+div>.content_wrapper {
    position: relative;
    right: -30px;
}

@media screen and (max-width: 1360px) {
    #top_column+div {
        width: calc(100% - 10px);
    }

    #top_column+div>.content_wrapper {
        position: relative;
        right: -5px;
    }
}*/

/****************会社案内1****************/
#top_company1+.contents_box01 .wrapper_item {
    align-items: stretch;
}

#top_company1+section .wrapper_item .inner_item_img {
    height: auto;
    /*aspect-ratio: 580/610;*/
    /*object-fit: cover;*/
    position: relative;
}

#top_company1+section .wrapper_item .inner_item_img:before {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    background: #104876;
    display: block;
    height: 50px;
    width: 50px;
    pointer-events: none;
    z-index: 1;
}

#top_company1+section .wrapper_item .inner_item_img:after {
    position: absolute;
    content: "";
    right: 23px;
    bottom: 20px;
    display: block;
    height: 7px;
    width: 7px;
    border: 1px solid;
    border-left: none;
    border-top: none;
    border-color: #FFF;
    transform: rotate(-45deg);
    z-index: 2;
}

#top_company1+section .wrapper_item .inner_item_img img {
    height: 100%;
    object-fit: cover;
}

#top_company1+section .wrapper_item .inner_item_txt table {
    max-width: 100% !important;
    border: none;
}

#top_company1+section .wrapper_item .inner_item_txt table tr td:first-child {
    width: 200px;
}

#top_company1+section .wrapper_item .inner_item_txt table tr td {
    border-left: none;
    border-right: none;
    padding: 10px 0;
}

#top_company1+section .wrapper_item .inner_item_txt .heading {
    border: none;
}

@media screen and (max-width: 900px) {
    #top_company1+section .wrapper_item .inner_item_txt table tr td:first-child {
        width: 100px;
    }

    #top_company1+section .wrapper_item .inner_item_txt .heading {
        margin-top: 0;
        margin-bottom: 0;
    }
}

#top_company1+section .wrapper_item .inner_item_img {
    transition: .3s all;
}

#top_company1+section .wrapper_item .inner_item_img:hover {
    opacity: .8;
}

/****************会社案内2****************/

#top_company2+div .wrapper_item .inner_item {
    /*box-sizing: border-box;
    padding: 10px;
    background: #F2F2F2;*/
    aspect-ratio: 4 / 3;
}

#top_company2+.composite_box01.block_images_9 .inner_item a+.inner_item_txt .heading {
    top: auto;
    bottom: 0px;
    height: auto !important;
    padding-right: 50px;
}

#top_company2+div .wrapper_item .inner_item .inner_item_txt .heading .h {
    color: var(--i_main_color);
    color: #fff;
}

/*#top_company2 + div .wrapper_item .inner_item .inner_item_txt table{
    border: none;
}

#top_company2 + div .wrapper_item .inner_item .inner_item_txt table tr td{
    border-left: none;
    border-right: none;
}*/

#top_company2+.composite_box01 .inner_item_img {
    height: 200px !important;
    height: 100% !important;
}

#top_company2+.composite_box01 .inner_item_img img {
    height: 200px !important;
    height: 100% !important;
}

#top_company2+div .wrapper_item .inner_item a {
    position: relative;
}

/*#top_company2 + div .wrapper_item .inner_item a::before {
    position: absolute;
    content: "";
    right: 0px;
    bottom: 0px;
    display: block;
    height: 50px;
    width: 50px;
    background: rgb(16, 72, 118);
}*/

#top_company2+.composite_box01 .inner_item>a:hover * {
    opacity: 1;
}

#top_company2+.composite_box01 .inner_item>a {
    transition: .3s all;
}

#top_company2+.composite_box01 .inner_item>a:hover {
    opacity: .8;
}

#top_company2+.composite_box01.block_images_9 .inner_item_txt .heading:before {
    opacity: 0.75;
}

#top_company2+div .wrapper_item .inner_item:has(a) .inner_item_txt .heading::after {
    position: absolute;
    content: "";
    right: 23px;
    bottom: calc(50% - 6px);
    display: block;
    height: 7px;
    width: 7px;
    transform: rotate(-45deg);
    border-width: 1px 1px;
    border-style: none solid solid none;
    border-image: initial;
    border-left: none rgb(255, 255, 255);
    border-top: none rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
    z-index: 5;
}

#top_company2+.composite_box01.block_images_9 .inner_item a+.inner_item_txt {
    margin-top: 0;
}

@media screen and (max-width: 700px) {
    #top_company2+div .wrapper_item {
        justify-content: space-between;
    }

    #top_company2+div .wrapper_item .inner_item {
        margin-left: auto !important;
        margin-bottom: auto;
        margin-right: auto;
        width: calc((100%/3) - 5px);
    }
}

@media screen and (max-width: 480px) {
    #top_company2+div .wrapper_item {
        row-gap: 10px;
    }
}

/****************採用情報****************/

#recruit+section .content_wrapper .heading .h:before {
    border-color: #FFF !important;
}

#recruit+section:after {
    content: "";
    position: absolute;
    inset: 0;
    background: #123b5b78;
}

#recruit+section>.content_wrapper .heading,
#recruit+section>.content_wrapper .wrapper_item {
    width: 50%;
}

#recruit+section>.content_wrapper .inner_item_txt .contents_btn01 .content_wrapper {
    text-align: left !important;
}

@media screen and (max-width: 900px) {

    #recruit+section>.content_wrapper .heading,
    #recruit+section>.content_wrapper .wrapper_item {
        width: 100%;
    }

    #recruit+section>.content_wrapper .inner_item_txt .contents_btn01 .content_wrapper {
        text-align: center !important;
    }
}

/****************エントリー****************/
#top_entry+div .inner_item:first-child img {
    object-position: left;
}

#top_entry+div .inner_item {
    border: 1px solid;
}

#top_entry+div .inner_item .inner_item_txt .heading .h {
    font-size: 3.0rem;
    position: relative;
    padding-right: 80px;
    width: fit-content;
    margin: auto;
}

#top_entry+div .inner_item .inner_item_txt .heading .h:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 10px;
    border: 1px solid;
    right: 15px;
    top: 25%;
}

#top_entry+div .inner_item .inner_item_txt .heading .h:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 10px;
    border: 1px solid;
    right: 10px;
    top: 35%;
}

@media screen and (max-width: 900px) {
    #top_entry+div .inner_item .inner_item_txt .heading .h:before {
        content: "";
        position: absolute;
        width: 10px;
        height: 5px;
        border: 1px solid;
        right: 15px;
        top: 25%;
    }

    #top_entry+div .inner_item .inner_item_txt .heading .h:after {
        content: "";
        position: absolute;
        width: 10px;
        height: 5px;
        border: 1px solid;
        right: 10px;
        top: 35%;
    }
}

#top_entry+.composite_box01.block_images_10 .inner_item>a .inner_item_img:after {
    transition: .3s all;
    opacity: 0;
    background: #00000040;
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
}

#top_entry+.composite_box01.block_images_10 .inner_item>a:hover .inner_item_img:after {

    opacity: 1;
}

#top_entry+.composite_box01.block_images_10 .inner_item>a:hover .inner_item_img img {
    transform: unset;
}

#top_entry+.composite_box01.block_images_10 .inner_item>a:hover {
    filter: brightness(.5);
}

#top_entry+.composite_box01.block_images_10 .inner_item>a:hover .inner_item_img:after {
    opacity: 0.85;
}

#top_entry+.composite_box01.block_images_10 .inner_item>a .inner_item_img:after {
    opacity: 0.85;
    background: rgb(17 72 118);
}

#top_entry+.composite_box01.block_images_10 .inner_item>a {
    transition: .3s all;
}

#top_entry+.composite_box01.block_images_10 .inner_item>a:hover {
    filter: brightness(.65);
}

#top_entry+.composite_box01.block_images_10 .inner_item .inner_item_img img {
    object-position: left;
}

/****************外部リンク2カラム****************/
#External_link+.composite_box01.block_images_10 .wrapper_item {
    gap: 5px;
    justify-content: space-between;
}

#External_link+.composite_box01.block_images_10 .wrapper_item .inner_item {
    width: calc((100% / 3) - 5px);
    border: 1px solid #0b3353;
    box-sizing: border-box;
}

#External_link+div .inner_item_img {
    position: relative;
    height: 100%;
    min-height: 340px;
    background-color: #fff;
}

#External_link+div .inner_item_img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #123b5b78;
    transition: 0.3s ease-in-out;
}

#External_link+div a:hover .inner_item_img::after {
    opacity: 0.5;
}

#External_link+.composite_box01.block_images_10 .inner_item_img img {
    height: 100% !important;
}

#External_link+.composite_box01.block_images_10 .inner_item>a:hover .inner_item_img img {
    transform: none;
    opacity: 0.6;
}

#External_link+div .inner_item_txt .heading {
    position: relative;
    padding-right: 36px;
}

#External_link+div .inner_item_txt .heading:before {
    position: absolute;
    content: "";
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #104876;
    border-radius: 50%;
    display: block;
    height: 30px;
    width: 30px;
    border: 1px solid;
}

#External_link+div .inner_item_txt .heading:after {
    position: absolute;
    content: "";
    right: 14px;
    top: 44%;
    transform: translateX(-50%);
    display: block;
    height: 7px;
    width: 7px;
    border: 1px solid;
    border-left: none;
    border-top: none;
    transform: rotate(-45deg);
}

@media screen and (max-width: 700px) {
    #External_link+.composite_box01.block_images_10 .wrapper_item .inner_item {
        width: calc(50% - 5px) !important;
    }

    #External_link+.composite_box01.block_images_10 .inner_item:nth-of-type(1):nth-last-of-type(3) {
        width: 100% !important;
    }

    #External_link+.composite_box01.block_images_10 .inner_item:nth-of-type(1):nth-last-of-type(3) .inner_item_img {
        min-height: auto;
        aspect-ratio: 3 / 1;
    }

    #External_link+.composite_box01.block_images_10 .inner_item:nth-of-type(1):nth-last-of-type(3) .inner_item_img img {
        aspect-ratio: 3 / 1;
    }
}

@media screen and (max-width: 480px) {
    #External_link+.composite_box01.block_images_10 .wrapper_item .inner_item {
        width: 100% !important;
    }

    #External_link+div .inner_item_img {
        position: relative;
        height: 100%;
        min-height: auto;
        aspect-ratio: 16 / 9;
    }

    #External_link+.composite_box01.block_images_10 .inner_item_img img {
        aspect-ratio: 16 / 9;
    }

    #External_link+.composite_box01.block_images_10 .inner_item:nth-of-type(1):nth-last-of-type(3) .inner_item_img {
        aspect-ratio: 16 / 9;
    }

    #External_link+.composite_box01.block_images_10 .inner_item:nth-of-type(1):nth-last-of-type(3) .inner_item_img img {
        aspect-ratio: 16 / 9;
    }
}

/****************ループテキスト用****************/

@keyframes loops {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

#top_about+section #loop_text {
    display: flex;
    position: absolute;
    bottom: 0;
}

#top_about+section #loop_text li {
    animation: loops 15s linear infinite;
    font-size: 6rem;
    transform: translateX(0%);
    padding: 0 1vw;
    color: #FFF;
    font-weight: 400;
    font-style: normal;
    text-wrap: nowrap;
}

@media screen and (max-width: 900px) {
    #top_about+section #loop_text {
        display: flex;
        position: absolute;
    }

    #top_about+section #loop_text li {
        font-size: 4rem;
    }
}

/*システム*/

#top_system+.contents_box01 .content_wrapper {
    padding: 0;
    border: 1px solid var(--i_main_color);
    box-sizing: border-box;
    transition: .3s ease-in-out;
}

#top_system+.contents_box01 .content_wrapper:has(a:hover) {
    opacity: 0.65;
}

#top_system+.contents_box01 .wrapper_item {
    align-items: stretch;
    padding-bottom: 50px !important;
}

#top_system+.contents_box01 .wrapper_item:before {
    position: absolute;
    content: "詳細はこちら";
    right: 0;
    bottom: 0;
    background: var(--i_main_color);
    display: block;
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

#top_system+.contents_box01 .wrapper_item:after {
    position: absolute;
    content: "";
    right: 23px;
    bottom: 20px;
    display: block;
    height: 7px;
    width: 7px;
    border: 1px solid;
    border-left: none;
    border-top: none;
    border-color: #FFF;
    transform: rotate(-45deg);
}


#top_system+.contents_box01 .inner_item_img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

#top_system+.contents_box01 .inner_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#top_system+.contents_box01 .inner_item_img a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#top_system+.contents_box01 .inner_item_txt {
    position: relative;
    z-index: 5;
    pointer-events: none;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#top_system+.contents_box01 .inner_item_txt .heading .h {
    /*padding-right: 40px;*/
    font-size: clamp(2.4rem, 2.182rem + 1.09vw, 3rem) !important;
    position: relative;
}

@media screen and (max-width: 900px) {
    #top_system+.contents_box01 .inner_item_txt {
        padding: 20px 20px 40px !important;
    }

    #top_system+.contents_box01 .inner_item_img {
        max-height: 240px;
        max-width: none !important;
    }
}

/*お問い合わせ*/
#top_contact+section .wrapper_item {
    padding: 0 !important;
}

#top_contact+.contents_box01 .inner_item_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    flex-basis: auto;
    background-color: var(--i_main_color);
    background-image: linear-gradient(315deg, #123b5b, transparent);
    z-index: 0;
    overflow: hidden;
}

#top_contact+.contents_box01 .inner_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    transition: .3s ease-in-out;
    filter: blur(1px);
}

#top_contact+.contents_box01 .inner_item_img a:hover img {
    opacity: 0.5;
}

#top_contact+.contents_box01 .inner_item_txt {
    color: #fff;
    padding: 40px;
    position: relative;
    max-width: none;
    flex-basis: auto;
    pointer-events: none;
}

#top_contact+.contents_box01 .inner_item_txt .h {
    color: #fff;
    font-size: clamp(2.4rem, 2.182rem + 1.09vw, 3rem) !important;
}
#top_contact+.contents_box01 .inner_item_txt p:nth-last-of-type(1) {
    text-align: center;
}
#top_contact+.contents_box01 .inner_item_img a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#top_contact+section .wrapper_item:has(a):before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #fff;
    left: auto;
    right: 4px;
    top: auto;
    bottom: 4px;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    z-index: 1;
    pointer-events: none;
}

#top_contact+section .wrapper_item:has(a):after {
    position: absolute;
    content: "";
    right: 11px;
    bottom: 11px;
    display: block;
    height: 7px;
    width: 7px;
    border: 1px solid;
    border-left: none;
    border-top: none;
    border-color: var(--i_btn_color);
    transform: rotate(-45deg);
    z-index: 5;
}

#top_contact+section .wrapper_item .inner_item_img:before {
    content: "";
    position: absolute;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border: 1px solid #fff;
    z-index: 1;
    top: 4px;
    left: 4px;
    pointer-events: none;
}

@media screen and (max-width: 900px) {
    #top_contact+.contents_box01 .inner_item_img {
        max-width: none !important;
    }

    #top_contact+.contents_box01 .inner_item_txt {
        padding: 40px 20px !important;
    }
}

/*事例*/
#top_constructed+.widget_gallery01.width_full .content_wrapper>.heading,
#top_constructed+.widget_gallery01.width_full .content_wrapper>.add_text {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 40px);
}

#top_constructed+.widget_gallery01.width_full .content_wrapper .wrapper_item {
    padding: 0 20px;
}

@media screen and (max-width: 480px) {
    #top_constructed+.widget_gallery01.width_full .content_wrapper .contents_btn01 {
        margin-top: 20px !important;
    }
}

/*バナー*/
#top_bnr+.contents_box01 .wrapper_item,
#top_bnr_sdgs+.contents_box01 .wrapper_item {
    padding-right: 40px;
    position: relative;
    border: 1px solid var(--i_sub_color);
    padding: 0 !important;
    align-items: stretch;
}

#top_bnr+.contents_box01 .wrapper_item:before,
#top_bnr_sdgs+.contents_box01 .wrapper_item:before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--i_sub_color);
    left: auto;
    right: -1px;
    top: auto;
    bottom: -1px;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

#top_bnr+.contents_box01 .wrapper_item:after,
#top_bnr_sdgs+.contents_box01 .wrapper_item:after {
    position: absolute;
    content: "";
    right: 9px;
    bottom: 9px;
    display: block;
    height: 7px;
    width: 7px;
    border: 1px solid;
    border-left: none;
    border-top: none;
    border-color: #FFF;
    transform: rotate(-45deg);
    z-index: 5;
}

#top_bnr+.contents_box01 .wrapper_item .inner_item_img,
#top_bnr_sdgs+.contents_box01 .wrapper_item .inner_item_img {
    aspect-ratio: 3 / 1;
    height: auto;
}

#top_bnr+.contents_box01 .wrapper_item .inner_item_img a:before,
#top_bnr_sdgs+.contents_box01 .wrapper_item .inner_item_img a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

#top_bnr+.contents_box01 .wrapper_item .inner_item_img img,
#top_bnr_sdgs+.contents_box01 .wrapper_item .inner_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#top_bnr_sdgs+.contents_box01 .wrapper_item .inner_item_img img {
    object-fit: contain;    
    padding: 10px;
    box-sizing: border-box;
}

#top_bnr+.contents_box01 .wrapper_item .inner_item_txt,
#top_bnr_sdgs+.contents_box01 .wrapper_item .inner_item_txt {
    padding: 40px 20px !important;
    transition: .3s ease-in-out;
}

#top_bnr+.contents_box01 .wrapper_item .inner_item_txt .heading .h,
#top_bnr_sdgs+.contents_box01 .wrapper_item .inner_item_txt .heading .h {
    font-size: clamp(2.4rem, 2.182rem + 1.09vw, 3rem) !important;
}

#top_bnr+.contents_box01 .wrapper_item:has(a:hover) .inner_item_txt,
#top_bnr_sdgs+.contents_box01 .wrapper_item:has(a:hover) .inner_item_txt {
    opacity: 0.5;
}

@media screen and (max-width: 900px) {

    #top_bnr+.contents_box01 .wrapper_item,
    #top_bnr_sdgs+.contents_box01 .wrapper_item {
        display: flex;
    }

    #top_bnr+.contents_box01 .wrapper_item .inner_item_img,
    #top_bnr_sdgs+.contents_box01 .wrapper_item .inner_item_img {
        max-width: 50% !important;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 480px) {

    #top_bnr+.contents_box01 .wrapper_item,
    #top_bnr_sdgs+.contents_box01 .wrapper_item {
        flex-direction: column;
    }

    #top_bnr+.contents_box01 .wrapper_item .inner_item_img,
    #top_bnr_sdgs+.contents_box01 .wrapper_item .inner_item_img {
        max-width: none !important;
        max-height: 160px;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    #top_bnr+.contents_box01 .wrapper_item .inner_item_txt,
    #top_bnr_sdgs+.contents_box01 .wrapper_item .inner_item_txt {
        padding: 20px !important;
        transition: .3s ease-in-out;
    }
}