@charset "utf-8";

/********************* 下層ページ共通 *********************/

.pagination ul {
    display: flex;
    gap: 1.9rem;
    justify-content: center;
    align-items: center;
}

.page-numbers {
    color: #fff;
    padding: 1rem;
    border-radius: 100px;
    background-color: var(--accent-color);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.page-numbers:hover {
    background-color: var(--sub-color);
}

.page-numbers.current {
    background-color: var(--sub-color);
    font-weight: bold;
}

.bold_text {
    font-size: clamp(1.2rem, 2vw, 2.2rem);
    letter-spacing: 0.1rem;
    font-weight: bold;
}

.nav_active a {
    color: var(--sub-color);
}

.fv_content_area {
    position: relative;
}

.fv_content_area .fv_content_img {
    width: 100%;
    max-height: 350px;
    margin: 0 auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.fv_content_catchcopy {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--sub-color);
    opacity: 0.9;
    border-radius: 0 200px 200px 0;
    padding: 2rem 3rem;
    display: flex;
    justify-content: center;
    min-width: 40%;
}

.fv_content_catchcopy h1 {
    color: #fff;
    font-family: var(--font-point);
    font-size: clamp(2rem, 4vw, 4.4rem);
    font-weight: bold;
    letter-spacing: 0.1em;
}

.pankuzu {
    display: flex;
    gap: 1.3rem;
    margin: 1rem auto;
    width: 70%;
}

.pankuzu a {
    color: #1D1D1D;
}

#main_content {
    width: 70%;
    margin: 0 auto;
}

#main_content section {
    margin: 9rem auto;
}

#main_content {
    position: relative;
}

/********************* 建築実績 *********************/


#works section .flex {
    row-gap: 3.8rem;
    column-gap: 2.5rem;
    /*gap: 3.8rem 2.5rem;
    margin: 3.8rem auto;*/
}

#works section .flex a {
    width: calc(25% - 2.5rem);
}

#works section .flex a img {
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.works_link {
    background-color: var(--accent-color);
    width: 295px;
    height: 290px;
    border-radius: 48%;
    position: fixed;
    top: 10%;
    left: 0;
    transform: translateX(-75px);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    padding: 3rem 0 3rem 5.5rem;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    pointer-events: none;
}

.works_link.show {
    opacity: 1;
    pointer-events: auto;
}

.works_link a {
    color: #fff;
    padding: 0.5rem 0 0.2rem 0;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--point-color);
    display: inline-block;
    font-size: 0.9rem;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    height: 90vh;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.modal-overlay {
    position: absolute;
    inset: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* end モーダル */

/********************* 新築情報（一覧） *********************/
.news_construction_area article {
    margin: 9rem auto;
}

/********************* 新築情報（詳細） *********************/
#news_construction section .flex {
    gap: 3.5rem;
}

#news_construction .category {
    border-radius: 30px;
    line-height: 1;
}

#news_construction h2 {
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    letter-spacing: 0.1rem;
    margin: 1rem 0;
}

#news_construction .detail_img_area {
    width: 40%;
}

#news_construction .detail_text_area {
    width: calc(60% - 3.5rem);
}

#news_construction .detail_img_area div {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.9rem;
    align-items: flex-start;
}

#news_construction .detail_img_area .select_img img {
    width: calc(20% - 0.8rem);
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.display_img {
    height: 300px;
}

.display_img img {
    object-fit: contain;
    max-height: 300px;
}

#news_construction .archive_img_area .select_img img {
    width: calc(50% - 0.5rem);
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

/********************* 採用情報 *********************/
.recruit_link {
    width: 60%;
    border: 4px solid var(--sub-color);
    background: #fff;
    border-radius: 0 200px 200px 0;
    padding: 2rem 3.5rem;
    display: flex;
    justify-content: center;
    transform: translateX(-4px);
}

.recruit_link li {
    margin: 0 1rem;
    padding: 0 1.9rem 0 1rem;
    border-right: 2px solid var(--point-color);
}

.recruit_link li:last-child {
    border-right: none;
}

.recruit_link a {
    padding: 0.5rem 1rem;
    color: #1D1D1D;
    font-size: clamp(1.2rem, 1.5vw, 2.2rem);
}

.recruit_link_action a {
    font-weight: bold;
    color: var(--sub-color);
}

/********** 採用情報一覧 **********/
#recruit .flex {
    gap: 2rem;
    margin: 3rem auto;
}

#recruit .job_content .flex a {
    width: calc(25% - 1.5rem);
    position: relative;
}

#recruit .flex a span {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: var(--accent-color);
    color: #fff;
    width: 150px;
    padding: 0.2rem;
    text-align: center;
    border-radius: 20px;
    letter-spacing: 0.1rem;
    font-weight: bold;
}

#recruit .flex a img {
    width: 100%;
    object-fit: contain;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    border: 10px solid var(--point-color);
    outline: 10px solid #fff;
    padding: 0.5rem;
}

#recruit .interview_content .flex {
    gap: 2rem;
}

#recruit .interview_content article {
    position: relative;
    width: calc(80% - 3rem);
}

#recruit .interview_content article div {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 45%;
    left: 50%;
}

#recruit .interview_content article+img {
    width: 20%;
    object-fit: contain;
    transform: translateY(50%);
}

#recruit .requirement_content .flex {
    gap: 1rem;
}

#recruit .requirement_content .common_btn {
    margin: 1rem auto;
}

/********** 募集要項 **********/
#requirement article {
    width: 80%;
    margin: 3rem auto 9rem;
}

#requirement article div {
    padding: 2rem 5rem;
    background-color: #fff;
    border-radius: 30px;
}

/********** お仕事紹介 **********/
#job #main_content article {
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-top: 1px solid var(--point-color);
    padding: 4.8rem 0;
    margin: 4.8rem auto;
}

#job #main_content article:last-child {
    border-bottom: 1px solid var(--point-color);
}


#job #main_content article img {
    width: 40%;
    max-width: 600px;
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

#job #main_content article div {
    width: calc(60% - 3rem);
}

#job .bold_text {
    margin-bottom: 2.5rem;
}

/********** 社員インタビュー **********/
#interview article {
    border-bottom: 1px solid var(--point-color);
}

#interview article h3,
#interview article h3+div,
#interview article .bold_text {
    margin-bottom: 1rem;
}

#interview .interview_content img {
    max-width: 600px;
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 3rem auto 0;
}

#interview article .bold_text {
    width: 100%;
}

#interview article .interview_content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 4.8rem;
    margin: 4.8rem auto;
}

#interview .interview_right {
    width: calc(70% - 3rem);
}

#interview .interview_text {
    margin: 5.5rem auto 2rem;
}

#interview .interview_left {
    width: 30%;
    text-align: center;
}

#interview .interview_left span {
    font-weight: bold;
    font-size: 1.3rem;
}

/********************* 企業情報 *********************/
#company .about_content {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

#company .about_content img {
    width: 35%;
    max-width: 400px;
    max-height: 500px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

#company .quality_policy .bold_text {
    color: var(--accent-color);
    text-align: center;
    margin: 1rem auto;
}

#company .quality_policy img {
    margin: 1rem auto;
    width: 80%;
}

#company .quality_policy img+p {
    text-align: center;
}

#company .affiliated_company a {
    color: #1d1d1d;
    text-decoration: underline;
    font-size: clamp(1.2rem, 2vw, 2.2rem);
    letter-spacing: 0.1rem;
    font-weight: bold;
}

#company .affiliated_company a:hover {
    opacity: 0.7;
}

#company .about_content .about_logo {
    max-width: 100%;
    width: 100%;
}

#company .greeting div {
    text-align: right;
    margin-top: 2rem;
    font-weight: bold;
}

#company .about_text table a {
    color: #1d1d1d;
    text-decoration: underline;
}

/********************* 事業内容 *********************/
body a[target="_blank"] {
    position: relative;
}

body button a[target="_blank"]::after {
    background-image: url(../image/blank_icon.png);
    right: 10%;
}

body a[target="_blank"]::after {
    content: "";
    background-image: url(../image/b_blank_icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.service_logo {
    max-width: 100%;
    width: 40%;
    margin-bottom: 2rem;
}

#service .service_area .flex {
    gap: 3rem;
}

#service .service_area .flex img {
    width: 40%;
}

#service .service_img_area img {
    margin-bottom: 10px;
}

#service .service_text_area {
    width: calc(60% - 3rem);
}

#service .back_color {
    background-color: #fff;
    padding: 3rem;
    border-radius: 20px;
}

#service .service_area .common_btn {
    margin: 2rem auto;
}

/********************* 事業内容（売買） *********************/
#service .service_area .detail_img_area {
    width: 40%;
}

#service .service_area .detail_img_area img {
    width: 100%;
}

#service .service_area .detail_text_area {
    width: calc(60% - 3rem);
}

#service .service_area {
    margin: 4.8rem auto 9rem;
}


/***** TOP お知らせ *****/
.news {
    width: 80%;
    margin: auto;
    max-width: 1190px;
}

.news p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news .flex {
    gap: 1.9rem;
    align-items: center;
}

.news_area {
    width: 80%;
    margin: 1.9rem auto;
    background-color: #fff;
    padding: 3rem 5rem;
    border-radius: 50px;
    position: relative;
    min-height: 300px;
}

.news_area .flex {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 3.1rem;
    width: 80%;
    margin: 0 auto 3.1rem;
    flex-wrap: nowrap;
}

#employee_news .news_area .flex {
    align-items: center;
}

.news_area .flex p {
    margin-block-end: 0;
}

.news_area .flex:hover {
    opacity: 0.7;
}

.news_area .flex:last-child {
    margin: 0 auto;
}

.news_area .flex::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: repeating-linear-gradient(to right,
            var(--point-color) 0,
            var(--point-color) 30px,
            transparent 30px,
            transparent 50px);
    border-radius: 20px;
}

.news_area span {
    padding: 0.4rem 1rem 0.5rem;
    background-color: var(--point-color);
    border-radius: 30px;
    font-size: 14px;
    line-height: 1;
}

.news .common_btn_w {
    margin: 2rem 0 0 auto;
    transform: translateX(-25%);
}

.news_area::before {
    content: "";
    position: absolute;
    background: url(../image/news_img_01.png) no-repeat;
    bottom: -20%;
    left: -12%;
    width: 25%;
    height: 350px;
    background-size: contain;
    display: inline-block;
}

.news_area::after {
    content: "";
    position: absolute;
    background: url(../image/news_img_02.png) no-repeat;
    top: -10%;
    right: -12%;
    width: 25%;
    height: 350px;
    background-size: contain;
    display: inline-block;
}

.news_area a {
    color: #1d1d1d;
    white-space: nowrap;
}

.news_area p {
    margin-block-end: 1em;
}

.news_area p a {
    text-decoration: underline;
}

/* お知らせ一覧 */
#news .news_area::after,
#news .news_area::before {
    content: none;
}

#news .news {
    width: 100%;
}

#news .news_area {
    width: 100%;
}

#news .news_area .flex:hover {
    opacity: 1;
}

/* お知らせ詳細 */
.news_detail .news_area .flex {
    width: 100%;
    gap: 1.9rem;
}

#news p {
    margin-bottom: 1rem;
}

#news .news_area a p {
    margin-bottom: 0;
}

/********************* 協力会社の皆様へ *********************/
#download section .flex {
    gap: 2.5rem;
    margin: 3.8rem auto;
}

#download .download_item {
    width: calc(34% - 2.5rem);
}

#download .download_item>a:first-child {
    background-color: #fff;
    display: block;
    margin-bottom: 10px;
}

#download .download_item img:hover {
    opacity: 0.7;
}

#download .download_item img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/********************* 社員用お知らせ *********************/
#employee_news .news_area {
    width: 100%;
}

#employee_news .news {
    width: 100%;
}

#employee_news .login_content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;

}

.login_content a {
    padding: 0.5rem;
    background-color: #fff;
    border-radius: 10px;
    width: 100px;
    color: #1d1d1d;
    border: 2px solid var(--sub-color);
    text-align: center;
    font-weight: bold;
}

#employee_news .news_area::after,
#employee_news .news_area::before {
    content: none;
}

/********************* FAQ *********************/
#faq summary {
    position: relative;
    padding-inline: 3rem;
    cursor: pointer;
}

#faq summary::before {
    content: 'Q';
    font-family: var(--font-point);
    color: var(--sub-color);
    font-weight: bold;
    font-size: clamp(1.5rem, 2.5vw, 48px);
    line-height: 0.8;
    position: absolute;
    left: 0;
    top: 0;
}

#faq summary::marker {
    content: none;
}

#faq .faq_area {
    margin: 1.9rem auto 5rem;
    background-color: #fff;
    padding: 3rem 5rem;
    border-radius: 50px;
}

#faq .answer {
    position: relative;
    width: calc(100% - 4.5em);
    margin-block-start: 2.5em;
    margin-inline-start: 1.5em;
    padding: 2.5vw 2.5vw 2.5vw calc(2.5vw + 2rem);
    background-color: var(--main-color);
}

#faq .answer::before {
    content: 'A';
    font-family: var(--font-point);
    color: var(--sub-color);
    font-weight: bold;
    font-size: clamp(1.5rem, 2.5vw, 48px);
    line-height: 0.8;
    position: absolute;
    left: 2vw;
    top: 2.5vw;
}

/********************* お問い合わせフォーム *********************/


form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 20px;
}

input[type=submit] {
    position: relative;
    max-width: 470px;
    width: 70%;
    border-radius: 50px;
    border: none;
    font-size: clamp(1rem, 1.8vw, 1.8rem);
    font-weight: bold;
    letter-spacing: 0.1rem;
    margin: 4rem auto;
    display: block;
    border-radius: 50px;
    z-index: 9;
    transition: all ease 0.2s;
    background-color: var(--accent-color);
    color: #fff;
    padding: 2rem;
}

input[type=submit]:hover {
    opacity: 1;
    background-color: var(--sub-color);
    color: #fff;
}

form p {
    margin: 0 auto 1.9rem;
    width: 80%;
    font-weight: bold;
    color: var(--sub-color);
    font-size: 1.3rem;
}

span.wpcf7-list-item-label {
    font-weight: normal;
    color: #1d1d1d;
}

span.wpcf7-form-control-wrap {
    margin-top: 0.5rem;
    display: block;
    font-size: 1.1rem;
}

input {
    overflow: visible;
    padding-inline: unset;
    padding-block: unset;
    padding: 0.5rem;
    color: #1d1d1d;
    width: 100%;
}

textarea {
    width: 100%;
    padding: 0.5rem;
}

[type="radio"] {
    width: auto;
    padding: 0.5rem;
}

form .required {
    color: #dc3232;
}

input[type="checkbox"] {
    width: auto;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:disabled {
    background-color: #d4d4d4;
    color: #929292;
    cursor: not-allowed;
}

.acceptance {
    padding: 2rem;
    background-color: #f8f8f8;
    width: 80%;
    margin: 0 auto;
    border-radius: 20px;
}

.acceptance_link a {
    color: var(--sub-color);
    text-decoration: underline;
}

.acceptance span.wpcf7-form-control-wrap {
    margin-top: 1rem;
}

.acceptance p {
    color: #1d1d1d;
    margin-bottom: 1rem;
    font-weight: bold;
}

.acceptance_link p {
    font-size: 1rem;
}

#main_content.contact {
    margin: 9rem auto;
}

#thanks .contact {
    margin: 10rem auto;
}

#thanks p {
    margin-bottom: 1rem;
    text-align: center;
}

/********************* プライバシーポリシー *********************/

#privacy_policy p {
    margin-bottom: 1rem;
}

#privacy_policy li {
    list-style: auto;
    margin-left: 2rem;
    font-size: clamp(16px, 1.2vw, 1.2rem);
}

#privacy_policy h2.wp-block-heading {
    margin: 5rem auto 1rem;
}

#privacy_policy p a {
    color: #1d1d1d;
    text-decoration: underline;
}

#main_content.non_page {
    margin: 10rem auto;
    text-align: center;
}

@media (max-width: 1280px) {

    /********************* 下層ページ共通 *********************/
    .pankuzu {
        width: 90%;
    }

    /********************* 建築実績 *********************/
    body#works {
        overflow: hidden;
    }

    .fv_content_catchcopy {
        width: 90%;
        padding: 1rem;
    }

    .works_link {
        opacity: 1;
        position: static;
        width: 90%;
        border-radius: 30px;
        height: auto;
        padding: 1rem;
        transform: translate(0);
        margin: 2rem auto 0;
        pointer-events: auto;
    }

    .works_link a {
        font-size: 1.2rem;
        padding: 0.2rem 0.5rem;
        display: block;
        width: 80%;
        margin: 5px auto 10px;
    }

    #main_content {
        width: 90%;
    }

    #works #main_content .catch_copy_content,
    #works #main_content #content1 {
        margin: 5rem auto;
    }

    /********************* 採用情報 *********************/
    .recruit_link {
        width: 95%;
        padding: 1rem;
    }

    /********************* お知らせ *********************/
    .news .common_btn_w {
        margin: 2rem auto;
        transform: translateX(0);
    }

    .news_area::before {
        bottom: 0%;
        left: -12%;
        height: 300px;
    }

    .news_area::after {
        top: 0;
        right: -12%;
        height: 300px;
    }


}

@media (max-width: 1024px) {

    #works section .flex {
        gap: 2rem 2rem;
        /*margin: 2rem auto;*/
    }

    #works section .flex a {
        width: calc(50% - 1rem);
    }

    .modal-content img {
        height: auto;
    }

    #news_construction section .flex {
        flex-direction: column;
    }

    #news_construction .detail_img_area,
    #news_construction .detail_text_area {
        width: 100%;
    }

    /********************* 採用情報 *********************/
    #recruit .job_content .flex a {
        width: calc(50% - 1.5rem);
    }

    #recruit .interview_content article+img {
        transform: translateY(0);
    }

    .recruit_link {
        padding: 0.5rem;
        flex-direction: column;
    }

    .recruit_link li {
        border-right: none;
        border-bottom: 2px solid var(--point-color);
        width: 80%;
        margin-bottom: 1rem;
        padding: 0;
    }

    .recruit_link li a {
        display: block;
    }

    #job #main_content article {
        flex-direction: column-reverse;
    }

    #job #main_content article img {
        width: 100%;
        max-height: 300px;
    }

    #job #main_content article div {
        width: 100%;
    }

    /********** 社員インタビュー **********/
    #interview article .interview_content {
        flex-direction: column;
        padding: 2rem 1rem;
        margin: 1rem auto;
    }

    #interview .interview_text {
        margin: 2rem auto;
    }

    #interview .interview_content img {
        width: 100%;
        max-width: 600px;
        max-height: 300px;
    }

    #interview .interview_left {
        width: 100%;
    }

    #interview .interview_right {
        width: 100%;
    }

    /********** お知らせ **********/
    .news_area .flex {
        flex-wrap: wrap;
    }

    .news_area::after,
    .news_area::before {
        content: none;
    }

    .news .flex {
        gap: 1rem;
    }

    .news_area {
        width: 100%;
        padding: 2rem;
    }


    .news_area .flex {
        width: 90%;
    }

    .news .common_btn_w {
        margin: 2rem auto;
        transform: translateX(0);
    }

    .news {
        width: 90%;
    }

    /********** 協力会社の皆様へ **********/
    #download .download_item {
        width: calc(50% - 1.25rem);
    }

    /********** FAQ **********/
    #faq .faq_area {
        padding: 2rem;
        border-radius: 50px;
    }

    #faq summary {
        padding-inline: 2rem;
    }

    #faq .answer {
        padding: 2.5vw 2.5vw 2.5vw calc(2.5vw + 1.5rem);
    }

    /********** お問い合わせフォーム **********/

    input.wpcf7-form-control.wpcf7-submit.has-spinner {
        width: 100%;
    }

    form p {
        margin: 0 auto 1.9rem;
        width: 100%;
    }

    .acceptance {
        width: 100%;
    }

}

@media (max-width: 768px) {
    #main_content section {
        margin: 5rem auto;
    }

    .works_link {
        width: 90%;
    }

    ul.pankuzu {
        display: none;
    }

    #requirement article {
        width: 90%;
        margin: 2rem auto 7rem;
    }

    #requirement article div {
        padding: 0.5rem 2rem;
        background-color: #fff;
        border-radius: 10px;
    }

    #recruit .interview_content article {
        width: 100%;
    }

    #recruit .interview_content article+img {
        display: none;
    }

    #recruit .interview_content article div {
        width: 75%;
    }

    #recruit .interview_content article div h3 {
        text-align: center;
    }

    #recruit .interview_content article img {
        aspect-ratio: 16 / 16;
    }

    #recruit .interview_content .flex {
        margin: 0 auto;
    }

    #company .about_content {
        flex-direction: column;
    }

    #company .about_content img {
        width: 100%;
        max-width: 100%;
        max-height: 300px;
    }

    #service .service_area .flex {
        flex-direction: column;
    }

    #service .service_area .flex img {
        width: 100%;
    }

    #service .service_text_area {
        width: 100%;
    }

    #service .service_area .detail_img_area {
        width: 100%;
    }

    #service .service_area .detail_text_area {
        width: 100%;
    }

    #employee_news .header_area {
        width: 100%;
        flex-direction: column;
    }

    #faq summary {
        padding: 0 2.5vw 2.5vw calc(2.5vw + 1.5rem);
    }

    #faq .answer {
        width: 100%;
        margin-inline-start: 0;
    }
}