@charset "utf-8";

/* Common */
img {
    max-width: 100%;
    height: auto;
}

.pc-only {
    display: block;

    @media (max-width: 768px) {
        display: none;
    }
}

.sp-only {
    display: none;

    @media (max-width: 768px) {
        display: block;
    }
}

/* Main */
.photoarchives-top {
    .layout-firstview {
        min-height: 0;
    }
    .layout-box {
        .news {
            margin-bottom: 60px;
        }

        .update-date {
            display: flex;
            justify-content: end;
            margin-bottom: 16px;
                
            >p {
                margin-bottom: 0;
                padding: 8px 16px;
                border: solid 1px #c0c0c0;
                box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
                font-size: 14px;
                @media (max-width: 768px) {
                    padding: 6px 12px;
                    font-size: 12px;
                }
            }
        }

        .two-column-contents {
            >ul {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;

                @media (max-width: 980px) {
                    flex-direction: column;
                    gap: 20px;
                }

                >li {
                    width: calc(50% - 10px);

                    @media (max-width: 980px) {
                        width: 100%;
                    }

                    &:nth-child(odd) {
                        border-right: solid 2px #023f86;
                        padding-right: 20px;

                        @media (max-width: 980px) {
                            border-right: none;
                            border-bottom: solid 2px #023f86;
                            padding-right: 0;
                            padding-bottom: 22px;
                        }
                    }

                    >.title {
                        background: #023f86;
                        padding: 5px 15px;
                        margin-bottom: 16px;
                        >h2 {
                            font-weight: 700;
                            font-size: 120%;
                            color: #fff;
                        }
                    }

                    >.thumb {
                        margin-bottom: 30px;

                        @media (max-width: 768px) {
                            margin-bottom: 18px;
                        }

                        >a {
                            display: block;
                            position: relative;
                            transition: .3s all ease-out;
                            width: auto;
                            background: #000;

                            >img {
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                height: 278px;
                                margin: 0 auto;
                            }

                            &:hover {
                                opacity: .6;
                            }
                        }
                    }

                    >h3 {
                        font-weight: 700;
                        text-decoration: underline;
                        margin-bottom: 3px;
                    }

                    >p {
                        &:last-child {
                            margin-bottom: 0;
                        }
                    }

                    >a {
                        transition: .3 all ease-out;

                        &:hover {
                            opacity: .6;
                        }
                    }
                    >.graph-img {
                        >img {
                            display: block;
                            margin: 0 auto;
                        }
                    }
                }
            }
        }
    }
}