#main-area {
    .main-wrap {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;

        main {
            width: 100%;
            padding: var(--side-padding);

            .cooperation-section {
                .section-wrap {

                    .form-link-card-wrap {
                        margin: var(--size16) 0;
                        display: flex;
                        flex-direction: row;
                        flex-wrap: wrap;
                        justify-content: flex-start;
                        align-items: stretch;
                        align-content: stretch;
                        gap: var(--size16);

                        @media screen and (max-width: 768px) {
                            flex-direction: column;
                            flex-wrap: nowrap;
                            gap: var(--sp_size16);
                        }

                        .form-link-card {
                            min-width: 22em;
                            background-color: var(--color-bg);
                            border: 2px solid var(--color-main);
                            border-radius: 8px;
                            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                            transition: all 0.3s ease;
                            font-size: var(--size20);

                            @media screen and (max-width: 768px) {
                                min-width: 100%;
                                border-radius: var(--size08);
                                font-size: var(--sp_size24);
                            }

                            @media screen and (max-width: 440px) {
                                font-size: var(--sp_size26);
                            }


                            .form-link-card-item {

                                display: flex;
                                flex-wrap: nowrap;
                                flex-direction: column;
                                align-items: flex-start;


                                .form-link-card-item-title {
                                    padding: 3%;
                                    width: 100%;
                                    font-weight: bold;
                                    color: var(--color-orange);
                                    background-color: var(--color-main);
                                    min-width: 120px;
                                    font-size: var(--size20);

                                    @media screen and (max-width: 768px) {
                                        padding: 2%;
                                        min-width: 100px;
                                        font-size: var(--sp_size20);
                                    }

                                    @media screen and (max-width: 440px) {
                                        font-size: var(--sp_size26);
                                    }
                                }

                                .form-link-card-item-content {
                                    width: 100%;
                                    display: flex;
                                    flex-wrap: nowrap;
                                    flex-direction: column;
                                    align-items: center;
                                    justify-content: center;
                                    padding: 3%;
                                    flex: 1;
                                    font-size: var(--size22);
                                    font-weight: bold;
                                    text-align: center;

                                    @media screen and (max-width: 768px) {
                                        font-size: var(--sp_size24);
                                    }

                                    @media screen and (max-width: 440px) {
                                        font-size: var(--sp_size26);
                                    }

                                    p {
                                        margin: 0;
                                    }
                                }

                                .form-link-card-item-comment {
                                    width: 100%;
                                    padding: 3%;
                                    font-size: var(--size24);
                                    text-align: left;

                                    @media screen and (max-width: 768px) {
                                        font-size: var(--sp_size24);
                                    }

                                    @media screen and (max-width: 440px) {
                                        font-size: var(--sp_size26);
                                    }
                                }

                                .photo-wrap {
                                    padding: 3%;
                                    width: 100%;
                                    display: flex;
                                    flex-wrap: nowrap;
                                    flex-direction: column;
                                    align-items: center;
                                    justify-content: center;

                                    &::after {
                                        content: 'クリックで拡大';
                                        position: relative;
                                        top: 0;
                                        right: 0;
                                        font-size: var(--size14);
                                        color: var(--color-orange-dark);
                                        text-align: center;
                                        width: 100%;
                                        height: 100%;
                                        display: flex;
                                        align-items: center;
                                        justify-content: center;
                                        margin-top: var(--size08);

                                        @media screen and (max-width: 768px) {
                                            font-size: var(--sp_size18);
                                            margin-top: var(--sp_size08);
                                        }

                                        @media screen and (max-width: 440px) {
                                            font-size: var(--sp_size20);
                                            margin-top: var(--sp_size08);
                                        }
                                    }

                                    .photo {
                                        width: 100%;
                                        max-width: 100px;
                                        aspect-ratio: 1/1;
                                        height: auto;
                                        cursor: pointer;
                                        transition: all 0.3s ease;
                                        border-radius: 0;
                                        border: 0px;
                                        object-fit: cover;
                                        object-position: center;
                                    }
                                }

                                .form-link-card-item-comment {
                                    padding: 2%;
                                    font-size: var(--size16);
                                    text-align: left;

                                    @media screen and (max-width: 768px) {
                                        font-size: var(--sp_size18);
                                        padding-bottom: 0;
                                    }

                                    @media screen and (max-width: 440px) {
                                        font-size: var(--sp_size20);
                                        padding-bottom: 0;
                                    }
                                }

                                .form-link {
                                    padding: 3%;
                                    color: var(--color-main);
                                    text-decoration: none;
                                    word-break: break-all;
                                    transition: all 0.3s ease;

                                    &:hover {
                                        color: var(--color-red);
                                        text-decoration: underline;
                                    }
                                }
                            }
                        }
                    }



                    p {
                        margin: 0;
                        line-height: 1.6;
                        font-size: var(--size18);

                        @media screen and (max-width: 768px) {
                            font-size: var(--sp_size18);
                        }

                        @media screen and (max-width: 440px) {
                            font-size: var(--sp_size24);
                        }
                    }

                    ol {
                        padding-left: var(--size24);
                        line-height: 1.8;
                        font-size: var(--size20);
                        list-style: decimal;

                        @media screen and (max-width: 768px) {
                            padding-left: var(--sp_size20);
                            font-size: var(--sp_size18);
                        }

                        @media screen and (max-width: 440px) {
                            padding-left: var(--sp_size18);
                            font-size: var(--sp_size24);
                        }

                        li {
                            margin-bottom: var(--size12);
                            color: var(--color-text);

                            @media screen and (max-width: 768px) {
                                margin-bottom: var(--sp_size12);
                            }

                            &:last-child {
                                margin-bottom: 0;
                            }

                            br {
                                margin-bottom: var(--size08);

                                @media screen and (max-width: 768px) {
                                    margin-bottom: var(--sp_size08);
                                }
                            }
                        }
                    }

                    .form-link-paper-wrap {
                        margin: var(--size16) 0;

                        .form-link-paper {
                            list-style: none;
                            padding: 0;
                            margin: 0;

                            li {
                                font-size: var(--size18);


                                a {
                                    font-size: var(--size18);
                                    display: flex;
                                    align-items: center;
                                    justify-content: flex-start;
                                    gap: var(--size10);
                                    padding: var(--size04) var(--size08);
                                    font-weight: bold;

                                    &[href*=".pdf" i]::after {
                                        content: 'PDF';
                                        background-color: var(--color-main);
                                        color: #fff;
                                        font-size: var(--size16);
                                        font-weight: bold;
                                        padding: var(--size04) var(--size08);
                                    }

                                    &[href*=".xlsx" i]::after {
                                        content: 'XLSX';
                                        background-color: green;
                                        color: #fff;
                                        font-size: var(--size16);
                                        font-weight: bold;
                                        padding: var(--size04) var(--size08);

                                    }

                                    @media screen and (max-width: 768px) {
                                        font-size: var(--sp_size18);
                                        gap: var(--sp_size08);
                                        padding: var(--sp_size08) var(--sp_size08);

                                        &[href*=".pdf" i]::after {
                                            font-size: var(--sp_size18);
                                        }

                                        &[href*=".xlsx" i]::after {
                                            font-size: var(--sp_size18);
                                        }
                                    }

                                    @media screen and (max-width: 440px) {
                                        font-size: var(--sp_size24);
                                        gap: var(--sp_size08);
                                        padding: var(--sp_size08) var(--sp_size08);

                                        &[href*=".pdf" i]::after {
                                            font-size: var(--sp_size20);
                                        }

                                        &[href*=".xlsx" i]::after {
                                            font-size: var(--sp_size20);
                                        }
                                    }
                                }
                            }
                        }
                    }

                }
            }




        }
    }
}

/* モーダルスタイル */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);

    &.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        position: relative;
        max-width: 90%;
        max-height: 90%;
        background-color: var(--color-bg);
        border-radius: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        animation: modalFadeIn 0.3s ease;

        img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 0;
        }


    }

    .close-btn {
        position: relative;
        top: -30%;
        right: -10%;
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.7);
        color: var(--color-bg);
        border: none;
        border-radius: 50%;
        font-size: var(--size20);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 1001;

        &:hover {
            background-color: var(--color-red);
            transform: scale(1.1);
        }

        &::before {
            content: '×';
            font-weight: bold;
            margin-top: var(--font-hl);
            font-size: var(--size24);

            @media screen and (max-width: 768px) {
                font-size: var(--sp_size24);
            }

            @media screen and (max-width: 440px) {
                font-size: var(--sp_size36);
            }
        }

        @media screen and (max-width: 768px) {
            position: absolute;
            top: 10%;
            right: 10%;
        }

        @media screen and (max-width: 440px) {
            position: absolute;
            top: 10%;
            right: 10%;
        }

    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}