@charset "utf-8";

#main_top {
    width: 100%;
    height: 100vh;

    /* 2025/9/18 藤本 TOP画像差し替え start ********************************/
    background: url("../images/AdobeStock_295221006.jpeg");
    /* background: url("../images/works_top.png"); */
    /* 2025/9/18 藤本 end ************************************************/

    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

#pan_list_container {
    max-width: none !important;
}

#main_top_container {
    margin: 0 auto;
    width: 90%;
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#main_top_container .section_title {
    position: absolute;
    top: 120px;
    left: 0;
}

#main_top h3 {
    font-weight: 800;
    font-size: 64px;
    line-height: 2;
    font-family: "Noto Sans JP", serif;
}

#main_contents {
    background: linear-gradient(110deg, #003975 10.99%, #4C9FEF 44.75%, #F9F9F9 48.88%, #CFE5F9 61.16%);
}

#main_contents_container {
    padding-top: 130px;
    width: 90%;
    margin: 0 auto;
    padding: 160px 0 90px 0;
}

#main_contents_container .section_title {
    margin: 0;
}

#search_box {
    display: flex;
    justify-content: end;
    margin-bottom: 40px;
}

#search_box_wrapper {
    width: 180px;
    height: 50px;
    position: relative;
}

/* 2025/9/18 藤本 画像ありの施工実績非表示 start **************************
#search_box_wrapper::before {
    content: "";
    background: url("../images/vector.png") no-repeat;
    width: 30px;
    height: 15px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}
2025/9/18 藤本 end ******************************************************/


#search_combo_box {
    width: 100%;
    height: 100%;
    background-color: #f9f9F9;
    border: #000000 2px solid;

    padding-right: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    font-family: "Noto Sans JP", serif;
    border-radius: 5px;

    /* ブラウザのデフォルトのスタイルをクリアする */
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    outline: 0;
}

#works_main {
    margin: 0 auto 50px auto;
    width: 100%;
    display: grid;
    grid-template-columns: calc(calc(100% - 40px) / 3) calc(calc(100% - 40px) / 3) calc(calc(100% - 40px) / 3);
    justify-content: space-between;
    row-gap: 20px;
}

#works_main .works_element {
    border-radius: 25px;
    width: 100%;
    background: #ffffff;
    padding: 30px;
    cursor: pointer;
}

#works_main .works_element img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    margin-bottom: 15px;
}

#works_main .works_element h3 {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 1px;
    font-family: "Noto Sans JP", serif;
    height: 58px;
    overflow: hidden;
    margin-bottom: 15px;
}

#works_main .works_element p {
    font-weight: 400;
    font-size: 16px;
    font-family: "Noto Sans JP", serif;
}

#works_button {
    display: flex;
    justify-content: center;
}

#works_button a {
    display: flex;
    width: 300px;
    height: 80px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #f9f9f9;
    border-radius: 86px;
    font-weight: 800;
    font-size: 24px;
    font-family: "Noto Sans JP", serif;
    color: #047CFD;
}

.works_element_modal_back {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    opacity: 1;
}

.works_element_modal_back.visible {
    display: block;
    background: rgba(0, 0, 0, 0.8);
    z-index: 98;
}

.works_element_modal {
    position: fixed;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    border-radius: 25px;
    width: 720px;
    background: #ffffff;
    padding: 10px 30px 30px 30px;
    display: none;
}

.works_element_modal.visible {
    z-index: 99;
    display: block;
}

.works_element_modal .close {
    height: 40px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.works_element_modal .close img {
    height: 100%;
    cursor: pointer;
}

.works_element_modal img.work_img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 15px;
}

@media screen and (max-width: 1024px) {
    main {
        margin-top: 64px;
    }

    section#main_top {
        height: auto;
        margin-top: 64px;
        aspect-ratio: 16/9;
    }

    #main_contents_container {
        padding: 30px 0;
        width: 90%;
    }

    #search_combo_box {
        padding-left: 45px;
        text-align: start;
    }
}

@media screen and (max-width: 750px) {

    #main_top_container .section_title h2,
    #main_top_container .title_line {
        display: none;
    }

    #main_top_container .section_title {
        top: 20px;
    }

    #search_box {
        margin-bottom: 30px;
    }

    #works_main {
        grid-template-columns: 100%;

    }

    #main_contents {
        background: linear-gradient(93deg, #003975 10.99%, #4C9FEF 44.75%, #F9F9F9 48.88%, #CFE5F9 61.16%);
    }

    .works_element_modal {
        width: 98%;
        padding: 10px 10px 20px 10px;
    }
}

/* 2025/9/18 藤本 画像ありの施工実績非表示 start **************************/

#pan_list_container {
    position: relative;
    width: 90%;
    margin: 0 auto;
}

#pan_list_container #pan_list {
    right: 0;
}

#company_info_main div#company_info_main_container {
    width: 80%;
    background: #f9f9f9;
    margin: 0 auto;
    border-radius: 48px;
    padding-top: 70px;
    padding-bottom: 90px;
}

#company_info_main .section_title {
    width: 90%;
    margin: 0 auto 60px auto;
    margin-left: 80px;
    margin-bottom: 60px;
}


@media screen and (max-width: 1024px) {
    #company_info_main div#company_info_main_container {
        padding-top: 30px;
    }

    #company_info_main .section_title {
        margin: 0 auto 30px auto;
    }

    dl.company_info {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 750px) {
    #company_info_img_area {
        flex-direction: column;
    }

    #company_info_img_area img {
        width: 100%;
    }
}

.works_more {
    margin-left: 80%;
    margin-top: 50px;
    font-weight: 500;
    font-size: 20px;
}

@media screen and (max-width: 750px) {
    .works_more {
        margin-left: 50%;
        margin-top: 50px;
        font-weight: 500;
        font-size: 20px;
    }
}

/* 2025/9/18 藤本 end ***************************************************