main {
    background-image: url(../img/main.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
}

/* ロゴ */
.logo {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 141px;
    height: 122px;
}

.logo-title {
    color: #fff;
    font-size: 70px;
    font-weight: 500;
    line-height: 1;
}

.logo-subtitle {
    text-align: center;
}

.logo span {
    margin: 0 auto;
    color: #fff;
    font-size: 20px;
    text-align: center;
}

/* 住所 */
.address {
    color: #fff;
    font-size: 18px;
    position: absolute;
    bottom: 20px;
    left: 40px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .logo {
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
    }

    .logo img {
        width: 100px;
        height: 80px;
    }

    .logo-title {
        text-align: center;
        font-size: 40px;
    }

    .logo span {
        font-size: 12px;
    }

    .address {
        font-size: 14px;
    }

    /* サブタイトルの各単語のアニメーション */
    .subtitle-word {
        opacity: 0;
        display: inline-block;
        animation: fadeInWord 1s ease-out forwards;
    }

    .subtitle-word-1 {
        animation-delay: 1s;
    }

    .subtitle-word-2 {
        animation-delay: 1.5s;
    }

    .subtitle-word-3 {
        animation-delay: 2s;
    }

    @keyframes fadeInWord {
        0% {
            opacity: 0;
            transform: translateY(10px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 480px) {
    main {
        height: 100dvh;
        overflow: hidden;
    }

    html,
    body {
        overflow: hidden;
        height: 100%;
        position: fixed;
        width: 100%;
    }

}