body {
    font-family: "Noto Sans JP",
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

main a,
main a:hover,
main a:visited,
main a:active {
    color: #333;
    text-decoration: none;
}

.block {
    padding: 24px 24px 72px 24px;
}

.block-header {
    font-family: "Noto Sans", sans-serif;
    font-size: 3.8rem;
    font-weight: 900;
    color: #D7302D;
    display: flex;
    justify-content: center;
    padding: 12px;
}

.block-footer {
    display: flex;
    justify-content: flex-end;
}

/**********************
  アプリ一覧
 *********************/

.app-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6, 1fr);
    margin: 16px 0 48px 0;
}

.app-icon {
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-icon:hover {
    transform: scale(1.1);
}

/**********************
  ニュース一覧
 *********************/

.news-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin: 16px 0 48px 0;
}

.news-item {
    width: 370px;
    padding: 0 0 32px 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-item:hover {
    transform: scale(1.05);
}

.news-thumbnail {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border: 1px solid #ddd;
    align-self: center;

    display: block;
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.news-date {
    font-size: 0.85em;
    font-weight: 500;
    color: #999;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 2px;
    padding: 3px 12px 2px 12px;
}

.news-tag.release {
    background-color: #1565c0;
}

.news-tag.update {
    background-color: #ef6c00;
}

.news-title {
    font-size: 1em;
    margin: 0;
}

/**********************
  ボタン
 *********************/

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 220px;

    font-size: 1.3rem;
    text-decoration: none;
    padding: 8px 0;
    border: 2px solid #333;
    background-color: #f8f8f8;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-outline span {
    padding-left: 6px;
}

.btn-outline i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-outline:hover {
    transform: scale(1.05);
}

.btn-outline:hover i {
    transform: translateX(10px); /* アイコンだけ少し右にスライド */
}

/**********************
  レスポンシブ対応
 *********************/

@media (max-width: 768px) {
    .app-list {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(4, 1fr);
        margin: 16px 0 48px 0;
    }

    .news-list {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .news-item {
        width: 90%;
    }
}