@media (min-width: 1024px) {
    #header,
    #main {
        max-width: 1060px;
        margin: 0 auto;
    }

    #header {
        width: 100%;
        height: 60px;
    }

    .container {
        display: flex;
        justify-content: space-between;
        padding: 0px 12px;
        margin: 0 auto;
    }

    .logo {
        width: 115.71px;
        height: 30px;
        img {
            width: 100%;
            height: 100%;
        }
    }

    .menbers a {
        padding: 11px;
        background-color: #f96ba6;
        color: white;
        border-radius: 4px;
    }

    .About {
        margin-left: 28px;
    }

    .headleft {
        display: flex;
    }

    .subname,
    .pc {
        margin-top: 10px;
    }

    .headleft,
    .headright,
    .pc {
        padding-top: 17px;
    }

    .headright {
        display: flex;
        align-items: center;
    }

    /* btn */

    .btn {
        display: none;
    }

    #menu {
        display: none;
    }

    .pc ul {
        display: flex;
    }

    /* top */

    .top-img {
        width: 100%;
        height: 100%;
    }

    .top-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    #top-left {
        margin-left: 20px;
        max-width: 500px;
    }

    #top-right {
        margin-top: 100px;
    }

    #top img,
    #mid img,
    #footer img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #top h1 {
        padding: 0px 24px;
    }

    #mid h2 {
        text-align: center;
    }

    .click {
        display: none;
    }

    .detail {
        padding-left: 8px;
    }

    .mid-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }

    .mid-1stP {
        max-width: 600px;
        text-align: center;
        margin: 0 auto;
    }

    .mid-2ndP {
        padding-left: 7%;
    }

    #mid-right {
        margin-top: 80px;
    }

    #bottom h3 {
        text-align: center;
    }

    .collection {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .archive {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 横並びで img と p を配置 (比率 1:2) */
    }

    .archive img {
        width: 100%; /* 横幅にフィット */
        height: auto; /* 高さを自動調整 */
        object-fit: cover; /* 必要に応じてトリミング */
    }

    .archive p {
        margin: 0;
        padding: 10px; /* テキストに余白を追加 */
        display: flex;
        align-items: center;
    }

    #bottom h3 {
        padding: 8px 0px;
    }

    #footer p {
        padding: 16px 0px;
    }

    .icon img {
        align-items: center;
    }
}
