/* PC用のスタイル */
@media (min-width: 641px) {
    header {
        display: flex;
        max-width: 1280px;
        justify-content: space-between;
        margin: 0 auto 13px;
    }
    #header h1.headerLogo {
        display: flex;
        align-items: center;
        font-size: 32px;
        font-family: 'Noto Sans JP';
        font-weight: 400;
        padding-right: 44px;
        line-height: calc(1em + 0.5rem);
        overflow-wrap: break-word;
        border: none;
        box-sizing: border-box;
    }
    #header h1.headerLogo img {
        max-width: 100%;
        height: auto;
        margin-right: 10px; /* 画像とテキストの間に適切なマージンを設定 */
    }
    #header h1.headerLogo a:link,
    #header h1.headerLogo a:visited,
    #header h1.headerLogo a:hover {
        color: #0077C1;
        text-decoration: none;
    }
    #header h1.headerLogo span {
        color: #707070;
        font-size: 16px;
        font-weight: 500;
        margin: -6px 0 0 5px;
    }
}

/* SP用のスタイル */
@media (max-width: 640px) {
    header {
        display: flex;
        flex-wrap: wrap;
        margin: 4.5vw auto 0;
        width: 90%;
    }
    #header h1.headerLogo {
        display: flex;
        align-items: center;
        font-size: 3vw;
        font-family: 'Noto Sans JP';
        font-weight: 400;
        line-height: calc(1em + 0.5rem);
        padding-right: 0;
        overflow-wrap: break-word;
        border: none;
    }
    #header h1.headerLogo img {
        max-width: 40%;
        height: auto;
        margin-right: 5px; /* SP時のマージン調整 */
    }
    #header h1.headerLogo a:link,
    #header h1.headerLogo a:visited,
    #header h1.headerLogo a:hover {
        color: #0077C1;
        text-decoration: none;
    }
    #header h1.headerLogo span {
        font-family: system-ui;
        color: #707070;
        font-size: 2vw;
        font-weight: 500;
        margin: -1vw 0 0 0.5vw;
        letter-spacing: -0.4px;
    }
}