body { padding: 0; margin: 0 }

/* --- �c����ʂ��ێ����邽�߂̏C���J�n --- */
#unity-container {
    /* position: absolute ���폜 */
    width: 100vw; /* �r���[�|�[�g�̕��S�̂��g�p */
    height: 100vh; /* �r���[�|�[�g�̍����S�̂��g�p */
    display: flex; /* Flexbox�R���e�i�Ƃ��Đݒ� */
    justify-content: center; /* �������������� */
    align-items: center; /* �c������������ */
    /* .unity-desktop �̒����񂹂� transform �͕s�v�ɂȂ邽�߁A�폜�܂��͏㏑�� */
}

/* unity-desktop �N���X���t���Ă���ꍇ�̒�`�𒲐� */
#unity-container.unity-desktop {
    /* �ȑO�� left, top, transform �͏�L�� Flexbox �ݒ�ő�ւ���邽�߁A���̂܂܂��A�폜���Ă��\���܂���B */
    /* �������A�����̃u���E�U�݊����̂��߂Ɏc���ꍇ�A�㕔�̒�`���D�悳��邱�Ƃ��m�F���Ă��������B */
    left: 0; /* ��ʒ����񂹂�Flexbox�ōs�����߁A0�Ƀ��Z�b�g */
    top: 0;
    transform: none;
}

#unity-container.unity-mobile { position: fixed; width: 100%; height: 100% }

#unity-canvas {
    background: #231F20;
    height: 100%; /* �R���e�i�̍����ɍ��킹�� */
    /* ��������ɁA9/16 �̃A�X�y�N�g��ŉ������v�Z */
    width: calc(100vh * (9 / 16)); 
    /* �c���r���[�|�[�g�ŕ�����ʂ𒴂��Ȃ��悤�ɐ��� */
    max-width: 100%; 
}

.unity-mobile #unity-canvas { width: 100%; height: 100% }
/* --- �c����ʂ��ێ����邽�߂̏C���I�� --- */


#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-logo-title-footer { float:left; width: 102px; height: 38px; background: url('unity-logo-title-footer.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { cursor:pointer; float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
